Sone.git
13 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.

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

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

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

13 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.

13 years agoDo not create a new Sone if the ID is obviously invalid.
David ‘Bombe’ Roden [Fri, 18 Nov 2011 18:00:13 +0000 (19:00 +0100)]
Do not create a new Sone if the ID is obviously invalid.

Some earlier version introduced a Sone with an empty ID into the system. If
this Sone is now requested, it will not be created anymore.

13 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Thu, 17 Nov 2011 08:13:05 +0000 (09:13 +0100)]
Merge branch 'master' into next

13 years agoMerge branch 'release-0.7.3' 0.7.3
David ‘Bombe’ Roden [Wed, 16 Nov 2011 19:20:39 +0000 (20:20 +0100)]
Merge branch 'release-0.7.3'

13 years agoSet version to 0.7.3.
David ‘Bombe’ Roden [Wed, 16 Nov 2011 19:18:49 +0000 (20:18 +0100)]
Set version to 0.7.3.

13 years agoRequire utils 0.11.2.
David ‘Bombe’ Roden [Wed, 16 Nov 2011 19:17:44 +0000 (20:17 +0100)]
Require utils 0.11.2.

13 years agoAdd gallery mode to image browser.
David ‘Bombe’ Roden [Tue, 15 Nov 2011 05:54:02 +0000 (06:54 +0100)]
Add gallery mode to image browser.

This resolves #235.

13 years agoAdd link to “All Sones” to all image browser pages.
David ‘Bombe’ Roden [Tue, 15 Nov 2011 05:53:33 +0000 (06:53 +0100)]
Add link to “All Sones” to all image browser pages.

13 years agoAdd filter for Sones with at least one album.
David ‘Bombe’ Roden [Tue, 15 Nov 2011 05:52:01 +0000 (06:52 +0100)]
Add filter for Sones with at least one album.

13 years agoMerge branch 'image-navigation' into next
David ‘Bombe’ Roden [Mon, 14 Nov 2011 20:24:21 +0000 (21:24 +0100)]
Merge branch 'image-navigation' into next

This resolves #233.

13 years agoAdd links to previous and next images to backlinks.
David ‘Bombe’ Roden [Mon, 14 Nov 2011 20:24:10 +0000 (21:24 +0100)]
Add links to previous and next images to backlinks.

13 years agoAdd custom accessor for images.
David ‘Bombe’ Roden [Mon, 14 Nov 2011 20:23:58 +0000 (21:23 +0100)]
Add custom accessor for images.

13 years agoRemove superflouos statement.
David ‘Bombe’ Roden [Sun, 13 Nov 2011 18:53:57 +0000 (19:53 +0100)]
Remove superflouos statement.

13 years agoOnly return the ID of the first Sone found on the page.
David ‘Bombe’ Roden [Sun, 13 Nov 2011 18:53:29 +0000 (19:53 +0100)]
Only return the ID of the first Sone found on the page.

13 years agoMerge branch 'sone-following-times' into next
David ‘Bombe’ Roden [Sun, 13 Nov 2011 18:52:48 +0000 (19:52 +0100)]
Merge branch 'sone-following-times' into next

This resolves #195.

13 years agoUse Sone following times to mark earlier elements as read when discovering.
David ‘Bombe’ Roden [Sun, 13 Nov 2011 18:52:07 +0000 (19:52 +0100)]
Use Sone following times to mark earlier elements as read when discovering.

13 years agoDon’t set friends directly, use Core’s follow() methods.
David ‘Bombe’ Roden [Sun, 13 Nov 2011 18:51:50 +0000 (19:51 +0100)]
Don’t set friends directly, use Core’s follow() methods.

13 years agoAdd methods to follow and unfollow other Sones.
David ‘Bombe’ Roden [Sun, 13 Nov 2011 18:49:49 +0000 (19:49 +0100)]
Add methods to follow and unfollow other Sones.

