Sone.git
13 years agoWhen adding a field, the field name is not optional.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 22:13:11 +0000 (00:13 +0200)]
When adding a field, the field name is not optional.

13 years agoEnable text field on empty input, request focus.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 22:12:57 +0000 (00:12 +0200)]
Enable text field on empty input, request focus.

13 years agoSend out <link> header exposing the OpenSearchDescription document.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 14:57:11 +0000 (16:57 +0200)]
Send out <link> header exposing the OpenSearchDescription document.

13 years agoAdd HTTPRequest accessor to web interface.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 14:56:48 +0000 (16:56 +0200)]
Add HTTPRequest accessor to web interface.

13 years agoAllow FreenetTemplatePages to set arbitrary <link> nodes in the result HTML.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 14:56:13 +0000 (16:56 +0200)]
Allow FreenetTemplatePages to set arbitrary <link> nodes in the result HTML.

13 years agoAdd accessor for HTTPRequest objects.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 14:55:51 +0000 (16:55 +0200)]
Add accessor for HTTPRequest objects.

13 years agoAdd page that renders a template but is not a Freenet page.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 14:55:01 +0000 (16:55 +0200)]
Add page that renders a template but is not a Freenet page.

13 years agoRename TemplatePage to FreenetTemplatePage, which fits a lot better.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 14:51:52 +0000 (16:51 +0200)]
Rename TemplatePage to FreenetTemplatePage, which fits a lot better.

13 years agoInclude image dimensions for flattr badge.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 13:42:54 +0000 (15:42 +0200)]
Include image dimensions for flattr badge.

13 years agoDon’t trim whitespace off of lines.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 12:19:35 +0000 (14:19 +0200)]
Don’t trim whitespace off of lines.

13 years agoShow the beginning of the post and the name of the posting Sone in the title.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 09:19:49 +0000 (11:19 +0200)]
Show the beginning of the post and the name of the posting Sone in the title.

This fixes #19.

13 years agoFix javadoc.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 09:09:39 +0000 (11:09 +0200)]
Fix javadoc.

13 years agoPut the name of the Sone in the front of the title.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 09:08:21 +0000 (11:08 +0200)]
Put the name of the Sone in the front of the title.

13 years agoAllow pages to set titles per request.
David ‘Bombe’ Roden [Sat, 2 Apr 2011 09:08:07 +0000 (11:08 +0200)]
Allow pages to set titles per request.

13 years agoUse a different List implementation to prevent concurrent modifications.
David ‘Bombe’ Roden [Fri, 1 Apr 2011 22:27:55 +0000 (00:27 +0200)]
Use a different List implementation to prevent concurrent modifications.

13 years agoRemove unnecessary plugins.
David ‘Bombe’ Roden [Fri, 1 Apr 2011 20:51:12 +0000 (22:51 +0200)]
Remove unnecessary plugins.

13 years agoUse better way to paginate the posts.
David ‘Bombe’ Roden [Fri, 1 Apr 2011 20:51:05 +0000 (22:51 +0200)]
Use better way to paginate the posts.

13 years agoDecrease number of posts on a page to 10.
David ‘Bombe’ Roden [Fri, 1 Apr 2011 20:44:53 +0000 (22:44 +0200)]
Decrease number of posts on a page to 10.

13 years agoAdd posts a Sone replied to to “view Sone” page.
David ‘Bombe’ Roden [Fri, 1 Apr 2011 20:44:32 +0000 (22:44 +0200)]
Add posts a Sone replied to to “view Sone” page.

13 years agoWeigh phrases by number of occurences.
David ‘Bombe’ Roden [Fri, 1 Apr 2011 18:51:38 +0000 (20:51 +0200)]
Weigh phrases by number of occurences.

13 years agoDon’t use profile fields of senders when generating a string from a Post.
David ‘Bombe’ Roden [Fri, 1 Apr 2011 18:39:14 +0000 (20:39 +0200)]
Don’t use profile fields of senders when generating a string from a Post.

13 years agoFix javadoc comments.
David ‘Bombe’ Roden [Fri, 1 Apr 2011 18:24:24 +0000 (20:24 +0200)]
Fix javadoc comments.

