Commit Graph

486 Commits

Author SHA1 Message Date
Jérôme Rapinat
aa30075b18 typo - return translated string
svn: r14302
2010-02-10 16:56:53 +00:00
Doug Blank
843fb89ba0 Plugins required to be correct version
svn: r14300
2010-02-10 12:13:47 +00:00
Peter Landgren
9d20446bc5 Make use of new module constfunc.
svn: r14286
2010-02-08 17:26:22 +00:00
Peter Landgren
732948bf8a Step towards fix of translation in Windows.
svn: r14271
2010-02-07 18:04:10 +00:00
Rob G. Healey
f8682183ab Updated GrampsLocale.long_months to DateHandler.displayer.long_months.
svn: r14177
2010-02-01 09:47:41 +00:00
Gerald Britton
8f0582df8a Use built-in functions to replace for loops:
Old code:

for x in y:
  f(x)

New Code:

map(f, y)

Also use defaultdict instead of simple dict when advantageous and use list comprehensions
instead of for loops where map() could be used but requires lambdas.


svn: r14135
2010-01-25 17:45:21 +00:00
Brian Matherly
c9cb7e60c9 Move GEDCOM date functions into libgedcom.
svn: r14125
2010-01-25 04:54:22 +00:00
Brian Matherly
cd30f4db2f Continued work on GEP008: move src/Mime to src/gen/mime.
svn: r14118
2010-01-24 20:17:14 +00:00
Brian Matherly
f04880ec09 Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time.
svn: r14091
2010-01-18 04:42:17 +00:00
Brian Matherly
c5f54d0cfc Continued work on GEP008: Move src/BasicUtils/_NameDisplay.py to src/gen/display.
svn: r14072
2010-01-14 04:08:04 +00:00
Gerald Britton
2b12f3df07 Use defaultdict type where possible for minor performance gain and source code simplification
svn: r14011
2010-01-09 19:54:32 +00:00
Benny Malengier
e8042007ff init list before use
svn: r13920
2009-12-26 10:05:25 +00:00
Benny Malengier
862d1446d0 Fix two things in nar web:
1/fix bug that not scaled images are not printed out on webpage
  2/remove annoying warning dialogs on every missing images, and 
    replace it by one warning dialog at the end of the report


