Tim Bentley
a74567b9f6
Bible database tests
2014-03-11 19:01:09 +00:00
Tim Bentley
6d8b5cadb4
Lib cleanup and 2014
2013-12-24 08:56:50 +00:00
Tim Bentley
b9e2a2cdc1
Missed imports
2013-10-13 22:07:28 +01:00
Tim Bentley
63685cb29e
Move Settings and translate
2013-10-13 21:36:42 +01:00
Tim Bentley
257fba8548
Start theme clean up
2013-10-13 14:51:13 +01:00
Andreas Preikschat
3e1a863bae
2to3 and resources.py
2013-08-31 20:17:38 +02:00
Raoul Snyman
9430e569f4
Fix one small issue with the songs upgrade scripts.
2013-04-04 10:02:47 +02:00
Raoul Snyman
d88e8a0b02
Migrated to Alembic (if you'll excuse the pun)
2013-04-03 21:46:41 +02:00
Andreas Preikschat
d77efd63d2
fixed double space
2013-03-22 21:35:59 +01:00
Andreas Preikschat
e6e57b6c03
updated comments and docs to 120 characters per line
2013-03-22 21:29:52 +01:00
Tim Bentley
19c05a7fc0
Half plugin tabs done
2013-03-16 16:59:10 +00:00
Andreas Preikschat
8f5fe64d3e
fixed short lines
2013-02-04 22:39:44 +01:00
Raoul Snyman
922c392ecb
Slowly start moving names to PEP8 style names.
2013-02-02 22:54:34 +02:00
Raoul Snyman
18034a2f6a
Linting cleanups.
2013-02-01 21:58:18 +02:00
Andreas Preikschat
e762e3b672
r2151 + conflicts
2013-01-20 13:23:22 +01:00
Andreas Preikschat
b91177f00b
removed not needed imports
2013-01-19 00:31:02 +01:00
Andreas Preikschat
2616f63007
removed value parameter (still needs work)
2013-01-11 00:07:48 +01:00
Tim Bentley
4a0b3f90aa
2013 is comming
2012-12-29 20:56:56 +00:00
Tim Bentley
ae576251bd
Core lib
2012-12-28 22:06:43 +00:00
Andreas Preikschat
fc38f62a17
trunk + conflicts
2012-12-04 22:50:14 +01:00
Tim Bentley
a7294a8e8b
Copyright and Translation updates from 2.0
2012-12-01 07:57:54 +00:00
Tim Bentley
5646183803
Fixes
2012-11-11 21:16:14 +00:00
Tim Bentley
55f4bc3a73
Fix name and add spearator
2012-11-11 19:33:53 +00:00
Raoul Snyman
b76be3d6b8
Fixed bug #1077654 where there were more classes in the CSS, but we were specifically looking for only one class. Made the code less brittle.
...
Fixes: https://launchpad.net/bugs/1077654
2012-11-11 18:09:23 +02:00
Tim Bentley
47c9af348c
Fix spelling - oops
2012-11-07 21:37:01 +00:00
Andreas Preikschat
3629c8a535
r2098 + conflict
2012-11-01 16:56:03 +01:00
Tim Bentley
716dc9ccf0
More updates
2012-10-21 15:07:57 +01:00
Tim Bentley
cdbc1fd82e
Copyrights
2012-10-21 14:16:22 +01:00
Andreas Preikschat
159f3ea9a2
r2074 + conflicts
2012-10-03 18:38:06 +02:00
Samuel Findlay
4510fdbede
Added three names in Copyright headers and About window (Samuel Findlay, Edwin Lunando, Dave Warnock). Fixed consistency issues.
2012-06-23 00:14:53 +10:00
Dave Warnock
e0c5fabc5a
Amend DB Error OperationError
...
bzr-revno: 1988
2012-06-11 18:33:57 +01:00
Dave Warnock
b9b0d83a00
renamed tryCount local variable to try_count
2012-06-11 15:11:53 +01:00
Dave Warnock
913b0433f6
This update is a tidy up of the code that fixed bug #927473
...
Changes are made due to the following issues:
- the code assumed that exception OperationalError would only be thrown by mySQL temporarily disappearing. However, other dbms can throw this exception and usually for errors that mean a retry will also fail.
- the code repeated the actual code of the method within the exception handler. This means code duplication and also that any new exceptions are not handled by the same exception handler so for example their transaction will not get rolled back.
- not all potential dbms exceptions were caught and so in some cases the database transaction was not rolled back
The solution is to retry transactions where an OperationalError is thrown. Currently these are retried up to 3 times before the error is logged and the method returns false. By retrying the transaction we ensure that the same transaction code with the same exception handlers is used each time.
An additional catchall exception has been added where there is a transaction to ensure that it is rolled back. As with the OperationError this throws the exception back up the stack.
2012-06-10 22:45:02 +01:00
Andreas Preikschat
ed3b7660fa
removed not neede unicode calls
2012-05-17 20:57:01 +02:00
Andreas Preikschat
4a979b49d9
continued to implement QString v2 api
2012-05-17 18:19:06 +02:00
Andreas Preikschat
2d99f59c84
started to use QString v2 api
2012-05-17 17:13:09 +02:00
Stevan Pettit
f1586052a6
Added code to allow OpenLP to run portable
2012-05-11 08:22:34 -04:00
Jon Tibble
9785e7f1be
Cleanups
2012-03-12 19:35:29 +00:00
Rastislav Pecik
8818256b2a
Fixed code according to mrege proposal comments
2012-02-28 15:06:14 +01:00
Rastislav Pecik
271c4ef1a4
using QtCore.QVariant object as a second argument in settings.value method
2012-02-28 12:30:30 +01:00
Rastislav Pecik
6ec167ed83
QSettings.value() now uses second argument for default value, which is utf8
2012-02-28 12:12:52 +01:00
Rastislav Pecik
c024e9e47d
Exported mysql charset settings to configuration files and cleaned up the code
2012-02-27 19:18:52 +01:00
Rastislav Pecik
b56d8d2a06
Fixed connection to mysql to use UTF8 encoding.
...
Fixes: https://launchpad.net/bugs/941692
2012-02-27 01:42:35 +01:00
Raoul Snyman
bcad2c171f
Added exception logging in case we need to confirm that we are actually getting the exception we think we are.
2012-02-16 21:05:16 +02:00
Raoul Snyman
f8a8185eb0
Attempt to catch the OperationalError which is thrown when MySQL closes the connection without telling us.
2012-02-12 11:24:06 +02:00
Tim Bentley
2a5e8935bb
New year merge
2011-12-27 10:33:55 +00:00
Tim Bentley
17bca693c6
Block song exports
2011-12-04 16:36:18 +00:00
Tim Bentley
456d7ec68e
remove print
2011-12-04 07:27:49 +00:00
Tim Bentley
6698ce578d
Change Data type
2011-12-03 19:08:02 +00:00
Tim Bentley
add75e9c7f
Head 1815
2011-12-03 17:02:11 +00:00