Commit Graph
100 Commits
Author SHA1 Message Date
kulath d69a84d56e 0008283: GEDCOM export does not export media attached to citations. Fix
for gramps master
2015-01-08 18:07:50 +00:00
kulath c57f574cb8 Fix 0008234: part (2) Various problems with
docgen.TextDoc.add_media_object part (2) for master branch
2014-12-16 00:37:59 +00:00
kulath 4af340c1e1 Fix 0008234: Various problems with docgen.TextDoc.add_media_object part
(1) for master branch
2014-12-14 18:16:15 +00:00
kulath bfc2ef5ab3 8196: Spurious spaces in CLI List Family Trees, tab delimited output.
Print statements changed to assemble the whole line before output.
2014-11-24 23:10:35 +00:00
kulath b5097ed5ac 6194: Database corrupted - TypeError: unhashable type: 'list'
Fixed upgrade to deal with sourceref in media references in Sources.
Also fixed Check and Repair to repair previously broken databases.
2014-03-04 17:39:23 +00:00
Tim G L Lyons edafc6a7c1 0006802: In Narrative Web report most Family Maps are missing. Problem due to single apostrophe (closing single quotation mark) which needs to be escaped.
svn: r23189
2013-09-24 11:30:33 +00:00
Tim G L Lyons 42f6070d8c Fix citation filters so they no longer try to filter citations with a sources filter. Citation filter now allows specification of both source and citation data. When a citation is shown in a search or a filtered citation tree view, the corresponding source is also shown.
svn: r23143
2013-09-16 21:39:47 +00:00
Tim G L Lyons 6661229b09 Fix error where displaying Date or Confidence in Citation Tree View gave AttributeError: 'NoneType' object has no attribute 'encode'
svn: r23063
2013-09-09 11:32:59 +00:00
Tim G L Lyons 3d30663a5c 0006849: citationtreeview with search bar only searches in sources, not citation data
0006848: citationtreeview corrupts when search bar open and edit occurs
0006829: Searching into source/citation selector disallows to select all related citations, only matching rows

by fixing treebasemodel so it properly deals with secondary objects, and also citationtreemodel so it adds secondary odes even when the parent is not present.

svn: r22941
2013-08-29 18:06:43 +00:00
Tim G L Lyons 4ba97726a2 0006352: Bookmarking a source in the citation tree creates a blank bookmark. Disallow bookmarking a source in the Citation Tree View, and do not add sources to the history in the Citation Tree View.
svn: r22545
2013-06-20 16:43:43 +00:00
Tim G L Lyons 3208db231d 0000860: GEDCOM: Space in gramps id fails to properly export/import
svn: r22501
2013-06-13 18:06:52 +00:00
Tim G L Lyons 9a9f47dc28 0006746: Problem in Portable version immediately after upgrading to 3.4.4-1 from 3.3.1.1
svn: r22345
2013-05-17 11:30:06 +00:00
Tim G L Lyons 076fdac5a7 0006541: Gramps crashes during import gedcom. Ignore empty ALIA alias name.
svn: r22298
2013-05-14 15:42:42 +00:00
Tim G L Lyons 5999f7c0a1 0006394: GEDCOM import errors truncated too much. Error message extended to 66 chars as suggested (and continuation lines formatted to fall under initial line)
svn: r22295
2013-05-14 15:02:57 +00:00
Tim G L Lyons 49645c6957 Encoding error in date parsing literals
svn: r22288
2013-05-13 23:11:00 +00:00
Tim G L Lyons 8744e93fd9 0006195: Import from pro-gen. Fix citations and sources. Also other fixes: Attach SOUR TEXT as note on citation. Ensure gramps_ids are not duplicated (change map record so it maps from Pro-Gen ID to handle), and format gramps_id according to the user's preference setting. Store 'aktenr' as REFN attribute or data. Store TITL (and _TITL2 and _TITL3) as comma separated Title. Store patronymic correctly. Prevent duplication of Baptism source text. Store RESI event for person address. Store family 'Relatie code' (FAM REFN/FAM CODE) as REFN. Note testing is limited by availability of test data.
svn: r22287
2013-05-13 23:05:17 +00:00
Tim G L Lyons 9c847462a0 0006515: Error building narrated web
Circular references (either direct or indirect) involving media->citation->media or media->citation->source->media cause NarrativeWeb to crash with "maximum recursion depth exceeded". Fix NarrativeWeb when constructing list of objects to be output by checking whether a media object has already been encountered.

