Commit Graph

1926 Commits

Author SHA1 Message Date
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
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
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
Josip
f4f83e456e 8445: Drag & Drop to add media: wrong handling of non-ascii characters 2015-05-09 00:53:53 +02:00
Doug Blank
b401741143 Bring webapp in master up to Django, version 1.6.1 2015-05-08 10:54:35 -04:00
Doug Blank
4566c62014 Turn underscores in menuitems into mnemonic accelerator key 2015-05-08 08:58:13 -04:00
Doug Blank
c5cf398e64 Added right-click API to ListModel; allow copy all from Descendants
Gramplet.
2015-05-07 12:04:14 -04:00
Doug Blank
7c9fd0ae63 Merge branch 'master' of https://github.com/gramps-project/gramps 2015-05-05 13:29:26 -04:00
Doug Blank
5149ac7554 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-05 13:25:20 -04:00
Doug Blank
f7dc7ba859 Fixed QuestionDialog2 failure 2015-05-05 11:28:35 -04:00
Josip
e172b6520d 8128: GtkDialog mapped without a transient parent 2015-05-03 20:04:28 +02:00
Josip
1e9f1dbb3e 8469: GUI allows multiple Find Duplicates, then faults 2015-05-03 15:43:32 +02:00
Paul Franklin
0b35e90fc1 remove ambiguous strings to make update_po.py happy 2015-05-01 22:39:08 -07:00
Paul Franklin
7be52a96fd 7541: Add places in rel_graph 2015-05-01 21:04:06 -07:00
Paul Franklin
8ac6617e71 8182: Complete Individual Report - Family Notes 2015-05-01 20:31:32 -07:00
Paul Franklin
f9f369fb03 enable localized span and range date displayer code 2015-05-01 20:03:16 -07:00
Paul Franklin
1d9391dfc9 cover two pathological place=None cases in family-group report 2015-05-01 19:42:42 -07:00
SNoiraud
5ccd4a4377 narrativeweb : bug 8528 : local variable 'body' referenced before assignment 2015-05-01 10:33:43 +02:00
Fabrice Arbogast
e1621b70a8 8225 8311: Crash on geneweb export with python3 2015-04-30 17:23:58 +02:00
kulath
c36ddf0845 0001360: Gedcom input: SUBN and SUBM record handling
Fixed:
(a) Additional spaces beyond the first between a GEDCOM tag and the rest
of the line are not ignored.

(b) The SUBMitter name is ignored (it is overwritten by the XREF).

(c) SUBmissioN data items are not committed to the database.
2015-04-24 10:52:25 +01:00
Paul Franklin
b79b2c3955 Update _datedisplay.py 2015-04-18 15:35:02 -07:00
SNoiraud
3dd194698a Geography : bug 8499 : follow fix a bad copy/past 2015-04-18 11:53:17 +02:00
John Ralls
3147cf5a2b Fix gtk-critical error when setting mac menubar. 2015-04-17 15:13:13 -07:00
Josip
8e8c206a8f Deprecated (since gtk-3.0): Gtk.Widget.modify_font 2015-04-17 12:42:50 +02:00
Craig J. Anderson
64db425ab0 New 'Include Siblings' feature added.
and got things ready for the report to go in multiple directions
2015-04-13 14:11:37 -04:00
Josip
bb1e5f4e3d fix typo in commit 7a507a6 2015-04-13 10:01:13 +02:00
Josip
7a507a6b01 8473: problem by start program 2015-04-13 01:23:53 +02:00
kulath
0e19785b92 0002370: GEDCOM import/export round trip causes lost information
Fixed output of Adoption records so "1 ADOP" is only written once for
the person event and the adoption relationship.
2015-04-12 19:04:42 +01:00
Enno Borgsteede
4bd5faf446 8483: db upgrade fails, fatal damage 2015-04-12 10:44:10 -07:00
Nick Hall
1f5c8be4db Merge pull request #16 from sebschub/master
Make place type in Place Reference Editor editable, add tooltip (master)
2015-04-10 19:14:41 +01:00
Paul Franklin
d86aa283eb 8477: date format month/year is not well reported at editing time 2015-04-09 22:07:41 -07:00
Craig J. Anderson
7f180f3883 minor updates 2015-04-09 09:04:22 -04:00
Sebastian Schubert
f7f0f60d8b Make place type in Place Reference Editor editable, add tooltip 2015-04-09 14:23:31 +02:00
Craig J. Anderson
1d1a4de566 Updated library recursive routines. Not used (yet) 2015-04-07 10:07:45 -04:00
Doug Blank
ef965caf4a Merge pull request #13 from daleathan/patch-3
Mark a TODO
2015-04-06 21:21:47 -04:00
Doug Blank
2e6fbc5e6e Merge pull request #11 from daleathan/patch-1
Mention Git
2015-04-06 21:19:54 -04:00
Doug Blank
7e1ba04faa Merge pull request #14 from daleathan/patch-4
Create readme with existing instructions.
2015-04-05 13:44:39 -04:00
Paul Franklin
70a7922b9d make report name consistent with gpr registration 2015-04-05 09:47:02 -07:00
Dale Athanasias
c886725e3b mention 1.8 is LTS 2015-04-05 08:28:07 +10:00
Dale Athanasias
b384635529 Rename readme.md to README.md 2015-04-05 07:59:21 +10:00
Dale Athanasias
c40d2d200d Create readme with existing instructions.
Copied from http://sourceforge.net/projects/gramps/files/Unstable/readme.rst

