Commit Graph

131 Commits

Author SHA1 Message Date
Stéphane Charette
b7aac9c7f0 better handling of end-of-line for text notes; use [br] like we do in 2.2.x instead of [p]
svn: r10659
2008-05-04 07:05:42 +00:00
Kees Bakker
75b1a77e99 Eliminate text concatenation. (Patch by Eero, kiitos.)
* src/plugins/NarrativeWeb.py


svn: r10569
2008-04-16 14:46:48 +00:00
Gary Burton
d97f73f71b Do not show duplicate media in person gallery
svn: r10561
2008-04-13 20:40:12 +00:00
Brian Matherly
4524d43b4d 0002032: translation of apostrophes in source titles (web report)
svn: r10558
2008-04-12 02:49:34 +00:00
Kees Bakker
5a953ce6b8 Undo sorting of children by birthdate. Let's first do a feature request
and see what comes out of that.
        * src/plugins/NarrativeWeb.py


svn: r10524
2008-04-08 17:11:48 +00:00
Kees Bakker
1fa86e8c93 Sort list of children on birthdate. I guess we may need an option in
the gui for this.
        * src/plugins/NarrativeWeb.py


svn: r10519
2008-04-07 19:38:08 +00:00
Kees Bakker
d5962794fa Eliminated function to set div id for class content.
Moved some functions around to classes where they are used.
        * src/plugins/NarrativeWeb.py


svn: r10431
2008-03-31 19:50:37 +00:00
Kees Bakker
d579d8543a Moving many functions from BasePage to NavWebReport. Introducing new
functions to deal with disk file and functions that deal with URLs.
Changed to selection of the extra two subdirectories so that the ppl
tree is much better balanced (not all files in one directory).
        * src/plugins/NarrativeWeb.py


svn: r10357
2008-03-20 22:24:36 +00:00
Kees Bakker
5da7180dd9 Moved create_file() and create_link_file to NavWebReport.
Solved a problem with "CurrentSection" which wasn't set in a translated
environment.
Eliminated several options in BasePage, by referring to report.options
(to keep them in one place only).
Lots of other little changes.
        * src/plugins/NarrativeWeb.py


svn: r10333
2008-03-17 21:09:16 +00:00
Gary Burton
08d840311b Revert change made in revision 10298
svn: r10312
2008-03-14 23:50:54 +00:00
Kees Bakker
f637b709d6 The surname pages now have the proper SiteTitle. And the page title
looks better too, I think. (More testing is needed.)
Usage of variable names 'id' and 'type' is corrected.
        * src/plugins/NarrativeWeb.py


svn: r10310
2008-03-14 21:07:35 +00:00
Gary Burton
1464abffab Bug 1280 make sure source media pages are created before the gallery
svn: r10298
2008-03-13 23:29:01 +00:00
Kees Bakker
e32e602b50 Two small bugfixes found by pylint.
* src/plugins/NarrativeWeb.py


svn: r10296
2008-03-13 22:35:26 +00:00
Kees Bakker
a8a59c9f7c Major reorganisation of NarrativeWeb.py
Pass instance of NavWebReport down to BasePage instead of doing it by
many function arguments. There are still a few "TODO" and "FIXME" notes
in the code. At least one test succeeded to create exactly the same HTML
output. One test, what more do you need?
Pylint reports rating of 8.01/10, but I'm sure I can do better :-)
        * src/plugins/NarrativeWeb.py


svn: r10295
2008-03-13 22:28:22 +00:00
Kees Bakker
dfe4088d86 Remove marker argument of note.get().
Eliminate 'up' parameter of person_link().
        * src/plugins/NarrativeWeb.py


svn: r10294
2008-03-13 20:31:33 +00:00
Kees Bakker
b997fc211b Cleanup interface of BasePage.display_header and moving some attributes
around. Also deleted some unused variables.
        * src/plugins/NarrativeWeb.py


svn: r10271
2008-03-11 22:11:42 +00:00
Kees Bakker
c764b185cd Reorganized the functions that create file and directory names. Nothing
got broken, I hope. More changes to come.
        * src/plugins/NarrativeWeb.py


svn: r10270
2008-03-11 21:19:36 +00:00
Kees Bakker
7ea0f31341 Added space after commas to improve readability. This makes pylint
happier too. Started to add more comments here and there.
        * src/plugins/NarrativeWeb.py


