Doug Blank
f5336d2296
unicode literals for {} formats
2013-12-20 11:59:07 -05:00
Doug Blank
a859b5f562
Added unicode_literals; thanks Nick
2013-12-20 11:14:32 -05:00
Doug Blank
59ac850d9a
Changes for Python client to login and exchange webapp server data
2013-12-20 08:14:11 -05:00
Doug Blank
6aaf932a61
Added http://URL?format=json version to use same URLs but to get JSON format (works on primary detail views); see also http://URL/json?q=SEARCH&field=person for query interface
2013-12-20 01:33:30 -05:00
Doug Blank
fe6806de57
Ability to use 'where ITEM in part.part.part' for the Query Gramplet
2013-12-20 01:28:54 -05:00
Doug Blank
4051984031
Person.save() now also computes probably_alive (but only when computing cache, too)
2013-12-20 00:21:05 -05:00
Doug Blank
e649e5514d
Changed {} format
2013-12-20 00:18:46 -05:00
Doug Blank
aa96ebc333
Updates to webapp: move cache updates to save of models to make it so that they cannot become out of sync with data; moved svg images to png forms to work with all browsers
2013-12-19 22:55:14 -05:00
Doug Blank
ab46727c56
Changes in Struct to allow SQL-like query interface
2013-12-19 22:52:04 -05:00
Doug Blank
870f776fa5
Merge branch 'master' of ssh://git.code.sf.net/p/gramps/source
2013-12-19 22:50:34 -05:00
Doug Blank
0d5e006953
Added meta settings to make sure they are bound to correct methods (of the proxies) rather than actual db methods
2013-12-19 22:50:16 -05:00
Vassilii Khachaturov
8686028413
add specific help links for person/name editor
2013-12-19 19:47:32 +02:00
Jérôme Rapinat
46b3c44916
7147 7001: Merge person dialog does not properly adjust context section after expand
2013-12-17 15:10:48 +01:00
Vassilii Khachaturov
56965d4095
7229: change active person upon a bookmark select
...
Port the more general fix [c7c0b2]^..[6caf08] from gramps34.
2013-12-16 21:57:31 +02:00
Doug Blank
0254f7006d
Remove duplicate line
2013-12-15 10:47:26 -05:00
Doug Blank
cdefb047ef
Fix for deleting tags in people model; fix for calendar graphical report when too many 2-line entries in day
2013-12-15 10:40:18 -05:00
Vassilii Khachaturov
be0239d255
7288/7290: port image_dpi legacy gtk code to gtk3
2013-12-15 15:09:12 +02:00
Vassilii Khachaturov
996baaad14
7288/7290: image_dpi and cropping fixes for ODFdoc
...
Port my fixes based on the patch from Matthias Basler from gramps34
[2eca30] 7290: use simpler math in image_dpi
[2f5e22] 7290: align warning with the image_dpi fix logic
[36f84e] 7290: image_dpi default calc based on gtk.gdk
[161ce3] 7290: ImgManip.image_dpi shouldn't return None
[460e63] 7288/7290 refactor out crop_percentage_to_pixel
[a8a38f] 7288/7290 refactor out crop_percentage_to_subpixel
[0d61bb] 7288/7290: refactor fix from matthiasbasler
[088146] rm relict RCS kwd
[76df5d] 7288/7290: image cropping fixes in ODFDoc
Using legacy gtk interface in image.py at the moment, need to port
to the new style.
Tested with python2.
2013-12-15 15:09:12 +02:00
Vassilii Khachaturov
584612d9f4
7229: change active person upon a bookmark select
...
Reapply my fix [88d2a2] from gramps34.
2013-12-14 17:58:49 +02:00
Vassilii Khachaturov
ccb1cb1330
6921: Use "Bat Mitzvah" as the en_US event name
...
Port [109549] from gramps34
p3/3: related msgid changes in the POT
2013-12-14 17:15:15 +02:00
Vassilii Khachaturov
8a043064d6
6921: Use "Bat Mitzvah" as the en_US event name
...
Port [4f86a3] from gramps34
p2/3: related msgid changes in the translaion DBs
2013-12-14 17:14:50 +02:00
Vassilii Khachaturov
be8515909d
6921: Use "Bat Mitzvah" as the en_US event name
...
Port [0021e8] from gramps34:
p1/3: actual change in the code. Note that the abbreviation
also has to be changed accordingly.
2013-12-14 17:13:35 +02:00
Vassilii Khachaturov
744ec69349
7300: "Add citation" missing in pop-up menu
2013-12-14 16:35:37 +02:00
Vassilii Khachaturov
f3cda2d5e0
absolute import so that testing stdalone works
2013-12-14 16:29:34 +02:00
Vassilii Khachaturov
6895e4492f
7086: "Remove selected items?" inconsistent YES/NO
2013-12-05 17:14:07 +02:00
Doug Blank
8c9310aebc
Webapp: move toolbar buttons closer to edited data
2013-12-02 21:51:01 -05:00
Jérôme Rapinat
048f6d7f33
Merge experimental python3 support (Ross Gammon - Debian packaging)
2013-11-30 11:15:11 +01:00
Vassilii Khachaturov
64cd25b8e1
7256: extra spaces in HTML GV labels
2013-11-28 23:12:46 +02:00
noirauds
21e33de953
Geography : bug7240 : create a bookmark via GeoEvents leads to an empty link
2013-11-27 21:23:29 +01:00
Vassilii Khachaturov
b4404ad392
use logging.warning in old cases in this file, too
2013-11-27 17:57:50 +02:00
Vassilii Khachaturov
8299866f3c
7212: convert invalid date to text on .gw import
...
Implement the feature.
2013-11-27 17:56:09 +02:00
Vassilii Khachaturov
1ac0e2a0bc
7212: convert invalid date to text on .gw import
...
Add a failing test demonstrating the feature to be implemented...
2013-11-27 17:54:44 +02:00
Vassilii Khachaturov
3af50b0bea
7212: convert invalid date to text on import
...
Consolidate the new logic with the older code -- now malformatted
dates, as well as well-formatted invalid ones, will also be
converted to text.
2013-11-25 12:39:46 +02:00
Vassilii Khachaturov
b3259d0a00
7212: convert invalid date to text on import
...
Switch vcard birthday import code to use the validating Date.set
and catch the exception, convert to text mode if caught.
2013-11-25 12:39:46 +02:00
Vassilii Khachaturov
4d9381589a
7212: convert invalid dates to text on import
...
Make log message from [dfc3cc] use named arguments for l10n.
Thanks to Paul Franklin for finding this during code review.
2013-11-25 10:55:07 +02:00
Vassilii Khachaturov
3fdaa4ff52
7198, 7212: document DateError.date
...
See also [8e1659]
7198, 7212: attach invalid date to DateError
2013-11-23 21:43:42 +02:00
Vassilii Khachaturov
175213b902
remove DateError from date.py
...
The exact copy existing in errors.py should suffice.
2013-11-23 21:38:34 +02:00
Doug Blank
28095ac397
Changes to serve static admin files for Django 1.5.4
2013-11-23 08:16:52 -05:00
Vassilii Khachaturov
dfc3ccea45
7212: convert invalid dates to text on import
...
If the date is invalid, it will be converted to text mode,
and the text field will be set to the problematic XML.
A warning will be printed on the console as well.
The log message will use the invalid date attached as
DateError.date, see [8e1659].
2013-11-17 20:22:14 +02:00
Vassilii Khachaturov
86dc84470e
7212: convert invalid dates to text on import
...
unit tests
2013-11-17 20:14:17 +02:00
Vassilii Khachaturov
b770de1a10
7198: Date editor crashes on invalid date
...
Revalidate the date upon every change, and disable
OKing the dialog when it is not valid, for usability review.
If it is not good, we can always revert this commit.
2013-11-16 23:47:50 +02:00
Vassilii Khachaturov
b1d040deb1
7198: Date editor crashes on invalid date
...
give a name to the OK button instead of an autogenerated id
2013-11-16 23:16:14 +02:00
Doug Blank
e0de21041c
Don't add notes etc on import into temp dictionary used for diff and sync
2013-11-16 14:13:12 -05:00
Vassilii Khachaturov
3999cd2e70
7198: Date editor crashes on invalid date
...
Trying out the approach preferred by Nick, see 7198:32708
2013-11-16 17:53:01 +02:00
Vassilii Khachaturov
8e16599940
7198, 7212: attach invalid date to DateError
...
when Date.set throws during the date fields sanity
check validation, it now attaches an (undocumented) .date field
to the exception -- proof of concept for 7198 and potentially
for 7212 as well
2013-11-16 17:51:18 +02:00
Doug Blank
a3749090aa
Protect 3-min refresh if buffer is empty
2013-11-16 09:29:45 -05:00
Vassilii Khachaturov
d8acf8e875
7198: Date editor crashes on invalid date
...
Improve user experience as promised in [98d8e6].
Now, if one clicks OK in the date editor and the date is invalid,
it's switched into text mode and the dialog remains open,
so the user can either correct the date or type it as text,
no more loss of entered data happens.
2013-11-16 10:21:12 +02:00
Vassilii Khachaturov
98d8e64e04
7198: Date editor crashes on invalid date
...
Now it just autoconverts into MOD_TEXT and returns whatever
text was there. This fixes the crash on the master branch,
but is not the final user experience yet.
2013-11-15 22:26:41 +02:00
Vassilii Khachaturov
89a822507a
7198,7212: fix Date.set(value=None)
2013-11-15 22:23:54 +02:00
Nick Hall
13438a74d6
Add gui.widgets section to the documentation
2013-11-15 19:13:29 +00:00