Commit Graph
28 Commits
Author SHA1 Message Date
Rune Henriksen 8c6cfdff97 updated http status codes on many ReportClientError calls to explicitly state what is wrong 2018-02-25 15:05:23 +01:00
Rune Henriksen 7975a9ad8c delete on unknown backup id should return 404 2018-02-18 03:29:27 +01:00
Pectojin f6242e3774 Added an overloaded AddTask method that allows tasks to skip the queue and updated the api call backup/<id>/run to skip the queue to correspond with the expectation of the 'Run now' button in the UI 2018-02-03 04:17:10 +01:00
Tyler Gill 83a1dcfb64 Replace all instances of InvariantCultureIgnoreCase with OrdinalIgnoreCase in string comparisons.
InvariantCulture is useful when comparing / sorting human language strings in a culturely correct way. It handles things like accented letters in a way that makes sense to humans (e.g., 'a' should be sorted next to 'á', rather than after 'z').
Ordinal looks just at the raw code points of the characters. As such, it is recommended for use in cases when comparing system strings (file paths, command line parameters, config settings, etc.). Since it doesn't need to use the culture specific sorting rules, this method can often be faster.

For more information, see https://stackoverflow.com/questions/492799/difference-between-invariantculture-and-ordinal-string-comparison (and other related questions)
2017-09-18 23:55:08 -06:00
Kenneth Skovhede 8e9acddab8 Work on commandline 2017-03-29 09:53:28 +02:00
Kenneth Skovhede 7f4c9383c3 Merge branch 'feature/set_tempdir_for_sqlite' 2017-01-25 21:16:45 +01:00
Kenneth Skovhede 1424be05f9 Fixed a bunch of typos.
This fixes #2278.
2017-01-23 22:12:24 +01:00
Kenneth Skovhede 3b4cd3c9c2 Experiment to set the SQLite temp folder, both through the environment variable and the deprecated pragma statement 2017-01-15 23:09:47 +01:00
Kenneth Skovhede 9a849a2b58 Improved support for cross-os restores.
This fixes #1302
This fixes #1983
2017-01-06 23:01:54 +01:00
Kenneth Skovhede bff1fbc48b Fixed an issue where the "delete remote files" option was not honored.
This fixes #2147
2016-12-01 23:05:53 +01:00
Kenneth Skovhede 857c25d3e8 Fixed only checking for captcha when deleting remote files.
This fixes #2023
2016-10-17 18:15:40 +02:00
Kenneth Skovhede 71933b2674 Added serverside validation of backups on save/update 2016-10-14 00:15:49 +02:00
Kenneth SkovhedeandGitHub 17e2a3dab4 Feature/add delete dialog (#2008)
Added a delete page with options to delete the local database, as well as the remote files.
Added a captcha to protect against automated attacks that would attempt to delete the remote files.

This fixes #1201
2016-10-13 21:45:31 +02:00
Kenneth Skovhede 0c68daff6c Fixed all whitespace to be 4 spaces instead of tabs 2016-09-15 11:39:27 +02:00
4m1g0 4456adc433 Fix restore remote backup, bug introduced in: 6096d8379b 2016-09-12 13:36:08 +02:00
Kenneth Skovhede 5e90086af9 Merge branch 'feature/fix_plussigns_in_path_from_ui' 2016-09-01 11:38:54 +02:00
Kenneth Skovhede 6096d8379b Sending list of paths to restore as a JSON array from UI.
This fixes #1908
2016-08-31 19:37:38 +02:00
Kenneth Skovhede ed43742c2f Removed double un-escaping of the paths sent from the webui.
This fixes #1878
2016-08-31 17:34:13 +02:00
Kenneth Skovhede e15d41654e Added compact feature to the UI.
This fixes #1867
2016-08-04 14:31:49 +02:00
Kenneth Skovhede 38ef186201 Implemented error message if user attempts to restore from an encrypted store without a passphrase. 2016-02-10 17:18:48 +01:00
Kenneth Skovhede 6e409387c9 Fixed issue with path filters being distorted on Windows 2016-02-10 16:37:10 +01:00
Kenneth Skovhede 768896c35d Correctly url decoding the incoming path when listing files for the restore dialog.
This should fix issue #1465.
2015-12-26 22:42:07 +01:00
Kenneth Skovhede bcf9985ee8 Added web-interface support for changing the local database for a backup 2015-12-08 20:42:53 +01:00
Kenneth Skovhede 50cd64f3a3 Minor consistency fixes to the rest api error reporting 2015-12-03 21:57:08 +01:00
Kenneth Skovhede 73ddca0907 Various bug-fixes for the REST API + a new cache for querying completed task status 2015-10-04 17:14:51 +02:00
Kenneth Skovhede 0bfe3daac4 Fixed issues with the REST interface 2015-08-26 12:38:27 +01:00
Kenneth Skovhede 6dac0f3c2e Fixed an invalid line-ending character 2015-08-05 13:51:56 +02:00
Kenneth Skovhede 1f35824317 Converted to REST based API, with a wrapper layer for control.cgi so the current UI still works. 2015-07-30 14:31:27 +02:00