Commit Graph

16611 Commits

Author SHA1 Message Date
Tim Bentley
4fa63439f4 Head 2018-01-19 21:07:40 +00:00
Phill Ridout
7ced39594f Add test 2018-01-19 21:00:56 +00:00
Tomas Groth
25ca469535 merged trunk 2018-01-16 22:03:20 +01:00
Phill Ridout
89042982d6 HEAD 2018-01-16 20:49:18 +00:00
Phill Ridout
21b362c9a2 doc string! 2018-01-14 09:01:00 +00:00
7490c7ad1e HEAD 2018-01-13 17:55:21 -07:00
331554a038 HEAD 2018-01-13 17:45:24 -07:00
d6087813ae - Ongoing conversions from self.asserts to plain asserts
- Remove test_ part of method name for bugfix tests no longer used
- Move tests *_change_status_* from pjlink_commands_01 to pjlink_base
- Move test projector_reset_information from pjlink_commands_01 to pjlink_commands_02
- Move lamp_nonstandard_reply from bugfix to pjlink_commands_01
- Move clss_nonstandard_reply 1/2 from bugfix to pjlink_commands_01
- Move test_projector_get_* tests from pjlink_commands_01 to pjlink_base
- Added pjli...

bzr-revno: 2809
2018-01-13 17:44:36 -07:00
d758ed257c Fix progress not showing in the FTW 2018-01-13 16:24:26 -07:00
Phill Ridout
42465605ac fix saving and loading progress bar
Fixes: https://launchpad.net/bugs/1734432
2018-01-13 09:02:29 +00:00
6263e6654a Fix bug #1742910 by moving the threads to the application object instead of the main window object.
Add this to your merge proposal:
--------------------------------------------------------------------------------
lp:~raoul-snyman/openlp/bug-1742910 (revision 2810)
https://ci.openlp.io/job/Branch-01-Pull/2418/                          [SUCCESS]
https://ci.openlp.io/job/Branch-02a-Linux-Tests/2319/                  [SUCCESS]
https://ci.openlp.io/job/Branch-02b-macOS-Tests/114/                ...

