Sone.git
13 years agoMerge branch 'image-management' into beta-freefall beta-freefall-0.6.2-2
David ‘Bombe’ Roden [Wed, 13 Apr 2011 13:48:47 +0000 (15:48 +0200)]
Merge branch 'image-management' into beta-freefall

13 years agoFix typo.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 13:48:13 +0000 (15:48 +0200)]
Fix typo.

13 years agoCreate special file for beta tester FreeFall. beta-freefall-0.6.2-1
David ‘Bombe’ Roden [Wed, 13 Apr 2011 11:23:44 +0000 (13:23 +0200)]
Create special file for beta tester FreeFall.

13 years agoInclude albums in a Sone’s profile.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 05:56:08 +0000 (07:56 +0200)]
Include albums in a Sone’s profile.

13 years agoInclude album fingerprints in Sone fingerprint.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 05:35:55 +0000 (07:35 +0200)]
Include album fingerprints in Sone fingerprint.

13 years agoParse album and image XML.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 05:35:41 +0000 (07:35 +0200)]
Parse album and image XML.

13 years agoInclude album and image XML in Sone XML.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 05:35:32 +0000 (07:35 +0200)]
Include album and image XML in Sone XML.

13 years agoStore flattened albums in insert information.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 05:35:04 +0000 (07:35 +0200)]
Store flattened albums in insert information.

13 years agoOnly include an image in the fingerprint if it has been inserted.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 05:34:46 +0000 (07:34 +0200)]
Only include an image in the fingerprint if it has been inserted.

13 years agoMove album flattening algorithm to Sone.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 05:34:33 +0000 (07:34 +0200)]
Move album flattening algorithm to Sone.

13 years agoBring image-management up to speed.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 04:46:32 +0000 (06:46 +0200)]
Bring image-management up to speed.

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
src/main/resources/static/css/sone.css

13 years agoAdd confirmation for image deletion.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 04:36:01 +0000 (06:36 +0200)]
Add confirmation for image deletion.

13 years agoDelete temporary image before removing image.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 04:35:28 +0000 (06:35 +0200)]
Delete temporary image before removing image.

13 years agoFire appropriate event if cancelled by user.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 04:35:17 +0000 (06:35 +0200)]
Fire appropriate event if cancelled by user.

13 years agoAdd some thread-safety.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 04:35:07 +0000 (06:35 +0200)]
Add some thread-safety.

13 years agoRetrieve insert token by image ID.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 04:34:58 +0000 (06:34 +0200)]
Retrieve insert token by image ID.

13 years agoCancel with a ClientContext.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 04:34:48 +0000 (06:34 +0200)]
Cancel with a ClientContext.

13 years agoAdd confirmation before deleting album.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 04:16:23 +0000 (06:16 +0200)]
Add confirmation before deleting album.

13 years agoImplement a lot more image and album processing on the image browser.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 04:00:05 +0000 (06:00 +0200)]
Implement a lot more image and album processing on the image browser.

13 years agoSet default text color for textareas.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 03:59:39 +0000 (05:59 +0200)]
Set default text color for textareas.

13 years agoFormat single images like small images.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 03:59:32 +0000 (05:59 +0200)]
Format single images like small images.

13 years agoDon’t float albums.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 03:59:22 +0000 (05:59 +0200)]
Don’t float albums.

13 years agoAdd generic parsed class that displays whitespace correctly.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 03:59:11 +0000 (05:59 +0200)]
Add generic parsed class that displays whitespace correctly.

13 years agoUse a textarea for the description of the image.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 03:58:48 +0000 (05:58 +0200)]
Use a textarea for the description of the image.

13 years agoAdd page that edits an album.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 03:58:28 +0000 (05:58 +0200)]
Add page that edits an album.

13 years agoAdd page that edits an image.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 03:58:19 +0000 (05:58 +0200)]
Add page that edits an image.

13 years agoAdd page that deletes an image.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 03:58:02 +0000 (05:58 +0200)]
Add page that deletes an image.

