Sone.git
12 years agoSuppress a warning.
David ‘Bombe’ Roden [Fri, 2 Mar 2012 09:23:08 +0000 (10:23 +0100)]
Suppress a warning.

12 years agoTurn generic varargs constructor into two constructors.
David ‘Bombe’ Roden [Fri, 2 Mar 2012 09:23:02 +0000 (10:23 +0100)]
Turn generic varargs constructor into two constructors.

Sone never uses more than a single option watcher, anyway, and this gets
rid of a warning in Core.

12 years agoUse Norwegian typographic quote characters.
David ‘Bombe’ Roden [Fri, 2 Mar 2012 06:01:55 +0000 (07:01 +0100)]
Use Norwegian typographic quote characters.

12 years agoUpdate Norwegian translation.
David ‘Bombe’ Roden [Fri, 2 Mar 2012 05:52:02 +0000 (06:52 +0100)]
Update Norwegian translation.

12 years agoAlways get the current l10n helper from the node, don’t reuse an old one.
David ‘Bombe’ Roden [Thu, 1 Mar 2012 21:49:16 +0000 (22:49 +0100)]
Always get the current l10n helper from the node, don’t reuse an old one.

This will allow switching the language completely.

12 years agoAdd punctuation.
David ‘Bombe’ Roden [Thu, 1 Mar 2012 21:17:26 +0000 (22:17 +0100)]
Add punctuation.

12 years agoUse a shorter text for the button to not disturb the layout too much.
David ‘Bombe’ Roden [Thu, 1 Mar 2012 21:17:18 +0000 (22:17 +0100)]
Use a shorter text for the button to not disturb the layout too much.

12 years agoAdd Sone suffix to all page titles.
David ‘Bombe’ Roden [Thu, 1 Mar 2012 19:37:11 +0000 (20:37 +0100)]
Add Sone suffix to all page titles.

12 years agoAdd incomplete Norwegian translation.
David ‘Bombe’ Roden [Thu, 1 Mar 2012 19:30:30 +0000 (20:30 +0100)]
Add incomplete Norwegian translation.

12 years agoAdd German translation.
David ‘Bombe’ Roden [Thu, 1 Mar 2012 19:30:09 +0000 (20:30 +0100)]
Add German translation.

12 years agoIncrease current homepage version.
David ‘Bombe’ Roden [Thu, 1 Mar 2012 12:18:50 +0000 (13:18 +0100)]
Increase current homepage version.

12 years agoFix typo in l10n variable.
David ‘Bombe’ Roden [Thu, 1 Mar 2012 11:06:16 +0000 (12:06 +0100)]
Fix typo in l10n variable.

12 years agoUpdate link to homepage.
David ‘Bombe’ Roden [Thu, 1 Mar 2012 10:14:17 +0000 (11:14 +0100)]
Update link to homepage.

12 years agoMake “Comment” button translatable.
David ‘Bombe’ Roden [Thu, 1 Mar 2012 07:28:14 +0000 (08:28 +0100)]
Make “Comment” button translatable.

12 years agoAdd missing texts in Russian translation.
David ‘Bombe’ Roden [Wed, 29 Feb 2012 20:41:32 +0000 (21:41 +0100)]
Add missing texts in Russian translation.

12 years agoAdd French translation with lots of missing texts.
David ‘Bombe’ Roden [Wed, 29 Feb 2012 20:37:51 +0000 (21:37 +0100)]
Add French translation with lots of missing texts.

12 years agoAdd missing (and untranslated) texts to Russian translation.
David ‘Bombe’ Roden [Wed, 29 Feb 2012 20:37:37 +0000 (21:37 +0100)]
Add missing (and untranslated) texts to Russian translation.

12 years agoAdd page that displays all new posts and replies.
David ‘Bombe’ Roden [Tue, 21 Feb 2012 19:16:17 +0000 (20:16 +0100)]
Add page that displays all new posts and replies.

12 years agoAdd method to filter a list of posts.
David ‘Bombe’ Roden [Tue, 21 Feb 2012 19:15:53 +0000 (20:15 +0100)]
Add method to filter a list of posts.

12 years agoAlways fire element-was-read events, even if element is not new.
David ‘Bombe’ Roden [Tue, 21 Feb 2012 18:03:51 +0000 (19:03 +0100)]
Always fire element-was-read events, even if element is not new.