13 years agoRemove debug output.
David ‘Bombe’ Roden [Fri, 1 Apr 2011 14:06:30 +0000 (16:06 +0200)]
Remove debug output.

13 years agoImplement search.
David ‘Bombe’ Roden [Fri, 1 Apr 2011 14:04:24 +0000 (16:04 +0200)]
Implement search.

This fixes #5.

13 years agoDisable buttons after posting, re-enable after the request finished.
David ‘Bombe’ Roden [Fri, 1 Apr 2011 11:25:26 +0000 (13:25 +0200)]
Disable buttons after posting, re-enable after the request finished.

13 years agoAdd synchronization.
David ‘Bombe’ Roden [Fri, 1 Apr 2011 10:35:29 +0000 (12:35 +0200)]
Add synchronization.

This has been noticed by FindBugs.

13 years agoOverride hashCode() and equals() with calls to superclasses.
David ‘Bombe’ Roden [Fri, 1 Apr 2011 10:35:17 +0000 (12:35 +0200)]
Override hashCode() and equals() with calls to superclasses.

This has been noticed by FindBugs.

13 years agoMake classes static.
David ‘Bombe’ Roden [Fri, 1 Apr 2011 10:34:48 +0000 (12:34 +0200)]
Make classes static.

13 years agoAdd validation.
David ‘Bombe’ Roden [Fri, 1 Apr 2011 10:34:37 +0000 (12:34 +0200)]
Add validation.

13 years agoActually check for the Sone’s identities.
David ‘Bombe’ Roden [Fri, 1 Apr 2011 10:34:31 +0000 (12:34 +0200)]
Actually check for the Sone’s identities.

13 years agoStore original and parsed text in contenxt, compare to hide “toggle” link.
David ‘Bombe’ Roden [Fri, 1 Apr 2011 09:28:37 +0000 (11:28 +0200)]
Store original and parsed text in contenxt, compare to hide “toggle” link.

This also requires the latest snapshot of utils for the “text” parameter
of the StoreFilter.

13 years agoAdd test case for the improved link parser.
David ‘Bombe’ Roden [Fri, 1 Apr 2011 09:26:05 +0000 (11:26 +0200)]
Add test case for the improved link parser.

13 years agoCollapse multiple empty lines to one empty line at maximum.
David ‘Bombe’ Roden [Fri, 1 Apr 2011 09:25:58 +0000 (11:25 +0200)]
Collapse multiple empty lines to one empty line at maximum.

This also strips empty lines at the beginning and the end of texts.

13 years agoAdd methods to add, remove, and count parts contained in a PartContainer.
David ‘Bombe’ Roden [Fri, 1 Apr 2011 09:25:27 +0000 (11:25 +0200)]
Add methods to add, remove, and count parts contained in a PartContainer.

13 years agoOverride Object.toString() to get a reasonable String representation.
David ‘Bombe’ Roden [Fri, 1 Apr 2011 09:25:04 +0000 (11:25 +0200)]
Override Object.toString() to get a reasonable String representation.

13 years agoChange “TreeOwner” to “Truster” to match changed FCP interface of WoT.
David ‘Bombe’ Roden [Wed, 30 Mar 2011 11:26:04 +0000 (13:26 +0200)]
Change “TreeOwner” to “Truster” to match changed FCP interface of WoT.

13 years agoDon’t show unknown Sones.
David ‘Bombe’ Roden [Wed, 30 Mar 2011 05:29:08 +0000 (07:29 +0200)]
Don’t show unknown Sones.

13 years agoAdd filter that removes not-downloaded Sones.
David ‘Bombe’ Roden [Wed, 30 Mar 2011 05:29:01 +0000 (07:29 +0200)]
Add filter that removes not-downloaded Sones.

13 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Tue, 29 Mar 2011 18:47:48 +0000 (20:47 +0200)]
Merge branch 'master' into next

13 years agoMerge branch 'release-0.5.2' 0.5.2
David ‘Bombe’ Roden [Tue, 29 Mar 2011 18:24:36 +0000 (20:24 +0200)]
Merge branch 'release-0.5.2'

13 years agoSet version to 0.5.2.
David ‘Bombe’ Roden [Tue, 29 Mar 2011 18:23:54 +0000 (20:23 +0200)]
Set version to 0.5.2.

