Commit Graph

623 Commits

Author SHA1 Message Date
Tim 29db2f1fb7
Better late than never 2022-02-01 10:10:57 +00:00
Daniel Martin fce6b47127 Fix a few service bugs 2022-01-16 13:15:09 +00:00
Daniel Martin b5b510b2ed More fixes 2021-04-25 05:15:37 +00:00
Tim Bentley aade849aca End of 2020 - Just change the Year! 2020-12-30 21:42:49 +00:00
Fernando Quant ae5c5b204a Fix theme api 2020-10-28 04:06:56 +00:00
Daniel 5dea23662a Fix web api issue and crash with small theme
Potentially fixes some other issues we didn't know about too...
This just stops anything interfering with creating slides,
and stops fetching the slides halfway through processing
2020-10-09 06:26:28 +00:00
Raoul Snyman 47261d206b
Try to fix some font issues
- Closes #39
2020-10-04 23:22:31 -07:00
Daniel 59c0aba7fb Set default header and footer areas if not overridden
Do this every time the theme is read from file or the display resolution changes
2020-07-01 16:12:00 +00:00
Daniel b4648ee618 Fix preview flicker
fixes #553
This line is not needed as the display will move
to the first slide by default.
2020-05-25 05:01:12 +00:00
Mattias Põldaru e95ee62574 Fix errors in translatable texts. 2020-05-05 18:17:21 +00:00
Tim Bentley 42e6640339 Cleanups, add missing theme functionality 2020-04-09 21:55:27 +00:00
Fernando Quant 5e4559cdb3 Added basic theme API 2020-04-01 18:26:57 +00:00
Tim Bentley 3dcac055be Migrate Media and add Pytest-qt
Signed-off-by: Tim <tim.bentley@gmail.com>
2020-02-09 20:24:05 +00:00
Tomas Groth d9b65d8873 Made the stream selector a lightweight version of the VLC capture device selector. Still some work to do. 2020-02-04 20:35:35 +00:00
Tim Bentley 6ea4893ad6 Change Year
Signed-off-by: Tim <tim.bentley@gmail.com>
2020-01-01 02:53:08 +00:00
Raoul Snyman 68f37e635a
Fix exception thrown due to a form not existing yet
- Fix an issue where an exception was thrown because the theme progress form didn't exist yet
- Refactor a few things
- Fix other tests
- Add a test for wait_for
2019-12-18 09:13:45 -07:00
Daniel 7c4d9a5ffd Time out after 10 seconds in wait till loaded fn
also fixes comment, update_preview_images() does not handle the timeout case but in reality it should never happen. (just in the case it does, it won't stall the whole application)
2019-12-03 17:30:35 +00:00
Daniel f8ae9cf719 Change theme_list in theme manager to a dictionary containing the theme objects
This prevents the need to read the theme file every time it's data is needed.
2019-12-02 18:07:41 +00:00
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