Have not managed to get this running yet.
2015-04-04 15:28:09 +11:00
Dale Athanasias
d4310848e9 Mark a TODO 2015-04-04 10:33:35 +11:00
Dale Athanasias
f81673cdac Mention Git 2015-04-04 10:25:04 +11:00
Dale Athanasias
9e22e94645 Update __init__.py
make it clearer
2015-04-03 13:28:54 +11:00
Paul Franklin
1ee9c60814 make reports' privacy option more prominent, harder to miss 2015-04-01 12:30:55 -07:00
kulath
5af7335e54 0004412: Entering a witness to an event such as marriage
In some circumstances (after a Father's age of Mother's age) a witness
could be ignored.
2015-04-01 14:50:37 +01:00
Matt Keenan
ef19a11889 8468: GuiColorOption missing avail-changed event handler 2015-03-31 10:22:54 -07:00
Nick Hall
d6c6d208c5 8128: Add transient parent to editor warning dialog 2015-03-31 16:46:58 +01:00
kulath
54dde99ad0 0008355: Gramps can't [GEDCOM] import estim. date period exported by
itself

Changed output format to DATE EST FROM TO and DATE CALC FROM TO. Also
changed in Narrative Web (which uses the same functions).
2015-03-31 10:49:04 +01:00
Paul Franklin
042f57d2e9 tweak report's filter option to display per the report's name-format 2015-03-30 13:05:55 -07:00
Paul Franklin
9ce42f7174 tweak report's filter option to display per the report's name-format 2015-03-30 13:02:41 -07:00
Paul Franklin
d984e5796b add filter name to report's title, tweak report's filter option display 2015-03-30 12:55:51 -07:00
Paul Franklin
f53d6482da tweak report's filter option to display per the report's name-format 2015-03-30 12:47:30 -07:00
Paul Franklin
d1653be44d tweak report's filter option to display per the report's name-format 2015-03-30 12:42:57 -07:00
Paul Franklin
e25a2d23e2 add name-format option, and deferred translation to report's second line 2015-03-30 12:31:25 -07:00
Paul Franklin
0657680432 add deferred translation to report's second line 2015-03-30 12:19:15 -07:00
Paul Franklin
5dba5711b9 slight tweak to name-format option 2015-03-29 10:11:28 -07:00
Paul Franklin
1fff4e7b0c add another missing import 2015-03-28 13:19:49 -07:00
Paul Franklin
946a4fbd2b add missing import 2015-03-27 09:11:20 -07:00
Paul Franklin
57acf9d21a slight tweak to name_format option 2015-03-26 22:03:35 -07:00
Paul Franklin
6961361c61 enable deferred translation of get_person_filters filter list 2015-03-26 21:47:34 -07:00
Paul Franklin
41d9bbe4c0 add DeferredFilter class (a subclass of GenericFilter) 2015-03-26 21:45:47 -07:00
kulath
2a1da2efba Fix bug in processing of Place FORM in GEDCOM import as a result of fix
for 8233.

