Sone.git
14 years agoUse function to load a reply after posting a reply.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 12:01:12 +0000 (13:01 +0100)]
Use function to load a reply after posting a reply.

14 years agoToo many changes to even know what they were.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 11:19:32 +0000 (12:19 +0100)]
Too many changes to even know what they were.

In short: the javascript was modified to handle elements more modularly so
that dynamically created posts and replies can be fitted with the same
functionality as pre-rendered ones. Also, posting with javascript is now
implemented.

14 years agoAdd AJAX handler to get a rendered post.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 11:18:24 +0000 (12:18 +0100)]
Add AJAX handler to get a rendered post.

14 years agoAdd AJAX handler for creating a post.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 11:18:09 +0000 (12:18 +0100)]
Add AJAX handler for creating a post.

14 years agoAdd more uniform JSON creation for replies.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 11:17:38 +0000 (12:17 +0100)]
Add more uniform JSON creation for replies.

14 years agoDon’t render posts and replies on getStatus().
David ‘Bombe’ Roden [Thu, 25 Nov 2010 11:17:21 +0000 (12:17 +0100)]
Don’t render posts and replies on getStatus().

14 years agoDo not mark posts and replies as known when rendering.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 11:16:52 +0000 (12:16 +0100)]
Do not mark posts and replies as known when rendering.

14 years agoMove createReply() method.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 11:16:34 +0000 (12:16 +0100)]
Move createReply() method.

14 years agoAdd methods to conditionally mark posts and replies as known.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 11:15:23 +0000 (12:15 +0100)]
Add methods to conditionally mark posts and replies as known.

14 years agoMark shown posts and replies known.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 11:14:57 +0000 (12:14 +0100)]
Mark shown posts and replies known.

14 years agoAdd methods to mark posts and replies as known.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 11:14:21 +0000 (12:14 +0100)]
Add methods to mark posts and replies as known.

14 years agoReturn the created post.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 09:21:11 +0000 (10:21 +0100)]
Return the created post.

14 years agoMake the rendered template available in post processing.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 07:57:06 +0000 (08:57 +0100)]
Make the rendered template available in post processing.

14 years agoAdd possibility to perform actions after the template has been rendered.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 07:39:53 +0000 (08:39 +0100)]
Add possibility to perform actions after the template has been rendered.

14 years agoReturn new posts and replies with status.
David ‘Bombe’ Roden [Wed, 24 Nov 2010 14:37:00 +0000 (15:37 +0100)]
Return new posts and replies with status.

14 years agoAlways persist the changed configuration.
David ‘Bombe’ Roden [Wed, 24 Nov 2010 12:06:45 +0000 (13:06 +0100)]
Always persist the changed configuration.

14 years agoExpose the saveConfiguration method.
David ‘Bombe’ Roden [Wed, 24 Nov 2010 12:06:36 +0000 (13:06 +0100)]
Expose the saveConfiguration method.

14 years agoExpose new posts and replies from the notifications.
David ‘Bombe’ Roden [Wed, 24 Nov 2010 10:41:14 +0000 (11:41 +0100)]
Expose new posts and replies from the notifications.

14 years agoAdd methods to extract the time of posts and replies.
David ‘Bombe’ Roden [Wed, 24 Nov 2010 10:16:44 +0000 (11:16 +0100)]
Add methods to extract the time of posts and replies.

14 years agoReturn the post element if its containing post element is requested.
David ‘Bombe’ Roden [Wed, 24 Nov 2010 10:16:33 +0000 (11:16 +0100)]
Return the post element if its containing post element is requested.

14 years agoAdd a couple of CSS classes for easier identification of elements.
David ‘Bombe’ Roden [Wed, 24 Nov 2010 10:15:44 +0000 (11:15 +0100)]
Add a couple of CSS classes for easier identification of elements.

14 years agoStore the time in posts and replies.
David ‘Bombe’ Roden [Wed, 24 Nov 2010 10:15:25 +0000 (11:15 +0100)]
Store the time in posts and replies.

14 years agoRequire Fred build 1305.
David ‘Bombe’ Roden [Wed, 24 Nov 2010 07:56:02 +0000 (08:56 +0100)]
Require Fred build 1305.

