Sone.git
13 years agoMerge branch 'release-0.6.2' 0.6.2
David ‘Bombe’ Roden [Sun, 17 Apr 2011 11:47:39 +0000 (13:47 +0200)]
Merge branch 'release-0.6.2'

13 years agoSet version to 0.6.2.
David ‘Bombe’ Roden [Sun, 17 Apr 2011 11:45:47 +0000 (13:45 +0200)]
Set version to 0.6.2.

13 years agoRequire utils 0.9.4.
David ‘Bombe’ Roden [Sun, 17 Apr 2011 11:44:46 +0000 (13:44 +0200)]
Require utils 0.9.4.

13 years agoFix logging of expression.
David ‘Bombe’ Roden [Sun, 17 Apr 2011 10:16:44 +0000 (12:16 +0200)]
Fix logging of expression.

13 years agoFormatting and whitespace fixes.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 14:51:27 +0000 (16:51 +0200)]
Formatting and whitespace fixes.

13 years agoRemove references to Freetalk.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 14:42:24 +0000 (16:42 +0200)]
Remove references to Freetalk.

The web interface was originally created for Freetalk but never completed
there.

13 years agoFix more project names in headers.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 14:41:42 +0000 (16:41 +0200)]
Fix more project names in headers.

13 years agoFix filenames in license headers.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 14:39:05 +0000 (16:39 +0200)]
Fix filenames in license headers.

13 years agoAdd missing license headers.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 14:38:27 +0000 (16:38 +0200)]
Add missing license headers.

13 years agoFix wrong project name in file headers.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 14:24:58 +0000 (16:24 +0200)]
Fix wrong project name in file headers.

13 years agoSet the latest edition of a Sone when the identity is updated.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 14:02:48 +0000 (16:02 +0200)]
Set the latest edition of a Sone when the identity is updated.

13 years agoDownlad SSKs instead of USKs to prevent triggering another search.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 14:02:37 +0000 (16:02 +0200)]
Downlad SSKs instead of USKs to prevent triggering another search.

13 years agoMerge branch 'fix-post-inserts-167' into next
David ‘Bombe’ Roden [Sat, 16 Apr 2011 11:22:33 +0000 (13:22 +0200)]
Merge branch 'fix-post-inserts-167' into next

This fixes #167.

13 years agoReturn page 1 for pages without pagination.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 11:21:39 +0000 (13:21 +0200)]
Return page 1 for pages without pagination.

13 years agoDo not insert posts if we’re not on the first page of a pagination.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 11:20:10 +0000 (13:20 +0200)]
Do not insert posts if we’re not on the first page of a pagination.

13 years agoAdd method to get the current page of a pagination.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 11:19:49 +0000 (13:19 +0200)]
Add method to get the current page of a pagination.

13 years agoAdd pagination name on post feed.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 11:19:38 +0000 (13:19 +0200)]
Add pagination name on post feed.

13 years agoAdd name of pagination as CSS class.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 11:19:26 +0000 (13:19 +0200)]
Add name of pagination as CSS class.

13 years agoMove permalinks behind the time, insert comment links after permalinks.
David ‘Bombe’ Roden [Fri, 15 Apr 2011 04:55:42 +0000 (06:55 +0200)]
Move permalinks behind the time, insert comment links after permalinks.

13 years agoAdd logging.
David ‘Bombe’ Roden [Fri, 15 Apr 2011 04:19:56 +0000 (06:19 +0200)]
Add logging.

13 years agoUse double instead of int for score calculation, weigh position of hit more.
David ‘Bombe’ Roden [Fri, 15 Apr 2011 04:19:44 +0000 (06:19 +0200)]
Use double instead of int for score calculation, weigh position of hit more.

13 years agoFix Sone marking.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 19:04:02 +0000 (21:04 +0200)]
Fix Sone marking.

13 years agoFilter by correct element.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 19:03:55 +0000 (21:03 +0200)]
Filter by correct element.

13 years agoAdd permalinks for posts and authors.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:39:11 +0000 (20:39 +0200)]
Add permalinks for posts and authors.

This fixes #136.