Sometimes elements are marked as read but not removed from the
notifications.

12 years agoAdd Russian translation (thanks to neko259).
David ‘Bombe’ Roden [Fri, 10 Feb 2012 14:46:37 +0000 (15:46 +0100)]
Add Russian translation (thanks to neko259).

12 years agoInitialize known-state of posts and replies correctly.
David ‘Bombe’ Roden [Sat, 28 Jan 2012 22:50:14 +0000 (23:50 +0100)]
Initialize known-state of posts and replies correctly.

12 years agoOwn Sones are always known, obviously.
David ‘Bombe’ Roden [Sat, 28 Jan 2012 22:49:55 +0000 (23:49 +0100)]
Own Sones are always known, obviously.

12 years agoStore a reply’s known status in the reply itself.
David ‘Bombe’ Roden [Fri, 27 Jan 2012 09:10:12 +0000 (10:10 +0100)]
Store a reply’s known status in the reply itself.

12 years agoStore a post’s known-status in the post itself.
David ‘Bombe’ Roden [Fri, 27 Jan 2012 09:28:18 +0000 (10:28 +0100)]
Store a post’s known-status in the post itself.

12 years agoStore a Sone’s known status in the Sone itself.
David ‘Bombe’ Roden [Wed, 25 Jan 2012 09:52:38 +0000 (10:52 +0100)]
Store a Sone’s known status in the Sone itself.

12 years agoTry to prevent new elements from being stuck in the notifications.
David ‘Bombe’ Roden [Fri, 27 Jan 2012 09:17:51 +0000 (10:17 +0100)]
Try to prevent new elements from being stuck in the notifications.

12 years agoMove Sone status into Sone.
David ‘Bombe’ Roden [Wed, 11 Jan 2012 20:58:51 +0000 (21:58 +0100)]
Move Sone status into Sone.

12 years agoRemove all method-level synchronization.
David ‘Bombe’ Roden [Tue, 17 Jan 2012 16:03:48 +0000 (17:03 +0100)]
Remove all method-level synchronization.

12 years agoUse copy-on-write sets instead of synchronized collections.
David ‘Bombe’ Roden [Tue, 17 Jan 2012 16:03:27 +0000 (17:03 +0100)]
Use copy-on-write sets instead of synchronized collections.

12 years agoOnly use the first ID.
David ‘Bombe’ Roden [Tue, 10 Jan 2012 09:53:07 +0000 (10:53 +0100)]
Only use the first ID.

12 years agoAdd link to WoT profile for unknown Sones.
David ‘Bombe’ Roden [Wed, 21 Dec 2011 12:44:06 +0000 (13:44 +0100)]
Add link to WoT profile for unknown Sones.

12 years agoExit accessor earlier if avatar ID is null.
David ‘Bombe’ Roden [Wed, 21 Dec 2011 12:41:27 +0000 (13:41 +0100)]
Exit accessor earlier if avatar ID is null.

12 years agoDon’t get trust values if it’s irrelevant.
David ‘Bombe’ Roden [Wed, 21 Dec 2011 12:37:23 +0000 (13:37 +0100)]
Don’t get trust values if it’s irrelevant.

12 years agoFix avatars of not manually trusted Sones showing when they’re not supposed to.
David ‘Bombe’ Roden [Sat, 10 Dec 2011 13:30:19 +0000 (14:30 +0100)]
Fix avatars of not manually trusted Sones showing when they’re not supposed to.

12 years agoReturn default avatar ID (null) when ID points to invalid image.
David ‘Bombe’ Roden [Fri, 9 Dec 2011 06:40:54 +0000 (07:40 +0100)]
Return default avatar ID (null) when ID points to invalid image.

This can happen after you delete your avatar image.

12 years agoFix typo.
David ‘Bombe’ Roden [Fri, 9 Dec 2011 06:40:29 +0000 (07:40 +0100)]
Fix typo.

12 years agoDon’t try to process non-existing images.
David ‘Bombe’ Roden [Fri, 9 Dec 2011 06:40:24 +0000 (07:40 +0100)]
Don’t try to process non-existing images.

12 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Wed, 7 Dec 2011 18:50:55 +0000 (19:50 +0100)]
Merge branch 'master' into next

