Sone.git
13 years agoMerge branch 'fix-wrong-version-number' 0.3.5.1
David ‘Bombe’ Roden [Sat, 18 Dec 2010 09:37:01 +0000 (10:37 +0100)]
Merge branch 'fix-wrong-version-number'

13 years agoSet version number to 0.3.5.1.
David ‘Bombe’ Roden [Sat, 18 Dec 2010 09:36:52 +0000 (10:36 +0100)]
Set version number to 0.3.5.1.

13 years agoMerge branch 'release-0.3.5' 0.3.5
David ‘Bombe’ Roden [Sat, 18 Dec 2010 01:17:50 +0000 (02:17 +0100)]
Merge branch 'release-0.3.5'

13 years agoSet version to 0.3.5.
David ‘Bombe’ Roden [Sat, 18 Dec 2010 01:17:41 +0000 (02:17 +0100)]
Set version to 0.3.5.

13 years agoRequire utils-0.7.4.
David ‘Bombe’ Roden [Sat, 18 Dec 2010 01:09:32 +0000 (02:09 +0100)]
Require utils-0.7.4.

13 years agoSimplify removal of ticker object, ensure that the notification is removed.
David ‘Bombe’ Roden [Sat, 18 Dec 2010 01:07:35 +0000 (02:07 +0100)]
Simplify removal of ticker object, ensure that the notification is removed.

13 years agoRemove ticker object when sone-is-locked notification is shown.
David ‘Bombe’ Roden [Sat, 18 Dec 2010 01:06:54 +0000 (02:06 +0100)]
Remove ticker object when sone-is-locked notification is shown.

13 years agoUse different character for arrow.
David ‘Bombe’ Roden [Sat, 18 Dec 2010 00:55:00 +0000 (01:55 +0100)]
Use different character for arrow.

13 years agoDon’t create a new session in the link-enabled callback handler.
David ‘Bombe’ Roden [Fri, 17 Dec 2010 18:06:20 +0000 (19:06 +0100)]
Don’t create a new session in the link-enabled callback handler.

13 years agoAdd methods to get the current Sone without creating a new session.
David ‘Bombe’ Roden [Fri, 17 Dec 2010 18:06:09 +0000 (19:06 +0100)]
Add methods to get the current Sone without creating a new session.

13 years agoLog exception on shutdown.
David ‘Bombe’ Roden [Mon, 13 Dec 2010 20:06:18 +0000 (21:06 +0100)]
Log exception on shutdown.

13 years agoThere is no plugin store to persist anymore.
David ‘Bombe’ Roden [Mon, 13 Dec 2010 19:55:46 +0000 (20:55 +0100)]
There is no plugin store to persist anymore.

13 years agoThe Core is not a Service anymore, stop() really stops it.
David ‘Bombe’ Roden [Mon, 13 Dec 2010 19:54:46 +0000 (20:54 +0100)]
The Core is not a Service anymore, stop() really stops it.

13 years agoRemove notifications for removed posts and replies.
David ‘Bombe’ Roden [Mon, 13 Dec 2010 19:28:21 +0000 (20:28 +0100)]
Remove notifications for removed posts and replies.

13 years agoMerge branch 'notification-for-locked-sones' into next
David ‘Bombe’ Roden [Mon, 13 Dec 2010 19:28:06 +0000 (20:28 +0100)]
Merge branch 'notification-for-locked-sones' into next

13 years agoShow a notification if a Sone is locked for more than five minutes.
David ‘Bombe’ Roden [Mon, 13 Dec 2010 19:27:49 +0000 (20:27 +0100)]
Show a notification if a Sone is locked for more than five minutes.

13 years agoFire events when locking and unlocking Sones.
David ‘Bombe’ Roden [Mon, 13 Dec 2010 19:17:13 +0000 (20:17 +0100)]
Fire events when locking and unlocking Sones.

13 years agoAdd methods to fire soneLocked and soneUnlocked events.
David ‘Bombe’ Roden [Mon, 13 Dec 2010 19:17:01 +0000 (20:17 +0100)]
Add methods to fire soneLocked and soneUnlocked events.

