Commit Graph

3054 Commits

Author SHA1 Message Date
Tomas Groth 12a2a90ea6 Readded the Renderer class for calculating slide sizes. 2018-09-28 21:33:40 +02:00
Raoul Snyman 0c8156b4c4 Loading and saving of screens is working; Refractored retranslateUi => retranslate_ui 2018-09-11 22:43:27 -07:00
Raoul Snyman 37424b3b13 HEAD 2018-09-07 07:59:21 -07:00
Raoul Snyman 67e6806924 HEAD, plus loading screens from settings 2018-09-06 23:43:01 -07:00
Kyle Russell 8a5a2628dc Fix pycodestyle line spacing warnings 2018-08-31 20:27:53 -04:00
Simon Hanna a4c1e306b5 Remote imports from openlp/core/lib/__init__.py and update other files accordingly 2018-08-25 16:08:19 +02:00
Tim Bentley 3a0d0ff2ea Head 2018-08-04 21:58:13 +01:00
Tomas Groth 56a811c094 More pycodestyle fixes 2018-07-04 22:42:55 +02:00
Tomas Groth 318e90f893 Fixes for pycodestyle 2018-07-02 22:38:47 +02:00
Raoul Snyman 0d0ec8f818 Remove an unnecessary exception; Notify the user if one of the plugins fails to initialise; Try to make image slides work properly. 2018-06-30 21:36:32 -07:00
Tim Bentley 44bb70122e more bits 2018-04-22 07:59:35 +01:00
Tim Bentley 606efa47b9 more cleanups print finished 2018-04-21 06:47:20 +01:00
Tim Bentley f5645f91d3 more bits 2018-04-13 21:07:09 +01:00
Raoul Snyman 3ff3f501fa Fixed displaying slides in slide controller vs actual rendered slides; Fixed <sup> tag not showing up correctly 2018-04-11 23:20:55 -07:00
Raoul Snyman 1f9d00f47c Fix non-song text items not updating the display (missing verse tags, essentially) 2018-04-11 09:37:28 -07:00
Raoul Snyman b521b9aeba HEAD 2018-04-11 09:08:34 -07:00
Tim Bentley 4760343899 fix up location of icons 2018-04-10 20:26:56 +01:00
Tim Bentley 8c2afe67e3 more bits 2018-04-08 19:21:22 +01:00
Tim Bentley e5305643c9 more bits 2018-04-08 18:24:31 +01:00
Tim Bentley fdae4dc939 cleanups and more icons 2018-04-07 21:31:54 +01:00
Tim Bentley d67379c622 More icons and fixes 2018-04-07 20:41:00 +01:00
Tim Bentley 422823eff5 start to add awsome fonts 2018-04-07 12:12:31 +01:00
Raoul Snyman 1a744383e5 More stuff working! Now you can see the text items in the slide controller and you can change the current slide 2018-03-27 22:39:47 -07:00
Raoul Snyman 7f0d4c635f Managed to get the page loading, but there are 4 displays where there should only be 2. Confusing 2018-03-24 00:19:06 -07:00
Tim Bentley 14b8aedc76 Add metadata 2018-02-18 16:16:52 +00:00
Raoul Snyman 97172efba5 HEAD 2018-01-30 21:10:09 -07:00
Phill Ridout 7c68e9d022 pep 2018-01-21 07:40:26 +00:00
Raoul Snyman 7490c7ad1e HEAD 2018-01-13 17:55:21 -07: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
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
Raoul Snyman 13885b1a39 HEAD 2018-01-03 23:10:20 -07:00
Raoul Snyman f1575dd50b Updated various thread usages 2018-01-03 23:01:35 -07:00
Tim Bentley 41f35f52e3 End of 2017 2017-12-29 09:15:48 +00:00
Tim Bentley cfc487d623 tests 2017-12-28 08:27:44 +00:00
Raoul Snyman ca581d00bd HEAD 2017-12-23 14:53:54 -07:00
Phill Ridout 3bdf6d0bd6 HEAD 2017-12-22 21:21:39 +00:00
Phill Ridout c3c1f1dc66 Test tidy ups 2017-12-22 21:20:49 +00:00
Tim Bentley 0ed4ac5224 more assert updates and py.test fixes
py.test now runs on the whole test without major errors.

lp:~trb143/openlp/asserts (revision 2826)
https://ci.openlp.io/job/Branch-01-Pull/2371/                          [SUCCESS]
https://ci.openlp.io/job/Branch-02-Functional-Tests/2272/              [SUCCESS]
https://ci.openlp.io/job/Branch-03-Interface-Tests/2132/               [SUCCESS]
https://ci.openlp.io/job/Branch-04a-Code_Analysis/1458/                [SUCCESS]
https://ci.openlp.io/job/Branch-04...