13 years agoAdd method to get the following time for a Sone.
David ‘Bombe’ Roden [Sun, 13 Nov 2011 18:49:33 +0000 (19:49 +0100)]
Add method to get the following time for a Sone.

13 years agoAdd Sone-following times.
David ‘Bombe’ Roden [Sun, 13 Nov 2011 18:49:20 +0000 (19:49 +0100)]
Add Sone-following times.

13 years agoMerge branch 'initial-sone-discovery' into next
David ‘Bombe’ Roden [Sun, 13 Nov 2011 12:08:26 +0000 (13:08 +0100)]
Merge branch 'initial-sone-discovery' into next

This resolves #251.

13 years agoAlways return copies of own identities.
David ‘Bombe’ Roden [Sun, 13 Nov 2011 11:56:37 +0000 (12:56 +0100)]
Always return copies of own identities.

13 years agoCopy the contexts and properties, too.
David ‘Bombe’ Roden [Sun, 13 Nov 2011 11:45:27 +0000 (12:45 +0100)]
Copy the contexts and properties, too.

13 years agoSend a copy of the default own identities to the event listeners.
David ‘Bombe’ Roden [Sun, 13 Nov 2011 11:31:45 +0000 (12:31 +0100)]
Send a copy of the default own identities to the event listeners.

This will prevent event listeners from changing the underlying objects that
are used to detect changes.

13 years agoFix added-or-removed detection by making it context-sensitive.
David ‘Bombe’ Roden [Sun, 13 Nov 2011 11:31:07 +0000 (12:31 +0100)]
Fix added-or-removed detection by making it context-sensitive.

13 years agoAdd copy-constructor for own identities.
David ‘Bombe’ Roden [Sun, 13 Nov 2011 11:30:24 +0000 (12:30 +0100)]
Add copy-constructor for own identities.

13 years agoAdd buttons to re-order images and albums without javascript.
David ‘Bombe’ Roden [Sat, 12 Nov 2011 12:16:54 +0000 (13:16 +0100)]
Add buttons to re-order images and albums without javascript.

This resolves #243.

13 years agoMatch button descriptions to the actual actions.
David ‘Bombe’ Roden [Sat, 12 Nov 2011 11:00:55 +0000 (12:00 +0100)]
Match button descriptions to the actual actions.

This resolves #245.

13 years agoMerge branch 'filter-image-descriptions' into next
David ‘Bombe’ Roden [Sat, 12 Nov 2011 10:54:55 +0000 (11:54 +0100)]
Merge branch 'filter-image-descriptions' into next

This resolves #239.

13 years agoParse descriptions of albums and images.
David ‘Bombe’ Roden [Sat, 12 Nov 2011 10:54:34 +0000 (11:54 +0100)]
Parse descriptions of albums and images.

13 years agoFilter links from image and album descriptions.
David ‘Bombe’ Roden [Sat, 12 Nov 2011 10:53:51 +0000 (11:53 +0100)]
Filter links from image and album descriptions.

13 years agoActually load notification settings from the configuration.
David ‘Bombe’ Roden [Fri, 11 Nov 2011 23:54:11 +0000 (00:54 +0100)]
Actually load notification settings from the configuration.

13 years agoMerge branch 'configurable-notifications-250' into next
David ‘Bombe’ Roden [Fri, 11 Nov 2011 12:24:57 +0000 (13:24 +0100)]
Merge branch 'configurable-notifications-250' into next

This resolves #250.

Conflicts:
src/main/java/net/pterodactylus/sone/core/Core.java

13 years agoAdd default for Sone-specific option.
David ‘Bombe’ Roden [Fri, 11 Nov 2011 12:22:23 +0000 (13:22 +0100)]
Add default for Sone-specific option.

13 years agoOnly mark items as known if the notification is still enabled when it disappears.
David ‘Bombe’ Roden [Fri, 11 Nov 2011 10:28:35 +0000 (11:28 +0100)]
Only mark items as known if the notification is still enabled when it disappears.

