Commit Graph

45 Commits

Author SHA1 Message Date
Raphael Ackermann
30d6eebd0b 0002542: Crash whilst generating web pages from command line
Throwing Report Error if center person is not in database. Added catching of Report Error to CommandLineReport
if using GUI it is not possible to cause this, as you have to select a person that is in the DB. However on the command line you can specify any PID and even no person with that pid exists an error was thrown.

svn: r13004
2009-08-14 07:14:25 +00:00
Raphael Ackermann
55730240f5 add missing import
svn: r13002
2009-08-14 07:07:55 +00:00
Raphael Ackermann
7bb8efc479 0003102: Can't run Narrative Website report
Added checks for NoneType Objects.
pep8 fixes 


svn: r12939
2009-08-09 22:46:55 +00:00
Raphael Ackermann
b33a53e487 fixed typos
svn: r12937
2009-08-09 22:43:43 +00:00
Raphael Ackermann
65f72560d1 pep8 fixes
fixing typos


svn: r12934
2009-08-09 17:09:32 +00:00
Doug Blank
8a7296920f Use Preferences -> Text -> Private Given name instead of hardcoded _('Living')
svn: r12847
2009-07-29 03:28:05 +00:00
Gerald Britton
d45f5970fb add missing iterator methods to filter.py, use get_family_handles instead of the iterator in ExportGedcom.py
svn: r12790
2009-07-11 20:11:37 +00:00
Gary Burton
1460750b24 Add missing source_predicate method and doc strings
svn: r12787
2009-07-11 15:35:36 +00:00
Gerald Britton
b221f428bf proxybase tweak to default predicate to None
svn: r12784
2009-07-11 04:02:28 +00:00
Gerald Britton
56c79b6fa4 Proxy databases:
1. Provide default methods in proxybase.py for get_<object>_handles and iter_<object>_handles
2. Implement callouts in iter_<object>_handles to determine if handles should be included or not
3. Added new methods to dbbase.py raising NotImplementedError for the new iter_<object>_handles methods
4. Implemented new methods in living.py, private.py and referenced.py
5. Changed filter.py to use iter_person_handles instead of get_person_handles
6. Removed duplicate methods from children of ProxyDbBase


svn: r12783
2009-07-10 19:24:43 +00:00
Gerald Britton
181c0c9b41 Replace get_place_handles with iter_place_handles
svn: r12778
2009-07-08 18:11:02 +00:00
Gerald Britton
b601f4bdf2 Replace get_family_handles with iter_family_handles
svn: r12776
2009-07-08 16:11:20 +00:00
Gerald Britton
f7454de7fd Implement iter_people_handles methods and begin to use them
svn: r12760
2009-07-03 20:23:41 +00:00
Gerald Britton
5eb7e18dc6 Bug 3018: ImportGrdb: remove calls to keys() dictionary method where possible
svn: r12572
2009-05-26 20:48:09 +00:00
Gerald Britton
021b754939 Bug 3011: change old-style classes to new-style classes
svn: r12559
2009-05-21 17:19:50 +00:00
Benny Malengier
068b3157f0 2995: Unable to produce Narrated Web Site using filter and privacy settings
svn: r12551
2009-05-20 10:18:20 +00:00
Benny Malengier
b5f8ec1717 2995: Unable to produce Narrated Web Site using filter and privacy settings
svn: r12543
2009-05-19 08:43:51 +00:00
Raphael Ackermann
baef4d76a4 fixed indentation issues and mix of tabs and spaces.
svn: r11943
2009-02-09 23:37:40 +00:00
Brian Matherly
b77c14b74a Include suffix and title in names for living people when names are not restricted.
svn: r11630
2009-01-16 00:52:49 +00:00
Brian Matherly
0254a5177f Contribution from Robert Chéramy <robert@cheramy.net>. Adds note filters to the filter proxy. Also adds note filters to the exporters.
svn: r11016
2008-09-04 11:46:43 +00:00
Brian Matherly
ca62125e5b Fix docstrings related to the proxy databases so that they are correct.
svn: r10885
2008-07-20 22:15:15 +00:00
Gary Burton
96c1d044f3 Performance speed up
svn: r10882
2008-07-20 18:30:23 +00:00
Gary Burton
b2f0e1e537 New database proxy which passes through objects which are referenced by at least one another object.
svn: r10845
2008-07-07 19:25:18 +00:00
Gerald Britton
4982292774 Code optimizations wrt handling of None - bug 2212
svn: r10811
2008-06-16 15:01:46 +00:00
Brian Matherly
0b70388483 0002204: Narrative Web report "restrict living" is different than Gramps 2.x
svn: r10786
2008-06-05 03:45:14 +00:00
Brian Matherly
6a06a88442 0002006: Ancestor filter does not work properly with living people excluded in Narrative Web report.
svn: r10610
2008-04-20 23:35:39 +00:00
Raphael Ackermann
c962d5e6e1 2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>
* various (294 files)
	pep8 doc fixes & pylint fixes