12 years agoMerge branch 'release-0.7.6' 0.7.6
David ‘Bombe’ Roden [Wed, 7 Dec 2011 18:29:00 +0000 (19:29 +0100)]
Merge branch 'release-0.7.6'

12 years agoSet version to 0.7.6.
David ‘Bombe’ Roden [Wed, 7 Dec 2011 18:28:30 +0000 (19:28 +0100)]
Set version to 0.7.6.

12 years agoMerge branch 'custom-avatars' into next
David ‘Bombe’ Roden [Wed, 7 Dec 2011 17:46:38 +0000 (18:46 +0100)]
Merge branch 'custom-avatars' into next

This resolves #163.

12 years agoAlways show all your own avatars.
David ‘Bombe’ Roden [Wed, 7 Dec 2011 15:44:50 +0000 (16:44 +0100)]
Always show all your own avatars.

12 years agoAlways show your own avatar.
David ‘Bombe’ Roden [Wed, 7 Dec 2011 15:13:55 +0000 (16:13 +0100)]
Always show your own avatar.

12 years agoMake “show custom avatars” option configurable.
David ‘Bombe’ Roden [Wed, 7 Dec 2011 15:08:01 +0000 (16:08 +0100)]
Make “show custom avatars” option configurable.

12 years agoAdd profile accessor to template context factory.
David ‘Bombe’ Roden [Wed, 7 Dec 2011 15:05:26 +0000 (16:05 +0100)]
Add profile accessor to template context factory.

12 years agoLoad and save “show custom avatars” option.
David ‘Bombe’ Roden [Wed, 7 Dec 2011 15:05:06 +0000 (16:05 +0100)]
Load and save “show custom avatars” option.

12 years agoAdd enum for possible “show custom avatars” option values.
David ‘Bombe’ Roden [Wed, 7 Dec 2011 15:04:32 +0000 (16:04 +0100)]
Add enum for possible “show custom avatars” option values.

12 years agoAdd method to return the Sone of a Profile.
David ‘Bombe’ Roden [Wed, 7 Dec 2011 15:04:09 +0000 (16:04 +0100)]
Add method to return the Sone of a Profile.

12 years agoExtend Options to include enum options.
David ‘Bombe’ Roden [Wed, 7 Dec 2011 15:03:38 +0000 (16:03 +0100)]
Extend Options to include enum options.

12 years agoAdd accessor for Profile objects.
David ‘Bombe’ Roden [Wed, 7 Dec 2011 15:03:13 +0000 (16:03 +0100)]
Add accessor for Profile objects.

12 years agoMove avatar from options to profile.
David ‘Bombe’ Roden [Wed, 7 Dec 2011 14:03:28 +0000 (15:03 +0100)]
Move avatar from options to profile.

12 years agoAllow the ID of an image as input for the image link filter.
David ‘Bombe’ Roden [Wed, 7 Dec 2011 14:03:51 +0000 (15:03 +0100)]
Allow the ID of an image as input for the image link filter.

12 years agoUse correct size for the menu avatars.
David ‘Bombe’ Roden [Wed, 7 Dec 2011 09:13:35 +0000 (10:13 +0100)]
Use correct size for the menu avatars.

12 years agoShow custom avatar where applicable.
David ‘Bombe’ Roden [Wed, 7 Dec 2011 06:24:12 +0000 (07:24 +0100)]
Show custom avatar where applicable.

12 years agoMake avatar configurable.
David ‘Bombe’ Roden [Wed, 7 Dec 2011 06:23:25 +0000 (07:23 +0100)]
Make avatar configurable.

12 years agoAdd accessor that returns the avatar as Image.
David ‘Bombe’ Roden [Wed, 7 Dec 2011 06:22:52 +0000 (07:22 +0100)]
Add accessor that returns the avatar as Image.

12 years agoParse avatar ID from downloaded Sone.
David ‘Bombe’ Roden [Wed, 7 Dec 2011 06:22:39 +0000 (07:22 +0100)]
Parse avatar ID from downloaded Sone.

12 years agoInsert avatar ID.
David ‘Bombe’ Roden [Wed, 7 Dec 2011 06:22:26 +0000 (07:22 +0100)]
Insert avatar ID.