14 years agoImprove logging at startup.
David ‘Bombe’ Roden [Tue, 23 Nov 2010 20:58:09 +0000 (21:58 +0100)]
Improve logging at startup.

14 years agoOverride new save() method correctly.
David ‘Bombe’ Roden [Tue, 23 Nov 2010 20:57:56 +0000 (21:57 +0100)]
Override new save() method correctly.

14 years agoSave the configuration after storing all values.
David ‘Bombe’ Roden [Tue, 23 Nov 2010 20:57:31 +0000 (21:57 +0100)]
Save the configuration after storing all values.

14 years agoThrow an exception if no plugin store is available.
David ‘Bombe’ Roden [Tue, 23 Nov 2010 17:30:44 +0000 (18:30 +0100)]
Throw an exception if no plugin store is available.

14 years agoRename configuration objects, improve logging.
David ‘Bombe’ Roden [Tue, 23 Nov 2010 16:37:44 +0000 (17:37 +0100)]
Rename configuration objects, improve logging.

14 years agoUse a Map-based configuration backend, get rid of XML.
David ‘Bombe’ Roden [Tue, 23 Nov 2010 12:31:00 +0000 (13:31 +0100)]
Use a Map-based configuration backend, get rid of XML.

14 years agoChange loading order of configuration backends.
David ‘Bombe’ Roden [Tue, 23 Nov 2010 09:53:59 +0000 (10:53 +0100)]
Change loading order of configuration backends.

First, try to load an XML configuration file. If that fails, try to create
an XML configuration file and load the plugin store. After the core has
been created (and if the XML could not be loaded), the newly created XML
file is set as configuration on the core, migrating the configuration from
the plugin store to the XML file.

14 years agoAdd method to set a configuration after creation time.
David ‘Bombe’ Roden [Tue, 23 Nov 2010 09:52:39 +0000 (10:52 +0100)]
Add method to set a configuration after creation time.

14 years agoUse new session manager syntax.
David ‘Bombe’ Roden [Tue, 23 Nov 2010 09:35:25 +0000 (10:35 +0100)]
Use new session manager syntax.

14 years agoRequire a newer version of fred.
David ‘Bombe’ Roden [Tue, 23 Nov 2010 09:32:40 +0000 (10:32 +0100)]
Require a newer version of fred.

14 years agoNewest fred does not throw anymore.
David ‘Bombe’ Roden [Tue, 23 Nov 2010 08:51:45 +0000 (09:51 +0100)]
Newest fred does not throw anymore.

14 years agoUse a comma to separate the identities in the tooltips.
David ‘Bombe’ Roden [Mon, 22 Nov 2010 05:40:28 +0000 (06:40 +0100)]
Use a comma to separate the identities in the tooltips.

14 years agoExpose the elements of the list notification.
David ‘Bombe’ Roden [Sun, 21 Nov 2010 17:22:20 +0000 (18:22 +0100)]
Expose the elements of the list notification.

14 years agoIncrease the possible length of “returnPage” because 64 is too short.
David ‘Bombe’ Roden [Sun, 21 Nov 2010 17:22:12 +0000 (18:22 +0100)]
Increase the possible length of “returnPage” because 64 is too short.

14 years agoCache translations.
David ‘Bombe’ Roden [Sat, 20 Nov 2010 00:40:19 +0000 (01:40 +0100)]
Cache translations.

14 years agoReplace getSoneStatus and getNotifications with getStatus.
David ‘Bombe’ Roden [Fri, 19 Nov 2010 22:18:26 +0000 (23:18 +0100)]
Replace getSoneStatus and getNotifications with getStatus.

getStatus returns information about everything that needs to be updated in
the web interface.

14 years agoDon’t always create a Sone for a given ID.
David ‘Bombe’ Roden [Fri, 19 Nov 2010 20:53:49 +0000 (21:53 +0100)]
Don’t always create a Sone for a given ID.

14 years agoAdd tooltips to “lock” and “unlock” buttons.
David ‘Bombe’ Roden [Fri, 19 Nov 2010 20:27:17 +0000 (21:27 +0100)]
Add tooltips to “lock” and “unlock” buttons.

