Commit Graph

7566 Commits

Author SHA1 Message Date
Stevan Pettit
bf1d8c239f Added code to mainwindow.py to allow exporting/importing of OpenLP settings to an INI file.
During importing, the selected file is checked to insure it is an OpenLP settings file.
The user is warned prior to the import that changes will be made.

I also changed the settings section of an entry in servicemanager from "service" to "servicemanager".

I changed my nick in about.

Changed the import restart message.
Removed need for "import string".
Fixed the Try:

Changed filetype of export settings file from .ini to .conf

bzr-revno: 1728
2011-08-28 18:41:07 +01:00
Stevan Pettit
9957419f2b Changed system exit call 2011-08-28 09:39:34 -04:00
Tim Bentley
b0584ccd09 Handle missing tables and set the meta data to the correct value
bzr-revno: 1727
2011-08-28 06:56:09 +01:00
Tim Bentley
67894aa8d9 Error Handling improvements 2011-08-27 19:43:05 +01:00
Tim Bentley
3f078a553f Head 2011-08-27 16:04:11 +01:00
Tim Bentley
c1a648900f Fix initial setup bug 2011-08-27 16:02:45 +01:00
Andreas Preikschat
8020869dec - added some hints that the exporter export OpenLyrics files
bzr-revno: 1726
2011-08-27 13:19:55 +02:00
Tim Bentley
9949fba4ae Update songusage database to add plugin and what type of access.
Amend triggers to record the correct data
Update report to output the new data items.

Apply fix in bug to allow Meda_data tables to be defined in core

bzr-revno: 1725
2011-08-27 09:15:55 +01:00
Tim Bentley
611577577f Remove extra imports 2 2011-08-27 07:12:03 +01:00
Tim Bentley
9de4c0c118 Remove extra imports 2011-08-27 07:07:30 +01:00
Tim Bentley
ed57b9bfbd Record timestamps of changes in songs database
bzr-revno: 1724
2011-08-26 20:51:14 +01:00
Tim Bentley
01128d4dc7 Fix report and triggers 2011-08-26 20:31:02 +01:00
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
Andreas Preikschat
d88a268c5c removed 'again' 2011-08-26 17:48:58 +02:00
Andreas Preikschat
fa85525a68 r1723 2011-08-26 17:32:37 +02:00
Andreas Preikschat
fbb32a0278 added hints that exported files are OpenLyrics files 2011-08-26 17:30:51 +02:00
Stevan Pettit
24126e74c8 Changed filetype of settings file from .ini to .conf 2011-08-26 09:14:12 -04:00
Tim Bentley
4f0c7716bc Fix default value 2011-08-26 14:13:32 +01:00
Raoul Snyman
8fa717c01b Fixed a missing dependency in the debian control file.
bzr-revno: 1723
2011-08-26 14:42:55 +02: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
8f2b2381ee Fixed a missing dependency (which already exists on the build server). 2011-08-26 14:14:21 +02:00
Tim Bentley
1adac78588 Add date fields to songs 2011-08-26 13:02:06 +01:00
Tim Bentley
cc92bf7028 Head 2011-08-26 12:44:15 +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
Stevan Pettit
d927adbe5a Changed import re-start message. Removed need for "import string" 2011-08-25 14:40:44 -04: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
Stevan Pettit
215abd2966 Merged with trunk 2011-08-25 08:15:31 -04: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
Stevan Pettit
9b4df37a77 Modified code to handle keys with _ 2011-08-24 12:17:24 -04:00
Andreas Preikschat
2cf0743222 - use urllib.urlretrieve to download ts files
bzr-revno: 1719
2011-08-24 15:50:54 +02:00
Stevan Pettit
131c9f90b5 Modified shutdown from sys.exit to os._exit 2011-08-23 08:11:41 -04: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
Stevan Pettit
b36a4f74d3 Fixed traceback error when adding ini to filename 2011-08-21 19:15:16 -04:00
Andreas Preikschat
b0df1bdd94 - changed menu shortcut letter
bzr-revno: 1718
2011-08-21 21:15:36 +02:00