Commit Graph

26719 Commits

Author SHA1 Message Date
Serge Noiraud
66680851f2
Narweb: add php session_start (#1169)
* Narweb: add php session_start

Fixes #12135

- remove php3
- remove duplicate code

* libhtml: better pylint score
2021-02-13 17:39:03 +01:00
Stanislav
94ddf6a815
Small fix Rissian translate (#1158)
1. Capitalize all first letter in "family tree" (in Russian),
2. Other small fix.
2021-01-17 16:18:10 +03:00
Serge Noiraud
0bc546cb72
Calendar: Use the death symbol defined in pref (#1167) 2021-01-12 11:08:35 +01:00
Serge Noiraud
7443cf4207
Links in notes not obvious in Narrated Web report (#1159)
Fixes #12105
2020-12-29 10:03:15 +01:00
Serge Noiraud
3d4ec8382d
Narweb: in cms mode, some inconsistent image links (#1157) 2020-12-29 10:01:25 +01:00
Zdeněk Hataš
06e5ff4e66 Update Czech translation 2020-12-18 19:05:34 +01:00
Nick Hall
1a99f9f7a0 Merge pull request #1141 from a-andre:raise_min 2020-11-15 21:30:54 +00:00
André Apitzsch
4b964b12dc Test: No need to check for mock support with Python 3.3+ 2020-11-15 21:28:19 +00:00
André Apitzsch
5d78b7aec3 Simplify code 2020-11-15 21:28:19 +00:00
André Apitzsch
adc50f7a08 Bump required Python version to 3.5 2020-11-15 21:28:19 +00:00
André Apitzsch
4492999f21 Fix tags in shared mime info file
With the switch from intltool to gettext underscores became obsolete.
2020-11-15 21:20:17 +00:00
Nick Hall
a69978af34 Merge pull request #1140 from a-andre:appdata 2020-11-15 21:15:27 +00:00
Nick Hall
b00ddb921b Further Appdata changes
* Make appdata summary consistent with desktop comment.
* Avoid using deprecated license identifier.
* Tidy up tag order.
2020-11-15 21:02:40 +00:00
André Apitzsch
249807267f Update Appdata to pass validation
* Fix tags. With the switch from intltool to gettext underscores
  became obsolete.
* Add content-rating information.
* Add link for translators.
* Add release information.
* Add translation domain.
2020-11-15 20:59:10 +00:00
Serge Noiraud
31b80da797
Multiple languages ​​for the narrative web and optional other additions (#1051)
* Navweb: multi-language configuration.
* Navweb: multi-language exec, navigation menu, css
* Navweb: make css responsive for multi-language
* Language menu must work with a non english lang
* Avoid to copy common files for each language
* Use cms and archive in multi-languages
* Add the default index.
* Some cleanup.
* Images: performances improvement with image_size

Need to use the magic library (python-magic, python3-magic, ...)
If this library don't exist on the system, continue to use the Gdk method.

- force archive if we use CMS
- remove some unused code
- some strings are not translatable
- stay on the same page when you change language
- add image in the ancestor tree for all levels and not for the first 5

performances:
- copy images and thumbs only for the first language
* Some minor corrections and performances test
* Update comments for methods and functions
* Narweb: add show tags option
* Try to translate tags and suppress the colon (:)
* Narweb: integrate of webcal for multilang use
For each lang, we use the related calendar if it exists
* Death string only translated for the locale lang
* set correct url for extrapage.
* Add optional toggle for html sections
* show birth and death date if close option selected
* No background in references section with Mainz css
* Remove photo from list incompatible with multilang
* Add the first photo to the place page marker
* Add associated persons.
* Solves 'undefined' in map popup.
* Calendar: Set the background for the current day
* Thumbnail align problem with long description.
* Set the contact page date to the note date
* Add a scroll to top button.
* Increase the nb of generations since we can scroll
* Difficult to see the "go to top" icon.
* Better management for the toggle switch
2020-11-09 12:10:25 +01:00
Jan Sparreboom
c567b9e399 Update Dutch translation 2020-09-24 21:58:57 +01:00
Lajos Nemeséri
de7b621ebc Revised and updated hu translation 2020-09-24 21:01:09 +01:00
Juan Saavedra
e44c7f36d6 Update Spanish translation 2020-09-24 19:25:50 +01:00
David Straub
a8e7cee670 Fix travis build 2020-09-22 08:37:07 +02:00
Nick Hall
cc7ca7ff99 Support msgctxt in po files instead of a vertical bar in the msgid
For developers, an extra optional context parameter has been
added to the gettext functions. For example, _('point size|pt')
should now be written as _('pt', 'point size').

For translators this would appear in the message catalog as:

msgctxt "point size"
msgid "pt"
msgstr "pt"

Implements #3416.
2020-09-21 22:03:43 +01:00
Nick Hall
01403a0d03 Remove version qualifier 2020-09-16 22:50:58 +01:00
Nick Hall
b95b4258ef Another PyPI test release 2020-09-16 21:37:57 +01:00
Nick Hall
7994d01320 Change deploy script to fail on error 2020-09-16 21:33:39 +01:00
Nick Hall
67e2620e7a Change Travis CI to use python 3.5 2020-09-16 21:32:20 +01:00
Nick Hall
f15263e754 Create a development release for PyPI testing 2020-09-16 18:54:35 +01:00
Nick Hall
8408cea4b5 Move beta warning into the status bar 2020-09-16 17:45:30 +01:00
Nick Hall
fd380e345c Install application icons into correct directories 2020-09-15 19:06:26 +01:00
Nick Hall
ffa97fcad2 Merge pull request #1114 from DavidMStraub:pip 2020-09-15 18:52:42 +01:00
David Straub
dafedbebd5 Add PyPI auto-deploy to Travis CI 2020-09-15 18:38:13 +01:00
David Straub
71d95faeea Use setup from setuptools to allow creation of python wheels
Add extras_require
2020-09-15 18:37:11 +01:00
Nick Hall
33e3f4eb64 Update Travis CI to use gramps52 addons 2020-09-15 17:20:06 +01:00
Nick Hall
bb1c784d04 Bump all version numbers to 5.2 2020-09-15 16:59:43 +01:00
Paul Culley
9938c71a1c
Fix EditEventRef, EditPlaceRef, EditMediaRef, EditRepoRef for improperly (#1112)
saving objects in their object lists.

Fixes #11917, #11933
2020-09-14 11:12:12 -05:00
Paul Culley
bd6e7c1007
Check & Repair: search and fix bad "links" in StyledTextTags (#1093)
Issue #11855
2020-09-14 11:11:14 -05:00
Nick Hall
60f1866292 Replace intltool with gettext tools
The build now requires gettext v0.19.7 or above.

Removed obsolete files:
  * gramps.applications
  * gramps.keys
  * gramps.mime

Created ITS rules for holidays.xml and tips.xml files.

Included ITS files for shared-mime-info from a gettext v0.20.2
installation.
2020-09-02 21:22:04 +01:00
Nick Hall
3ca82e2ebc Remove the resource-path file
Attempt to derive the resource path from the package path assuming that
one of the three main installation schemes has been used.

The package path will be one of the following:

  <prefix>/lib/pythonX.Y/site-packages
  <prefix>\Lib\site-packages

  <home>/lib/python

  <userbase>/lib/pythonX.Y/site-packages
  <userbase>\PythonXY\site-packages

  Where <prefix>, <home> and <userbase> are the resource paths used in the
  Prefix, Home and User installation schemes.

The use of the command line option "--install-data" in the setup script
is no longer supported.

This change is intended to allow a Gramps core package to be created
as a wheel and installed via pip.
2020-09-02 21:07:22 +01:00
niememat
8ffb544b2c Update finnish translation 2020-08-30 20:33:38 +03:00
prculley
e3b6076eef Merge branch 'gramps51' 2020-08-23 09:38:15 -05:00
Nick Hall
9ea958661b Fix python3-icu in Travis CI build 2020-08-22 20:49:01 +01:00
Nick Hall
d30376ca20 Change Travis CI python version to 3.4 2020-08-22 20:38:58 +01:00
Nick Hall
80b3572e30 Update Travis CI build configuration
Change distro from trusty to xenial.
Add missing os key.
Remove deprecated sudo key.
2020-08-22 20:28:26 +01:00
Paul Culley
8000eaca2f
Add tooltips to sidebar filter 'Find' and 'Reset' buttons. (#1091)
Issue #11783
2020-08-21 09:50:15 -05:00
Paul Culley
8654c50594
Bug10853m (#1096)
* autobackup; add delay after wake from sleep/hibernate to allow time
for system to settle.

Fixes #10953

* Autobackup only if new commits since last autobackup in session
2020-08-21 09:46:18 -05:00
Alan Crosswell
261a3d8965
Fix GEDCOM import/export DATE/TIME creep by UTC offset. (#1089) 2020-08-21 09:38:06 -05:00
Zdeněk Hataš
4147bc728a Update Czech translation 2020-08-21 11:02:14 +02:00
John Ralls
3a9a7053ec Bundle release of Gramps 5.1.3. 2020-08-20 14:41:57 -07:00
John Ralls
b96fd8a274 Add geocode-glib to build. 2020-08-20 14:14:53 -07:00
pehlm
26cf0601d8 Update Swedish translation 2020-08-12 20:32:03 +02:00
prculley
c59278ef20 Bump to 5.1.4 2020-08-12 12:05:25 -05:00
prculley
767557be61 Release Gramps 5.1.3 2020-08-12 11:28:29 -05:00