bzr-revno: 2799
2017-12-22 15:11:30 +00:00
Raoul Snyman 2fa88b17db Refactor threads to use new openlp.core.threading module 2017-12-20 07:17:07 -07:00
Tim Bentley 8f0779f600 Start media 2017-12-20 08:15:53 +00:00
Tim Bentley 5764551e3e fix up widgets 2017-12-19 19:47:02 +00:00
Phill Ridout 370ec244d8 Fix osx finding 'temp' files instead of the python source files
Fixes: https://launchpad.net/bugs/1738047
2017-12-17 15:25:54 +00:00
Phill Ridout f629504b5b Mostly minor path tidy-ups 2017-12-17 04:29:53 +00:00
Raoul Snyman c7ea4c460e Fix up some stuff around the screen list 2017-12-01 17:35:21 -07:00
Raoul Snyman 64a245bef9 HEAD 2017-12-01 14:58:34 -07:00
Phill Ridout 7d0b841269 tidyups 2017-11-20 21:57:34 +00:00
Phill Ridout a79ec45055 HEAD 2017-11-18 22:40:05 +00:00
Phill Ridout f07d6e736c Moar pathlib refactors 2017-11-18 22:37:24 +00:00
Phill Ridout 9196db5af0 Pathlib refactors and test fixes 2017-11-18 11:23:15 +00:00
Ken Roberts d50029c636 Merge trunk 2017-11-14 16:19:49 -08:00
Ken Roberts 3d4ed035e9 PJLink2-L updates 2017-11-10 03:59:38 -08:00
Phill Ridout 536a187fb9 PEP8 2017-11-09 20:39:17 +00:00
Raoul Snyman 6718be4cff HEAD 2017-11-03 15:31:48 -07:00
Phill Ridout 94dd107abe Changed merged errors
Fixes: https://launchpad.net/bugs/1400415
2017-11-03 20:55:41 +00:00
Phill Ridout 960ddedc6f make tidy text part of core.\nRemove redundant (since py3) re.UNICODE flag
Fixes: https://launchpad.net/bugs/1727517
2017-10-28 11:04:09 +01:00
Phill Ridout fe5430e157 HEAD 2017-10-27 22:11:29 +01:00
Raoul Snyman d5ab3340eb Move widgets to a widgets module 2017-10-23 15:09:57 -07:00
Raoul Snyman 53c8337017 Moved ScreenList to display module 2017-10-10 14:15:08 -07:00
Raoul Snyman 15a4a93c96 Phase 2 complete 2017-10-10 00:08:44 -07:00
Raoul Snyman bc0ade07e0 HEAD 2017-10-09 19:29:56 -07:00
Philip Ridout 779e95b523 Fix for samuel_m issue and bug #1672229 2017-10-08 18:33:03 +01:00
Raoul Snyman b406cfd5a8 Phase 1 complete 2017-10-07 00:05:07 -07:00
Raoul Snyman 26c78b374a HEAD 2017-10-04 23:28:57 -07:00
Raoul Snyman 640ebf8c3c Added JavaScript tests in; Refactored some stuff, removed some stuff. Lots börken. 2017-10-04 00:44:08 -07:00
Tim Bentley b07f2e9f86 head 2017-10-01 21:11:03 +01:00
Philip Ridout ab49b8b8ad pathlib changes for song plugin 2017-09-30 21:16:30 +01:00
Tim Bentley d77f0127e8 head 2017-09-29 19:42:15 +01:00
Philip Ridout 1cfb152395 some WebEngine fixes 2017-09-29 19:06:04 +01:00
Philip Ridout 6780a44496 fixes 2017-09-29 18:31:35 +01:00
Tomas Groth 359362126a merge trunk 2017-09-26 20:43:35 +02:00
Philip Ridout 69fca430b5 HEAD 2017-09-26 17:42:54 +01:00
Philip Ridout 10b13872e5 Modify themes to work with pathlib 2017-09-26 17:39:13 +01:00
Raoul Snyman 4bb031b22e HEAD 2017-09-25 12:55:33 -07:00
Tomas Groth 1481f747f1 merge trunk 2017-09-25 21:41:55 +02:00
Tomas Groth 3094b053ff Various adjustments, main window starts now, still no canvas. 2017-09-25 20:59:43 +02:00
Philip Ridout 047a1b3808 pep fixes 2017-09-24 20:33:07 +01:00
Philip Ridout d61ed7e9b1 converted the image plugin over to using Path objects 2017-09-23 14:06:42 +01:00
Raoul Snyman 50511c4953 HEAD 2017-09-22 21:04:41 -07:00
Phill 35e9300be2 More pathlib changes, focused mainly on the presentation plugin
Add this to your merge proposal:
--------------------------------
lp:~phill-ridout/openlp/pathlib5 (revision 2777)
[SUCCESS] https://ci.openlp.io/job/Branch-01-Pull/2193/
[SUCCESS] https://ci.openlp.io/job/Branch-02-Functional-Tests/2096/
[SUCCESS] https://ci.openlp.io/job/Branch-03-Interface-Tests/1983/
[SUCCESS] https://ci.openlp.io/job/Branch-04a-Code_Analysis/1353/
[SUCCESS] https://ci.openlp.io/job/Branch-04b-Test_Coverage/...

