Sone.git
14 years agoImplement a “Sone rescue mode.”
David ‘Bombe’ Roden [Wed, 17 Nov 2010 12:47:39 +0000 (13:47 +0100)]
Implement a “Sone rescue mode.”

This mode will when a local Sone is added try to download all previously
known editions of the Sone and merge all posts, replies, and likes it can
find. The SoneInserter is not started until all editions have been tried
(or the rescue mode is turned off).

14 years agoAdd a “Sone rescue mode.”
David ‘Bombe’ Roden [Wed, 17 Nov 2010 12:46:07 +0000 (13:46 +0100)]
Add a “Sone rescue mode.”

14 years agoAdd method to download a Sone from a specific URI.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 12:45:18 +0000 (13:45 +0100)]
Add method to download a Sone from a specific URI.

14 years agoConvert the URI a Sone was downloaded from to USK before setting it.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 12:45:08 +0000 (13:45 +0100)]
Convert the URI a Sone was downloaded from to USK before setting it.

14 years agoStore whether the core has been stopped.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 12:42:49 +0000 (13:42 +0100)]
Store whether the core has been stopped.

This is used to stop a thread that tries to rescue a Sone.

14 years agoReplace existing notifications seamlessly instead of sliding stuff around.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 07:55:49 +0000 (08:55 +0100)]
Replace existing notifications seamlessly instead of sliding stuff around.

14 years agoUse a notification!
David ‘Bombe’ Roden [Tue, 16 Nov 2010 04:53:46 +0000 (05:53 +0100)]
Use a notification!

14 years agoDon’t show “web of trust is missing” notification the old way.
David ‘Bombe’ Roden [Tue, 16 Nov 2010 04:53:32 +0000 (05:53 +0100)]
Don’t show “web of trust is missing” notification the old way.

14 years agoStop ticker when web interface is stopped.
David ‘Bombe’ Roden [Tue, 16 Nov 2010 04:51:14 +0000 (05:51 +0100)]
Stop ticker when web interface is stopped.

14 years agoCheck if success flag is true before accessing values.
David ‘Bombe’ Roden [Tue, 16 Nov 2010 10:24:31 +0000 (11:24 +0100)]
Check if success flag is true before accessing values.

14 years agoOverride jQuery’s getJSON() method, ignore all occuring errors.
David ‘Bombe’ Roden [Mon, 15 Nov 2010 09:34:53 +0000 (10:34 +0100)]
Override jQuery’s getJSON() method, ignore all occuring errors.

14 years agoComplete javadoc.
David ‘Bombe’ Roden [Mon, 15 Nov 2010 08:19:48 +0000 (09:19 +0100)]
Complete javadoc.

14 years agoOnly get new notifications every 30 seconds in case of an error.
David ‘Bombe’ Roden [Mon, 15 Nov 2010 08:08:27 +0000 (09:08 +0100)]
Only get new notifications every 30 seconds in case of an error.

14 years agoAJAX requests may actually fail, take it into account.
David ‘Bombe’ Roden [Mon, 15 Nov 2010 08:08:16 +0000 (09:08 +0100)]
AJAX requests may actually fail, take it into account.

14 years agoHide all removed notifications.
David ‘Bombe’ Roden [Mon, 15 Nov 2010 05:49:43 +0000 (06:49 +0100)]
Hide all removed notifications.

14 years agoReturn removed notifications as well.
David ‘Bombe’ Roden [Mon, 15 Nov 2010 05:49:36 +0000 (06:49 +0100)]
Return removed notifications as well.

14 years agoMove JSON object creation into its own method.
David ‘Bombe’ Roden [Mon, 15 Nov 2010 05:49:23 +0000 (06:49 +0100)]
Move JSON object creation into its own method.

14 years agoStart polling notifications when loading the page.
David ‘Bombe’ Roden [Mon, 15 Nov 2010 05:34:52 +0000 (06:34 +0100)]
Start polling notifications when loading the page.

14 years agoAdd methods to retrieve new notification and create their HTML.
David ‘Bombe’ Roden [Mon, 15 Nov 2010 05:34:42 +0000 (06:34 +0100)]
Add methods to retrieve new notification and create their HTML.

14 years agoReturn the notification as well as modify it.
David ‘Bombe’ Roden [Mon, 15 Nov 2010 05:34:27 +0000 (06:34 +0100)]
Return the notification as well as modify it.

14 years agoAdd template form for the dismiss button.
David ‘Bombe’ Roden [Mon, 15 Nov 2010 05:34:08 +0000 (06:34 +0100)]
Add template form for the dismiss button.