13 years agoMerge branch 'new-web-of-trust' into next
David ‘Bombe’ Roden [Tue, 29 Mar 2011 17:37:27 +0000 (19:37 +0200)]
Merge branch 'new-web-of-trust' into next

13 years agoDo not insert albums just yet.
David ‘Bombe’ Roden [Sat, 26 Mar 2011 00:20:57 +0000 (01:20 +0100)]
Do not insert albums just yet.

13 years agoShow links to images like links to albums.
David ‘Bombe’ Roden [Fri, 25 Mar 2011 23:41:09 +0000 (00:41 +0100)]
Show links to images like links to albums.

13 years agoLet images float, too.
David ‘Bombe’ Roden [Fri, 25 Mar 2011 23:40:55 +0000 (00:40 +0100)]
Let images float, too.

13 years agoDon’t throw exceptions when a single “return” would suffice.
David ‘Bombe’ Roden [Fri, 25 Mar 2011 23:35:13 +0000 (00:35 +0100)]
Don’t throw exceptions when a single “return” would suffice.

13 years agoShow an error message if an image can not be parsed.
David ‘Bombe’ Roden [Fri, 25 Mar 2011 23:32:37 +0000 (00:32 +0100)]
Show an error message if an image can not be parsed.

13 years agoShow potential error messages on the “invalid” page.
David ‘Bombe’ Roden [Fri, 25 Mar 2011 23:32:23 +0000 (00:32 +0100)]
Show potential error messages on the “invalid” page.

13 years agoDon’t fetch a local Sone initially.
David ‘Bombe’ Roden [Fri, 25 Mar 2011 12:22:11 +0000 (13:22 +0100)]
Don’t fetch a local Sone initially.

13 years agoAllow parsing without an origin Sone.
David ‘Bombe’ Roden [Thu, 24 Mar 2011 07:11:33 +0000 (08:11 +0100)]
Allow parsing without an origin Sone.

13 years agoAdd basic image uploading capability.
David ‘Bombe’ Roden [Wed, 23 Mar 2011 19:58:20 +0000 (20:58 +0100)]
Add basic image uploading capability.

13 years agoVerify that the owner is not null before comparing it.
David ‘Bombe’ Roden [Wed, 23 Mar 2011 19:57:51 +0000 (20:57 +0100)]
Verify that the owner is not null before comparing it.

13 years agoSet creation time when a new image is created.
David ‘Bombe’ Roden [Wed, 23 Mar 2011 19:23:43 +0000 (20:23 +0100)]
Set creation time when a new image is created.

13 years agoEnhance documentation to document what the key is for.
David ‘Bombe’ Roden [Wed, 23 Mar 2011 19:23:32 +0000 (20:23 +0100)]
Enhance documentation to document what the key is for.

13 years agoDecrease font size of backlinks.
David ‘Bombe’ Roden [Wed, 23 Mar 2011 06:53:56 +0000 (07:53 +0100)]
Decrease font size of backlinks.

13 years agoHide labels after ajaxfication of album creation form fields.
David ‘Bombe’ Roden [Wed, 23 Mar 2011 06:51:31 +0000 (07:51 +0100)]
Hide labels after ajaxfication of album creation form fields.

13 years agoMove ajaxification of album creation form fields to imageBrowser.html.
David ‘Bombe’ Roden [Wed, 23 Mar 2011 06:51:19 +0000 (07:51 +0100)]
Move ajaxification of album creation form fields to imageBrowser.html.

13 years agoPrepare for showing the album image.
David ‘Bombe’ Roden [Wed, 23 Mar 2011 06:04:25 +0000 (07:04 +0100)]
Prepare for showing the album image.

13 years agoAdd “album image” to album.
David ‘Bombe’ Roden [Wed, 23 Mar 2011 06:02:04 +0000 (07:02 +0100)]
Add “album image” to album.

13 years agoShow album images.
David ‘Bombe’ Roden [Wed, 23 Mar 2011 06:00:42 +0000 (07:00 +0100)]
Show album images.

13 years agoShow name of album in page title.
David ‘Bombe’ Roden [Tue, 22 Mar 2011 20:04:46 +0000 (21:04 +0100)]
Show name of album in page title.