14 years agoSet version to 0.3. 0.3
David ‘Bombe’ Roden [Thu, 18 Nov 2010 20:04:06 +0000 (21:04 +0100)]
Set version to 0.3.

14 years agoSet edition on parsed Sone.
David ‘Bombe’ Roden [Thu, 18 Nov 2010 19:57:36 +0000 (20:57 +0100)]
Set edition on parsed Sone.

14 years agoCopy latest edition from newer Sone.
David ‘Bombe’ Roden [Thu, 18 Nov 2010 19:56:35 +0000 (20:56 +0100)]
Copy latest edition from newer Sone.

14 years agoImages with links don’t have borders, Mr. Firefox!
David ‘Bombe’ Roden [Thu, 18 Nov 2010 10:30:25 +0000 (11:30 +0100)]
Images with links don’t have borders, Mr. Firefox!

14 years agoMove all javascript to sone.js.
David ‘Bombe’ Roden [Thu, 18 Nov 2010 10:20:16 +0000 (11:20 +0100)]
Move all javascript to sone.js.

14 years agoSet version to 0.3-RC1. 0.3-RC1
David ‘Bombe’ Roden [Wed, 17 Nov 2010 21:41:00 +0000 (22:41 +0100)]
Set version to 0.3-RC1.

14 years agoOnly overwrite time when it’s newer.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 21:40:03 +0000 (22:40 +0100)]
Only overwrite time when it’s newer.

14 years agoSave Sone after rescuing.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 21:37:01 +0000 (22:37 +0100)]
Save Sone after rescuing.

14 years agoSave Sones after liking stuff.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 21:36:12 +0000 (22:36 +0100)]
Save Sones after liking stuff.

14 years agoAlways fix up posts and replies.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 21:23:38 +0000 (22:23 +0100)]
Always fix up posts and replies.

14 years agoImprove margins on top of page and notifications.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 21:09:23 +0000 (22:09 +0100)]
Improve margins on top of page and notifications.

14 years agoVerify post better.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 21:09:11 +0000 (22:09 +0100)]
Verify post better.

14 years agoReplace the Sone of a reply with the authoritative one.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 21:09:01 +0000 (22:09 +0100)]
Replace the Sone of a reply with the authoritative one.

14 years agoAdd method to not create a new post automatically.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 21:08:44 +0000 (22:08 +0100)]
Add method to not create a new post automatically.

14 years agoDon’t forget to fire events.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 20:48:19 +0000 (21:48 +0100)]
Don’t forget to fire events.

14 years agoAdd notifications for Sones that are rescued.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 20:46:12 +0000 (21:46 +0100)]
Add notifications for Sones that are rescued.

14 years agoLet the list notification dismiss itself automatically when it’s empty.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 20:45:46 +0000 (21:45 +0100)]
Let the list notification dismiss itself automatically when it’s empty.

14 years agoUse list notification.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 20:45:27 +0000 (21:45 +0100)]
Use list notification.

14 years agoAdd generlized list notification.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 20:44:09 +0000 (21:44 +0100)]
Add generlized list notification.

14 years agoRemove obsolete translation strings.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 20:13:20 +0000 (21:13 +0100)]
Remove obsolete translation strings.

14 years agoTell user about locked Sones in rescue mode.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 20:02:47 +0000 (21:02 +0100)]
Tell user about locked Sones in rescue mode.

14 years agoLock Sones before starting the rescue.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 20:02:10 +0000 (21:02 +0100)]
Lock Sones before starting the rescue.

14 years agoReply a new post’s Sone with the already existing copy.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 19:59:04 +0000 (20:59 +0100)]
Reply a new post’s Sone with the already existing copy.

14 years agoDon’t duplicate files in final JAR file.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 19:43:00 +0000 (20:43 +0100)]
Don’t duplicate files in final JAR file.

14 years agoCheck for modifications every second.
David ‘Bombe’ Roden [Wed, 17 Nov 2010 19:42:49 +0000 (20:42 +0100)]
Check for modifications every second.

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

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

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

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

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

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

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

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

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

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

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.