13 years agoTransfer session-specific options to client on each status update.
David ‘Bombe’ Roden [Fri, 11 Nov 2011 10:28:13 +0000 (11:28 +0100)]
Transfer session-specific options to client on each status update.

13 years agoMake new options configurable.
David ‘Bombe’ Roden [Fri, 11 Nov 2011 10:02:17 +0000 (11:02 +0100)]
Make new options configurable.

13 years agoFix notification filters.
David ‘Bombe’ Roden [Fri, 11 Nov 2011 10:01:56 +0000 (11:01 +0100)]
Fix notification filters.

13 years agoFilter notifications that the user is not interested in.
David ‘Bombe’ Roden [Fri, 11 Nov 2011 09:16:27 +0000 (10:16 +0100)]
Filter notifications that the user is not interested in.

13 years agoAdd options for each notification type.
David ‘Bombe’ Roden [Fri, 11 Nov 2011 09:10:01 +0000 (10:10 +0100)]
Add options for each notification type.

13 years agoPrevent the insert fingerprint from being stored until the insert is finished.
David ‘Bombe’ Roden [Mon, 7 Nov 2011 05:16:35 +0000 (06:16 +0100)]
Prevent the insert fingerprint from being stored until the insert is finished.

13 years agoMerge branch 'link-filter-26' into next
David ‘Bombe’ Roden [Sat, 5 Nov 2011 15:55:54 +0000 (16:55 +0100)]
Merge branch 'link-filter-26' into next

13 years agoFix bookmark navigation.
David ‘Bombe’ Roden [Sun, 23 Oct 2011 18:43:51 +0000 (20:43 +0200)]
Fix bookmark navigation.

This fixes #246.

13 years agoPaginate bookmarks as per “posts per page” configuration option.
David ‘Bombe’ Roden [Sun, 23 Oct 2011 18:43:41 +0000 (20:43 +0200)]
Paginate bookmarks as per “posts per page” configuration option.

This fixes #247.

13 years agoAdd javadoc for exception.
David ‘Bombe’ Roden [Wed, 12 Oct 2011 04:43:48 +0000 (06:43 +0200)]
Add javadoc for exception.

13 years agoDeclare exception to be thrown.
David ‘Bombe’ Roden [Tue, 11 Oct 2011 19:29:58 +0000 (21:29 +0200)]
Declare exception to be thrown.

13 years agoCreate base Sone exception and insert-specific exception.
David ‘Bombe’ Roden [Tue, 11 Oct 2011 19:27:56 +0000 (21:27 +0200)]
Create base Sone exception and insert-specific exception.

13 years agoForce download of images.
David ‘Bombe’ Roden [Tue, 11 Oct 2011 19:16:21 +0000 (21:16 +0200)]
Force download of images.

13 years agoAllow empty values for profile fields.
David ‘Bombe’ Roden [Mon, 10 Oct 2011 19:43:06 +0000 (21:43 +0200)]
Allow empty values for profile fields.

13 years agoAdd default implementations that do not allow linking.
David ‘Bombe’ Roden [Thu, 6 Oct 2011 20:15:57 +0000 (22:15 +0200)]
Add default implementations that do not allow linking.

13 years agoAllow links to images, Sones, and posts.
David ‘Bombe’ Roden [Thu, 6 Oct 2011 20:15:35 +0000 (22:15 +0200)]
Allow links to images, Sones, and posts.

13 years agoForward link filter requests to page implementation if it is supported.
David ‘Bombe’ Roden [Thu, 6 Oct 2011 20:15:24 +0000 (22:15 +0200)]
Forward link filter requests to page implementation if it is supported.

13 years agoImplement link filter exceptions in base Freenet template page.
David ‘Bombe’ Roden [Thu, 6 Oct 2011 20:14:22 +0000 (22:14 +0200)]
Implement link filter exceptions in base Freenet template page.

