Commit Graph

297 Commits

Author SHA1 Message Date
Phill 28591ed04a Change the settings upgrade code to handle versioned upgrades
Upgrade settings to store file paths and json encoded Path objects
Enable the json encoders/decoders to work with custom objects with defined json methods
Added in automatic backup before settings upgrade on superflys request


lp:~phill-ridout/openlp/pathlib4 (revision 2769)
[SUCCESS] https://ci.openlp.io/job/Branch-01-Pull/2184/
[SUCCESS] https://ci.openlp.io/job/Branch-02-Functional-Tests/2087/
[SUCCESS] https://ci.openlp.io/job...

bzr-revno: 2764
2017-09-04 21:28:50 -07:00
Philip Ridout 8f9cb4a090 Modify setting upgrade code to provide versioned updates. Upgrade settings to use JSON encoded Path objects 2017-08-26 16:06:11 +01:00
Jonathan Springer c6aa669ee8 merge trunk 2017-08-26 10:01:04 -04:00
Philip Ridout f8a68c23d0 Enable JSON to handle unsupported objects and tests 2017-08-25 21:03:25 +01:00
Philip Ridout 6ac671a5fa HEAD 2017-08-23 21:13:58 +01:00
Tim Bentley 9e8b16549c fix more tests 2017-08-12 21:58:16 +01:00
Tim Bentley 14bf5aaf9d fix more tests 2017-08-12 21:44:39 +01:00
Tim Bentley 25de11dd42 fix more tests 2017-08-12 21:19:15 +01:00
Tim Bentley b3cd5a7b3d fix tests 2017-08-12 20:22:09 +01:00
Tim Bentley e08440ea2f fix test 2017-08-12 20:14:56 +01:00
Philip Ridout b384e6f2fa Convert some more utility fuctions over to using the pathlib 2017-08-12 18:45:56 +01:00
Tim Bentley 63a5c3bd91 head 2017-08-11 21:47:52 +01:00
Philip Ridout 46b42c24e5 head 2017-08-04 19:02:23 +01:00
Philip Ridout 03bcc194ea Update the path edit component to use the pathlib module. Add a few utility methods 2017-08-04 18:40:57 +01:00
Tim Bentley c2321e7c10 Merge head 2017-08-03 18:54:40 +01:00
Jonathan Springer a7daffe54f merge trunk 2017-07-08 09:12:31 -04:00
Raoul Snyman b83452b2e5 Fix the import path of UiStrings 2017-07-04 16:13:51 -07:00
Raoul Snyman 7c0157ed4b Remove all instances of 'OpenLP 2' and 'OpenLP 2.4' and fix one entry to be more descriptive 2017-07-04 15:30:41 -07:00
Tim Bentley da51b046b2 Head 2017-06-09 16:56:40 +01:00
Philip Ridout c0f2a9a777 HEAD 2017-06-09 07:06:49 +01:00
Tim Bentley 1c4f335f23 head without some chords stuff! 2017-06-06 21:58:12 +01:00
Olli Suutari 48c6810f0c - Added a test for checking that next calls the next playlist item 2017-06-05 21:22:14 +03:00
Jonathan Springer f0d528954d merge trunk 2017-06-04 14:22:58 -04:00
Philip Ridout 2915a8f0e7 Head 2017-06-01 07:18:47 +01:00
Philip Ridout b2f5f2e9e2 test fixes 2017-05-30 20:40:01 +01:00
Philip Ridout a4ffbce6c3 HEAD 2017-05-30 19:50:39 +01:00
Philip Ridout a24d5f8f15 TODO's TODOne, and a few other cleanups 2017-05-30 19:42:35 +01:00
Jonathan Springer 238475845f Fix maindisplay macOS window flags test for changes 2017-05-29 13:26:42 -04:00
Tim Bentley 32668193c6 fix up tests 2017-05-24 20:31:48 +01:00
Tim Bentley 6fe9dfeb04 Head 2017-05-23 06:00:42 +01:00
Tim Bentley b7001116da start to fix tests 2017-05-23 05:59:35 +01:00
Philip Ridout cc705e1958 HEAD 2017-05-14 08:15:29 +01:00
Philip Ridout 748eb9cd0b Fix up test 2017-05-13 08:05:44 +01:00
Philip Ridout 353b2b3067 Implement a custom widget for editing paths 2017-05-12 22:05:50 +01:00
Raoul Snyman 335fed689d Last few tests with bad imports 2017-05-08 12:04:14 -07:00
Raoul Snyman baa09a7dd6 Mock comes with Python as of 3.3, and I don't think there is anyone using lower than 3.3, so let's use Python's mock directly now 2017-04-23 22:17:55 -07:00
Raoul Snyman 4f6afb71d1 Fix the author_type import properly 2017-03-27 22:15:05 -07:00
Tim Bentley 5d917de2f8 Head 2017-03-03 19:27:31 +00:00
Raoul Snyman f68336a49f Make the settings dialog as small as possible
Fixes: https://launchpad.net/bugs/1668669
2017-03-01 17:07:16 -07:00
Raoul Snyman 32328cfe6a Hide the Projectors manager by default so that it doesn't confuse people 2017-01-22 11:12:41 -07:00
Tim Bentley b532024401 Fix up comments in test 2017-01-11 20:15:55 +00:00
Tim Bentley ad788f5ee7 Fix up date in about form 2017-01-11 20:03:04 +00:00
Tim Bentley 74ca42e220 Yet another year goes by 2016-12-31 11:01:36 +00:00
Tim Bentley 126c5462a0 Head 2016-12-22 15:12:03 +00:00
Tim Bentley 5896e053bc Fix tests again 2016-12-21 09:52:05 +00:00
Tim Bentley a69df60978 Fix tests again 2016-12-21 09:47:33 +00:00
Tim Bentley 8570fb5e8c Fix tests 2016-12-21 09:41:57 +00:00
Tim Bentley 4008ed008f Move url size 2016-12-20 21:20:54 +00:00
Raoul Snyman c86d669346 Added a test 2016-12-15 23:29:29 +02:00
Raoul Snyman ddb92c3cd5 Fix a problem with the test 2016-12-13 21:50:34 +02:00