14 years agoSet fixed ID for the startup notification.
David ‘Bombe’ Roden [Mon, 15 Nov 2010 05:33:55 +0000 (06:33 +0100)]
Set fixed ID for the startup notification.

14 years agoAlways hide the notification when “dismiss” is pressed.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 21:19:22 +0000 (22:19 +0100)]
Always hide the notification when “dismiss” is pressed.

14 years agoAdd minimum height to all notifications.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 20:59:01 +0000 (21:59 +0100)]
Add minimum height to all notifications.

14 years agoAdd AJAX handler to get all notifications.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 20:58:50 +0000 (21:58 +0100)]
Add AJAX handler to get all notifications.

14 years agoDon’t notify for replies on posts we don’t have.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 20:58:35 +0000 (21:58 +0100)]
Don’t notify for replies on posts we don’t have.

14 years agoFire events when new posts and replies are found.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 20:29:42 +0000 (21:29 +0100)]
Fire events when new posts and replies are found.

14 years agoCheck for new posts and replies in the correct places.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 20:29:33 +0000 (21:29 +0100)]
Check for new posts and replies in the correct places.

14 years agoRename method.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 20:21:05 +0000 (21:21 +0100)]
Rename method.

14 years agoRemove old notification mechanism.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 20:05:36 +0000 (21:05 +0100)]
Remove old notification mechanism.

14 years agoAdd new reply notification.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 20:04:56 +0000 (21:04 +0100)]
Add new reply notification.

14 years agoDisplay new post notifications.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 19:56:34 +0000 (20:56 +0100)]
Display new post notifications.

14 years agoAdd new post notification.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 19:56:19 +0000 (20:56 +0100)]
Add new post notification.

14 years agoAdd text for new Sone notification.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 19:55:38 +0000 (20:55 +0100)]
Add text for new Sone notification.

14 years agoAdd events for marked known posts and replies.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 19:48:36 +0000 (20:48 +0100)]
Add events for marked known posts and replies.

14 years agoFire “Sone is marked known” event.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 19:44:19 +0000 (20:44 +0100)]
Fire “Sone is marked known” event.

14 years agoAdd method that signals when a Sone is marked as known.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 19:44:05 +0000 (20:44 +0100)]
Add method that signals when a Sone is marked as known.

14 years agoAdd method to remove a Sone, re-add isEmpty() method.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 19:43:26 +0000 (20:43 +0100)]
Add method to remove a Sone, re-add isEmpty() method.

14 years agoAdd missing template for new sone notification.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 19:29:37 +0000 (20:29 +0100)]
Add missing template for new sone notification.

14 years agoEnhance javadoc, remove obsolete isEmpty() method.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 19:28:25 +0000 (20:28 +0100)]
Enhance javadoc, remove obsolete isEmpty() method.

14 years agoAdd notification for new Sones.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 16:11:47 +0000 (17:11 +0100)]
Add notification for new Sones.

14 years agoGet the notifications from the web interface.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 16:11:29 +0000 (17:11 +0100)]
Get the notifications from the web interface.

14 years agoAdd web interface as core listener.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 16:11:01 +0000 (17:11 +0100)]
Add web interface as core listener.

14 years agoImplement core listener interface.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 16:10:53 +0000 (17:10 +0100)]
Implement core listener interface.

14 years agoFire a “new Sone found” event when a new Sone is found.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 16:10:36 +0000 (17:10 +0100)]
Fire a “new Sone found” event when a new Sone is found.

14 years agoAdd core listener.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 16:10:20 +0000 (17:10 +0100)]
Add core listener.

14 years agoMove notification manager to web interface.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 16:10:02 +0000 (17:10 +0100)]
Move notification manager to web interface.

14 years agoRemove obsolete notification accessor.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 14:55:27 +0000 (15:55 +0100)]
Remove obsolete notification accessor.

14 years agoAjaxify all existing notifications.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 14:48:42 +0000 (15:48 +0100)]
Ajaxify all existing notifications.

14 years agoSet ID of notification.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 14:48:29 +0000 (15:48 +0100)]
Set ID of notification.

14 years agoAdd function to ajaxify a notification.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 14:48:15 +0000 (15:48 +0100)]
Add function to ajaxify a notification.

14 years agoRender notifications.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 14:39:58 +0000 (15:39 +0100)]
Render notifications.