13 years agoAdd notifications for locking and unlocking Sones.
David ‘Bombe’ Roden [Mon, 13 Dec 2010 19:16:50 +0000 (20:16 +0100)]
Add notifications for locking and unlocking Sones.

13 years agoSynchronize saving to prevent race conditions while saving.
David ‘Bombe’ Roden [Mon, 13 Dec 2010 19:05:36 +0000 (20:05 +0100)]
Synchronize saving to prevent race conditions while saving.

13 years agoStore the IDs of the liked replies correctly.
David ‘Bombe’ Roden [Mon, 13 Dec 2010 19:02:52 +0000 (20:02 +0100)]
Store the IDs of the liked replies correctly.

13 years agoSave the configuration after saving a Sone.
David ‘Bombe’ Roden [Mon, 13 Dec 2010 19:02:38 +0000 (20:02 +0100)]
Save the configuration after saving a Sone.

13 years agoMark posts and replies as known as long as the first-start notification is shown.
David ‘Bombe’ Roden [Mon, 13 Dec 2010 06:49:52 +0000 (07:49 +0100)]
Mark posts and replies as known as long as the first-start notification is shown.

13 years agoUse thread-safe way to render templates.
David ‘Bombe’ Roden [Sun, 12 Dec 2010 19:42:59 +0000 (20:42 +0100)]
Use thread-safe way to render templates.

13 years agoMerge branch 'release-0.3.4' into next
David ‘Bombe’ Roden [Sun, 12 Dec 2010 16:37:45 +0000 (17:37 +0100)]
Merge branch 'release-0.3.4' into next

13 years agoMerge branch 'release-0.3.4' 0.3.4
David ‘Bombe’ Roden [Sun, 12 Dec 2010 16:25:23 +0000 (17:25 +0100)]
Merge branch 'release-0.3.4'

13 years agoSet version to 0.3.4.
David ‘Bombe’ Roden [Sun, 12 Dec 2010 16:25:05 +0000 (17:25 +0100)]
Set version to 0.3.4.

13 years agoSynchronize template access to prevent multiple copies appearing in the HTML.
David ‘Bombe’ Roden [Sun, 12 Dec 2010 16:22:13 +0000 (17:22 +0100)]
Synchronize template access to prevent multiple copies appearing in the HTML.

13 years agoMerge branch 'release-0.3.3' into next
David ‘Bombe’ Roden [Sun, 12 Dec 2010 16:15:22 +0000 (17:15 +0100)]
Merge branch 'release-0.3.3' into next

13 years agoMerge branch 'release-0.3.3' 0.3.3
David ‘Bombe’ Roden [Sun, 12 Dec 2010 16:11:32 +0000 (17:11 +0100)]
Merge branch 'release-0.3.3'

13 years agoSet version to 0.3.3.
David ‘Bombe’ Roden [Sun, 12 Dec 2010 16:11:21 +0000 (17:11 +0100)]
Set version to 0.3.3.

13 years agoMerge branch 'fix-start-with-broken-config' into next
David ‘Bombe’ Roden [Sun, 12 Dec 2010 16:10:21 +0000 (17:10 +0100)]
Merge branch 'fix-start-with-broken-config' into next

13 years agoUse template factory to create templates.
David ‘Bombe’ Roden [Sun, 12 Dec 2010 14:01:33 +0000 (15:01 +0100)]
Use template factory to create templates.

13 years agoSet firstStart and newConfig only after the web interface has started.
David ‘Bombe’ Roden [Sun, 12 Dec 2010 13:58:49 +0000 (14:58 +0100)]
Set firstStart and newConfig only after the web interface has started.

13 years agoShow notification only if there is no first-start notification.
David ‘Bombe’ Roden [Sun, 12 Dec 2010 13:45:41 +0000 (14:45 +0100)]
Show notification only if there is no first-start notification.

