Commit Graph

5920 Commits

Author SHA1 Message Date
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
Martin Zibricky
20c431a6e5 - Remove darwin specific dead code
- Move app.setOrganization and app.setApplication to orgininal place
2011-08-25 17:33:21 +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
Martin Zibricky
1dc05c0f66 Add ability to run openlp without app.exec_() method (needed to run gui tests) 2011-08-25 13:16:04 +02:00
Martin Zibricky
7fae06483a Move main() from openlp.pyw to openlp.core.__init__ 2011-08-25 12:04:17 +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
Martin Zibricky
68facbf2b5 Move class OpenLP from openlp.pyw to openlp.core.__init__ 2011-08-25 11:04:41 +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
Raoul Snyman
cdcfeaece8 Keeping things tidy: Actually save to DB now, and delete removed files. 2011-08-24 14:22:39 +02:00
Raoul Snyman
122c2226bd Now copying files too\! 2011-08-24 13:53:22 +02:00
Raoul Snyman
d5e92c0d35 Added a media files form and populated it from the media plugin, if the media plugin is enabled. 2011-08-23 23:48:46 +02:00
Andreas Preikschat
0d99f5be96 hopefully fixed bug #796528 (to be cleaned up
Fixes: https://launchpad.net/bugs/796528
2011-08-23 21:57:29 +02:00
Raoul Snyman
6a60ece204 Added Up, Down, Remove and Remove All buttons. Reworked the UI to make use of the buttons better. 2011-08-23 15:44:50 +02:00
Stevan Pettit
131c9f90b5 Modified shutdown from sys.exit to os._exit 2011-08-23 08:11:41 -04:00
Raoul Snyman
409a16eb35 Added the tab, list and buttons for linked audio. 2011-08-23 08:38:02 +02:00
Tim Bentley
957a86b11e fexes 2011-08-22 18:32:18 +01: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
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
Stevan Pettit
79ab8cc1c0 Added code to always create a filename.INI file. 2011-08-21 10:05:24 -04: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
8108e279dc changed menu shortcut letter 2011-08-20 21:36:51 +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
Stevan Pettit
9f284d9ab2 Moved export/import settings menu items from tools to file menu. Added status-tips 2011-08-18 22:43:08 -04:00
Andreas Preikschat
9baa1374b6 changed instance varaibles to camelCase 2011-08-17 18:16:43 +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
Stevan Pettit
b95924ae74 Added code to export/import settings via an ini file 2011-08-16 22:58:07 -04:00
Raoul Snyman
ca5c8d9a0b Fixed bug #802146: Couldn't import some SongShowPlus files. Rearranged the file menu as well to be in a more logical order, and to look a little nicer.
Fixes: https://launchpad.net/bugs/802146
2011-08-16 23:19:57 +02:00
Raoul Snyman
301993a3ea 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.
Fixes: https://launchpad.net/bugs/825809
2011-08-16 21:53:52 +02:00
Mattias Põldaru
da758fbb89 Removed wrong comment 2011-08-16 11:46:55 +03:00
Mattias Põldaru
509bc9e704 Two last importers, which did not stop on cancel. 2011-08-16 03:59:45 +03:00
Mattias Põldaru
bbba7203e3 Fix #249 on tracker, exception on opensong files with verse name containing only number [1] 2011-08-16 03:08:16 +03:00
Mattias Põldaru
a3ddb50479 Now we do not read several GB video files entirely into memory when opening service, this also fixes #257 in tracker. 2011-08-16 01:46:31 +03:00
Mattias Põldaru
bdde2a4fb4 String fix. 2011-08-16 01:44:02 +03:00
Mattias Põldaru
aca0a86915 Fix comparison of always unequal unicode and non-unicode string on drag-and-drop. 2011-08-16 01:42:48 +03:00
Mattias Põldaru
7ab1538460 Supposed to fix #819271, crash when downloading some chapters. 2011-08-15 12:54:07 +03:00
Andreas Preikschat
9865e2b73a r1710 2011-08-15 11:30:36 +02:00
Andreas Preikschat
d46eecd96d - added spellchecker to service notes dialog (bug #825979); - escape texts in various places (bug #825983)
bzr-revno: 1710
Fixes: https://launchpad.net/bugs/825979, https://launchpad.net/bugs/825983
2011-08-15 11:28:49 +02:00
Andreas Preikschat
cdec32f706 remove print 2011-08-15 11:05:28 +02:00
Andreas Preikschat
07e9e3fe93 fix failure dectection 2011-08-15 10:55:36 +02:00
Andreas Preikschat
5607f025f6 fixed bug #826483
Fixes: https://launchpad.net/bugs/826483
2011-08-15 10:53:51 +02:00
Andreas Preikschat
da1db9994d removed not needed code 2011-08-15 09:35:37 +02:00
Andreas Preikschat
c70ac5e656 create temp directory name in constructor 2011-08-15 08:31:36 +02:00
Andreas Preikschat
928467847e do not call postWizard twice 2011-08-14 16:35:36 +02:00
Andreas Preikschat
924482ac51 prevent closing an already closed database 2011-08-14 15:49:03 +02:00
Andreas Preikschat
41b3bde919 changed underscore varialbe to camelCase 2011-08-14 15:11:41 +02:00
Andreas Preikschat
17e397ffa8 added spellchecker to service notes dialog (bug #825979); escape texts in various places (bug #825983)
Fixes: https://launchpad.net/bugs/825983, https://launchpad.net/bugs/825979
2011-08-14 15:05:39 +02:00
Andreas Preikschat
3f489ddbaf fixed song meta data to include application name 2011-08-14 12:56:05 +02:00
Andreas Preikschat
8a926b01e1 Auto-completer does not work immediately after importing/upgrading a bible (bug #825181)
Fixes: https://launchpad.net/bugs/825181
2011-08-13 12:49:53 +02:00
Andreas Preikschat
ec93173891 r1708 2011-08-13 12:41:57 +02:00
Andreas Preikschat
259b57badd added try/except 2011-08-13 12:41:21 +02:00
Andreas Preikschat
b72b538893 removed variable; hopefully fixed windows crahes 2011-08-13 12:14:20 +02:00
Andreas Preikschat
6c96794af1 restore not upgraded bibles; clean ups 2011-08-12 17:31:16 +02:00
Andreas Preikschat
11f3a9e13a removed code; moved clean_filename method to utils 2011-08-12 16:54:16 +02:00
Andreas Preikschat
3f3ab71eeb more clean ups 2011-08-12 15:38:05 +02:00
Andreas Preikschat
4831cf0a7c more clean ups 2011-08-12 15:16:06 +02:00
Andreas Preikschat
0924bfc246 fixed bug #804747; clean ups
Fixes: https://launchpad.net/bugs/804747
2011-08-12 15:11:30 +02:00
Andreas Preikschat
cb16463d99 moved recent files to a menu (bug #818794)
bzr-revno: 1708
Fixes: https://launchpad.net/bugs/818794
2011-08-11 13:40:52 +02:00
Stevan Pettit
f92552735f fixed bug 802150 (Attempt to save a service causes a crash when image/media/presentation files do not exist)
bzr-revno: 1707
Fixes: https://launchpad.net/bugs/802150
2011-08-11 11:20:29 +02:00
Andreas Preikschat
ba02eb6a98 moved recent files to a menu (bug #818794)
Fixes: https://launchpad.net/bugs/818794
2011-08-11 11:01:25 +02:00
Stevan Pettit
c0978d8e22 Added code to skip-all missing files during service save 2011-08-10 17:29:44 -04:00
Chris Blake
95f75ce266 fixed bug #817674 'Export Song - Song list appears to be random order '
Fixes: https://launchpad.net/bugs/817674
2011-08-08 15:15:45 -04:00
Chris Blake
e75631d7f5 fixed bug #817674 'Export Song - Song list appears to be random order '
Fixes: https://launchpad.net/bugs/817674
2011-08-08 13:30:45 -04:00
Chris Blake
2c6d14cfc8 fixed bug #817674 'Export Song - Song list appears to be random order '
Fixes: https://launchpad.net/bugs/817674
2011-08-08 12:59:56 -04:00
Andreas Preikschat
f2090100a1 Fixed link to 'Contributing' site.
bzr-revno: 1705
2011-08-08 10:46:07 +02:00
Andreas Preikschat
c27d50bdda fixed link to 'Contributing' site 2011-08-08 08:30:25 +02:00
Andreas Preikschat
ffbfd1efe9 - improved code readability
- updated docstrings

bzr-revno: 1704
2011-08-07 16:37:40 +02:00
Stevan Pettit
392c103476 Fixed bug #818791 ("Reorder Service Item" does not manage two instances of the same image)
bzr-revno: 1703
Fixes: https://launchpad.net/bugs/818791
2011-08-06 16:06:28 +02:00
Stevan Pettit
271e5341f8 modified code to delete/move item selected, not first match in list 2011-08-05 18:09:51 -04:00
Stevan Pettit
a66f7f3365 removed un-needed commented code. fixed dialog "no" answer 2011-08-05 17:53:56 -04:00
Andreas Preikschat
6c7c27a7c9 fixed bug #816186; fixed comments; fixed list comprehension
Fixes: https://launchpad.net/bugs/816186
2011-08-05 13:21:39 +02:00
Tim Bentley
4e043e1dcf Add DnD to Openlp form outside
bzr-revno: 1701
2011-08-05 09:55:37 +01:00
Andreas Preikschat
6ce4e7beab changed varialbe name 2011-08-05 10:47:31 +02:00
Andreas Preikschat
d8008df902 do not pass instance variable as argument 2011-08-05 10:43:32 +02:00
Andreas Preikschat
f4eb21eb05 more docstrings, clean ups 2011-08-05 10:10:53 +02:00
Andreas Preikschat
8876a12deb updated docstring 2011-08-05 09:41:20 +02:00
Andreas Preikschat
383d512c22 r1700 2011-08-05 09:26:48 +02:00
Stevan Pettit
5e6c60da88 Modified firsttimeform to include existing themes in the set default theme list, if the wizard is being re-run.
bzr-revno: 1700
2011-08-05 07:52:44 +02:00
Stevan Pettit
b4e776b92c removed un-needed code 2011-08-04 09:43:05 -04:00
Tim Bentley
ecd7a197de Fix conflict 2011-08-04 05:51:41 +01:00
Stevan Pettit
7f440527f8 modified servicemanager to check for missing files during service save 2011-08-03 14:49:47 -04:00
Tim Bentley
5ff39a7d83 Fix missing() 2011-08-03 16:52:29 +01:00
Stevan Pettit
af7ff7c6be changed some comments, removed a variable using functioin inline 2011-08-03 09:19:43 -04:00
Andreas Preikschat
dd3daa0576 - changed "Customize Shortcuts" to "Configure Shortcuts"
- fixed bug #816382 (Formatting Tags or Display Tags?)

bzr-revno: 1699
Fixes: https://launchpad.net/bugs/816382
2011-08-02 21:18:44 +02:00
Tim Bentley
0b46165429 Last set of fixes 2011-08-02 19:17:07 +01:00
Stevan Pettit
af8a89dfd4 fixed come comments 2011-08-02 08:51:41 -04:00
Tim Bentley
644706a62a Fix review comments and cleanups 2011-08-02 06:07:09 +01:00
Stevan Pettit
c608a0750d Modified firsttimeform to include existing themes when wizard is re-run 2011-08-01 21:58:10 -04:00
Tim Bentley
c9c0904c31 Head 2011-07-30 17:00:11 +01:00
Stevan Pettit
4db1e54023 Added the ability to re-run the First Time Wizard (bug #801325)
bzr-revno: 1698
Fixes: https://launchpad.net/bugs/801325
2011-07-30 14:24:08 +02:00
Andreas Preikschat
5e91aa7aee fixed long lines 2011-07-30 10:07:48 +02:00
Andreas Preikschat
4f195a4721 changed translate context 2011-07-30 09:43:19 +02:00
Andreas Preikschat
b3896d880b spelling 2011-07-30 09:40:34 +02:00
Andreas Preikschat
c0976a4690 moved files and changed code to reflect string changes
Fixes: https://launchpad.net/bugs/816382
2011-07-30 09:34:37 +02:00
Andreas Preikschat
06d32e5108 change 'Display Tag' strings to 'Formatting Tag'
Fixes: https://launchpad.net/bugs/816382
2011-07-30 09:19:16 +02:00
Andreas Preikschat
77f7581d22 change 'Display Tag' strings to 'Formatting Tag'
Fixes: https://launchpad.net/bugs/816382
2011-07-30 09:14:39 +02:00
Andreas Preikschat
f0d4afaaf6 improved code readability 2011-07-30 08:33:51 +02:00
Stevan Pettit
7c13fcfaad Minor text change to FTW message in mainwindow 2011-07-27 16:38:23 -04:00
Tim Bentley
f1902ade5a Fix up drag and drop code 2011-07-27 19:28:35 +01:00
Andreas Preikschat
746001c485 corrections 2011-07-27 20:12:54 +02:00
Andreas Preikschat
6aec735be4 corrections 2011-07-27 19:05:43 +02:00
Stevan Pettit
e40f561976 minor changes to text in mainwindow.py 2011-07-27 13:04:31 -04:00
Stevan Pettit
1ffe0e961d Added status tips for FTW menu item. Removed some continuation characters 2011-07-26 20:30:56 -04:00
Andreas Preikschat
0bd821aaa5 docstrings clean ups 2011-07-26 17:44:24 +02:00
Stevan Pettit
c84c69645e added docstring to FTW section. changed menu text, changed default button to No 2011-07-25 15:24:35 -04:00
Stevan Pettit
0d9f6a946e modified slidecontroller to "reset" the loop button when new item is sent live 2011-07-24 15:41:33 -04:00
Andreas Preikschat
187bb647c0 - improved rendering speed by checking if the text fits as a whole (to save time figuring out that it fits as a whole)
- use binary chop to find the number of lines which will fit on a slide (if it does not fit as a whole)
- do not use instance variables as arguments
- renamed image_manager to imageManager and theme_manager to themeManager as the classes are derived of Qt

Some changes to html (html5):
- added doctype
- removed obsolete language attribute

bzr-revno: 1694
2011-07-24 19:52:53 +02:00
Tim Bentley
0b44825d0c Allow the up and down selection to step over collapsed service items
bzr-revno: 1693
Fixes: https://launchpad.net/bugs/805084
2011-07-24 18:47:54 +01:00
Stevan Pettit
90c18b6bfd changed plugin names to lowercase, removed .lower() from appropriate code 2011-07-23 17:29:24 -04:00
Stevan Pettit
8800b41749 Added confirmation message prior to re-start of FTW 2011-07-23 14:09:13 -04:00
Stevan Pettit
f7a222da6c modified mainwindow.py code to make first time wizard re-run inline code 2011-07-23 08:52:43 -04:00
Tim Bentley
c813b31427 Correct up and down selection for service manage panel
Fixes: https://launchpad.net/bugs/805084
2011-07-23 06:48:55 +01:00
Stevan Pettit
b15fd4df49 modified mainwondow.py to allow first time wizard to be re-run 2011-07-22 09:39:49 -04:00
Andreas Preikschat
823831e075 removed doctype for now 2011-07-20 15:05:30 +02:00
Andreas Preikschat
1214706d2a removed debug help 2011-07-18 18:20:40 +02:00
Andreas Preikschat
baec0f5c69 added margin back; added missing spaces 2011-07-18 18:01:42 +02:00
Andreas Preikschat
988e632676 possible fix for not working gradient 2011-07-18 17:34:38 +02:00
Andreas Preikschat
7483c8dfe8 r1690 2011-07-18 15:24:58 +02:00
Jon Tibble
4ae1a12b59 Unused function: string_is_unicode 2011-07-17 16:09:30 +01:00
Andreas Preikschat
f869b047ad changed spaces 2011-07-17 15:15:13 +02:00
Andreas Preikschat
46fa64b43d reverted some changes 2011-07-17 15:01:28 +02:00
Jon Tibble
0f89b9f771 Unused import 2011-07-17 13:59:26 +01:00
Jon Tibble
60b286ca3e Head r1689 2011-07-17 12:56:17 +01:00
Andreas Preikschat
1da64528f5 removed the ZIP support for the OpenSong importer (bug #795027)
bzr-revno: 1688
Fixes: https://launchpad.net/bugs/795027
2011-07-17 13:34:33 +02:00
Andreas Preikschat
47e43404aa - added doctype to html
- added encoding to html
- changed <br /> to <br>
- removed obsolete language attribute
2011-07-16 11:00:30 +02:00
Andreas Preikschat
b51f9b2a0c - do not set a service modified when using the up/down arrows to change the selected service item
- only set the service modified when an item is selected while using the 'move button' and 'delete button'
2011-07-16 09:20:13 +02:00
Andreas Preikschat
69b0f264d0 r1686 2011-07-15 20:34:08 +02:00
Andreas Preikschat
bc5d2cce46 removed zip support for OpenSong importer
Fixes: https://launchpad.net/bugs/795027
2011-07-15 20:18:11 +02:00