Also fixes
0006418: Navweb crashes alpha4
0006630: Export Erzählende Webseite
0006643: Crash during making webstek report
0006652: [NarrativeWeb] Circular References lead to endless recursion (crash)
0006654: Unable to created narrated web report

svn: r22270
2013-05-12 16:45:06 +00:00
Tim G L Lyons 98bfecc918 0006713: Databases written with pickle protocol 3 (Python3) should not be opened with pickle protocol 2 (Python2). Also give warning when about to upgrade a Python2 database to Python3.
svn: r22243
2013-05-10 14:38:51 +00:00
Tim G L Lyons ab15b85566 Fix to incorrect svn merge in commit 22219 see 0006686: Wrong bsddb upgrade message given
svn: r22238
2013-05-10 09:25:27 +00:00
Tim G L Lyons 735adfb0c1 0006529: Cancelling database upgrade can corrupt the database. Ensure database is unlocked when cancelling upgrade. Make links in dialogues into clickable hyper-links. Ensure dialogue windows stays on top. Reword warning and error messages to use Bsddb version, schema version and Family Tree consistently, to be clearer about the choice the user is being offered, and to provide hyper-links to more information.
svn: r22219
2013-05-09 17:24:40 +00:00
Tim G L Lyons 445f10396a Put maxsize back
svn: r21896
2013-04-05 17:14:32 +00:00
Tim G L Lyons 60b57a996e write.py: After the bsddb version has been upgraded, if the schema versions also needs to be upgraded, output a separate dialog asking the user whether he wants to upgrade the schema. (As requested by Benny).
svn: r21888
2013-04-05 10:54:35 +00:00
Tim G L Lyons f2809f4249 0006529: Cancelling database upgrade can corrupt the database. Check whether the bsddb version has changed (or was originally unknown). If it is an upgrade, ask the user whether he has made a backup, and is ready to upgrade. If so, made a zip backup and open the database with the new bsddb version. Make messages on the dialogues more explicit with the version numbers mentioned.
svn: r21852
2013-04-02 16:06:36 +00:00
Tim G L Lyons 54c228882c 0006483: Listing the Family Trees can corrupt them. Changed get_dbdir_summary to exit if the bsddb_version is not the current bsddb and to return both BSDDB and schema version. Changed family_tree_summary to output both versions. Changed argparser and arghandler to additionally support -t (table) option to list family tree in tab delimited format.
svn: r21828
2013-03-31 22:09:41 +00:00
Tim G L Lyons df45f4645b 0006578: referencedbyselection.py process_object calls non-existant process_note method
svn: r21804
2013-03-28 23:32:56 +00:00
Tim G L Lyons d6f621fe72 0006544: No test for checking if Place handle exists when looking at media reference via proxy
svn: r21798
2013-03-28 18:29:59 +00:00
Tim G L Lyons 16ba9f25de referencedbyselection.py. 0006493: crash during Calculate Preview of a filtered XML export.
svn: r21787
2013-03-28 14:32:11 +00:00
Tim G L Lyons f431346394 0006564: svn 21740 restores bug 0006411 - Navweb crashes during creation of Media pages
svn: r21755
2013-03-26 19:29:13 +00:00
Tim G L Lyons d3a389750f README file. Add PyICU as strongly recommended.
svn: r21675
2013-03-17 14:46:46 +00:00
Tim G L Lyons d643dde344 Standardise messages about missing modules to include problem, consequence and what to do about it (currently including references to GEPS 029 where necessary).
svn: r21671
2013-03-17 11:40:33 +00:00
Tim G L Lyons 7055827260 Exportgedcom and importgedcom. 0006382: ADDR tag in GEDCOM export does not contain a full address. On export, all the elements of the structured address are output as ADDR/CONT. On import the structured address takes precedence (as at present), but a warning is only given if an element in the free-form address is missing from the structured address.
svn: r21610
2013-03-11 18:45:09 +00:00
Tim G L Lyons b5dc0630a6 0006507: GEDCOM import: Repositories not imported correctly from FTM for Windows and Heredis
svn: r21571
2013-03-06 17:42:14 +00:00
Tim G L Lyons 41ff6f2fbd 0005058: Note reference on Attribute for individual is not filtered on Export. Fixed many other note references that are not filtered out.
svn: r21524
2013-03-02 19:30:41 +00:00
Tim G L Lyons 80f25e3806 0003428: When running with pythonw.exe, Windows may crash if you write to stdout. Some more print statements changed to log.warning.
svn: r21512
2013-03-01 13:13:58 +00:00
Tim G L Lyons 40b8b02838 Narrative Web: Fix alphabetic navigation bar and sorting in index pages using PyICU where available. Implements most collate contractions for western languages Gramps has been translated into. This fixes the following bugs:
0002933: Problems in Narrative Web Report with surnames beginning with V or W. Use collation primary difference to define index groupings. Special case for 'V' and 'W' in Swedish removed because the default CLDR has a primary difference between them.

