Commit Graph

23181 Commits

Author SHA1 Message Date
Doug Blank
91ac3c699a PlaceName: updated GUI merge for new placenames 2015-05-27 06:24:27 -04:00
Doug Blank
962608c6bf Fixed merge tests for Places; fixed init for PlaceNames with source 2015-05-26 22:03:07 -04:00
Doug Blank
7355adfc04 Merge branch 'geps/gep-032-database-backend' of https://github.com/gramps-project/gramps into geps/gep-032-database-backend
Conflicts:
	gramps/plugins/database/bsddb_support/upgrade.py
2015-05-26 20:11:32 -04:00
Doug Blank
8551a0b071 DB-API: fixed error in find_initial_person 2015-05-26 20:08:57 -04:00
Doug Blank
1830e2b943 DB-API: sql clean up; some FIXME's still left 2015-05-26 20:08:57 -04:00
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