Sone.git
13 years agoFilter texts when inserting them, not when parsing.
David ‘Bombe’ Roden [Fri, 29 Apr 2011 05:22:25 +0000 (07:22 +0200)]
Filter texts when inserting them, not when parsing.

13 years agoAdd text filter for inserts.
David ‘Bombe’ Roden [Fri, 29 Apr 2011 05:22:11 +0000 (07:22 +0200)]
Add text filter for inserts.

13 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Thu, 28 Apr 2011 20:24:34 +0000 (22:24 +0200)]
Merge branch 'master' into next

13 years agoMerge branch 'release-0.6.3' 0.6.3
David ‘Bombe’ Roden [Thu, 28 Apr 2011 19:38:55 +0000 (21:38 +0200)]
Merge branch 'release-0.6.3'

13 years agoUpdate latest known version.
David ‘Bombe’ Roden [Thu, 28 Apr 2011 19:29:24 +0000 (21:29 +0200)]
Update latest known version.

13 years agoSet version to 0.6.3.
David ‘Bombe’ Roden [Thu, 28 Apr 2011 19:24:39 +0000 (21:24 +0200)]
Set version to 0.6.3.

13 years agoRequire utils 0.9.5.
David ‘Bombe’ Roden [Thu, 28 Apr 2011 19:23:48 +0000 (21:23 +0200)]
Require utils 0.9.5.

13 years agoAlways show mark-as-read buttons in new-element notifications.
David ‘Bombe’ Roden [Thu, 28 Apr 2011 04:45:26 +0000 (06:45 +0200)]
Always show mark-as-read buttons in new-element notifications.

This fixes #186.

13 years agoDon’t link to unknown posts.
David ‘Bombe’ Roden [Thu, 28 Apr 2011 04:44:31 +0000 (06:44 +0200)]
Don’t link to unknown posts.

13 years agoUse post visibility method to filter the post feed.
David ‘Bombe’ Roden [Wed, 27 Apr 2011 19:47:19 +0000 (21:47 +0200)]
Use post visibility method to filter the post feed.

13 years agoUse method.
David ‘Bombe’ Roden [Wed, 27 Apr 2011 19:47:00 +0000 (21:47 +0200)]
Use method.

13 years agoAdd method to check a post’s visibility.
David ‘Bombe’ Roden [Wed, 27 Apr 2011 19:46:54 +0000 (21:46 +0200)]
Add method to check a post’s visibility.

13 years agoOnly allow posts that have been downloaded.
David ‘Bombe’ Roden [Wed, 27 Apr 2011 18:43:48 +0000 (20:43 +0200)]
Only allow posts that have been downloaded.

13 years agoCheck a reply’s post and its Sone before using those values.
David ‘Bombe’ Roden [Mon, 25 Apr 2011 20:52:04 +0000 (22:52 +0200)]
Check a reply’s post and its Sone before using those values.

13 years agoRemove a Sone if no own identity trusts it anymore.
David ‘Bombe’ Roden [Sun, 24 Apr 2011 14:35:38 +0000 (16:35 +0200)]
Remove a Sone if no own identity trusts it anymore.

13 years agoAdd link to Sone homepage.
David ‘Bombe’ Roden [Sun, 24 Apr 2011 12:37:23 +0000 (14:37 +0200)]
Add link to Sone homepage.

This fixes #174.

13 years agoStore current edition in template context for inserted files.
David ‘Bombe’ Roden [Sun, 24 Apr 2011 12:37:06 +0000 (14:37 +0200)]
Store current edition in template context for inserted files.

13 years agoStrip links to local node, leaving only the keys (or an invalid link).
David ‘Bombe’ Roden [Sun, 24 Apr 2011 12:29:31 +0000 (14:29 +0200)]
Strip links to local node, leaving only the keys (or an invalid link).

This fixes #175.

13 years agoStore request in link parser context.
David ‘Bombe’ Roden [Sun, 24 Apr 2011 12:29:01 +0000 (14:29 +0200)]
Store request in link parser context.

13 years agoStore request in template context when rendering posts and replies.
David ‘Bombe’ Roden [Sun, 24 Apr 2011 12:28:27 +0000 (14:28 +0200)]
Store request in template context when rendering posts and replies.

13 years agoShow link to WoT profile more prominently.
David ‘Bombe’ Roden [Sun, 24 Apr 2011 10:51:08 +0000 (12:51 +0200)]
Show link to WoT profile more prominently.

This fixes #178.

13 years agoEnhance text for auto-follow option.
David ‘Bombe’ Roden [Sat, 23 Apr 2011 23:56:58 +0000 (01:56 +0200)]
Enhance text for auto-follow option.

This fixes #171.

13 years agoAlways follow the official Sone when creating a new Sone.
David ‘Bombe’ Roden [Sat, 23 Apr 2011 23:45:06 +0000 (01:45 +0200)]
Always follow the official Sone when creating a new Sone.

13 years agoDon’t save Sone twice, especially not while synchronizing on the Sone.
David ‘Bombe’ Roden [Wed, 20 Apr 2011 17:01:42 +0000 (19:01 +0200)]
Don’t save Sone twice, especially not while synchronizing on the Sone.

This causes deadlocks.

13 years agoDownload a Sone as USK when it’s the first time.
David ‘Bombe’ Roden [Mon, 18 Apr 2011 18:35:22 +0000 (20:35 +0200)]
Download a Sone as USK when it’s the first time.

13 years agoUse Mappers instead of Converters.
David ‘Bombe’ Roden [Wed, 20 Apr 2011 12:28:57 +0000 (14:28 +0200)]
Use Mappers instead of Converters.

13 years agoRequire a more recent version of utils.
David ‘Bombe’ Roden [Wed, 20 Apr 2011 12:26:48 +0000 (14:26 +0200)]
Require a more recent version of utils.

13 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Sun, 17 Apr 2011 12:17:41 +0000 (14:17 +0200)]
Merge branch 'master' into next

13 years agoMerge branch 'release-0.6.2' 0.6.2
David ‘Bombe’ Roden [Sun, 17 Apr 2011 11:47:39 +0000 (13:47 +0200)]
Merge branch 'release-0.6.2'

13 years agoSet version to 0.6.2.
David ‘Bombe’ Roden [Sun, 17 Apr 2011 11:45:47 +0000 (13:45 +0200)]
Set version to 0.6.2.

13 years agoRequire utils 0.9.4.
David ‘Bombe’ Roden [Sun, 17 Apr 2011 11:44:46 +0000 (13:44 +0200)]
Require utils 0.9.4.

13 years agoFix logging of expression.
David ‘Bombe’ Roden [Sun, 17 Apr 2011 10:16:44 +0000 (12:16 +0200)]
Fix logging of expression.

13 years agoFormatting and whitespace fixes.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 14:51:27 +0000 (16:51 +0200)]
Formatting and whitespace fixes.

13 years agoRemove references to Freetalk.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 14:42:24 +0000 (16:42 +0200)]
Remove references to Freetalk.

The web interface was originally created for Freetalk but never completed
there.

13 years agoFix more project names in headers.
David ‘Bombe’ Roden [Sat, 16 Apr 2011 14:41:42 +0000 (16:41 +0200)]
Fix more project names in headers.

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.