Commit Graph

23118 Commits

Author SHA1 Message Date
Doug Blank
a6f7093bae Added indices on order_by fields 2015-05-26 20:08:57 -04:00
Doug Blank
8be61709b8 Now using batch transactions 2015-05-26 20:08:57 -04:00
Doug Blank
d69f8a6d3c Added support for sort_handles 2015-05-26 20:08:56 -04:00
Doug Blank
31fe15e782 DB-API 2.0 can now load/save from file; need to load/save metadata 2015-05-26 20:08:56 -04:00
Doug Blank
8babc69dc5 WIP: Added DB-API 2.0 interface; needs to load/save details from
dbdir; currently using sqlite :memory: database. But could use
any DB-API 2.0 compatible layers.
2015-05-26 20:08:56 -04:00
Doug Blank
8d92b5d634 Added DbState.open_database() for opening without DbManager 2015-05-26 20:08:56 -04:00
Doug Blank
8a657250b1 DictionaryDb: give handle in bytes, handle as str internally in dict 2015-05-26 20:08:56 -04:00
Doug Blank
8d3657f54a Diff: fixed import of DictionaryDb; removed mistaken tag.gramps_id
references in DictionartDb
2015-05-26 20:08:56 -04:00
Doug Blank
97fd387c34 Removed duplicate methods 2015-05-26 20:08:56 -04:00
Doug Blank
8a15aaffb7 Added missing function; allow failed plugin message to show 2015-05-26 20:08:56 -04:00
Doug Blank
4805c3c7f0 DjangoDb: force load when write_version/create to make work with reset modules 2015-05-26 20:08:56 -04:00
Doug Blank
cfb33ec1a2 DjangoDb: typo, added logger 2015-05-26 20:08:56 -04:00
Doug Blank
576db27e9d Importers: added db.prepare_import/db.commit_import to wrap imports 2015-05-26 20:08:56 -04:00
Doug Blank
b095c6b606 DjangoDb: always force a gramps_id; typo fix 2015-05-26 20:07:46 -04:00
Doug Blank
014f8e61f1 DictionaryDb: reworked internal reprs; updated gender stats, researcher 2015-05-26 20:07:46 -04:00
Doug Blank
eeb150f1e3 Database API: expore name, full_name, and brief_name 2015-05-26 20:07:46 -04:00
Doug Blank
c72d40aa07 bsddb backend: supply version details in get_summary 2015-05-26 20:07:46 -04:00
Doug Blank
ea996cf6dd Database API, -L: database reports summary, if possible 2015-05-26 20:07:46 -04:00
Doug Blank
3c52f7016b Alternative DBs: touch meta_data.db to record last access time 2015-05-26 20:07:46 -04:00
Doug Blank
5171b3748d Added missing bookmark count methods to djangodb and dictionarydb 2015-05-26 20:07:45 -04:00
Doug Blank
11ac0f1551 Database plugin type support reset_system, to reset modules 2015-05-26 20:07:45 -04:00
Doug Blank
331a947ea4 Removed hardcoded database backend types 2015-05-26 20:07:45 -04:00
Doug Blank
e4d05f301a Fixed About dialog to show proper BSDDB version 2015-05-26 20:07:45 -04:00
Doug Blank
b2ed5d1cbb DjangoDb: send proper object-add signal on new objects 2015-05-26 20:07:45 -04:00
Doug Blank
bf12a2bc67 Basic infrastructure for Undo/Redo 2015-05-26 20:07:45 -04:00
Doug Blank
d6d5ecdf5d DictionaryDb: emit add after actually adding (fixed typo) 2015-05-26 20:07:45 -04:00
Doug Blank
d72ed91f21 DictionaryDb: emit add after actually adding 2015-05-26 20:07:45 -04:00
Doug Blank
1118ce449c Reworked backend Cursors; don't emit changes when changing in batch mode 2015-05-26 20:07:45 -04:00
Doug Blank
6da7f78cba Hack to reset modules on subsequent uses of Django databases 2015-05-26 20:07:45 -04:00
Doug Blank
61ec1c1b48 Database backends: bsddb, django, and dictionary 2015-05-26 20:07:45 -04:00
Doug Blank
7ded76695a DictionaryDb: implement delete 2015-05-26 20:07:45 -04:00
Doug Blank
3489276fa1 Moved key maps to dbconst 2015-05-26 20:07:45 -04:00
Doug Blank
789158aca5 DictionaryDb: now reads/writes on open/close 2015-05-26 20:07:45 -04:00
Doug Blank
8a42966c1f DictionaryDb: adding missing functions, bringing up to date 2015-05-26 20:07:44 -04:00
Doug Blank
beb8b8e3ab Loads tree based on id in database.txt 2015-05-26 20:07:44 -04:00
Doug Blank
337ba6b22a Added Django and Dictionary plugins, to be developed 2015-05-26 20:07:44 -04:00
Doug Blank
c0f9559f8c Database backend writes its plugin id in database.txt 2015-05-26 20:07:44 -04:00
Doug Blank
e7d62cf9b1 Only BSDDB plugin needs bsddb3; back/restore moved to db 2015-05-26 20:07:44 -04:00
Doug Blank
2d6a319c13 Moved make_database to DbState 2015-05-26 20:07:44 -04:00
Doug Blank
b059bdec66 Database backend as a plugin: this set of changes moves most or
all of Bsddb from gramps.gen.db to gramps.plugins.database. The
id of the plugin is 'bsddb' which can be loaded using the
make_database(id, dbstate) API (for now).

Next step is to add an identifying text in the directory to
indicate which database backend to use.
2015-05-26 20:07:44 -04:00
Bernard Banko
c3a4f85e72 new framework slovenian datehandler and plural forms correction in sl.po
Inflections corrected in sl.po

Date parser corrected

Plural forms expression corrected. Range, Span, Estimated, Calculated precised.

Estimated and Calculated strings added.

updated sl.po
2015-05-26 23:02:36 +02:00
Nick Hall
cc6820f80c GEPS 036: Add date and language to place names 2015-05-26 21:12:36 +01:00
Jérôme Rapinat
e448272259 8583: Custom Events not shown in the filter siderbar 2015-05-26 20:59:19 +02:00
Jérôme Rapinat
24bf67db3c 4161: Fix empty #buri fields
Still present on Geneweb 6 and 7alpha

patch by 'hmmmpf'
2015-05-26 20:30:43 +02:00
Enno Borgsteede
afe7fa39f9 #4161 #8548: Fix a baptism date error
https://gramps-project.org/bugs/view.php?id=8548#c41455

also reported and patched by 'hmmmpf' on #4161
2015-05-26 20:23:21 +02:00
Doug Blank
c830311aca Merge branch 'master' into geps/gep-032-database-backend
Conflicts:
	gramps/plugins/importer/importcsv.py
2015-05-26 13:43:51 -04:00
Jérôme Rapinat
fd90c19515 update french translation 2015-05-26 19:30:46 +02:00
Doug Blank
124b45eccc Merge branch 'master' of https://github.com/gramps-project/gramps 2015-05-26 13:22:03 -04:00
Doug Blank
9c9dc2c8e2 7143: Database Differences Report fails on gpkg with media
Added return values on imports, so we can tell the difference
between failure and success. Return value of None means failed.

Now, all importers should return an ImportInfo object.

The Differences will now stop if there is an error (such as
existing media directory.)
2015-05-26 13:19:03 -04:00
Jérôme Rapinat
0c232eb807 update translation template 2015-05-26 19:11:40 +02:00