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

14 years agoDon’t warn about no files to insert when there are actually just no file options.
David ‘Bombe’ Roden [Wed, 25 Aug 2010 19:11:05 +0000 (21:11 +0200)]
Don’t warn about no files to insert when there are actually just no file options.

14 years agoSet version to 0.9.2. 0.9.2
David ‘Bombe’ Roden [Thu, 17 Jun 2010 18:09:55 +0000 (20:09 +0200)]
Set version to 0.9.2.

14 years agoSet homepage edition to 11.
David ‘Bombe’ Roden [Thu, 17 Jun 2010 18:09:50 +0000 (20:09 +0200)]
Set homepage edition to 11.

14 years agoShow different message when the insert was aborted, add dialog titles.
David ‘Bombe’ Roden [Thu, 17 Jun 2010 17:54:41 +0000 (19:54 +0200)]
Show different message when the insert was aborted, add dialog titles.

14 years agoImplement cancelling the insert when the “cancel” button is pressed.
David ‘Bombe’ Roden [Thu, 17 Jun 2010 17:54:19 +0000 (19:54 +0200)]
Implement cancelling the insert when the “cancel” button is pressed.

14 years agoExpose whether the insert is currently running.
David ‘Bombe’ Roden [Thu, 17 Jun 2010 17:53:37 +0000 (19:53 +0200)]
Expose whether the insert is currently running.

14 years agoAdd possibility to stop a running insert.
David ‘Bombe’ Roden [Thu, 17 Jun 2010 17:47:54 +0000 (19:47 +0200)]
Add possibility to stop a running insert.

14 years agoSet version to 0.9.1. 0.9.1
David ‘Bombe’ Roden [Mon, 7 Jun 2010 15:27:21 +0000 (17:27 +0200)]
Set version to 0.9.1.

14 years agoIncrease edition of jSite homepage to 10.
David ‘Bombe’ Roden [Mon, 7 Jun 2010 15:23:21 +0000 (17:23 +0200)]
Increase edition of jSite homepage to 10.

14 years agoDo not encode the insert early.
David ‘Bombe’ Roden [Mon, 7 Jun 2010 15:23:14 +0000 (17:23 +0200)]
Do not encode the insert early.

14 years agoAdd “EarlyEncode” option to ClientPut* commands.
David ‘Bombe’ Roden [Mon, 7 Jun 2010 15:23:00 +0000 (17:23 +0200)]
Add “EarlyEncode” option to ClientPut* commands.

14 years agoFix bug #4109: Set the preferred size on the scroll pane, not on the list.
David ‘Bombe’ Roden [Mon, 7 Jun 2010 12:50:54 +0000 (14:50 +0200)]
Fix bug #4109: Set the preferred size on the scroll pane, not on the list.

14 years agoUpdate edition of homepage.
David ‘Bombe’ Roden [Sat, 30 Jan 2010 15:34:26 +0000 (16:34 +0100)]
Update edition of homepage.

14 years agoSet version to 0.9. 0.9
David ‘Bombe’ Roden [Sat, 30 Jan 2010 14:41:17 +0000 (15:41 +0100)]
Set version to 0.9.

14 years agoRe-enable the “preferences” menu item when navigating away from the preferences page.
David ‘Bombe’ Roden [Sat, 30 Jan 2010 14:36:25 +0000 (15:36 +0100)]
Re-enable the “preferences” menu item when navigating away from the preferences page.

14 years agoActivate the “previous” button on the preferences page.
David ‘Bombe’ Roden [Sat, 30 Jan 2010 14:36:06 +0000 (15:36 +0100)]
Activate the “previous” button on the preferences page.

14 years agoUpdate French translation.
David ‘Bombe’ Roden [Sat, 30 Jan 2010 14:35:39 +0000 (15:35 +0100)]
Update French translation.

14 years agoTranslate wizard buttons on the preferences page.
David ‘Bombe’ Roden [Sat, 30 Jan 2010 14:35:16 +0000 (15:35 +0100)]
Translate wizard buttons on the preferences page.

14 years agoRemove Italian and Polish translation.
David ‘Bombe’ Roden [Sat, 30 Jan 2010 14:34:25 +0000 (15:34 +0100)]
Remove Italian and Polish translation.

