Commit Graph

200 Commits

Author SHA1 Message Date
Raphael Ackermann
11eed9f1b0 0003018: keys() method of dictionary objects used unnecessarily
svn: r13022
2009-08-15 14:54:17 +00:00
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
Rob G. Healey
b95281c32e Attempt to get Repository Type to be translatable. Peter Lundgren is helping me.
svn: r12998
2009-08-14 06:18:16 +00:00
Rob G. Healey
63094c5aee Added Associations to the NarrativeWeb output.
svn: r12982
2009-08-13 01:50:13 +00:00
Rob G. Healey
eb5efcf116 Fixed problem with place.get_source_references().
svn: r12961
2009-08-11 20:05:56 +00:00
Rob G. Healey
aaf43d3690 NarrativeWeb is now almost at a complete export of the entire database now. Sorry about committing such a huge update at once. Stylesheet element have been modified or added for this update.
svn: r12959
2009-08-11 12:49:27 +00:00
Rob G. Healey
6996ad22e6 Added place.get_alternate_locations() amd place.get_source_references() to class PlacePae. Modified and clean up of display_ind_events().
svn: r12958
2009-08-11 06:47:42 +00:00
Rob G. Healey
f0ad462488 Fixed a typo which caused a crash.
svn: r12957
2009-08-11 04:53:35 +00:00
Rob G. Healey
cfad2f0629 Finished translatable variables in NarrativeWeb
svn: r12954
2009-08-11 01:29:53 +00:00
Rob G. Healey
b462ef15cf Some Translation strings fixed in NarrativeWeb.py. Pointed out by Gary Burton and Peter Lundgren.
svn: r12952
2009-08-10 22:51:44 +00:00
Rob G. Healey
9d6ddde2d8 Removed source.get_reporef_list() from class SourcePage(). There is no usable information to display.
svn: r12941
2009-08-10 04:52:41 +00:00
Rob G. Healey
18048ccfab Fixed display_attr_list(); display_event_header() and display_event_row(). Added style elements for Attributes in stylesheet.
svn: r12931
2009-08-09 07:55:53 +00:00
Raphael Ackermann
6c07dfc9dd remove merge error
svn: r12929
2009-08-08 21:40:12 +00:00
Raphael Ackermann
69f05f43aa Fixes 0003155: GraphViz arrow directions are odd
Patch by Bob Ham <rah@bash.sh>

+ 1 typo in WebCal.py

