jSite.git
12 years agoUse StreamCopier from utils.
David ‘Bombe’ Roden [Tue, 28 Aug 2012 08:12:59 +0000 (10:12 +0200)]
Use StreamCopier from utils.

12 years agoUse Closer from utils.
David ‘Bombe’ Roden [Tue, 28 Aug 2012 08:09:30 +0000 (10:09 +0200)]
Use Closer from utils.

12 years agoUse Closer from utils.
David ‘Bombe’ Roden [Sun, 26 Aug 2012 20:37:38 +0000 (22:37 +0200)]
Use Closer from utils.

12 years agoUse MIME type detector from utils.
David ‘Bombe’ Roden [Sun, 26 Aug 2012 20:36:29 +0000 (22:36 +0200)]
Use MIME type detector from utils.

12 years agoUse XML classes from utils.
David ‘Bombe’ Roden [Sun, 26 Aug 2012 20:30:59 +0000 (22:30 +0200)]
Use XML classes from utils.

12 years agoUse IconLoader from utils.
David ‘Bombe’ Roden [Sun, 26 Aug 2012 20:24:15 +0000 (22:24 +0200)]
Use IconLoader from utils.

12 years agoAdd dependency on utils.
David ‘Bombe’ Roden [Sun, 26 Aug 2012 20:23:53 +0000 (22:23 +0200)]
Add dependency on utils.

12 years agoRemove ant build file.
David ‘Bombe’ Roden [Sun, 26 Aug 2012 17:01:42 +0000 (19:01 +0200)]
Remove ant build file.

12 years agoMavenize jSite.
David ‘Bombe’ Roden [Sun, 26 Aug 2012 16:57:20 +0000 (18:57 +0200)]
Mavenize jSite.

12 years agoFix calculation of project size.
David ‘Bombe’ Roden [Sun, 26 Aug 2012 11:39:58 +0000 (13:39 +0200)]
Fix calculation of project size.

12 years agoAdd warning if a project is larger than 2 MiBs.
David ‘Bombe’ Roden [Fri, 13 Jul 2012 09:25:13 +0000 (11:25 +0200)]
Add warning if a project is larger than 2 MiBs.

12 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Sun, 1 Apr 2012 17:26:38 +0000 (19:26 +0200)]
Merge branch 'master' into next

12 years agoMerge branch 'release-0.10' 0.10
David ‘Bombe’ Roden [Sun, 1 Apr 2012 16:30:06 +0000 (18:30 +0200)]
Merge branch 'release-0.10'

12 years agoUpdate edition of the jSite homepage.
David ‘Bombe’ Roden [Sun, 1 Apr 2012 11:49:51 +0000 (13:49 +0200)]
Update edition of the jSite homepage.

12 years agoSet version to 0.10.
David ‘Bombe’ Roden [Sun, 1 Apr 2012 11:41:58 +0000 (13:41 +0200)]
Set version to 0.10.

12 years agoRemove stdout debugging.
David ‘Bombe’ Roden [Sun, 1 Apr 2012 16:29:45 +0000 (18:29 +0200)]
Remove stdout debugging.

12 years agoTranslate “manifest putter” to German.
David ‘Bombe’ Roden [Sun, 1 Apr 2012 11:41:38 +0000 (13:41 +0200)]
Translate “manifest putter” to German.

12 years agoAdd missing French translation.
David ‘Bombe’ Roden [Tue, 27 Mar 2012 19:00:13 +0000 (21:00 +0200)]
Add missing French translation.

12 years agoFrench translation update by dagga.
David ‘Bombe’ Roden [Fri, 23 Mar 2012 04:53:37 +0000 (05:53 +0100)]
French translation update by dagga.

12 years agoFrench translation update from dagga.
David ‘Bombe’ Roden [Thu, 22 Mar 2012 20:27:21 +0000 (21:27 +0100)]
French translation update from dagga.

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 agoUpdate src/de/todesbaum/jsite/i18n/jSite_fr.properties
hernic [Mon, 19 Mar 2012 22:18:01 +0000 (23:18 +0100)]
Update src/de/todesbaum/jsite/i18n/jSite_fr.properties

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.