jSite.git
12 years agoOnly ask for confirmation if the location of the configuration changed.
David ‘Bombe’ Roden [Thu, 22 Mar 2012 20:23:19 +0000 (21:23 +0100)]
Only ask for confirmation if the location of the configuration changed.

12 years agoRemember original location the configuration was loaded from.
David ‘Bombe’ Roden [Thu, 22 Mar 2012 20:23:02 +0000 (21:23 +0100)]
Remember original location the configuration was loaded from.

12 years agoAlso set the last insert filename when a project finished successfully.
David ‘Bombe’ Roden [Thu, 22 Mar 2012 20:12:54 +0000 (21:12 +0100)]
Also set the last insert filename when a project finished successfully.

12 years agoUse last insert filename when redirecting to a previously inserted file.
David ‘Bombe’ Roden [Thu, 22 Mar 2012 20:12:37 +0000 (21:12 +0100)]
Use last insert filename when redirecting to a previously inserted file.

12 years agoDon’t throw a NullPointerException when no file is selected.
David ‘Bombe’ Roden [Thu, 22 Mar 2012 20:12:23 +0000 (21:12 +0100)]
Don’t throw a NullPointerException when no file is selected.

12 years agoStore and load last insert filename.
David ‘Bombe’ Roden [Thu, 22 Mar 2012 20:12:06 +0000 (21:12 +0100)]
Store and load last insert filename.

12 years agoAdd filename of last insert.
David ‘Bombe’ Roden [Thu, 22 Mar 2012 20:11:18 +0000 (21:11 +0100)]
Add filename of last insert.

12 years agoUse changed name when inserting a file.
David ‘Bombe’ Roden [Thu, 22 Mar 2012 20:10:46 +0000 (21:10 +0100)]
Use changed name when inserting a file.

12 years agoMake combox box expand horizontally.
David ‘Bombe’ Roden [Thu, 22 Mar 2012 18:36:53 +0000 (19:36 +0100)]
Make combox box expand horizontally.

12 years agoForward manifest putter between configuration, preferences, and inserter.
David ‘Bombe’ Roden [Thu, 22 Mar 2012 18:36:42 +0000 (19:36 +0100)]
Forward manifest putter between configuration, preferences, and inserter.

12 years agoAdd combo box for manifest putter.
David ‘Bombe’ Roden [Thu, 22 Mar 2012 18:36:29 +0000 (19:36 +0100)]
Add combo box for manifest putter.

12 years agoOverride toString() for better display in a combo box.
David ‘Bombe’ Roden [Thu, 22 Mar 2012 18:35:53 +0000 (19:35 +0100)]
Override toString() for better display in a combo box.

12 years agoForward manifest putter to project inserter.
David ‘Bombe’ Roden [Thu, 22 Mar 2012 18:35:37 +0000 (19:35 +0100)]
Forward manifest putter to project inserter.

12 years agoMake manifest putter configurable.
David ‘Bombe’ Roden [Thu, 22 Mar 2012 18:34:28 +0000 (19:34 +0100)]
Make manifest putter configurable.

12 years agoStore the manifest putter in the configuration.
David ‘Bombe’ Roden [Thu, 22 Mar 2012 18:32:35 +0000 (19:32 +0100)]
Store the manifest putter in the configuration.

12 years agoForward priority between configuration, preferences, and project inserter. 0.10-rc1
David ‘Bombe’ Roden [Sun, 18 Mar 2012 01:15:39 +0000 (02:15 +0100)]
Forward priority between configuration, preferences, and project inserter.

This resolves #261.

12 years agoAllow storing and loading the priority from/to the configuration.
David ‘Bombe’ Roden [Sun, 18 Mar 2012 01:14:59 +0000 (02:14 +0100)]
Allow storing and loading the priority from/to the configuration.

12 years agoAdd insert priority to preferences panel.
David ‘Bombe’ Roden [Sun, 18 Mar 2012 01:14:41 +0000 (02:14 +0100)]
Add insert priority to preferences panel.

