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

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

12 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

12 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'

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

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

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

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

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

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

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

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