Sone.git
13 years agoRequest a lot less data when not on the “known Sones” page.
David ‘Bombe’ Roden [Sat, 27 Nov 2010 15:07:30 +0000 (16:07 +0100)]
Request a lot less data when not on the “known Sones” page.

13 years agoAdd method to detect whether we’re on the “known Sones” page.
David ‘Bombe’ Roden [Sat, 27 Nov 2010 15:07:18 +0000 (16:07 +0100)]
Add method to detect whether we’re on the “known Sones” page.

13 years agoAlways use the current session to prevent timeouts.
David ‘Bombe’ Roden [Sat, 27 Nov 2010 15:07:06 +0000 (16:07 +0100)]
Always use the current session to prevent timeouts.

13 years agoStrip “freenet:” prefix from links.
David ‘Bombe’ Roden [Sat, 27 Nov 2010 10:27:54 +0000 (11:27 +0100)]
Strip “freenet:” prefix from links.

13 years agoStore the recognized link type, don’t rely on positions.
David ‘Bombe’ Roden [Sat, 27 Nov 2010 10:27:38 +0000 (11:27 +0100)]
Store the recognized link type, don’t rely on positions.

13 years agoDo not override getPostId()! Also, rename getSoneId() to match getShownPostId().
David ‘Bombe’ Roden [Sat, 27 Nov 2010 09:25:19 +0000 (10:25 +0100)]
Do not override getPostId()! Also, rename getSoneId() to match getShownPostId().

13 years agoMove all AJAX handlers to the same directory as the HTML handlers.
David ‘Bombe’ Roden [Sat, 27 Nov 2010 08:30:24 +0000 (09:30 +0100)]
Move all AJAX handlers to the same directory as the HTML handlers.

This should prevent seemingly strange errors that occured when the HTML
session timed out but the AJAX session was still active, preventing you
from posting anything because you were not logged in.

13 years agoDon’t hide replies on “view post” pages.
David ‘Bombe’ Roden [Sat, 27 Nov 2010 00:04:46 +0000 (01:04 +0100)]
Don’t hide replies on “view post” pages.

13 years agoAdd function to detect if the current page is a “view post” page.
David ‘Bombe’ Roden [Sat, 27 Nov 2010 00:04:35 +0000 (01:04 +0100)]
Add function to detect if the current page is a “view post” page.

13 years agoMerge branch 'next'
David ‘Bombe’ Roden [Fri, 26 Nov 2010 23:44:36 +0000 (00:44 +0100)]
Merge branch 'next'

13 years agoSet version to 0.3.1. 0.3.1
David ‘Bombe’ Roden [Fri, 26 Nov 2010 23:29:10 +0000 (00:29 +0100)]
Set version to 0.3.1.

13 years agoInsert post after the last post.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 23:07:21 +0000 (00:07 +0100)]
Insert post after the last post.

13 years agoOnly insert posts when on the index or an appropriate “view Sone” page.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 23:07:10 +0000 (00:07 +0100)]
Only insert posts when on the index or an appropriate “view Sone” page.

13 years agoAdd functions to detect a “view Sone” page and the ID of the shown Sone.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 23:02:22 +0000 (00:02 +0100)]
Add functions to detect a “view Sone” page and the ID of the shown Sone.

13 years agoReturn the ID of the Sone with the post.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 23:01:56 +0000 (00:01 +0100)]
Return the ID of the Sone with the post.

13 years agoAdd possibility to detect the index page.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 22:56:07 +0000 (23:56 +0100)]
Add possibility to detect the index page.

13 years agoMerge commit '0.3.1-RC3' into next
David ‘Bombe’ Roden [Fri, 26 Nov 2010 19:09:12 +0000 (20:09 +0100)]
Merge commit '0.3.1-RC3' into next

13 years agoSet version to 0.3.1-RC3. 0.3.1-RC3
David ‘Bombe’ Roden [Fri, 26 Nov 2010 18:40:32 +0000 (19:40 +0100)]
Set version to 0.3.1-RC3.

13 years agoRevert parts of 8d8cc8a9cced7cc9171cc09ce0fd024145605d70.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 18:50:05 +0000 (19:50 +0100)]
Revert parts of 8d8cc8a9cced7cc9171cc09ce0fd024145605d70.

Of course we still do need the elements, only the click handler was
supposed to go.

13 years agoRevert "Try to prevent insertion of a post or reply multiple times."
David ‘Bombe’ Roden [Fri, 26 Nov 2010 18:38:31 +0000 (19:38 +0100)]
Revert "Try to prevent insertion of a post or reply multiple times."

This reverts commit 2dab45dd964a48144d8c919b491f792b53f5a2ea.

13 years agoMerge commit '0.3.1-RC2' into next
David ‘Bombe’ Roden [Fri, 26 Nov 2010 15:55:35 +0000 (16:55 +0100)]
Merge commit '0.3.1-RC2' into next

13 years agoSet version to 0.3.1-RC2. 0.3.1-RC2
David ‘Bombe’ Roden [Fri, 26 Nov 2010 14:58:35 +0000 (15:58 +0100)]
Set version to 0.3.1-RC2.