svn: r13913
2009-12-25 11:44:20 +00:00
Rob G. Healey
c96e7a579a Some cleanup work, and changed get_marriage_event() to use the extended eventtype.py
svn: r13904
2009-12-24 07:55:26 +00:00
Rob G. Healey
c00ffbcf14 Remove references to import pyexiv2, and fixed RepositoryTypes.
svn: r13887
2009-12-22 22:00:24 +00:00
Doug Blank
699dcb13fe Fixed svn Id property
svn: r13881
2009-12-21 13:43:50 +00:00
Rob G. Healey
35b2dee97a Added to *.gpr.py files and WebCal. Updated EventList and add _find_death_date().
svn: r13878
2009-12-21 07:44:25 +00:00
Doug Blank
f76d9c9aad Added try/except to exif tag import
svn: r13854
2009-12-20 02:32:01 +00:00
Rob G. Healey
9971a4f1a2 Removed Exif tags completely from NarrativeWeb.
svn: r13836
2009-12-17 14:59:00 +00:00
Rob G. Healey
1191bb227d Fixed the sorting in class EventListPage. Changed elements in stylesheet.
svn: r13835
2009-12-17 07:22:29 +00:00
Doug Blank
2a047ab65e Sort events by alphabetical type name
svn: r13823
2009-12-16 12:04:48 +00:00
Rob G. Healey
b060d4189d Removed Editors and Sekectors directories to allow ./autogen.sh to complete. Fixed attribute type so it is translated. Made option visible, but greyed out if the library is not installed by suggestion from Doug Blank. See feature request 3449.
svn: r13819
2009-12-16 03:02:08 +00:00
Rob G. Healey
224c8c1ffc Fixed error causing crash as per Nick Hall. Corrected tags on libhtmlconst and WebCal.
svn: r13805
2009-12-15 02:50:46 +00:00
Gerald Britton
04a15c8647 tweaks
svn: r13804
2009-12-14 18:32:46 +00:00
Rob G. Healey
c94c9c588e Cleanup work on attributes and a comment on sort_event_types() in NarrativeWeb. Clean up work on calendar_build() in WebCal.
svn: r13796
2009-12-14 08:47:01 +00:00
Rob G. Healey
73a8acc7bc Removed debugging code in NarrativeWeb. Adjusted elements in MediaListPage.
svn: r13794
2009-12-14 07:04:37 +00:00
Rob G. Healey
e72257b3f5 Cleaned up class MediaListPage and added mime type to the MediaListPage.
svn: r13793
2009-12-14 06:18:33 +00:00
Rob G. Healey
97f8091467 Fix bug report #3276. Link to temp.png should be document.png. Thanks jerome for finding it.
svn: r13792
2009-12-14 06:15:59 +00:00
Peter Landgren
3edb3a88bc Fixed one wrong gettext call and deleted one unnecessary statement.
svn: r13782
2009-12-13 14:07:24 +00:00
Doug Blank
1206598620 Sorts event by ID, date
svn: r13779
2009-12-13 01:04:09 +00:00
Rob G. Healey
1f6d87182b Cleanup of little things in WebCal.
svn: r13775
2009-12-12 07:42:42 +00:00
Rob G. Healey
bfbba59482 Changed how EventPage works. Cleanup work on NarrativeWeb. Changed some elements in stylesheet that is specific to Visually impaired only.
svn: r13773
2009-12-12 07:38:10 +00:00
Brian Matherly
04a1da3daf Fix crash in NavWeb when accessing uninitiailzed variables.
svn: r13757
2009-12-11 05:51:16 +00:00
Gary Burton
0c18bc53ce Remove a typo which prevents the plugin from loading.
svn: r13751
2009-12-10 18:52:02 +00:00
Rob G. Healey
e9650a703b Fixed event types in multiple places. Fixed a crash at line 520 reported by Gary Britton. Thank you.
svn: r13750
2009-12-10 15:37:58 +00:00
Rob G. Healey
e5b231ef6b Fixed all of the stylesheets, NarrativeWeb, and WebCal with the proper use of the header from Brian Matherly.
svn: r13749
2009-12-10 06:50:21 +00:00
Rob G. Healey
c544e79b22 Fixed event types not being translated in IndividualPages, Events section. Made some spacial alignment in eventtypes.py for better visual aid.
svn: r13748
2009-12-10 00:01:20 +00:00
Doug Blank
b1676eedb7 3265: An improvement of calendar report
svn: r13741
2009-12-08 02:22:26 +00:00
Peter Landgren
90bde6a00a Found two typos when translating.
svn: r13733
2009-12-06 18:38:11 +00:00
Jérôme Rapinat
22847e90ec typo
svn: r13716
2009-12-05 17:15:32 +00:00
Rob G. Healey
b886d022bb Completed bug# 2698. Please test it out completely. Report issues to bug#2698.
svn: r13715
2009-12-05 11:10:28 +00:00
Rob G. Healey
46dd4e6c1a Beginning work on Bug #2698.
svn: r13714
2009-12-05 09:00:32 +00:00
Doug Blank
e07455b891 3410: holidays.xml is reported to not load from user's plugin directory
svn: r13703
2009-12-05 03:09:21 +00:00
Rob G. Healey
fc48e51d1c Fixed person section of Event Pages.
svn: r13698
2009-12-03 19:10:20 +00:00
Rob G. Healey
da054668cd Working more on Events classes.
svn: r13695
2009-12-01 15:41:23 +00:00
Rob G. Healey
b6f8cd5ee6 Kept place source references and fixed a crash.
svn: r13692
2009-11-29 23:48:51 +00:00
Gary Burton
393d547d6e Fix for bug 3393.
svn: r13691
2009-11-29 22:02:06 +00:00
Gary Burton
f49f1059c0 Fix issue with paragraph breaks on preformatted notes.
svn: r13684
2009-11-28 19:24:46 +00:00
Gary Burton
06ca52e812 Fix typo
svn: r13683
2009-11-28 19:12:36 +00:00
Gary Burton
53fb269d54 Fix problem with missing sources in bibliography
svn: r13682
2009-11-28 19:11:00 +00:00
Rob G. Healey
086c297975 Fixed missing person in class EventListPage. Hyperlinked the grampsid to the to its EventPage as I didn't have the event type to hyperlink with.
svn: r13681
2009-11-28 10:07:20 +00:00
Rob G. Healey
b90b6f769c Finished EventListPage. Now only need to work out the sorting protion of it... updated stylesheet to match.
svn: r13678
2009-11-27 09:28:39 +00:00
Gerald Britton
e572a41566 Tweaks using list comprehensions
svn: r13670
2009-11-24 20:14:19 +00:00
Gerald Britton
9698b0306f Tweaks replacing for-loops with iterator expressions
svn: r13664
2009-11-23 20:52:04 +00:00
Rob G. Healey
72cca076c5 Removed unused and unnecessary functions: get_birth_date() and get_death_date(). I never did use them at all.
svn: r13645
2009-11-21 07:42:36 +00:00
Gerald Britton
baa7bb7151 Tweaks
svn: r13641
2009-11-20 17:35:21 +00:00
Gerald Britton
ddb4a6bd0f Tweaks
svn: r13638
2009-11-19 20:10:49 +00:00
Rob G. Healey
c227803a1b Fixed date display in NarrativeWeb. Bug #3370.
svn: r13637
2009-11-19 19:45:09 +00:00
Peter Landgren
f87bd00fa5 Fix of global name 'ltr' is not defined in line 6156.
svn: r13636
2009-11-19 17:56:23 +00:00
Gerald Britton
50029fbb16 Fix bug in Narrative Web source page. Small performance enhancements in display_source_refs.
svn: r13626
2009-11-18 18:41:53 +00:00
Rob G. Healey
307fa33cf1 Converted alphabet navigation to be able to handle words as well as letters.
svn: r13622
2009-11-18 08:36:16 +00:00
Rob G. Healey
1888d3b423 Working on source references and events. Changes in stylesheet to match work.
svn: r13619
2009-11-18 08:05:58 +00:00
Peter Landgren
900d1c57f4 Second update for consistent use of Gramps. See issue 3355.
svn: r13611
2009-11-17 20:45:58 +00:00
Peter Landgren
33686fcf18 First update for consistent use of Gramps. See issue 3355.
svn: r13610
2009-11-17 20:14:53 +00:00
Rob G. Healey
f9f4a0a3a5 Fixed bug #3357. Formatting of the date was messed up.
svn: r13607
2009-11-17 09:26:28 +00:00
Rob G. Healey
06017f562e Fixed if hyper: cconditional in class MediaPage, lines 2554-2563.
svn: r13598
2009-11-16 21:10:49 +00:00
Rob G. Healey
4a98fd23d6 The exif tags option will only be displayed if they have the pyexiv2 library installed. Great error prevention.
svn: r13584
2009-11-15 05:47:19 +00:00
Rob G. Healey
ff073515be Added Image Exif Tags back into NarrativeWeb. Need to download and install pyexiv2 to see them though.
svn: r13583
2009-11-15 05:12:34 +00:00
Rob G. Healey
232bb80d6c Re-did Internet Address Book. it is now Address Book. Current styles for my work on Address Book in stylesheet.
svn: r13529
2009-11-09 04:37:49 +00:00
Rob G. Healey
029a5a0026 Fixed listing of internet addresses in display_url_list() and class InternetAddressBook.
svn: r13512
2009-11-06 21:50:35 +00:00
Rob G. Healey
e0dc1b74f3 Added progress meter bar to Internet Address Book.
svn: r13511
2009-11-06 21:08:58 +00:00
Rob G. Healey
faae542526 Fix my html source layout problems. Cleanup and making stylesheet consistent.
svn: r13506
2009-11-06 08:04:41 +00:00
Rob G. Healey
1605254b2d Added Internet Address Book to NarrativeWeb. Added styles for it and OneDay elements for WebCal. Updated printer stylesheet to current work.
svn: r13503
2009-11-05 18:18:49 +00:00
Gerald Britton
2230220ea1 Tweaks using builtins and list comprehensions -- fix error in get_name
svn: r13492
2009-11-03 14:22:37 +00:00
Rob G. Healey
6741ffed73 Cleanup and remove some old functions in WebCal.
svn: r13488
2009-11-03 07:32:45 +00:00
Rob G. Healey
99499779dc NarrativeWeb is now using format_date() where it is just needing to be displayed. Where calculations are needed, using Date() and date(). Stylesheets are being updated as well. A lot of general cleanup as well.
svn: r13486
2009-11-03 04:18:05 +00:00
Gerald Britton
f822b4b8a0 Tweaks using builtins and list comprehensions
svn: r13482
2009-11-02 19:07:32 +00:00
Jérôme Rapinat
bb51d41133 cannot translate variable (part2 - thanks Peter)
svn: r13467
2009-10-30 18:01:48 +00:00
Jérôme Rapinat
9ec8339998 cannot translate variable (mailing-list)
svn: r13463
2009-10-30 10:15:18 +00:00
Rob G. Healey
77da65bc71 Fixed a lot of string items, whereas href=; it becomes href = as an example. This was talked about a while back, and Brian or Benny made the point to code like this.
svn: r13432
2009-10-27 15:40:15 +00:00
Benny Malengier
53de46901e add license to gpr.py files
svn: r13424
2009-10-26 19:15:58 +00:00
Benny Malengier
79b6708163 03292: register plugins, load on need, not on start of GRAMPS - GEPS 014
Part 2: update plugin status: show registered, allow hide/unhide of 
        plugins


