Commit Graph

22961 Commits

Author SHA1 Message Date
Doug Blank
d38785740e DB-API: surname_list not working; added tag map support 2015-05-26 20:08:57 -04:00
Doug Blank
1c4f827bf8 DB-API: committing objects updates secondary items 2015-05-26 20:08:57 -04:00
Doug Blank
1b89239323 DB-API: added undo-redo infrastructure 2015-05-26 20:08:57 -04:00
Doug Blank
d5c9c5114a All metadata functionality now implemented 2015-05-26 20:08:57 -04:00
Doug Blank
dad21d1e2f Update backlinks 2015-05-26 20:08:57 -04:00
Doug Blank
800e8ebefb Added metadata table and setting/value 2015-05-26 20:08:57 -04:00
Doug Blank
9274d74dc1 WIP: name_group; clean up of SQL 2015-05-26 20:08:57 -04:00
Doug Blank
1871c6ced4 Basics for back references now work, although doesn't update with edits yet 2015-05-26 20:08:57 -04:00
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
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