bzr-revno: 2808
2018-01-13 08:17:04 +00:00
Phill Ridout
c88a08f9e4 HEAD 2018-01-13 07:25:07 +00:00
Phill Ridout
2095a00dc9 Fix up code so test passes 2018-01-13 07:24:20 +00:00
372051067d Update pjlink_class define in db 2018-01-12 23:17:15 -08:00
9e184ebbfd Go back to the way I was doing it originally. Much more succint. 2018-01-12 22:59:44 -07:00
17ff6a7d31 PJLink2 update o 2018-01-12 21:41:42 -08:00
11f528d09c Change is_thread_finished() to return True if a thread is missing 2018-01-12 22:24:53 -07:00
83bc19520a Removed a duplicate test file, fixed up some tests, added some more tests 2018-01-12 21:57:16 -07:00
6f9f68a99b Add some more tests for openlp.core.api.deploy 2018-01-12 16:45:06 -07:00
ff421df2bf Fix bug #1742910
Fixes: https://launchpad.net/bugs/1742910
2018-01-12 11:29:32 -07:00
c4681e60e3 Major overhaul of how threading in OpenLP works. Rather than messing around with threads yourself, you create a worker object descended from ThreadWorker, implement start() (and stop() if it's a long-running thread), and run it using run_thread().
Changes related to thread API:

- WebSocket was refactored (mostly into the worker)
- HttpServer was refactored a bit
- CheckMediaWorker was refactored a bit
- Version check refactored
- SongSelect search refactored
- New _wait_for_threads() method...

bzr-revno: 2807
2018-01-07 12:27:26 -07:00
c5b7b46a55 Fix the tests I now added back in 2018-01-07 11:07:22 -07:00
7e99381dba Fix some issues highlighted by Tim and Phill, and added a file that was erroneously removed 2018-01-07 10:50:29 -07:00
4fae7f829d Fix the tests I broke 2018-01-06 22:24:55 -07:00
35fd553024 If XDG is available, log files belong in the real cache dir 2018-01-06 21:45:13 -07:00
738e8e0283 Remove the Qt style option - it never worked anyway 2018-01-06 21:40:40 -07:00
954d1618bc Fix the direction of the '--no-web-server' command line option 2018-01-06 21:36:45 -07:00
7b28262987 Fix a mismatch of arguments in a call to reload_bibles() 2018-01-06 21:36:17 -07:00
Phill Ridout
dd6887d388 HEAD 2018-01-06 09:56:10 +00:00
Phill Ridout
e1400dc227 Finally merge the save lite method in to the 'standard' save method' 2018-01-06 09:55:19 +00:00
5612be1b5a Stop the HTTP server properly too 2018-01-06 00:02:45 -07:00
f693d3aa37 Call close() to stop everything properly 2018-01-05 21:41:49 -07:00
3e9073275a Fix an issue with versions of websockets > 4.0 2018-01-04 22:32:12 -07:00
2d009f1884 Change a log.error to a log.exception 2018-01-04 14:13:24 -07:00
0601cf1543 Move cleanup to after thread wait; Figured out why the webserver was exiting early 2018-01-04 14:03:15 -07:00
db7ff02abb Move the thread code to after the event has been accepted 2018-01-04 10:17:20 -07:00
544c396bbc Fix some linting issues 2018-01-04 00:00:55 -07:00
64b26774a1 For some reason, the thumbnail downloader was still using a string path 2018-01-03 23:37:59 -07:00
13885b1a39 HEAD 2018-01-03 23:10:20 -07:00
f1575dd50b Updated various thread usages 2018-01-03 23:01:35 -07:00
ce88f70c01 --------------------------------------------------------------------------------
lp:~alisonken1/openlp/pjlink2-n (revision 2806)
https://ci.openlp.io/job/Branch-01-Pull/2409/                          [SUCCESS]
https://ci.openlp.io/job/Branch-02a-Linux-Tests/2310/                  [SUCCESS]
https://ci.openlp.io/job/Branch-02b-macOS-Tests/105/                   [SUCCESS]
https://ci.openlp.io/job/Branch-03a-Build-Source/29/                   [SUCCESS]
https://ci.openlp.io/job/Branch-03b-Build-ma...

bzr-revno: 2806
2018-01-03 18:15:49 +00:00
20c1579a55 Just commit some of my recent changes 2018-01-02 23:57:12 -07:00
d97ca9e54b Merge trunk 2018-01-02 16:35:14 -08:00
Simon Hanna
399b40745d Fixed the version checking to be more robust
* Strip the response so empty responses that contain whitespace are in fact empty
* Change http to https to result in one less query
* Add test for responses containing white space
* Add .cache to bzrignore (generated by pytest when tests fail)

bzr-revno: 2805
2018-01-02 21:00:54 +00:00
Tim Bentley
02d9daa5dc Update the year to 2018
Add some missing copyright files
Reorder and fix the imports for all files.
Fix a timing issue with the mac build which makes it fail all the time.

lp:~trb143/openlp/textcleanups (revision 2812)
https://ci.openlp.io/job/Branch-01-Pull/2406/                          [SUCCESS]
https://ci.openlp.io/job/Branch-02a-Linux-Tests/2307/                  [SUCCESS]
https://ci.openlp.io/job/Branch-02b-macOS-Tests/102/                   [SUCCESS]
https://ci.openlp.io/job/Branch-03...

bzr-revno: 2804
2018-01-01 17:18:46 +00:00
Phill Ridout
a1ea35c4e7 continued refactor of saving packaged files 2017-12-30 08:08:10 +00:00
Simon Hanna
d490a32f94 Remove sleep statement 2017-12-29 14:59:08 +01:00
Simon Hanna
3bbfd4dfc1 Add .cache to bzrignore 2017-12-29 11:40:07 +01:00
Simon Hanna
9c45e4afdf Add test for fix 2017-12-29 11:38:51 +01:00
Simon Hanna
0f23d12d72 Fix version checking if response is empty 2017-12-29 11:27:58 +01:00