Commit Graph

486 Commits

Author SHA1 Message Date
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
Rob G. Healey
0e26998664 Fixed USA holidays problem. There was no holidays being listed.
svn: r12040
2009-02-19 17:43:53 +00:00
Rob G. Healey
7c52933d59 Fixed _has_webpage_extension() with help and gentle nudging from Kees Bakker.
svn: r12004
2009-02-16 08:53:24 +00:00
Kees Bakker
af4094bb5e CSS is case sensitive, I think
* src/plugins/webreport/WebCal.py


svn: r11992
2009-02-15 13:47:19 +00:00
Kees Bakker
2bbf40e609 Improve the code in display_month_navs a little further.
Added the home link in the year pages.
        * src/plugins/webreport/WebCal.py


svn: r11991
2009-02-15 13:10:56 +00:00
Rob G. Healey
7b85d8e4af Added date validation to these three reports in collect_data().
svn: r11983
2009-02-14 00:57:34 +00:00
Rob G. Healey
5cc9c483ee fixed #2682 in NarrativeWeb.py, and fixed highlighting of currentsection in display_month_navs().
svn: r11976
2009-02-12 20:06:32 +00:00
Rob G. Healey
ebd18708fc Fixed home link in display_month_navs().
svn: r11973
2009-02-12 10:39:13 +00:00
Rob G. Healey
4730f744ba Moved CreatorInfo from write_footer() back to write_header(). Removed maximum calendars years, and fixed display_year_nav().
svn: r11972
2009-02-12 07:56:51 +00:00
Kees Bakker
3bbb27c3d7 Bug #2433, issue 4. There was no list of sources anymore. And also the
link (in super script) on the Individual page was gone too.
        * src/plugins/webreport/NarrativeWeb.py