13 years agoMerge branch 'relative-timestamps-150' into next
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:26:35 +0000 (20:26 +0200)]
Merge branch 'relative-timestamps-150' into next

This fixes #150.

13 years agoUpdate relative times on each status update.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:21:25 +0000 (20:21 +0200)]
Update relative times on each status update.

13 years agoShow age text in HTML, use formatted date as tooltip.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:21:08 +0000 (20:21 +0200)]
Show age text in HTML, use formatted date as tooltip.

13 years agoAdd accessor for the age text of a Sone.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:20:56 +0000 (20:20 +0200)]
Add accessor for the age text of a Sone.

13 years agoOverride Time.toString() to return the text.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:20:45 +0000 (20:20 +0200)]
Override Time.toString() to return the text.

13 years agoExpose time calculation.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:20:35 +0000 (20:20 +0200)]
Expose time calculation.

13 years agoMerge branch 'improve-notification-handling' into next
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:26:08 +0000 (20:26 +0200)]
Merge branch 'improve-notification-handling' into next

This fixes #139.

13 years agoOnly render notifications if they have changed.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:01:16 +0000 (20:01 +0200)]
Only render notifications if they have changed.

13 years agoAdd AJAX page that returns a number of notifications.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:01:01 +0000 (20:01 +0200)]
Add AJAX page that returns a number of notifications.

13 years agoAdd method to return the last-updated time of a notification element.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:00:31 +0000 (20:00 +0200)]
Add method to return the last-updated time of a notification element.

13 years agoStore last-updated time in notifications.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:00:18 +0000 (20:00 +0200)]
Store last-updated time in notifications.

13 years agoExpose new-post and new-reply filters to the world.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:00:07 +0000 (20:00 +0200)]
Expose new-post and new-reply filters to the world.

13 years agoDon’t call touch() when setting all elements at once.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 17:59:56 +0000 (19:59 +0200)]
Don’t call touch() when setting all elements at once.

13 years agoNotify listeners when a post is removed.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 17:59:44 +0000 (19:59 +0200)]
Notify listeners when a post is removed.

13 years agoChange title of replies listing on Sone page.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 03:54:22 +0000 (05:54 +0200)]
Change title of replies listing on Sone page.

13 years agoFix typo.
David ‘Bombe’ Roden [Tue, 12 Apr 2011 10:16:12 +0000 (12:16 +0200)]
Fix typo.

13 years agoFix null pointer access when a reply’s post is yet unknown.
David ‘Bombe’ Roden [Tue, 12 Apr 2011 16:57:02 +0000 (18:57 +0200)]
Fix null pointer access when a reply’s post is yet unknown.

13 years agoInsert link to author the user is replying to.
David ‘Bombe’ Roden [Mon, 11 Apr 2011 12:04:26 +0000 (14:04 +0200)]
Insert link to author the user is replying to.

13 years agoStore textarea in input field’s data.
David ‘Bombe’ Roden [Mon, 11 Apr 2011 12:03:59 +0000 (14:03 +0200)]
Store textarea in input field’s data.

13 years agoAdd all Sone-specific options when creating a Sone.
David ‘Bombe’ Roden [Mon, 11 Apr 2011 11:50:49 +0000 (13:50 +0200)]
Add all Sone-specific options when creating a Sone.

This fixes #144.

13 years agoMark the correct sone as known.
David ‘Bombe’ Roden [Mon, 11 Apr 2011 10:30:50 +0000 (12:30 +0200)]
Mark the correct sone as known.

This fixes #142.

13 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Sun, 10 Apr 2011 19:43:22 +0000 (21:43 +0200)]
Merge branch 'master' into next

13 years agoMerge branch 'release-0.6.1' 0.6.1
David ‘Bombe’ Roden [Sun, 10 Apr 2011 19:06:23 +0000 (21:06 +0200)]
Merge branch 'release-0.6.1'

13 years agoSet version to 0.6.1.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 18:48:19 +0000 (20:48 +0200)]
Set version to 0.6.1.

13 years agoRequire utils 0.9.3.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 18:48:14 +0000 (20:48 +0200)]
Require utils 0.9.3.