svn: r10243
2008-03-09 20:12:56 +00:00
Kees Bakker
c7226e1c04 Corrected the path for somerights20.gif.
Removed all trailing whitespace.  Added a few spaces here and there to
improve readability.
        * src/plugins/NarrativeWeb.py


svn: r10225
2008-03-08 16:40:19 +00:00
Kees Bakker
18f5768c2d Changed the use of "main1.css" to _CSS_FILES[0][1] so that the filenames
are maintained in one place. Making the first entry the default.


svn: r10223
2008-03-08 11:48:53 +00:00
Kees Bakker
d425133e8e Solved a problem with <li>..</li>
Reorganized the of.write() statements so that the text won't have
multiple newlines in them. And introduced so for-loops instead of
repetition of multiple lines of code.
        * src/plugins/NarrativeWeb.py


svn: r10222
2008-03-08 11:30:59 +00:00
Brian Matherly
455ecc4007 Patch from Jason Simanek <jsimanek@gmail.com>:
0001803: Narrative Web Report Update
Multiple updates to improve the narrative web report.

svn: r10201
2008-03-06 13:07:37 +00:00
Brian Matherly
e2bc58fe63 0001711: Inconsistant names for graphical reports
svn: r10152
2008-03-01 22:47:48 +00:00
Brian Matherly
825b301f7f Cleanup in Narrative Web report.
svn: r10146
2008-03-01 04:43:58 +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
Brian Matherly
cc6654ddab Remove the "person" option from reports, report options, and report dialogs. Person is selected by the user for all reports.
svn: r10074
2008-02-20 04:52:10 +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
Benny Malengier
55ba9c4d37 2008-02-15 Benny Malengier <benny.malengier@gramps-project.org>
* src/DataViews/RelationView.py
	* src/DataViews/PedigreeView.py
	* src/ReportBase/_ReportUtils.py
	* src/Editors/_EditPerson.py
	* src/Editors/_EditMediaRef.py
	* src/DisplayTabs/_GalleryTab.py: also correct wrong popup menu
	* src/plugins/Summary.py
	* src/plugins/WriteCD.py
	* src/plugins/IndivComplete.py
	* src/plugins/NarrativeWeb.py
	* src/plugins/WritePkg.py
	* src/plugins/GVFamilyLines.py
	* src/plugins/DefaultGramplets.py
	* src/plugins/SimpleBookTitle.py
	* src/plugins/Check.py
	* src/plugins/GVRelGraph.py
	* src/plugins/FamilyLines.py
	* src/Selectors/_SelectObject.py
	* src/GrampsDbUtils/_WriteGedcom.py
	#1787, #1208: use relative path correctly



svn: r10048
2008-02-18 14:06:41 +00:00
Brian Matherly
1f783f6545 0001750: Some problems with web pages
svn: r10012
2008-02-10 21:17:43 +00:00
Brian Matherly
610ac774fa Web Calendar and Narrative Web report now use Menu Options.
svn: r10010
2008-02-10 04:09:09 +00:00
Raphael Ackermann
ebf12e3106 2008-01-28 Duncan Lithgow <dlithgow@gmail.com>
* various: add capitalization fixes according to HIG (plus ellipsis ...)
	http://library.gnome.org/devel/hig-book/stable/design-text-labels.html.en

svn: r9951
2008-01-28 21:22:06 +00:00
Raphael Ackermann
0fc89437fa 2008-01-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/FilterEditor/_EditRule.py
    * src/FilterEditor/_ShowResults.py
    * src/plugins/ExtractCity.py
    * src/plugins/NarrativeWeb.py
    * src/plugins/ChangeNames.py
    * src/plugins/GraphViz.py
    * src/plugins/MediaManager.py
    * src/plugins/FamilyLines.py
    * src/Selectors/_BaseSelector.py
    * src/ObjectSelector/_ObjectSelectorWindow.py
    * src/ObjectSelector/_FamilyFilterFrame.py
    * src/ObjectSelector/_PersonFilterFrame.py
    * src/PageView.py
    * src/Filters/_FilterMenu.py
    * src/Filters/_SearchBar.py
    * src/Filters/_FilterComboBox.py
    * src/Filters/_FilterList.py
    * src/Filters/_FilterParser.py
    * src/Filters/_FilterStore.py
    * src/Filters/_GenericFilter.py
    * src/Filters/_ParamFilter.py
    pylint fixes + init gtk.ListStore() with gobject.TYPE_BOOLEAN types etc