0003434: NarrativeWeb new alphabet index sorted incorrectly. Fix Cyrillic sort order, and contractions for Slovak and Czech (among other languages).

0003933: References inside pages in NarWeb report and non-ascii characters. Sorting issues for Polish characters.

0004423: Web report does not handle Czech "CH" character properly. Dz contraction is not present in the CLDR. Slovak is similar.

0005088: Narrated Web Site Report sort order different Windows vs Linux. Resolved by using PyICU (if available).

0005645: can't sort greek names

0005767: Sorting in Narrative Webb does not work correctly. Fix sorting in Individuals, Surnames, Families, Events and Places to use PyICU (if available). This bug covers sorting in the index header (as well as in the body of the index pages).

svn: r21509
2013-03-01 12:42:16 +00:00
Tim G L Lyons d3077942e1 Fix retrieval of version metadata for python3 Gramps.py -L
svn: r21464
2013-02-26 17:35:24 +00:00
Tim G L Lyons 41ba5c838e Fix type error in "python3 Gramps.py -L"
svn: r21461
2013-02-26 17:27:33 +00:00
Tim G L Lyons ed8b6b9edf 0006410: Webcal report crashes and freezes alpha4. For python3 simply opening the file works.
svn: r21458
2013-02-26 17:14:54 +00:00
Tim G L Lyons 539fed3314 Reinstate inadvertent removal of rev 19988 change for bug 5900
svn: r21327
2013-02-09 21:12:19 +00:00
Tim G L Lyons f48ca367b9 Revert change 21304 for moving report_options file
svn: r21324
2013-02-08 17:11:14 +00:00
Tim G L Lyons f568077d1e 0006411: Navweb crashes alpha4 when creating Media pages
svn: r21315
2013-02-07 16:48:45 +00:00
Tim G L Lyons 280c455eba 0003968: [NarWeb] Save/Restore settings for Narrated Website Generation. Change report_options file to be in the database directory, and implement different default report file and directory names based on the Family Tree Name. N.B. On upgrading, if you want to preserve your report_options, copy the report_option.xml file from the .gramps directory to the applicable .gramps.grampsdb.<number> directory. Also don't forget that the default options are to EXCLUDE private and living data.
svn: r21306
2013-02-05 18:07:37 +00:00
Tim G L Lyons 1a5be24d56 Change format of console logging messages to have a meaningful timestamp
svn: r21295
2013-02-04 19:14:29 +00:00
Tim G L Lyons 553baa596a Fix processing of contractions, and changes to ensure code (after initial lines) for narrativeweb is the same for trunk and gramps34
svn: r21293
2013-02-04 18:23:57 +00:00
Tim G L Lyons 404c2f154b date.get_start_date has no attribute 'is_valid'
svn: r21292
2013-02-04 18:12:09 +00:00
Tim G L Lyons f0ed16a9eb export file select dialogue does not correctly reject empty filenames - two (probably long standing) coding errors: use of method name 'strip' instead of calling it, and does not isolate the filename from the full pathname
svn: r21268
2013-02-01 17:40:24 +00:00
Tim G L Lyons e2f4e39f7e find_file and find_folder do not return null string if the file or folder resp. do not exist (coding typo)
svn: r21267
2013-02-01 17:35:37 +00:00
Tim G L Lyons fa1151ef05 Narrative web: fix tar file output and HTML encoding output support.
svn: r21258
2013-01-30 18:58:44 +00:00
Tim G L Lyons b0f79b5bbe Error in person.get_citation_child_list. Causes error in merging citation in person event reference attribute. (Discovered during investigation of 0006336: Delayed update of bottom bar in Person View after merge)
svn: r21196
2013-01-22 19:14:57 +00:00
Tim G L Lyons c91b53f0c4 0005088: Narrated Web Site Report sort order different Windows vs Linux. Initial commit to resolve the issues on Linux and Mac (provided in both cases PyICU is installed). Windows still needs to be tested, and there may still be some other uses of strxfrm (or strcoll) that need to be fixed.
svn: r21175
2013-01-20 15:11:06 +00:00
Tim G L Lyons 55d9ef2dbf 0006009: Media objects attached to Marriage events and Sources are not included in Narrative Web Site
* restructure the families index so families are indexed under both spouses, and the family name is normalised
* separate out Families section in individual and families pages so individual page links to the family page and family page links to both people
* normalise links to families so the link is only displayed if the family page is present, and the gid is included when appropriate
* remove highlighting of media subregions except in the media pages (it was confusing and not very well implemented)
* include people whose surname is absent in the individual, surname and families indexes
* html_escape names and surnames
* always display media thumbnails for first image in Gallery list (in some cases they were suppressed if they had been displayed at the top of the page)
* change partner and parent columns in families index to improve the layout of the HTML and put the comma between multiple partners in the right place
* use event description (where present) instead of just event type in back references
* fix bug in the way obj_dict and bkref_dict were initialised