13 years agoShow page title when browsing albums of a Sone.
David ‘Bombe’ Roden [Tue, 22 Mar 2011 20:04:33 +0000 (21:04 +0100)]
Show page title when browsing albums of a Sone.

13 years agoRemove “Image Browser” page title.
David ‘Bombe’ Roden [Tue, 22 Mar 2011 20:04:22 +0000 (21:04 +0100)]
Remove “Image Browser” page title.

13 years agoShow name of album as page heading.
David ‘Bombe’ Roden [Tue, 22 Mar 2011 20:00:54 +0000 (21:00 +0100)]
Show name of album as page heading.

13 years agoUse correct album to create links.
David ‘Bombe’ Roden [Tue, 22 Mar 2011 19:56:40 +0000 (20:56 +0100)]
Use correct album to create links.

13 years agoAdd browsing albums of a Sone.
David ‘Bombe’ Roden [Tue, 22 Mar 2011 19:46:25 +0000 (20:46 +0100)]
Add browsing albums of a Sone.

13 years agoAdd link to name of album.
David ‘Bombe’ Roden [Tue, 22 Mar 2011 19:46:05 +0000 (20:46 +0100)]
Add link to name of album.

13 years agoOnly include album creation form when browsing own albums.
David ‘Bombe’ Roden [Tue, 22 Mar 2011 19:45:51 +0000 (20:45 +0100)]
Only include album creation form when browsing own albums.

13 years agoFormat backlinks.
David ‘Bombe’ Roden [Tue, 22 Mar 2011 19:45:17 +0000 (20:45 +0100)]
Format backlinks.

13 years agoAjaxify the album creation form.
David ‘Bombe’ Roden [Tue, 22 Mar 2011 19:45:11 +0000 (20:45 +0100)]
Ajaxify the album creation form.

13 years agoUse description when creating a new album.
David ‘Bombe’ Roden [Tue, 22 Mar 2011 19:44:59 +0000 (20:44 +0100)]
Use description when creating a new album.

13 years agoCreate correct backlink for a Sone’s image browser.
David ‘Bombe’ Roden [Tue, 22 Mar 2011 19:44:28 +0000 (20:44 +0100)]
Create correct backlink for a Sone’s image browser.

13 years agoOnly add album to Sone if it has no parent album.
David ‘Bombe’ Roden [Tue, 22 Mar 2011 19:44:06 +0000 (20:44 +0100)]
Only add album to Sone if it has no parent album.

13 years agoFix whitespace.
David ‘Bombe’ Roden [Tue, 22 Mar 2011 19:43:57 +0000 (20:43 +0100)]
Fix whitespace.

13 years agoFix whitespace.
David ‘Bombe’ Roden [Tue, 22 Mar 2011 19:06:09 +0000 (20:06 +0100)]
Fix whitespace.

13 years agoMerge branch 'next' into image-management
David ‘Bombe’ Roden [Tue, 22 Mar 2011 18:46:01 +0000 (19:46 +0100)]
Merge branch 'next' into image-management

Conflicts:
src/main/java/net/pterodactylus/sone/core/Core.java
src/main/java/net/pterodactylus/sone/data/Sone.java
src/main/java/net/pterodactylus/sone/web/WebInterface.java
src/main/resources/i18n/sone.en.properties

13 years agoMerge branch 'remember-page' into next
David ‘Bombe’ Roden [Mon, 21 Mar 2011 15:38:07 +0000 (16:38 +0100)]
Merge branch 'remember-page' into next

This fixes #111.

13 years agoEncode ampersand (“&”) and equals signs (“=”) in URL.
David ‘Bombe’ Roden [Mon, 21 Mar 2011 15:34:13 +0000 (16:34 +0100)]
Encode ampersand (“&”) and equals signs (“=”) in URL.

13 years agoInclude URL parameters in URL.
David ‘Bombe’ Roden [Mon, 21 Mar 2011 15:29:07 +0000 (16:29 +0100)]
Include URL parameters in URL.

13 years agoGet redirection target from URL, default to “index.html”.
David ‘Bombe’ Roden [Mon, 21 Mar 2011 15:15:19 +0000 (16:15 +0100)]
Get redirection target from URL, default to “index.html”.

