Sone.git
13 years agoFix filenames in license headers.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 14:39:05 +0000 (16:39 +0200)]
Fix filenames in license headers.

13 years agoAdd missing license headers.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 14:38:27 +0000 (16:38 +0200)]
Add missing license headers.

13 years agoFix wrong project name in file headers.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 14:24:58 +0000 (16:24 +0200)]
Fix wrong project name in file headers.

13 years agoSet the latest edition of a Sone when the identity is updated.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 14:02:48 +0000 (16:02 +0200)]
Set the latest edition of a Sone when the identity is updated.

13 years agoDownlad SSKs instead of USKs to prevent triggering another search.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 14:02:37 +0000 (16:02 +0200)]
Downlad SSKs instead of USKs to prevent triggering another search.

13 years agoMerge branch 'fix-post-inserts-167' into next
David ‘Bombe’ Roden [Sat, 16 Apr 2011 11:22:33 +0000 (13:22 +0200)]
Merge branch 'fix-post-inserts-167' into next

This fixes #167.

13 years agoReturn page 1 for pages without pagination.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 11:21:39 +0000 (13:21 +0200)]
Return page 1 for pages without pagination.

13 years agoDo not insert posts if we’re not on the first page of a pagination.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 11:20:10 +0000 (13:20 +0200)]
Do not insert posts if we’re not on the first page of a pagination.

13 years agoAdd method to get the current page of a pagination.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 11:19:49 +0000 (13:19 +0200)]
Add method to get the current page of a pagination.

13 years agoAdd pagination name on post feed.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 11:19:38 +0000 (13:19 +0200)]
Add pagination name on post feed.

13 years agoAdd name of pagination as CSS class.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 11:19:26 +0000 (13:19 +0200)]
Add name of pagination as CSS class.

13 years agoMove permalinks behind the time, insert comment links after permalinks.
David ‘Bombe’ Roden [Fri, 15 Apr 2011 04:55:42 +0000 (06:55 +0200)]
Move permalinks behind the time, insert comment links after permalinks.

13 years agoAdd logging.
David ‘Bombe’ Roden [Fri, 15 Apr 2011 04:19:56 +0000 (06:19 +0200)]
Add logging.

13 years agoUse double instead of int for score calculation, weigh position of hit more.
David ‘Bombe’ Roden [Fri, 15 Apr 2011 04:19:44 +0000 (06:19 +0200)]
Use double instead of int for score calculation, weigh position of hit more.

13 years agoFix Sone marking.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 19:04:02 +0000 (21:04 +0200)]
Fix Sone marking.

13 years agoFilter by correct element.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 19:03:55 +0000 (21:03 +0200)]
Filter by correct element.

13 years agoAdd permalinks for posts and authors.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:39:11 +0000 (20:39 +0200)]
Add permalinks for posts and authors.

This fixes #136.

13 years agoMerge branch 'relative-timestamps-150' into next
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:26:35 +0000 (20:26 +0200)]
Merge branch 'relative-timestamps-150' into next

This fixes #150.

13 years agoUpdate relative times on each status update.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:21:25 +0000 (20:21 +0200)]
Update relative times on each status update.

13 years agoShow age text in HTML, use formatted date as tooltip.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:21:08 +0000 (20:21 +0200)]
Show age text in HTML, use formatted date as tooltip.

13 years agoAdd accessor for the age text of a Sone.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:20:56 +0000 (20:20 +0200)]
Add accessor for the age text of a Sone.

13 years agoOverride Time.toString() to return the text.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:20:45 +0000 (20:20 +0200)]
Override Time.toString() to return the text.

13 years agoExpose time calculation.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:20:35 +0000 (20:20 +0200)]
Expose time calculation.

13 years agoMerge branch 'improve-notification-handling' into next
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:26:08 +0000 (20:26 +0200)]
Merge branch 'improve-notification-handling' into next

This fixes #139.

13 years agoOnly render notifications if they have changed.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:01:16 +0000 (20:01 +0200)]
Only render notifications if they have changed.

13 years agoAdd AJAX page that returns a number of notifications.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:01:01 +0000 (20:01 +0200)]
Add AJAX page that returns a number of notifications.

13 years agoAdd method to return the last-updated time of a notification element.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:00:31 +0000 (20:00 +0200)]
Add method to return the last-updated time of a notification element.

13 years agoStore last-updated time in notifications.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:00:18 +0000 (20:00 +0200)]
Store last-updated time in notifications.

13 years agoExpose new-post and new-reply filters to the world.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 18:00:07 +0000 (20:00 +0200)]
Expose new-post and new-reply filters to the world.

13 years agoDon’t call touch() when setting all elements at once.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 17:59:56 +0000 (19:59 +0200)]
Don’t call touch() when setting all elements at once.

13 years agoNotify listeners when a post is removed.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 17:59:44 +0000 (19:59 +0200)]
Notify listeners when a post is removed.

13 years agoRemove image from previous album, if set.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 04:53:37 +0000 (06:53 +0200)]
Remove image from previous album, if set.

13 years agoOnly add an album if it doesn’t yet exist.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 04:53:25 +0000 (06:53 +0200)]
Only add an album if it doesn’t yet exist.

13 years agoChange some validations to allow moving images.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 04:53:09 +0000 (06:53 +0200)]
Change some validations to allow moving images.

13 years agoCatch and log all exceptions occuring during parsing.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 04:35:48 +0000 (06:35 +0200)]
Catch and log all exceptions occuring during parsing.

13 years agoUse validation method with long parameters.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 04:35:29 +0000 (06:35 +0200)]
Use validation method with long parameters.

13 years agoChange title of replies listing on Sone page.
David ‘Bombe’ Roden [Thu, 14 Apr 2011 03:54:22 +0000 (05:54 +0200)]
Change title of replies listing on Sone page.

13 years agoValidation given values to disallow modifications.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 18:58:35 +0000 (20:58 +0200)]
Validation given values to disallow modifications.

13 years agoRequire a newer version of utils.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 18:33:16 +0000 (20:33 +0200)]
Require a newer version of utils.

13 years agoOnly add an image if it doesn’t already exist.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 18:33:08 +0000 (20:33 +0200)]
Only add an image if it doesn’t already exist.

13 years agoRemove check for now.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 18:33:00 +0000 (20:33 +0200)]
Remove check for now.

13 years agoFix checks in case an image is loaded more than once.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 18:32:49 +0000 (20:32 +0200)]
Fix checks in case an image is loaded more than once.

13 years agoOverride hashCode() and equals().
David ‘Bombe’ Roden [Wed, 13 Apr 2011 18:32:36 +0000 (20:32 +0200)]
Override hashCode() and equals().

13 years agoDefault description to an empty string.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 18:32:18 +0000 (20:32 +0200)]
Default description to an empty string.

13 years agoParse creation time as a long.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 18:32:06 +0000 (20:32 +0200)]
Parse creation time as a long.

13 years agoStore albums from parsed Sone in stored Sone.
David ‘Bombe’ Roden [Wed, 13 Apr 2011 18:31:49 +0000 (20:31 +0200)]
Store albums from parsed Sone in stored Sone.

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

13 years agoFix typo.
David ‘Bombe’ Roden [Tue, 12 Apr 2011 10:16:12 +0000 (12:16 +0200)]
Fix typo.

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.