13 years agoAdd page to delete an album.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 03:57:39 +0000 (05:57 +0200)]
Add page to delete an album.

13 years agoAdd method to delete image.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 03:54:37 +0000 (05:54 +0200)]
Add method to delete image.

13 years agoCancel image insert when deleting a temporary image.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 03:54:31 +0000 (05:54 +0200)]
Cancel image insert when deleting a temporary image.

13 years agoAdd method to delete an album.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 03:54:19 +0000 (05:54 +0200)]
Add method to delete an album.

13 years agoAdd isEmpty() method.
David ‘Bombe’ Roden [Tue, 12 Apr 2011 20:00:36 +0000 (22:00 +0200)]
Add isEmpty() method.

13 years agoSet album as parent of added image.
David ‘Bombe’ Roden [Tue, 12 Apr 2011 19:59:26 +0000 (21:59 +0200)]
Set album as parent of added image.

13 years agoStore parent album in image.
David ‘Bombe’ Roden [Tue, 12 Apr 2011 19:59:12 +0000 (21:59 +0200)]
Store parent album in image.

13 years agoShow images differently.
David ‘Bombe’ Roden [Tue, 12 Apr 2011 12:41:06 +0000 (14:41 +0200)]
Show images differently.

13 years agoReduce whitespace pollution.
David ‘Bombe’ Roden [Tue, 12 Apr 2011 12:40:52 +0000 (14:40 +0200)]
Reduce whitespace pollution.

13 years agoInsert image after creating it.
David ‘Bombe’ Roden [Tue, 12 Apr 2011 07:05:56 +0000 (09:05 +0200)]
Insert image after creating it.

13 years agoAdd image insert notifications.
David ‘Bombe’ Roden [Tue, 12 Apr 2011 07:05:48 +0000 (09:05 +0200)]
Add image insert notifications.

13 years agoAdd ImageInsertListener methods to CoreListener.
David ‘Bombe’ Roden [Tue, 12 Apr 2011 07:05:20 +0000 (09:05 +0200)]
Add ImageInsertListener methods to CoreListener.

13 years agoFix wrong method name.
David ‘Bombe’ Roden [Tue, 12 Apr 2011 07:04:37 +0000 (09:04 +0200)]
Fix wrong method name.

13 years agoFix album loading.
David ‘Bombe’ Roden [Tue, 12 Apr 2011 07:04:31 +0000 (09:04 +0200)]
Fix album loading.

13 years agoAdd image inserter to Core.
David ‘Bombe’ Roden [Tue, 12 Apr 2011 07:04:18 +0000 (09:04 +0200)]
Add image inserter to Core.

13 years agoImplement ImageInsertListener interface in Core.
David ‘Bombe’ Roden [Tue, 12 Apr 2011 07:04:09 +0000 (09:04 +0200)]
Implement ImageInsertListener interface in Core.

13 years agoAdd image inserter.
David ‘Bombe’ Roden [Tue, 12 Apr 2011 07:03:31 +0000 (09:03 +0200)]
Add image inserter.

13 years agoAdd insertImage() method to freenet interface.
David ‘Bombe’ Roden [Tue, 12 Apr 2011 07:03:17 +0000 (09:03 +0200)]
Add insertImage() method to freenet interface.

13 years agoAdd image insert listener interface.
David ‘Bombe’ Roden [Tue, 12 Apr 2011 07:01:37 +0000 (09:01 +0200)]
Add image insert listener interface.

13 years agoAdd another exception type.
David ‘Bombe’ Roden [Tue, 12 Apr 2011 07:01:23 +0000 (09:01 +0200)]
Add another exception type.

13 years agoDisplay images in image browser.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 18:16:40 +0000 (20:16 +0200)]
Display images in image browser.

13 years agoAdd page that delivers the encoded data of a temporary image.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 18:16:25 +0000 (20:16 +0200)]
Add page that delivers the encoded data of a temporary image.

13 years agoExtend image upload page to detect MIME type.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 18:16:02 +0000 (20:16 +0200)]
Extend image upload page to detect MIME type.

