Commit Graph

4784 Commits

Author SHA1 Message Date
Bruce Jackson 9257d6de0b Add namespace to metadata table 2023-07-04 22:59:57 +01:00
Bruce Jackson 35306bc68c Image Metadata Gramplet expand metadata support
- Enable showing XMP and IPTC metadata,
- Add additional metadata fields that contain tags and text descriptions.
- Display thumbnails for XMP-mwg-rs Regions
2023-07-04 22:35:02 +01:00
Jan Skarvall 70520be80c Add support for open spans 2023-07-04 20:37:42 +01:00
Nick Hall 1af35153d9 Add strikethrough and superscript/subscript support 2023-07-04 16:56:54 +01:00
Nick Hall 06446a4ba9 Add new gender option of "Other" 2023-07-03 18:32:43 +01:00
Nick Hall b33c94a0d2 Replace import removed in error 2023-07-03 15:09:14 +01:00
Nick Hall 53bfeb66ca Remove redundant code since Gtk 3.24 required 2023-07-02 23:54:23 +01:00
Daniel Norton 2b4a84b2c5 Update Creative Commons license version to 4.0 2023-07-02 23:28:04 +01:00
Allan Nordhøy bcd72f136d Correct spelling of "vCard" in importer 2023-07-02 23:09:04 +01:00
André Apitzsch 08e9101089 Support XDG base directory specification
Fixes #8025
2023-07-02 22:32:07 +01:00
André Apitzsch 21e94dec99 Geography: Use path from constants 2023-07-02 22:19:21 +01:00
André Apitzsch 8b0e5dac6f Remove unused constant ENV_DIR 2023-07-02 22:09:31 +01:00
Nick Hall 21c7952dc8 Add option to hide ages for events after death 2023-07-01 23:40:48 +01:00
Nick Hall 6eedf4a142 Use ObjEntry to select a person as an association
Uses existing code to make the user interface consistent with
similar object selections.

Adds person add and remove buttons.
2023-07-01 23:32:02 +01:00
Matthias Balk d830918289 Calendar report enhancements
* Added symbols for birth, marriage and death
* Added symbols for dead spouse in anniversaries
* Optionally include death dates
* Refactored method `collect_data`
2023-07-01 23:13:46 +01:00
Nick Hall b23a2138b0 Increase minimum version requirements for Python and Gtk
Python: 3.8
Gtk: 3.24
2023-07-01 22:54:00 +01:00
Nick Hall b41969c4c2 Merge branch 'gramps51' 2023-06-28 22:45:00 +01:00
SNoiraud e40b727a57 Narrative web: problem with small pictures.
Fixes #012884
2023-06-28 21:50:08 +01:00
SNoiraud 160d5952f2 Implement the "<CTRL>J" for the family view
Fixes #012882
2023-06-28 21:42:08 +01:00
Jon Schewe 482199d29c Avoid application crash on invalid user input
If the user inputs an invalid date this change keeps the application
from crashing when such a date is found. The invalid date
information is reported to the user in the log.

Fixes #12658.
2023-06-28 20:58:37 +01:00
Nick Hall bfa7c0c9f4 Fix export where private citations are excluded 2023-06-28 19:05:25 +01:00
SNoiraud e5ec6bd7c9 Add option to control display format of Lat/Lon
Add an option in the preferences diplay tab for views.
Add the possibility to select a different choice in the reports.

Fixes : #11248
2023-05-22 14:30:47 +02:00
prculley 614332aac8 Fix Event compare tool to display enclosed places properly 2023-05-14 22:50:01 +01:00
SNoiraud 0a981f0ca6 Check that view exists before calling post_create method
Avoids 'NoneType' object has no attribute 'post_create' error.

Fixes #12638
2023-05-14 22:47:55 +01:00
Jingxuan He 9e81014fc6 Fix a wrong operator bug in the web calendar report 2023-05-14 22:27:59 +01:00
Himanshu Gohel 2da93aad1f Revert "Enclose tree report image path and file name in braces"
Fixes #12437 by reverting commit 75921ceaf4 due to
reports of regression where processing of the generated TeX file fails due to
bad path specificiation for image files.

Change was introduced in bug fix for #10495.

Bugs #12437 and #12697 reported the regression and confirmed that reverting the
change fixes the regression.
2023-05-14 22:13:38 +01:00
SNoiraud 97434a0136 Geography View: Fix number of arguments in add_bookmark method
add_bookmark() takes 2 positional arguments but 3 were given

Fixes #12718
2023-05-14 21:54:33 +01:00
GaryGriffin 181e2d8540 Use date-specific place in report substitution variables
Fix place title in graphical reports which have user-defined display formats
to use date-specific alternate name.

This impacts Ancestor Tree, Descendant Tree, and Family Descendant Tree.

Fixes #12763.
2023-05-14 21:38:49 +01:00
John Ralls 36d03137dd Try to import berkeleydb if bsddb3 isn't found.
berkelydb is usable for python >= 3.6 and required for
python >= 3.10. See https://www.jcea.es/programacion/pybsddb.htm.
2023-05-14 21:11:55 +01:00
Vincent Smeets f6ac1999dd HtmlDoc: Create a unique filename for cropped images 2023-05-14 21:00:28 +01:00
D.A.Lordemann a99b48711f Fix corrupted NOTE tag in Gedcom export
Remove Python2 code obsoleted by Python3, which was corrupting GEDCOM export of Gramps Notes text that includes multi-byte utf-8 characters.

