Commit Graph

7537 Commits

Author SHA1 Message Date
Tim Bentley 1e4b922bfa DB Fixed 2011-08-26 20:09:25 +01:00
Tim Bentley 2dd0aa234e remove prints 2011-08-26 19:07:44 +01:00
Tim Bentley f266485001 Add fields to database 2011-08-26 18:56:36 +01:00
Tim Bentley 727a275bb6 Head 2011-08-26 18:23:14 +01:00
Tim Bentley dec8ce3a8d Add ability to set colours around borders of images and in themes.
May not be to all tastes ;-)

bzr-revno: 1722
2011-08-26 13:20:49 +01:00
Raoul Snyman 2c0df18f35 - Implemented a seamless database upgrade system.
- Added the first upgrade as a demonstration.
- Added database version check so that newer version databases are not loaded.

bzr-revno: 1721
2011-08-26 13:39:32 +02:00
Tim Bentley fea0b18d9b Stop the traceback by re-searching for the list after a deletion. This is the same as songs.
bzr-revno: 1720
Fixes: https://launchpad.net/bugs/820534
2011-08-26 12:15:29 +01:00
Tim Bentley 61feddd34e Fix method call 2011-08-26 11:21:47 +01:00
Tim Bentley 869bc9bb20 Fix field name 2011-08-26 09:21:27 +01:00
Raoul Snyman 4b1ce7102e A few more tweaks as requested by Andreas. 2011-08-25 22:14:02 +02:00
Raoul Snyman bcf9b174ff Fixed a bug where the version number saved to the database was incorrect. Added the ability to throw an error message and not load the database if the db is too new or incorrect. 2011-08-25 22:02:55 +02:00
Tim Bentley d5717a486e Head 2011-08-25 20:53:37 +01:00
Tim Bentley 5f6b315c4a fix trace 2011-08-25 20:52:07 +01:00
Tim Bentley 803adc92c0 Fixes 2011-08-25 19:33:25 +01:00
Tim Bentley ba3fb9221e Head 2011-08-25 19:22:38 +01:00
Raoul Snyman ff7a7d734a Added migrate dependency to deb package. 2011-08-25 17:24:47 +02:00
Raoul Snyman ddf148449d Now with exception handling. 2011-08-25 13:47:07 +02:00
Raoul Snyman 923261c59c Even better, got rid of 'upgrade_schema' function which is not really needed. 2011-08-25 11:22:48 +02:00
Raoul Snyman 7e572cd0c2 Database upgrading, revision 1. 2011-08-25 11:02:59 +02:00
Andreas Preikschat 2cf0743222 - use urllib.urlretrieve to download ts files
bzr-revno: 1719
2011-08-24 15:50:54 +02:00
Tim Bentley 957a86b11e fexes 2011-08-22 18:32:18 +01:00
Andreas Preikschat 1483c2035e use urllib to download ts files + r1717 2011-08-22 10:55:22 +02:00
Andreas Preikschat 652b1b86ea use urllib to download file 2011-08-22 10:45:03 +02:00
Andreas Preikschat b0df1bdd94 - changed menu shortcut letter
bzr-revno: 1718
2011-08-21 21:15:36 +02:00
Andreas Preikschat ea0940874c - updated i18n files
bzr-revno: 1717
2011-08-21 21:14:36 +02:00
Tim Bentley d1f823d864 More fixes 2 2011-08-21 19:02:58 +01:00
Tim Bentley 6c55362eee More fixes 2011-08-21 17:59:03 +01:00
Tim Bentley 62cffbb3b6 Review fixes and improvements 2011-08-21 17:13:45 +01:00
Tim Bentley 21bf34c436 Theme fix 2011-08-21 06:33:07 +01:00
Tim Bentley 76c0881559 Head 1716 2011-08-21 05:51:19 +01:00
Tim Bentley d660d1d5ae Add missing file 2011-08-21 05:51:03 +01:00
Andreas Preikschat 79f5163113 updated i18n files 2011-08-20 21:40:49 +02:00
Andreas Preikschat 8108e279dc changed menu shortcut letter 2011-08-20 21:36:51 +02:00
Andreas Preikschat d1e9a1a32e r1715 2011-08-20 21:22:36 +02:00
Andreas Preikschat 418802b735 r1715 2011-08-20 20:50:29 +02:00
Raoul Snyman 8957c5e4bf Fixed bug #825809 where SQLAlchemy 0.7 throws a 'ArgumentError: SQL expression object or string expected' when passed something other than an SQL expression object or a string.
bzr-revno: 1716
Fixes: https://launchpad.net/bugs/825809
2011-08-20 20:48:27 +02:00
Tim Bentley 3c17af592d Fix autoupdates 2011-08-20 16:02:57 +01:00
Tim Bentley cc1e174d62 Updates 2011-08-20 14:21:25 +01:00
Tim Bentley 9e6d05098b 1715 2011-08-20 12:46:18 +01:00
Tim Bentley ad61defdae Add border colors and fix song usage 2011-08-20 12:45:06 +01:00
Andreas Preikschat d668f2d87c - changed instance varaibles to camelCase
bzr-revno: 1715
2011-08-20 10:24:17 +02:00
Andreas Preikschat 9363177e9d - Fixed bug #804747 (Bible disappear after upgrade)\n- Fixed bug Bug #824129 (Bibles plugin does not always delete corrupted bibles from falied imports)\n- Removed not needed or redundant variables.\n- Removed not needed code.\n- When upgrading bibles move the files to the temp directory.\n- clean ups
bzr-revno: 1714
Fixes: https://launchpad.net/bugs/804747, https://launchpad.net/bugs/824129
2011-08-20 10:23:18 +02:00
Andreas Preikschat 5b28d384fe Fixed bug #826483 (NIV 2010 web bible missing chapters)
bzr-revno: 1713
Fixes: https://launchpad.net/bugs/826483
2011-08-20 10:21:42 +02:00
Andreas Preikschat a69705ccd3 Fixed song meta data in OpenLyrics files to contain the application version
bzr-revno: 1712
2011-08-20 10:20:28 +02:00
Tim Bentley 365a0477d7 head1711 2011-08-19 20:54:27 +01:00
Andreas Preikschat 9baa1374b6 changed instance varaibles to camelCase 2011-08-17 18:16:43 +02:00
Andreas Preikschat 3fef17b9c7 r1711 2011-08-17 14:21:24 +02:00
Andreas Preikschat d7ae55f733 improved deletion of corrupted files on windows (bug #824129)
Fixes: https://launchpad.net/bugs/824129
2011-08-17 14:08:33 +02:00
Andreas Preikschat 7159559eaa removed not needed code (this case should never occur and if it does, the manager instance should delete the file) 2011-08-17 13:08:32 +02:00
Andreas Preikschat 29b67efed6 close connection to database when the upgrade failed, to prevent errors on windows 2011-08-17 12:47:01 +02:00