12 years agoLoad and save avatar.
David ‘Bombe’ Roden [Wed, 7 Dec 2011 06:22:12 +0000 (07:22 +0100)]
Load and save avatar.

12 years agoStore avatar image in Sone.
David ‘Bombe’ Roden [Wed, 7 Dec 2011 06:21:53 +0000 (07:21 +0100)]
Store avatar image in Sone.

12 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Tue, 29 Nov 2011 08:19:31 +0000 (09:19 +0100)]
Merge branch 'master' into next

12 years agoMerge branch 'release-0.7.5' 0.7.5
David ‘Bombe’ Roden [Tue, 29 Nov 2011 08:00:13 +0000 (09:00 +0100)]
Merge branch 'release-0.7.5'

12 years agoSet version to 0.7.5.
David ‘Bombe’ Roden [Tue, 29 Nov 2011 08:00:04 +0000 (09:00 +0100)]
Set version to 0.7.5.

12 years agoUse utils 0.11.4.
David ‘Bombe’ Roden [Tue, 29 Nov 2011 07:59:33 +0000 (08:59 +0100)]
Use utils 0.11.4.

12 years agoRequest notifications after marking elements as known.
David ‘Bombe’ Roden [Tue, 29 Nov 2011 07:43:55 +0000 (08:43 +0100)]
Request notifications after marking elements as known.

12 years agoSort notifications before handing them out.
David ‘Bombe’ Roden [Sat, 26 Nov 2011 00:39:32 +0000 (01:39 +0100)]
Sort notifications before handing them out.

12 years agoMerge branch 'notifications' into next
David ‘Bombe’ Roden [Fri, 25 Nov 2011 06:50:06 +0000 (07:50 +0100)]
Merge branch 'notifications' into next

This resolves #254.

12 years agoRemove old “get notification” AJAX handler.
David ‘Bombe’ Roden [Fri, 25 Nov 2011 06:49:44 +0000 (07:49 +0100)]
Remove old “get notification” AJAX handler.

12 years agoRemove notification information from “get status” AJAX handler.
David ‘Bombe’ Roden [Fri, 25 Nov 2011 06:49:31 +0000 (07:49 +0100)]
Remove notification information from “get status” AJAX handler.

12 years agoUse new “get notifications” handler.
David ‘Bombe’ Roden [Fri, 25 Nov 2011 06:49:12 +0000 (07:49 +0100)]
Use new “get notifications” handler.

12 years agoAdd new AJAX handler to web interface.
David ‘Bombe’ Roden [Fri, 25 Nov 2011 06:48:24 +0000 (07:48 +0100)]
Add new AJAX handler to web interface.

12 years agoAdd AJAX handler to return all notifications.
David ‘Bombe’ Roden [Fri, 25 Nov 2011 06:48:05 +0000 (07:48 +0100)]
Add AJAX handler to return all notifications.

12 years agoFix javascript function declaration.
David ‘Bombe’ Roden [Thu, 24 Nov 2011 11:10:19 +0000 (12:10 +0100)]
Fix javascript function declaration.

12 years agoDump notification hash to console.
David ‘Bombe’ Roden [Thu, 24 Nov 2011 09:54:31 +0000 (10:54 +0100)]
Dump notification hash to console.

12 years agoAdd method to set the new notification hash.
David ‘Bombe’ Roden [Thu, 24 Nov 2011 09:53:43 +0000 (10:53 +0100)]
Add method to set the new notification hash.

12 years agoAdd method to get the current notification hash.
David ‘Bombe’ Roden [Thu, 24 Nov 2011 09:52:47 +0000 (10:52 +0100)]
Add method to get the current notification hash.

12 years agoStore notification page in AJAX status.
David ‘Bombe’ Roden [Thu, 24 Nov 2011 09:51:42 +0000 (10:51 +0100)]
Store notification page in AJAX status.

12 years agoPrint the value, not the name.
David ‘Bombe’ Roden [Thu, 24 Nov 2011 09:44:01 +0000 (10:44 +0100)]
Print the value, not the name.

12 years agoInclude notification hash code in the template.
David ‘Bombe’ Roden [Thu, 24 Nov 2011 09:29:48 +0000 (10:29 +0100)]
Include notification hash code in the template.

