Commit Graph

203 Commits

Author SHA1 Message Date
Raoul Snyman b4ff5ab3e3 Fixed bug #993445 and cleaned up the logic a little in some other places.
Fixes: https://launchpad.net/bugs/993445
2012-09-22 20:58:04 +02:00
Raoul Snyman f3e942c944 Fix bible download bugs - Again
bzr-revno: 2061
Fixes: https://launchpad.net/bugs/1011051
2012-09-15 09:39:30 +01:00
Raoul Snyman bb14134233 Fix bug #1051051 where "4-5" style verses would fail. Now they are imported as "4"
Fixes: https://launchpad.net/bugs/1051051
2012-09-14 21:53:55 +02:00
Raoul Snyman 19845ebfb4 Fixed bug #1049977 where some Bibles from Bible Gateway still use the old HTML format.
Fixes: https://launchpad.net/bugs/1049977
2012-09-13 21:49:31 +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
Raoul Snyman 4e0b9c30d3 Fixed bug #991150: BibleGateway has new HTML, so we need to change our parsing. This now parses the new HTML correctly.
Fixes: https://launchpad.net/bugs/991150
2012-06-12 23:25:31 +02:00
Andreas Preikschat ed3b7660fa removed not neede unicode calls 2012-05-17 20:57:01 +02:00
M2j c6c62bdcad pythonifying code:
- replace has_key() by key in dict
- remove len() method from sequence and mapping types when mapping to bool
2012-04-29 17:31:56 +02:00
Raoul Snyman b6cf925bd8 Removed "dbversion" as it is not actually used.
Renamed some other variables.
Removed one use of "proxy_url" which was pretty much invalid.
2012-04-22 20:19:36 +02:00
Raoul Snyman 4452d4834c Refactored various variable names.
Refactored the names of the fields in the "metadata" table of Bibles, and provided an upgrade script to upgrade the Bibles seamlessly.
Refactored the name of a setting, and wrote some code to migrate it seamlessly.
2012-04-22 00:29:08 +02:00
Armin Köhler 06b63954a0 HEAD r1934 2012-04-03 21:30:30 +02:00
M2j 7175902e6d removed whitespaces 2012-04-03 19:58:42 +02:00
Armin Köhler 12458c0d31 add possibility to switch book names for each bible 2012-03-21 21:57:07 +01:00
Tim Bentley 2a5e8935bb New year merge 2011-12-27 10:33:55 +00:00
Raoul Snyman 4e94986aa8 Fixed bug #907164: Exclude footnotes div and the comment after it.
Fixes: https://launchpad.net/bugs/907164
2011-12-21 07:22:49 +02:00
Andreas Preikschat 91c20c4271 more clean ups 2011-10-03 22:26:51 +02:00
Mattias Põldaru 7ab1538460 Supposed to fix #819271, crash when downloading some chapters. 2011-08-15 12:54:07 +03:00
Jon Tibble 40d31106b3 Head r1686 2011-07-14 19:42:38 +01:00
Jon Tibble a5dedf5b8e Head 1683 2011-07-11 19:35:20 +01:00
Tim Bentley b83048ff4e Fix outstanding strings in Error for translations
Fixes: https://launchpad.net/bugs/796440
2011-07-11 17:32:25 +01:00
Raoul Snyman ce1abaf332 Fixed bug #803031: If UTF-8 decoding fails, try the standard Windows codepage. 2011-07-08 07:57:39 +02:00
Jon Tibble 623b56742c Cleanups 2011-07-07 19:03:12 +01:00
Tim Bentley 608910a098 Fix name 2011-06-12 17:02:52 +01:00
Tim Bentley c812770153 Copyright fixes 2011-06-12 16:41:01 +01:00
Armin Köhler 522e68c38c Biblegateway.com has changed it's Bible-Book-List Layout. Addapt the regex for importing booklist of a bible from biblegateway
changed log usage
2011-06-04 21:34:36 +02:00
Armin Köhler 937cfd2260 Fix Bug #792811 - Traceback UnicodeEncodeError while importing a webbible
If upgrade fails new bible databases now should be deleted always
2011-06-04 20:43:59 +02:00
Armin Köhler 63102855e8 remove unnecessary whitespace 2011-05-31 09:31:38 +02:00
Armin Köhler efc678d518 bug fix 2011-05-31 09:26:44 +02:00
Armin Köhler 8a8580f359 Fix unicode bookname handling on Biblegateway 2011-05-30 22:58:30 +02:00
Armin Köhler af38bf7cc8 HEAD r1578 2011-05-26 22:41:19 +02:00
Armin Köhler c435127585 some fixes in relation with the extened LanguageForm
close cursor from OldBibleDB
2011-05-26 21:13:11 +02:00
Tim Bentley acdbefd922 Fixes 2011-05-26 18:11:22 +01:00
Tim Bentley 8f6ed366a1 Copyright updates 2011-05-26 17:25:54 +01:00
Armin Köhler 6486d41b8c correct some words and code
changed behaviour if the "cancel" button is pressed while upgrading
2011-05-26 09:25:17 +02:00
Armin Köhler dd4543ad2d HEAD r1569 2011-05-25 16:29:16 +02:00
Raoul Snyman 7669643774 Updated the copyright notice, adding Jeffrey Smith back in after he accidentally got removed somewhere somehow. 2011-05-24 22:47:05 +02:00
Armin Köhler 236ca44105 HEAD r1552 2011-05-18 20:00:40 +02:00
Jonathan Corwin 357d34a4d8 Remote bible search. Kludgy and probably broken something or going to conflict. Also tweaked Remote web interface 2011-05-14 22:25:22 +01:00
Armin Köhler 4ee247c8b1 code cleanup
small fixes
2011-05-03 22:34:39 +02:00
Armin Köhler d44b42aaff improve BookNameForm (add possibility to reduce the books in the ComboBox and try to autodetect if a bible only contains only parts of a bible, so that only a part of the bible books are displayed at startup) 2011-05-03 13:44:23 +02:00
Armin Köhler 3b99f531f3 small fixes 2011-04-26 20:39:08 +02:00
Armin Köhler d7dc4def53 change name from reimport to upgrade
fix speed problem while changing the advanced bible
change some "for" loops
2011-04-26 20:18:13 +02:00
Armin Köhler 23c8ea8679 small cleanups 2011-04-16 13:52:20 +02:00
Armin Köhler 77f43e32b9 small cleanups 2011-04-14 22:18:23 +02:00
Armin Köhler 7cdf2bc320 small cleanups 2011-04-11 18:21:54 +02:00
Armin Köhler a9c87798eb moved get_book_ref_id_by_name() from BibleManager to BibleDB
moved content from BookNameDialog() from bibleimport.py in BibleDB.get_book_ref_id_by_name().
2011-04-03 22:09:18 +02:00
Armin Köhler fbce21baaa new function get_language in BibleDB which ask for the language a bible is and return a language_id 2011-04-02 22:22:35 +02:00
Armin Köhler 9de33cf194 moved Dialog from mediaitem.py to bibleimportform.py
some fixes
2011-04-02 21:17:48 +02:00
Armin Köhler c04a76e12d split BibleImportRequest in BookNameForm and LanugageForm 2011-04-01 22:26:25 +02:00
Armin Köhler 1923faf18a HEAD r1441 2011-04-01 19:56:11 +02:00
Raoul Snyman efbcfd0772 Updated copyright information. 2011-03-24 21:04:02 +02:00
Armin Köhler 27e635144d rename spelling to alternative_book_name 2011-03-23 21:08:49 +01:00
Armin Köhler 599e876955 Bug fixes
Changed book handling from name to book_reference_id
Comment out unused function to fill the testament table in the local bible database
2011-03-23 20:18:51 +01:00
Armin Köhler 4071daec18 add error handling if the user abort the dialog 2011-03-18 10:52:54 +01:00
Armin Köhler 9510d9713b HEAD r1401 2011-03-18 10:15:19 +01:00
Armin Köhler 1c59fd656f add download of all books a webbible contains
add dialog while the import of a webbible if the book could not be assign to a reference_book
add dialog while tho import of a webbible if the language is unknown
change the bible database
2011-03-17 19:36:54 +01:00
Jon Tibble e1d55575c3 Fix KJ21 on BibleGateway 2011-03-14 19:26:38 +00:00
Armin Köhler e52a80c9c3 rename httpbooks.sqlite to bibles_resources.sqlite and change database scheme
moved the content of biblegateway.csv, bibleserver.csv and crosswalkbooks.csv into bibles_resources.sqlite
adapt loadWebBibles() process according to the changes above
remove class HTTPBible from http.py and add the functions to a new class BiblesResourcesDB in db.py which now handels the reading of bibles_resources.sqlite
2011-03-12 11:23:42 +01:00
Jon Tibble 5aab03634a Head r1337 2011-02-26 00:36:07 +00:00
Jon Tibble fe2f80d147 Fix BibleGateway Jesus' speech 2011-02-26 00:34:46 +00:00
Andreas Preikschat 0ed7e259fc removed white spaces 2011-02-25 18:05:01 +01:00
Jon Tibble a2e0ecf314 Fix acknowledged missing verses 2011-02-24 19:13:51 +00:00
Raoul Snyman 780a87e840 Updated copyright information. Removed .eric4project directory from version control. 2011-02-24 07:47:38 +02:00
Tim Bentley 2069737e1f remove extra post events 2011-02-03 18:48:41 +00:00
Jon Tibble f4d25560e9 UI library - critical_error_message_box 2011-02-02 23:12:31 +00:00
Jon Tibble b99961d669 Fix BG Chinese bible (Bug #706211) 2011-01-31 01:55:25 +00:00
Jon Tibble 284402b7b2 Refactor in existing error framework 2011-01-15 19:24:50 +00:00
Jon Tibble 7490928190 Refactor wizards 2011-01-13 17:55:29 +00:00
Andreas Preikschat 552afbb944 replaced the "bibles_showprogress" and "bibles_hideprogress" with the "cursor_busy" and "cursor_normal" signals
bzr-revno: 1214
2011-01-13 17:40:18 +00:00
Jon Tibble 0a5b44c6a3 BibleGateway fix 2011-01-12 19:12:30 +00:00
Jon Tibble 64367909ba Improve bibleserver code resiliance 2011-01-12 15:31:32 +00:00
Jon Tibble e0a2976fa9 Fix BibleServer downloads (Bug #701651) 2011-01-11 23:43:27 +00:00
Andreas Preikschat 76000d918b removed showprogress and hideprogress and added cursor_busy and cursor_normal 2011-01-11 20:56:55 +01:00
Jon Tibble 3340c5ebe7 Refactor web bibles
bzr-revno: 1206
2011-01-10 17:19:25 +00:00
Jon Tibble 5edde179a4 Refactor web bibles 2011-01-10 01:46:47 +00:00
M2j ef3ae247fc Head 1197 2011-01-09 02:19:34 +01:00
M2j 6e8a371da7 wrong parentship caused theme and servicemanager to disapear in a floating dock
more intelligent resizing of item list in PluginForm and SongMaintenanceForm
Fix in BS web bible parser
2011-01-09 01:27:46 +01:00
Jon Tibble dbfd7796ba Fix BibleGateway xrefs (Bug #700271) 2011-01-08 18:50:06 +00:00
Jon Tibble 120ec38557 and cleanups 2011-01-06 23:47:28 +00:00
M2j aff020b703 BibleGateway fixes 2011-01-05 20:48:01 +01:00
M2j 2e6613edf4 simplified all setupUi() in openlp.core.ui and the setting tabs of the plugins 2011-01-02 23:24:14 +01:00
Raoul Snyman 4bb59bff67 Fix bug #641661 2011-01-01 12:33:14 +02:00
Raoul Snyman f7943d5746 Add in an error message if there is a problem with the user's downloaded Bibles. 2011-01-01 01:06:35 +02:00
M2j 557a66db9d ThemeWizard: Show theme name in title and hide themeNameEdit if wizard is in editing mode.
ThemeWizard: Changed transitionsComboBox to align with the FormLayout.
(change some log.debug() arguments to avoid UnicodeError exceptions)
2010-12-28 12:18:56 +01:00
Tim Bentley e77ce3ffdb Bump values by 1 version or year 2010-12-26 11:04:47 +00:00
M2j 1027d60635 Fix: Bug in editsongform
Fix: Bug in bibleserver import
2010-12-22 19:15:48 +01:00
Jon Tibble e6f3650bfd Cleanups 2010-12-21 19:39:35 +00:00
M2j c226979f24 Format fixes, comment fixes and biblegateway.csv updated 2010-12-17 23:10:29 +01:00
M2j 04d4d76dcd removed commented code in openlp.plugins.bibles.lib.http 2010-12-17 14:46:34 +01:00
M2j 9c5177b0f7 exception, if bibleserver.com response contains no verses 2010-12-17 14:33:25 +01:00
M2j a46ea7c4eb localisation off seperators. 2010-12-17 14:21:55 +01:00
M2j f119a4afa5 further work on parse_reference and other things 2010-12-16 21:00:01 +01:00
M2j b5075ccddf Bible web import from Bibleserver.com - first version 2010-12-12 00:54:07 +01:00
Andreas Preikschat d5e0643b45 attempt to clean up bible importers 2010-12-06 20:30:04 +01:00
Andreas Preikschat 6b1254e923 trunk r1127 2010-12-02 15:00:32 +01:00
Jon Tibble f63625b72f Fix biblegateway for BeautifulSoup 3.1 2010-11-16 03:31:17 +00:00
Andreas Preikschat 06cf6dcc20 changed bible importer finish message, clean ups 2010-11-09 17:56:16 +01:00
Tim Bentley 53d498bdc9 Fix bugs 2010-10-27 18:42:10 +01:00
Andreas Preikschat 2ad3f983f7 added reStructuredText back 2010-10-09 08:48:21 +02:00
Andreas Preikschat ae015a270a added reStructuredText back 2010-10-09 08:00:50 +02:00