Commit Graph

147 Commits

Author SHA1 Message Date
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
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