Commit Graph

977 Commits

Author SHA1 Message Date
Tim 29db2f1fb7
Better late than never 2022-02-01 10:10:57 +00:00
Tomas Groth bfce3db902 A few bug fixes 2022-01-21 07:49:55 +00:00
Daniel Martin fce6b47127 Fix a few service bugs 2022-01-16 13:15:09 +00:00
Raoul Snyman fca5052b24
Fix loading the previous service as a str instead of a Path
- Fixes #839
- Wrote a whole bunch of tests
2021-09-16 16:59:03 -07:00
Raoul Snyman 10f325d1dd
Fix #881 by setting changing the 'replace' argument to be the position of the item to be replaced 2021-09-01 22:35:11 -07:00
Raoul Snyman 4d3ade20c7
Add support for folders to plugins
- Make a derivative MediaManagerItem class for generic folder support
- Make add and choose folder dialogs based on image plugin dialogs
- Implement folder and item mixins to get db models "for free"
- Implement database layer for media plugin
- Implement database layer for presentations plugins
- Refactor media plugin to inherit from FolderLibraryItem
- Refactor presentations plugin to inherit from FolderLibraryItem
- Migrate media files from settings to database
- Migrate presentations files from settings to database
- Convert the load icons in the media plugin into a dropdown
- Add new tests for MediaMediaItem.get_list()
- Closes #165
- Closes #223
- Closes #224
- Closes #582
2021-08-25 22:51:43 -07:00
robbiejackson cdc1234ebb code and settings test done 2021-08-18 18:59:29 +01:00
STEPHANVS 7bbc7ab05f
Merge branch 'master' of https://gitlab.com/istvanmate/openlp 2021-06-18 23:45:56 +02:00
Daniel Martin 0ab55950a8 Fix service save failure 2021-04-25 06:18:50 +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 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