Commit Graph

22864 Commits

Author SHA1 Message Date
Doug Blank
ca88f37bb6 Database backends: bsddb, django, and dictionary 2015-05-14 06:31:59 -04:00
Doug Blank
73886e9232 DictionaryDb: implement delete 2015-05-13 22:55:23 -04:00
Doug Blank
e7dc1a7bc4 Moved key maps to dbconst 2015-05-13 22:01:47 -04:00
Doug Blank
5115cd13e4 DictionaryDb: now reads/writes on open/close 2015-05-13 21:29:07 -04:00
Doug Blank
fbbd9d9c6e DictionaryDb: adding missing functions, bringing up to date 2015-05-13 19:26:14 -04:00
Doug Blank
6bff90419e Loads tree based on id in database.txt 2015-05-13 12:36:17 -04:00
Doug Blank
16a5665e3e Added Django and Dictionary plugins, to be developed 2015-05-13 08:09:30 -04:00
Doug Blank
f7474ddade Merge branch 'master' into geps/gep-032-database-backend 2015-05-13 07:41:26 -04:00
Doug Blank
35a38bc2bd DbDjango: added load() for delayed init 2015-05-13 07:29:16 -04:00
Doug Blank
81ebdd97cc Database backend writes its plugin id in database.txt 2015-05-12 23:08:54 -04:00
Doug Blank
7a7696224d Merge branch 'master' into geps/gep-032-database-backend 2015-05-12 22:18:17 -04:00
Doug Blank
ad1babbd4c DbDjango: added missing methods 2015-05-12 22:10:40 -04:00
Doug Blank
af0b308b1e Only BSDDB plugin needs bsddb3; back/restore moved to db 2015-05-12 22:03:10 -04:00
Doug Blank
432a05c64b Merge branch 'master' into geps/gep-032-database-backend 2015-05-12 19:16:34 -04:00
Doug Blank
2dd365f8bc Moved make_database to DbState 2015-05-12 19:09:17 -04:00
Nick Hall
f0bfce68c2 Add a title preview to the place editors 2015-05-12 23:00:20 +01:00
Doug Blank
242abf9f69 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-12 16:30:46 -04:00
Nick Hall
0eb027a095 Update required gtk version in glade files 2015-05-12 21:21:28 +01:00
Nick Hall
d8946d75ac Hide place title field in place editor
Add option in preferences to display legacy title field.  Hide by default.
2015-05-12 21:00:25 +01:00
Bernard Banko
9e468c7cd8 modified: po/sl.po 2015-05-11 20:20:41 -07:00
Doug Blank
f74f4942d5 DbDjango: method to checkpoint modules, to allow reloading Django 2015-05-11 21:17:57 -04:00
Doug Blank
b615fcb93c DbDjango: Removed debugging code 2015-05-11 18:24:03 -04:00
Doug Blank
aabd158944 DbDjango: use Gramps signals; to update, delete and add;
tag change from tuple to list--must match exactly:
[] does not match ()
2015-05-11 16:53:43 -04:00
Doug Blank
3a38f21eb7 DbDjango: return a default person 2015-05-11 13:04:43 -04:00
Doug Blank
89e20b90b7 Webapp: added databases directory; changed semantics of save_cache;
working signals, for the most part
2015-05-11 12:36:35 -04:00
Doug Blank
03b78a0884 DbDjango database works read-only in Gtk Gramps
These changes add most of what is necessary to use DbDjango as
a full database to Gtk Gramps.
2015-05-10 22:43:51 -04:00
Doug Blank
ccbab78fbc Allow database-changed signal to work with more general databases 2015-05-10 22:42:30 -04:00
Josip
306ede4e8e Set transient parent for errorview and errorreportassistant 2015-05-10 21:07:41 +02:00
Josip
b966ba74af Workaround for broken introspection
8474: Crash after merge places
8498: Crash when attempting to add gramplet
8536: clicking on tag icon in person view causes gramps to crash
2015-05-10 21:07:40 +02:00
Doug Blank
d57fccc9c6 Webapp: bare minimum to use a Django database with Gtk Gramps 2015-05-10 13:59:20 -04:00
Doug Blank
c8fa5169b5 Base db: at least have right signature for NotImplemented 2015-05-10 13:25:06 -04:00
Doug Blank
4a1a42783a Webapp: updated copyright to 2015 2015-05-10 09:56:26 -04:00
Doug Blank
45a1e17bd7 Webapp: Django 1.6 and Python3 fixes 2015-05-09 22:02:24 -04:00
Doug Blank
4e0927eba4 Back to being able to import; need to decide how to store alt_name_list 2015-05-09 21:29:48 -04:00
Doug Blank
40fa203659 pyicu: pin at version 1.8, until they fix 1.9 installer 2015-05-09 21:17:01 -04:00
Doug Blank
5fde29a34c django.setup() now required; bringing database up to date
with current gramps (missing db.is_empty())
2015-05-09 18:07:54 -04:00
Doug Blank
0360a5987e Bringing webapp up to date with python3 and django 1.6 2015-05-09 17:52:11 -04:00
Doug Blank
dfe88deeda Merge pull request #21 from RossGammon/find-admin-resources
Adds 'django.contrib.staticfiles' to INSTALLED_APPS
2015-05-09 17:51:07 -04:00
Doug Blank
2ad372bcba Added right-click "Copy all" to all QuickTables.
This currently copies all data from the TreeView to the clipboard,
including non-viewed columns.

Refactored rows2text to model_to_text, and moved to gramps.gui.utils

Added text_to_clipboard to gramps.gui.utils as well.
2015-05-09 09:49:19 -04:00
Paul Kilgo
23f46f6679 Enable the django.contrib.staticfiles app so admin panel finds its resources
Part of a commit cherry-picked from Paul Kilgo's fork
2015-05-09 14:12:44 +02:00
Ross Gammon
d890942b43 Merge branch 'master' of https://github.com/RossGammon/gramps 2015-05-09 14:05:52 +02:00
Josip
f4f83e456e 8445: Drag & Drop to add media: wrong handling of non-ascii characters 2015-05-09 00:53:53 +02:00
Doug Blank
53a00dd2d2 Bring webapp in master up to Django, version 1.6.1 2015-05-09 00:31:36 +02:00
Doug Blank
a566be07a5 Turn underscores in menuitems into mnemonic accelerator key 2015-05-09 00:31:36 +02:00
Doug Blank
c6ad403cab Add execute permissions and she-bang python3 to Gramps.py 2015-05-09 00:31:35 +02:00
Doug Blank
ecac48e5b1 Added right-click API to ListModel; allow copy all from Descendants
Gramplet.
2015-05-09 00:31:35 +02:00
Doug Blank
774855496f 8541: Crash following update: addon permission issue blocks re-starting gramps
There were two issues:

1. attempting to read a new addon file that wasn't readable
   threw an exception, aborted updating addons

2. global error catching didn't properly handle error code
   from an OSError
2015-05-09 00:31:35 +02:00
Doug Blank
b86ec4ffe9 Fixed QuestionDialog2 failure 2015-05-09 00:31:35 +02:00
Josip
710f7eab3c 8128: GtkDialog mapped without a transient parent 2015-05-09 00:31:35 +02:00
Josip
f7c6acaec8 8469: GUI allows multiple Find Duplicates, then faults 2015-05-09 00:31:35 +02:00