13 years agoAdd Freenet-specific page extension.
David ‘Bombe’ Roden [Thu, 6 Oct 2011 20:12:36 +0000 (22:12 +0200)]
Add Freenet-specific page extension.

13 years agoRequire a newer fred version.
David ‘Bombe’ Roden [Thu, 6 Oct 2011 20:08:52 +0000 (22:08 +0200)]
Require a newer fred version.

This also requires an additional method for a changed interface.

13 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Tue, 4 Oct 2011 04:19:23 +0000 (06:19 +0200)]
Merge branch 'master' into next

13 years agoMerge branch 'release-0.7.2' 0.7.2
David ‘Bombe’ Roden [Tue, 4 Oct 2011 04:13:58 +0000 (06:13 +0200)]
Merge branch 'release-0.7.2'

13 years agoSet version to 0.7.2.
David ‘Bombe’ Roden [Tue, 4 Oct 2011 04:13:36 +0000 (06:13 +0200)]
Set version to 0.7.2.

13 years agoUse release version of utils.
David ‘Bombe’ Roden [Tue, 4 Oct 2011 04:13:03 +0000 (06:13 +0200)]
Use release version of utils.

13 years agoWhitespace fixes.
David ‘Bombe’ Roden [Mon, 3 Oct 2011 20:34:48 +0000 (22:34 +0200)]
Whitespace fixes.

13 years agoTranslate texts on “Known Sones” page.
David ‘Bombe’ Roden [Mon, 3 Oct 2011 20:34:28 +0000 (22:34 +0200)]
Translate texts on “Known Sones” page.

13 years agoAllow empty album descriptions.
David ‘Bombe’ Roden [Mon, 3 Oct 2011 11:25:06 +0000 (13:25 +0200)]
Allow empty album descriptions.

13 years agoWhitespace fix.
David ‘Bombe’ Roden [Fri, 30 Sep 2011 12:57:53 +0000 (14:57 +0200)]
Whitespace fix.

13 years agoAdd “sort by image count” for Known Sones.
David ‘Bombe’ Roden [Fri, 30 Sep 2011 12:57:37 +0000 (14:57 +0200)]
Add “sort by image count” for Known Sones.

13 years agoAdd Sone comparator by image count.
David ‘Bombe’ Roden [Fri, 30 Sep 2011 12:56:55 +0000 (14:56 +0200)]
Add Sone comparator by image count.

13 years agoSet album image after parsing all images.
David ‘Bombe’ Roden [Fri, 30 Sep 2011 07:54:49 +0000 (09:54 +0200)]
Set album image after parsing all images.

13 years agoSet different width for album descriptions.
David ‘Bombe’ Roden [Fri, 30 Sep 2011 05:10:48 +0000 (07:10 +0200)]
Set different width for album descriptions.

13 years agoFix image scaling and positioning.
David ‘Bombe’ Roden [Thu, 29 Sep 2011 13:16:46 +0000 (15:16 +0200)]
Fix image scaling and positioning.

13 years agoMove common fields and setters to Reply.
David ‘Bombe’ Roden [Wed, 28 Sep 2011 18:27:58 +0000 (20:27 +0200)]
Move common fields and setters to Reply.

13 years agoAdd abstract base class for replies, move post reply into its own class.
David ‘Bombe’ Roden [Wed, 28 Sep 2011 18:23:39 +0000 (20:23 +0200)]
Add abstract base class for replies, move post reply into its own class.

13 years agoStore LatestEdition property only after saving the Sone to disk.
David ‘Bombe’ Roden [Tue, 27 Sep 2011 20:17:18 +0000 (22:17 +0200)]
Store LatestEdition property only after saving the Sone to disk.

This will at least prevent WoT from blocking the correct writing of the
configuration.

13 years agoShow number of images in albums.
David ‘Bombe’ Roden [Tue, 27 Sep 2011 19:14:08 +0000 (21:14 +0200)]
Show number of images in albums.

