Tim Bentley
3a8b068af8
Year older
2015-12-31 22:46:06 +00:00
Phill Ridout
a6dfbdcf71
fix upgrade_db
2015-02-18 21:13:12 +00:00
Tomas Groth
7c0386b7c0
Fixes for mysql as db backend
...
bzr-revno: 2504
2015-02-17 19:50:18 +00:00
Phill Ridout
b427e216f1
small fixes
2015-02-12 21:24:39 +00:00
Tomas Groth
8c8fbe45b2
Fixes to make mysql db work
2015-02-11 20:56:13 +00:00
Phill Ridout
6d2b1d958e
Better handle failed downloads
2015-01-31 21:52:02 +00:00
Raoul Snyman
de213b0f66
Copyright cleanup time,
...
bzr-revno: 2479
2015-01-19 08:34:29 +00:00
Raoul Snyman
ffcea13021
Updated the copyright.
2015-01-18 15:39:21 +02:00
Tomas Groth
cffad28749
Close session after upgrade. Fixes a filelock issue in windows tests.
2015-01-14 11:56:18 +01:00
Tim Bentley
f3c09af379
Years go by
2014-12-31 10:58:13 +00:00
Ken Roberts
0227e0a2bd
Initial projector code
2014-10-06 12:10:03 -07:00
Samuel Mehrbrodt
2613ad3076
Don't run upgrades on an up to date database
2014-07-17 23:04:58 +02:00
Samuel Mehrbrodt
69c32d91a4
Merge trunk
2014-03-30 19:13:26 +02:00
Raoul Snyman
6ad3fca88e
Try to fix bug #1136278 by detecting if the upgrades have already run
...
bzr-revno: 2343
Fixes: https://launchpad.net/bugs/1136278
2014-03-30 13:02:25 +02:00
Samuel Mehrbrodt
71b34578d7
Add support for the Author type property
2014-03-28 17:06:16 +01:00
Raoul Snyman
35e3564655
Tests!
2014-03-18 23:03:53 +02:00
Tim Bentley
9610be5cd0
Fix up comments
2014-03-17 19:05:55 +00:00
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