14 years agoAdd AJAX page that dismisses a notification.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 14:39:35 +0000 (15:39 +0100)]
Add AJAX page that dismisses a notification.

14 years agoAdd page that dismisses a notification.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 14:38:48 +0000 (15:38 +0100)]
Add page that dismisses a notification.

14 years agoAdd a startup notification that disappears after two minutes.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 14:38:20 +0000 (15:38 +0100)]
Add a startup notification that disappears after two minutes.

14 years agoAdd a notification manager to the core.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 14:37:55 +0000 (15:37 +0100)]
Add a notification manager to the core.

14 years agoAdd accessors for notifications and the notification manager.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 14:37:37 +0000 (15:37 +0100)]
Add accessors for notifications and the notification manager.

14 years agoConvert template factory into field.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 14:37:11 +0000 (15:37 +0100)]
Convert template factory into field.

14 years agoAdd accessor for Notifications.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 14:36:17 +0000 (15:36 +0100)]
Add accessor for Notifications.

14 years agoAdd accessor for the NotificationManager.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 14:36:11 +0000 (15:36 +0100)]
Add accessor for the NotificationManager.

14 years agoAdd method to create a “success” JSON object.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 14:07:22 +0000 (15:07 +0100)]
Add method to create a “success” JSON object.

14 years agoUpdate client information in stored Sones.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 11:01:28 +0000 (12:01 +0100)]
Update client information in stored Sones.

14 years agoParse client information from downloaded Sones.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 11:01:17 +0000 (12:01 +0100)]
Parse client information from downloaded Sones.

14 years agoStore client information in local Sones.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 11:01:03 +0000 (12:01 +0100)]
Store client information in local Sones.

14 years agoStore client information in Sone.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 11:00:37 +0000 (12:00 +0100)]
Store client information in Sone.

14 years agoAdd container for client information.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 11:00:22 +0000 (12:00 +0100)]
Add container for client information.

14 years agoUpdate local Sones every 5 seconds.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 10:59:51 +0000 (11:59 +0100)]
Update local Sones every 5 seconds.

14 years agoSet latest edition outside the try-catch block.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 10:32:38 +0000 (11:32 +0100)]
Set latest edition outside the try-catch block.

14 years agoStore the client name and version in the inserted Sone.
David ‘Bombe’ Roden [Sun, 14 Nov 2010 10:07:32 +0000 (11:07 +0100)]
Store the client name and version in the inserted Sone.

14 years agoAlways initialize profile.
David ‘Bombe’ Roden [Sat, 13 Nov 2010 20:10:03 +0000 (21:10 +0100)]
Always initialize profile.

14 years agoRemove unnecessary rules.
David ‘Bombe’ Roden [Sat, 13 Nov 2010 10:19:22 +0000 (11:19 +0100)]
Remove unnecessary rules.

14 years agoInherit font for delete buttons.
David ‘Bombe’ Roden [Sat, 13 Nov 2010 10:18:11 +0000 (11:18 +0100)]
Inherit font for delete buttons.

14 years agoDon’t create a new Sone when getting the logged in Sone.
David ‘Bombe’ Roden [Sat, 13 Nov 2010 10:17:05 +0000 (11:17 +0100)]
Don’t create a new Sone when getting the logged in Sone.

14 years agoAdd method to only optionally create a new Sone.
David ‘Bombe’ Roden [Sat, 13 Nov 2010 10:16:52 +0000 (11:16 +0100)]
Add method to only optionally create a new Sone.

14 years agoSet version to 0.2.3. 0.2.3
David ‘Bombe’ Roden [Fri, 12 Nov 2010 23:50:17 +0000 (00:50 +0100)]
Set version to 0.2.3.

14 years agoImplement inline posting of replies.
David ‘Bombe’ Roden [Fri, 12 Nov 2010 23:45:57 +0000 (00:45 +0100)]
Implement inline posting of replies.

14 years agoAdd methods to post replies and get replies.
David ‘Bombe’ Roden [Fri, 12 Nov 2010 23:45:37 +0000 (00:45 +0100)]
Add methods to post replies and get replies.

14 years agoFactor out method that adds comment links to a single element.
David ‘Bombe’ Roden [Fri, 12 Nov 2010 23:45:25 +0000 (00:45 +0100)]
Factor out method that adds comment links to a single element.

14 years agoReturn rendered HTML for the reply element.
David ‘Bombe’ Roden [Fri, 12 Nov 2010 23:43:58 +0000 (00:43 +0100)]
Return rendered HTML for the reply element.

