Commit Graph

10487 Commits

Author SHA1 Message Date
Rob G. Healey
0fa6c81ae8 Add ability to split the navigation menu if too many items for one line based on screen width.
svn: r18722
2012-01-08 06:58:08 +00:00
Rob G. Healey
ceec3d5547 Have done alot of cleanup work on some parts of NarrativeWeb. Complete re-write of class SourcePage.
* Style sheets:  Noticed that on larger screen widths of more than 1024, that a hard- coded screen width, that the web page is only half the screen or less.  Changed screen width to 100% rather than 965px.  Might look into removing the hard- coded screen size.

* Need to look into changing how many list items are in the navigation menu based on screen width.

svn: r18721
2012-01-08 03:00:11 +00:00
Paul Franklin
9ec782fe92 typo
svn: r18720
2012-01-07 23:41:58 +00:00
Paul Franklin
f34f19d357 better PEP08, shorten some lines
svn: r18719
2012-01-07 22:55:04 +00:00
Jérôme Rapinat
0511d90949 now in 2012
svn: r18718
2012-01-07 07:48:25 +00:00
Tim G L Lyons
86ce952db5 0005351: Focus on event window should be set to "Event type" by default. Discussion also suggests focus for EditSourceRef. This patch applies that focus algorithm to EditCitation, since this, in effect, takes the place of EditSourceRef.
svn: r18715
2012-01-07 00:10:03 +00:00
Tim G L Lyons
9cfdeaa8ab Add ID code for citation object to the preferences dialogue (see posting from Jerome on Gramps Dev mailing list 13 Nov 2011)
svn: r18714
2012-01-06 23:36:51 +00:00
Tim G L Lyons
975f4dc118 GEPS 023: Updates to Check and Repair, Test Case Generator and repo and Utils
Check and Repair tool

 - new check source and citation reference function, with extensive changes from previous (temporary) check citation references function,
 - low level in-table duplicate handle check removed as this is superfluous because the main database tables do not use the DB_DUP flag,
 - Progress meter added for cross table duplicate checking and  fixed for all checks,
 - diagnostic prints added for all checks to indicate success, and for many to indicate details of failures detected. These prints could be simply changed to Log messages if necessary. Comments added to show how checks relate to Test Case Generator test data,
 - order of checks revised so empty objects are removed first,
 - fix_encoding of media paths and descriptions modified to remove invalid characters (see change to Utils),
 - check and remove empty citations added.

repo.py remove_citation_references added to fix removal of citations on addresses in Repository records.

Utils.py fix_encoding modified to add an option to ignore characters that can't be unicode encoded.