12 years agoRequire a newer version of utils.
David ‘Bombe’ Roden [Thu, 24 Nov 2011 09:29:32 +0000 (10:29 +0100)]
Require a newer version of utils.

12 years agoInclude checks for equals() made by the super class.
David ‘Bombe’ Roden [Thu, 24 Nov 2011 09:28:17 +0000 (10:28 +0100)]
Include checks for equals() made by the super class.

12 years agoInitialize hash code with the super class’ hash code.
David ‘Bombe’ Roden [Thu, 24 Nov 2011 09:27:56 +0000 (10:27 +0100)]
Initialize hash code with the super class’ hash code.

12 years agoOverride hashCode() and equals().
David ‘Bombe’ Roden [Thu, 24 Nov 2011 08:14:12 +0000 (09:14 +0100)]
Override hashCode() and equals().

12 years agoRemove mention notifications if elements are removed.
David ‘Bombe’ Roden [Wed, 23 Nov 2011 06:08:32 +0000 (07:08 +0100)]
Remove mention notifications if elements are removed.

12 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Mon, 21 Nov 2011 18:11:15 +0000 (19:11 +0100)]
Merge branch 'master' into next

12 years agoMerge branch 'release-0.7.4' 0.7.4
David ‘Bombe’ Roden [Mon, 21 Nov 2011 18:10:53 +0000 (19:10 +0100)]
Merge branch 'release-0.7.4'

12 years agoSet version to 0.7.4.
David ‘Bombe’ Roden [Mon, 21 Nov 2011 18:10:43 +0000 (19:10 +0100)]
Set version to 0.7.4.

12 years agoRequire utils 0.11.3.
David ‘Bombe’ Roden [Mon, 21 Nov 2011 18:10:13 +0000 (19:10 +0100)]
Require utils 0.11.3.

12 years agoSort albums by title in gallery mode.
David ‘Bombe’ Roden [Mon, 21 Nov 2011 17:53:05 +0000 (18:53 +0100)]
Sort albums by title in gallery mode.

12 years agoAdd album title comparator.
David ‘Bombe’ Roden [Mon, 21 Nov 2011 17:52:53 +0000 (18:52 +0100)]
Add album title comparator.

12 years agoDon’t try to translate the names of people. That won’t work.
David ‘Bombe’ Roden [Mon, 21 Nov 2011 17:25:32 +0000 (18:25 +0100)]
Don’t try to translate the names of people. That won’t work.

12 years agoIgnore Sones with invalid IDs.
David ‘Bombe’ Roden [Sun, 20 Nov 2011 20:54:54 +0000 (21:54 +0100)]
Ignore Sones with invalid IDs.

12 years agoDon’t create new Sone, the existence has been checked before.
David ‘Bombe’ Roden [Sun, 20 Nov 2011 20:43:25 +0000 (21:43 +0100)]
Don’t create new Sone, the existence has been checked before.

12 years agoCreate Sones when following.
David ‘Bombe’ Roden [Sun, 20 Nov 2011 20:43:11 +0000 (21:43 +0100)]
Create Sones when following.

getSone(id, true) can still return null if the ID is obviously invalid,
e.g. an empty String.

12 years agoIgnore invalid Sones when following.
David ‘Bombe’ Roden [Sun, 20 Nov 2011 20:32:26 +0000 (21:32 +0100)]
Ignore invalid Sones when following.

12 years agoOnly show follow and unfollow buttons if there are Sones on the page.
David ‘Bombe’ Roden [Sun, 20 Nov 2011 10:10:21 +0000 (11:10 +0100)]
Only show follow and unfollow buttons if there are Sones on the page.

12 years agoAdd filter for new/not-new Sones.
David ‘Bombe’ Roden [Sun, 20 Nov 2011 10:10:05 +0000 (11:10 +0100)]
Add filter for new/not-new Sones.

12 years agoRemove superfluous method.
David ‘Bombe’ Roden [Sat, 19 Nov 2011 15:37:02 +0000 (16:37 +0100)]
Remove superfluous method.

12 years agoRemove method with implicit “create” parameter, use parameter explicitely.
David ‘Bombe’ Roden [Fri, 18 Nov 2011 18:02:05 +0000 (19:02 +0100)]
Remove method with implicit “create” parameter, use parameter explicitely.