svn: r20795
2012-12-18 22:55:56 +00:00
Tim G L Lyons dfcfacfaec A couple more work arounds for bug 6227
svn: r20776
2012-12-09 17:59:28 +00:00
Tim G L Lyons de4953f090 Various fixes for python 3 and for typos.
* internal table changed to use zero for unknown birthdates
* codecs.EncodedFile removed as I couldn't get it to work
* work around for  self.database.iter under python 3 returns (binary) data rather than text
* work around for bug 6227
* various typos when latest gramps34 was merged in.

svn: r20775
2012-12-09 17:38:10 +00:00
Tim G L Lyons d21eae52e1 patch to get reload to work in trunk
svn: r20774
2012-12-07 18:57:54 +00:00
Tim G L Lyons 8203d2f49f fixed problem that bibliography ignores media attached to citations, so if that is the only 'interesting' thing about the citation, the citation media is not output
svn: r20772
2012-12-05 22:56:53 +00:00
Tim G L Lyons 7802b0a43b * Removed a lot of redundant code and parameters (mainly connected with the old way of determining the objects to be included in the report).
* Moved routines for calculating objects to be output so they can be part of default list building classes.

* Replaced person link routine with one that takes into account whether there is a page for the person.

* Included repository reference media type and call number in the 'Repositories' section of the relevant source instead of the Repository page.

* Implemented a generalised back reference function to display the 'References' section of all pages. This recursively displays references till one is found for which a page exists.

* Removed list of people and families from heading of the event pages as these are now in the 'References' section.

* Fixed bug "0005968: Narrated Web Site not copying Source Citations files such as jpg or pdf docs to web site" and "0005946 GRAMPS failed to insert jpeg image into proper place for an event" by displaying a thumbnail for citation media in the 'Source References' section (with a link to the media page)