13 years agoAdd original URL when redirecting to login page.
David ‘Bombe’ Roden [Mon, 21 Mar 2011 15:14:52 +0000 (16:14 +0100)]
Add original URL when redirecting to login page.

13 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Thu, 17 Mar 2011 08:48:14 +0000 (09:48 +0100)]
Merge branch 'master' into next

13 years agoMerge branch 'release-0.5.1' 0.5.1
David ‘Bombe’ Roden [Thu, 17 Mar 2011 06:15:28 +0000 (07:15 +0100)]
Merge branch 'release-0.5.1'

13 years agoSet version to 0.5.1.
David ‘Bombe’ Roden [Thu, 17 Mar 2011 06:15:17 +0000 (07:15 +0100)]
Set version to 0.5.1.

13 years agoRequire utils 0.9.1.
David ‘Bombe’ Roden [Thu, 17 Mar 2011 06:14:03 +0000 (07:14 +0100)]
Require utils 0.9.1.

13 years agoAdd link to unbookmark all not loaded posts at once.
David ‘Bombe’ Roden [Sat, 12 Mar 2011 07:44:11 +0000 (08:44 +0100)]
Add link to unbookmark all not loaded posts at once.

13 years agoAdd possibility to unbookmark all not loaded posts at once.
David ‘Bombe’ Roden [Sat, 12 Mar 2011 07:43:45 +0000 (08:43 +0100)]
Add possibility to unbookmark all not loaded posts at once.

13 years agoMove pagination directly below the list.
David ‘Bombe’ Roden [Sat, 12 Mar 2011 07:23:48 +0000 (08:23 +0100)]
Move pagination directly below the list.

13 years agoRequire a newer version of utils.
David ‘Bombe’ Roden [Sat, 12 Mar 2011 00:16:26 +0000 (01:16 +0100)]
Require a newer version of utils.

13 years agoSet variables in parent template context, too.
David ‘Bombe’ Roden [Fri, 11 Mar 2011 23:46:34 +0000 (00:46 +0100)]
Set variables in parent template context, too.

13 years agoReregister USKs when Sone is already known to the downloader.
David ‘Bombe’ Roden [Tue, 8 Mar 2011 12:50:53 +0000 (13:50 +0100)]
Reregister USKs when Sone is already known to the downloader.

13 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Tue, 8 Mar 2011 06:22:19 +0000 (07:22 +0100)]
Merge branch 'master' into next

13 years agoMerge branch 'release-0.5' 0.5
David ‘Bombe’ Roden [Tue, 8 Mar 2011 06:12:09 +0000 (07:12 +0100)]
Merge branch 'release-0.5'

13 years agoSet version to 0.5.
David ‘Bombe’ Roden [Tue, 8 Mar 2011 06:12:02 +0000 (07:12 +0100)]
Set version to 0.5.

13 years agoUse version 0.9 of utils.
David ‘Bombe’ Roden [Tue, 8 Mar 2011 06:11:23 +0000 (07:11 +0100)]
Use version 0.9 of utils.

13 years agoAdd “toggle parser” link to posts and replies to deactivate the parser.
David ‘Bombe’ Roden [Mon, 7 Mar 2011 20:29:57 +0000 (21:29 +0100)]
Add “toggle parser” link to posts and replies to deactivate the parser.

13 years agoAlways download Sones, older editions are skipped later in Core.updateSone.
David ‘Bombe’ Roden [Mon, 7 Mar 2011 19:49:37 +0000 (20:49 +0100)]
Always download Sones, older editions are skipped later in Core.updateSone.

This fixes #107.

13 years agoShow hint if some posts could not be shown.
David ‘Bombe’ Roden [Mon, 7 Mar 2011 16:34:22 +0000 (17:34 +0100)]
Show hint if some posts could not be shown.

13 years agoAdd “loaded” member for posts and replies.
David ‘Bombe’ Roden [Mon, 7 Mar 2011 16:17:54 +0000 (17:17 +0100)]
Add “loaded” member for posts and replies.

13 years agoUse new plugin name of the web of trust plugin.
David ‘Bombe’ Roden [Mon, 7 Mar 2011 15:38:11 +0000 (16:38 +0100)]
Use new plugin name of the web of trust plugin.

Patch was supplied by sethcg.