Commit Graph

4542 Commits

Author SHA1 Message Date
SNoiraud
ace772812a image magic: add bmp and tiff + Readme 2021-05-21 19:32:28 +01:00
SNoiraud
4cd968daa6 image magic exception if file not found 2021-05-21 19:32:28 +01:00
SNoiraud
615cd2f59c "Number of Parents" column in Person Views
doesn't sum all parent

Fixes #012268
2021-05-21 18:04:01 +01:00
Serge Noiraud
720e4b9b4b
Narrative web: Toggle bug for source attribute (#1203) 2021-05-11 09:07:44 +02:00
Paul Culley
a7e4d136b8
In familysidebarfilter, search on each part of name (#1138)
Instead of requiring that the entire search string matches a single
one of the Person's names, the function will require that each word
in the search string matches any of the Person's name fields.

Fixes #12023
2021-05-06 10:31:48 -05:00
Serge Noiraud
f4b88100b1
citations gramplet: add date, page, confidence (#1180)
* citations gramplet: add date, page, confidence

Fixes #09224
discourse: https://gramps.discourse.group/t/enhanced-citations-gramplet/983

This add date, page and confidence to the citation gramplet.
In addition, I modified all citation tabs for people, family, place, ...
I added the date, the publisher and confidence
For that, I also modify:
gramps/gui/editors/displaytabs/citationembedlist.py
gramps/gui/editors/displaytabs/citationrefmodel.py

* Better pylint score

* pylint sometimes makes mistakes

* Change columns order and size

* citations tab: sort correctly by date

* Adding one column change the handle place.
2021-05-06 10:23:26 -05:00
Serge Noiraud
e450ba0a82
Display the event date in the backlinks gramplet (#1185)
Fixes #012230
2021-05-06 10:22:06 -05:00
Paul Culley
0945f8908c
Fix db corrupted error message to make it apply to all db types (#1189)
Fixes #12242
2021-05-06 10:21:16 -05:00
Benedikt Werner
249a3180f0
Set new media as active (#1191) 2021-05-06 10:17:30 -05:00
Benedikt Werner
410cffe832
Allow entering place latlong without space (#1190)
* Allow entering place latlong without space

* Allow entering place latlong without space in editplaceref
2021-05-06 10:16:21 -05:00
romjerome
1b4ac9dc0b
typo on variable name
bug report 12039
contribution by zebulon
2021-04-13 09:06:15 +02:00
Serge Noiraud
bfaab5645f
NarWeb: remove the note type 'Html code' for notes (#1176)
* NarWeb: remove the note type 'Html code' for notes

Fixes #12184

Html code has no real meaning for a common reader

* better pylint score
2021-02-13 17:40:17 +01:00
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
Serge Noiraud
0bc546cb72
Calendar: Use the death symbol defined in pref (#1167) 2021-01-12 11:08:35 +01:00
Serge Noiraud
3d4ec8382d
Narweb: in cms mode, some inconsistent image links (#1157) 2020-12-29 10:01:25 +01: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
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
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
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
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
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
prculley
e3b6076eef Merge branch 'gramps51' 2020-08-23 09:38:15 -05: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
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
Serge Noiraud
04c1dc8503
Events View: "Main Participants" column does not (#1075)
show the full list of participants when expanded.

Fixes #11805
2020-08-10 15:08:51 -05:00
prculley
13d83919b9 Fix XML export when 'Group-as" name contains XML invalid chars
Fixes #11834
2020-07-25 10:15:39 -05:00
SNoiraud
62d5a136a4 NarWeb: Province place-type is not displayed 2020-07-25 10:15:07 -05:00
prculley
b57061d7c9 Fix ManagedWindow so that new windows don't appear offscreen
when system 'screen' sizes change in part time multi-monitor setups.

Fixes #11831
2020-07-25 10:13:57 -05:00
prculley
f7be7ab63f Fix menus when db fails to open due to upgrade/downgrade etc.
Fixes #11604
2020-07-25 10:10:56 -05:00
prculley
97923e7530 Fix issue with attach source tool, results panel
Fixes #11780
2020-07-25 10:09:52 -05:00
prculley
75aabf570d Fix GEDCOM export; don't include ADDR when address is missing
Fixes #11825
2020-07-25 10:08:58 -05:00
SNoiraud
41f1e91600 Coordinates containing a comma instead of a period
Fixes #11823
2020-07-25 10:08:22 -05:00
Stanislav Bolshakov
95776f8e84 AgeOnDate: fix position ob input field and button
On small screen (as notebook) input field and button are placed on screen's
bottom. After this fix this control have top position.
2020-07-09 10:26:10 -05:00
Stanislav Bolshakov
17a136d2d8 Fix: fix 2 comments (only) 2020-07-09 10:24:56 -05:00
Stanislav Bolshakov
d55775edd7 Pluginmanager: fix Pytho3 syntaksis
1. Run
python3 -m unittest discover -p 'date*test.py'
from
https://gramps-project.org/wiki/index.php/Date_Handler#Calendars
2. See errors,
3. Fix this errors.
2020-07-09 10:24:54 -05:00
Stanislav Bolshakov
97a88be39f Add missing file
After run
python3 setup.py build
I receive this error:

"package init file 'gramps/plugins/db/bsddb/__init__.py' not found (or not a
regular file)"

I copy file .../gramps/plugins/db/dbapi/__init__.py in /bsddb/.
Error not displayed.
2020-07-09 10:24:53 -05:00
Stanislav Bolshakov
715b93d109 NarrativeWeb: fix letters in comment
1. Insert missing letters in comments.
2. Termns to upper case (gregorian, javascript).
2020-07-09 10:24:44 -05:00
Stanislav Bolshakov
272f2feafa Fix comment: "translaed" to "translated"
My first commit: fix missing letter "t" in comment.
2020-07-09 10:24:41 -05:00
CWSchulze
319a36b2b8 replace obsolete file() -> open() 2020-07-09 09:17:10 -05:00
Bruno Cornec
a265f1fd38 Remove non-existent old attribute personal for an event 2020-07-09 08:56:07 -05:00