svn: r12919
2009-08-08 14:28:19 +00:00
Rob G. Healey
9eeb2d8b92 Adding source references to all major objects: person, event, attribute, address.
svn: r12916
2009-08-07 20:02:55 +00:00
Rob G. Healey
2343bb9da5 Fixed IndividualPage: Source References section.
svn: r12886
2009-08-07 03:38:33 +00:00
Rob G. Healey
da0ff1ee84 improved look of individual gallery on NarrativeWeb.
svn: r12885
2009-08-06 22:04:52 +00:00
Rob G. Healey
f95c70cd84 Fixed multiple show stoppers in NarrativeWeb code.
svn: r12883
2009-08-06 19:13:16 +00:00
Rob G. Healey
077271dc97 Fixed display_addresses() in NarrativeWeb.py. Added stylesheet elements for it.
svn: r12870
2009-08-04 08:58:17 +00:00
Rob G. Healey
2fc66c1830 Fixed a variable issue in class PlacePage. Thank you Peter Lundgren.
svn: r12869
2009-08-03 08:59:34 +00:00
Rob G. Healey
bc738e0811 NarrativeWeb: LDS Ordinances: added source references. Web_Visually: added LDS Source References.
svn: r12868
2009-08-03 08:43:14 +00:00
Rob G. Healey
571e73f0cd Personal LDS information is now working and complete. NarrativeWeb.py is now working once again! I return it back to working status.
svn: r12866
2009-08-03 05:38:11 +00:00
Rob G. Healey
427a34f721 Family LDS Ordinance information is now working in NarrativeWeb at display_ind_families().
svn: r12865
2009-08-03 05:21:00 +00:00
Rob G. Healey
d443e86fbc Fixed layout and alignment of display_ind_families() in NarrativeWeb
svn: r12862
2009-08-02 22:29:54 +00:00
Rob G. Healey
b5902eb82f Typos fixed from patch from Bob Harm. Changes to NarrativeWeb. LDS Ordinance has been added to Individual Pages.
svn: r12861
2009-08-02 20:06:00 +00:00
Rob G. Healey
9e5cc9d93a NarrativeWeb is broken until further notice, please bare with me for a day or so.
svn: r12854
2009-07-31 11:30:14 +00:00
Rob G. Healey
99e17ea98e Fixed two invalid syntax errors in ExportGeneWeb. Fixed padding issues in Nebraska with Navigation areas. Minor little changes to others.
svn: r12848
2009-07-29 07:58:22 +00:00
Rob G. Healey
b98caba34d NarrativeWeb is now running once again. I do not have a good python exif library yet to use with Gramps. Tiny update to Visually impaired stylesheet to match some changes to plugin.
svn: r12843
2009-07-28 11:41:20 +00:00
Peter Landgren
55a98c40ce Fixed a typo letter>ltr.
svn: r12838
2009-07-27 18:47:00 +00:00
Rob G. Healey
8a474ab807 Fixed SurnameListPage. MediaPage and Exif Tags are still not completed. Working on it with Gerald Britton.
svn: r12832
2009-07-22 20:03:07 +00:00
Rob G. Healey
f979f8ee63 NarrativeWeb and Web_Visually.css will now show exif tage/keys.
svn: r12828
2009-07-21 00:59:38 +00:00
Rob G. Healey
8b8c63b439 fixed several little tiny problems which killed loading the plugin.
svn: r12810
2009-07-16 19:24:03 +00:00
Rob G. Healey
098afdfb0a NarrativeWeb is still in refactoring mode until further notice. Visually Impaired stylesheet is also in modifying mode.
svn: r12796
2009-07-14 23:53:07 +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
Jérôme Rapinat
5da4aa816d to allow to translate n years old
svn: r12755
2009-07-02 15:47:18 +00:00
Gerald Britton
d022d0187b Replace locale.strcoll with locale.strxfmt for performance and Python 3.0 compliance
svn: r12739
2009-06-30 14:05:57 +00:00
Rob G. Healey
57dc74b965 Fixed two errors that Gerald pointed out to me. Added RepositoryListPage and RepositoryPage classes. More work on libhtml and with statement.
svn: r12733
2009-06-29 20:04:00 +00:00
Rob G. Healey
22ecedb061 Fixed a typing error from yesterday's open_file_with_default_application(). Completed work on default printer stylesheet also.
svn: r12702
2009-06-24 20:03:10 +00:00
Rob G. Healey
d5ccd93043 More work on converting the two of these.
svn: r12700
2009-06-23 22:34:14 +00:00
Rob G. Healey
1101b21ba0 More cleanup work on stylesheet. Continuing to convert NarrativeWeb to use the Html class and the with statement.
svn: r12698
2009-06-22 23:58:09 +00:00
Rob G. Healey
c8fa363708 Large sized cleanup of NarrativeWeb, and some minor work on Web_Visually.css. There is still more work to be done on NarrativeWeb, but this commit was getting too big already.
svn: r12689
2009-06-21 03:25:28 +00:00
Rob G. Healey
d181d6bd33 NarrativeWeb now has Styked Notes! Thanks for being a giant help Benny. Could not have done it without you. Bringing the default print stylesheet up to date with the rest of them.
svn: r12683
2009-06-19 23:53:42 +00:00
Benny Malengier
9d417e2cd6 Split Utils in a non GUI and GUI part
move GrampsCfg utils to Utils
improve import strategy


svn: r12680
2009-06-19 15:23:58 +00:00
Rob G. Healey
c71367ed54 Fixed a show stopper -- broke the plugin.
svn: r12673
2009-06-16 21:54:06 +00:00
Rob G. Healey
0dac6cf9aa Removed a duplicate class. Re did classes IndividualListPage, DownloadPage, ContactPage, SourceList, SourcePage, and a bunch of modules/ functions. More clean up work on the Visually Impaired stylesheet.
svn: r12669
2009-06-15 19:25:43 +00:00
Rob G. Healey
33ad285de6 Re-worked IndividualListPage().
svn: r12664
2009-06-13 18:49:18 +00:00
Rob G. Healey
94dba1433d Fixed SurnamePage, other minor fixes. Some cleanup of the stylesheet.
svn: r12656
2009-06-12 06:04:30 +00:00
Rob G. Healey
140c565a28 NarrativeWeb now uses the HTML class-- src/plugins/lib/libhtml.py. There is still more work coming as it is still not completely refined yet. Gerald Britton has played a huge part in getting this out to you. New download page added, and name_format also.
svn: r12655
2009-06-11 16:45:30 +00:00
Benny Malengier
542b1e404d 02707: Add markup notes to html output
part 1: remove template from html output