svn: r10103
2008-02-24 13:55:55 +00:00
Raphael Ackermann
90f883e46d 2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/* 143 files
    * test/try_tree_model.py
    * windows/nsis/gcheck.py
    imports cleanup

svn: r10055
2008-02-18 20:07:09 +00:00
Raphael Ackermann
534a306579 2008-02-02 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/DataViews/GrampletView.py
	* src/ReportBase/_ReportUtils.py
	* src/gen/proxy/private.py
	* src/plugins/WebCal.py
	* src/plugins/CmdRef.py
	* src/Models/_ListCursor.py
	* src/Models/_PathCursor.py
	PEP 8 fixes. Change 
	if var == True --> if var 
	if var is True --> if var
	if var == False --> if not var
	if var == None --> if var is None

svn: r9994
2008-02-05 00:31:57 +00:00
Raphael Ackermann
506eb32637 2008-01-24 Raphael Ackermann <raphael.ackermann@gmail.com>
Removed all the __author__, __revision__ and __version__ statements

svn: r9928
2008-01-24 20:38:10 +00:00
Raphael Ackermann
bbe2cc6d4e 2008-01-22 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/* Everything but src/images/* and src/data/* add correct svn 
	properties with the commands:
	svn propset -R svn:mime-type text/plain src/
	svn propset -R svn:eol-style native src/
	svn propset -R svn:keywords Id src/
	See below why the Id keyword is enough. From svn help propset
	svn:keywords   - Keywords to be expanded.  Valid keywords are:
      URL, HeadURL             - The URL for the head version of the object.
      Author, LastChangedBy    - The last person to modify the file.
      Date, LastChangedDate    - The date/time the object was last modified.
      Rev, Revision,           - The last revision the object changed.
      LastChangedRevision
      Id                       - A compressed summary of the previous
                                   4 keywords.

svn: r9912
2008-01-22 09:17:46 +00:00
Raphael Ackermann
b7c7952058 2008-01-09 Raphael Ackermann <raphael.ackermann@gmail.com>
svn: r9760
2008-01-09 06:45:15 +00:00
Benny Malengier
027036a8c5 2007-12-09 Benny Malengier <benny.malengier@gramps-project.org>
Add support for name grouping import/export
	* src/GrampsDb/_GrampsDbWriteXML.py: write group table out
	* src/GrampsDb/_GrampsBSDDB.py: group table is no sec table, init it
		together with primary tables!
	* src/gen/db/base.py: obtain grouping keys
	* src/gen/db/dbdir.py: group table is no sec table, init it
		together with primary tables!
	* src/gen/utils/dbutils.py: grdb -> grdb copy of grouping table, 
		copy mediapath.
	* src/gen/proxy/proxybase.py: obtain grouping keys, add missing
		bookmark methods
	* src/gen/proxy/dbbase.py: add obtain grouping keys method
	* src/GrampsDbUtils/_ReadXML.py: read in group table
	* src/plugins/ReadGrdb.py: read in group table



svn: r9464
2007-12-09 10:18:59 +00:00
Benny Malengier
e6e33b8934 * src/gen/proxy/proxybase.py: remove unneeded assign
2007-12-04 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9443
2007-12-04 20:32:55 +00:00
Benny Malengier
490a3957f1 2007-12-04 Benny Malengier <benny.malengier@gramps-project.org>
* src/gen/proxy/proxybase.py: add mediapath get
	* src/gen/proxy/dbbase.py: add mediapath methods



svn: r9442
2007-12-04 17:06:45 +00:00
Doug Blank
d692868ce0 Fixed error in setting None values
svn: r9381
2007-11-21 15:11:14 +00:00
Doug Blank
5975600e6a typo
svn: r9380
2007-11-21 14:55:19 +00:00
Doug Blank
9ee75010b6 2007-11-21 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/Utils.py: probably_alive now takes date rather than year
	* src/gen/proxy/living.py: create date from year
	* src/gen/lib/date.py: added methods to do date math
	  and return Date object (set_yr_mon_day_offset, copy_offset_ymd)
	* src/plugins/Calendar.py: updated to use probably alive date
	* src/Filters/Rules/Person/_ProbablyAlive.py: parse entry as date



svn: r9379
2007-11-21 14:49:50 +00:00
James G Sack
013b725dc1 add missing gettext import
svn: r9307
2007-11-06 08:18:18 +00:00
Martin Hawlisch
aa0a835330 * src/gen/lib/Makefile.am, src/gen/db/Makefile.am, src/gen/proxy/Makefile.am, src/gen/utils/Makefile.am: Fix path structure
svn: r9295
2007-11-04 20:41:12 +00:00
Don Allingham
d58641415d 2007-10-08 Don Allingham <don@gramps-project.org>
* various: gen.lib integration. probably touches almost every file

	* various: gen.utils integration


svn: r9101
2007-10-08 16:41:39 +00:00
Don Allingham
6d521544b6 svn: r9076 2007-10-05 02:04:36 +00:00
Don Allingham
126ddc2e9a svn: r9074 2007-10-03 23:33:56 +00:00
Don Allingham
25ac68f14a svn: r9067 2007-10-03 17:23:27 +00:00
Don Allingham
dc8b47a270 2007-10-03 Don Allingham <don@gramps-project.org>
* various: create gen package, move proxy files to this library



svn: r9066
2007-10-03 17:14:26 +00:00