Commit Graph

158 Commits

Author SHA1 Message Date
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 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
Raoul Snyman 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
Raoul Snyman 5c0082e434
Fix the colour of the icons on macOS 2020-07-03 22:18:17 -07:00
Raoul Snyman 181b4fdcc9
Fix various issues and return current theme in API:
- New API method to return current theme
- Use single method to set service items via both position and uuid
- Update tests to match above new features
- Fix issue where chords were not being returned to the API
- Fix the clear/backspace icon (the old one doesn't exist in Debian)
2020-05-15 23:11:55 -07:00
Tim Bentley 42e6640339 Cleanups, add missing theme functionality 2020-04-09 21:55:27 +00:00
Raoul Snyman b85d6e0ded Merge branch 'tests_interfaces_1' into 'master'
Tests interfaces 1

See merge request openlp/openlp!158
2020-03-19 20:04:28 +00:00
Tim Bentley cbc9f8c8e2 Tests interfaces 1 2020-03-19 20:04:28 +00:00
Raoul Snyman 73507884fb
Refactor web remote deployment, plus other fixes and enhancements
- Refactor deployment away from the web server thread
- Refactor the web remote settings tab
- Provide a way for threads to show an error message to the user
- Fix an issue where multiple zeroconf services were being run instead of a single instance on multiple addresses
- Refactored the DownloadProcess dialog
- Fix the tests
2020-03-17 19:31:18 -07:00
Tim Bentley 8fa698d510 More fixes for broken tests
Skip one which never worked but relied on data leakage!
2020-03-04 06:06:47 +00:00
Tim Bentley 7cdc2a68de Migrate Projectors
Signed-off-by: Tim <tim.bentley@gmail.com>
2020-02-07 19:53:52 +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 45e38c4959 Migrate API to Settings
Fix missing / incorrect copyright

Signed-off-by: Tim <tim.bentley@gmail.com>
2020-01-29 06:50:09 +00:00
Tim Bentley 6ea4893ad6 Change Year
Signed-off-by: Tim <tim.bentley@gmail.com>
2020-01-01 02:53:08 +00:00
Daniel 0d16ce667f ThemeProgressForm show progress 2019-12-19 15:25:05 +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 11dcf5b9ad Change transition direction 2019-12-14 11:44:42 +00:00
Raoul Snyman ec329eff2f Refactor the theme wizard into separate pages
- Refactor wizard pages into external page components
- Refactor form labels into a central label with the alignment already set
- Fix some tests
- Write more tests
2019-12-11 19:31:48 +00:00
Raoul Snyman 771e97862f Add distribution detection in is_linux() function
- Optional argument to check Linux distro
- Add a test for the new argument
- Add some other tests to expand test coverage
- Remove Windows from testing
- If "distro" module is missing, create a replacement that returns False
2019-12-04 18:15:24 +00:00
Ee Savior f50b81b9fb Test improvements 2019-11-26 19:32:16 +00:00
Raoul Snyman 288a02344d Font selection widget
- Create a font selection widget
- Embed widget in the Theme wizard
- Add tests for the FontSelectWidget
2019-11-22 16:40:10 +00:00
Raoul Snyman a019b42636 Force the display checkbox to be selected for at least 1 screen 2019-11-02 07:05:08 +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
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
Raoul Snyman a8e46110ed Fix an incorrect if and update tests 2019-07-02 23:30:01 -07:00
Raoul Snyman 11ad9dbb22 Further refactor the code, and fix up the tests 2019-07-02 20:05:01 -07:00
Raoul Snyman 0618f63ede Added a Zeroconf service to aid devices detecting OpenLP on the network 2019-07-01 15:36:14 -07:00
Tomas Groth 7cb8758fdd Fixed test on windows by mocking out render. 2019-06-11 21:12:33 +02:00
Tomas Groth 0c7fe8d97c fix test 2019-06-09 22:06:20 +02:00
Ken Roberts 2069c94a10 Remove extraneous parens 2019-05-15 06:23:58 -07:00
Ken Roberts 0c14ddf31f PJLink2 Update v07 2019-05-11 02:07:40 -07:00
Ken Roberts 855828939f PJLink2 update v06 2019-05-04 21:08:32 -07:00
Ken Roberts a503c61a51 PJLink2 update v05 2019-05-04 03:21:48 -07:00
Ken Roberts 2a479a15da pjlink2 update v04 2019-05-03 22:25:07 -07:00
Bastian Germann d74e5203c3 Merge HEAD 2019-04-28 21:21:23 +02:00
Ken Roberts d6cf6cf6bf PJLink2 update V03 2019-04-28 00:03:51 -07:00
Ken Roberts ddd14a5fc2 pjlink2 update v02 2019-04-26 00:39:37 -07:00
Ken Roberts 5f6887f837 PJLink2 Update V1 2019-04-20 18:04:59 -07: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
Ken Roberts cc4b8e4242 PJLink2 Update U 2019-03-08 07:19:57 -08:00
Philip Ridout 1fe56bc089 Fix some asserts 2019-03-03 17:44:40 +00:00
Tomas Groth fa4ec96054 Updated to 2019 in copyright headers 2019-02-14 16:09:09 +01:00
Tim Bentley f1c7664125 Merge media trunk and fix up 2019-01-27 14:42:23 +00:00
Tim Bentley 9a39c46e2b Fix tests and code 2018-12-02 09:08:00 +00:00
Tim Bentley c1a1ac58ba Fix tests and code 2018-12-02 09:03:01 +00:00
Tomas Groth e7526f1e59 merge trunk 2018-10-30 20:46:55 +01:00
Raoul Snyman d1c4cea777 Fix linting issues 2018-10-26 18:40:20 -07:00
Philip Ridout a867c54b94 HEAD 2018-10-24 22:02:06 +01:00
Ken Roberts a3f2030349 PJLink2 Update T and pep8 2018-10-19 21:33:32 -07:00
Raoul Snyman aa3b0c4bcc HEAD 2018-10-01 21:39:42 -07:00
Raoul Snyman 8d379e6785 Add some tests, we're up to 52% coverage now! 2018-08-30 22:49:26 -07:00
Ken Roberts bc832c7c72 PJLink2 update S 2018-06-28 08:37:37 -07:00
Ken Roberts 991b2880bf PJLink2 update R 2018-05-03 07:58:50 -07:00
Ken Roberts 604581c71a PJLink2 update Q 2018-04-19 23:04:43 -07:00
Ken Roberts f1996d2cb7 PJLink2 Update P 2018-02-11 03:42:13 -08:00