Commit Graph

26402 Commits

Author SHA1 Message Date
Serge Noiraud
2951a0acf0 Avoid invalid characters in the entry field (#811)
In this patch:
 1 - If you copy/paste strings from another application,
     you can add CR, LF, TAB and other special characters. I remove them.
 2 - suppress all leading and trailing spaces for these entry field.
2019-06-10 17:12:48 +10:00
milotype
6d53c3a91c Update Croatian translation (#824) 2019-06-10 11:57:46 +10:00
Mattkmmr
73705b08cd Fix '_hasattributebase.py' (#820)
Check all values of an attribute type and not only the first one.

Check all values of an attribute type. If a person has several attributes with the same type/key the current behaviour is that only the first value is checked.

Example Person X Atrributes:

    (Key=occupation: Value=farmer)
    (Key=occupation: Value=soldier)
    (Key=occupation: Value=smith)

=> Currently: Filter 'persons with attribut' (Key=occupation, Value=farmer) returns Person X, but no return of Perrson X for (Key=occupation, Value=soldier) or (Key=occupation: Value=smith).

=> After fix: Person X is returned for all three filter searches.
2019-06-10 11:47:37 +10:00
Paul Culley
7ca19214d6 Fix crash for multiple deletes in one transaction (#814)
Fixes #11117
2019-06-10 11:39:54 +10:00
Paul Culley
f123cac308 Fix uimanager, menu translations (#816)
Fixes #11151
2019-06-10 11:25:34 +10:00
Ed Bennett
87955ed2e9 Adjust translation strings for unmarried partners to give correct text in English (#818)
Fixes #11109
2019-06-10 11:07:22 +10:00
Mattkmmr
c61e79be76 Fix '_havechildren.py' person filter (#819)
* Fix '_havechildren.py' person filter

Check all families of a person for children and not only the first family

* Update 'person_rule_test.py' and '_havechildren.py'

Correct number for persons who have children is 905
2019-06-10 10:43:26 +10:00
niememat
135acff4e8 Update finnish translation 2019-06-04 11:33:13 +03:00
Leonhaeuser
0910bebe56 update German translation 2019-05-26 21:19:52 +02:00
Ed Bennett
805e07d09a Allow an option to not use hexagons for those of unknown gender
Fixes #11112
2019-05-20 10:23:33 +01:00
SNoiraud
e6324fe3d8 Add a mailto choice to Internet Address
Fixes #11149
2019-05-20 10:17:30 +01:00
Serge Noiraud
75d2f3dd00 Add option to show the Gramps ID in parenthesis in the fan chart
Add option to show gramps id.
Improve pylint score for the modified files.

Fixes #11045
2019-05-20 10:16:10 +01:00
John Ralls
9d3f17e377 Disable vala for gexiv2, it breaks introspection. 2019-05-19 21:01:55 -07:00
Leonhaeuser
aefa262cd1 update German translation 2019-05-19 21:24:23 +02:00
niememat
a6ef08d4d3 Update finnish translation 2019-05-18 11:17:18 +03:00
vantu5z
9eb04593f5 update Russian translation 2019-05-16 16:22:53 +03:00
pehlm
45c06cac54 Update Swedish translation 2019-05-15 14:39:07 +02:00
SNoiraud
77124496e8 New tool to suppress leading and trailing spaces.
This tool is looking for place names with leading or/and trailing spaces.
It also looks for in the first name and surname.

For each entry which contains leading or trailing spaces,
a row is added in a treeview.
You can see where the spaces are for each row as the name is underlined.

If you double click on the row, you can edit the Place or the Person.

Fixes #10824
2019-05-14 19:06:19 +01:00
matt
6bca4083cb Add occupation and residence events and attributes in the import
User can now add the following columns in the csv import file for a person:
- Occupation description
- Occupation date
- Occupation place
- Occupation source
- Residence date
- Residence place
- Residence source
- Attribute type
- Attribute value
- Attribute source
the corresponding events will be added to the person.
The user can put several lines for the same person if two occupations are known, one event per line will be created.
2019-05-14 10:38:11 +01:00
prculley
3ba2253ac0 New feature to allow added rules to define their own GUI elements 2019-05-13 19:30:03 +01:00
prculley
eb36980715 New feature to allow new rules in their own catagory in addons 2019-05-13 19:30:03 +01:00
prculley
8366ceb896 Allow filters/rules via plugin without fail on restart 2019-05-13 19:30:03 +01:00
prculley
5311cc7744 Fix Python time.clock deprecation 2019-05-13 18:47:13 +01:00
prculley
0213e65ff0 Fix PythonDeprecationWarning for collections.abc 2019-05-13 18:46:39 +01:00
prculley
c82ec4c65b Bump required Python version to 3.3 2019-05-13 18:45:38 +01:00
Keepun
63cd18ebfb Relationship Graph: Father and Mother are connected by an invisible line. 2019-05-13 12:37:27 +01:00
SNoiraud
52b9fe8276 Have a better narrative web site
10341:
When we are on a mobile phone or a small device, we suppress the navigation tab.
In place, we have a new icon on the upper left which is used to show the dropdown menu.
Thanks to Theo van Rijn for showing me the way to do that.

10962:
For Home, Introduction and Contact, If we have an image and this image contains regions,
show the regions. We can go directly to the person page associated to this region.
If we click on the image, we go directly to the associated media page. This will be true only if we selected "include images and media objects" and "create and only use thumbnail" is unselected

11018:
The first line identifying a family will be more legible.
The link is not useful in the parents and pedigree section for the current person.
Adapt some css files.

11029:
sort the place references either by date or by name.

Resolves #10341, #10962, #11018, #11029
2019-05-13 11:44:12 +01:00
SNoiraud
cd092897bc GEPS 039: Genealogical symbols in gramps
Gramps should be able to use genealogy symbols everywhere.

Several kinds of use for the genealogical symbols :

    The graphical interface (GUI, editors, graphical views, ...)
    The Web reports (webcal, narrativeweb, ...)
    The Text reports (odf, rtf, pdf, ...)
    The graphical reports (odf, rtf, svg, ...)

Resolves #9098
2019-05-13 11:17:12 +01:00
vantu5z
735e17a8cb Enhance layout of the preferences dialog 2019-05-12 19:31:13 +01:00
khrys63
08a4aeff7b Add Ahnentafel option on hourglass 2019-05-12 18:23:37 +01:00
Nick Hall
0fb1742362 Merge pull request #802 from SNoiraud:webcal 2019-05-12 16:13:15 +01:00
SNoiraud
e4564ec86e Webcal: better help msg for the after year option. 2019-05-12 16:09:36 +01:00
SNoiraud
76961fd675 Webcal: Include only events after year 2019-05-12 16:09:36 +01:00
SNoiraud
2f9704c680 Better quality code for codacy and pylint 2019-05-12 16:09:36 +01:00
SNoiraud
98a38cde57 Webcal: add death event
Fixes #5025

add some cleanup
use html_escape instead of _escape
2019-05-12 16:09:36 +01:00
jose1711
b5e9795ccf Fix typo in Slovak translation 2019-05-12 15:22:43 +01:00
prculley
4f14cbc12c Add buttons for arrangement of GalleryTab media order 2019-05-12 15:15:38 +01:00
prculley
b765d7eae0 On restart after crash, offer to run Check & Repair 2019-05-12 15:14:58 +01:00
Sam Manzi
3f28b5fcb5 Add tooltip for Gramplet Bar
To improve discoverability of the Gramplet Bar Menu (Currently a nameless down arrow at end of each Gramplet bar title tab) add a tooltip.

Issue #9042
2019-05-12 13:44:13 +01:00
caigner
903069fd34 changed 'Edit ->Set Home Person' to 'Edit -> Set Home Person' 2019-05-12 13:38:03 +01:00
SNoiraud
03d0baa2bf extrapage can now point to joomla, drupal, ... 2019-05-12 13:29:03 +01:00
Nick Hall
3096c2b09a Remove extraneous whitespace after assignment 2019-05-12 11:41:11 +01:00
Nick Hall
976edfbf1d Remove extraneous whitespace before assignment 2019-05-12 10:21:16 +01:00
Nick Hall
2a5fee85c5 Use theme settings for the error state of entry widgets
Use the current Gtk theme settings for the appearance of the
ValidatableMaskedEntry widget in its error state.  This avoids
problems with dark themes.

Fixes #11046.
2019-05-12 07:22:24 +01:00
Nick Hall
1b1452c7b7 Remove extraneous whitespace before colon 2019-05-12 07:00:44 +01:00
Nick Hall
021ea6baab Allow _T_ as a valid function name
This is used for deferred translations.
2019-05-12 06:59:48 +01:00
Nick Hall
50ed9268f9 Replace _2BUTTON_PRESS by DOUBLE_BUTTON_PRESS 2019-05-12 06:59:10 +01:00
Piotr Kasprzyk
f4832dd785 Adjust - Polish translation 2019-05-12 06:58:30 +01:00
Balló György
a94fc04890 Fix AppStream metadata validation 2019-05-12 06:51:44 +01:00
Keepun
488eaced8c vCalendar: Convenient display on mobile devices. 2019-05-12 06:50:16 +01:00