Commit Graph

462 Commits

Author SHA1 Message Date
Rob G. Healey
61f262a339 Added title and alt attributes to images and http links for better ability for screen readers and braille writers. These changes make it so that the devices can read the page to its users.
svn: r15257
2010-04-22 01:27:53 +00:00
Rob G. Healey
1a11af68fa Removed the use of key in write_header(). Added <h2> tags back into write_header() so that the printed pages can be identified by it. Re-wrote alphabet_navigation for the class EventsListPage only. Added title for navigation and alphabet so that screen readers and braille writers can identify the menu items.
svn: r15256
2010-04-22 01:24:05 +00:00
Doug Blank
d8d47881ab 3430: Add Gramps version to the output of reports
svn: r15238
2010-04-19 14:39:04 +00:00
Doug Blank
4d51c49508 3863: Narrative Web report : role not displayed when not primary
svn: r15234
2010-04-19 13:48:54 +00:00
Doug Blank
c0fa9b4b37 Format references: [1], [2]
svn: r15229
2010-04-19 11:01:33 +00:00
Doug Blank
d71d5c67dc 3868: NarWeb Associations should be a link to the person's webpage
svn: r15228
2010-04-19 10:53:16 +00:00
Doug Blank
bec07d4543 3862: Narrative Web Report - Hyperlink on image regions no more clikable
svn: r15220
2010-04-18 16:14:59 +00:00
Doug Blank
3afeecc8b2 3805: Report 'Narrated Web Site...' - Contact page will be shown only if Publisher contact note OR image was set before
svn: r15218
2010-04-18 13:52:59 +00:00
Doug Blank
385c4d0a6d 3863: Narrative Web report : role not displayed when not primary; moved associations above sources to include assoc sources
svn: r15209
2010-04-18 11:07:12 +00:00
Rob G. Healey
a558bd68c1 Changed trunk favicon.ico to favicon2.ico as Benny suggested.
svn: r15206
2010-04-18 02:14:03 +00:00
Doug Blank
fc298c806c 3544: Narrated web report does not get created
svn: r15197
2010-04-17 21:58:09 +00:00
Doug Blank
8d9ad55ae6 Rest of fix of 3837
svn: r15188
2010-04-17 18:34:00 +00:00
Doug Blank
87dd9aff24 CSS fixes and partial fix to 3837
svn: r15185
2010-04-17 14:49:36 +00:00
Doug Blank
ee4f0923aa Changed a gettext string (home -> active); only show home link if person is selected
svn: r15181
2010-04-17 13:14:50 +00:00
Doug Blank
fbac7a716d Show gallery in order of media_list, and include snapshot in gallery
svn: r15178
2010-04-17 12:35:32 +00:00
Rob G. Healey
2d23b3c174 Fixed the home_link in the footer.
svn: r15177
2010-04-17 01:44:18 +00:00
Doug Blank
b2d31be01a Removed unnecessary return
svn: r15172
2010-04-17 00:47:53 +00:00
Doug Blank
8a16a9ac2f 3848: Web Report Revision 15110, missing name
svn: r15171
2010-04-17 00:21:12 +00:00
Benny Malengier
56c85f0255 3815: Notes with html show verbatim in narrative web
svn: r15169
2010-04-16 20:59:10 +00:00
Doug Blank
9a8626a668 Protection from scale error
svn: r15165
2010-04-16 15:38:32 +00:00
Doug Blank
782ac444b0 Create Addressbook Page, even if no addresses if it is checked; center mainz addressbook pages
svn: r15155
2010-04-15 21:44:09 +00:00
Doug Blank
9aa81df81e 3829: Narrated Web Site: Type of source ref note is not output
svn: r15143
2010-04-15 12:40:17 +00:00
Doug Blank
82b7d8d168 Long/lat showing as None
svn: r15141
2010-04-15 10:52:49 +00:00
Doug Blank
20a3958294 Repository name was double-escaped
svn: r15139
2010-04-15 10:47:15 +00:00
Doug Blank
72ebf72840 Added cropped region thumbnail to ancestor tree
svn: r15138
2010-04-15 10:40:50 +00:00
Rob G. Healey
14767e285f Some cleanup work on class RepositoryList.
svn: r15135
2010-04-15 06:49:26 +00:00
Doug Blank
62fd3f8874 3845: In NarrativeWeb plugin, would like to remove the <sup> from the source annotations, by adamplumb
svn: r15130
2010-04-15 04:12:07 +00:00
Doug Blank
bed9092bb9 3843: In NarrativeWeb plugin Events Table, the column needs to be written even if no notes exist, by adamplumb
svn: r15129
2010-04-15 04:03:20 +00:00
Doug Blank
a85114fa66 3828: Narrated Web Site: Association output is incorrect, by kulath
svn: r15128
2010-04-15 03:52:01 +00:00
Doug Blank
3de2b43491 If first image is a image with region that links to object, then use a thumbnail of the region for snapshot; show regions in snapshot thumbnails otherwise; some refactoring
svn: r15126
2010-04-15 03:01:07 +00:00
Rob G. Healey
e2f6a57f74 Fixed class SourcePage where information would not be created if 'Suppress Gramps IDs' was selected.
svn: r15124
2010-04-15 01:59:10 +00:00
Rob G. Healey
491f0d3180 Fixed the place detail missing because if place.main_loc in dump_places() was indented one too far.
svn: r15111
2010-04-14 06:00:58 +00:00
Rob G. Healey
9281d1388c Removed the extra media_ref_rect_regions that should not have been tried in the first place. Remove ColumnPath from display_url_list().
svn: r15108
2010-04-14 04:58:27 +00:00
Doug Blank
98e8a6aaf8 3822: Narrated Web Site: citations for person sources are missing
svn: r15106
2010-04-14 00:26:24 +00:00
Doug Blank
57d289fee9 3827: Narrated Web Site: Dates for Alternate names are not shown, by kulath
svn: r15100
2010-04-13 02:49:05 +00:00
Doug Blank
42f948b606 3834: Death date on individuals an surnames pages in Narrative Web Report
svn: r15099
2010-04-13 02:38:26 +00:00
Doug Blank
73ed8a51dc 3676: NarrativeWeb report sometimes uses urls not availables (filter, proxy, living)
svn: r15095
2010-04-13 02:16:42 +00:00
Rob G. Healey
8be9e00ff5 Fixed note issue in header_note and footer_note.
svn: r15069
2010-04-09 22:35:35 +00:00
Rob G. Healey
ca25394c46 Fixed the center person to be using the actual center person option in NarrativeWeb.
svn: r15061
2010-04-08 05:10:36 +00:00
Rob G. Healey
734c907fcb Fixed footer note to use straight HTML code instead of styled text.
svn: r15060
2010-04-08 02:29:12 +00:00
Rob G. Healey
003029f0bc Bug #3816: Fixxed header note so that there is no formatting. Straight HTML.
svn: r15055
2010-04-07 23:43:37 +00:00
Rob G. Healey
98146a9b6c Fixed page source layout for links so that they all line up together.
svn: r15054
2010-04-07 23:38:12 +00:00
Rob G. Healey
35874b1145 Removed libaccess, improved birth and death lookup in IndividualPages.
svn: r15032
2010-04-04 23:36:55 +00:00
Raphael Ackermann
a5079f5031 fix typos in doc
svn: r15031
2010-04-04 21:06:45 +00:00
Rob G. Healey
a6dd3e861d Fixed download page table being oversized. Removed download page note from download page. Bug#3795 should be resolved.
svn: r15002
2010-04-03 01:22:40 +00:00
Rob G. Healey
16e1cc5e3e Exacted changes to reflect the change from Web_Alphabet-*.css to Web_Navigation-*.css
svn: r14991
2010-04-01 16:16:01 +00:00
Rob G. Healey
ec6ccdc58f Changed names of Navigation Alphabet stylesheets. Cleanup code and stylesheets.
svn: r14988
2010-04-01 15:11:33 +00:00
Doug Blank
5c4b9e0241 0003734: [Calendars] Only add persons whose birth date is year/01/01 on the first january
svn: r14981
2010-04-01 01:02:55 +00:00
Rob G. Healey
08331a522f Fix for bug #3775. Add separation between citation links.
svn: r14978
2010-03-31 07:54:48 +00:00
Rob G. Healey
433033f6b8 Converted Date, Name, and NameType to gen.lib.object so that libaccess can be used instead.
svn: r14977
2010-03-31 02:45:39 +00:00
Rob G. Healey
902b343897 Changed some of the gen.lib objects back to gen.lib. EventType, Person, ChildRelType...
svn: r14973
2010-03-30 07:52:35 +00:00
Stéphane Charette
876f0ac1d3 merged from 32: only scale images down, not up
svn: r14958
2010-03-28 14:48:23 +00:00
Stéphane Charette
efaec2271c merged from 32: remove stray html on resized images
svn: r14957
2010-03-28 14:36:34 +00:00
Rob G. Healey
d50cfb29f1 Created CSS elements for WebLinks sections in Individual Pages and AddressBook Pages. Fixed missing hyperlinks and description fields. Problem from Alain Aupeix. No bug tracker created.
svn: r14942
2010-03-27 07:11:10 +00:00
Rob G. Healey
befcd007fa Fixed missing notes and sources in Event Section of Individual Pages. Reported by Alain Aupeix and Stephane Charette. No bug report generated.
svn: r14937
2010-03-26 23:51:31 +00:00
Rob G. Healey
dd5ba77a0a Fixed a navigation menu errors in WebCal and Basic-Blue and Visually.
svn: r14936
2010-03-26 22:51:53 +00:00
Rob G. Healey
ab64cf35a9 Added notes and sources back to the Events on the IndividualPage again! It was on the EventPage. Problem brought me by Alvin and Stephane.
svn: r14926
2010-03-26 05:50:40 +00:00
Peter Landgren
e2bb5062d1 Fix of issue 3737.
svn: r14877
2010-03-20 11:54:17 +00:00
Jérôme Rapinat
7d3cebada8 3744: Cannot display name, description, uri for 'Web Home' web link generated by NarrativeWeb (need descr)
svn: r14875
2010-03-20 08:25:55 +00:00
Jérôme Rapinat
42b092b307 3738: ftp url can lead to NarrativeWeb crash (typo)
svn: r14872
2010-03-20 04:20:18 +00:00
Rob G. Healey
929f63ceea Did some cleanup work on the import statements.
svn: r14870
2010-03-20 00:31:03 +00:00
Jérôme Rapinat
84ab4206dc 3696: Typo on translation strings into NarrativeWeb
svn: r14828
2010-03-15 11:13:51 +00:00
Rob G. Healey
71a21b507e Cleaned up display_url_list().
svn: r14749
2010-03-11 07:14:54 +00:00
Rob G. Healey
34148aea8a NarrativeWeb: Fixed Address Book not creating page if there was no address. Stylesheets: Cleanup to correctly show AddressBookList.
svn: r14744
2010-03-10 22:40:14 +00:00
Benny Malengier
a3b52f5878 3657: Calculation od step siblings is incorrect in narrated Web report
svn: r14667
2010-03-07 16:09:06 +00:00
Doug Blank
dcfb25abc4 Trunk is now version 3.3.0
svn: r14653
2010-03-06 22:47:25 +00:00
Doug Blank
a033320589 3665: Crash with Webcal report when linking with WebReport
svn: r14648
2010-03-06 13:29:02 +00:00
Rob G. Healey
a6d8438b31 Fixed Horizontal/ Vertical menu options in NarrativeWeb. Fixed alphabet/navigation menus in the stylesheets.
svn: r14562
2010-03-02 07:40:48 +00:00
Rob G. Healey
d6e4126cea Fixed Navigation Menus. Updated stylesheets.
svn: r14559
2010-03-02 01:16:46 +00:00
Rob G. Healey
05edffadad Still working on it.
svn: r14495
2010-02-26 07:01:15 +00:00
Rob G. Healey
f0b68e8d94 Fixed place.lat and place.long in class PlaceListPage. Working on Navigation menu placement and look.
svn: r14492
2010-02-26 01:02:12 +00:00
Rob G. Healey
d3a1cae6ae Added Vertical and Horizontal Navigation Menus back into NarrativeWeb. Added State, Country, and Lat & Long to the PlacesListPage.
svn: r14490
2010-02-25 22:28:03 +00:00
Rob G. Healey
36a91b6cb9 Changed some formatted strings to named variables for 'make distcheck' to work properly.
svn: r14483
2010-02-25 15:52:32 +00:00
Peter Landgren
ba5f5ea7eb Missed () in some constfunc.win().
svn: r14434
2010-02-22 08:17:36 +00:00
Benny Malengier
f672cdc200 Make reference regions show in website, fix bug with empty places, ... not creating website
svn: r14372
2010-02-14 21:00:54 +00:00
Benny Malengier
b6f85080cf Fix bug, function should return a two tuple
svn: r14371
2010-02-14 20:41:11 +00:00
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