When an unused Place was removed, PlaceImport still tried to generate
the place hierarchy. Also fixed bug in GEDCOM import where a default
PLAC FORM in the GEDCOM header was ignored.
2015-03-26 12:19:26 +00:00
Jérôme Rapinat
a40fbc1716 Merge branch 'master' of github.com:gramps-project/gramps 2015-03-25 19:25:06 +01:00
kulath
a15bfd98df Fix spurious generation of empty 'Alternative Name' in place.merge()
with an empty name

Bug discovered during testing of fix to 8233 (thanks, Enno for
discovering the problem and the fix).
2015-03-25 18:30:05 +00:00
Jérôme Rapinat
c2adf1be01 6403: remove markup in translation
new strings on style editor used old builder style
2015-03-25 19:24:47 +01:00
Jérôme Rapinat
4a06f9c0e3 fix confusing strings
update tempate

xgettext prior to 0.18.3 leads to error

try to limit bsddb3 mistake on new installation
2015-03-25 18:58:15 +01:00
Paul Franklin
98e21d9fb9 move some unrelated comments away from translated strings 2015-03-25 09:23:36 -07:00
Paul Franklin
336d627b6d typo 2015-03-24 22:40:37 -07:00
kulath
0f5bbce528 3082, 4439, 7134, 8279 Various fixes for GEDCOM import.
0003082: 1/4 and 1/2 ANSEL characters not supported on importing ANSEL
GEDCOM
0004439: [Info]: characters ignored on a Gedcom encoded ANSI (cp1252
West Europe, USA)
0007134: Failure importing ANSEL encoded gedcom file.
0008279: GEDCOM import fails for ANSI file incorrectly opened with the
utf8 locale