svn: r12631
2009-06-06 09:49:40 +00:00
Rob G. Healey
5ef1c9711d Add modified download page to NarrativeWeb, and update stylesheet for it.
svn: r12593
2009-05-30 08:46:12 +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
Rob G. Healey
316b997e6d Connected maximuum image sizes to include media option above it. Fixed some code on year_navigation() in WebCal.
svn: r12557
2009-05-21 07:14:59 +00:00
Rob G. Healey
b282953be5 Removed missing gladefile in src/plugins/docgen/Makefile.am for allow complete to finish. Applied large image scaling in NarrativeWeb.
svn: r12554
2009-05-20 23:26:30 +00:00
Benny Malengier
4878453cf3 3001: crash on Narrated Web Site report on my database
svn: r12540
2009-05-19 08:20:05 +00:00
Rob G. Healey
edfc5ffe06 Little change in WebCal. Added chnages to stylesheet for new Download Page.
svn: r12519
2009-05-11 02:28:15 +00:00
Peter Landgren
b189249692 Fix of issue 2959.
svn: r12503
2009-05-02 08:18:12 +00:00
Serge Noiraud
6efffe78c2 NarrativeWeb : gen.lib.date problem
svn: r12502
2009-05-01 20:25:08 +00:00
Serge Noiraud
2fe74e2ca6 Narrativeweb : gen.lib problem and alphabet navigation > 26 characters
svn: r12501
2009-05-01 09:13:20 +00:00
Serge Noiraud
0df89ea9b7 Narrativeweb : Swedish specific alphabet sort.
svn: r12500
2009-05-01 08:39:17 +00:00
Serge Noiraud
21414d184f There are three bugs which give mistery sort problems :
1 : The normalize function use NFC in one place and NFKC in all others.
    either we use NFC or we use NFKC, but don't mix these two modes.
2 : One sort function does not use the locale.strcoll
3 : There is a problem with the following statement:
    if letter is not last_letter. "is not" doesn't work correctly.



svn: r12482
2009-04-20 20:44:22 +00:00
Peter Landgren
430bf797f7 Fix of issue 2935.
svn: r12473
2009-04-18 05:59:54 +00:00
Peter Landgren
7c264fb689 Fix of issue 2932.
svn: r12471
2009-04-17 19:54:00 +00:00
Rob G. Healey
2aea2184e7 Cleaned up gramps import section to have smaller memory footprint by specifying exactly what to import instead just everything.
svn: r12411
2009-04-09 04:34:24 +00:00
Rob G. Healey
0b61b4a8a4 Updated menu in BirthdayReport. Changed alphabet navigation in NarrativeWeb. Updated WebCal to use name format option. Fixed a few elements in stylesheet.
svn: r12406
2009-04-06 03:49:47 +00:00
Rob G. Healey
c468933edd Moved footer section in stylesheet to match other stylesheets. Added #alphabet navigation to stylesheet. Changed newpage() to Html.page(), remove indent=True, and added indent=False where needed for indentation styling for human readability in web browsers.
svn: r12403
2009-04-03 00:04:29 +00:00
Rob G. Healey
ed676f6f58 Changed location of alphabet navigation in SurnameListPage. Fixed and updated some of stylesheet.
svn: r12401
2009-04-01 00:53:12 +00:00
Rob G. Healey
0a1fa5b89d More clean up of code and elements in stylesheets.
svn: r12394
2009-03-29 22:26:36 +00:00
Rob G. Healey
3fa8f51025 Spotty cleanup of NarrativeWeb. Huge cleanup of WebCal-- saves a lot of space in web page files.
svn: r12389
2009-03-26 11:17:57 +00:00
Rob G. Healey
aa9e4d01f4 Moved alphabet navigation placement in page. Moved encoding in menu to Advanced tab-- as suggested in emails. Fixed invisible text in table headers.
svn: r12386
2009-03-25 04:57:07 +00:00
Rob G. Healey
4f01d37913 Continuing update and clean up.
svn: r12385
2009-03-25 03:54:47 +00:00
Rob G. Healey
13d2d1c5ea Using newpage() now. Cleanup, and code revisions.
svn: r12384
2009-03-24 14:58:16 +00:00
Rob G. Healey
4f073eb270 Removed obsoleted elements from stylesheets. Updated revision numbering tag.
svn: r12383
2009-03-24 04:12:31 +00:00
Gerald Britton
dc80f4a6a6 libhtml.py: rename hmtl.py to libhtml.py and move to plugins/lib
svn: r12381
2009-03-23 14:42:37 +00:00
Rob G. Healey
ff9cabf0bb Changed the page head section to use newpage function from html.py
svn: r12371
2009-03-21 16:25:47 +00:00
Rob G. Healey
cab9de8d62 Fixed several typos.
svn: r12368
2009-03-21 07:21:24 +00:00
Rob G. Healey
ec354aecdf A complete re- write using html class. Html constructor created by Gerald Britton. Re- write completed by Rob G. Healey -- with help from Gerald.
svn: r12367
2009-03-20 23:13:06 +00:00
Gerald Britton
5a0414db32 html.py: Add newpage() function and docstrings
svn: r12365
2009-03-20 16:22:12 +00:00
Brian Matherly
fec7f5f7c0 0002838: NAVWEB images in predigree chart comming out as thin lines.
svn: r12361
2009-03-19 03:30:43 +00:00
Rob G. Healey
3565ff2089 Clean up old elements in stylesheets. Cleanup work on WebCal as well -- removing old stuff.
svn: r12356
2009-03-17 05:52:43 +00:00
Rob G. Healey
e9fc92408b WebCal was having problems with female marriages even though they were divorced. Web_Visually.css - was having problems with proper highlighting of navigation menus.
svn: r12354
2009-03-16 23:32:47 +00:00
Kees Bakker
6a559a5b2a Oops. Correct change (12344) Partly fixed bug 2788. (Just stylesheet
hrefs.)


