Commit Graph

227 Commits

Author SHA1 Message Date
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
Andreas Preikschat 919b07bd61 clean ups 2010-10-01 16:18:15 +02:00
Jon Tibble fc849398a9 Bible reference refactor 2010-07-29 15:36:02 +01:00
Jon Tibble dfcd2f6293 Explicit exception handling
bzr-revno: 974
2010-07-27 16:01:06 +01:00
Jon Tibble cc38e0f367 Explicit exception catching 2010-07-27 13:54:26 +01:00
Jon Tibble 96033624aa Head r968 2010-07-25 12:47:53 +01:00
Jon Tibble 69ffb9124e Fix some pesky bits 2010-07-25 00:12:36 +01:00
Raoul Snyman 2f2b339863 Update the copyright notice. 2010-07-25 00:10:47 +02:00
Jon Tibble 7df342ff1a Fix bible search strictness for web bibles 2010-07-24 21:52:37 +01:00
Jon Tibble 87fc38fb6f Head r964 and book spelling 2010-07-24 17:54:55 +01:00
Jon Tibble 3ea6ce9520 Use urllib.urlencode() 2010-07-24 15:03:04 +01:00
Jon Tibble 4b5ad13eec Fix numbered book BG bibles 2010-07-24 13:59:02 +01:00
Jon Tibble 323090e141 Bible search fixes (Bug #608409) 2010-07-24 03:14:08 +01:00
Jon Tibble ccda22a962 Fix BG refactor 2010-07-24 02:10:57 +01:00
Jon Tibble 9b425cb52d Fix BibleGateway refactor 2010-07-23 17:21:27 +01:00
Jon Tibble 1ea37f8d77 Cleanup refactor 2010-07-23 16:25:54 +01:00
Jon Tibble e9edb0c7a4 Refactor BibleGateway retrieval 2010-07-23 03:19:35 +01:00
Jon Tibble b5ceb59e27 Cleanup getters and setters 2010-07-23 01:01:06 +01:00
Jon Tibble 2d050b07db Head r858 2010-06-19 12:53:20 +01:00
Jon Tibble 16ab2da4d6 Fix HTTPBible verse counts 2010-06-17 22:01:30 +01:00
Jon Tibble 554ab59caf RFC PT3: Bibles 2010-06-15 01:44:06 +01:00
Jon Tibble 7c2c8f26e1 Revert resource location 2010-06-14 18:56:42 +01:00
Jon Tibble f54a423832 Fix bible runtime data location 2010-06-14 03:42:47 +01:00
Jon Tibble 0b1621923a PEP8 type checking and cleanups 2010-06-09 18:09:32 +01:00
Jon Tibble bea44a5124 Fix __init__ calling and imports 2010-06-01 01:05:05 +01:00
Jon Tibble fb1e222422 Moar whitespace, exceptions and naming 2010-05-29 20:50:50 +01:00
Jon Tibble e195f0ffb7 Match method and overridden method arguments and cleanups 2010-05-26 00:47:26 +01:00
Jonathan Corwin bc6b7a8488 signal/slot refactor part 1 2010-04-16 08:31:01 +01:00
Raoul Snyman d2670b1cb0 Bible fixes:
- Red letter text on CrossWalk import.
 - Removed text on web download progress, moved to an "indeterminable" progress style.
 - Some unicode optimisations.
2010-03-27 21:59:35 +02:00
Raoul Snyman 8f095a2fc5 Fixed a bug with Strongs in CrossWalk. 2010-03-26 22:50:55 +02:00
Raoul Snyman 19c5c07c54 Add Christian and Phill to the credits
bzr-revno: 755
2010-03-22 10:37:18 +02:00
Raoul Snyman ea5ceaf00a Updated copyright.
Updated credits.
2010-03-22 01:58:01 +02:00
Raoul Snyman be598da4f9 Fixed a number of issues in the Bibles:
- Cleaned up unicode handling in BibleGateway import
- Cleaned up unicode handling in the import wizard itself
- Added some more tags to the list of things to be removed in the OSIS import
- Fixed a bug with spaces in book names in the CrossWalk import
- Created a generic QVariant to unicode converter method
2010-03-22 00:16:43 +02:00
Raoul Snyman 253c396d7c Convert html entities into letters. 2010-03-21 16:38:30 +02:00
Raoul Snyman 2a903d6a5b Added some documentation and removed the commented code. 2010-03-19 09:00:41 +02:00
Raoul Snyman 6414330b2c Reworked the BibleGateway Bibles.
Changed some code to be standards compliant.
2010-03-18 23:36:30 +02:00
Raoul Snyman 881c4cea18 Fixed locations to use the AppLocation class. 2010-03-12 23:55:52 +02:00
Raoul Snyman 142f679098 Fix "red letter" versions of Crosswalk Bibles. 2010-03-11 08:15:29 +02:00
Jon Tibble e40f1b41ef Truth tests and some style fixes 2010-03-09 19:43:11 +00:00
Tim Bentley 4a83e572e9 Fix bugs in last merge and fix comments 2010-02-27 09:18:26 +00:00
Raoul Snyman cf95b81a49 Last few fixes 2010-02-06 12:42:47 +02:00
Raoul Snyman 78c525ab76 Moved data for web bibles to am SQLite database. 2010-02-06 12:22:20 +02:00
Raoul Snyman 01ec0f407f Fixed up some of the Bible loading 2010-01-31 22:36:54 +02:00
Raoul Snyman 2b5ddb13a4 An attempt to fix the problems some folks are having. 2010-01-31 21:49:01 +02:00
Raoul Snyman ab7125c98e Make the progress bar only pop up when we *actually* fetch a verse from the Internet 2010-01-30 10:42:03 +02:00
Raoul Snyman baabcba290 Changed the value of the progress bar to look a little more "active" 2010-01-29 23:35:02 +02:00
Raoul Snyman 0cbb079aa3 Added the little progress bar back in. 2010-01-29 23:26:24 +02:00
Raoul Snyman 965902544f Updated to trunk:HEAD 2010-01-29 23:12:14 +02:00
Raoul Snyman 0e29d0b4af Show a small progress bar rather than a "downloading" message. 2010-01-29 22:20:30 +02:00
Raoul Snyman 4a9a8149c4 Fixed up web Bibles.
Renamed "csv.py" to "csvbible.py" to resolve a namespace conflict with the Python csv module.
2010-01-24 09:08:14 +02:00
Raoul Snyman a976d6b59a A few fixes after renaming some functions. 2010-01-17 18:48:45 +02:00
Raoul Snyman a523d127bd Merge from trunk. 2010-01-11 17:07:53 +02:00
Raoul Snyman 0374233db6 Lots of changes here, I think.
- Pluggable import system
- The enumeration class provides the correct importer class
- Reworked Bible verse parsing, using regular expressions
- Reworked verse query method to accept multiple verse ranges
- Renamed lots of methods, which is probably gonna break lots of stuff
2009-12-30 19:29:08 +02:00
Raoul Snyman 34ab7ea901 Started moving Bible formats to a generic system. 2009-12-28 01:54:00 +02:00