Fixed GEDCOM import not working properly for Python3; other problems
also corected, including fixing the inability to import Windows CP1252
coded files. Also more consistent fix for 8014. Ensured any error
messages are not lost. Fixed a few ANSEL characters that were not
translated.
2015-03-24 15:24:28 +00:00
Paul Franklin
d42a8b7adb fix date displayer TODO: estimated and calculated month inflections 2015-03-21 12:49:26 -07:00
Paul Franklin
8d0ae96b7d slight tweak to date displayer, for Finnish 2015-03-19 19:41:51 -07:00
SNoiraud
a3c923d180 geography: bad copy/paste. Points are at the same level. 2015-03-19 19:45:20 +01:00
SNoiraud
115b16ffb7 geography: bug8450: Attempting to add a bookmark causes an error. 2015-03-19 19:28:58 +01:00
Paul Franklin
768dcbf112 remove unneeded code 2015-03-19 10:00:46 -07:00
Jérôme Rapinat
be0744d454 8451: Fix crash on Relationships Graph report with unknown gender, related sibling label and french locale 2015-03-19 15:25:16 +01:00
Paul Franklin
64ef033724 7155: Support creating directories in various scenarios 2015-03-18 14:01:13 -07:00
Nick Hall
bf57632deb Add parent window to an update addons dialog 2015-03-18 10:08:04 +00:00
Doug Blank
35dead7b26 Enable all tests, except those to be rewritten/excluded 2015-03-18 03:57:27 -04:00
Doug Blank
ad1d47cc37 Fix and enable test_util_test 2015-03-18 03:25:39 -04:00
Nick Hall
43882165cf Add parent windows to report dialogs 2015-03-17 23:21:35 +00:00
Nick Hall
6100a5b7da Remove a couple a spare placeholders in glade file 2015-03-17 23:21:35 +00:00
Nick Hall
d095458ec0 Remove default values from paper menu glade file
Setting default margins of 2.54 was causing a warning message when
the glade file was loaded.
2015-03-17 23:21:35 +00:00
SNoiraud
e400ff6944 geography: bug 8450: Attempting to add a bookmark causes an error. 2015-03-17 21:08:08 +01:00
Mathieu MD
cc1ab8bac4 8109: Japanese data localisation 2015-03-17 12:35:26 -07:00
SNoiraud
bb30862c1b geography : some minor tweaks for kml and prepare for feature request 08428 2015-03-17 19:35:58 +01:00
SNoiraud
fdc42a9693 geography : some minor tweaks for kml and prepare for feature request 08428 2015-03-17 19:33:07 +01:00
Nick Hall
9fe9083e36 Fix transient parent window warnings 2015-03-17 17:40:04 +00:00
Nick Hall
13bee7cf26 7992: Fix call to get_participant_from_event during batch transaction
During a batch transaction the secondary tables are closed.  This
causes an error when find_backlink_handles is called.  Although
not ideal, we return an empty string for participants.
2015-03-17 14:03:03 +00:00
Nick Hall
4d66fbe8c3 Remove fallback to md5 module
All supported versions now include the hashlib module.
2015-03-16 14:20:19 +00:00
Nick Hall
5dfbd791a7 Convert remaining unicode literals 2015-03-15 19:50:27 +00:00
Nick Hall
6c256b96d6 8023: Remove HtmlView plugin 2015-03-15 16:53:15 +00:00
Doug Blank
3163d39f95 Removed xml import test, as that is thoroughly tested elsewhere.
Removed excluded nosetests for Travis
2015-03-15 11:55:35 -04:00
Doug Blank
46bdb38a11 gi.overrides is no longer needed 2015-03-15 10:01:43 -04:00
Doug Blank
ac530d8a34 Don't crash trying to create a Gdk.Cursor without a DISPLAY; enable more tests for Travis 2015-03-15 09:48:10 -04:00
Doug Blank
23c023f787 8435: Crash when trying to link existing place as an enclosing place using P0001 number; added tests, updated Travis testing 2015-03-15 00:33:39 -04:00
Doug Blank
12490b4600 DictionaryDb: fixed return type in get_person_from_gramps_id; added get_place_from_gramps_id 2015-03-15 00:31:15 -04:00
Doug Blank
07aec2000a Some issues comparing Today close to midnight, in Travis 2015-03-14 23:01:24 -04:00
Josip
53d3c96e58 8023: HTML view fails to load
add encoding attribute
2015-03-15 01:24:27 +01:00
Nick Hall
5da10c5a80 Replace cuni with str 2015-03-14 23:48:32 +00:00
Nick Hall
c9fd339289 Replace UNITYPE with str 2015-03-14 22:33:55 +00:00
Nick Hall
beab7892e5 Replace STRTYPE with str 2015-03-14 22:11:54 +00:00
Nick Hall
6d047c946c Replace conv_to_unicode_direct with str 2015-03-14 21:49:45 +00:00
Nick Hall
63ffd83021 Remove uni_to_gui function
We no longer need to convert strings to utf8 before passing them
to Gtk functions.
2015-03-14 21:30:26 +00:00
Nick Hall
2ecf1a3ddc Fix failing unit test 2015-03-14 20:51:08 +00:00
Nick Hall
7147236403 Remove use-bsddb3 configuration setting 2015-03-14 19:52:13 +00:00
Nick Hall
e0608f0ec4 Remove python2 specific code 2015-03-14 19:29:16 +00:00
Nick Hall
3b5efdf7ae Remove imports from __future__ module 2015-03-14 16:10:36 +00:00
Doug Blank
4d0508e6bf 8023: HTML view fails to load; replaced file with open 2015-03-13 22:09:41 -04:00
Doug Blank
6bdc7fea05 Webapp: bring up to date for Django 1.7.1 2015-03-13 15:49:04 -04:00
Paul Franklin
d1fdf737a7 8203: Complete Individual Report -- option to output all media 2015-03-13 10:32:10 -07:00
Doug Blank
3cd8a8f38f Travis: use pip3; make gramps home; allow cli test to work if dir exists 2015-03-13 02:05:02 -04:00
Doug Blank
4db8558a1b Changes to get django models to run under Python3; added travis config file--should run travis 2015-03-12 23:29:10 -04:00
Doug Blank
021da38047 Added missing DictionaryDb.is_empty(); fixed moved constfunc reference 2015-03-12 22:44:08 -04:00
Nick Hall
102c099f1d 8430: Place displayer should not return None
The place displayer should return an empty string for an event
with no place.
2015-03-12 23:13:54 +00:00
Nick Hall
1e1cea792e Fix another handle type bug 2015-03-12 18:18:36 +00:00
Nick Hall
f540f2a511 Convert deprecated color widgets 2015-03-12 18:18:36 +00:00
Paul Franklin
e80445127f 8423: Python3 needs new_subpixbuf not subpixbuf 2015-03-12 10:11:58 -07:00
Paul Franklin
c136791a00 typo 2015-03-12 09:58:38 -07:00
kulath
411b2995eb 0008401: NameError in GEDCOM importer 2015-03-12 14:11:28 +00:00
kulath
159fa31888 0008322: Event address is lost on import, i.e. disconnected from event.
On GEDCOM import, Places are only merged if the Place Title and the
whole of the main location are identical.
2015-03-12 12:35:05 +00:00
Anthony Fok
2796d77566 remove typo flagged by "python update_po.py -p" when generating gramps.pot 2015-03-10 08:43:04 -07:00
Paul Franklin
70fd3d1dbc 8204: Enable "Complete Individual Report" to show individual's tags 2015-03-06 10:29:18 -08:00
Paul Franklin
dd20212156 give "update_po.py -p" fewer things to moan about 2015-03-01 15:01:52 -08:00
Paul Franklin
e70bb04f82 add missing import 2015-03-01 14:53:14 -08:00
kulath
9444cbe388 0007824: Regression: running gramps from crontab fails 2015-03-01 16:53:45 +00:00
Paul Franklin
f7443a3a41 clarify new string, new gramps.pot 2015-02-28 16:03:03 -08:00
Nick Hall
97433d2189 Tidy up About dialog
Use standard string for translator credits.
Add new section for contributors.
Align artwork section properly.
2015-02-28 23:00:59 +00:00
kulath
94776a3e4f 0008380: tag_map is not initialized 2015-02-28 20:52:38 +00:00
Nick Hall
1a661bcc3d Set minimum python version required to 3.2 2015-02-28 17:57:00 +00:00
SNoiraud
4f72a8bc6a geography : added the layer to osmgpsmap. 2015-02-27 20:50:59 +01:00
SNoiraud
09fa42dd94 geography : added the possibility to show kml files. 2015-02-27 20:50:02 +01:00
Anthony Fok
deba8169bb 7573: implement both "traditional" and "simplfied" Chinese
* Translation revisions and fixes
   * Generate zh_TW.po and new zh_HK.po from zh_CN.po
     with the help of https://github.com/BYVoid/OpenCC
     and a small sed script (see f.r. 7573 for the script)
2015-02-26 14:19:01 -08:00
Nick Hall
3d043a7b53 Convert update addons dialog to no longer be a ManagedWindow 2015-02-26 21:34:10 +00:00
Nick Hall
149b049650 Remove place title from default view columns 2015-02-26 21:02:47 +00:00
Tim G L Lyons
0778a6f706 Missing import statement 2015-02-25 01:13:20 +00:00
Nick Hall
9713b08bf0 Remove deprecated Gtk Alignment widgets 2015-02-24 22:51:38 +00:00
kulath
fab7afd2a3 8134: Fix pickle upgrade of python2 strings to python3 str
Move load of metadata (which can also have pickle upgrade errors) and
make zip backup for pickle or schema upgrade.
2015-02-24 22:44:19 +00:00
Nick Hall
423559f48e Fix schema upgrade from 15 to 16 with python3 2015-02-23 19:20:49 +00:00
Paul Franklin
3145eadd0a 8316: Family with children but no parents is lost on filtered export 2015-02-23 08:54:57 -08:00