Commit Graph
52 Commits
Author SHA1 Message Date
Rune Henriksen 524210d3a9 Added a missing option for minutes in the regex 2020-02-12 00:58:05 +01:00
Rune Henriksen 211bced996 codacy compliance 2019-05-25 20:45:11 +02:00
Rune Henriksen f00b98852c Test that retention policy is a valid pattern 2019-05-23 19:13:08 +02:00
verhoek ed27eb52ad Suppress passphrase input on restore when backup set was unencrypted. 2018-11-21 09:55:56 +01:00
verhoek 1f8c7fab87 Misc refactoring. 2018-11-20 12:57:31 +01:00
verhoek ad578ea195 Modded AngularJS code to hide the passphrase dialogue in case GPG asymmetric encryption is chosen. 2018-11-19 20:27:08 +01:00
verhoek b6c8c5b5b8 Removed unnecessary requirement of passphrase for asymmetric GPG encryption. 2018-11-19 17:27:11 +01:00
Mikael Mello 91bdf4be63 Make description an optional field for backups
Checks whether it has been set and acts accordingly to avoid exceptions

Update migration to initialize all existent rows to Description=''.

Note that after some research, default values for TEXT columns were not
supported by MySQL a few years ago, however Duplicati uses SQLite
which seems to fully support this feature. If not, a workaround is to use:

