Commit Graph

156 Commits

Author SHA1 Message Date
Raoul Snyman e30fb26a3c Merge branch 'pjm-tests' into 'master'
Tests for ProjectorManager 2022-01-23

See merge request openlp/openlp!386
2022-01-31 02:36:14 +00:00
Ken Roberts 2d0855f975 Tests for ProjectorManager 2022-01-23 2022-01-31 02:36:14 +00:00
Raoul Snyman fa802a5f3b
Stop the display window from minimizing when the OpenLP window is not active on macOS 2022-01-29 16:22:10 -07:00
Raoul Snyman b3c27986c7 Merge branch 'proj_manager_tests' into 'master'
ProjectorManager tests upd_add_port listener

See merge request openlp/openlp!383
2022-01-21 21:30:52 +00:00
Ken Roberts caa78be00d ProjectorManager tests upd_add_port listener 2022-01-21 21:30:51 +00:00
Tomas Groth bfce3db902 A few bug fixes 2022-01-21 07:49:55 +00:00
Ken Roberts c0713a56d4 ProjectorManager tests 2022-01-20 21:22:41 +00:00
Daniel Martin fce6b47127 Fix a few service bugs 2022-01-16 13:15:09 +00:00
Tim Bentley c6be2ac31d Merge branch 'clean-up-alerts-plugin' into 'master'
clean up alertsmanager

See merge request openlp/openlp!369
2021-11-07 07:43:20 +00:00
robbie jackson aff97c0e27 Fix song flash 2021-11-07 00:52:53 +00:00
Andreas P ddcc7dbd4f clean up alertsmanager
- the alertsmanager does not manage the alerts anymore, they are managed by the display
- thus the list of alerts is not needed, the id is not needed, also the
  timer id is not needed
- live_display_active is not needed anymore
- there is no point in using the status message
2021-10-23 15:29:33 +02: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
Tim Bentley 191e8dc672 Merge branch 'fix-dvd-media-crash' into 'master'
Fix dvd media crash

Closes #876

See merge request openlp/openlp!356
2021-09-12 08:28:58 +00:00
robbie jackson 2eef92fe4a Fix dvd media crash 2021-09-12 08:28:58 +00:00
Tim Bentley df0163b144 Merge branch 'fix-show-presentation-after-media' into 'master'
Fix of problem showing presentations after media items

Closes #833

See merge request openlp/openlp!362
2021-09-12 08:28:37 +00:00
robbiejackson fee77506f6 code fix done and tests updated 2021-09-10 21:10:49 +01:00
Raoul Snyman b37fd8faca Fix #896 and write tests for the form 2021-09-07 22:00:11 -07:00
Tomas Groth e584c5bf49 Skip test that fails on macOS. 2021-09-02 20:43:42 +00: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
Mateus Meyer Jiacomelli 368c1aa69a Better Dark Mode and UI Theme Support 2021-09-01 18:34:06 +00:00
Tomas Groth 54ad7496cd Merge branch 'display-mode-toggle' into 'master'
Display mode toggle

Closes #905

See merge request openlp/openlp!348
2021-08-28 20:36:54 +00:00
Daniel Martin 744e141dbd Display mode toggle 2021-08-28 20:36:53 +00:00
robbie jackson c44d261a0e Fix cd media crash 2021-08-28 07:04:15 +00:00
Tim Bentley b5a5cf82c4 Merge branch 'improve-help' into 'master'
Improve help

Closes #777

See merge request openlp/openlp!344
2021-08-25 21:14:19 +00:00
robbie jackson 2907cb4f14 Improve help 2021-08-25 21:14:19 +00:00
István Máté 58800cf4be Webserver mimetype support 2021-08-25 19:28:15 +00:00
Tim Bentley 0e4055664c Merge branch 'issue-711-screen-geometry' into 'master'
Fix logic in get_screen_number to be more fault tolerant

Closes #711

See merge request openlp/openlp!342
2021-08-19 16:29:58 +00:00
Tim Bentley 73bb4690b9 Merge branch 'add-new-service-message' into 'master'
Output message box when a user clicks on New Service when there's already a blank service there.

Closes #777

See merge request openlp/openlp!345
2021-08-19 16:25:02 +00:00
robbie jackson aee5d5b495 Fix main window positioning 2021-08-19 16:23:56 +00:00
robbiejackson cdc1234ebb code and settings test done 2021-08-18 18:59:29 +01:00
Raoul Snyman 322f4f1d5b Fix bug #711 and add some tests 2021-08-06 08:24:44 -07:00
robbie jackson 3bbb46cdd3 Add slide numbers in footers 2021-07-22 20:48:15 +00:00
robbiejackson 4ff585a774 fixes applied and some associated tests written 2021-05-21 20:38:35 +01:00
Raoul Snyman 4d4717a905 Merge branch 'more_media_fixes' into 'master'
More media fixes

Closes #665 and #815

See merge request openlp/openlp!323
2021-04-28 06:19:48 +00:00
Tim Bentley b81d7e753c Merge branch 'fix_service_save_failure' into 'master'
Fix service save failure

Closes #816

See merge request openlp/openlp!322
2021-04-25 06:18:50 +00:00
Daniel Martin 0ab55950a8 Fix service save failure 2021-04-25 06:18:50 +00:00
Tim Bentley 8381adfc36 Merge branch 'fix_websocket_crash' into 'master'
Fix websocket crash

Closes #810

See merge request openlp/openlp!315
2021-04-25 06:18:16 +00:00
Daniel Martin d34e39524a Fix websocket crash 2021-04-25 06:18:16 +00:00
Tim Bentley 9039fe04f8 Test Migration and Cleanup - 1 2021-04-24 16:55:38 +00:00
Raoul Snyman 5caca527e1 Merge branch 'confirmation-form' into 'master'
Confirmation form

Closes #675

See merge request openlp/openlp!313
2021-04-15 17:33:10 +00:00
robbie jackson d7fe052afc Confirmation form 2021-04-15 17:33:10 +00:00
Tim Bentley ac6aae9a3a Update Tests - 02 2021-04-15 17:25:59 +00:00
Daniel Martin 99190ebe56 Fix data directory copy fail 2021-04-03 15:56:47 +00:00
robbie jackson febf2615b5 Fix setting custom geometry 2021-02-20 21:32:16 +00:00
Tim Bentley aade849aca End of 2020 - Just change the Year! 2020-12-30 21:42:49 +00:00
Raoul Snyman 3fb4eee9f3
Yield fixtures are deprecated; the regular fixture does the same job 2020-12-21 21:41:57 -07:00
Raoul Snyman cbf37ce8b3
Refactor the settings somewhat
- Created a new Service tab
- Moved service-specific items to service tab
- Moved UI settings to general tab
- Did some general UI cleanup

Update/add tests
2020-12-17 16:13:05 -07:00
Raoul Snyman 601fa58594
Fix some upgrade issues
- Fix an issue with loading screens from older versions of OpenLP (fixes #655)
- Fix an issue where presentations that no longer exist throw an error
- Fix a bug in the serialization of Path objects for Pyro4
- Add some tests for untested scenarios
- Fix some tests
2020-11-15 23:40:07 -07: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 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