14 years agoFix compilation problem with javac.
David ‘Bombe’ Roden [Thu, 28 Jan 2010 10:53:46 +0000 (11:53 +0100)]
Fix compilation problem with javac.

14 years agoFire the “insert finished” event after updating the project.
David ‘Bombe’ Roden [Thu, 28 Jan 2010 09:04:09 +0000 (10:04 +0100)]
Fire the “insert finished” event after updating the project.

14 years agoFix name of OK button text property.
David ‘Bombe’ Roden [Sat, 23 Jan 2010 21:13:13 +0000 (22:13 +0100)]
Fix name of OK button text property.

14 years agoChange wording into something more meaningful.
David ‘Bombe’ Roden [Sat, 23 Jan 2010 20:28:20 +0000 (21:28 +0100)]
Change wording into something more meaningful.

14 years agoUse the general OK button text.
David ‘Bombe’ Roden [Sat, 23 Jan 2010 20:27:34 +0000 (21:27 +0100)]
Use the general OK button text.

14 years agoAdd check box and text field for “changed name” attribute.
David ‘Bombe’ Roden [Fri, 22 Jan 2010 21:24:54 +0000 (22:24 +0100)]
Add check box and text field for “changed name” attribute.

14 years agoCheck projects for duplicate file entries.
David ‘Bombe’ Roden [Fri, 22 Jan 2010 21:22:45 +0000 (22:22 +0100)]
Check projects for duplicate file entries.

14 years agoFix change detection to include “changed name” attribute.
David ‘Bombe’ Roden [Fri, 22 Jan 2010 21:22:28 +0000 (22:22 +0100)]
Fix change detection to include “changed name” attribute.

14 years agoDisable “insert redirect” checkbox on dialog creation.
David ‘Bombe’ Roden [Fri, 22 Jan 2010 21:19:56 +0000 (22:19 +0100)]
Disable “insert redirect” checkbox on dialog creation.

14 years agoFix change detection to include insert redirect attribute.
David ‘Bombe’ Roden [Fri, 22 Jan 2010 21:18:37 +0000 (22:18 +0100)]
Fix change detection to include insert redirect attribute.

14 years agoInclude field in file options that allows on-insert renaming.
David ‘Bombe’ Roden [Fri, 22 Jan 2010 15:02:04 +0000 (16:02 +0100)]
Include field in file options that allows on-insert renaming.

14 years agoFactor out project validation, re-order warning and error messages.
David ‘Bombe’ Roden [Fri, 22 Jan 2010 14:58:17 +0000 (15:58 +0100)]
Factor out project validation, re-order warning and error messages.

14 years agoFix a typo.
David ‘Bombe’ Roden [Fri, 22 Jan 2010 14:52:09 +0000 (15:52 +0100)]
Fix a typo.

14 years agoShow error when default file is not inserted.
David ‘Bombe’ Roden [Thu, 21 Jan 2010 15:17:00 +0000 (16:17 +0100)]
Show error when default file is not inserted.

14 years agoShow error when no files are selected for insertion.
David ‘Bombe’ Roden [Thu, 21 Jan 2010 15:16:45 +0000 (16:16 +0100)]
Show error when no files are selected for insertion.

14 years agoImplement way to not insert a file at all.
David ‘Bombe’ Roden [Thu, 21 Jan 2010 14:51:57 +0000 (15:51 +0100)]
Implement way to not insert a file at all.

14 years agoNotify user when the insert collided with the previous edition.
David ‘Bombe’ Roden [Thu, 21 Jan 2010 09:54:03 +0000 (10:54 +0100)]
Notify user when the insert collided with the previous edition.

14 years agoRemove some @Override annotations that clash with Java 1.5’s compiler.
David ‘Bombe’ Roden [Thu, 21 Jan 2010 09:43:18 +0000 (10:43 +0100)]
Remove some @Override annotations that clash with Java 1.5’s compiler.

14 years agoAdd some @Override annotations.
David ‘Bombe’ Roden [Thu, 21 Jan 2010 09:41:59 +0000 (10:41 +0100)]
Add some @Override annotations.