Commit Graph

281 Commits

Author SHA1 Message Date
Philip Ridout b384e6f2fa Convert some more utility fuctions over to using the pathlib 2017-08-12 18:45:56 +01:00
Tim Bentley c2321e7c10 Merge head 2017-08-03 18:54:40 +01:00
Philip Ridout 63bd98372a Move applocation over to using pathlib 2017-08-01 21:59:41 +01:00
Tim Bentley da51b046b2 Head 2017-06-09 16:56:40 +01:00
Tim Bentley 08a135de78 sort out ftw 2017-06-06 21:45:59 +01:00
Tim Bentley 6d375de3db move deploy and fix tests 2017-06-06 21:35:57 +01:00
Philip Ridout a24d5f8f15 TODO's TODOne, and a few other cleanups 2017-05-30 19:42:35 +01:00
Tim Bentley ef6252bf4b FTW working and UI Strings 2017-03-05 10:02:22 +00:00
Tim Bentley 7a72b2cad4 download and deploy works 2017-03-05 09:23:28 +00:00
Tim Bentley 5d917de2f8 Head 2017-03-03 19:27:31 +00:00
Tim Bentley 74ca42e220 Yet another year goes by 2016-12-31 11:01:36 +00:00
Tim Bentley 0d540ae40b Add remotes file checking 2016-12-24 09:10:13 +00:00
Tim Bentley 126c5462a0 Head 2016-12-22 15:12:03 +00:00
Tim Bentley 0643ecdd10 Remove extra self 2016-12-21 12:46:35 +00:00
Tim Bentley 7323b3797d missed one 2016-12-21 10:20:35 +00:00
Tim Bentley 7bd645bc72 pep8 2016-12-21 10:00:14 +00:00
Tim Bentley a368a1d695 Move urg_get_file 2016-12-20 21:59:40 +00:00
Tim Bentley 4008ed008f Move url size 2016-12-20 21:20:54 +00:00
Ken Roberts c35a2d1430 String conversions with templates part 1
- Fix string format key error in first time wizard from previous string conversion
- Fix projector pjlink1 test to use MagicMock
- Part 1 string conversions where format template is a string variable that's filled later
- Update projectordb test
- Fix a test on htmlbuilder string formatting
- Revert openlp/core/lib/htmlbuilder.py
- Convert renderer to use Template()
- Added test for renderer css
- Merge trunk and fix conflict
- Fix formatting in excep...
2016-08-10 19:29:21 +01:00
Ken Roberts 2f7a1ab456 Merge trunk 2016-08-05 12:41:22 -07:00
Tim Bentley ca2ceba972 Head 2016-07-23 05:59:26 +01:00
Tim Bentley 3a7aff9c0e migrate settings 2016-07-09 12:21:25 +01:00
Tomas Groth 8aa917c89c A bunch of fixes suggested by pylint. 2016-07-01 23:17:20 +02:00
Ken Roberts c8754c86aa Merge trunk fix conflict 2016-06-16 18:08:21 -07:00
Ken Roberts aedcecc7ff String format oops 2016-06-08 19:57:21 -07:00
Ken Roberts e222a11390 String format oops 2016-06-08 13:41:21 -07:00
Ken Roberts 598d715de6 Initial string conversions for variable templates 2016-06-03 17:15:19 -07:00
Ken Roberts 7f5096d0f9 core_lib files string conversions 2016-05-20 09:22:06 -07:00
Tim Bentley 6729ea9d19 move file 2016-04-05 19:33:50 +01:00
Tim Bentley 3a8b068af8 Year older 2015-12-31 22:46:06 +00:00
Jonathan Springer 7af1ca1d49 Migrate to PyQt5 2015-11-06 19:49:40 -05:00
Ken Roberts fd81d2d80a Fix thumbnail download blocking events 2015-02-19 07:34:09 -08:00
Ken Roberts 80055b7ec0 Fix ftw socket.timeout bug 1422683 2015-02-17 13:27:51 -08:00
Phill Ridout e35a1d7763 head 2015-02-12 21:35:26 +00:00
Phill Ridout 08e1404ffb rename some of the unpacked vars 2015-02-08 18:38:47 +00:00
Phill Ridout b6493bebbf Final Fixes 2015-02-02 22:04:30 +00:00
Phill Ridout b8838f496a Modified download hashing 2015-02-02 19:25:34 +00:00
Phill Ridout 6d2b1d958e Better handle failed downloads 2015-01-31 21:52:02 +00:00
Tomas Groth 10d25f8173 Added a cancel-button to FTW when no internet is available. Fixes bug 1410738
Fixes: https://launchpad.net/bugs/1410738
2015-01-27 15:52:18 +01:00
Phill Ridout 7fda8043f5 Improve translation string
Fixes: https://launchpad.net/bugs/1412234
2015-01-20 21:38:34 +00:00
Raoul Snyman de213b0f66 Copyright cleanup time,
bzr-revno: 2479
2015-01-19 08:34:29 +00:00
Raoul Snyman ffcea13021 Updated the copyright. 2015-01-18 15:39:21 +02:00
Ken Roberts 6be873bd91 spelling 2015-01-14 07:38:50 -08:00
Ken Roberts 9551920821 Catch network error in FTW 2015-01-13 11:03:05 -08:00
Tim Bentley f3c09af379 Years go by 2014-12-31 10:58:13 +00:00
Raoul Snyman ba81146093 Fix a bug inadvertently introduced in the merge conflict. 2014-12-14 22:37:24 +02:00
Raoul Snyman 5742f7546e Fixed up merge conflicts. 2014-12-12 22:57:42 +02:00
Raoul Snyman 34406385fb HEAD 2014-11-26 22:50:54 +02:00
Raoul Snyman a517ed5fea [refactor] Remove the progress bar on the first download page, and update the label to be slightly more descriptive
[fix] Hide the back button on the plugins page so that folks can't go back and re-download the config file
2014-11-26 22:02:48 +02:00
Tomas Groth e3bd817c5b Merge with trunk 2014-11-26 09:04:09 +00:00
Tomas Groth 5b794e5762 Added small pause before connection retry 2014-11-24 19:38:15 +00:00
Tomas Groth 0af6dc8eea Always retry on connection failure. 2014-11-23 20:52:16 +00:00
Tim Bentley 4fb0e43c04 New start old bugs 2014-11-20 06:58:33 +00:00
Tomas Groth 75960ac8da When bible or song plugin is disabled in FTW don't show download for those plugins in FTW. Fixes bug 1194622.
Fixes: https://launchpad.net/bugs/1194622
2014-11-11 14:58:03 +01:00
Raoul Snyman 14377f3329 [refactor] Renamed "was_download_cancelled" to "was_cancelled"
[refactor] Put some more stuff back into initalise() where it belongs
[refactor] Rewrote old tests, wrote new tests
2014-11-08 23:15:25 +02:00
Raoul Snyman 4f4c76ae8b [fix] Don't exit OpenLP when you cancel the FRW from the Tools menu 2014-11-08 21:25:06 +02:00
Raoul Snyman dec7390ef5 [bug 1389571] Use Qt threads properly, and kick off a separate thread for each download.
[fix] Finally fixed the "configuring OpenLP" page by adding headers
[refactor] Make the Wizard start up faster by only downloading the config file after the wizard has started
2014-11-08 01:46:18 +02:00
Tomas Groth 48c561e34b Made the FTW able to handle if the downloaded config file is invalid.
Fixes: https://launchpad.net/bugs/1222944
2014-11-07 10:32:45 +01:00
Raoul Snyman 435a299b19 First (failed) stab at using threads correctly. 2014-11-06 23:08:56 +02:00
Tomas Groth f685572da2 Improved FTW handling of connection issues 2014-11-06 14:19:00 +01:00
Raoul Snyman 39fa2641af Fixed up an import statement 2014-11-01 12:38:33 +02:00
Raoul Snyman 9f1638959e Fix some more instances of button text 2014-11-01 12:35:54 +02:00
Raoul Snyman 108e3b6687 Forgot to catch the cancel_wizard_text refactor 2014-10-22 23:01:40 +02:00
Raoul Snyman 551a10d311 Added and updated tests:
- Refactored FirstTimeForm to use an initalise() method, in order to be more testable
- Rewrote FTW tests to test initialise()
- Refactored TestMixin get_application() to setup_application() since it doesn't actually return an application object
- Refactored ListPreviewWidget to make it more testable
- Wrote tests for ListPreviewWidget
- Refactored FormattingTagsForm somewhat
- Updated FormattingTagsForm tests