svn: r12353
2009-03-16 22:17:42 +00:00
Gerald Britton
7bf8b0056a html.py: Add XML constants; change keyword handling to conform to PEP 8
svn: r12352
2009-03-16 16:17:44 +00:00
Rob G. Healey
f699c5cee7 Fixed link statements in write_header(). Changed id="CurrentSection" to "class="currentSection". Patch from Jason Simanek.
svn: r12345
2009-03-14 21:30:04 +00:00
Kees Bakker
e3cc1f6d71 Partly fixed bug 2788. (Just stylesheet hrefs.)
svn: r12344
2009-03-14 15:48:05 +00:00
Gerald Britton
58fabc972d Fix expression evaluation order in __add__ method in html.py
svn: r12273
2009-03-09 17:27:06 +00:00
Gerald Britton
e1316aa89c Add code to html.py to auto-close certain tags to meet XHTML standard
svn: r12272
2009-03-09 15:18:51 +00:00
Gerald Britton
ff4f97e368 fix write method in html.py: pass output method in recusive call
svn: r12269
2009-03-09 13:38:50 +00:00
Rob G. Healey
95a8866ac9 Added proper xml statement to write_header().
svn: r12244
2009-03-08 05:00:25 +00:00
Gerald Britton
d5f1247325 Rework html.py to derive from list object
svn: r12213
2009-03-04 21:25:18 +00:00
Gerald Britton
49cb75b370 add new module, html.py, to assist in building web pages
svn: r12209
2009-03-03 17:53:35 +00:00
Rob G. Healey
76f536e571 Fixed error in display_year_navs() which also affects the Visually Impaired stylesheet.
svn: r12159
2009-02-28 11:49:43 +00:00
Rob G. Healey
bc0800c18f Remove debugging information.
svn: r12153
2009-02-28 00:35:30 +00:00
Rob G. Healey
a238e7448f Fixed some issues with navigation menu. More refactoring in WebCal. Alphabetized the Makefile.
svn: r12139
2009-02-26 19:16:02 +00:00
Rob G. Healey
8c3bfdc44f More refactoring ... Help from Gerald Britton.
svn: r12123
2009-02-26 08:25:45 +00:00
Rob G. Healey
4238efda32 Added and deleted files that were verified by Brian. Remove sort siblings as it was broken. Will spend time on it in the next few days.
svn: r12107
2009-02-24 08:02:13 +00:00
Rob G. Healey
bc081c401c More refactoring work on both of these web reports. Fixed and changed get_marital_status to get_marriage_event() as that is what it does anyway. Changes are being given and helped by Gerald Britton.
svn: r12103
2009-02-24 02:52:06 +00:00
Stéphane Charette
5a1541ac35 merge fix for bug #2737 from 310 to trunk
svn: r12090
2009-02-23 04:23:41 +00:00
Stéphane Charette
89b37429bc merge fix for bug #2736 from 310 to trunk
svn: r12089
2009-02-23 02:14:24 +00:00
Rob G. Healey
95ea123e01 Add sort siblings to NarrativeWeb, and did some refactoring to WebCal with help from Gerald.
svn: r12066
2009-02-22 00:14:08 +00:00
Rob G. Healey
1f36ff6a13 More code cleanup in get_day_list() with help from Kees Bakker.
svn: r12052
2009-02-20 02:22:33 +00:00