Commit Graph

605 Commits

Author SHA1 Message Date
Daniel 1ac6c052c7 Fix clone theme with missing background source 2019-11-02 07:14:10 +00:00
Raoul Snyman f606838641 Pre-select a screen as the display if there is no screen config
- Force the last screen in the list to be the display screen by default
- Always select the first screen in the widget
- Increase the size of the FTW so that it stops jumping in size
- Add some more tests for the widgets
- Refactored widgets tests into a single file
- Fix #302 properly
2019-11-02 06:21:23 +00:00
Raoul Snyman dd9701cb50 Fix issue #302 where theme previews were not being generated after the FTW
- Fix the theme preview generation to happen in the right place after the First Run Wizard
- Mock the settings in the DisplayWindow tests to see if that helps the Arch runner
- Add tests for the new form
2019-11-01 12:26:47 +00:00
Daniel c0aa199ac3 Add background_source to Theme and use it in the theme wizard
The theme wizard (while editing a theme) now changes both background_source and background_filename then sets filename to the new cache location on apply (also added the filename_source var to Theme). The new var is needed so when the user goes to change the theme again, they see the file they selected, not the cached one. This commit fixes the issue of changing theme backgrounds not deleting the cached file but deleting the original file.
2019-10-23 22:54:29 +00:00
Raoul Snyman 99d2ec7715 Create a Theme Preview dialog, plus some theme background fixes.
- Update .gitignore to ignore virtualenvs and eggs directory
- Create a dialog to generate theme previews/thumbnails
- Use theme preview generation dialog all over
- Create a test for the new method
- Update existing theme manager tests
- Skip Bible HTTP tests when in GitLab CI
- Make theme backgrounds scale and centred
2019-10-18 06:12:09 +00:00
Raoul Snyman 1e76868a23 Remove vim lines from files and add a .editorconfig for editors that support it 2019-10-10 15:28:16 +00:00
Tim Bentley df7ffc918a Translations 18082019 2019-08-18 10:15:51 +01:00
Tim Bentley d352d9bc41 Update the translation process files and fix issues 2019-08-17 12:08:17 +01:00
Tim Bentley df2ace541e fix missing state code 2019-07-31 22:01:22 +01:00
Tomas Groth 9966d8ace7 Missed a rename of _write_theme to save_theme. 2019-06-11 21:11:54 +02:00
Tomas Groth 04d3efef9e fix some broken tests 2019-06-07 23:05:02 +02:00
Tomas Groth f27fded597 Fix line calculation for the theme preview. Try to make VLC loading more robust. 2019-06-06 22:10:39 +02:00
Tomas Groth 7558fb6e64 Use a live webengine widget when previwing themes. 2019-05-28 22:37:50 +02:00
Phill 5482e70e6d Break out json and path refactors from fixes branch 2019-05-22 07:47:00 +01:00
Tim Bentley feaee351b2 head 2019-05-03 18:26:37 +01:00
Tim Bentley 656c1d3bfc fix pep8 2019-04-21 13:48:23 +01:00
Tim Bentley 0088fd4fe2 fix image theme editing 2019-04-21 07:25:46 +01:00
Bastian Germann be1a398f7b License change to GPL-3.0-or-later 2019-04-13 15:00:22 +02:00
Philip Ridout 50598e9058 pathlib cleanups 2019-03-10 21:01:39 +00:00
Philip Ridout c761592095 Catch some OSErrors to provide user friendly error messages. Few other minor fixes
Fixes: https://launchpad.net/bugs/1650910
2019-03-03 09:49:01 +00:00
Tomas Groth fa4ec96054 Updated to 2019 in copyright headers 2019-02-14 16:09:09 +01:00
Tomas Groth 5ac8bbc3f2 Even more pep8 fixes and removed the old htmlbuilder. 2019-02-13 22:19:24 +01:00
Tomas Groth 27f37df7e8 More pep8 fixes 2019-02-13 21:54:35 +01:00
Tomas Groth 27dfa68240 Fixed actual creation of themes. Thumbnail creation does not work yet. 2018-10-21 22:12:53 +02:00
Tomas Groth 66ce7db46f Fixed the theme layout preview and made preview widget scaling use HTML scaling. 2018-10-13 22:55:36 +02:00
Raoul Snyman aa3b0c4bcc HEAD 2018-10-01 21:39:42 -07:00
Raoul Snyman 37424b3b13 HEAD 2018-09-07 07:59:21 -07:00
Raoul Snyman 67e6806924 HEAD, plus loading screens from settings 2018-09-06 23:43:01 -07:00
Simon Hanna a4c1e306b5 Remote imports from openlp/core/lib/__init__.py and update other files accordingly 2018-08-25 16:08:19 +02:00
Tim Bentley 606efa47b9 more cleanups print finished 2018-04-21 06:47:20 +01:00
Raoul Snyman b521b9aeba HEAD 2018-04-11 09:08:34 -07:00
Tim Bentley 4760343899 fix up location of icons 2018-04-10 20:26:56 +01:00
Tim Bentley fdae4dc939 cleanups and more icons 2018-04-07 21:31:54 +01:00
Tim Bentley 154ca14120 more bits 2018-04-07 17:16:42 +01:00
Tim Bentley e6f7e107b8 fix string 2018-03-16 06:05:18 +00:00
Raoul Snyman b758bb2f52 Disable theme preview generation for now 2018-01-30 22:02:38 -07:00
Tim Bentley 41f35f52e3 End of 2017 2017-12-29 09:15:48 +00:00
Phill Ridout 7d0b841269 tidyups 2017-11-20 21:57:34 +00:00
Phill Ridout 9196db5af0 Pathlib refactors and test fixes 2017-11-18 11:23:15 +00:00
Phill Ridout 94dd107abe Changed merged errors
Fixes: https://launchpad.net/bugs/1400415
2017-11-03 20:55:41 +00:00
Raoul Snyman d5ab3340eb Move widgets to a widgets module 2017-10-23 15:09:57 -07:00
Raoul Snyman b406cfd5a8 Phase 1 complete 2017-10-07 00:05:07 -07:00
Philip Ridout dfcd95b9d9 pep fixes 2017-09-26 18:02:56 +01:00
Philip Ridout 10b13872e5 Modify themes to work with pathlib 2017-09-26 17:39:13 +01:00
Philip Ridout 7f98003d54 test fixes 2017-09-17 20:43:15 +01:00
Philip Ridout 05e0f42859 Pylint fixes 2017-08-26 17:50:54 +01: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
Philip Ridout f8a68c23d0 Enable JSON to handle unsupported objects and tests 2017-08-25 21:03:25 +01:00
Philip Ridout b384e6f2fa Convert some more utility fuctions over to using the pathlib 2017-08-12 18:45:56 +01:00
Philip Ridout e6faf233ed Merge fixes 2017-08-07 21:50:01 +01:00