Commit Graph

112 Commits

Author SHA1 Message Date
3fb4eee9f3
Yield fixtures are deprecated; the regular fixture does the same job 2020-12-21 21:41:57 -07:00
Daniel
9a1605694a Remove image background setting
Background images never needed this because they expand to fit
Foreground images will get a theme background
2020-11-24 20:23:35 +00:00
Tomas Groth
6bbaa17646 Merge branch 'fixes_oct2020' into 'master'
Fixes and Updates

See merge request openlp/openlp!263
2020-10-19 07:18:27 +00:00
Tim Bentley
1c4ae35c9c Fixes and Updates 2020-10-19 07:18:26 +00:00
Daniel
fd7ba2a447 Song details api 2020-10-19 07:18:00 +00:00
Daniel
c8e13de8f4 Fix win tests
use posix path when converting to string for comparison
2020-10-10 19:03:10 +13: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
Daniel
bd0308f1b4 Ignore transition speed when no transitions
Also add/fix tests
2020-10-02 04:57:17 +00:00
Daniel
b5a2eef4e7 Fix api crash when sending thumbnail path
For things with thumbnails that aren't images (just presentations I think)
2020-09-23 04:50:09 +00:00
Tomas Groth
04feb3ee67 Fix image db upgrade 2020-08-18 06:47:02 +00:00
Daniel
fc16e0009e Add footer to the object returned in the api
This is about the only thing left preventing us from running the main web view on react in a similar way the primary display is run. (rather than screenshots)
2020-08-01 19:30:49 +00:00
5620a6f57f
Expose the entire ServiceItem in the API
- Move JSON rendering into ServiceItem object
- Provide entire service item object through API
- Fix some potential bugs and write tests
2020-07-23 17:19:49 -07:00
5c0082e434
Fix the colour of the icons on macOS 2020-07-03 22:18:17 -07: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
357fe20c91 Fix incorrect image title from loading service
This fixes the crash when you select a image loaded from a service file
2020-07-01 16:09:44 +00:00
Tim Bentley
f8d747e236 Fix Image Backgounds and remove Image Manager
Resolves ##480
2020-06-20 06:06:31 +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
Tomas Groth
937c6c3e81 New service file format 2020-05-07 05:18:37 +00:00
Tim Bentley
42e6640339 Cleanups, add missing theme functionality 2020-04-09 21:55:27 +00:00
efd97644c8
Fix up the formatting of the contents of the help box
- Fix #380
- Fix some tests
- Add some tests

Fix some tests, add some tests
2020-04-02 21:42:35 -07:00
Tim Bentley
3f41c852f2 Fix some race conditions, remove calls to ImageManager, fix a crash in the remote API, fix some more test issues. 2020-04-02 18:48:27 +00:00
Tim Bentley
cbc9f8c8e2 Tests interfaces 1 2020-03-19 20:04:28 +00:00
Tim Bentley
fa9a3c6f92 Tests plugin 5 2020-03-11 21:53:41 +00:00
Tim Bentley
86af416233 Tests 3 - Finish UI and Widgets 2020-02-15 21:04:17 +00:00
Tim
dae7880604
Migrate lib part 1 2020-02-13 21:04:15 +00:00
Tim Bentley
020661059f Migrate Display
Signed-off-by: Tim <tim.bentley@gmail.com>
2020-02-01 21:12:07 +00:00
b85f1db06f
Properly detect chords, support >5 optional splits
- Properly detect only chords in square brackets
- Properly detect Bibles so that custom slides are rendered as text items
- Make more than 5 optional splits work (fixes #278)
2020-01-15 22:05:26 -07: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
63f67f6e17 Migrate setting definitions to Core from plugins
Signed-off-by: Tim <tim.bentley@gmail.com>
2019-12-30 08:42:49 +00:00
Daniel
11dcf5b9ad Change transition direction 2019-12-14 11:44:42 +00:00
Daniel
d00c9c8f11 Add time out to the loops and a delay in the second
Also add RegistryProperties, don't know how it was working without that
2019-12-12 01:03: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
76ff4be598 Fix "Use default location" buttons 2019-10-26 10:00:07 +00:00
Daniel
d2e31c26e9 Added new values to theme.json and added logic for ui
Also fixed normal speed not working and changed "Default" to "Normal" in the enums as it makes more sense.
2019-10-26 09:57:00 +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
1e76868a23 Remove vim lines from files and add a .editorconfig for editors that support it 2019-10-10 15:28:16 +00:00
Phill
a950a9bcce fixes 2019-08-06 22:33:43 +01:00
Phill
c1ff239002 Lint fix 2019-07-18 20:26:54 +01:00
Phill
ba99025a5f Fix tests 2019-07-18 20:14:58 +01:00
Phill
9c35b7dcdc Minor fixes, and changes 2019-07-03 14:23:23 +01:00
Phill
f79e8803c9 Word of Worship file importer fixes / rework 2019-06-28 19:09:25 +01:00
Phill
5482e70e6d Break out json and path refactors from fixes branch 2019-05-22 07:47:00 +01:00
Bastian Germann
be1a398f7b License change to GPL-3.0-or-later 2019-04-13 15:00:22 +02:00
Philip Ridout
e1d2c67f33 HEAD? 2019-03-15 20:56:32 +00:00
Philip Ridout
50598e9058 pathlib cleanups 2019-03-10 21:01:39 +00:00
cc4b8e4242 PJLink2 Update U 2019-03-08 07:19:57 -08: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