svn: r9886
2008-01-18 17:03:55 +00:00
James G Sack
7ca360fcbc fix typo/parens causing exception
svn: r9864
2008-01-17 11:15:47 +00:00
Raphael Ackermann
d8852c6efe 2008-01-13 Jerome Rapinat <romjerome@yahoo.fr>
* src/plugins/NarrativeWeb.py: make Filter translatable
	0001490: Cannot translate few 'filter' labels

svn: r9860
2008-01-17 07:40:01 +00:00
Brian Matherly
bf3900f043 Patch from Raphael Ackermann <raphael.ackermann@gmail.com> -- Fix 0001538: tabs and spaces are mixed in some source files
svn: r9713
2008-01-05 20:10:26 +00:00
Brian Matherly
05575ad026 Refactor various aspects of the report system.
svn: r9496
2007-12-13 01:52:03 +00:00
Benny Malengier
77a9eb54cf 2007-12-09 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/NarrativeWeb.py: Use Narrated word



svn: r9474
2007-12-09 22:21:54 +00:00
Benny Malengier
f42d1870c5 2007-11-27 Benny Malengier <benny.malengier@gramps-project.org>
* src/ManagedWindow.py: new call_modal method. 
				Reports tools should use that
	* src/GrampsWidgets.py: improve a text string
	* src/plugins/NarrativeWeb.py: use call_modal, trunkate long filter
				names, better placement of selector note/media
	* src/ReportBase/_BareReportDialog.py: reports are modal but not 
				transient, remove bug to make them transient!



svn: r9415
2007-11-27 10:05:24 +00:00
Benny Malengier
1b9bb894c3 2007-11-26 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/NarrativeWeb.py: new select 
contact-header-footer-intro
	* src/GrampsWidgets.py: widget for new select


svn: r9414
2007-11-26 21:53:58 +00:00
Benny Malengier
ac82ef8754 2007-11-25 Benny Malengier <benny.malengier@gramps-project.org>
* src/gen/lib/notetype.py: type report, citation
	* src/plugins/NarrativeWeb.py: new selection of home note & home media
	* src/GrampsWidgets.py: NoteEntry, MediaEntry
	I intend to change the other note selectors likewise next.


svn: r9403
2007-11-25 19:07:50 +00:00
Brian Matherly
690b0bdb3c Fix 0001361: Web report: Directory name conflicts
svn: r9366
2007-11-18 14:19:33 +00:00
Stéphane Charette
2e90dd01a2 issue 1381, Confidence:Normal
svn: r9363
2007-11-17 06:06:43 +00:00
Brian Matherly
978d7b2987 0001369: Cannot translate (LivingProxy) references on NarrativeWeb dialog
svn: r9348
2007-11-13 12:46:56 +00:00
Stéphane Charette
535ba0f64a fix first part of issue #1280
svn: r9296
2007-11-05 07:16:10 +00:00
Stéphane Charette
1ac7e09eff limit image size in gallery
svn: r9294
2007-11-04 03:29:58 +00:00
Stéphane Charette
0aefbc706a issue #1340, don't display mime-type
svn: r9290
2007-11-03 05:43:12 +00:00
Brian Matherly
b3fcd5a4f5 Remove unused funtions setup_output_notebook and setup_post_process from the ReportDialog class.
svn: r9224
2007-10-21 04:23:54 +00:00
Gary Burton
8547df5480 2007-10-20 Gary Burton <gary.burton@zen.co.uk>
* src/plugins/NarrativeWeb.py: display event reference notes and attributes



svn: r9222
2007-10-20 21:26:43 +00:00
Brian Matherly
87416a3745 Patch from Gary Burton to support shared events in the Narrative web report.
svn: r9197
2007-10-16 12:09:20 +00:00
Brian Matherly
7b4576c6fa 0001252: Unicode error in NarrativeWeb.py in gramps3.0
svn: r9170
2007-10-13 03:17:27 +00:00