13 years agoDon’t show notifications for new Sones, posts, and replies when the first-start notif...
David ‘Bombe’ Roden [Sun, 12 Dec 2010 13:39:23 +0000 (14:39 +0100)]
Don’t show notifications for new Sones, posts, and replies when the first-start notification is shown.

13 years agoUse new method to check for first-start notification.
David ‘Bombe’ Roden [Sun, 12 Dec 2010 13:38:33 +0000 (14:38 +0100)]
Use new method to check for first-start notification.

13 years agoAdd method to check whether the first-start notification is displayed.
David ‘Bombe’ Roden [Sun, 12 Dec 2010 13:38:18 +0000 (14:38 +0100)]
Add method to check whether the first-start notification is displayed.

13 years agoRequire utils-0.7.2.
David ‘Bombe’ Roden [Sun, 12 Dec 2010 13:34:51 +0000 (14:34 +0100)]
Require utils-0.7.2.

13 years agoAdd notification if the config file can not be read.
David ‘Bombe’ Roden [Sun, 12 Dec 2010 13:33:13 +0000 (14:33 +0100)]
Add notification if the config file can not be read.

13 years agoAdd notification on a first start of Sone.
David ‘Bombe’ Roden [Sun, 12 Dec 2010 13:33:04 +0000 (14:33 +0100)]
Add notification on a first start of Sone.

13 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Fri, 10 Dec 2010 21:24:33 +0000 (22:24 +0100)]
Merge branch 'master' into next

13 years agoSet version to 0.3.2. 0.3.2
David ‘Bombe’ Roden [Thu, 9 Dec 2010 19:39:58 +0000 (20:39 +0100)]
Set version to 0.3.2.

13 years agoFix replies being inserted at the wrong posts if the network is sloooooooow.
David ‘Bombe’ Roden [Thu, 9 Dec 2010 05:13:23 +0000 (06:13 +0100)]
Fix replies being inserted at the wrong posts if the network is sloooooooow.

14 years agoDon’t make non-anonymous links bold, it’s too much.
David ‘Bombe’ Roden [Wed, 8 Dec 2010 06:00:53 +0000 (07:00 +0100)]
Don’t make non-anonymous links bold, it’s too much.

14 years agoLog exceptions on startup.
David ‘Bombe’ Roden [Wed, 8 Dec 2010 05:41:28 +0000 (06:41 +0100)]
Log exceptions on startup.

14 years agoAdd more synchronization.
David ‘Bombe’ Roden [Wed, 8 Dec 2010 05:41:18 +0000 (06:41 +0100)]
Add more synchronization.

14 years agoParse http and https links, show them differently.
David ‘Bombe’ Roden [Wed, 8 Dec 2010 05:41:03 +0000 (06:41 +0100)]
Parse http and https links, show them differently.

14 years agoAllow to store arbitrary objects in a template part.
David ‘Bombe’ Roden [Wed, 8 Dec 2010 05:40:42 +0000 (06:40 +0100)]
Allow to store arbitrary objects in a template part.

14 years agoRecognize a line break as whitespace, too.
David ‘Bombe’ Roden [Wed, 8 Dec 2010 05:40:21 +0000 (06:40 +0100)]
Recognize a line break as whitespace, too.

14 years agoMark the correct element as known.
David ‘Bombe’ Roden [Mon, 6 Dec 2010 20:10:11 +0000 (21:10 +0100)]
Mark the correct element as known.

14 years agoFire correct event when a post or reply is removed.
David ‘Bombe’ Roden [Mon, 6 Dec 2010 05:44:19 +0000 (06:44 +0100)]
Fire correct event when a post or reply is removed.

14 years agoAdd methods to notify core listeners about removed posts and replies.
David ‘Bombe’ Roden [Mon, 6 Dec 2010 05:44:07 +0000 (06:44 +0100)]
Add methods to notify core listeners about removed posts and replies.

14 years agoMark posts and replies as known when they are removed.
David ‘Bombe’ Roden [Mon, 6 Dec 2010 04:55:52 +0000 (05:55 +0100)]
Mark posts and replies as known when they are removed.

