Sone.git
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 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 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.

13 years agoRequire 0.9-SNAPSHOT of utils.
David ‘Bombe’ Roden [Mon, 7 Mar 2011 15:18:58 +0000 (16:18 +0100)]
Require 0.9-SNAPSHOT of utils.

13 years agoMerge branch 'bookmarks' into next. This fixes #103.
David ‘Bombe’ Roden [Thu, 17 Feb 2011 10:30:19 +0000 (11:30 +0100)]
Merge branch 'bookmarks' into next. This fixes #103.

13 years agoAdd page that shows all bookmarks.
David ‘Bombe’ Roden [Thu, 17 Feb 2011 10:26:26 +0000 (11:26 +0100)]
Add page that shows all bookmarks.

13 years agoAjaxify bookmark buttons.
David ‘Bombe’ Roden [Thu, 17 Feb 2011 10:26:10 +0000 (11:26 +0100)]
Ajaxify bookmark buttons.

13 years agoAdd functions to bookmark and unbookmark posts.
David ‘Bombe’ Roden [Thu, 17 Feb 2011 10:26:01 +0000 (11:26 +0100)]
Add functions to bookmark and unbookmark posts.

13 years agoAdd function to return the post for an ID.
David ‘Bombe’ Roden [Thu, 17 Feb 2011 10:25:53 +0000 (11:25 +0100)]
Add function to return the post for an ID.

13 years agoAdd AJAX pages to bookmark and unbookmark posts.
David ‘Bombe’ Roden [Thu, 17 Feb 2011 10:25:42 +0000 (11:25 +0100)]
Add AJAX pages to bookmark and unbookmark posts.

13 years agoFix form class names and CSS.
David ‘Bombe’ Roden [Thu, 17 Feb 2011 10:24:52 +0000 (11:24 +0100)]
Fix form class names and CSS.

13 years agoAdd star for bookmarks in post view.
David ‘Bombe’ Roden [Thu, 17 Feb 2011 09:33:24 +0000 (10:33 +0100)]
Add star for bookmarks in post view.

13 years agoAdd pages that let the user bookmark or unbookmark a post.
David ‘Bombe’ Roden [Thu, 17 Feb 2011 09:32:16 +0000 (10:32 +0100)]
Add pages that let the user bookmark or unbookmark a post.

13 years agoExpose whether a post is bookmarked.
David ‘Bombe’ Roden [Thu, 17 Feb 2011 09:31:16 +0000 (10:31 +0100)]
Expose whether a post is bookmarked.

13 years agoAdd bookmark management.
David ‘Bombe’ Roden [Thu, 17 Feb 2011 09:31:07 +0000 (10:31 +0100)]
Add bookmark management.

13 years agoSet local Sones in posts deliverd by AJAX.
David ‘Bombe’ Roden [Fri, 4 Feb 2011 05:07:10 +0000 (06:07 +0100)]
Set local Sones in posts deliverd by AJAX.

13 years agoSort the local Sones in the sender dropdown.
David ‘Bombe’ Roden [Wed, 2 Feb 2011 13:12:06 +0000 (14:12 +0100)]
Sort the local Sones in the sender dropdown.

13 years agoImplement Comparable interface in Sone.
David ‘Bombe’ Roden [Wed, 2 Feb 2011 13:11:46 +0000 (14:11 +0100)]
Implement Comparable interface in Sone.

13 years agoAdd collection sort filter to template context factory.
David ‘Bombe’ Roden [Tue, 1 Feb 2011 10:04:04 +0000 (11:04 +0100)]
Add collection sort filter to template context factory.

13 years agoReregister the USK subscription after a successful download.
David ‘Bombe’ Roden [Fri, 28 Jan 2011 14:30:51 +0000 (15:30 +0100)]
Reregister the USK subscription after a successful download.

13 years agoDon’t run background fetchers for Sones that are last updated more than 7 days ago.
David ‘Bombe’ Roden [Fri, 28 Jan 2011 14:11:50 +0000 (15:11 +0100)]
Don’t run background fetchers for Sones that are last updated more than 7 days ago.

13 years agoActually allow -100 to be entered by getting 4 characters, not 3.
David ‘Bombe’ Roden [Fri, 28 Jan 2011 07:20:09 +0000 (08:20 +0100)]
Actually allow -100 to be entered by getting 4 characters, not 3.

13 years agoWrap the Core’s options into a Preferences object which is easier to use.
David ‘Bombe’ Roden [Fri, 28 Jan 2011 07:15:12 +0000 (08:15 +0100)]
Wrap the Core’s options into a Preferences object which is easier to use.