13 years agoAdd explanatory text for Sone-specific options while logged in.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 18:46:48 +0000 (20:46 +0200)]
Add explanatory text for Sone-specific options while logged in.

13 years agoReduce default number of posts per page to 10.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 18:38:23 +0000 (20:38 +0200)]
Reduce default number of posts per page to 10.

13 years agoAdd redirect page before all other toadlets.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 11:52:04 +0000 (13:52 +0200)]
Add redirect page before all other toadlets.

13 years agoRedirect to “index.html” if no path is given.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 11:49:58 +0000 (13:49 +0200)]
Redirect to “index.html” if no path is given.

13 years agoCreate page implementation that simply performs a redirect.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 11:49:33 +0000 (13:49 +0200)]
Create page implementation that simply performs a redirect.

13 years agoAdd sone:// and post:// links.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 05:28:24 +0000 (07:28 +0200)]
Add sone:// and post:// links.

13 years agoMark deleted posts and replies as known.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 05:11:32 +0000 (07:11 +0200)]
Mark deleted posts and replies as known.

13 years agoAlso show posts and replies that have the current Sone as post recipient.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 04:49:17 +0000 (06:49 +0200)]
Also show posts and replies that have the current Sone as post recipient.

13 years agoAdjust displayed times.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 04:29:54 +0000 (06:29 +0200)]
Adjust displayed times.

13 years agoShow default texts in the trust-related settings on the options page.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 04:15:47 +0000 (06:15 +0200)]
Show default texts in the trust-related settings on the options page.

13 years agoAllow user to configuration the number of posts shown on a page.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 04:11:19 +0000 (06:11 +0200)]
Allow user to configuration the number of posts shown on a page.

This resolves #123.

13 years agoAdd javadoc comments.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 03:45:13 +0000 (05:45 +0200)]
Add javadoc comments.

13 years agoCreate new-element notifications as non-dismissable.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 19:39:07 +0000 (21:39 +0200)]
Create new-element notifications as non-dismissable.

13 years agoCopy all values in the copy constructor.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 19:38:56 +0000 (21:38 +0200)]
Copy all values in the copy constructor.

13 years agoAdd constructor to allow to specify the dismissable flag.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 19:38:44 +0000 (21:38 +0200)]
Add constructor to allow to specify the dismissable flag.

13 years agoDon’t mark elements as known automatically when viewing a page.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 19:18:47 +0000 (21:18 +0200)]
Don’t mark elements as known automatically when viewing a page.

This resolves #32.

13 years agoDisplay new-reply notification differently.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 19:06:37 +0000 (21:06 +0200)]
Display new-reply notification differently.

This fixes #35.

13 years agoAdd filter to sort replies differently.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 19:06:00 +0000 (21:06 +0200)]
Add filter to sort replies differently.

13 years agoAlso update times on invisible replies.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 13:57:10 +0000 (15:57 +0200)]
Also update times on invisible replies.

13 years agoReset activation after all notifications have been removed.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 13:57:03 +0000 (15:57 +0200)]
Reset activation after all notifications have been removed.

13 years agoFilter posts and replies from the future.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 11:39:02 +0000 (13:39 +0200)]
Filter posts and replies from the future.

This fixes #122.

13 years agoHide error message when deleting already deleted post, just hide post.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:55:06 +0000 (11:55 +0200)]
Hide error message when deleting already deleted post, just hide post.

13 years agoReset blinking tab icon when no notifications are visible.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:51:57 +0000 (11:51 +0200)]
Reset blinking tab icon when no notifications are visible.

13 years agoMark own posts as new to allow retrieval and insertion on all open tabs.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:51:44 +0000 (11:51 +0200)]
Mark own posts as new to allow retrieval and insertion on all open tabs.

13 years agoMerge branch 'mark-elements-as-known' into next
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:27:58 +0000 (11:27 +0200)]
Merge branch 'mark-elements-as-known' into next

This fixes #119.

13 years agoMark elements as known when a notification is removed.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:26:24 +0000 (11:26 +0200)]
Mark elements as known when a notification is removed.

13 years agoCheck replaced notifications for changes.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:26:06 +0000 (11:26 +0200)]
Check replaced notifications for changes.