14 years agoSet version to 0.3.2-RC5. 0.3.2-RC5
David ‘Bombe’ Roden [Sun, 5 Dec 2010 16:40:25 +0000 (17:40 +0100)]
Set version to 0.3.2-RC5.

14 years agoDon’t use the ID from the closure, it might have changed its value.
David ‘Bombe’ Roden [Sun, 5 Dec 2010 16:39:00 +0000 (17:39 +0100)]
Don’t use the ID from the closure, it might have changed its value.

Oh, the joys of Javascript. :)

14 years agoDon’t try to show unknown posts.
David ‘Bombe’ Roden [Sun, 5 Dec 2010 12:36:57 +0000 (13:36 +0100)]
Don’t try to show unknown posts.

14 years agoDon’t try to parse non-existing text.
David ‘Bombe’ Roden [Sat, 4 Dec 2010 22:24:10 +0000 (23:24 +0100)]
Don’t try to parse non-existing text.

14 years agoMark post as loaded when the AJAX reply has arrived.
David ‘Bombe’ Roden [Thu, 2 Dec 2010 05:20:43 +0000 (06:20 +0100)]
Mark post as loaded when the AJAX reply has arrived.

14 years agoTry to prevent multiple insertion of the same replies.
David ‘Bombe’ Roden [Wed, 1 Dec 2010 16:23:58 +0000 (17:23 +0100)]
Try to prevent multiple insertion of the same replies.

14 years agoSet version to 0.3.2-RC4. 0.3.2-RC4
David ‘Bombe’ Roden [Thu, 2 Dec 2010 19:10:09 +0000 (20:10 +0100)]
Set version to 0.3.2-RC4.

14 years agoFix log output.
David ‘Bombe’ Roden [Thu, 2 Dec 2010 19:07:15 +0000 (20:07 +0100)]
Fix log output.

14 years agoDon’t create invalid local Sones!
David ‘Bombe’ Roden [Thu, 2 Dec 2010 19:00:56 +0000 (20:00 +0100)]
Don’t create invalid local Sones!

14 years agoMove session-related methods to web interface.
David ‘Bombe’ Roden [Wed, 1 Dec 2010 19:25:45 +0000 (20:25 +0100)]
Move session-related methods to web interface.

14 years agoPrevent posting a message to yourself.
David ‘Bombe’ Roden [Wed, 1 Dec 2010 07:02:47 +0000 (08:02 +0100)]
Prevent posting a message to yourself.

14 years agoSet version to 0.3.2-RC3. 0.3.2-RC3
David ‘Bombe’ Roden [Tue, 30 Nov 2010 20:04:28 +0000 (21:04 +0100)]
Set version to 0.3.2-RC3.

14 years agoRedirect to index page if the user is already logged in.
David ‘Bombe’ Roden [Tue, 30 Nov 2010 17:30:33 +0000 (18:30 +0100)]
Redirect to index page if the user is already logged in.

14 years agoOnly clear the input field if the reply was posted.
David ‘Bombe’ Roden [Tue, 30 Nov 2010 17:03:41 +0000 (18:03 +0100)]
Only clear the input field if the reply was posted.

14 years agoSet version to 0.3.2-RC2. 0.3.2-RC2
David ‘Bombe’ Roden [Tue, 30 Nov 2010 16:36:10 +0000 (17:36 +0100)]
Set version to 0.3.2-RC2.

14 years agoExplicitely store a null if there is no recipient.
David ‘Bombe’ Roden [Tue, 30 Nov 2010 16:35:21 +0000 (17:35 +0100)]
Explicitely store a null if there is no recipient.

14 years agoDon’t use Java’s whitespace character class, it’s broken on JDK7.
David ‘Bombe’ Roden [Tue, 30 Nov 2010 16:14:39 +0000 (17:14 +0100)]
Don’t use Java’s whitespace character class, it’s broken on JDK7.