14 years agoMove reply HTML code into own file.
David ‘Bombe’ Roden [Fri, 12 Nov 2010 22:55:39 +0000 (23:55 +0100)]
Move reply HTML code into own file.

14 years agoAdd AJAX page that returns the contents of a reply.
David ‘Bombe’ Roden [Fri, 12 Nov 2010 22:26:18 +0000 (23:26 +0100)]
Add AJAX page that returns the contents of a reply.

14 years agoMove creation of error JSON object to JSON page.
David ‘Bombe’ Roden [Fri, 12 Nov 2010 22:19:20 +0000 (23:19 +0100)]
Move creation of error JSON object to JSON page.

14 years agoReturn the ID of the created reply.
David ‘Bombe’ Roden [Fri, 12 Nov 2010 22:09:23 +0000 (23:09 +0100)]
Return the ID of the created reply.

14 years agoReturn the created reply from createReply().
David ‘Bombe’ Roden [Fri, 12 Nov 2010 22:09:14 +0000 (23:09 +0100)]
Return the created reply from createReply().

14 years agoAdd AJAX page that creates a reply.
David ‘Bombe’ Roden [Fri, 12 Nov 2010 22:07:13 +0000 (23:07 +0100)]
Add AJAX page that creates a reply.

14 years agoDetect if a Sone has been changed back to the previous insert state.
David ‘Bombe’ Roden [Fri, 12 Nov 2010 21:20:34 +0000 (22:20 +0100)]
Detect if a Sone has been changed back to the previous insert state.

14 years agoStart Sone inserter after the Sone has been loaded.
David ‘Bombe’ Roden [Fri, 12 Nov 2010 21:19:04 +0000 (22:19 +0100)]
Start Sone inserter after the Sone has been loaded.

14 years agoSet version to 0.2.2.1. 0.2.2.1
David ‘Bombe’ Roden [Fri, 12 Nov 2010 14:07:43 +0000 (15:07 +0100)]
Set version to 0.2.2.1.

14 years agoRemove obsolete javascript cruft.
David ‘Bombe’ Roden [Fri, 12 Nov 2010 13:00:23 +0000 (14:00 +0100)]
Remove obsolete javascript cruft.

14 years agoFix default texts of input fields.
David ‘Bombe’ Roden [Fri, 12 Nov 2010 13:00:15 +0000 (14:00 +0100)]
Fix default texts of input fields.

14 years agoDon’t link to pages directly, use fproxy’s referrer-clearing.
David ‘Bombe’ Roden [Fri, 12 Nov 2010 11:56:57 +0000 (12:56 +0100)]
Don’t link to pages directly, use fproxy’s referrer-clearing.

14 years agoSet version to 0.2.2. 0.2.2
David ‘Bombe’ Roden [Fri, 12 Nov 2010 11:36:37 +0000 (12:36 +0100)]
Set version to 0.2.2.

14 years agoAdd notifications for new posts and replies.
David ‘Bombe’ Roden [Fri, 12 Nov 2010 11:31:42 +0000 (12:31 +0100)]
Add notifications for new posts and replies.

14 years agoAdd a notification area.
David ‘Bombe’ Roden [Fri, 12 Nov 2010 11:31:23 +0000 (12:31 +0100)]
Add a notification area.

14 years agoAdd anchors to posts and replies.
David ‘Bombe’ Roden [Fri, 12 Nov 2010 10:51:14 +0000 (11:51 +0100)]
Add anchors to posts and replies.

14 years agoLoad texts for input fields only once.
David ‘Bombe’ Roden [Fri, 12 Nov 2010 10:36:10 +0000 (11:36 +0100)]
Load texts for input fields only once.

14 years agoGet translations of delete button texts only once.
David ‘Bombe’ Roden [Fri, 12 Nov 2010 10:29:22 +0000 (11:29 +0100)]
Get translations of delete button texts only once.

14 years agoOnly get the translation for “click to show replies” once.
David ‘Bombe’ Roden [Fri, 12 Nov 2010 10:21:46 +0000 (11:21 +0100)]
Only get the translation for “click to show replies” once.

14 years agoSet version to 0.2.1. 0.2.1
David ‘Bombe’ Roden [Thu, 11 Nov 2010 21:11:24 +0000 (22:11 +0100)]
Set version to 0.2.1.

14 years agoMark the “click to show” area if a hidden post is new.
David ‘Bombe’ Roden [Thu, 11 Nov 2010 20:43:19 +0000 (21:43 +0100)]
Mark the “click to show” area if a hidden post is new.