bzr-revno: 2768
2017-09-22 20:53:59 -07:00
Ken Roberts 3e05a64874 PJlink2 update K 2017-09-22 05:03:28 -07:00
Philip Ridout b440584cb5 Moved the patched shuilils to the path module 2017-09-20 21:44:57 +01:00
Tomas Groth 3923601202 Initial copy of new renderer into the source tree plus some rearranged files. Nothing working or running yet. 2017-09-19 21:52:24 +02:00
Philip Ridout d801ca9b09 Test patched which method 2017-09-18 07:20:06 +01:00
Philip Ridout 7f98003d54 test fixes 2017-09-17 20:43:15 +01:00
Philip Ridout 8ed5903ced Moved most of the presentation plugin over to pathlib 2017-09-15 20:01:09 +01:00
Raoul Snyman 1e06f472c6 HEAD 2017-09-08 22:23:37 -07:00
Raoul Snyman a6324b6b7f Refactor version check threading 2017-09-08 22:19:22 -07:00
Philip Ridout 9cb2b2e3c2 Pathlib changes 2017-09-05 21:48:55 +01:00
Tim Bentley 7abef1df22 fix lables and render bug 2017-08-27 18:13:14 +01:00
Tim Bentley b546f3cecb Head 2017-08-27 17:26:06 +01:00
Philip Ridout 8f9cb4a090 Modify setting upgrade code to provide versioned updates. Upgrade settings to use JSON encoded Path objects 2017-08-26 16:06:11 +01:00
Philip Ridout f8a68c23d0 Enable JSON to handle unsupported objects and tests 2017-08-25 21:03:25 +01:00
Phill cd158b63fd Part 3, converted some more utility methods
Fixed the problem TGC was having.