12 years agoForward the insert priority to the project inserter.
David ‘Bombe’ Roden [Sun, 18 Mar 2012 01:14:04 +0000 (02:14 +0100)]
Forward the insert priority to the project inserter.

12 years agoMake the insert priority configurable.
David ‘Bombe’ Roden [Sun, 18 Mar 2012 01:13:50 +0000 (02:13 +0100)]
Make the insert priority configurable.

12 years agoOverride toString() to allow simple display in a JList.
David ‘Bombe’ Roden [Sun, 18 Mar 2012 01:13:30 +0000 (02:13 +0100)]
Override toString() to allow simple display in a JList.

12 years agoAdd method to parse a priority from a string.
David ‘Bombe’ Roden [Sun, 18 Mar 2012 01:13:12 +0000 (02:13 +0100)]
Add method to parse a priority from a string.

12 years agoUpdate copyrights in About dialog to 2012.
David ‘Bombe’ Roden [Sun, 18 Mar 2012 00:35:17 +0000 (01:35 +0100)]
Update copyrights in About dialog to 2012.

12 years agoForward use-early-encode flag between configuration, preferences, and inserter.
David ‘Bombe’ Roden [Sun, 18 Mar 2012 00:35:00 +0000 (01:35 +0100)]
Forward use-early-encode flag between configuration, preferences, and inserter.

12 years agoAdd checkbox for use-early-encode option.
David ‘Bombe’ Roden [Sun, 18 Mar 2012 00:34:26 +0000 (01:34 +0100)]
Add checkbox for use-early-encode option.

12 years agoForward use-early-encode flag to project inserter.
David ‘Bombe’ Roden [Sun, 18 Mar 2012 00:33:50 +0000 (01:33 +0100)]
Forward use-early-encode flag to project inserter.

12 years agoMake use of the early-encode flag configurable.
David ‘Bombe’ Roden [Sun, 18 Mar 2012 00:33:36 +0000 (01:33 +0100)]
Make use of the early-encode flag configurable.

12 years agoAdd methods to store and load use-early-encode option.
David ‘Bombe’ Roden [Sun, 18 Mar 2012 00:33:11 +0000 (01:33 +0100)]
Add methods to store and load use-early-encode option.

12 years agoFix up all file headers.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 22:51:33 +0000 (23:51 +0100)]
Fix up all file headers.

12 years agoOrganize imports.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 22:28:18 +0000 (23:28 +0100)]
Organize imports.

12 years agoAdd missing properties.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 21:48:15 +0000 (22:48 +0100)]
Add missing properties.

12 years agoAdd “force insert” checkbox.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 21:47:57 +0000 (22:47 +0100)]
Add “force insert” checkbox.

12 years agoFix a wrong i18n property name.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 21:46:16 +0000 (22:46 +0100)]
Fix a wrong i18n property name.

12 years agoStore the scanned files in the list.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 21:39:32 +0000 (22:39 +0100)]
Store the scanned files in the list.

12 years agoOverride toString() for simple displaying it in a List.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 21:38:35 +0000 (22:38 +0100)]
Override toString() for simple displaying it in a List.

12 years agoDon’t insert a redirect if force-insert is set.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 21:37:59 +0000 (22:37 +0100)]
Don’t insert a redirect if force-insert is set.

12 years agoClear force-insert flag after successful insert.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 21:37:47 +0000 (22:37 +0100)]
Clear force-insert flag after successful insert.

12 years agoAdd temporary force-insert flag.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 21:37:32 +0000 (22:37 +0100)]
Add temporary force-insert flag.

12 years agoRename method to better describe the purpose.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 18:09:10 +0000 (19:09 +0100)]
Rename method to better describe the purpose.

12 years agoSearch for known files correctly.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 18:03:55 +0000 (19:03 +0100)]
Search for known files correctly.

12 years agoOnly copy the current hash to the last insert hash if it has been set.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 13:07:15 +0000 (14:07 +0100)]
Only copy the current hash to the last insert hash if it has been set.