Fixes #12709.
2023-05-14 19:03:52 +01:00
SNoiraud d5d86e9139 Fix IndexError that sometimes occurs when changing view
This occurs when restarting Gramps.

Fixes #12636, #12304, #12429, #12623, #12695.
2023-05-14 18:49:17 +01:00
SNoiraud 35f20a8893 Narrative web: Solves some problems
Force place name to be "Full" names.
Force the country field to be the last field of the place name
Force the State/province to be the penultimate field of the place name

We use place names that stop in the country, but iff we have place names
such as: city, province, country, continent, planet with the continent and
planet as the custom place type, the State/Province field will be
the name of the place continent... (should never happen, but...)

Fixes #12821
2023-05-14 18:15:30 +01:00
SNoiraud 09fd85ef09 Make "gramps -v" consistent with Prerequisites Checker
This patch is related to Bug report #012770.
When a problem occurs, we ask to the user the result of "gramps -v"
and not the result of the PrerequisitesCheckerGramplet
2023-05-12 22:49:07 +01:00
Christopher Horn 0eb562e67b Fix incorrect title of event schema attribute_list 2023-05-12 22:32:08 +01:00
SNoiraud 4ebba02b6b Fix crash when invalid note link
Fixes #012854
2023-05-12 22:11:29 +01:00
SNoiraud e535fcefa5 Tags with color names don't work in pedigree views
Color tags work correctly in all views except in pedigree views.
These views modify colors:
...
 context.set_source_rgba(*(self.bordercolor[:3] + (0.4,)))
... and
 context.set_source_rgb(*self.bgcolor[:3])

As it works everywhere except in these views, I think it is a bug
even if we cannot enter color names in tags

Fixes #012866
2023-05-12 21:57:24 +01:00
grocanar 2c70982fab Add place name to place in geneweb import
Fixes #12710
2023-05-12 21:24:59 +01:00
Juan Saavedra 3a7b17af01 Give consistency to short months in Spanish 2023-05-12 20:52:07 +01:00
Matthias Urlichs 5e1d36b0ad Implement the GEDCOM tag "_RUFNAME"
RUFNAME is the German word for "call name", i.e. the part of the given
name commonly used to address somebody. Some official documents mark it
as such.

The GEDCOM standards 5.5.1 and 5.5.5 mention this tag.
2023-05-12 20:36:14 +01:00
SNoiraud 0170e2b1e6 Crash when invalid event date 2023-04-05 18:41:27 +02:00
SNoiraud 54799df049 ListModel: Only the first level is managed
When we use checkboxes in columns.
The path was converted to int. Why ?
But when we have multiple level, the path format is "x:y" for two levels,
"x:y:z" for three levels, etc
2023-04-04 19:38:10 +02:00
David Straub 47f392ef70 Replace deprecated imp by importlib 2023-03-07 22:00:04 +00:00
DaveSch-gramps a3122df673 Add Preferences and Plugin Manager toolbar buttons (#1139)
Add configurable Plugin Manager and Preferences buttons to the toolbar.

Make the Tools, Reports, Clipboard buttons on the toolbar configurable.
2023-03-07 21:29:57 +00:00
SNoiraud 1d977840e1 Narrative web: add noindex for robots 2023-02-09 09:10:29 +01:00
Serge Noiraud e4264f837f Narrative web: lightbox feature (#1410)
Deature request: #012801
Discourse: https://gramps.discourse.group/t/narrated-website-browsing-media-in-person-page/3195
2023-02-09 09:04:48 +01:00
Serge Noiraud 18da49cd75 The latest version of openlayers doesn't work (#1387)
* The latest version of openlayers doesn't work

Every years, openlayers change its "latest" version.
If this no longer works in the browser we need to change "latest"
by another version.
v6.15.1 is the latest working version and is available several years.
If this no longer the case for this version, we need to change this version
in the gramps.ini file.

The section will be:
...
[external_modules]
;;openlayers_version=‘v6.15.1’
…

You'll need to remove the two commas before openlayers_version and
change v6.15.1 to the working version.
Available versions are provided in the OLDER SECTION of https://openlayers.org/

Fixes #012680

* Change the location of js and css files

* Menu simplification and usage clarification

Show in which file the openlayers version should be modified.
Show the config name to modify.
2022-10-21 18:16:58 +02:00
Nick Hall a22b43080a Fix Russian calendar unit test
The translation of "Julian" is hardcoded and the test and will
fail if the translation is updated.
2022-09-10 17:06:55 +01:00
Dave Scheipers 278c168f9b Add Stillbirth as pre-defined event type
Add Stillbirth as a fallback for both Birth and Death events.
2022-04-02 18:59:13 +01:00
Timo 222bfff175 Show index of person in ancestor tree report. 2022-04-02 18:37:29 +01:00