13 years agoReturn response object after setting a header.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 18:14:34 +0000 (20:14 +0200)]
Return response object after setting a header.

13 years agoFix album title accessor.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 18:14:03 +0000 (20:14 +0200)]
Fix album title accessor.

13 years agoLoad and save images when loading and saving Sones.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 18:13:42 +0000 (20:13 +0200)]
Load and save images when loading and saving Sones.

13 years agoAdd method to create an Image from a TemporaryImage.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 18:12:50 +0000 (20:12 +0200)]
Add method to create an Image from a TemporaryImage.

13 years agoAdd methods to delete a temporary image.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 18:12:30 +0000 (20:12 +0200)]
Add methods to delete a temporary image.

13 years agoAdd methods to create and retrieve temporary images.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 18:08:45 +0000 (20:08 +0200)]
Add methods to create and retrieve temporary images.

13 years agoRename forgotten album names.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 18:07:12 +0000 (20:07 +0200)]
Rename forgotten album names.

13 years agoAdd temporary image.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 18:04:31 +0000 (20:04 +0200)]
Add temporary image.

13 years agoRename album name to album title.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 18:02:21 +0000 (20:02 +0200)]
Rename album name to album title.

13 years agoAdd filter that turns an Image into an HTML <img> tag.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 16:56:36 +0000 (18:56 +0200)]
Add filter that turns an Image into an HTML <img> tag.

13 years agoAdd method that returns whether an image has been inserted.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 13:58:28 +0000 (15:58 +0200)]
Add method that returns whether an image has been inserted.

13 years agoInstantiate album via caching mechanism.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 11:01:03 +0000 (13:01 +0200)]
Instantiate album via caching mechanism.

13 years agoClear the correct list.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 11:00:13 +0000 (13:00 +0200)]
Clear the correct list.

13 years agoReduce log level.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 10:56:00 +0000 (12:56 +0200)]
Reduce log level.

13 years agoImplement album structure loading.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 10:40:29 +0000 (12:40 +0200)]
Implement album structure loading.

13 years agoWrite end marker after albums.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 10:40:15 +0000 (12:40 +0200)]
Write end marker after albums.

13 years agoAdd method to set all albums of a Sone.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 10:39:58 +0000 (12:39 +0200)]
Add method to set all albums of a Sone.

13 years agoSave album structure.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 09:40:19 +0000 (11:40 +0200)]
Save album structure.

13 years agoSave Sone after creating the album.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 09:40:14 +0000 (11:40 +0200)]
Save Sone after creating the album.

13 years agoDon’t implement equals() without hashCode()!
David ‘Bombe’ Roden [Sun, 10 Apr 2011 09:13:12 +0000 (11:13 +0200)]
Don’t implement equals() without hashCode()!

13 years agoRemove albums from the fingerprint temporarily.
David ‘Bombe’ Roden [Wed, 6 Apr 2011 19:34:10 +0000 (21:34 +0200)]
Remove albums from the fingerprint temporarily.

13 years agoFix null pointer access when a reply’s post is yet unknown.
David ‘Bombe’ Roden [Tue, 12 Apr 2011 16:57:02 +0000 (18:57 +0200)]
Fix null pointer access when a reply’s post is yet unknown.

13 years agoInsert link to author the user is replying to.
David ‘Bombe’ Roden [Mon, 11 Apr 2011 12:04:26 +0000 (14:04 +0200)]
Insert link to author the user is replying to.

13 years agoStore textarea in input field’s data.
David ‘Bombe’ Roden [Mon, 11 Apr 2011 12:03:59 +0000 (14:03 +0200)]
Store textarea in input field’s data.

13 years agoAdd all Sone-specific options when creating a Sone.
David ‘Bombe’ Roden [Mon, 11 Apr 2011 11:50:49 +0000 (13:50 +0200)]
Add all Sone-specific options when creating a Sone.

This fixes #144.