14 years agoSet version to 0.3.2-RC1. 0.3.2-RC1
David ‘Bombe’ Roden [Tue, 30 Nov 2010 05:49:11 +0000 (06:49 +0100)]
Set version to 0.3.2-RC1.

14 years agoActually post process after rendering the template!
David ‘Bombe’ Roden [Tue, 30 Nov 2010 05:25:12 +0000 (06:25 +0100)]
Actually post process after rendering the template!

14 years agoDeduplicate functionality.
David ‘Bombe’ Roden [Tue, 30 Nov 2010 05:15:33 +0000 (06:15 +0100)]
Deduplicate functionality.

14 years agoOnly allow local Sones to log in.
David ‘Bombe’ Roden [Tue, 30 Nov 2010 04:49:24 +0000 (05:49 +0100)]
Only allow local Sones to log in.

14 years agoAbort after inserting a new reply once.
David ‘Bombe’ Roden [Mon, 29 Nov 2010 17:07:24 +0000 (18:07 +0100)]
Abort after inserting a new reply once.

14 years agoIgnore a post if neither sender nor recipient match the currently viewed Sone.
David ‘Bombe’ Roden [Sun, 28 Nov 2010 20:19:14 +0000 (21:19 +0100)]
Ignore a post if neither sender nor recipient match the currently viewed Sone.

14 years agoAlways append new posts to the “posts” div.
David ‘Bombe’ Roden [Sun, 28 Nov 2010 20:18:58 +0000 (21:18 +0100)]
Always append new posts to the “posts” div.

14 years agoReturn recipient of a post in JSON post.
David ‘Bombe’ Roden [Sun, 28 Nov 2010 20:18:44 +0000 (21:18 +0100)]
Return recipient of a post in JSON post.

14 years agoUse correct method to get the Sone ID.
David ‘Bombe’ Roden [Sun, 28 Nov 2010 20:10:25 +0000 (21:10 +0100)]
Use correct method to get the Sone ID.

14 years agoFix path for AJAX request.
David ‘Bombe’ Roden [Sun, 28 Nov 2010 19:55:14 +0000 (20:55 +0100)]
Fix path for AJAX request.

14 years agoDon’t declare that an IOException can be thrown.
David ‘Bombe’ Roden [Sun, 28 Nov 2010 19:32:20 +0000 (20:32 +0100)]
Don’t declare that an IOException can be thrown.

14 years agoRemove unnecessary CSS rules.
David ‘Bombe’ Roden [Sat, 27 Nov 2010 20:24:08 +0000 (21:24 +0100)]
Remove unnecessary CSS rules.

14 years agoUse better function to find the nearest Sone element.
David ‘Bombe’ Roden [Sat, 27 Nov 2010 20:23:59 +0000 (21:23 +0100)]
Use better function to find the nearest Sone element.

14 years agoAdd “hidden” class to Sone ID.
David ‘Bombe’ Roden [Sat, 27 Nov 2010 20:23:44 +0000 (21:23 +0100)]
Add “hidden” class to Sone ID.

14 years agoUse correct template command to translate a key.
David ‘Bombe’ Roden [Sat, 27 Nov 2010 15:25:58 +0000 (16:25 +0100)]
Use correct template command to translate a key.

14 years agoMerge branch 'message-recipient'
David ‘Bombe’ Roden [Sat, 27 Nov 2010 15:22:51 +0000 (16:22 +0100)]
Merge branch 'message-recipient'

Conflicts:
src/main/resources/templates/include/viewPost.html

14 years agoUse the correct name of freenet-ext package.
David ‘Bombe’ Roden [Sat, 27 Nov 2010 15:20:25 +0000 (16:20 +0100)]
Use the correct name of freenet-ext package.

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

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

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

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

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

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

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

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

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

14 years agoMerge commit '0.3.1' into message-recipient
David ‘Bombe’ Roden [Fri, 26 Nov 2010 23:48:44 +0000 (00:48 +0100)]
Merge commit '0.3.1' into message-recipient

Conflicts:
src/main/resources/templates/viewSone.html

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

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