Commit Graph

409 Commits

Author SHA1 Message Date
Tim Bentley
c1a1ac58ba Fix tests and code 2018-12-02 09:03:01 +00:00
Tim Bentley
26a9b2430d Head 2018-10-27 07:00:51 +01:00
d1c4cea777 Fix linting issues 2018-10-26 18:40:20 -07:00
ec479e589b Fix a bunch of linting issues (which should also help resolve other circular dependencies) 2018-10-26 16:15:31 -07:00
Tim Bentley
bc7b772ed2 head 2018-10-20 15:43:33 +01:00
Tim Bentley
1d4a414240 more state stuff 2018-10-20 15:41:32 +01:00
Kyle Russell
8a5a2628dc Fix pycodestyle line spacing warnings 2018-08-31 20:27:53 -04:00
Kyle Russell
c366e58683 Improve usability of image plugin choosegroupform
In order to add an image to an existing group when no group was preselected,
the user must currently choose the existing group name from the comboxbox
and also select the Existing Group radio button.  It should be assumed that
by selecting a group name from the combobox, the user intendeds to add the
image to an existing group, and the accompanying radio button should
automatically be selected.  This reduces the number of required clicks, and
the likelihood of not actually adding the image to the correct group.

Likewise, if a user enters text into the New Group field, the dialog
should assume that the user's intent is to create a new group and auto
select the appropriate radio button.

Also removes some choosegroupdialog specific component logic from mediaitem,
since it's now covered by the choosegroupdialog implementation.  Better
encapsulation, and improves testability. (Testing that the existing group
radio button was selected when choosedialogform was initialized with a
preselected group requires much more effort when the radio button selection
logic spanned two components.)

Adds simple test cases for the scenarios described above.
2018-08-29 23:11:30 -04:00
Simon Hanna
aaef55106c Remove imports from openlp/core/ui/__init__.py and update related files 2018-08-25 16:36:46 +02: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
Phill Ridout
6a8bf83d27 Add cetralised proxy support
bzr-revno: 2823
2018-07-12 21:10:35 +01:00
Tomas Groth
318e90f893 Fixes for pycodestyle 2018-07-02 22:38:47 +02:00
Phill Ridout
2aaa0bf287 break out the code using multiple when/thens 2018-06-10 07:38:42 +01:00
Phill Ridout
dce509e909 Add some forgetten files 2018-06-07 18:45:24 +01:00
8e5fb217d3 - manager: Remove unused signal disconnect projectorNetwork.disconnect()
- Change PJLinkUDP.pjlink_udp_commands to dict with link to processing methods
- Add test_projector_pjlink_udp.test_process_ackn_duplicate
- Add test_projector_pjlink_udp.test_process_ackn_multiple
- Add test_projector_pjlink_udp.test_process_ackn_single
- Add test_projector_pjlink_udp.test_process_srch
- Add PJLinkUDP.get_datagram method
- Add PJLinkUDP._trash_udp_buffer method
- Add PJLinkUDP.process_ackn method
- Add ...

bzr-revno: 2813
2018-02-16 21:09:49 +00:00
f1996d2cb7 PJLink2 Update P 2018-02-11 03:42:13 -08:00
53ac8468d4 Fix copyright 2018-01-24 13:27:22 -07:00
d758ed257c Fix progress not showing in the FTW 2018-01-13 16:24:26 -07:00
4fae7f829d Fix the tests I broke 2018-01-06 22:24:55 -07:00
Tim Bentley
162742927e head fixes 2017-12-29 10:19:33 +00:00
Tim Bentley
2edfe63a59 pep8 2017-12-29 10:02:13 +00:00
Tim Bentley
8997fc07e0 ci fixes 2017-12-29 09:40:15 +00:00
Tim Bentley
41f35f52e3 End of 2017 2017-12-29 09:15:48 +00:00
Tim Bentley
367f8f9315 add missing text 2017-12-28 09:34:04 +00:00
Tim Bentley
cfc487d623 tests 2017-12-28 08:27:44 +00:00
Phill Ridout
a4054d3c2c Move song test resources to a 'song' sub directory'
A few other minor changes
2017-12-24 08:42:46 +00:00
Phill Ridout
cb53a266ce HEAD 2017-12-24 07:40:07 +00:00
Tim Bentley
35d2ce263e finished 2017-12-23 09:22:53 +00:00
Tim Bentley
5e9a73ca9f almost finished 2017-12-23 09:10:43 +00:00
Tim Bentley
6729e78231 almost finished 2017-12-23 09:09:45 +00:00
Phill Ridout
38c124224f more test tidy ups 2017-12-22 22:21:38 +00:00
Phill Ridout
a79ec45055 HEAD 2017-11-18 22:40:05 +00:00
ecaf678a55 - Move openlp.core.lib.projector to openlp.core.projectors
- Move openlp.core.ui.projector to openlp.core.projectors
- Move tests.functional.openlp_core/lib/test_projector* to tests.functional.openlp.core.projectors
- Fix imports for new projector location
- Convert projector imports to fully-qualified import
- Fix delete projector item in ui.manager
- Fix projector tests
- Merge trunk (fix tests)
- Rename "Projector" dock to "Projector Controller"
--------------------------------------------...

bzr-revno: 2789
2017-11-18 22:25:36 +00:00
Phill Ridout
9196db5af0 Pathlib refactors and test fixes 2017-11-18 11:23:15 +00:00
c46cd951ef Projector imports to fully-qualified, renamed projector dock 2017-11-16 15:53:53 -08:00
8c3fd99ed5 Fix missing line 2017-11-15 00:03:35 -07:00
d50029c636 Merge trunk 2017-11-14 16:19:49 -08:00
e5c9b7c98e Merge from upstream 2017-11-14 17:01:19 -07:00
1cb11832bd Added some tests for the settings upgrade and fixed a bug I had introduced. 2017-11-14 00:19:10 -07:00
Phill
f302b21c4c Fixed a number of bugs, and tests.
Failing on Code Analysis2, but this looks like fallout from the refactors (it hasn't passed since the beginning of october)

Also contains superflys branch lp:~raoul-snyman/openlp/fix-linting

--------------------------------
lp:~phill-ridout/openlp/fixes-mkII (revision 2794)
[SUCCESS] https://ci.openlp.io/job/Branch-01-Pull/2276/
[SUCCESS] https://ci.openlp.io/job/Branch-02-Functional-Tests/2178/
[SUCCESS] https://ci.openlp.io/job/Branch-03-Interface-Tests...

bzr-revno: 2784
2017-11-10 22:36:52 -07:00
3d4ed035e9 PJLink2-L updates 2017-11-10 03:59:38 -08:00
Phill Ridout
881c3648cc Test fixes 2017-11-09 20:24:46 +00:00
Phill Ridout
f307568cbb Misc test fixes 2017-11-03 22:52:24 +00:00
Phill Ridout
fe5430e157 HEAD 2017-10-27 22:11:29 +01:00
d5ab3340eb Move widgets to a widgets module 2017-10-23 15:09:57 -07:00
15a4a93c96 Phase 2 complete 2017-10-10 00:08:44 -07:00
7086c88c7c Fix a test that was failing (not sure why) 2017-10-09 18:08:09 -07:00
b406cfd5a8 Phase 1 complete 2017-10-07 00:05:07 -07:00
Tim Bentley
e2fd8beb2a fix tests 2017-09-27 20:16:24 +01:00
Philip Ridout
69fca430b5 HEAD 2017-09-26 17:42:54 +01:00