13 years agoMark the correct sone as known.
David ‘Bombe’ Roden [Mon, 11 Apr 2011 10:30:50 +0000 (12:30 +0200)]
Mark the correct sone as known.

This fixes #142.

13 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Sun, 10 Apr 2011 19:43:22 +0000 (21:43 +0200)]
Merge branch 'master' into next

13 years agoMerge branch 'release-0.6.1' 0.6.1
David ‘Bombe’ Roden [Sun, 10 Apr 2011 19:06:23 +0000 (21:06 +0200)]
Merge branch 'release-0.6.1'

13 years agoSet version to 0.6.1.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 18:48:19 +0000 (20:48 +0200)]
Set version to 0.6.1.

13 years agoRequire utils 0.9.3.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 18:48:14 +0000 (20:48 +0200)]
Require utils 0.9.3.

13 years agoAdd explanatory text for Sone-specific options while logged in.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 18:46:48 +0000 (20:46 +0200)]
Add explanatory text for Sone-specific options while logged in.

13 years agoReduce default number of posts per page to 10.
David ‘Bombe’ Roden [Sun, 10 Apr 2011 18:38:23 +0000 (20:38 +0200)]
Reduce default number of posts per page to 10.

13 years agoAdd redirect page before all other toadlets.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 11:52:04 +0000 (13:52 +0200)]
Add redirect page before all other toadlets.

13 years agoRedirect to “index.html” if no path is given.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 11:49:58 +0000 (13:49 +0200)]
Redirect to “index.html” if no path is given.

13 years agoCreate page implementation that simply performs a redirect.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 11:49:33 +0000 (13:49 +0200)]
Create page implementation that simply performs a redirect.

13 years agoAdd sone:// and post:// links.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 05:28:24 +0000 (07:28 +0200)]
Add sone:// and post:// links.

13 years agoMark deleted posts and replies as known.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 05:11:32 +0000 (07:11 +0200)]
Mark deleted posts and replies as known.

13 years agoAlso show posts and replies that have the current Sone as post recipient.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 04:49:17 +0000 (06:49 +0200)]
Also show posts and replies that have the current Sone as post recipient.

13 years agoAdjust displayed times.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 04:29:54 +0000 (06:29 +0200)]
Adjust displayed times.

13 years agoShow default texts in the trust-related settings on the options page.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 04:15:47 +0000 (06:15 +0200)]
Show default texts in the trust-related settings on the options page.

13 years agoAllow user to configuration the number of posts shown on a page.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 04:11:19 +0000 (06:11 +0200)]
Allow user to configuration the number of posts shown on a page.

This resolves #123.

13 years agoAdd javadoc comments.
David ‘Bombe’ Roden [Fri, 8 Apr 2011 03:45:13 +0000 (05:45 +0200)]
Add javadoc comments.

13 years agoCreate new-element notifications as non-dismissable.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 19:39:07 +0000 (21:39 +0200)]
Create new-element notifications as non-dismissable.

13 years agoCopy all values in the copy constructor.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 19:38:56 +0000 (21:38 +0200)]
Copy all values in the copy constructor.

13 years agoAdd constructor to allow to specify the dismissable flag.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 19:38:44 +0000 (21:38 +0200)]
Add constructor to allow to specify the dismissable flag.

13 years agoDon’t mark elements as known automatically when viewing a page.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 19:18:47 +0000 (21:18 +0200)]
Don’t mark elements as known automatically when viewing a page.

This resolves #32.

13 years agoDisplay new-reply notification differently.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 19:06:37 +0000 (21:06 +0200)]
Display new-reply notification differently.

This fixes #35.

13 years agoAdd filter to sort replies differently.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 19:06:00 +0000 (21:06 +0200)]
Add filter to sort replies differently.

13 years agoAlso update times on invisible replies.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 13:57:10 +0000 (15:57 +0200)]
Also update times on invisible replies.

13 years agoReset activation after all notifications have been removed.
David ‘Bombe’ Roden [Thu, 7 Apr 2011 13:57:03 +0000 (15:57 +0200)]
Reset activation after all notifications have been removed.