Sone.git
13 years agoStore the liked replies, too.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 19:42:41 +0000 (20:42 +0100)]
Store the liked replies, too.

13 years agoAdd missing templates.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 19:27:40 +0000 (20:27 +0100)]
Add missing templates.

13 years agoAdd functions to lock and unlock a Sone.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 14:35:13 +0000 (15:35 +0100)]
Add functions to lock and unlock a Sone.

13 years agoUpdate the “locked” status of a Sone.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 14:34:39 +0000 (15:34 +0100)]
Update the “locked” status of a Sone.

13 years agoReturn the “locked” status of a Sone.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 14:28:58 +0000 (15:28 +0100)]
Return the “locked” status of a Sone.

13 years agoAdd “locked” member.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 14:28:49 +0000 (15:28 +0100)]
Add “locked” member.

13 years agoDo not insert locked Sones.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 14:28:35 +0000 (15:28 +0100)]
Do not insert locked Sones.

13 years agoAdd “locked” flag for Sones.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 14:28:28 +0000 (15:28 +0100)]
Add “locked” flag for Sones.

13 years agoRemove a post via the core.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 14:28:04 +0000 (15:28 +0100)]
Remove a post via the core.

13 years agoRemove obsolete rules for blocking and blacklisting.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 13:23:03 +0000 (14:23 +0100)]
Remove obsolete rules for blocking and blacklisting.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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