svn: r13403
2009-10-24 20:27:10 +00:00
Benny Malengier
ed619cfdd6 3292: register plugins, load on need, not on start of GRAMPS - GEPS 014
svn: r13400
2009-10-24 13:53:20 +00:00
Rob G. Healey
054acb7337 Clean up work on media_link() and doc_link(). Corrected a lot of single quatation marks to double quoteations.
svn: r13379
2009-10-17 20:54:17 +00:00
Jérôme Rapinat
ce2a168d3a 3199: Localisation in web page report - Problem with word Home, too many meanings
svn: r13352
2009-10-08 12:03:14 +00:00
Rob G. Healey
be85628214 Cleaned up and fixed all of the WebCal elements also.
svn: r13349
2009-10-08 05:48:43 +00:00
Jérôme Rapinat
b2d2820939 3199: Localisation in web page report - Problem with words Name and Home, too many meanings
svn: r13331
2009-10-07 13:00:27 +00:00
Doug Blank
a3d6864f0a #3265: An improvement of calendar report; adds links to NarWeb from WebCal, if you have both. Advanced Options has checkbox and URL prefix to NarWeb/ppl
svn: r13329
2009-10-07 05:15:34 +00:00
Rob G. Healey
e150d58303 Changed a section name in stylesheet for better clarification. Attempting to display_source_refs() in NarrativeWeb.py
svn: r13325
2009-10-07 01:19:42 +00:00
Jérôme Rapinat
34edae8cbc to allow to translate birth word
svn: r13314
2009-10-06 09:42:52 +00:00
Rob G. Healey
73cbf10ce3 Fixed some items in Web_Visually.css. Added Download, EventsList, EventDetail, and Repository sections to Ash. Removed the things that I was trying to do with the Horizontal or Vertical placement of the alphabet navigation. Getting to be too big for me at this point. I feel like a little guppie out in the ocean.
svn: r13311
2009-10-06 08:20:21 +00:00
Rob G. Healey
d8d1e12ec3 Fix for the .php parsing error. It also happens with .php3 and .cgi too.
svn: r13299
2009-10-04 05:43:10 +00:00
Rob G. Healey
efa639f62a Repaired stylesheets in regards to alphabet navigation and fixed alphabet_navigation() in NarrativeWeb.
svn: r13297
2009-10-04 04:54:26 +00:00
Doug Blank
ca68d0c5ae #3254: protect from crashing on copy to same file
svn: r13289
2009-10-03 03:39:08 +00:00
Rob G. Healey
86041e6caf General cleanup, fixing of quotations, fixing of gramps_id where it was used of NarrativeWeb, polishing and cleanup of stylesheet.
svn: r13275
2009-09-29 06:16:35 +00:00
Rob G. Healey
e35544a0df Fixed Events in display_event_header(), display_event_row(), write_event_row(), class EventListPage and EventOage. Cleanup little with alphabet_navigation(), corrections and modifications to stylesheet to match.
svn: r13271
2009-09-28 23:52:05 +00:00
Rob G. Healey
b5f10aa476 Fixes to alphabet_navigation().
svn: r13259
2009-09-26 19:13:21 +00:00
Rob G. Healey
534188f81a User choice of either horizontal or vertical alphabet navigation bar. Changes to all of the stylesheets to accomodate this change. Fixes to RepositoryList and alphabet_navigation also. Not all stylesheets are completed upto the new choice yet.
svn: r13258
2009-09-26 17:11:03 +00:00
Rob G. Healey
74e4853d5c Fixed a problem with the weekday abbreviated letters that I previously introduced.
svn: r13257
2009-09-26 09:10:08 +00:00
Doug Blank
8afdabc729 Fix to write GENDEX to tgz, if necessary
svn: r13255
2009-09-26 02:05:06 +00:00
Doug Blank
6774dc17c0 Fixed unicode normalize issue; abstracted first_letter code; add GENDEX listing
svn: r13253
2009-09-26 01:12:57 +00:00
Rob G. Healey
c022ca4233 Removed dump_source_references() from NarrativeWeb, updating of WebCal still in place. Updates to stylesheet.
svn: r13239
2009-09-23 20:31:21 +00:00
Rob G. Healey
52d573eba8 Re-placed alphabet navigation as horizontal. Fixed several problems in NarrativeWeb, and some changes to WebCal.
svn: r13231
2009-09-21 22:22:45 +00:00
Rob G. Healey
60abf87026 Fixed attributes on IndividualPage and EventPage. Stylesheet to match.
svn: r13211
2009-09-16 06:39:18 +00:00
Rob G. Healey
97b107757c This will also be in update mode until I get some of the problems ironed out.
svn: r13206
2009-09-15 08:04:26 +00:00
Rob G. Healey
3fa4338cb6 Some updating of code. Will be update for a while now.
svn: r13205
2009-09-15 08:02:57 +00:00
Rob G. Healey
d7cd58e277 Cleaned up dump_addresses() and changed write_out_addresses() to dump_addresses().
svn: r13200
2009-09-13 05:48:16 +00:00
Rob G. Healey
1430e3107a Still working with classes EventListpage() and EventPage(). Making changes as I go with the stylesheet.
svn: r13199
2009-09-13 03:43:27 +00:00
Rob G. Healey
8b2259b86d Moved self.build_events() to the conditional statement: if self.inc_events. This way it is not being ran unless you want the event pages.
svn: r13195
2009-09-12 06:06:48 +00:00
Rob G. Healey
c3d079b018 Fixed style elements that has messed up the recent WebCal.
svn: r13194
2009-09-12 03:52:42 +00:00
Rob G. Healey
79efac73da Updated work in WebCal. Updated style elements to match current work.
svn: r13193
2009-09-11 06:24:13 +00:00
Rob G. Healey
44e1291b79 Fixed alphabet navigation to remove the table elements.
svn: r13192
2009-09-11 04:14:46 +00:00
Rob G. Healey
b73ad55161 Should be final ommit for classes EventListPage and EventPage, but do not hold your breath. Stylesheet updated to match work.
svn: r13185
2009-09-10 06:15:53 +00:00
Rob G. Healey
e9b89204a8 Work is final in classes EventListPage and EventPage, modified display_ind_families() and display_attr_list(). Also changes to stylesheet to match current work.
svn: r13181
2009-09-09 08:01:20 +00:00
Rob G. Healey
fa38bf99f8 Fixed class EventList and EventPage. With it, display_attr_list(). Changed, added, and removed elements to match current work.
svn: r13160
2009-09-05 11:45:56 +00:00
Rob G. Healey
8e65bbe9c0 More work on classes EventList and EventPage. Changing elements to match current work.
svn: r13155
2009-09-03 09:35:10 +00:00
Rob G. Healey
5e7155ba88 fixed capitialization of include repository pages in Advanced tab.
svn: r13146
2009-09-01 00:52:00 +00:00
Rob G. Healey
ee71d35765 Fixed progress meter hanging at the end of creating eent pages.
svn: r13145
2009-09-01 00:49:13 +00:00
Rob G. Healey
3d8ff4b81e Fixed CSS problem with Download page.
svn: r13144
2009-09-01 00:42:36 +00:00
Rob G. Healey
1d4f36ac89 Partial fix to header and footer locations on page. Fixed Ancestor Tree overrun into footer.
svn: r13143
2009-09-01 00:10:10 +00:00
Rob G. Healey
693f293a2d Tturning in this commit because of a CSS problem with cutting the menu off. More will come soon.
svn: r13142
2009-08-31 20:13:54 +00:00
Rob G. Healey
bc83fa57a3 Fixed variable name issue in display_ind_general().
svn: r13138
2009-08-31 08:08:27 +00:00
Rob G. Healey
4f5c0bcefa Fixed multiple inconsistentcies in NarrativeWeb. Items found and reported by Peter Lundgren.
svn: r13137
2009-08-31 07:47:36 +00:00
Rob G. Healey
7e78152f7b Patch from Serge Norlaud for bug #2788. Thanks for all of your patience.
svn: r13136
2009-08-29 20:53:31 +00:00
Rob G. Healey
324a932813 Fixed translation mistake for Peter Lundgren in class EventPage.
svn: r13135
2009-08-29 09:23:09 +00:00
Rob G. Healey
c1a4897e66 Fixed table problem in class EventPage.
svn: r13134
2009-08-29 09:06:48 +00:00
Rob G. Healey
9cf7d81978 Fixed some spacing issues in Events.
svn: r13132
2009-08-29 08:35:47 +00:00
Rob G. Healey
ff6b8d2c86 Patch from Peter Lundgren. fixes Repository type translation error.
svn: r13130
2009-08-29 05:11:23 +00:00
Rob G. Healey
0ac7dc7a96 NarrativeWeb is now complete unless there are bugs. Style sheet has been updated to match current changes.
svn: r13123
2009-08-27 13:21:55 +00:00
Rob G. Healey
4538e06ac4 Modified def event_pages(), class EventListPage(), and class EventPage() to clean up a few things.
svn: r13120
2009-08-26 05:52:37 +00:00
Rob G. Healey
fd30be0e63 Fixed problem in display_ind_sources().
svn: r13103
2009-08-22 10:43:17 +00:00
Rob G. Healey
014260e615 Completed the dump of the events in the database. Added styles which are affected by the two new classes: EventListPage() and EventPage().
svn: r13096
2009-08-21 00:37:59 +00:00
Peter Landgren
5f024d5d2b Typo
svn: r13072
2009-08-19 11:05:36 +00:00
Rob G. Healey
2124169db3 Clean up work in several places display_ind_attributes(), display_child_link(), and add_birthdate().
svn: r13067
2009-08-18 21:40:36 +00:00
Rob G. Healey
69e4275776 Fixed another error brought to me by Peter Lundgren.
svn: r13040
2009-08-17 03:10:34 +00:00
Rob G. Healey
9b619a5bc3 Fixed problem in associations, fixed class SourceListPage and fixed problem in stylesheet. Errors brought to me from Peter Lundgren. Thanks again.
svn: r13026
2009-08-15 20:28:22 +00:00
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
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