1194 Commits

Author SHA1 Message Date
Doug Blank
22fa6ed63a Refinements in db.select; allow joins 2016-01-10 10:55:45 -05:00
Nick Hall
177e30ee62 Improve pylint score of gen modules to above 9 2016-01-10 15:40:52 +00:00
Nick Hall
b8a38cd5e5 Improve pylint score to above 9 for most gen.lib objects 2016-01-09 15:34:59 +00:00
Josip
73b3ccbd0e 9122: Complete Report about person (whole database) - PDF - crash 2016-01-08 20:55:20 -08:00
Nick Hall
76d8c70b91 Remove redundant ignore list from attribute types 2016-01-09 00:50:49 +00:00
Nick Hall
c3eab4e6e3 Further pylint improvements 2016-01-09 00:27:42 +00:00
Doug Blank
f26c9f7055 Added missing get_labels, get_schema 2016-01-08 18:44:38 -05:00
Nick Hall
e64fa65552 Remove redundant objects
These were needed for database upgrades but are no longer
referenced anywhere.
2016-01-08 22:58:25 +00:00
Nick Hall
80f05956b4 Gramps type pylint improvements 2016-01-08 21:57:04 +00:00
Doug Blank
1654757c22 db.select() can now use filter; returns total count, and selection 2016-01-08 14:07:43 -05:00
Nick Hall
e85af204dd More pylint improvements 2016-01-07 19:52:05 +00:00
Nick Hall
72d0d46535 Date object pylint improvements 2016-01-07 19:52:05 +00:00
Doug Blank
eaf1649ef3 Remove remaining mentions of webapp 2016-01-07 13:05:53 -05:00
Doug Blank
b39fd5b634 Added missing schema 2016-01-06 10:07:25 -05:00
Doug Blank
640e834c22 Refactor of labels/fields/schema 2016-01-06 10:06:47 -05:00
Doug Blank
5a8264f70e db.select/get_rows now returns a dictionary 2016-01-06 10:06:05 -05:00
Doug Blank
3cb64cdca8 Need to rebuild reference map if making changes in batch mode 2016-01-05 13:44:43 -05:00
Doug Blank
5130269f31 Use db_is_open properly 2016-01-05 13:08:53 -05:00
Nick Hall
c9b5830a37 Fix bug introduced in pylint tidy up 2016-01-05 18:03:33 +00:00
Nick Hall
8717839809 Add validation to gender field 2016-01-01 19:22:53 +00:00
Nick Hall
307f236771 Primary object pylint improvements 2015-12-31 23:06:16 +00:00
Nick Hall
e82148677d Replace tabs with spaces 2015-12-31 21:17:49 +00:00
Nick Hall
e67832d384 Merge pull request #86 from tecknicaltom/various_python_issues
Various python issues
2015-12-31 21:15:46 +00:00
Doug Blank
cc6b54c5d9 Object.get_label() now a class method. Fixed error in Name schema 2015-12-31 08:47:48 -05:00
romjerome
b77aeb39e7 Year 2016 2015-12-31 11:19:10 +01:00
Tom Samstag
92c2ddc33e remove unnecessary pass statements 2015-12-31 00:24:07 -08:00
Tom Samstag
e9eedee5c6 change tabs to spaces 2015-12-31 00:08:42 -08:00
Tom Samstag
602ad1bc53 not x is None -> x is not None 2015-12-31 00:03:22 -08:00
Tom Samstag
de8d8370e3 fixing else clauses on loops 2015-12-30 22:46:57 -08:00
Doug Blank
85e4a29af4 Allow struct API to work on missing data 2015-12-30 15:11:27 -05:00
Doug Blank
0bfee44e9b Selection method added to database 2015-12-30 14:03:46 -05:00
Doug Blank
41f9e3cccc PrimaryObject.get_field can call methods 2015-12-30 11:06:11 -05:00
Doug Blank
895531c2e3 Having a method used by instance or class is a bad idea 2015-12-30 11:03:40 -05:00
Nick Hall
be7e9ace36 Update docstrings for database get methods 2015-12-29 23:47:42 +00:00
Doug Blank
f4af5277e6 Struct.from_struct is also a classmethod 2015-12-29 13:09:49 -05:00
Doug Blank
e0c6468c77 Moved translation funtion to get_label/get_labels 2015-12-27 09:37:01 -05:00
Doug Blank
84e484bb64 Struct moved to gen.lib 2015-12-27 07:46:05 -05:00
Doug Blank
84fc198a6d Move struct-based API to gen.lib.struct 2015-12-26 21:00:37 -05:00
Doug Blank
b793b9d068 Add labels to gen.lib object fields 2015-12-24 23:16:57 -05:00
Doug Blank
72662bcf06 Adds -r, --remove FAMILY_TREE_NAME to command-line
* gives error if doesn't exist
* currently requires exact match
* doesn't ask for permission (yet)
2015-12-18 07:30:03 -05:00
Nick Hall
cff726a4bb More empty handle checks in proxies 2015-12-12 22:00:11 +00:00
Nick Hall
ded6869a2a Check for empty handle in private proxy 2015-12-11 18:29:54 +00:00
Paul Franklin
252aacee41 disambiguate "none" (for French)
from po/fr.po:
The same "none" is used for name, surname and date.
However, in French we say "aucun" for name and surname,
but we say "aucune" for date...
2015-12-05 21:03:34 -08:00
Paul Franklin
aaca511c75 7276: translate some currently-untranslated punctuation marks
slightly alter the comment near the translated punctuation
2015-12-05 19:50:43 -08:00
Nick Hall
5c958bd7fb Raise HandleError exception for bad handles 2015-12-05 21:17:56 +00:00
Nick Hall
5d7343f10a Remove handle2internal function 2015-12-05 18:14:16 +00:00
Nick Hall
e813e1c5c2 Remove conv_dbstr_to_unicode function 2015-12-05 17:50:51 +00:00
Nick Hall
8dffe6639b Remove remaining conv_to_unicode calls 2015-12-05 16:57:05 +00:00
Paul Franklin
c5bbe7b04e 9041: remove temorary _DATAMAP entries (from [8fac92d])
not needed after [4c22713]
2015-12-02 08:52:19 -08:00
Paul Franklin
4c22713a1a 9041: Father/mother's age attributes are not translated on reports 2015-11-30 21:49:34 -08:00