Commit Graph

12969 Commits

Author SHA1 Message Date
Ken Roberts b62bb37776 Reraise exception if retries > CONNECTION_RETRIES 2015-02-19 09:17:04 -08:00
Ken Roberts fd81d2d80a Fix thumbnail download blocking events 2015-02-19 07:34:09 -08:00
Ken Roberts 33d8dcfa50 Reraise exception outside of checks 2015-02-18 12:40:39 -08:00
Ken Roberts 2b63b5d3ad Add extra exceptions to get_web_page 2015-02-18 08:13:36 -08:00
Ken Roberts 80055b7ec0 Fix ftw socket.timeout bug 1422683 2015-02-17 13:27:51 -08: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
Ken Roberts 31f28ff03b Fix missed call to md5_hash in presentationcontroller
bzr-revno: 2499
2015-02-15 15:15:43 +02:00
Tomas Groth aef91445ca Handle OSError exception when creating files in various places. Fixes bug 1416888.
Fix parsing biblestudytools.com. Fixes bug 1418212.
Make Zefania import guess book from number if name is unavailable. Fixes bug 1417033.

bzr-revno: 2498
2015-02-14 15:11:11 +00:00
Phill Ridout 6ca70bbc5c New line at end of file 2015-02-13 23:27:25 +00:00
Phill Ridout 2eb58a56bd PEP fixes 2015-02-13 23:21:57 +00:00
Phill Ridout 498d17b000 Added tests 2015-02-13 23:10:16 +00:00
Phill Ridout af2467ed93 Check for theme version. Implement a custom exception
Fixes: https://launchpad.net/bugs/1419691
2015-02-13 21:47:06 +00:00
Phill Ridout e35a1d7763 head 2015-02-12 21:35:26 +00:00
Phill Ridout b427e216f1 small fixes 2015-02-12 21:24:39 +00:00
Tomas Groth bab5e90e20 Adjust error messages. 2015-02-10 22:25:30 +00:00
Ken Roberts 19e31d7492 Missed encoding for md5_hash 2015-02-10 13:01:22 -08:00
Ken Roberts 88cb02bb3d Fix bug #1417809: Remove default ascii encoding so md5hash can be used to hash other data.
bzr-revno: 2497
Fixes: https://launchpad.net/bugs/1417809
2015-02-10 21:38:53 +02:00
Philip Ridout 0eea292aa7 Fix bug #1409029: Select Translation Dialog missing icon. Add openlp-logo.svg to the resource file and regenerate the resource file.
bzr-revno: 2496
Fixes: https://launchpad.net/bugs/1409029
2015-02-10 21:31:10 +02:00
Tomas Groth 1e9430b435 Fix bug 1414980: Make xml parsing of presentation manager files recover if errors are encountered.
Fix bug 1414978: Set the cursor back to normal after deleting a presentation.
Fix bug 1410738: Added a cancel-button to FTW when no internet is available. 
Fix bug 1412517: Fix support for 'end' mark in bible-search.

bzr-revno: 2495
Fixes: https://launchpad.net/bugs/1414978, https://launchpad.net/bugs/1414980, https://launchpad.net/bugs/1410738, https://launchpad.net/bugs/1412517
2015-02-10 21:24:33 +02:00
Phill Ridout 08e1404ffb rename some of the unpacked vars 2015-02-08 18:38:47 +00:00
Tomas Groth 2cdc1b2fe4 Remove print 2015-02-06 22:21:01 +00:00
Tomas Groth d8e6f35694 Handle OSError exception when creating files in various places. Fixes bug 1416888.
Fixes: https://launchpad.net/bugs/1416888
2015-02-06 22:17:24 +00:00
Tomas Groth a5b92f1e87 Fix parsing biblestudytools.com. Fixes bug 1418212.
Fixes: https://launchpad.net/bugs/1418212
2015-02-06 20:29:38 +00:00
Ken Roberts 11f32861f5 Remove unneeded files 2015-02-06 09:44:40 -08:00
Phill Ridout 55088888f2 added openlp-logo.svg to the resource file and re generated file
Fixes: https://launchpad.net/bugs/1409029
2015-02-06 07:20:22 +00:00
Phill Ridout dbd25822f2 Add tests 2015-02-05 17:22:31 +00:00
Ken Roberts 0636985a74 fix presentation controller call to md5_hash 2015-02-04 09:20:14 -08:00
Ken Roberts a4235aafe9 Remove new functions - fix tests 2015-02-04 08:43:04 -08:00
Tomas Groth 7287759ba5 Fixed a string 2015-02-03 23:41:30 +00:00
Ken Roberts fd5b8112f9 sha1_filecheck test 2015-02-03 14:59:59 -08:00
Ken Roberts a50744adbc Added sha1_filecheck 2015-02-03 14:54:41 -08:00
Phill Ridout b6493bebbf Final Fixes 2015-02-02 22:04:30 +00:00
Tomas Groth 5b717db63a Make Zefania import guess book from number if name is unavailable. Fixes bug 1417033.
Fixes: https://launchpad.net/bugs/1417033
2015-02-02 20:40:31 +00:00
Phill Ridout b8838f496a Modified download hashing 2015-02-02 19:25:34 +00:00
Ken Roberts b02d44416a Allow md5check to use non-ascii encoding, added md5_filecheck 2015-02-02 10:00:39 -08:00
Phill Ridout 4c36bba911 head 2015-02-01 21:40:59 +00:00
Phill Ridout 0dee929f30 Test fix 2015-02-01 21:40:17 +00:00
Philip Ridout cfa8e4f2df Fixes #1414585 Thumbnail of images isn't shown in stage view and remote control
and #1414585 2.1.2 Traceback on Presentations for MAC

bzr-revno: 2494
2015-02-01 19:51:54 +00:00
Philip Ridout b40f931618 Fix - Preview media slider repeatedly shows "Error Occurred" dialogue box
bzr-revno: 2493
2015-02-01 15:04:37 +00:00
Tim Bentley 93038bb27d Move delete option to support ham fisted users
bzr-revno: 2492
2015-02-01 13:37:54 +00:00
Phill Ridout 6d2b1d958e Better handle failed downloads 2015-01-31 21:52:02 +00:00
Ken Roberts 93ce2caf34 Fix invalid call to QMessageBox() when user wants to delete user-defined source text.
bzr-revno: 2491
2015-01-31 14:18:19 +00:00
Philip Ridout cf2188a5bb OSX: OpenLP does not start without phonon by checking for an import error and disabling the audio player if not available.
bzr-revno: 2490
2015-01-31 08:18:58 +00:00
Tomas Groth cf9c91f171 Fix parsing of partly broken presentation manager files on windows. 2015-01-30 21:50:36 +00:00
Tim Bentley 6f76c164e0 fix delete 2015-01-30 21:15:03 +00:00
Phill Ridout cdafe89624 Change fileName to file_name 2015-01-30 21:03:53 +00:00
Phill Ridout 59088887fc PEP Fixes 2015-01-29 21:21:03 +00:00
Tomas Groth 46ee502ad6 Fix for chardet input. 2015-01-29 21:20:36 +00:00
Tomas Groth 1b75cc9c6b Fallback to manual encoding detection. 2015-01-29 21:15:39 +00:00