12 years agoDon’t remove the last insert hash when not inserting a file.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 13:07:00 +0000 (14:07 +0100)]
Don’t remove the last insert hash when not inserting a file.

12 years agoAlways set the current hash when inserting.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 13:06:48 +0000 (14:06 +0100)]
Always set the current hash when inserting.

12 years agoFix loading of projects.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 13:06:32 +0000 (14:06 +0100)]
Fix loading of projects.

12 years agoStore and load last insert edition.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 12:09:18 +0000 (13:09 +0100)]
Store and load last insert edition.

12 years agoLog decision to insert a redirect.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 12:09:00 +0000 (13:09 +0100)]
Log decision to insert a redirect.

12 years agoUse last insert edition for redirect.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 12:08:53 +0000 (13:08 +0100)]
Use last insert edition for redirect.

12 years agoSet the last insert edition of all inserted files after the project finished.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 12:08:37 +0000 (13:08 +0100)]
Set the last insert edition of all inserted files after the project finished.

12 years agoStore the edition of the last insert of a file.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 12:07:55 +0000 (13:07 +0100)]
Store the edition of the last insert of a file.

12 years agoLoad and save last insert hashes.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 02:06:56 +0000 (03:06 +0100)]
Load and save last insert hashes.

12 years agoDon’t update the progress bar if the progress is 0.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 02:06:47 +0000 (03:06 +0100)]
Don’t update the progress bar if the progress is 0.

12 years agoReturn some unnecessary stuff.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 02:06:32 +0000 (03:06 +0100)]
Return some unnecessary stuff.

12 years agoUse ScannedFile.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 02:06:08 +0000 (03:06 +0100)]
Use ScannedFile.

12 years agoCopy hashes after the project has finished inserting.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 02:05:52 +0000 (03:05 +0100)]
Copy hashes after the project has finished inserting.

12 years agoCalculate hashes when scanning files.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 02:05:25 +0000 (03:05 +0100)]
Calculate hashes when scanning files.

12 years agoStop updater when the connection is interrupted.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 02:02:22 +0000 (03:02 +0100)]
Stop updater when the connection is interrupted.

12 years agoAdd method to copy the hashes after a project was inserted.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 02:02:01 +0000 (03:02 +0100)]
Add method to copy the hashes after a project was inserted.

12 years agoAdd last insert and current hash to file options.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 02:01:49 +0000 (03:01 +0100)]
Add last insert and current hash to file options.

12 years agoRemove file containers and edition replacements.
David ‘Bombe’ Roden [Sat, 17 Mar 2012 01:53:46 +0000 (02:53 +0100)]
Remove file containers and edition replacements.

12 years agoUse the “default” manifest putter because it’s actually not the default.
David ‘Bombe’ Roden [Fri, 16 Mar 2012 19:48:56 +0000 (20:48 +0100)]
Use the “default” manifest putter because it’s actually not the default.

This fixes #260.

12 years agoAdd possibility to choose a manifest putter for an insert.
David ‘Bombe’ Roden [Fri, 16 Mar 2012 19:47:23 +0000 (20:47 +0100)]
Add possibility to choose a manifest putter for an insert.

12 years agoPrevent NPE when URIGenerated message comes too late.
David ‘Bombe’ Roden [Fri, 16 Mar 2012 19:22:20 +0000 (20:22 +0100)]
Prevent NPE when URIGenerated message comes too late.

This fixes #259.

13 years agoRevert "Set the EarlyEncode flag on insert."
David ‘Bombe’ Roden [Fri, 4 Nov 2011 04:44:04 +0000 (05:44 +0100)]
Revert "Set the EarlyEncode flag on insert."

This reverts commit 44bbe1af606d9adaf575d5b1a620c4fba66cac9d.

Apparently this flag tends to cause database breakage.

13 years agoSet the EarlyEncode flag on insert.
David ‘Bombe’ Roden [Wed, 2 Nov 2011 19:48:16 +0000 (20:48 +0100)]
Set the EarlyEncode flag on insert.