svn: r20769
2012-12-05 19:34:20 +00:00
Tim G L Lyons 200cb60db3 Align gramps34 and trunk (where there is no functional difference) - minor layout changes etc.
svn: r20681
2012-11-18 20:33:09 +00:00
Tim G L Lyons 18d11170ab various typos
svn: r20664
2012-11-16 19:21:06 +00:00
Tim G L Lyons 1babd07b19 Tidy up media pages - remove unused parameters, use list of media items generated in first pass. Should fix bugs 2365, 5905 and 6009.
svn: r20656
2012-11-13 15:53:02 +00:00
Tim G L Lyons 77cfc58259 Tidy up sources pages - fix numbering of repositories, remove unused parameters, fix title of individual source pages
svn: r20654
2012-11-12 18:40:10 +00:00
Tim G L Lyons 5b7d6a3181 Bug: reset NarrWeb navigation menu layout when style sheet doesn't support it
svn: r20652
2012-11-12 12:16:34 +00:00
Tim G L Lyons 15e2743ac4 Change Source Pages to use the list of sources generated by the first pass that finds objects to be output, and simplify references section on the Source page to use the references passed to it.
svn: r20650
2012-11-12 10:47:52 +00:00
Tim G L Lyons 41ca746143 Movement of some large chunks of code within the source file and some initial work towards GEPS 022: Narrative Website Refactor. Functionality should be unchanged.
svn: r20641
2012-11-08 23:56:34 +00:00
Tim G L Lyons 715b9ae16d Some untranslated strings
svn: r20593
2012-10-24 18:05:37 +00:00
Tim G L Lyons 5951118ddb 0006078: Narrweb has thumbnail link to missing thumbnails.html
svn: r20591
2012-10-24 17:28:50 +00:00
Tim G L Lyons f36bd3d2cb 0005864: Web Report: Error in showing repositories
svn: r20589
2012-10-24 16:53:03 +00:00
Tim G L Lyons 6c9d7d5eee 0005691: [NarrWeb] family notes have disappeared from individual pages. Family notes output if the Family pages are not being output.
svn: r20586
2012-10-24 14:28:26 +00:00
Tim G L Lyons 35af1c2e41 Fix for part of 0006009: Media objects attached to Marriage events and Sources are not included in Narrative Web Site. Some references show as "Unknown", and family event media are missing if event pages are not generated. (Media objects for sources NOT fixed)
svn: r20584
2012-10-24 12:30:33 +00:00
Tim G L Lyons a82623eca4 0005859: Stepsiblings are NOT correct
0006068: Narrative Web reports two people as step family when one of the parents is unknown for both
0001400: NarrativeWeb lists half-siblings in order

Various fixes for 'Parents' section of 'Individual' pages.

