Commit Graph

338 Commits

Author SHA1 Message Date
Stanislav Bolshakov
39cb8bd64a Holidays.xml.in: add holiday, sorting and localization
1. Add 1 holiday to Russian calendar,
2. Sorting alphabetically localization strings in all .po and .pot files,
3. Add "Russia" country to all .po and .pot files,
4. Translate "Russia" in some language.
2020-07-09 10:25:14 -05:00
Stanislav Bolshakov
8684c66b2d Holidays.xml: sorting country + add Russia
1. Sorting countries alphabetically,
2. Add Russian holidays.
2020-07-09 10:24:47 -05:00
Serge Noiraud
2ce32d8c6b
Narweb: Add family map to family pages (#1021)
* Narweb: Add family map to family pages
* Narweb: adapt css files to have a better look.

Fixes #011614
2020-04-05 10:17:42 +02:00
Serge Noiraud
763f2738dd
NAVWEB and WEBCAL: some minor corrections (#980)
* NAVWEB: set unused media to False by default

Fixes #11496

* Navweb: Center correctly the map in the web page

* Webcal: Dropmenu doesn't work if only one year.

* Navweb: Add notes to updates and delete empty rows

* Navweb: some code cleanup.

* Navweb: remove unused variable

* Narweb: references enhancement on place pages.

* Navweb: convert the years in gregorian cal.

* Narweb: remove unused argument

* Narweb: really solves the pyICU problem

* WEBCAL: missing death symbol
2020-01-17 11:46:40 +01:00
Serge Noiraud
3938fac0d4
Narrative web: New features (#842)
* Narrative: Don't use event links if no event pages

+ some pylint changes

* map popup links must be visible for all stylesheet

* Narrative web: add scrollbar in popup content

* Narweb: Some improvement in popup

* Narweb: remove unused variable.
2019-12-15 09:59:58 +01:00
Serge Noiraud
fd072528d2
Narrative web: Some improvements (#931)
* Narrative web: Some improvements

- Event type, Date and place in bold
- Family events shifted one column on the left
- ancestortree css file before narrative-screen to allow modification
- Adaptation for all themes

Fixes #11393

* Narrative web: forgot a comma during last merge

* Allow scrolling if the ancestor tree is too large

* Translation of alternate stylesheets name

* Crash when using the family map

* Translate only the css title, not the file name

* Some minor corrections to css files

* Narrative web: open layers optimizations

* Narrative web: open layers and link in popup

* Narrative web: some events missing in popup

* Narrative web: Reference date column too large.

Allow the place title to use the maximum of width

* NarrativeWeb: shift children from one column

- adapt the css files to the new table
- some inconsistencies between the source and the css

* Make the drop down menu button size usable

* NarrativeWeb: Incorrect rendering when use of

alternate place name

* NarWeb: removing the unused image heigth option

* Click on image link gives a not found URL.

If the image used in home, introduction or contact page
is not already associated by a filtered object, we have a 404 error

* NarWeb: Index images and thumbnails pages optional

* Narweb: Improper Notes subtitle in web pages

* Narweb: List index truncated after 999

* Narweb: NarrativeWeb usage enhancements

* Narweb: avoid duplicate files in archive.

* Narweb: Add an optional news and updates page:

When you have a big database and you make intensive updates, it's
useful to have a list of the last modified objects.
you can select the period to show and how many records to see per object type.

* Narweb: forgot to add the module updates.py

* Narweb: some minor changes (pylint, img index bug)

* Popups don't work with the last openlayers version

It only needs to move the scripts at the end of the html body.
Use addEventListener instead of onload in the html body statement.

* Narweb: some popup problems

* Narweb: better score for pylint
2019-12-14 11:55:16 +01:00
Serge Noiraud
5157700da3
WEBCAL: Trying to have a better web calendar (#917)
* WEBCAL: Have config files for multiple databases.

* WEBCAL: best management for the narrative web link

* WEBCAL: use arrows, compress monthname and arrows

adapt the css files accordingly

* WEBCAL: use arrows in one day within a year

compress monthname and arrows
adapt the css files accordingly

* WEBCAL: index go now to the current month.

before this patch, the default month for the year calendar
was the month found at the web calendar generation.
Now, even if you create this report 8 months ago, the current
index will point to the current month.

* WEBCAL: trailing space.

* WEBCAL: year glance + some pylint improvements

* WEBCAL: incorrect width size with Mainz css.

* WEBCAL: problem with Visually css file

* WEBCAL: The table cell is highlighted when hover.

* WEBCAL: better pylint score.

* WEBCAL: Better rendering for full yer at a glance

* WEBCAL: better rendering on small devices

* WEBCAL: better quality code
2019-12-12 18:10:25 +01:00
prculley
e3eedb2219 Merge branch 'gramps51' 2019-11-08 11:46:40 -06:00
Serge Noiraud
789b72289c Narrativeweb: Referenced regions problems (#946)
When image width > 800, the referenced regions are incorrectly placed

Fixes #11414
2019-11-05 12:06:06 +11:00
Serge Noiraud
ee1d9be898 Narrative web: Ancestor's tree Fix display looks weird (#929)
* Narrative web: Ancestor's tree display looks weird

Solves the following:
- Person boxes overlap
- Some person boxes partially visible or hidden

Fixes #11382

* Narrative web: some cleanup in ancestortree.css

* Narrative web : ancestor tree and long names.

* Adapt ancestor tree css file for all themes
2019-10-17 11:17:31 +11:00
SNoiraud
793b13be67 Narrativeweb: Mainz problem with short text in one note
Issue occurs on the homepage and introduction page.

Fixes #11349
2019-10-03 20:33:17 +01:00
prculley
a07aae2e30 Fix export tests to actually test most files, and run for both dbs 2019-10-03 19:56:27 +01:00
prculley
6d39920e6f Merge branch 'gramps51' 2019-09-16 10:54:55 -05:00
SNoiraud
efbec440fd Narrative web: Mainz Style sheet weird looking
Fixes #11282
2019-09-06 17:32:41 +01:00
Paul Culley
49632d8789
Add support for GEDCOM import _FREL/_MREL tags in INDI/FAMC (#866)
Improve support for GEDCOM export of _FREL/_MREL in INDI/FAMC

Fixes #10750
2019-08-18 10:09:29 -05:00
Serge Noiraud
cdd3177b19
Narrative web: markers incorrectly placed. (#839)
* Narrative web: markers incorrectly placed.

In the map pages, the markers are not placed where it should be.
reproducible when zoom in/zoom out.

Fixes #11208

* Narrative web: background not correctly set.

If you use the Web_Basic-Cypress.css, the foreground and background
use the same color, so you see nothing.
you must hover the fields to see the text
2019-08-11 21:57:01 +02:00
prculley
f4a8f21032 Merge from gramps51 2019-08-09 09:06:42 -05:00
prculley
bb255c8529 Merge with Gramps50 2019-08-09 08:53:17 -05:00
Paul Culley
44104671b9
Fix GEDCOM import for better support of TMG (#861)
Fixes #11224
2019-08-08 09:59:14 -05:00
Paul Culley
27c38018fa
Fix GEDCOM importer to properly handle multiple surnames per 5.5.1 (#862)
Fixes #11228
2019-08-07 13:48:49 -05:00
SNoiraud
9da8f705f6 Narrative web: Add popup to manage markers
If you click on a marker in the family map page, you get a popup.
In this popup associated with a place, if you have several events,
for each event you see the person and the event type.
If you click on the person, you go to the related page for this person.
If you click on the event type, you go to the related page for this event.

Fixes #11150
2019-07-07 19:25:42 +02: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
Balló György
a94fc04890 Fix AppStream metadata validation 2019-05-12 06:51:44 +01:00
prculley
67c8fd18cb Merge with Gramps50 branch 2019-04-23 11:01:07 -05:00
Paul Culley
450217a636 Fix Gedcom import so it doesn't create completely empty Birth events (#799)
Fixes #10145

Note: a completely empty birth event is removed by Check and Repair; this is wrong in that sometimes we know a person is born, but not date/place. In Gedcom this is indicated by "1 BIRT Y" lines.

So this PR adds a description to the birth event. This is not an issue for other event types, the C&R tool sees the non-default type and leaves it alone, but birth is the default type.
2019-03-17 16:51:15 +11:00
Paul Culley
100d6d0672 Gedcom fixes for mime and finding media (#795)
* Fix Gedcom import/export for more comprehensive mime types

Fixes #11041

* Fix Gedcom import to better find media files

Issue #11041

* Fix Gedcom test files for media mime and error location message
2019-03-17 14:44:42 +11:00
Paul Culley
f84c2ecf11 Fix Gedcom import for multiple notes on OBJE (MULTIMEDIA_LINK) (#782)
Fixes #10277
2019-02-14 15:32:16 +11:00
prculley
1b824c410b Merge with gramps50 2018-12-23 09:57:37 -06:00
Paul Culley
dd43cde20e Gedcom export, upgrade OBJE handling to Gedcom 5.5.1 style (#702)
Fixes #10797
2018-11-29 09:28:56 +11:00
Paul Culley
e356573605 Fix CSV import to set marriage event role to family (#725)
Fixes #9952
2018-11-29 09:15:01 +11:00
Paul Culley
6f7699480d Update gramps bugtracker URL in all po files (#710)
Fixes #10543
2018-11-29 09:01:56 +11:00
Serge Noiraud
3798175b50 Narrative Web : thumbnails bad alignment. (#691)
* Narrative Web : thumbnails bad alignment.

Fixes #10854

also solves the following problems in the Nebraska style sheet :
 1 - float parameter has no value "center"
 2 - "[" instead of ";" at end of line 1100

* overlapping with long titles
2018-11-29 08:48:27 +11:00
prculley
263a082afe Merge in changes from Gramps50 2018-10-29 09:32:35 -05:00
SNoiraud
f2bc982c3d NarrativeWeb fixes
Space between place, description and the event note when there are
many sources.
Change the css order between print and screen.
The chosen theme can erase prior values.
Add a width for the source column in all themes.

Fixes #10810
2018-10-21 18:43:11 +01:00
Nick Hall
59bd9f040d Merge branch 'gramps50' 2018-03-03 17:29:32 +00:00
niememat
adf3772b7a Fix holidays in Finnish 2018-02-11 12:58:49 +02:00
Nick Hall
19f8c3561c Merge branch 'gramps50' 2018-02-09 00:13:43 +00:00
Serge Noiraud
3615e75d16
Narrative web: multiple problems. (#517)
* Narrative web: multiple problems.

1 - Added an option for the statistics page.
2 - We have problems with notes : pages are too large
3 - Difficult to see some page on a mobile phone when you have notes.
4 - Resizing of images on a mobile
5 - Maps are too bigs on a mobile
6 - Split the event line to have a narrower page
7 - The note is spanned on two columns (Place + Description)
7 - In media pages, the progress meter doesn't work well.
8 - Add a progress meter for the medialistpage

Issues #10344

* Narrative Web: several modifications + css files

* Stylesheet problems and reverse set_header

* Removing memory cleanup.
2018-01-18 09:03:11 +01:00
Nick Hall
ad15ef7961 Merge branch 'gramps50' 2018-01-03 21:32:14 +00:00
prculley
aa2a451f23 Suport FTM 2017 Gedcom tags on import
Bug #10285
FTM adds subordinate PLAC and OBJE data to INDI.ADDR which is
non-standard.  So treat it as a Residence Event, instead of an
Address.
FTM puts _DATE and _TEXT tags subordinate to OBJE, also non-standard.
2017-12-28 19:29:14 +00:00
Serge Noiraud
88639fcd7d
Mainz css file produces left aligned FamilyMap pages (#489)
* Mainz css file produces left aligned FamilyMap pages

Solving Mainz problem creates new ones with Basic-Blue
and Nebraska styles sheet.

Some cleanup with unused css file (GeoView.css)

Fixes #10268

* Many problems with css files and the ancestor tree

* media file not created if we have unused media.
2017-11-22 10:27:40 +01:00
Paul Franklin
e21a1c15d5 remove vestage of (old) SVN source-control system 2017-10-02 11:13:40 -07:00
prculley
cdec0299a5 update authors file 2017-10-01 10:47:52 -05:00
Nick Hall
1482fedb9c Merge branch 'gramps50' 2017-09-23 17:08:52 +01:00
Paul Culley
231b15eca1 fix invalid export (and import) of Gedcom EMAIL records (#455)
Gedcom spec 5.5 requires '@' in general text to be doubled '@@'
fixes #10167
2017-09-10 08:33:23 +10:00
Alois Poettker
1a065485e3 Extend Pro-Gen importer II
Adapted to Pro-Gen test fix, expanded functionality and fixed
minor bugs.
2017-07-27 19:05:52 +01:00
Nick Hall
849290a3b7 Fix Pro-Gen unit test 2017-07-18 00:06:30 +01:00
Alois Poettker
e14ea777d5 Extend Pro-Gen importer functionality 2017-07-02 23:16:10 +01:00
prculley
d486052378 Gedcom import with OBJE/FORM URL on event
Fixes #7593.
2017-06-16 22:31:56 +01:00
prculley
a879144cc7 Add Progen import test files 2017-01-25 17:35:52 -06:00