Superflys fix included (https://bin.snyman.info/mmm5sqj8)

lp:~phill-ridout/openlp/pathlib3 (revision 2764)
[SUCCESS] https://ci.openlp.io/job/Branch-01-Pull/2175/
[SUCCESS] https://ci.openlp.io/job/Branch-02-Functional-Tests/2079/
[SUCCESS] https://ci.openlp.io/job/Branch-03-Interface-Tests/1966/
[SUCCESS] https://ci.openlp.io/job/Branch-04a-Code_Analysis/1336/
[SUCCESS] https://ci.openlp.io/job/Branch-04b-Test_C...

bzr-revno: 2762
2017-08-24 21:26:25 -07:00
Theodore Frederick ae62538a02 Adds option to ignore aspect ratio and stretch image.
bzr-revno: 2761
2017-08-23 21:21:11 +01:00
Philip Ridout 6ac671a5fa HEAD 2017-08-23 21:13:58 +01:00
Ken Roberts 46f88e418a More minor code cleanups
- Renamed get_shutter_status to get_av_mute_status (checks shutter and audio)
- Renamed shutter/audio mute test
- Update socket read to get 1K bytes in buffer
- Updated get_status for valid input
- Updated process_sver check valid length
- Update change_status to not use NETWORK_SENDING as a connection status check
- Added read check for packet length > allowed max
- Added test for process_inf1
- Added test for process_inf2
- Added test for process_info
- Added test ...

bzr-revno: 2760
2017-08-23 20:46:30 +01:00
Ken Roberts 6d353dc8e1 Fix deprecated log calls 2017-08-12 13:38:50 -07:00
Philip Ridout b384e6f2fa Convert some more utility fuctions over to using the pathlib 2017-08-12 18:45:56 +01:00
Ken Roberts f30d7f20d3 PJLink update I - minor code cleanups and new tests 2017-08-12 02:48:38 -07:00
Tim Bentley 63a5c3bd91 head 2017-08-11 21:47:52 +01:00
Phill 081c5fe7a0 Definitely ready for merging, unless, of course you guys find some more issues!
Part 2

Changed the pathedit widget over to using pathlib
Added a 'patched' file dialog
Added a few utility methods

lp:~phill-ridout/openlp/pathlib2 (revision 2763)
[SUCCESS] https://ci.openlp.io/job/Branch-01-Pull/2125/
[SUCCESS] https://ci.openlp.io/job/Branch-02-Functional-Tests/2033/
[SUCCESS] https://ci.openlp.io/job/Branch-03-Interface-Tests/1938/
[SUCCESS] https://ci.openlp.io/job/Branch-04a-Code_Analysis...

bzr-revno: 2758
2017-08-11 21:31:09 +01:00
Ken Roberts e7ec732f1e Projector code cleanups "H" and new tests 2017-08-11 04:04:33 -07:00
Tim Bentley 7bcaec2cb3 start of the tests 2017-08-09 06:15:10 +01:00
Philip Ridout 8eb207b67c Head 2017-08-07 21:51:50 +01:00
Philip Ridout e6faf233ed Merge fixes 2017-08-07 21:50:01 +01:00
Ken Roberts df47a4b6eb Code cleanups 2017-08-06 16:33:53 -07:00
Ken Roberts 864fd291a0 PJLink2 update G - restructuring 2017-08-06 00:23:26 -07:00
Philip Ridout 03bcc194ea Update the path edit component to use the pathlib module. Add a few utility methods 2017-08-04 18:40:57 +01:00
Tim Bentley c2321e7c10 Merge head 2017-08-03 18:54:40 +01:00
Philip Ridout e787896931 test fixes 2017-08-02 07:09:38 +01:00
Philip Ridout 63bd98372a Move applocation over to using pathlib 2017-08-01 21:59:41 +01:00
Ken Roberts 08848a14e7 Added calls to new functions 2017-07-20 08:31:50 -07:00
Ken Roberts f333d8d7a0 Ooops - removed commented code no longer needed 2017-07-12 06:01:46 -07:00
Ken Roberts e277c804f9 Cleanups part 3 2017-07-07 16:43:50 -07:00
Ken Roberts d072dd4063 Drop future import comments 2017-06-28 20:19:13 -07:00
Ken Roberts 44fb799c7a noqa cleanlups 2017-06-28 19:58:08 -07:00
Tim Bentley 77aea3e27a head 2017-06-25 18:04:07 +01:00
Ken Roberts 0e2019faf2 PJLink update F 2017-06-24 19:21:07 -07:00
Ken Roberts bd3bedcaf4 -- Fix docstring for pjlink2 db upgrade
-- Add PJLink2 module for UDP socket (skeleton)
-- Move ProjectorManager.projector_list to class attribute
-- Added database_exists check for first time install skip upgrade checks
-- Fix db upgrade for songs
-- Fix db upgrade for songusage
-- Added database_exists from sqlalchemy_utils
-- Added test for skipping upgrade on no db
-- Revert songs db upgrade_7 back to upgrade_6
-- kwargs cleanup

--------------------------------
lp:~alisonken1/openlp/pjli...

bzr-revno: 2751
2017-06-22 17:54:33 +01:00
Ken Roberts d4d556e39d Minor cleanups on kwargs 2017-06-16 17:25:06 -07:00
Samuel Mehrbrodt 51e644711d Remove blank lines 2017-06-12 22:53:08 +02:00
Samuel Mehrbrodt 885a1bad01 Merge trunk 2017-06-12 20:04:49 +02:00
Tim Bentley da51b046b2 Head 2017-06-09 16:56:40 +01:00
Ken Roberts 79ad031272 Fix missing sqlalchemy exception import 2017-06-09 07:04:52 -07:00
Ken Roberts 208c1b022f Test for db upgrade skip 2017-06-09 06:45:18 -07:00
Ken Roberts 4b22def91d More db fixes 2017-06-09 05:12:39 -07:00
Philip Ridout c0f2a9a777 HEAD 2017-06-09 07:06:49 +01:00
Azaziah 80d30bf272 Fixed bugs:
Bug #1639860: Close button is disabled in numerous windows
Bug #1652559: Find duplicates wizard does not reset cursor if closed from "x" instead of "cancel" button and causes traceback on exit
Bug #1666272: Linked audio "next" button results in traceback
Bug #1678292: Space after Bible book name auto-completion is missing
Bug #1694732: wizard sub title does not wrap
Bug #1695268: Bibles plugin fails to load due to invalid "last search type"
Bug: If Bible book name contains dot aft...

bzr-revno: 2749
2017-06-08 19:17:14 +01:00
Tim Bentley 1c4f335f23 head without some chords stuff! 2017-06-06 21:58:12 +01:00
Olli Suutari d247cf2388 Fixed bug: https://bugs.launchpad.net/openlp/+bug/1694732 2017-06-04 17:03:41 +03:00
Olli Suutari 3e70173be4 Renamed "last search type" to "last used search type" 2017-06-04 12:52:15 +03:00
Samuel Mehrbrodt 66c9f8eb82 made use of pystache for footer generation being configurable in song settings
- removed now obsolete and via template better configurable options to display "songbook", "written by" and "copyright" information in footer
- added explanation box for so far used settings as pystache placeholders
- added songs configuration setting for template including reset button
- added default template replacing currently existing configuration as best as possible (should be backwards compatible or at least be adaptable to correspond to former settings)
- adjusted tests to new and removed functionality

Fixes: https://launchpad.net/bugs/1695620
2017-06-04 01:31:47 +02:00
Ken Roberts 9f8433a18e Merge trunk 2017-06-01 15:36:38 -07:00
Ken Roberts 0fc49e3df1 Translations and more minor cleanups 2017-06-01 15:35:57 -07:00
Philip Ridout 2915a8f0e7 Head 2017-06-01 07:18:47 +01:00
Ken Roberts 80369c8b0b pylint fixes - minor cleanups 2017-05-30 16:26:37 -07:00
Philip Ridout a4ffbce6c3 HEAD 2017-05-30 19:50:39 +01:00
Philip Ridout a24d5f8f15 TODO's TODOne, and a few other cleanups 2017-05-30 19:42:35 +01:00
Ken Roberts 3ea37800b7 Fix db.Manager upgrade/PJlink2 update D 2017-05-27 11:21:24 -07:00
Tim Bentley 3b7852b569 clean up pep8 2017-05-24 20:55:30 +01:00
Tim Bentley 32668193c6 fix up tests 2017-05-24 20:31:48 +01:00
Tim Bentley 6fe9dfeb04 Head 2017-05-23 06:00:42 +01:00
Philip Ridout 234ba34a5b Head 2017-05-22 19:27:40 +01:00
Ken Roberts 8ee2c0b549 -- Update test data for Class 2 tests
-- Update Projector() db class with new data
-- Update test_projectordb tests
-- Rename PJLink1 class to PJLink
-- Fix/update power on/off tests (Qt error not caught properly during test)
-- Remove skip from projector constants test

--------------------------------
lp:~alisonken1/openlp/pjlink2-c (revision 2739)
[SUCCESS] https://ci.openlp.io/job/Branch-01-Pull/2020/
[SUCCESS] https://ci.openlp.io/job/Branch-02-Functional-Tests/1930/
[SUCCESS] https://ci...

bzr-revno: 2740
2017-05-22 17:26:45 +01:00
Phill cf4a39732b Fix the depreciated code, and refactor it.
lp:~phill-ridout/openlp/import-depreciations (revision 2736)
[SUCCESS] https://ci.openlp.io/job/Branch-01-Pull/2013/
[SUCCESS] https://ci.openlp.io/job/Branch-02-Functional-Tests/1923/
[SUCCESS] https://ci.openlp.io/job/Branch-03-Interface-Tests/1859/
[SUCCESS] https://ci.openlp.io/job/Branch-04a-Code_Analysis/1239/
[SUCCESS] https://ci.openlp.io/job/Branch-04b-Test_Coverage/1097/
[SUCCESS] https://ci.openlp.io/job/Branch-04c-Code_Analysis2/226/
[FA...

bzr-revno: 2738
2017-05-22 17:25:44 +01:00
Tim Bentley cad03b9abd fix tests 2017-05-21 17:06:40 +01:00
Ken Roberts cb5c0f82a3 PJlink class 2 updates C 2017-05-19 22:51:58 -07:00
Ken Roberts 81be8f5093 - Added PJLINK_DEFAULT_CODES to pjink1 imports
- Refactor command class checks and methods
- Update PJLink1.get_data for UTF-8
- Added method to clear busy flags and send received data signals
- Added class check on command reply data v. stated projector class compatibility
- Added test for PJLink1.socket_abort
- Added test for PJLink1.poll_loop
- Fix regression in test_projector_process_power_on

--------------------------------
lp:~alisonken1/openlp/pjlink2-b (revision 2735)
[SUCCESS] https...

bzr-revno: 2737
2017-05-17 21:35:43 +01:00