svn: r20579
2012-10-23 12:06:02 +00:00
Tim G L Lyons 3090a184cf 0005860: The descriptions for events are missing in the webreport.
svn: r20539
2012-10-08 10:04:10 +00:00
Tim G L Lyons c058b1e71b 0005088: Narrated Web Site Report sort order different Windows vs Linux. Fixed to use same Utils routine as person model.
svn: r20537
2012-10-08 09:31:33 +00:00
Tim G L Lyons 3d172b1972 0005678: Fix Nick Name and Call Name in narrated website. Nickname, callname and associated citations fixed for current name structure.
svn: r20521
2012-10-04 17:28:27 +00:00
Tim G L Lyons bb9336c92b 0006069: GEDCOM import does not generally support MULTIMEDIA_LINKs in the embedded form
svn: r20451
2012-09-25 18:16:14 +00:00
Tim G L Lyons 0d60717443 0006060: Missing reference in events and citations. Fixed get_handle_referents, which had been disturbed by the fix for bug 6053
svn: r20444
2012-09-25 16:50:59 +00:00
Tim G L Lyons 0842d8def4 0006055: Peculiar title of tip 63. Changed to "Don't speak English?"
svn: r20442
2012-09-25 15:43:27 +00:00
Tim G L Lyons b19a9c5139 0006061: GEDCOM import: link from FAM to child but missing link from child to FAM causes inconsistent displays. Fixed in GEDCOM import, importxml and Check and repair. (Also minor fixes for improved diagnostics when importxml just completely fails and for exportxml illegal characters in mime_type).
svn: r20439
2012-09-23 22:29:51 +00:00
Tim G L Lyons 987be6c408 0006008: Can't edit citation record from source record reference. Explanatory warning message produced.
svn: r20428
2012-09-21 17:47:59 +00:00
Tim G L Lyons 7f5f855df1 0005785: print statements in Check.py causing a crash in Windows (pythonw.exe) after outputting 4096 characters. Setup logging in gramps.py before anything else; for Windows divert stderr/stdout to a log file; use logging instead of print for errors or warnings.
svn: r20014
2012-07-16 22:55:36 +00:00
Tim G L Lyons 679178d3bb 0005785: print statements in Check.py causing a crash in Windows (pythonw.exe) after outputting 4096 characters. Change warning print statements to logging.
svn: r20011
2012-07-16 17:57:01 +00:00
Tim G L Lyons 3fa004ce98 0005785: print statements in Check.py causing a crash in Windows (pythonw.exe) after outputting 4096 characters. Change to logging.warning and logging.info.
svn: r19994
2012-07-12 22:28:58 +00:00
Tim G L Lyons e106cfb7ad 0005735: Custom Source filter missing. Citation filter was not using 'page' and source filter was not using 'Abbreviation'.
svn: r19981
2012-07-10 22:21:28 +00:00
Tim G L Lyons 000c2a3be4 0005781: Errors with Merge Citations. Amended so it checks whether the first citation processed for a particular page/volume/confidence/date (as applicable) has notes.
svn: r19763
2012-06-05 18:26:17 +00:00
Tim G L Lyons 0515433985 0005687: Can't delete a note, which is a citation.
svn: r19363
2012-04-19 18:40:36 +00:00
Tim G L Lyons 5e17b21594 ImportGrdb does not support the latest database format. Adopted suggested solution that the "file association with grdb files perhaps remains but that the importer gives a message to use old version 3.0 to upgrade these old files".
svn: r19311
2012-04-13 10:42:25 +00:00
Tim G L Lyons 03d5c759f4 Change citation gramps_id to default format
svn: r19307
2012-04-12 18:09:28 +00:00
Tim G L Lyons 5a642228c8 0005667: Merging notes with citation references fails (also merge media)
svn: r19252
2012-04-06 17:16:54 +00:00
Tim G L Lyons 6c4dc9c239 0005656: Error during citation merging. get_confidence_level should be set_confidence_level - the classic single character fix!!
svn: r19232
2012-04-04 18:16:14 +00:00
Tim G L Lyons b1e9f33a60 GEDCOM import: IdMapper can sometimes be passed @F2002@ and sometimes F2002. These were not mapping to the same swapped Gramps Id.(Partly a consequence of revision 19053).
svn: r19096
2012-03-19 16:06:26 +00:00
Tim G L Lyons 4e7137569f 0005608: GEDCOM import ignores leading 0's in INDI ID's
svn: r19056
2012-03-13 17:47:06 +00:00
Tim G L Lyons 73be67b3f8 0005620: Export name types to GEDCOM. Patch extended following testing against various GEDCOM files from the internet.
svn: r19054
2012-03-13 17:12:23 +00:00
Tim G L Lyons 0427db85d6 0005606: GEDCOM import: NOTE_RECORD is not handled properly
svn: r18994
2012-03-02 18:27:10 +00:00
Tim G L Lyons d4e0017365 0005605: GEDCOM inport: Embedded from of MULTIMEDIA_LINK in INDIVIDUAL_RECORD does not use IdMapper
svn: r18990
2012-03-02 17:13:10 +00:00
Tim G L Lyons e516ae592e Disable 'Install Addons' tab in Help->Plugin Manager because it is superseded by the Preferences check for updates features.
svn: r18969
2012-02-24 18:32:38 +00:00
Tim G L Lyons d8c1fae4df Change defaults so that new users are not notified about new plugins (before they have even seen the UI). This solves 0004994: Gramp hangs on retriving addons list
svn: r18963
2012-02-23 20:54:09 +00:00
Tim G L Lyons 212c752202 0005588: [XML]: Media object handling on citation and private marker on (source reference). Add media object to citation. No change needed for privacy.
svn: r18947
2012-02-21 23:10:30 +00:00
Tim G L Lyons b422c82edb GEDCOM import: if a default source is created, attached date data for submitters was incorrectly stored as a Date object when it should be text.
svn: r18945
2012-02-21 15:47:15 +00:00
Tim G L Lyons a5c42e2975 Change gramplet to populate database with sources and citations into a tool under the Tools/Debug menu as I should have created it in the first place. This tool is a test/diagnostic tool.
svn: r18944
2012-02-21 15:08:43 +00:00
Tim G L Lyons 2354408e8b GEDCOM import: error handling code moved to one place (no change to effect)
svn: r18935
2012-02-19 16:45:00 +00:00
Tim G L Lyons cfa6d69483 0005202: Failed gedcom file import. Dates too far in the future give OverflowError, allow for this exception.
svn: r18933
2012-02-19 16:20:10 +00:00
Tim G L Lyons 609a276dcb GEDCOM import. Fix parsing of ALIA (alias) tag, if it is a reference to another person, store the reference in the association secondary object
svn: r18931
2012-02-19 16:01:30 +00:00