svn: r11967
2009-02-11 21:27:12 +00:00
Rob G. Healey
ef05acc39e Revert some of the changes made in r11947. Upon request of Kees and Benny.
svn: r11960
2009-02-11 03:39:52 +00:00
Kees Bakker
a9a8cb47dc Remove my own copyright. I don't want to anyone to get the impression
that I had anything to do with the code in WebCal.
Remove import of g2iso again. (What's going on with this anyway?)
        * src/plugins/webreport/WebCal.py


svn: r11955
2009-02-10 21:36:23 +00:00
Kees Bakker
8236c4f8ce Solved bug #2676
* src/plugins/webreport/NarrativeWeb.py


svn: r11954
2009-02-10 20:51:39 +00:00
Rob G. Healey
f8875759ab Re-arranged countries. Documentation and clean up. PEP 9.46
svn: r11947
2009-02-10 07:19:56 +00:00
Rob G. Healey
2472d94621 Removed partial year from WebCal. Clean up and documenting for PEP compliance of 8.36
svn: r11944
2009-02-10 01:38:08 +00:00
Raphael Ackermann
baef4d76a4 fixed indentation issues and mix of tabs and spaces.
svn: r11943
2009-02-09 23:37:40 +00:00
Kees Bakker
4e83f43a6c Correct a problem with thumbnails for PDFs. Not tested because I don't a
proper testing database for this.
http://www.gramps-project.org/bugs/view.php?id=2433
        * src/plugins/webreport/NarrativeWeb.py


svn: r11941
2009-02-09 18:58:23 +00:00
Kees Bakker
c7edbc7cdd Correct some variable names.
* src/plugins/webreport/NarrativeWeb.py


svn: r11940
2009-02-09 18:50:23 +00:00
Rob G. Healey
dff2d75e26 All if statements have been removed from holidays.xml. Labor Day, Inauguration Day, and Income Texes due have all been changed.
svn: r11933
2009-02-09 07:10:42 +00:00
Rob G. Healey
b13fa013fc Remove of a line that causes it to not load in plugins status window..
svn: r11930
2009-02-09 00:26:07 +00:00
Stéphane Charette
eab0dc057e revert change I accidently checked in with something else -- see bug report #2695 for unicode normalization
svn: r11927
2009-02-08 19:29:35 +00:00
Stéphane Charette
b67fb1c7d7 feature request #2562 - display notes attached to names
svn: r11918
2009-02-08 12:49:28 +00:00
Stéphane Charette
256cc54fee bug #2675 - regression: multiple names not shown correctly
svn: r11917
2009-02-08 11:42:43 +00:00
Stéphane Charette
0b2394fbd9 bug #2693 - regression; places in events were being ignored
svn: r11912
2009-02-08 09:42:19 +00:00
Stéphane Charette
5a4fbf1ae4 changes suggested by Benny (code review)
svn: r11907
2009-02-08 04:49:15 +00:00
Rob G. Healey
8dd150ad41 cleanup and documentation work done.
svn: r11903
2009-02-07 20:41:27 +00:00
Jérôme Rapinat
b1353fad40 Jérôme should not make change with gedit... (indentation error)
svn: r11897
2009-02-07 11:07:51 +00:00
Jérôme Rapinat
764cc7e083 missing comma
svn: r11874
2009-02-05 17:55:59 +00:00
Jérôme Rapinat
9f3999f7ad do not use ngettext on string
svn: r11868
2009-02-05 12:28:06 +00:00
Jérôme Rapinat
d793645c26 typo on translation string
svn: r11867
2009-02-05 12:24:24 +00:00
Rob G. Healey
dbabadbf05 Fixes the problem with Ancestor Tree -- unlinked persons only being listed without any styling.
svn: r11863
2009-02-05 06:17:34 +00:00
Doug Blank
fc5dcee88b Fixed line ending issues, and syntax errors introduced by translation changes
svn: r11860
2009-02-05 02:10:10 +00:00
Jérôme Rapinat
d587ffe618 #2657,#1718 use ngettext
svn: r11848
2009-02-04 16:58:46 +00:00
Stéphane Charette
fae629c013 removed 'TEST' debug text left in previous commit
svn: r11842
2009-02-04 08:45:21 +00:00
Stéphane Charette
2176bbfbf9 feature #2634 - display regions overtop of images in narrativeweb gallery
svn: r11840
2009-02-04 07:31:15 +00:00
Rob G. Healey
2af0f3a388 Added HTML span element to Ancestor Tree unlinked persons upon request of Jason Simanek. It will allow hm to quickly fix Ancestor Tree.
svn: r11839
2009-02-04 07:07:43 +00:00
Rob G. Healey
ac2e0e2547 removed _make_date module from libholiday as request by Brian. Removed make_date completely and substituted gen.lib.Date() instead for Calendar, BirthdayReport, and WebCal. Changes progress bar text in WebCal and NarrativeWeb.
svn: r11837
2009-02-04 05:35:34 +00:00
Rob G. Healey
7050989e75 removed <h2> tags as stylesheets disable it anyway.
svn: r11835
2009-02-04 02:14:44 +00:00
Rob G. Healey
826b21eedd More variable name changes and adding documentation changes.
svn: r11834
2009-02-04 02:03:27 +00:00
Rob G. Healey
a7ef5d1e43 moved _make_date from Calendar.py, BirthdayReport.py, and WebCal.py into libholiday. Changed variable names in WebCal.py for improved readability.
svn: r11833
2009-02-04 00:59:12 +00:00
Rob G. Healey
2968250315 Moved revision numbering tag to a better visual area; cleanup of calendar_build(), calendar_common(), get_day_list() in WebCal, removed alphabet_navigation from NarrativeWeb.py.
svn: r11814
2009-02-03 08:01:31 +00:00
Benny Malengier
9378701a16 revert wrong previous commit
svn: r11803
2009-02-02 18:30:47 +00:00
Benny Malengier
cc43836a60 do not show pyc on svn status
svn: r11802
2009-02-02 18:25:51 +00:00
Stéphane Charette
539066320f fixed bug #2660 - get rid of 'meta robots noindex' tag in html files
svn: r11764
2009-01-30 18:08:33 +00:00
Brian Matherly
f7e2cd8e3f Finish moving libholiday.py and WebCal.py into their new homes.
svn: r11760
2009-01-30 02:26:10 +00:00
Rob G. Healey
d842b8d794 Changed alohabet navigation; added Age At Death, got nick name working again.
svn: r11756
2009-01-29 02:13:48 +00:00
Rob G. Healey
b0e3ed517a Color theme update on stylesheet -- still needs work for Ancestor Tree; added feature request #2628 -- alphabetical Navigation; changed stylesheet naming as already in WebCal.py.
svn: r11749
2009-01-28 06:15:29 +00:00
Rob G. Healey
1d6ab20eba Fixed wording in advanced tab; consolidated copy files module; added prefix and suffix to names in surnames. More changes coming.
svn: r11748
2009-01-28 01:39:08 +00:00
Rob G. Healey
b648af6379 Removing old and obsoleted Cascading Stylesheets and javascript files
svn: r11737
2009-01-26 22:22:01 +00:00
Stéphane Charette
4e5f282137 bug #2648, 'link home' option was no longer working
svn: r11711
2009-01-25 08:24:56 +00:00
Brian Matherly
451aaee4f4 Plugins Restructure: Move NarrativeWeb.py plugins into plugins/webreport.
svn: r11649
2009-01-17 23:32:20 +00:00