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. :)
David ‘Bombe’ Roden [Sun, 5 Dec 2010 12:36:57 +0000 (13:36 +0100)]
Don’t try to show unknown posts.
David ‘Bombe’ Roden [Sat, 4 Dec 2010 22:24:10 +0000 (23:24 +0100)]
Don’t try to parse non-existing text.
David ‘Bombe’ Roden [Thu, 2 Dec 2010 05:20:43 +0000 (06:20 +0100)]
Mark post as loaded when the AJAX reply has arrived.
David ‘Bombe’ Roden [Wed, 1 Dec 2010 16:23:58 +0000 (17:23 +0100)]
Try to prevent multiple insertion of the same replies.
David ‘Bombe’ Roden [Thu, 2 Dec 2010 19:10:09 +0000 (20:10 +0100)]
Set version to 0.3.2-RC4.
David ‘Bombe’ Roden [Thu, 2 Dec 2010 19:07:15 +0000 (20:07 +0100)]
Fix log output.
David ‘Bombe’ Roden [Thu, 2 Dec 2010 19:00:56 +0000 (20:00 +0100)]
Don’t create invalid local Sones!
David ‘Bombe’ Roden [Wed, 1 Dec 2010 07:02:47 +0000 (08:02 +0100)]
Prevent posting a message to yourself.
David ‘Bombe’ Roden [Tue, 30 Nov 2010 20:04:28 +0000 (21:04 +0100)]
Set version to 0.3.2-RC3.
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.
David ‘Bombe’ Roden [Tue, 30 Nov 2010 17:03:41 +0000 (18:03 +0100)]
Only clear the input field if the reply was posted.
David ‘Bombe’ Roden [Tue, 30 Nov 2010 16:36:10 +0000 (17:36 +0100)]
Set version to 0.3.2-RC2.
David ‘Bombe’ Roden [Tue, 30 Nov 2010 16:35:21 +0000 (17:35 +0100)]
Explicitely store a null if there is no recipient.
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.
David ‘Bombe’ Roden [Tue, 30 Nov 2010 05:49:11 +0000 (06:49 +0100)]
Set version to 0.3.2-RC1.
David ‘Bombe’ Roden [Tue, 30 Nov 2010 05:25:12 +0000 (06:25 +0100)]
Actually post process after rendering the template!
David ‘Bombe’ Roden [Tue, 30 Nov 2010 05:15:33 +0000 (06:15 +0100)]
Deduplicate functionality.
David ‘Bombe’ Roden [Tue, 30 Nov 2010 04:49:24 +0000 (05:49 +0100)]
Only allow local Sones to log in.
David ‘Bombe’ Roden [Mon, 29 Nov 2010 17:07:24 +0000 (18:07 +0100)]
Abort after inserting a new reply once.
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.
David ‘Bombe’ Roden [Sun, 28 Nov 2010 20:18:58 +0000 (21:18 +0100)]
Always append new posts to the “posts” div.
David ‘Bombe’ Roden [Sun, 28 Nov 2010 20:18:44 +0000 (21:18 +0100)]
Return recipient of a post in JSON post.
David ‘Bombe’ Roden [Sun, 28 Nov 2010 20:10:25 +0000 (21:10 +0100)]
Use correct method to get the Sone ID.
David ‘Bombe’ Roden [Sun, 28 Nov 2010 19:55:14 +0000 (20:55 +0100)]
Fix path for AJAX request.
David ‘Bombe’ Roden [Sun, 28 Nov 2010 19:32:20 +0000 (20:32 +0100)]
Don’t declare that an IOException can be thrown.
David ‘Bombe’ Roden [Sat, 27 Nov 2010 20:24:08 +0000 (21:24 +0100)]
Remove unnecessary CSS rules.
David ‘Bombe’ Roden [Sat, 27 Nov 2010 20:23:59 +0000 (21:23 +0100)]
Use better function to find the nearest Sone element.
David ‘Bombe’ Roden [Sat, 27 Nov 2010 20:23:44 +0000 (21:23 +0100)]
Add “hidden” class to Sone ID.
David ‘Bombe’ Roden [Sat, 27 Nov 2010 15:25:58 +0000 (16:25 +0100)]
Use correct template command to translate a key.
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
David ‘Bombe’ Roden [Sat, 27 Nov 2010 15:20:25 +0000 (16:20 +0100)]
Use the correct name of freenet-ext package.
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.
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.
David ‘Bombe’ Roden [Sat, 27 Nov 2010 15:07:06 +0000 (16:07 +0100)]
Always use the current session to prevent timeouts.
David ‘Bombe’ Roden [Sat, 27 Nov 2010 10:27:54 +0000 (11:27 +0100)]
Strip “freenet:” prefix from links.
David ‘Bombe’ Roden [Sat, 27 Nov 2010 10:27:38 +0000 (11:27 +0100)]
Store the recognized link type, don’t rely on positions.
David ‘Bombe’ Roden [Sat, 27 Nov 2010 09:25:19 +0000 (10:25 +0100)]
Do not override getPostId()! Also, rename getSoneId() to match getShownPostId().
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.
David ‘Bombe’ Roden [Sat, 27 Nov 2010 00:04:46 +0000 (01:04 +0100)]
Don’t hide replies on “view post” pages.
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.
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
David ‘Bombe’ Roden [Fri, 26 Nov 2010 23:44:36 +0000 (00:44 +0100)]
Merge branch 'next'
David ‘Bombe’ Roden [Fri, 26 Nov 2010 23:29:10 +0000 (00:29 +0100)]
Set version to 0.3.1.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 23:07:21 +0000 (00:07 +0100)]
Insert post after the last post.
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.
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.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 23:01:56 +0000 (00:01 +0100)]
Return the ID of the Sone with the post.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 22:56:07 +0000 (23:56 +0100)]
Add possibility to detect the index page.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 22:48:04 +0000 (23:48 +0100)]
Only show message posting form for other Sones, not for own.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 22:02:14 +0000 (23:02 +0100)]
Merge commit '0.3.1-RC3' into message-recipient
David ‘Bombe’ Roden [Fri, 26 Nov 2010 22:01:21 +0000 (23:01 +0100)]
Add possibility to post a message directly to another Sone.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 19:29:16 +0000 (20:29 +0100)]
Add ID of Sone to “view Sone” page.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 19:19:20 +0000 (20:19 +0100)]
Allow creation of post with recipient using HTTP POST.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 19:17:06 +0000 (20:17 +0100)]
Allow creation of posts with recipients using AJAX.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 19:16:45 +0000 (20:16 +0100)]
Add methods to create a post with a recipient.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 19:11:33 +0000 (20:11 +0100)]
Show recipient on posts.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 19:09:12 +0000 (20:09 +0100)]
Merge commit '0.3.1-RC3' into next
David ‘Bombe’ Roden [Fri, 26 Nov 2010 18:40:32 +0000 (19:40 +0100)]
Set version to 0.3.1-RC3.
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.
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.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 15:55:35 +0000 (16:55 +0100)]
Merge commit '0.3.1-RC2' into next
David ‘Bombe’ Roden [Fri, 26 Nov 2010 14:58:35 +0000 (15:58 +0100)]
Set version to 0.3.1-RC2.
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.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 13:21:32 +0000 (14:21 +0100)]
Add click handler to new posts and replies only once.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 13:20:23 +0000 (14:20 +0100)]
Add recipients to posts.
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.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 11:46:48 +0000 (12:46 +0100)]
Require newer stable versions of all pterodactylus libraries.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 11:46:32 +0000 (12:46 +0100)]
Add repository for all pterodactylus libraries.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 11:46:15 +0000 (12:46 +0100)]
Add links to other APIs in javadoc.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 06:02:07 +0000 (07:02 +0100)]
Parse links from posts and replies and display them accordingly.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 06:01:33 +0000 (07:01 +0100)]
Add parser for freenet URIs.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 06:01:26 +0000 (07:01 +0100)]
Add template-based part.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 06:01:20 +0000 (07:01 +0100)]
Add container part.
David ‘Bombe’ Roden [Fri, 26 Nov 2010 06:01:10 +0000 (07:01 +0100)]
Add stub for text parser infrastructure.
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.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 19:56:25 +0000 (20:56 +0100)]
Don’t change the page title if we are focussed.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 19:56:17 +0000 (20:56 +0100)]
Store whether we are focussed in a flag.
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.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 19:50:10 +0000 (20:50 +0100)]
Add “comment” link to post before ajaxifying the replies.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 19:49:41 +0000 (20:49 +0100)]
Remove unnecessary call to addCommentLink().
David ‘Bombe’ Roden [Thu, 25 Nov 2010 17:37:26 +0000 (18:37 +0100)]
Require 0.7 of the utils package.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 17:32:08 +0000 (18:32 +0100)]
Set version to 0.3.1-RC1.
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.
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.
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.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 14:03:37 +0000 (15:03 +0100)]
Mark post as known when starting to enter a comment.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 14:03:23 +0000 (15:03 +0100)]
Use correct post element.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 14:03:14 +0000 (15:03 +0100)]
Only mark new elements 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.
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.
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.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 12:49:40 +0000 (13:49 +0100)]
Add functions to mark posts and replies as known.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 12:49:31 +0000 (13:49 +0100)]
Insert reply at correct position.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 12:48:44 +0000 (13:48 +0100)]
Add AJAX handlers to mark posts and replies as known.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 12:48:29 +0000 (13:48 +0100)]
Add method to optionally skip reply creation.
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.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 12:01:29 +0000 (13:01 +0100)]
Iterate over all post elements, regardless of their container.
David ‘Bombe’ Roden [Thu, 25 Nov 2010 12:01:12 +0000 (13:01 +0100)]
Use function to load a reply after posting a reply.
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.