TestCaseGenerator

 - generate families extended to generate family events,
 - options dialogue updated to reflect available features and to make it clearer,
 - block transactions options removed as they were by-passed in the code.
 - progress meter updated to use current function, and to properly update for all options,
 - signal testing code (that wasn't functional anyway) removed,
 - tag generating code called when it needed to be,
 - data error generating code broken up into functions to reflect the functions in the Check and Repair tool that they are designed to test,
 - various test data functions added for testing cross table duplicates, media encoding errors, missing photos, control characters in notes, empty objects, source and citation references and a few missing broken family links tests,
 - some fixes for some test cases (check events, person events were marked as birth events)
 - fix random text so tags don't contain invalid characters and add a styled text option,
 - ensure that some citations are shared,
 - remove old redundant commit_transaction function,
 - media linked to pictures that exist in the Gramps code so that they don't appear as missing images.


svn: r18713
2012-01-06 22:56:08 +00:00
Rob G. Healey
9d31349d4b Removed surname list on Citation Referents in Source Pages as per request from Tim Lyons.
svn: r18712
2012-01-06 21:40:25 +00:00
Michiel Nauta
5b96f1de10 5478: Multiline text field in reports dialogs not rendered correctly
svn: r18710
2012-01-06 18:16:17 +00:00
Rob G. Healey
a011247f52 Fix errors on class SourcePage and write_data_map(). Thank you Tim Lyons for pointing them out to me.
svn: r18709
2012-01-06 05:46:26 +00:00
Paul Franklin
6b970b3820 cope if no image file exists
svn: r18708
2012-01-06 04:10:20 +00:00
Paul Franklin
daad52ee3e better PEP08 formatting, for 18695
svn: r18707
2012-01-05 19:52:34 +00:00
Nick Hall
809c3bb833 Improve treebasemodel to allow filtering of secondary object nodes. Fix sorting of secondary object nodes.
svn: r18706
2012-01-05 19:16:34 +00:00
Nick Hall
6ddb6dbcd1 Remove redundant variable
svn: r18705
2012-01-05 18:54:43 +00:00
Paul Franklin
fea6a2c9e3 bug #5485 (introduced at rev 18118, for f.r. #5149)
svn: r18704
2012-01-05 17:50:47 +00:00
Rob G. Healey
d1804ff84b Cleanup and consistence cleanup of code.
svn: r18703
2012-01-05 08:33:29 +00:00
Rob G. Healey
ec0e3724c6 Added a conditional to make sure that there was a citation before creating hyper links.
svn: r18702
2012-01-04 21:17:56 +00:00
Michiel Nauta
fcebd9085d 5366: When doing a backup to a non existing directory, the error msg box is unreadable Only the first characters are shown
svn: r18700
2012-01-04 18:41:43 +00:00
Rob G. Healey
01e049922c Making code changes that will make things more consistent in style.
svn: r18697
2012-01-04 00:16:44 +00:00
Michiel Nauta
00ac7302d3 5196: When reordering items in a list, make sure selected item is always visible
svn: r18696
2012-01-03 21:00:13 +00:00
Paul Franklin
ac7660c0fd clarify error typeout
svn: r18695
2012-01-03 18:27:36 +00:00
Rob G. Healey
243441f8f3 Modified the alphabet menu as it almost had faded into obilivion. Made it more prominent on the pages where it is available.
svn: r18694
2012-01-03 17:06:37 +00:00
Rob G. Healey
3345867097 Bug#5477; Applies to this one also as the same translation issuesw were in here.
svn: r18693
2012-01-03 17:04:22 +00:00
Rob G. Healey
cb48eab652 Fixed the huge time delay in Creating Event pages.
svn: r18691
2012-01-03 07:43:54 +00:00
Rob G. Healey
a01ab80692 Adjusted the navigation and alphabet menus so as they do not appear so cramped and crowded.
svn: r18690
2012-01-03 06:40:39 +00:00
Rob G. Healey
338fd336e5 Clean up of a lot of code, complete re-do of the navigation and alphabet menus.
svn: r18689
2012-01-03 05:21:42 +00:00
Doug Blank
bebc632d22 5268: Filters do not work on exporting XML gramps or generating NAVWEB
svn: r18688
2012-01-03 04:58:20 +00:00
Doug Blank
37ed4e58ca 5476: Allow user to set a default relationship type
svn: r18687
2012-01-02 15:12:18 +00:00
Michiel Nauta
1f1fc901d9 1995: DB remains locked if it is incompatible
svn: r18680
2012-01-01 22:13:46 +00:00
Nick Hall
24976ab0a6 5472: Update gramplets when database changed so that they correctly show if they have data. Also remove superfluous updates.
svn: r18679
2012-01-01 17:58:33 +00:00
Rob G. Healey
f6271eb127 Adjusted the placement of the progress bar in event_pages() in an attemp to speed up the display of the progress bar.
svn: r18677
2012-01-01 05:41:13 +00:00
Rob G. Healey
8c4d060ef2 Added text-indent to p#description; ListPage description paragraph.
svn: r18676
2012-01-01 05:39:13 +00:00
Rob G. Healey
2490aecba5 Added style elements into all style sheets.
svn: r18675
2012-01-01 01:03:45 +00:00
Rob G. Healey
96598f1646 Added list style types to the list in SourcePage.
svn: r18674
2012-01-01 00:41:27 +00:00
Rob G. Healey
c8fe7f72f2 class SourcePage is now ready.
svn: r18673
2011-12-31 23:46:54 +00:00
Nick Hall
dd653e7abb 5232: Connect database signals using the callback manager
svn: r18672
2011-12-31 22:04:06 +00:00
Michiel Nauta
d2ec6e9899 5467: Selected object after merger is not always merged object
svn: r18669
2011-12-31 18:47:05 +00:00
Nick Hall
19828dfd12 5442: Clear pedigree view when creating new database and the active person is not set
svn: r18668
2011-12-31 18:05:07 +00:00
Jérôme Rapinat
3b75def43f 5463: missing _PeoplePublic.py reference
svn: r18666
2011-12-31 10:31:17 +00:00
Jérôme Rapinat
d3141f66fb 5463: missing _IsPublic.py reference
svn: r18665
2011-12-31 07:20:07 +00:00
Rob G. Healey
fdac4f7ff8 Fixed two typos in SourcePage. Thank you, Doug Blank, for showing them to me.
svn: r18664
2011-12-30 22:09:09 +00:00
Michiel Nauta
0aee5919e2 5444: Gramps crashes when using the scroll wheel
svn: r18662
2011-12-30 19:00:21 +00:00
Rob G. Healey
874cd601d2 More work as been done on class SourcePage using the new Source/ Citation code that Tim committed. Alphabetizing of the Person referents to a Source has been done but the list is not running correctly yet.
svn: r18661
2011-12-30 08:21:23 +00:00
Michiel Nauta
5b355aa92b 5271: Gramps Crashes when trying to change tabs / views
svn: r18659
2011-12-29 20:28:33 +00:00
Paul Franklin
d03eb65fa3 avoid version incompatibility
svn: r18658
2011-12-29 01:20:00 +00:00
Michiel Nauta
8b99781b2c 2276: System themes are not followed (Hard to read)
svn: r18657
2011-12-28 21:45:56 +00:00
Paul Franklin
945bf7cf97 sort the plugins in the first two Help => Plugin Manager tabs
svn: r18656
2011-12-27 17:35:12 +00:00
Michiel Nauta
2c2a76b5a2 5290: Unhandled exception when merging people
svn: r18654
2011-12-25 09:28:45 +00:00
Rob G. Healey
c4c1b737bb Added post_init() and updated db_changed().
svn: r18653
2011-12-25 02:04:25 +00:00
Paul Franklin
1c7c08f819 added SVN "Id" line
svn: r18652
2011-12-24 23:00:19 +00:00
Paul Franklin
4cdc101c26 typos (and one file's SVN properties)
svn: r18651
2011-12-24 19:08:19 +00:00
Rob G. Healey
e0fa12b729 Fixed a crash in dump_ordinance() where I forgot to remove a variable at line 607/
svn: r18650
2011-12-23 07:33:28 +00:00
Rob G. Healey
a28fa30d27 Removed some debugging code.
svn: r18649
2011-12-23 03:08:53 +00:00
Rob G. Healey
b57f1b25cc Updated Navigation menu for allowing for more than one row of hyperlinks...
svn: r18648
2011-12-22 02:02:54 +00:00
Paul Franklin
a0a19bce77 improve CLI "indefinite" progress typeout finish
svn: r18647
2011-12-21 05:39:22 +00:00
Rob G. Healey
e4581a7db8 Changed the horizontal placement of the javascript code in the head section of the page.
svn: r18646
2011-12-21 01:03:49 +00:00
Rob G. Healey
051da7cb87 Moved javascript map code from src/plugins/lib/libhtmlconst.py to NarrativeWeb. Fixed the single marker PlacePage.
svn: r18645
2011-12-21 00:44:16 +00:00
Michiel Nauta
3584fd804f 5410: Merge dialog (context) ignores role on Events section for Person objects
svn: r18643
2011-12-20 18:52:14 +00:00
Gerald Britton
11a7aa2e8e Update libhtml.py to handle html5 and make html5 the default -- extra stuff
svn: r18642
2011-12-20 16:38:05 +00:00
Gerald Britton
78e3584aec Update libhtml.py to handle html5 and make html5 the default
svn: r18641
2011-12-20 15:55:31 +00:00
Rob G. Healey
54b3aea146 Committing changes only for the purpose of getting help.
svn: r18640
2011-12-20 09:17:00 +00:00
Paul Franklin
4b5c061554 typos
svn: r18639
2011-12-19 22:43:21 +00:00
Michiel Nauta
dc4061b410 4156: Database export crash because of entagled jpeg libraries
svn: r18636
2011-12-19 18:35:23 +00:00
Michiel Nauta
9d3cf48703 5451: 'Clear' clipboard causes crashes
svn: r18632
2011-12-19 14:32:57 +00:00
Jérôme Rapinat
f2d9da1fe0 1698: tooltips on buttons (Style Editor on report dialogs)
svn: r18631
2011-12-19 14:13:55 +00:00
Michiel Nauta
bc3a9d3241 5433: Wrong url separator in Webreport for some pictures
svn: r18629
2011-12-19 09:26:51 +00:00
Jérôme Rapinat
ec0e77cc4f 3903: Message doesn't sound right
svn: r18628
2011-12-18 10:31:13 +00:00
Michiel Nauta
cce7dcc43c 5439: Wrong row when dragging upwards to move items in embedded list
svn: r18626
2011-12-18 10:06:39 +00:00
Rob G. Healey
3cb96532dc First part of what the Source Pages will look like. I need to make it pretty instead of dirty and unclean.
svn: r18625
2011-12-18 10:05:17 +00:00
Jérôme Rapinat
748da04b76 3954: Language list for rel_de not complete (contribution by Reinhard)
svn: r18623
2011-12-18 09:23:10 +00:00
Jérôme Rapinat
b21d78d004 3954: Language list for rel_de not complete; 5438: Relationship calculator for Catalan
svn: r18620
2011-12-18 09:10:11 +00:00
Paul Franklin
bcd7c38e4e typos
svn: r18617
2011-12-17 21:04:50 +00:00
Paul Franklin
03ed481f50 shorten some lines (better PEP08), translate some strings
svn: r18611
2011-12-16 22:00:52 +00:00
Jérôme Rapinat
1fb9453723 5392: Addon check type strings are not translatable
svn: r18609
2011-12-16 12:37:34 +00:00
Jérôme Rapinat
9e22c74162 5301 5320 ATK support; minor accessibility improvement
svn: r18607
2011-12-16 12:19:50 +00:00
Paul Franklin
107a589212 add bookname to report_options.xml
svn: r18604
2011-12-15 16:54:52 +00:00
Rob G. Healey
5d034ca7a2 Isolate and only place map markers for Birth, Death, Census, Marriage, and Divorce events for the Place and Family Map Pages.
svn: r18603
2011-12-15 07:54:29 +00:00
Rob G. Healey
31803e2f3b Adjusted and cleanup of the Maps style sheet.
svn: r18602
2011-12-15 07:17:23 +00:00
Rob G. Healey
f6d61112af Completed stylesheet cleanup.
svn: r18601
2011-12-15 04:37:51 +00:00
Rob G. Healey
344f682367 Part One of a complete cleanup of Blue stylesheet and navigation menus.
svn: r18600
2011-12-14 23:00:33 +00:00
Rob G. Healey
11858a624d Remove Event and Family media on Individual Pages if the Event and Family pages are already being created.
svn: r18599
2011-12-14 19:43:24 +00:00
Paul Franklin
58172ea0a3 cope better when LANG is not set at all
svn: r18597
2011-12-14 19:00:39 +00:00
Paul Franklin
3c54cda718 typos
svn: r18594
2011-12-13 17:10:21 +00:00
Doug Blank
96bd83275e Need to upate cache and probably_alive after edit/import
svn: r18593
2011-12-13 14:23:13 +00:00
Rob G. Healey
e3227d6374 Adjusted several style elements for better layout and presentation.
svn: r18592
2011-12-13 07:31:46 +00:00
Rob G. Healey
f210c0ea4f Some cleanup in the Maps.
svn: r18591
2011-12-13 06:10:57 +00:00
Rob G. Healey
9a4b839830 Fixed all of the Family and Place Map Pages.
svn: r18590
2011-12-13 04:58:49 +00:00
Doug Blank
1d109195b8 Person view details and edit sorta working
svn: r18589
2011-12-13 02:08:47 +00:00
Doug Blank
e705da749c Webapp refinements
svn: r18588
2011-12-12 23:21:13 +00:00
Doug Blank
42c397f830 Return self from serialize to work with the create method
svn: r18587
2011-12-12 23:20:18 +00:00
Michiel Nauta
13f3afe9aa 5349: Filter and "Quick Filter" are not applied when you press [Enter]
svn: r18585
2011-12-12 18:37:53 +00:00
Doug Blank
7d5eebfebc Citation refinements
svn: r18584
2011-12-12 13:09:44 +00:00
Doug Blank
ef463c851e One citation bug fix (typo); change needed due to Django 1.3 security issue re: passing model to function
svn: r18583
2011-12-12 12:23:28 +00:00
Doug Blank
d97ece24a6 Upgraded Django database to version 15, with citations
svn: r18581
2011-12-12 03:43:58 +00:00
Doug Blank
5892d0b586 Upgraded database to version 15, with citations
svn: r18580
2011-12-12 01:52:59 +00:00
Tim G L Lyons
992779a534 0005414: Crash in SourceView. LRU clear does not reset first and last pointers
svn: r18579
2011-12-11 21:18:29 +00:00
Paul Franklin
1ee2a4ec30 revert 18559 and 18560
svn: r18578
2011-12-11 19:09:19 +00:00
Doug Blank
4409f30bc2 5423: Incorrect age for 'death before XX'
svn: r18576
2011-12-11 15:58:16 +00:00
Rob G. Healey
f1ea8590d8 Fixed missing OpenStreetMap (OSM) map on Place Pages.
svn: r18573
2011-12-11 05:50:13 +00:00