13 years agoAllow sender selection when sending a message on the “view Sone” page.
David ‘Bombe’ Roden [Fri, 28 Jan 2011 06:45:36 +0000 (07:45 +0100)]
Allow sender selection when sending a message on the “view Sone” page.

This fixes #99.

13 years agoWrap setting the document title into an own function to work around bugs in Chrome.
David ‘Bombe’ Roden [Fri, 28 Jan 2011 06:29:01 +0000 (07:29 +0100)]
Wrap setting the document title into an own function to work around bugs in Chrome.

13 years agoConvert links to posts on the current page to relative links.
David ‘Bombe’ Roden [Fri, 28 Jan 2011 05:39:07 +0000 (06:39 +0100)]
Convert links to posts on the current page to relative links.

13 years agoAdd easily identifiable link class.
David ‘Bombe’ Roden [Fri, 28 Jan 2011 05:38:49 +0000 (06:38 +0100)]
Add easily identifiable link class.

13 years agoMove anchors to within the <div>.
David ‘Bombe’ Roden [Thu, 27 Jan 2011 20:13:23 +0000 (21:13 +0100)]
Move anchors to within the <div>.

13 years agoPrevent multiple blink cycles happening simultaneously.
David ‘Bombe’ Roden [Thu, 27 Jan 2011 13:39:48 +0000 (14:39 +0100)]
Prevent multiple blink cycles happening simultaneously.

13 years agoLet the toggleIcon() method reset the icon.
David ‘Bombe’ Roden [Thu, 27 Jan 2011 08:37:54 +0000 (09:37 +0100)]
Let the toggleIcon() method reset the icon.

13 years agoAnimate icon on activity.
David ‘Bombe’ Roden [Thu, 27 Jan 2011 08:37:40 +0000 (09:37 +0100)]
Animate icon on activity.

13 years agoChange icon of page on activity.
David ‘Bombe’ Roden [Wed, 26 Jan 2011 12:50:43 +0000 (13:50 +0100)]
Change icon of page on activity.

13 years agoAlways mark the homepage as a trusted page.
David ‘Bombe’ Roden [Wed, 26 Jan 2011 10:09:29 +0000 (11:09 +0100)]
Always mark the homepage as a trusted page.

13 years agoAllow specifying a Sone ID in addition to a template object name.
David ‘Bombe’ Roden [Wed, 26 Jan 2011 10:09:20 +0000 (11:09 +0100)]
Allow specifying a Sone ID in addition to a template object name.

13 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Wed, 26 Jan 2011 10:00:31 +0000 (11:00 +0100)]
Merge branch 'master' into next

13 years agoMerge branch 'release-0.4.3' 0.4.3
David ‘Bombe’ Roden [Wed, 26 Jan 2011 09:22:01 +0000 (10:22 +0100)]
Merge branch 'release-0.4.3'

13 years agoSet version to 0.4.3.
David ‘Bombe’ Roden [Wed, 26 Jan 2011 09:21:54 +0000 (10:21 +0100)]
Set version to 0.4.3.

13 years agoHide message input when not logged in. Fixes #98.
David ‘Bombe’ Roden [Wed, 26 Jan 2011 09:17:39 +0000 (10:17 +0100)]
Hide message input when not logged in. Fixes #98.

13 years agoRemove the “new” class from clicked items immediately.
David ‘Bombe’ Roden [Wed, 26 Jan 2011 09:12:05 +0000 (10:12 +0100)]
Remove the “new” class from clicked items immediately.

13 years agoPrevent marking items as known multiple times.
David ‘Bombe’ Roden [Wed, 26 Jan 2011 09:07:39 +0000 (10:07 +0100)]
Prevent marking items as known multiple times.

13 years agoShow a link to the Sone homepage in the new-version notification.
David ‘Bombe’ Roden [Tue, 25 Jan 2011 20:24:49 +0000 (21:24 +0100)]
Show a link to the Sone homepage in the new-version notification.

13 years agoStore and propagate the latest edition, too.
David ‘Bombe’ Roden [Wed, 26 Jan 2011 06:30:36 +0000 (07:30 +0100)]
Store and propagate the latest edition, too.

13 years agoUse the URI from the Sone directly.
David ‘Bombe’ Roden [Tue, 25 Jan 2011 19:52:50 +0000 (20:52 +0100)]
Use the URI from the Sone directly.

13 years agoAlways store USKs in the Sone.
David ‘Bombe’ Roden [Tue, 25 Jan 2011 19:52:43 +0000 (20:52 +0100)]
Always store USKs in the Sone.

13 years agoSave Sone after inserting it.
David ‘Bombe’ Roden [Tue, 25 Jan 2011 19:49:40 +0000 (20:49 +0100)]
Save Sone after inserting it.

