Commit Graph

15491 Commits

Author SHA1 Message Date
Tim Bentley
340b3f6597 Finish clean up logging code 2018-02-03 11:32:49 +00:00
Tim Bentley
6c8ec8a840 Add logging to mainwindow and clean up logging code 2018-02-03 11:24:39 +00:00
Tim Bentley
6ff1015205 close the splash screen 2018-02-03 07:59:36 +00:00
Tim Bentley
f7169ee708 remove ppt viewer 2018-02-02 21:33:41 +00:00
Tim Bentley
cffd8e603d cleanups 2018-01-27 11:15:49 +00:00
Tim Bentley
c9ff4b2209 fix web api 2018-01-27 09:41:11 +00:00
1f53453ff6 Fixed an issue with the FTW not displaying any download progress.
Add this to your merge proposal:
--------------------------------------------------------------------------------
lp:~raoul-snyman/openlp/fix-ftw-download-progress (revision 2811)
https://ci.openlp.io/job/Branch-01-Pull/2430/                          [SUCCESS]
https://ci.openlp.io/job/Branch-02a-Linux-Tests/2331/                  [SUCCESS]
https://ci.openlp.io/job/Branch-02b-macOS-Tests/125/                   [SUCCESS]
https:/...

bzr-revno: 2811
2018-01-24 21:36:15 +00:00
Phill
d3d122d678 Started work on storing path objects in service file.
Refactored save code and reduced duplication.
Fixed + improved the loading / saving progress bars
improved performance

loading powerpoint from a service still does work

--------------------------------------------------------------------------------
lp:~phill-ridout/openlp/pathlib12 (revision 2817)
https://ci.openlp.io/job/Branch-01-Pull/2428/                          [WAITING]
[RUNNING]
[SUCCESS]
https://ci.openlp.io/job/Branch-02a-Linu...

bzr-revno: 2810
2018-01-24 20:55:22 +00:00
53ac8468d4 Fix copyright 2018-01-24 13:27:22 -07:00
Phill Ridout
4423b61fc9 Small fix 2018-01-22 21:37:00 +00:00
Phill Ridout
ee144ad68b Save the temp file in a different dir 2018-01-22 20:41:30 +00:00
Phill Ridout
7c68e9d022 pep 2018-01-21 07:40:26 +00:00
Phill Ridout
368b0ce75c Tidy ups 2018-01-20 09:30:30 +00:00
Tim Bentley
0ce0231a5f text clean ups 2018-01-19 21:31:36 +00:00
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
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
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