13 years agoShow a Sone’s number of images in context menu and Sone info.
David ‘Bombe’ Roden [Tue, 27 Sep 2011 19:14:00 +0000 (21:14 +0200)]
Show a Sone’s number of images in context menu and Sone info.

13 years agoAdd method that returns all images of a Sone.
David ‘Bombe’ Roden [Tue, 27 Sep 2011 19:13:32 +0000 (21:13 +0200)]
Add method that returns all images of a Sone.

13 years agoTurn album list flattening into a proper Sone method.
David ‘Bombe’ Roden [Tue, 27 Sep 2011 17:52:21 +0000 (19:52 +0200)]
Turn album list flattening into a proper Sone method.

13 years agoIncrease new default maximum length of posts to 400 characters.
David ‘Bombe’ Roden [Tue, 27 Sep 2011 17:30:34 +0000 (19:30 +0200)]
Increase new default maximum length of posts to 400 characters.

13 years agoAdd separate length parameter for the snippet of too-long posts.
David ‘Bombe’ Roden [Tue, 27 Sep 2011 17:30:20 +0000 (19:30 +0200)]
Add separate length parameter for the snippet of too-long posts.

13 years agoAdd cut-off length for the snippet.
David ‘Bombe’ Roden [Tue, 27 Sep 2011 17:29:26 +0000 (19:29 +0200)]
Add cut-off length for the snippet.

13 years agoSimplify length extraction.
David ‘Bombe’ Roden [Tue, 27 Sep 2011 17:29:05 +0000 (19:29 +0200)]
Simplify length extraction.

13 years agoRequire a more recent version of utils.
David ‘Bombe’ Roden [Tue, 27 Sep 2011 17:28:31 +0000 (19:28 +0200)]
Require a more recent version of utils.

13 years agoInterrupt all running requests on sto().
David ‘Bombe’ Roden [Tue, 27 Sep 2011 12:15:39 +0000 (14:15 +0200)]
Interrupt all running requests on sto().

This should no longer prevent the node from shutting down successfully.

13 years agoRender SonePart as link to WoT profile page if the Sone is unknown.
David ‘Bombe’ Roden [Tue, 27 Sep 2011 11:46:08 +0000 (13:46 +0200)]
Render SonePart as link to WoT profile page if the Sone is unknown.

13 years agoAlways add a Sone part for the ID.
David ‘Bombe’ Roden [Tue, 27 Sep 2011 11:45:19 +0000 (13:45 +0200)]
Always add a Sone part for the ID.

13 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Tue, 27 Sep 2011 04:47:13 +0000 (06:47 +0200)]
Merge branch 'master' into next

13 years agoMerge branch 'release-0.7.1' 0.7.1
David ‘Bombe’ Roden [Tue, 27 Sep 2011 04:41:58 +0000 (06:41 +0200)]
Merge branch 'release-0.7.1'

13 years agoSet version to 0.7.1.
David ‘Bombe’ Roden [Tue, 27 Sep 2011 04:41:41 +0000 (06:41 +0200)]
Set version to 0.7.1.

13 years agoGive Sone its own menu name.
David ‘Bombe’ Roden [Tue, 27 Sep 2011 04:40:49 +0000 (06:40 +0200)]
Give Sone its own menu name.

13 years agoFix HTML element IDs and please Opera’s very picky parser.
David ‘Bombe’ Roden [Tue, 27 Sep 2011 04:40:35 +0000 (06:40 +0200)]
Fix HTML element IDs and please Opera’s very picky parser.

13 years agoFix tag and please Opera’s very picky HTML parser.
David ‘Bombe’ Roden [Tue, 27 Sep 2011 04:39:49 +0000 (06:39 +0200)]
Fix tag and please Opera’s very picky HTML parser.

13 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Mon, 26 Sep 2011 20:24:33 +0000 (22:24 +0200)]
Merge branch 'master' into next