Rumour has it that this actually speeds up the insert.

13 years agoReset edition if the keys were changed.
David ‘Bombe’ Roden [Wed, 2 Nov 2011 19:47:26 +0000 (20:47 +0100)]
Reset edition if the keys were changed.

13 years agoReformat javadoc.
David ‘Bombe’ Roden [Tue, 16 Aug 2011 22:25:02 +0000 (00:25 +0200)]
Reformat javadoc.

13 years agoVerify that the default location is valid.
David ‘Bombe’ Roden [Tue, 16 Aug 2011 22:24:56 +0000 (00:24 +0200)]
Verify that the default location is valid.

13 years agoFix HTML in dialog.
David ‘Bombe’ Roden [Tue, 16 Aug 2011 21:51:35 +0000 (23:51 +0200)]
Fix HTML in dialog.

13 years agoRename option.
David ‘Bombe’ Roden [Tue, 16 Aug 2011 21:51:27 +0000 (23:51 +0200)]
Rename option.

13 years agoAdd title to confirmation dialog.
David ‘Bombe’ Roden [Tue, 16 Aug 2011 21:33:30 +0000 (23:33 +0200)]
Add title to confirmation dialog.

13 years agoAdd title to confirmation dialog.
David ‘Bombe’ Roden [Tue, 16 Aug 2011 21:21:26 +0000 (23:21 +0200)]
Add title to confirmation dialog.

13 years agoUnify copyright file headers, update years to include 2011.
David ‘Bombe’ Roden [Tue, 16 Aug 2011 20:34:26 +0000 (22:34 +0200)]
Unify copyright file headers, update years to include 2011.

13 years agoAdd javadoc.
David ‘Bombe’ Roden [Tue, 16 Aug 2011 20:24:15 +0000 (22:24 +0200)]
Add javadoc.

13 years agoTurn ok-cancel dialog into yes-no-cancel dialog.
David ‘Bombe’ Roden [Tue, 16 Aug 2011 20:17:22 +0000 (22:17 +0200)]
Turn ok-cancel dialog into yes-no-cancel dialog.

This finally resolves #176.

13 years agoAdd German translation.
David ‘Bombe’ Roden [Tue, 16 Aug 2011 19:37:17 +0000 (21:37 +0200)]
Add German translation.

13 years agoShow name and location of configuration file to be overwritten.
David ‘Bombe’ Roden [Tue, 16 Aug 2011 19:37:12 +0000 (21:37 +0200)]
Show name and location of configuration file to be overwritten.

13 years agoAdd options for configuration file location.
David ‘Bombe’ Roden [Tue, 16 Aug 2011 19:28:29 +0000 (21:28 +0200)]
Add options for configuration file location.

This commit includes several changes: the configuration does not know
itself anymore where it was loaded from, the ConfigurationLocator is now
used for that. The preferences page does not need access to the
configuration anymore. Finally, the lock file has been removed; now, when
saving a configuration file would overwrite an existing configuration file,
the user is asked for permission.

13 years agoLocator for the configuration file.
David ‘Bombe’ Roden [Tue, 16 Aug 2011 19:22:01 +0000 (21:22 +0200)]
Locator for the configuration file.

13 years agoAdd JAR file location preferences on preferences page.
David ‘Bombe’ Roden [Tue, 14 Jun 2011 18:37:37 +0000 (20:37 +0200)]
Add JAR file location preferences on preferences page.

13 years agoLocate the configuration file on startup.
David ‘Bombe’ Roden [Tue, 14 Jun 2011 18:37:10 +0000 (20:37 +0200)]
Locate the configuration file on startup.

13 years agoAdd accessors for the configuration file location.
David ‘Bombe’ Roden [Tue, 14 Jun 2011 18:36:48 +0000 (20:36 +0200)]
Add accessors for the configuration file location.

13 years agoAdd enumeration for location of the configuration file.
David ‘Bombe’ Roden [Tue, 14 Jun 2011 18:36:39 +0000 (20:36 +0200)]
Add enumeration for location of the configuration file.