Updated setup.py with some Python3 changes.
2014-10-22 22:43:05 +02:00
Raoul Snyman 8065649158 Make the wizards look right on OS X 2014-08-23 00:12:35 +02:00
Tomas Groth d424270b7f Fixed locating mudraw on windows and mac, and enabled presentationplugin on mac. 2014-05-30 11:21:26 +02:00
Andreas Preikschat 4231692ae1 removed print 2014-05-02 08:34:57 +02:00
Andreas Preikschat 8fb086134e dead code, not used variables, docs, unused imports 2014-05-01 19:49:43 +02:00
Samuel Mehrbrodt 031868ae31 trunk 2014-04-21 11:49:17 +02:00
Jonathan Springer 51e43a9a52 Fix getting urls for first time wirard from config file. 2014-04-12 14:21:15 -04:00
Samuel Mehrbrodt adedb6eaeb Fix setDefaults -> set_defaults 2014-04-02 09:04:12 +02:00
Tim Bentley 5d9533947d Final set of PEP8 cleanups 2014-03-20 19:10:31 +00:00
Tim Bentley 30835067d3 fix trunk 2014-03-18 20:36:02 +00:00
Tim Bentley 9610be5cd0 Fix up comments 2014-03-17 19:05:55 +00:00
Tim Bentley 0a2456fa19 Finish adding RegistryProperties 2014-03-16 21:25:23 +00:00
Tim Bentley e6bcf7d852 Head and fix confilcts 2013-12-28 21:33:38 +00:00
Tim Bentley da08356f1c yet more clean ups 2013-12-24 15:55:01 +00:00
Tim Bentley 508d050b4c Head 2013-12-24 11:32:56 +00:00
Tim Bentley 6d8b5cadb4 Lib cleanup and 2014 2013-12-24 08:56:50 +00:00
Raoul Snyman 3204a4db72 - Specify OpenLP as the user agent when querying SF.net
- Fix another test
- Update tests for get_web_page
2013-12-20 21:25:42 +02:00
Tim Bentley cd9f9e4c8d move registry to common 2013-12-13 17:44:05 +00:00
Tim Bentley b9e2a2cdc1 Missed imports 2013-10-13 22:07:28 +01:00
Tim Bentley 63685cb29e Move Settings and translate 2013-10-13 21:36:42 +01:00
Tim Bentley a82c64237c Fix move of check_directory_exists 2013-10-13 18:23:52 +01:00
Tim Bentley b860abb23b fix fields 2013-10-13 16:52:04 +01:00
Tim Bentley 257fba8548 Start theme clean up 2013-10-13 14:51:13 +01:00
Andreas Preikschat 3e1a863bae 2to3 and resources.py 2013-08-31 20:17:38 +02:00
Andreas Preikschat 07039a4908 import clean up 2013-07-07 16:41:43 +02:00
Andreas Preikschat a3b99a6a5d removed fixme 2013-07-07 00:24:27 +02:00
Andreas Preikschat 022f899c10 added fixme 2013-07-06 23:20:46 +02:00
Andreas Preikschat 18c3574cfe more FTW fixes 2013-07-06 23:18:15 +02:00
Andreas Preikschat 04bbeead56 more fixes to the FTW 2013-07-06 23:06:45 +02:00
Andreas Preikschat e3148f7f1a more fixes to the FTW 2013-07-06 23:04:47 +02:00
Andreas Preikschat a2b7ebcc30 started to fix FTW 2013-07-06 22:56:13 +02:00
Andreas Preikschat b314b59b52 r2266 2013-07-04 08:41:31 +02:00
Andreas Preikschat 15c1c6d907 head + conflicts 2013-07-03 22:20:12 +02:00
Andreas Preikschat e75a87c5c9 head 2013-07-03 19:03:08 +02:00
Tim Bentley 26e80be5b7 Who forgot the return 2013-06-24 17:54:23 +01:00
Tim Bentley 4d1061f723 Clean up registry for application 2013-06-21 06:16:35 +01:00
Andreas Preikschat ad8e28fbe9 renames 2013-05-11 20:11:52 +02:00