13 years agoAdd methods that compare notifications and mark elements as known.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:25:57 +0000 (11:25 +0200)]
Add methods that compare notifications and mark elements as known.

13 years agoUse convenience method to get the notification for the ID.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:25:33 +0000 (11:25 +0200)]
Use convenience method to get the notification for the ID.

13 years agoAdd “skipRequest” parameter to all mark*AsKnown() methods.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:25:10 +0000 (11:25 +0200)]
Add “skipRequest” parameter to all mark*AsKnown() methods.

13 years agoAdd method to access notification elements.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:13:53 +0000 (11:13 +0200)]
Add method to access notification elements.

13 years agoAdd method to retrieve a Sone element by its ID.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:13:41 +0000 (11:13 +0200)]
Add method to retrieve a Sone element by its ID.

13 years agoAdd element IDs to new-element notifications.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:13:28 +0000 (11:13 +0200)]
Add element IDs to new-element notifications.

13 years agoMark all elements as known in the processing method, not after rendering.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 09:13:12 +0000 (11:13 +0200)]
Mark all elements as known in the processing method, not after rendering.

This allows to react to changes in the notification with JavaScript, in
order to mark elements on the page as known without having the currently
reloading page clear everything in all tabs.

13 years agoAdd relative and dynamic timestamps to the web interface.
David ‘Bombe’ Roden [Wed, 6 Apr 2011 05:28:51 +0000 (07:28 +0200)]
Add relative and dynamic timestamps to the web interface.

This fixes #2.

13 years agoAdd getReply() function that works the same as getPost().
David ‘Bombe’ Roden [Wed, 6 Apr 2011 04:37:35 +0000 (06:37 +0200)]
Add getReply() function that works the same as getPost().

13 years agoRemove obsolete getReply() function.
David ‘Bombe’ Roden [Wed, 6 Apr 2011 04:37:17 +0000 (06:37 +0200)]
Remove obsolete getReply() function.

13 years agoFix javadoc.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 14:06:44 +0000 (16:06 +0200)]
Fix javadoc.

13 years agoImplement auto-following of new Sones.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 13:47:01 +0000 (15:47 +0200)]
Implement auto-following of new Sones.

This fixes #88.

13 years agoAdd options to Sone.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 13:44:28 +0000 (15:44 +0200)]
Add options to Sone.

13 years agoRemove debug output.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 11:50:34 +0000 (13:50 +0200)]
Remove debug output.

13 years agoImprove wording on Sone creation.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 11:49:17 +0000 (13:49 +0200)]
Improve wording on Sone creation.

This fixes #89.

13 years agoAdd large try-catch block around SoneInserter’s run() method.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 09:22:40 +0000 (11:22 +0200)]
Add large try-catch block around SoneInserter’s run() method.

13 years agoRemove notification if no posts and replies remain.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 09:04:10 +0000 (11:04 +0200)]
Remove notification if no posts and replies remain.

13 years agoRefactor; when not logged in, don’t show new-post or new-reply notifications at all.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 08:59:57 +0000 (10:59 +0200)]
Refactor; when not logged in, don’t show new-post or new-reply notifications at all.

13 years agoRemove unnecessary imports.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 08:34:22 +0000 (10:34 +0200)]
Remove unnecessary imports.

13 years agoChange the way notifications are handled.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 08:05:15 +0000 (10:05 +0200)]
Change the way notifications are handled.

The notification manager only keeps a list of current notifications.
Removed and changed notifications are now detected by the web interface
itself. Also, the notifications are filtered to show only posts and replies
that the logged in Sone is interested in.

13 years agoAdd filter for a list of notifications.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 08:02:56 +0000 (10:02 +0200)]
Add filter for a list of notifications.

13 years agoAdd method to set elements to show.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 07:57:26 +0000 (09:57 +0200)]
Add method to set elements to show.

13 years agoAdd copy constructor.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 07:57:19 +0000 (09:57 +0200)]
Add copy constructor.

13 years agoAdd method to get all posts that have a certain Sone as recipient.
David ‘Bombe’ Roden [Tue, 5 Apr 2011 07:49:59 +0000 (09:49 +0200)]
Add method to get all posts that have a certain Sone as recipient.