13 years agoAdd a comment.
David ‘Bombe’ Roden [Thu, 9 Jun 2011 19:58:31 +0000 (21:58 +0200)]
Add a comment.

13 years agoChange selected node when the port number changes.
David ‘Bombe’ Roden [Thu, 9 Jun 2011 19:58:24 +0000 (21:58 +0200)]
Change selected node when the port number changes.

This fixes #185.

13 years agoDeleting the selected node will now selected another node.
David ‘Bombe’ Roden [Thu, 9 Jun 2011 19:54:23 +0000 (21:54 +0200)]
Deleting the selected node will now selected another node.

This fixes #184.

13 years agoPrevent deletion of the last node.
David ‘Bombe’ Roden [Thu, 9 Jun 2011 19:33:04 +0000 (21:33 +0200)]
Prevent deletion of the last node.

This fixes #183.

13 years agoOnly allow files in the root directory to be selected as index files.
David ‘Bombe’ Roden [Thu, 9 Jun 2011 19:22:38 +0000 (21:22 +0200)]
Only allow files in the root directory to be selected as index files.

This fixes #116.

13 years agoSet an error code if project was not inserted successfully.
David ‘Bombe’ Roden [Thu, 9 Jun 2011 18:54:54 +0000 (20:54 +0200)]
Set an error code if project was not inserted successfully.

This fixes #47.

13 years agoIgnore “build” and “dist” directories.
David ‘Bombe’ Roden [Sat, 9 Jul 2011 13:19:18 +0000 (15:19 +0200)]
Ignore “build” and “dist” directories.

13 years agoThrow an exception when the node is not connected.
David ‘Bombe’ Roden [Thu, 9 Jun 2011 16:31:41 +0000 (18:31 +0200)]
Throw an exception when the node is not connected.

13 years agoActually use debug flag for javac task.
David ‘Bombe’ Roden [Thu, 9 Jun 2011 16:22:46 +0000 (18:22 +0200)]
Actually use debug flag for javac task.

13 years agoFix typo.
David ‘Bombe’ Roden [Sun, 15 May 2011 16:40:55 +0000 (18:40 +0200)]
Fix typo.

Thanks to sethcg for noticing.

13 years agoDon’t get confused by “--config-file” parameter.
David ‘Bombe’ Roden [Wed, 26 Jan 2011 06:16:12 +0000 (07:16 +0100)]
Don’t get confused by “--config-file” parameter.

13 years agoAdd “--config-file” parameter to CLI. Fixes #65.
David ‘Bombe’ Roden [Wed, 26 Jan 2011 05:20:32 +0000 (06:20 +0100)]
Add “--config-file” parameter to CLI. Fixes #65.

14 years agoUse Closer.close() for various resources.
David ‘Bombe’ Roden [Wed, 1 Sep 2010 17:53:49 +0000 (19:53 +0200)]
Use Closer.close() for various resources.

14 years agoAdd @SuppressWarnings annotation.
David ‘Bombe’ Roden [Wed, 1 Sep 2010 17:53:39 +0000 (19:53 +0200)]
Add @SuppressWarnings annotation.

14 years agoAdd progress listener that displays the progress of the upload.
David ‘Bombe’ Roden [Wed, 1 Sep 2010 17:53:27 +0000 (19:53 +0200)]
Add progress listener that displays the progress of the upload.

14 years agoHand down progress listener.
David ‘Bombe’ Roden [Wed, 1 Sep 2010 17:52:36 +0000 (19:52 +0200)]
Hand down progress listener.

14 years agoAdd progress listener interface to copy operation.
David ‘Bombe’ Roden [Wed, 1 Sep 2010 17:16:43 +0000 (19:16 +0200)]
Add progress listener interface to copy operation.

14 years agoThe name of the index file must not be empty if an index is to exist.
David ‘Bombe’ Roden [Wed, 25 Aug 2010 19:11:33 +0000 (21:11 +0200)]
The name of the index file must not be empty if an index is to exist.