13 years agoRemove misleading paragraph from javadoc.
David ‘Bombe’ Roden [Tue, 25 Jan 2011 19:49:33 +0000 (20:49 +0100)]
Remove misleading paragraph from javadoc.

13 years agoCompare the new list of replies with the correct old list. Fixes #96.
David ‘Bombe’ Roden [Tue, 25 Jan 2011 15:44:38 +0000 (16:44 +0100)]
Compare the new list of replies with the correct old list. Fixes #96.

13 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Tue, 25 Jan 2011 08:40:08 +0000 (09:40 +0100)]
Merge branch 'master' into next

13 years agoMerge branch 'release-0.4.2' 0.4.2
David ‘Bombe’ Roden [Tue, 25 Jan 2011 08:21:27 +0000 (09:21 +0100)]
Merge branch 'release-0.4.2'

13 years agoSet version to 0.4.2.
David ‘Bombe’ Roden [Tue, 25 Jan 2011 08:21:07 +0000 (09:21 +0100)]
Set version to 0.4.2.

13 years agoRequire utils version 0.8.
David ‘Bombe’ Roden [Tue, 25 Jan 2011 06:43:31 +0000 (07:43 +0100)]
Require utils version 0.8.

13 years agoRequire fred build 1336.
David ‘Bombe’ Roden [Tue, 25 Jan 2011 06:33:25 +0000 (07:33 +0100)]
Require fred build 1336.

13 years agoShow the “create Sone” page in the menu if we’re auto-logged in.
David ‘Bombe’ Roden [Tue, 25 Jan 2011 08:13:55 +0000 (09:13 +0100)]
Show the “create Sone” page in the menu if we’re auto-logged in.

13 years agoOnly match a notifications state if it’s visible.
David ‘Bombe’ Roden [Tue, 25 Jan 2011 05:35:42 +0000 (06:35 +0100)]
Only match a notifications state if it’s visible.

13 years agoSet the latest edition in a better way on a Sone being parsed.
David ‘Bombe’ Roden [Mon, 24 Jan 2011 19:20:58 +0000 (20:20 +0100)]
Set the latest edition in a better way on a Sone being parsed.

13 years agoDownload the edition if it’s newer than the current known latest edition.
David ‘Bombe’ Roden [Mon, 24 Jan 2011 19:19:30 +0000 (20:19 +0100)]
Download the edition if it’s newer than the current known latest edition.

13 years agoChecking for the “newness” of an item will never mark it as known anymore.
David ‘Bombe’ Roden [Fri, 21 Jan 2011 11:40:51 +0000 (12:40 +0100)]
Checking for the “newness” of an item will never mark it as known anymore.

13 years agoSmall performance improvements.
David ‘Bombe’ Roden [Fri, 21 Jan 2011 11:16:36 +0000 (12:16 +0100)]
Small performance improvements.

13 years agoUse “hidden” CSS class to show the notification’s details.
David ‘Bombe’ Roden [Fri, 21 Jan 2011 10:18:53 +0000 (11:18 +0100)]
Use “hidden” CSS class to show the notification’s details.

13 years agoOnly try to remember the notification’s “opened” status if the new one can also be...
David ‘Bombe’ Roden [Fri, 21 Jan 2011 10:18:32 +0000 (11:18 +0100)]
Only try to remember the notification’s “opened” status if the new one can also be opened.

13 years agoIf there is only one local Sone, always be logged in as it.
David ‘Bombe’ Roden [Fri, 21 Jan 2011 10:05:16 +0000 (11:05 +0100)]
If there is only one local Sone, always be logged in as it.

13 years agoDon’t create session when not visiting Sone. Fixes #87.
David ‘Bombe’ Roden [Fri, 21 Jan 2011 09:53:01 +0000 (10:53 +0100)]
Don’t create session when not visiting Sone. Fixes #87.

13 years agoFix detection of notifications that show their details.
David ‘Bombe’ Roden [Fri, 21 Jan 2011 08:00:03 +0000 (09:00 +0100)]
Fix detection of notifications that show their details.

13 years agoUse the Sone element as parameter, not its ID.
David ‘Bombe’ Roden [Thu, 20 Jan 2011 12:44:15 +0000 (13:44 +0100)]
Use the Sone element as parameter, not its ID.

13 years agoAdd format filter to context factory.
David ‘Bombe’ Roden [Thu, 20 Jan 2011 11:38:55 +0000 (12:38 +0100)]
Add format filter to context factory.

13 years agoMark Sones as known by clicking on them.
David ‘Bombe’ Roden [Thu, 20 Jan 2011 08:46:03 +0000 (09:46 +0100)]
Mark Sones as known by clicking on them.