Commit Graph

1592 Commits

Author SHA1 Message Date
Tomas Groth
037d3f4f7d Added support for author types in tests + some VideoPsalm fixes 2015-12-18 23:24:20 +01:00
Tomas Groth
6eb17b561d trunk 2015-12-18 21:13:21 +01:00
s.mehrbrodt@gmail.com
12141d6a7e Small fixes:
* Multiple '%s' in one string need to be named for translations (otherwise the order might get confused)
  * OpenLP 2.0 -> OpenLP 2
  * Change buttons of "Do you really want to close" dialog: Instead of ("No", "Yes") use ("Cancel", "Close OpenLP")
  * Improve exception dialog (mention that description should be english and relevant files should be attached)
  * Do not translate the bug report labels
  * Ignore "E402 module level import not at top of file" pep8 errors (added to ...

bzr-revno: 2574
2015-12-18 16:48:53 +00:00
Samuel Mehrbrodt
e6978033e9 PEP8 2015-12-17 22:43:49 +01:00
Tomas Groth
6b8178a0b4 Added support of importing VideoPsalm songbooks. 2015-12-17 22:39:52 +01:00
Samuel Mehrbrodt
020864dd26 PEP8 2015-12-17 22:28:36 +01:00
Samuel Mehrbrodt
0ce6804171 Fix pep8 2015-12-17 21:27:08 +01:00
Jonathan Springer
8327346647 merge trunk 2015-12-16 17:25:41 -05:00
Jonathan Springer
445e755895 Change some keyboard shortcuts to use predefined platform dependent shotcuts from Qt.
Display keyboard shortcuts with modifiers in their platform native form.
2015-12-16 17:19:50 -05:00
Jonathan Springer
0a935bdb90 merge trunk 2015-12-13 19:21:58 -05:00
springermac@gmail.com
4687d71c50 Fix traceback in mediacontroller if a service item had a processor type of automatic
bzr-revno: 2573
2015-12-13 22:59:45 +01:00
Tomas Groth
44a523631e Only import vlc in one place. Make it work with PyInstaller. 2015-12-13 21:35:23 +01:00
Samuel Mehrbrodt
0d4541b8dc Merge trunk 2015-12-11 09:33:24 +01:00
Jonathan Springer
3108adff17 Add test for failing situation 2015-12-10 12:25:34 -05:00
Jonathan Springer
f241aa663d Add test to reproduce traceback in mediacontroller 2015-12-07 16:31:46 -05:00
Tim Bentley
dcf97bf93b head 2015-12-05 12:45:01 +00:00
Jonathan Springer
6b35a99775 merge trunk 2015-12-01 17:07:00 -05:00
Jonathan Springer
609f5a8512 Fix projector tests 2015-12-01 14:47:46 -05:00
Jonathan Springer
3b3c8a35b6 merge trunk 2015-11-29 17:57:37 -05:00
Tim Bentley
6a48bb5ac2 Style fixes 2015-11-28 20:13:16 +00:00
Tim Bentley
3a31f86e84 Head 2015-11-28 17:05:06 +00:00
Tim Bentley
64867b52a8 Add tests for Presentations 2015-11-28 17:04:46 +00:00
Tomas Groth
a5525e96c1 Fix projector tests. 2015-11-26 21:44:19 +01:00
Tomas Groth
be222ca597 Fix tests that fails on py35. 2015-11-25 22:47:56 +01:00
Tim Bentley
78078fb2ed catchup late fixes from 2.2.1 2015-11-21 08:31:17 +00:00
Jonathan Springer
d178aa1eec Fix tests 2015-11-20 14:30:46 -05:00
Jonathan Springer
4175b18507 Fix color button test 2015-11-16 23:58:30 -05:00
Tim Bentley
a5a2b8b02b fix remote call data 2015-11-15 15:13:40 +00:00
Tim Bentley
b4d7798300 fix join in tests 2015-11-08 21:23:15 +00:00
Tim Bentley
97e3eea173 and add tests 2015-11-08 21:07:48 +00:00
Jonathan Springer
285e12bc9d PEP8 2015-11-06 20:09:32 -05:00
Jonathan Springer
7af1ca1d49 Migrate to PyQt5 2015-11-06 19:49:40 -05:00
Tim Bentley
0e4847b5fa head 2015-11-02 20:57:48 +00:00
Tomas Groth
f712b35b08 pep8 fixes 2015-10-27 22:36:52 +00:00
Tomas Groth
a8c5f8cb52 Make test windows-only, again. 2015-10-27 15:15:22 +00:00
Tomas Groth
fc5f2e1018 Improve the worshipcenter pro importer and updated test. 2015-10-27 15:00:11 +00:00
Tomas Groth
d65fa351c3 Added test for zionworx file import. 2015-10-27 13:16:48 +00:00
Tim Bentley
c61fde2d1f Refactor tests 2015-10-17 19:11:04 +01:00
Tim Bentley
25332a2cb1 Head and 2.2 2015-10-17 12:20:51 +01:00
Tim Bentley
50ceb568e5 Release 2.2
bzr-revno: 2562
2015-10-17 12:18:23 +01:00
Tim Bentley
ff5513f630 add test 2015-10-16 17:33:33 +01:00
Tim Bentley
a5b8827c96 Pep 8 2015-10-16 17:17:38 +01:00
Tim Bentley
58124c01d2 Add advanced 2015-10-16 17:09:35 +01:00
Tim Bentley
9ea1cab296 code fix 2015-10-15 19:21:04 +01:00
Tim Bentley
3bc0dbe4d9 func test pass 2015-10-15 19:15:55 +01:00
Tim Bentley
8be1450eae core_int_test 2015-10-15 19:06:16 +01:00
Tomas Groth
8fd8273209 Added test for bug 1490996. 2015-09-09 14:45:57 +01:00
Tomas Groth
585c319c8b Improved the robustness of the download-webbibles-form. Fixes bug 1489757.
Fixes: https://launchpad.net/bugs/1489757
2015-08-28 09:50:13 +01:00
Tomas Groth
4488fedfdc Fix SongPro import. Fixes bug 1489376.
Fixes: https://launchpad.net/bugs/1489376
2015-08-27 12:24:24 +01:00
Samuel Mehrbrodt
fc3a5f27c9 Add test 2015-08-26 10:50:38 +02:00
f36a9c29dc Release 2.1.6
bzr-revno: 2550
2015-08-23 21:04:23 +02:00
Tomas Groth
8b1c81f00a Ignore Libre/OpenOffice exceptions if we are closing it. 2015-08-03 19:54:00 +01:00
Tomas Groth
25ce352047 Fix traceback in OSIS import on empty verse tag. 2015-07-04 23:19:13 +01:00
Tomas Groth
5444614ced Added songselect login except test 2015-06-24 21:26:52 +01:00
Tomas Groth
fe40cb6eec Use patch decorator for test. 2015-06-13 15:48:57 +01:00
Tomas Groth
33a4e00002 Made test work on windows. 2015-06-11 17:11:16 +02:00
Tomas Groth
a97d30f2e5 Added test. 2015-06-10 22:43:03 +01:00
Tomas Groth
1b332c1580 Fix PDF reader using wrong maindisplay size. 2015-06-10 17:05:29 +02:00
Tim Bentley
39b3b0efbf Release 2.1.5
bzr-revno: 2543
2015-05-31 14:53:04 +01:00
Tim Bentley
b7d0fc8ffc Fix focus and test 2015-05-31 07:40:37 +01:00
bd92e6a7d3 Fix a left-over from the VLC 2.2 fix; fix a problem when video player from the UI is None
bzr-revno: 2541
2015-05-30 13:11:32 +01:00
8c5a7d27b2 Some tests 2015-05-29 23:01:44 +02:00
Tomas Groth
623a0974a5 For worshipassistant add a default verse-id for lyrics to use if none is given. Fixes bug 1458056.
Don't import setting keys that does not exists. Fixes bug 1458672.
When going from a theme-blanked item to item which doesn't support theme-blanking, switch to black-blank.
Only use transitions if we are changing slide. Fixes bug 1449064.
Make translation of 'Advanced' specific to the bible plugin.
Many PowerPoint fixes/improvements:
 * Make screenshots for main webview, even on single screen setup. Fixes bug 1449041.
 * Implement workaround for unblanking bug in PowerPoint 2010.
 * Open PowerPoint hidden so the main application window isn't visible.
 * Added support for odp for PowerPoint 2007 and newer.
 * Added support for Powerpoint events, which is used to update the slidecontroller if OpenLP is not in focus.
 * Minimized the flashing of the PowerPoint presentation window in the taskbar.

bzr-revno: 2539
2015-05-29 17:22:22 +01:00
Jonathan Springer
aa97feb064 Fix bug 1395848 by setting the WindowStaysOnTop window flag when the MainDisplay is not on the primary screen.
bzr-revno: 2538
2015-05-28 00:06:22 +02:00
Jonathan Springer
f41dc964c7 Merge tests 2015-05-26 00:52:00 -04:00
Jonathan Springer
79abd9b82e PEP8 fix 2015-05-26 00:33:55 -04:00
Jonathan Springer
0a8d1906ce Fix patch in tests 2015-05-26 00:27:43 -04:00
Jonathan Springer
a880d152ec Add tests for window flags change 2015-05-25 17:41:18 -04:00
Tomas Groth
a5cebb73c4 trunk 2015-05-25 21:58:05 +01:00
Tim Bentley
f704cc9bb3 Pep8 2015-05-25 21:09:18 +01:00
Tim Bentley
1cfd33df30 Fix Jenkins, tests and spellings 2015-05-25 21:03:31 +01:00
Tim Bentley
54dbafed8e Fix issue with android where tagging is wrong is the render takes too long 2015-05-25 20:31:12 +01:00
Tomas Groth
4266d9cbdf For worshipassistant add a default verse-id for lyrics to use if none is given. Fixes bug 1458056.
Fixes: https://launchpad.net/bugs/1458056
2015-05-25 12:11:04 +01:00
d354bcf365 Test that the overridden method does the right thing 2015-05-17 23:13:05 +02:00
6d8882d302 Fix up some tests to dodge Windows 2015-05-07 23:53:19 +02:00
2860d3edeb HEAD 2015-05-07 23:29:43 +02:00
167fd6cf45 Play tests pretty much done 2015-05-07 18:44:55 +02:00
08639493ee Initial stab at a test around the play() method 2015-05-05 21:47:38 +02:00
Tomas Groth
51b37de551 Fix a powerpoint test and make it run on all platforms. 2015-05-05 15:20:24 +02:00
4bd385b902 WIP: play test 2015-05-03 00:17:33 +02:00
4ae8250f77 Update UI tests 2015-05-02 23:15:50 +02:00
822912e0a6 load tests 2015-05-02 22:36:07 +02:00
Tomas Groth
a7a71237c0 Added tests of powerpoint blanking. 2015-05-01 21:54:05 +01:00
35d722f872 WIP: load tests 2015-05-01 22:00:52 +02:00
fea79cf7dc Add a test for get_info() 2015-05-01 17:56:16 +02:00
6126546977 Add tests around set_visible 2015-05-01 17:15:14 +02:00
f5301cc9f2 Add a test around reset 2015-05-01 17:09:32 +02:00
f5b883d40b Add tests around seeking 2015-05-01 17:05:42 +02:00
9232e75582 Add tests around pausing 2015-05-01 15:05:38 +02:00
dd9e12d2b5 Fixed an interface test, added some more VLC tests 2015-04-30 23:14:23 +02:00
Tomas Groth
335d8d2d17 pep8 fix 2015-04-29 09:20:25 +02:00
Tomas Groth
cc5aba2008 Fix vlc test 2015-04-29 09:13:01 +02:00
54ce226ad8 Add tests for stop(), resize(), check_available() and volume() 2015-04-28 22:27:55 +02:00
d09c5acd0a Silence a Phonon warning by providing an application name in the tests. 2015-04-28 20:20:03 +02:00
64695b9c33 Strip out unnecessary asserts 2015-04-28 16:06:36 +02:00
fda7ab562c Add some tests 2015-04-28 16:01:09 +02:00
2a1778c878 Add a test for the constructor 2015-04-28 01:04:16 +02:00
b1237b6b6a Add 2.1.4 to the list of allowed tags. 2015-04-27 23:18:03 +02:00
07b7d9b6a9 Fix a problem with VLC 2.2 on Mac OS X, where VLC could not find it's plugins, and would bomb out.
bzr-revno: 2533
2015-04-27 17:02:16 +01:00
f638418b7b Fix the tests on OS X to remove the plugin path and the module when re-running the tests 2015-04-27 11:33:29 +02:00
1ad2578065 WIP: Add another test to check that both tests are working properly 2015-04-27 11:12:28 +02:00
1387bfc838 Fixed up the test 2015-04-25 21:29:39 +02:00
ab54b04468 Fix VLC 2.2 on OS X which cannot be loaded due to an incorrect plugin path 2015-04-25 16:32:09 +02:00
Jonathan Springer
8e0fc05b82 Inital stab at test 2015-04-25 10:06:32 -04:00
Tomas Groth
ae785815c8 Fix test on windows. 2015-04-22 22:05:46 +01:00
Tomas Groth
cbeece7375 Added test for on_delete_click in the image plugin. 2015-04-22 21:57:33 +01:00
Tomas Groth
67ecf9b901 Take focus back if Powerpoint steals it - fixes bug 1423913.
Optionally advance a Powerpoint slides animation when clicked in the slidecontroller - fixes bug 1194847.
Made OpenLP respect hidden slides. Improved logging in case of errors.
For Impress, go to previous effect instead of the previous slide.

bzr-revno: 2527
Fixes: https://launchpad.net/bugs/1423913, https://launchpad.net/bugs/1194847
2015-04-03 20:36:02 +02:00
Tomas Groth
cff0b412f8 Mark a custom slide edited from preview as coming from plugin. Fixes bug 1439671.
Use html.escape instead of the deprecated cgi.escape
Fix support for special characters in theme names. Fixes bug 1438563.
Fix another case of traceback when playing media with no players available/enabled (bug 1422761).

bzr-revno: 2526
Fixes: https://launchpad.net/bugs/1439671, https://launchpad.net/bugs/1438563, https://launchpad.net/bugs/1422761
2015-04-03 20:31:19 +02:00
Tomas Groth
335c804e8f Fix support for special characters in theme names. Fixes bug 1438563.
Fixes: https://launchpad.net/bugs/1438563
2015-04-02 10:04:56 +01:00
Tomas Groth
d5804567b5 Added test + some cleaning 2015-04-02 09:33:46 +01:00
02128c85f0 Fix bug #1437771: Clear the song after every import
- Set processed song to None after importing
- Update tests to check that song is None after importing
- Remove tests that were testing OptionParser, and replace with tests testing parse_options()
- Fix some docstring typos causing some tests to have a name of " (yes, a single double-quote)

Fixes: https://launchpad.net/bugs/1437771
2015-03-31 22:58:51 +02:00
Tomas Groth
3f8a7975ee Test fix 2015-03-30 15:31:41 +02:00
Tomas Groth
f8084059ba Added test + small fixes. 2015-03-18 22:04:30 +00:00
cecde62157 Fix bug #1411433 by moving some stuff around.
bzr-revno: 2522
2015-03-11 18:47:29 +00:00
Tomas Groth
8fe254e576 Added test 2015-03-10 23:46:37 +00:00
3c130cf201 Fix bug #1411433 by rearranging methods within the media plugin
Fixes: https://launchpad.net/bugs/1411433
2015-03-10 23:33:35 +02:00
Tomas Groth
aefe3e9cad trunk 2015-03-09 20:42:28 +00:00
Tomas Groth
512df1451d Use the language id when importing bibles. And fixed presentationcontroller tests. 2015-03-09 20:42:03 +00:00
54c23cc7bd Fix bug #1419300 by checking if we are doing single-click previewing and not engaging preview on double-click
Fixes: https://launchpad.net/bugs/1419300
2015-03-07 00:18:51 +02:00
88ceae517a Fix code analysis 2015-03-02 21:21:41 +02:00
Tim Bentley
5cf4e79489 Fix invalid log_exception
bzr-revno: 2517
2015-02-28 18:59:59 +00:00
Oliver Wieland
408dd440ce Fix bug #1424555 by setting the verse and not allowing it to change
bzr-revno: 2516
Fixes: https://launchpad.net/bugs/1424555
2015-02-28 20:46:31 +02:00
Tim Bentley
1d82bc534c Add tests 2015-02-28 09:41:06 +00:00
3131c3f7c8 Some CCLI import fixes, a quitting dialog in one case, and empty lyrics in another.
Fix bug #1412216 where a song from CCLI without lyrics would cause a traceback - now just tell the user.
Fix bug #1423699 so that you're not logged out when you want to import more songs.

bzr-revno: 2515
2015-02-28 06:47:35 +00:00
e14c03166d Minor style fixes 2015-02-28 01:02:19 +02:00
f843e5a8a0 HEAD 2015-02-28 00:30:47 +02:00
7d7fec194e Fix bug #1423699 so that you're not logged out when you want to import more songs.
Fixes: https://launchpad.net/bugs/1423699
2015-02-28 00:28:24 +02:00
Oliver Wieland
6aff21c784 Changed test descrition 2015-02-27 20:33:49 +01:00
Tomas Groth
e6f93904f7 trunk 2015-02-26 21:10:35 +00:00
Tomas Groth
4fb55448f8 Fixes for code and tests. 2015-02-26 20:58:54 +00:00
Oliver Wieland
07c997817d added test 2015-02-23 19:30:45 +01:00
4847efdfd6 Release 2.1.3
bzr-revno: 2513
2015-02-21 22:05:25 +02:00
85b8cb2c50 Fix bug 1422683: Added exception checks to get_web_page() to help with changed description. Rearrange calls so thumbnail downloads don't hang other event threads. Reraise exception when retries > CONNECTION_RETRIES.
bzr-revno: 2512
Fixes: https://launchpad.net/bugs/1422683
2015-02-21 21:11:25 +02:00
Tomas Groth
66b898f2c3 Don't try to play media if no players are available. Fixes bug 1422761.
Do not display alert on a single screen when 'Display on a single screen' is not checked. Fixes bug 1423956.

bzr-revno: 2510
Fixes: https://launchpad.net/bugs/1422761, https://launchpad.net/bugs/1423956
2015-02-21 21:03:59 +02:00
Phill Ridout
a6fed0a3e5 HEAD 2015-02-21 13:10:28 +00:00
Phill Ridout
4b52fde1da Fixes possible bug and adds test 2015-02-21 13:08:56 +00:00
Tomas Groth
df9594e11d trunk 2015-02-21 12:45:44 +00:00
3a2cd7472b Fix duplicate test names in songselect test
bzr-revno: 2507
2015-02-21 12:43:09 +00:00
Phill Ridout
79204ea723 PEP fix 2015-02-19 22:04:54 +00:00
Phill Ridout
a255faa95b HEAD 2015-02-19 21:53:21 +00:00
Tomas Groth
dde3684cf0 Added test 2015-02-19 20:53:42 +00:00
Phill Ridout
75c9391d8e Tests 2015-02-19 18:57:05 +00:00
e0c44c4b9f Rename test to match file import type 2015-02-18 14:39:02 -08:00
872d5b9d26 Fix duplicate test names 2015-02-18 14:04:29 -08:00
Tomas Groth
52f3695334 Initial support for fetching list of web bibles. Not used yet. 2015-02-17 22:58:29 +00:00
80055b7ec0 Fix ftw socket.timeout bug 1422683 2015-02-17 13:27:51 -08:00
Tim Bentley
870b69b497 Remove cache for http authentication
bzr-revno: 2503
2015-02-17 19:49:16 +00:00
Tomas Groth
1b2b1c74cc Use the doubleclick-go-live setting in the preview controller. Fixes bug 1422197.
If no copyright info is given for bible, don't print it. Fixes bug 1420785.
Make csv-bible import work with python3. Fixes bug 1421136.
Add default shortcut bindings for preview next/prev, and make the appear in the shortcut edit dialog. Fixes bug 1412570.

bzr-revno: 2502
2015-02-17 18:50:10 +00:00
Philip Ridout
f7cb420a31 Fixes bug1419691 by checking the theme version number (OpenLP1 themes didn't have a version no.) and by removing the *.theme filter from the file dialog.
Also added a ValidationError exception class, to tidy up the unzip code slightly

bzr-revno: 2501
2015-02-17 05:51:24 +00:00
Philip Ridout
16758d1b80 Fixes bug1073931 "Corrupted databases stop OpenLP from starting"
Checks if the database session is available before trying to use it.
Use a sha256 hash to verify downloaded files. See also: https://code.launchpad.net/~phill-ridout/openlp/sha256

bzr-revno: 2500
2015-02-17 05:47:19 +00:00