Commit Graph

966 Commits

Author SHA1 Message Date
Daniel b33d27f77c Fix theme combo box not showing at start
The theme combo box did not show when the currently rendered item
doesn't support the service/song theme levels.

This changes the theme combo box to use the theme level from the
settings rather than the currently rendered item.
2020-09-20 17:35:49 +00:00
Tim Bentley 28a7840b9f Merge branch 'dynamic_themes' into 'master'
Dynamic themes

See merge request openlp/openlp!200
2020-07-01 16:12:01 +00: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 f6b4f8229e scale service save progress increments to thousandths
(Progress bar size == 1000 rather than a potential int overflow using the file size)
2020-07-01 16:10:28 +00:00
Tim Bentley 6eba3b7a3e Settings cleanup 2020-06-06 16:05:36 +00:00
Tomas Groth 01fac492e9 A few image related fixes.
* Use the image itself as a thumbnail if none is available, fixes #547
 * Store the thumbnail path in service files, no matter if light or not.
 * Added convertion of image thumbnail to sha256 as part of DB upgrade.
2020-05-30 20:57:29 +00:00
Mattias Põldaru 2e58939382 Change preview/live left/right icons to up/down, as the slides are shown in preview, and just as keyboard shortcuts. 2020-05-26 20:29:05 +00:00
Tim Bentley 6876bbd531 Clean up Apis and remove duplicate files.
Add new API to help testings
2020-05-16 06:11:21 +00:00
Tomas Groth 937c6c3e81 New service file format 2020-05-07 05:18:37 +00:00
Tim Bentley da01b2a8f2 Api improvements 2020-04-26 21:37:35 +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
Daniel 122596c6fb Don't call a non existent function (create_slides on a service item)
There is a private fn prefixed with a "_", but it's not needed as it is run when required (hence the reason it's private). If the slide vars did need to be regenerated, `render_text_items` is the way to do it.
2020-03-09 04:05:20 +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
Tim Bentley 8e9cc53852 Migrate media to new style tests
Signed-off-by: Tim <tim.bentley@gmail.com>
2020-01-12 21:03:40 +00:00
Tim Bentley 6ea4893ad6 Change Year
Signed-off-by: Tim <tim.bentley@gmail.com>
2020-01-01 02:53:08 +00:00
Tim Bentley 35f7190e00 Try to fix paths in coverage report generation
- Add the local path to coverage config
- Fix the paths before generating an HTML report
2019-11-03 21:17:47 +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 a721250abd finish fixing the theme regeneration 2019-08-30 12:28:10 +01:00
Tim Bentley ff4dc581b4 fix setiing theme data 2019-08-25 12:37:34 +01:00
Tim Bentley 24ab4f2cb1 minor fixes 2019-08-04 14:13:33 +01:00
Tim Bentley df2ace541e fix missing state code 2019-07-31 22:01:22 +01:00
Tim Bentley edce402a60 fix up media for breakages 2019-06-11 19:40:20 +01:00
Tomas Groth 1d176515d0 merge trunk 2019-06-04 22:03:54 +02:00
Phill aaaab9bf43 Add media extensions in the service manager 2019-06-01 07:59:45 +01:00
Tomas Groth efdae7ab6f trunk 2019-05-29 21:22:52 +02:00
Phill c901ec3d75 Move suffixes from list to set, remove VlcPlayer.is_active as it was never ser 2019-05-24 23:11:11 +01:00
Tomas Groth e6baed1105 pep8 fixes 2019-05-23 22:30:46 +02:00
Phill 5482e70e6d Break out json and path refactors from fixes branch 2019-05-22 07:47:00 +01:00
Tomas Groth 3d8d573389 Always make sure the powerpoint slide index map is created 2019-05-21 22:07:25 +02:00
Phill 3ee9df96ae PEP8 2019-05-04 19:25:59 +01:00
Phill 15f3b0fcca Seperate some fixes out of annother branch 2019-05-04 10:13:29 +01:00
Bastian Germann be1a398f7b License change to GPL-3.0-or-later 2019-04-13 15:00:22 +02:00
Philip Ridout 8789073eb3 Linting changes 2019-03-17 20:35:11 +00: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 927b68dc95 Fix more tests 2019-02-13 20:41:10 +01:00
Tomas Groth a5443bf308 Quick fix for a traceback 2018-12-06 20:52:16 +01:00
Raoul Snyman e58e0ee485 Fix all the tests 2018-11-30 22:52:49 -07:00
Tomas Groth e7526f1e59 merge trunk 2018-10-30 20:46:55 +01:00
Raoul Snyman dc5a9590ba Fix up some more linting issues 2018-10-26 21:13:33 -07: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 aaef55106c Remove imports from openlp/core/ui/__init__.py and update related files 2018-08-25 16:36:46 +02: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 6f9d662064 Yet more updates 2018-05-08 20:45:34 +01:00
Tim Bentley cd011842a0 more bits 2018-05-06 21:11:06 +01:00
Tim Bentley 606efa47b9 more cleanups print finished 2018-04-21 06:47:20 +01:00