13 years agoTry to prevent insertion of a post or reply multiple times.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 14:10:58 +0000 (15:10 +0100)]
Try to prevent insertion of a post or reply multiple times.

13 years agoAdd click handler to new posts and replies only once.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 13:21:32 +0000 (14:21 +0100)]
Add click handler to new posts and replies only once.

13 years agoAdd click-to-mark-known function to all posts and replies.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 11:50:14 +0000 (12:50 +0100)]
Add click-to-mark-known function to all posts and replies.

13 years agoRequire newer stable versions of all pterodactylus libraries.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 11:46:48 +0000 (12:46 +0100)]
Require newer stable versions of all pterodactylus libraries.

13 years agoAdd repository for all pterodactylus libraries.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 11:46:32 +0000 (12:46 +0100)]
Add repository for all pterodactylus libraries.

13 years agoAdd links to other APIs in javadoc.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 11:46:15 +0000 (12:46 +0100)]
Add links to other APIs in javadoc.

13 years agoParse links from posts and replies and display them accordingly.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 06:02:07 +0000 (07:02 +0100)]
Parse links from posts and replies and display them accordingly.

13 years agoAdd parser for freenet URIs.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 06:01:33 +0000 (07:01 +0100)]
Add parser for freenet URIs.

13 years agoAdd template-based part.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 06:01:26 +0000 (07:01 +0100)]
Add template-based part.

13 years agoAdd container part.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 06:01:20 +0000 (07:01 +0100)]
Add container part.

13 years agoAdd stub for text parser infrastructure.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 06:01:10 +0000 (07:01 +0100)]
Add stub for text parser infrastructure.

13 years agoMarks posts as known when clicking a new post or reply.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 05:52:53 +0000 (06:52 +0100)]
Marks posts as known when clicking a new post or reply.

14 years agoDon’t change the page title if we are focussed.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 19:56:25 +0000 (20:56 +0100)]
Don’t change the page title if we are focussed.

14 years agoStore whether we are focussed in a flag.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 19:56:17 +0000 (20:56 +0100)]
Store whether we are focussed in a flag.

14 years agoAdd element after which the “comment” link is to be inserted to the parameters.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 19:50:37 +0000 (20:50 +0100)]
Add element after which the “comment” link is to be inserted to the parameters.

14 years agoAdd “comment” link to post before ajaxifying the replies.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 19:50:10 +0000 (20:50 +0100)]
Add “comment” link to post before ajaxifying the replies.

14 years agoRemove unnecessary call to addCommentLink().
David ‘Bombe’ Roden [Thu, 25 Nov 2010 19:49:41 +0000 (20:49 +0100)]
Remove unnecessary call to addCommentLink().

14 years agoRequire 0.7 of the utils package. 0.3.1-RC1
David ‘Bombe’ Roden [Thu, 25 Nov 2010 17:37:26 +0000 (18:37 +0100)]
Require 0.7 of the utils package.

14 years agoSet version to 0.3.1-RC1.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 17:32:08 +0000 (18:32 +0100)]
Set version to 0.3.1-RC1.

14 years agoMark the document title with a “(!)” when activity is detected, clear on focus.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 14:51:20 +0000 (15:51 +0100)]
Mark the document title with a “(!)” when activity is detected, clear on focus.

14 years agoCreate new scopes to not lose the element we’re unmarking.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 14:50:26 +0000 (15:50 +0100)]
Create new scopes to not lose the element we’re unmarking.

14 years agoMark a post as known when liking or unliking the post or own of its replies.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 14:03:59 +0000 (15:03 +0100)]
Mark a post as known when liking or unliking the post or own of its replies.

14 years agoMark post as known when starting to enter a comment.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 14:03:37 +0000 (15:03 +0100)]
Mark post as known when starting to enter a comment.

14 years agoUse correct post element.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 14:03:23 +0000 (15:03 +0100)]
Use correct post element.

14 years agoOnly mark new elements as known.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 14:03:14 +0000 (15:03 +0100)]
Only mark new elements as known.

14 years agoMark all replies of a post as known when marking a post as known.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 14:02:50 +0000 (15:02 +0100)]
Mark all replies of a post as known when marking a post as known.

14 years agoStore the times of posts and replies with unique class names.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 14:02:27 +0000 (15:02 +0100)]
Store the times of posts and replies with unique class names.

14 years agoMark a post and all its replies as known if a comment is added.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 12:49:55 +0000 (13:49 +0100)]
Mark a post and all its replies as known if a comment is added.

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

14 years agoInsert reply at correct position.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 12:49:31 +0000 (13:49 +0100)]
Insert reply at correct position.

14 years agoAdd AJAX handlers to mark posts and replies as known.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 12:48:44 +0000 (13:48 +0100)]
Add AJAX handlers to mark posts and replies as known.

14 years agoAdd method to optionally skip reply creation.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 12:48:29 +0000 (13:48 +0100)]
Add method to optionally skip reply creation.

14 years agoProcess replies only on success, insert before a .create-reply element.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 12:02:10 +0000 (13:02 +0100)]
Process replies only on success, insert before a .create-reply element.

14 years agoIterate over all post elements, regardless of their container.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 12:01:29 +0000 (13:01 +0100)]
Iterate over all post elements, regardless of their container.

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.