ALTER TABLE "Backup" ADD COLUMN "Description" TEXT NULL;
UPDATE "Backup" SET "Description"='' WHERE "Description" IS NULL;
ALTER TABLE "Backup" ALTER COLUMN "Description" TEXT NOT NULL;
2018-10-17 09:02:39 -03:00
Rune Henriksen 002b2ba0b7 added an upper bound to the length of password sent to zxcvbn to avoid it freezing the browser for prolonged periods of time 2018-04-22 13:48:39 +02:00
Tyler Gill cdf98e516f Remove default filter UI. 2018-03-22 17:40:45 -06:00
Daniel Radünz 6fa2b47894 Fix custom retention check to better support "U" parameter
Check for finding first colon failed when using the rule "U:1D" due to the first colon being the second character and not the third
2018-03-04 15:21:19 +01:00
Daniel Radünz cf9aa1d299 Fixes issue #3075
IE 11 and lower doesn't support ECMAScript 2015 Default Parameters
2018-03-04 15:14:38 +01:00
Daniel Radünz 880732d8b0 Fixes issue #3055 2018-02-21 21:11:49 +01:00
Kenneth Skovhede 639a7dc892 Added basic retention to the UI.
This covers #2084 but with a simpler UI than what is proposed.
2018-01-22 23:42:31 +01:00
davegold24andGitHub 623ec7e0e5 Update EditBackupController.js 2017-11-05 13:46:10 -05:00
Tyler Gill b2450319f5 Update the web UI to support the default filter options, including import and export. 2017-09-18 23:08:07 -06:00
Kenneth Skovhede 1198feeadb Added checks to purge invalid values in the AllowedDays array.
Added UI logic to show "no days" as "all days".
2017-03-22 23:28:10 +01:00
Kenneth Skovhede b05b13b21c Merge branch 'feature/importing_allows_editing_setup' 2017-02-27 10:16:16 +01:00
Kenneth Skovhede e333c14236 Changed the import functionality to load the imported backup into the "Add" view, such that it can be changed before being imported.
Also added support for restoring from an exported configuration file, by loading the values into the restore-direct view.
This adds support for importing a configuration file stored on a remote destination as mentioned in #2282.
This fixes #2321
This fixes #1311
2017-02-27 00:03:46 +01:00
Kenneth Skovhede 51b4d4e8d1 Fixed an issue with editing the scheduled days on an existing backup.
This fixes #2324
2017-02-26 23:39:16 +01:00
Kenneth Skovhede cba12b9d28 Added support for server modules, that is modules that expose options to the user interface 2017-01-25 12:01:01 +01:00
Kenneth Skovhede e2074dcb86 Added check to ensure advanced options are expanded by default if the backup contains advanced options.
Otherwise they would be hidden by default, making it harder to understand what was happening.
2016-11-27 12:02:34 +01:00
tudacs ef20c66f15 Fix #2132 by testing on null
This fix might not be the 'angular'-way.
2016-11-22 20:33:42 +01:00
Kenneth Skovhede e051477dd6 Added workaround to prevent switching pages when then validation succeeds 2016-11-08 13:35:08 +01:00
Kenneth Skovhede 7e7c364619 Re-ordered the check chain to make sure the destination URL validation is executed before the encryption check, as the encryption check needs the target URL.
This fixes #2110
2016-11-08 13:34:15 +01:00
agrajaghh 9b885e6706 use textarea for copy dialog 2016-10-29 14:34:07 +02:00
agrajaghh b396385701 add extra step for backup destination 2016-10-21 17:57:51 +02:00
agrajaghh 86637ff6ae just show password strength if the password fields are not empty 2016-10-19 17:43:58 +02:00
agrajaghh b299085840 fix string 2016-10-14 19:55:53 +02:00
Kenneth Skovhede bc55763339 Updated client-side validation of backup attributes.
This fixes #1627
2016-10-14 00:16:47 +02:00
agrajaghh 2a259ee81f remove parts of old Localization 2016-10-02 16:55:25 +02:00
agrajaghh a1d5a49636 simple js replacement 2016-10-02 15:56:53 +02:00
Kenneth Skovhede 4015e6b608 Added a default value when the user enables "Skip files larger than". 2016-09-20 15:36:39 +02:00
Kenneth Skovhede 0e76547b26 Implemented localization across all files in the ngax UI. 2016-09-19 22:09:50 +02:00
Kenneth Skovhede 0c68daff6c Fixed all whitespace to be 4 spaces instead of tabs 2016-09-15 11:39:27 +02:00
Kenneth Skovhede 166ceea586 Added case-insensitive handling for size dropdowns.
Added extended parsing to support --exclude-file-attributes where parts of the option is in the UI, and other parts are in advanced options.
This fixes #1643
2016-06-24 14:25:47 +02:00
Troels BlumandKenneth Skovhede 4147f3b4aa Added scope to pre and post validation 2016-04-21 16:00:02 +02:00
Troels BlumandKenneth Skovhede 312d195aac Adding hook to save button on backup creation 2016-04-21 15:58:19 +02:00
Kenneth Skovhede a585fad261 Fixed loading and saving the extra filter settings.
This fixes issue #1643
2016-03-27 16:03:08 +02:00
Kenneth Skovhede d591dc7d73 Fixed the logic for selecting the backup expiration.
Fixed #1626
2016-03-14 10:33:49 +01:00
Kenneth Skovhede 53ef8e90dd Fixed #1625 where the internal options were also sent to advanced options 2016-03-14 10:32:39 +01:00
Kenneth Skovhede 1d417eb085 Pedantic style fixes to javascript 2016-03-14 10:31:20 +01:00
Kenneth Skovhede f3acf064bd Implemented selection of cleanup intervals in ngax.
This fixes #1514 and #1612
2016-03-13 15:32:26 +01:00
Kenneth Skovhede 3320537d17 Added a number of sanity checks for saving a backup 2015-12-08 23:40:30 +01:00
Kenneth Skovhede 3eee45dcd6 Trailing semicolon fix 2015-12-08 21:01:15 +01:00
Kenneth Skovhede dfdb49ec27 Added check for existing database with ngax 2015-12-08 20:39:47 +01:00
Kenneth Skovhede 1944c2ad0e Removed usage of alert() and confirm() in ngax, and replaced with a dialogservice 2015-12-08 20:38:16 +01:00
Kenneth Skovhede 42376b44d6 Implemented more user-friendly editing for advanced options in ngax 2015-12-07 22:03:40 +01:00
Kenneth Skovhede 1570d6d881 Implemented the about dialog.
Implemented the log dialog for system log and individual log.
Fixed some minor issues in the code.
Still needs the import/export dialogs and a notification system.
2015-11-28 21:52:00 +01:00
Kenneth Skovhede e03314db1d Copy passphrase into repeatpasshrase to avoid mismatch warnings on edit 2015-09-23 12:16:33 +02:00