Commit Graph

131 Commits

Author SHA1 Message Date
Brian Matherly
563298e7c8 0001238: Web report: sort references for places and media (use locale.strcoll for sorting)
svn: r9162
2007-10-12 12:16:49 +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
Brian Matherly
83d81654de 0001238: Web report: sort references for places and media (use remove case sensitive sort and use normalized strings for each section)
svn: r9075
2007-10-04 03:56:41 +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
Brian Matherly
62698d99aa 0001238: Web report: sort references for places and media (use locale and case sensitive sort)
svn: r9059
2007-10-02 12:12:15 +00:00
Brian Matherly
7a653663dc #0001238: Web report: sort references for places and media
svn: r9049
2007-10-01 03:33:08 +00:00
Brian Matherly
0a9f5cb91f Patch from Gary Burton <gary.burton@zen.co.uk>: Narrative web report: If the event has no date, there's no place (Issue #0001236)
svn: r9032
2007-09-29 03:15:00 +00:00
Brian Matherly
88c35d8fa9 Patch from Gary Burton: provide fallback dates on Narrative Web pages (Issue #0001258).
svn: r9025
2007-09-28 12:16:12 +00:00
Zsolt Foldvari
b42877e41b 2007-09-17 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/plugins/WebCal.py:
	* src/plugins/NarrativeWeb.py:
	Change const.image_dir to uppercase const.IMAGE_DIR


svn: r8998
2007-09-23 17:18:47 +00:00
Don Allingham
992322d9b8 2007-09-10 Don Allingham <don@gramps-project.org>
* src/ThumbNails.py: Added to handle the thumbnailing routines
	* src/DataViews/_MediaView.py: thumbnail updates
	* src/DataViews/_PedigreeView.py: thumbnail updates
	* src/DataViews/_RelationView.py: thumbnail updates
	* src/Editors/_EditMediaRef.py: thumbnail updates
	* src/Editors/_EditMedia.py: thumbnail updates
	* src/DisplayTabs/_GalleryTab.py: thumbnail updates
	* src/plugins/WebCal.py: thumbnail updates
	* src/plugins/NarrativeWeb.py: thumbnail updates
	* src/plugins/GraphViz.py: thumbnail updates
	* src/plugins/SimpleBookTitle.py: thumbnail updates
	* src/plugins/FamilyLines.py: thumbnail updates
	* src/DbManager.py: pylint fixes
	* src/ImgManip.py: pull out thumbnail routines

2007-09-08  Benny Malengier  <benny.malengier@gramps-project.org>
	* src/DataViews/_RelationView.py  : expand/collapse, edit button on/off bug fix




svn: r8958
2007-09-10 22:14:33 +00:00
Don Allingham
a65a73d1d7 * various: const.py changes
2007-09-07  Don Allingham  <don@gramps-project.org>
	* src/DateHandler/_Date_fr.py: fix indentation errors

2007-09-07  Don Allingham  <don@gramps-project.org>


svn: r8948
2007-09-08 05:54:02 +00:00
Brian Matherly
6cd5d6ed0d Convert the NarrativeWeb report to use LivingProxyDb. This also resolves #0000902: Would like the option to replace names of living people with the word living in the web site report.
svn: r8875
2007-08-26 20:19:18 +00:00
Stéphane Charette
980f5a3a51 moved the source reference code from IndividualPage into BasePage so it can also be used by media objects
svn: r8856
2007-08-23 09:54:37 +00:00
Brian Matherly
c418492d5b Add event attributes to Narrative Web Report
svn: r8810
2007-08-12 03:12:09 +00:00
Brian Matherly
c7edf38176 Convert NarrativeWeb report to use PrivateProxyDb.
svn: r8809
2007-08-12 02:42:22 +00:00
Stéphane Charette
3a30535d33 use _dd.display() to format the date used in the string 'Generated by Gramps on <...>'
svn: r8799
2007-08-05 05:42:43 +00:00
Brian Matherly
9d843c2f80 Contribution from Johan Gonqvist <johan.gronqvist@gmail.com>: NarrativeWeb links incorrect in windows. (#0001117)
svn: r8768
2007-07-24 04:28:17 +00:00
Brian Matherly
0960410443 Improve Bibliography and use it in Narrative Web report as well.
svn: r8760
2007-07-23 12:22:03 +00:00
Brian Matherly
50fe8cb60b Replace "get_note()" calls with "get_note_list()"
svn: r8747
2007-07-20 12:03:35 +00:00
Stéphane Charette
25a7416f8a several fixes and feature requests for NarrativeWeb, including optional columns, half-siblings, and event
notes


svn: r8745
2007-07-19 06:45:25 +00:00
Brian Matherly
97800df7e3 Johan Gonqvist <johan.gronqvist@gmail.com>
Narrative web-site plugin chrashes due to handling of notes. (#0001085)

svn: r8737
2007-07-18 12:17:08 +00:00
Alex Roitman
74ad7b95a4 * src/TreeViews/_PersonTreeView.py: Use name_displayer.
* src/ReportBase/_ReportUtils.py: Use name_displayer.
	* src/ReportBase/_CommandLineReport.py: Use name_displayer.
	* src/ReportBase/_BareReportDialog.py: Use name_displayer.
	* src/PluginUtils/_Tool.py: Use name_displayer.
	* src/plugins/TimeLine.py: Use name_displayer.
	* src/plugins/RelCalc.py: Use name_displayer.
	* src/plugins/ReadGrdb.py: Use name_displayer.
	* src/plugins/NarrativeWeb.py: Use name_displayer.
	* src/plugins/IndivComplete.py: Use name_displayer.
	* src/plugins/GraphViz.py: Use name_displayer.
	* src/plugins/FindDupes.py: Use name_displayer.
	* src/plugins/FamilyGroup.py: Use name_displayer.
	* src/plugins/DetDescendantReport.py: Use name_displayer.
	* src/plugins/DetAncestralReport.py: Use name_displayer.
	* src/plugins/DesGraph.py: Use name_displayer.
	* src/plugins/DescendReport.py: Use name_displayer.
	* src/plugins/DescendChart.py: Use name_displayer.
	* src/plugins/Check.py: Use name_displayer.
	* src/plugins/Ancestors.py: Use name_displayer.
	* src/plugins/AncestorReport.py: Use name_displayer.
	* src/plugins/AncestorChart2.py: Use name_displayer.
	* src/ObjectSelector/_PersonTreeFrame.py: Use name_displayer.
	* src/ObjectSelector/_PersonFrame.py: Use name_displayer.
	* src/Merge/_MergePerson.py: Use name_displayer.
	* src/GrampsDbUtils/_WriteGedcom.py: Use name_displayer.
	* src/GrampsDbUtils/_ReadXML.py: Use name_displayer.
	* src/GrampsDbUtils/_GedcomParse.py: Use name_displayer.
	* src/FilterEditor/_ShowResults.py: Use name_displayer.
	* src/FilterEditor/_EditRule.py: Use name_displayer.
	* src/Editors/_EditPrimary.py: Use name_displayer.
	* src/Editors/_EditPersonRef.py: Use name_displayer.
	* src/Editors/_EditPerson.py: Use name_displayer.
	* src/Editors/_EditName.py: Use name_displayer.
	* src/Editors/_EditLdsOrd.py: Use name_displayer.
	* src/Editors/_EditFamily.py: Use name_displayer.
	* src/DisplayTabs/_PersonRefModel.py: Use name_displayer.
	* src/DisplayTabs/_NameModel.py: Use name_displayer.
	* src/DisplayTabs/_ChildModel.py: Use name_displayer.
	* src/DisplayTabs/_BackRefModel.py: Use name_displayer.
	* src/DisplayModels/_PeopleModel.py: Use name_displayer.
	* src/DisplayModels/_FamilyModel.py: Use name_displayer.
	* src/DataViews/_PersonView.py: Use name_displayer.
	* src/DataViews/_RelationView.py: Use name_displayer.
	* src/DataViews/_PedigreeView.py: Use name_displayer.
	* src/Utils.py: Use name_displayer.
	* src/SubstKeywords.py: Use name_displayer.
	* src/Sort.py: Use name_displayer.
	* src/Reorder.py: Use name_displayer.
	* src/PageView.py (BookMarkView.add_bookmark): Use name_displayer.
	* src/Navigation.py: Use name_displayer.
	* src/DisplayState.py: Use name_displayer.
	* src/GrampsCfg.py: Use name_displayer.
	* src/Bookmarks.py (Bookmarks.make_label): Use name_displayer.
	* src/GrampsDb/Makefile.am (pkgdata_PYTHON): Ship new files.
	* src/Makefile.am (gdir_PYTHON): Ship ProgressDialog.py


svn: r8680
2007-06-28 05:41:40 +00:00
Brian Matherly
7edd3be9c3 0001016: [narrative website] Why is the mime type shown on each image page
svn: r8633
2007-06-23 03:02:22 +00:00
Brian Matherly
6ecc393988 Fix gallery image links generated on Win32 for the Narrative Web Report.
svn: r8494
2007-05-18 18:45:49 +00:00
Brian Matherly
ab912fa605 0000806: default for narrative website should be protect living
svn: r8483
2007-05-17 02:34:05 +00:00
Brian Matherly
ada7cb037d Sort strings, not lists in Narrative Web combo boxes.
svn: r8477
2007-05-15 12:01:25 +00:00
Brian Matherly
4f675b6768 0001044: ReportWeb Site, tab Page Generation - items in dropdown list do not sort correctly
svn: r8472
2007-05-15 03:55:08 +00:00
Brian Matherly
48394f8bab * src/plugins/NarrativeWeb.py: Fix reference paths on Windows.
svn: r8467
2007-05-14 03:44:34 +00:00
Brian Matherly
92b3f4da04 Change the default directory for the narrative web report so people don't generate the report in their database directory.
svn: r8448
2007-05-09 03:34:30 +00:00
Brian Matherly
a8621d50ea 0001012: Private source and private child references shown in narrative website.
svn: r8385
2007-04-15 19:12:57 +00:00
Brian Matherly
d731371b7f 0001006: Narrative Web: Media objects missing title (description), mime_type, or path, are displayed poorly.
svn: r8366
2007-04-09 03:40:11 +00:00
Brian Matherly
1f6f8565ba 0000896: Crash running Narrative Web report - system memory exhausted.
svn: r8363
2007-04-08 20:19:14 +00:00
Brian Matherly
00632c6a70 0000998: Source Ref link refers to nothing in Narrative web report.
svn: r8358
2007-04-06 02:42:52 +00:00
Brian Matherly
ea9b663908 0000996: Individual attributes do no include source reference citations in Narrative Web report.
svn: r8356
2007-04-05 12:13:33 +00:00
Brian Matherly
7ee6b12070 Remove get_report_filters() function. Let reports define the filter options themselves.
svn: r8315
2007-03-25 20:35:33 +00:00
Brian Matherly
2874f7a2fe 0000975: remove extra (/b) HTML tags in NarrativeWeb
svn: r8299
2007-03-14 03:26:10 +00:00
Brian Matherly
52286c98ee 0000976: NarrativeWeb: gramps ID always output regardless of setting
svn: r8297
2007-03-14 03:15:47 +00:00
Brian Matherly
be917a4c16 src/plugins/NarrativeWeb.py: 0000969: NarrativeWeb plugin: include the date in the media object pages
svn: r8295
2007-03-13 23:00:33 +00:00
Brian Matherly
066c41d25a * src/plugins/NarrativeWeb.py: 0000950: include the date in the reference sections of the narrative web site
svn: r8288
2007-03-11 19:33:27 +00:00
Brian Matherly
e463a083a3 * src/plugins/NarrativeWeb.py: Support new note API
* src/ReportBase/_ReportUtils.py: Support new note API

svn: r8287
2007-03-10 04:25:23 +00:00
Brian Matherly
8ab1d729aa * src/plugins/NarrativeWeb.py:
* src/ReportBase/_ReportUtils.py:
Fix 0000956: Event order within GRAMPS not replicated in web report

svn: r8278
2007-03-07 03:15:45 +00:00
Brian Matherly
a4f28f1a16 src/plugins/NarrativeWeb.py: Fix 0000954: e-mail address causes Narrative Web plugin to generate bad links
svn: r8274
2007-03-06 04:30:22 +00:00
Richard Taylor
70e12c490e Moved NameDisplay into BasicUtils.
svn: r8197
2007-02-20 20:56:48 +00:00
Zsolt Foldvari
d3b383109d 2007-02-16 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/data/mainX.css: enable formatted notes on narrative web
	* src/plugins/NarrativeWeb.py: enable formatted notes on narrative web
	* src/MarkupText.py: properly reset xml generator output: fix #924
	* src/ManagedWindow.py: enable accelerators in editor windows 
	* src/Editors/_EditPrimary.py: enable accelerators in editor windows
	* src/Editors/_EditSecondary.py: enable accelerators in editor windows
	* src/Editors/_EditReference.py: enable accelerators in editor windows
	* src/DisplayTabs/_NoteTab.py: enable accelerators in editor windows 
	* src/DisplayTabs/_ButtonTab.py: enable accelerators in editor windows
	* src/DisplayTabs/_GrampsTab.py: enable accelerators in editor windows



svn: r8137
2007-02-16 21:20:36 +00:00
Brian Matherly
9e65f8a7e3 * src/plugins/NarrativeWeb.py: fix 0000894: syntax error on Narrative web plugin
svn: r8043
2007-02-04 02:17:51 +00:00
Don Allingham
a5676edc5f 2007-01-30 Don Allingham <don@gramps-project.org>
* src/ReportBase/_ReportDialog.py: error reporting
	* src/plugins/NarrativeWeb.py: error reporting

	* src/Filters/_SearchBar.py: numlock handling
	* src/Filters/SideBar/_SidebarFilter.py: numlock handling


svn: r8016
2007-01-31 00:02:15 +00:00
Don Allingham
b2860d222e * src/DisplayModels/_BaseModel.py: Refactor out node/path maps
* various: remove sets import


svn: r8011
2007-01-29 19:13:15 +00:00
Brian Matherly
1a57769135 * src/ReportBase/_ReportUtils.py: Add function "get_address_str"
* src/plugins/DetDescendantReport.py: Add addresses (0000791)
* src/plugins/DetAncestralReport.py: Add addresses (0000791)
* src/plugins/IndivComplete.py: Add addresses (0000791)
* src/plugins/NarrativeWeb.py: use "get_address_str"
* src/plugins/FamilyGroup.py: use "get_address_str"

svn: r7956
2007-01-23 01:51:33 +00:00
Brian Matherly
28af33d307 src/plugins/NarrativeWeb.py: Add addresses to individual page.
svn: r7928
2007-01-18 04:31:08 +00:00
Don Allingham
01f5d700d7 * src/plugins/NarrativeWeb.py: wrap photo description at a maximum
of 20 characters to prevent overlap (bug #658)


svn: r7880
2007-01-08 03:48:49 +00:00
Don Allingham
5493631d19 2006-12-31 Don Allingham <don@gramps-project.org>
* src/ReportBase/_ReportDialog.py: add HELP button support
	* src/ReportBase/_BareReportDialog.py: add HELP button support
	* src/plugins/NarrativeWeb.py: add HELP button support



svn: r7862
2006-12-31 23:56:14 +00:00
Brian Matherly
dcdb6da80e * src/plugins/NarrativeWeb.py: fix 0000597: Narrative web site generates uppercase directory names but lower case hrefs
svn: r7778
2006-12-11 05:31:51 +00:00
Brian Matherly
489d314db9 * src/plugins/NarrativeWeb.py: fix 0000595: Narrative web site, save to tar.gz format causes cash
svn: r7755
2006-12-03 21:10:51 +00:00
Brian Matherly
17ded7e6c6 * src/docgen/KwordDoc.py: don't us getuid in Windows
* src/plugins/NarrativeWeb.py: don't us getuid in Windows

svn: r7728
2006-11-29 04:23:20 +00:00
Don Allingham
8e87a284aa 2006-11-24 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_WriteXML.py: handle unicode decoding errors
	* src/plugins/NarrativeWeb.py: handle unicode decoding errors
	* src/plugins/AncestorReport.py: bring into conformance with the spec.



svn: r7689
2006-11-25 01:02:26 +00:00
Brian Matherly
e113412801 * src/plugins/DetDescendantReport.py: 0000558: Print only primary events
* src/plugins/DetAncestralReport.py: 0000558: Print only primary events
* src/plugins/GraphViz.py: 0000558: Print only primary events
* src/plugins/FamilyGroup.py: 0000558: Print only primary events
* src/plugins/IndivComplete.py: 0000558: Print only primary events
* src/plugins/NarrativeWeb.py: 0000558: Print only primary events

svn: r7666
2006-11-22 04:43:33 +00:00
Brian Matherly
c263f5bcac * src/plugins/NarrativeWeb.py: Fix 0000543: Multimedia-Objects marked as private are visible in narrative web-report
svn: r7648
2006-11-19 04:40:24 +00:00
Brian Matherly
58719bde0d * src/plugins/NarrativeWeb.py: Add family event gallery items to individual page
svn: r7561
2006-11-06 04:27:23 +00:00
Brian Matherly
79dc6d05d7 * src/plugins/NarrativeWeb.py: Add street to place page.
svn: r7559
2006-11-06 03:15:44 +00:00
Brian Matherly
134a6aa6f7 * src/plugins/NarrativeWeb.py: Fix typos
svn: r7260
2006-08-25 04:23:55 +00:00
Brian Matherly
deac55eafb * src/plugins/NarrativeWeb.py: show url when no description (#0000319)
svn: r7241
2006-08-23 01:09:54 +00:00
Alex Roitman
1cb5f1fa9b * src/FilterEditor/_FilterEditor.py (close): Override parent's close.
* src/Filters/_FilterMenu.py (build_filter_menu,
	build_filter_model): Import Custom and System filters when needed.
	* src/plugins/Calendar.py (get_filters): Import Custom
	filters when needed.
	* src/plugins/GraphViz.py (get_report_filters): Import Custom
	filters when needed.
	* src/plugins/IndivComplete.py (get_report_filters): Import Custom
	filters when needed.
	* src/plugins/NarrativeWeb.py (get_report_filters): Import Custom
	filters when needed.
	* src/plugins/StatisticsChart.py (get_report_filters): Import Custom
	filters when needed.
	* src/plugins/TimeLine.py (get_report_filters): Import Custom
	filters when needed.


svn: r7231
2006-08-22 05:28:55 +00:00
Brian Matherly
da339a9004 * src/plugins/NarrativeWeb.py: fix #0000349: NarrativeWebsite sorting
svn: r7197
2006-08-18 01:16:13 +00:00
Brian Matherly
cbaf16999a * src/plugins/NarrativeWeb.py: fix bug for no surname (bug #265)
svn: r7064
2006-07-24 02:19:08 +00:00
Alex Roitman
805a82bcab * src/plugins/StatisticsChart.py
(StatisticsChartOptions.get_report_filters): Add custom filters.
	* src/plugins/Calendar.py (FilterWidget.get_filters): Add custom
	filters.
	* src/plugins/TimeLine.py (TimeLineOptions.get_report_filters):
	Add custom filters.
	* src/plugins/IndivComplete.py
	(IndivCompleteOptions.get_report_filters): Add custom filters.
	* src/plugins/NarrativeWeb.py
	(WebReportOptions.get_report_filters): Add custom filters. 
	encoding errors;
	(GraphVizOptions.get_report_filters): Add custom filters.



svn: r7048
2006-07-20 00:42:20 +00:00
Brian Matherly
9200e01c56 * src/plugins/NarrativeWeb.py: fix name sorting in Windows (bug #236)
svn: r7037
2006-07-18 02:59:18 +00:00
Brian Matherly
c24c9c1d94 * src/plugins/NarrativeWeb.py: typo
svn: r7036
2006-07-18 01:53:42 +00:00
Brian Matherly
8df0605b3b * src/plugins/NarrativeWeb.py: HTML validation fixes
svn: r7026
2006-07-13 04:13:19 +00:00
Brian Matherly
a7bd91a242 fix restoration of gallery setting for NarrativeWeb.py
svn: r7007
2006-07-08 04:10:42 +00:00
Don Allingham
051f992afb 2006-07-04 Don Allingham <don@gramps-project.org>
* various: pyflakes fixes



svn: r6992
2006-07-04 23:38:51 +00:00
Brian Matherly
7ce909d3b5 remove duplicate birth and death events in reports (fixes bug #235)
svn: r6971
2006-06-28 04:01:14 +00:00
Alex Roitman
a734940c05 2006-06-24 Alex Roitman <shura@gramps-project.org>
* src/ReportBase/_ReportDialog.py (report): Handle wm closing.
	* src/plugins/GraphViz.py (GraphVizDialog.__init__): Handle wm
	closing. 
	* src/plugins/NarrativeWeb.py (WebReportDialog.__init__): Handle
	wm closing.



svn: r6964
2006-06-25 02:26:29 +00:00
Alex Roitman
c1c7e1359a * src/ReportBase/_ReportDialog.py (report): Use new report modules
for oddball reports.
	* src/plugins/GraphViz.py: Use new report modules.
	* src/plugins/NarrativeWeb.py: Use new report modules.
	* src/plugins/CountAncestors.py: Use wm and new report modules.
	* src/plugins/Summary.py: Use wm and new report modules.


svn: r6842
2006-06-02 00:40:54 +00:00
Brian Matherly
f99fbb9fda * src/plugins/vaious: upgrade to new report interface
svn: r6838
2006-06-01 04:39:40 +00:00
Alex Roitman
cb0b034e70 * src/GrampsDb/_WriteGedcom.py: Multiple improvements.
* various: Replace get/set_base_handle with get/set_reference_handle.
	* src/RelLib/_SourceRef.py (get_base_handle,set_base_handle):
	Remove redundant methods.


svn: r6750
2006-05-22 23:56:57 +00:00
Brian Matherly
ff008c2a76 typo
svn: r6650
2006-05-14 05:57:15 +00:00
Brian Matherly
e8af75eb14 src/plugins/NarrativeWeb.py: Add option for number of generations in ancestor graph (bug # 0000077)
svn: r6649
2006-05-14 05:51:46 +00:00
Alex Roitman
2dd9893045 * src/Filters/Rules/*: Add object-specific rules.
svn: r6529
2006-05-03 06:29:07 +00:00
Alex Roitman
ba42a155b1 * src/GenericFilters.py: Remove.
* src/Filters: Move filtering to its own package.
	


svn: r6521
2006-05-03 01:02:54 +00:00
Alex Roitman
3fe3482efb In .:
2006-05-01  Alex Roitman  <shura@gramps-project.org>
	* various: merge changes from gramps20.

In po:
2006-05-01  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new file.



svn: r6504
2006-05-01 21:11:26 +00:00
Don Allingham
e4235afcc1 svn: r6497 2006-04-30 01:25:56 +00:00