Commit Graph
100 Commits
Author SHA1 Message Date
Doug Blank cd779d5163 8145: Some Addons provide an update even it was already done during the last start of Gramps 2015-01-05 15:23:39 -05:00
Doug Blank d295142a4d In testing, reset config options in tearDown so subsequent tests are not affected 2015-01-04 14:44:12 -05:00
Doug Blank 66fd541eea Renamed gramps.gen.lib.calendar to gramps.gen.lib.gcalendar to avoid import conflict with Python lib calendar 2015-01-04 12:33:06 -05:00
Doug Blank e568babb33 Records Gramplet uses wrong text 2015-01-03 11:01:35 -08:00
Doug Blank f626cb9d0a Test method name changes for automatic test detection 2015-01-03 11:24:13 -05:00
Doug Blank bc4cd8ec2e Merge branch 'master' of ssh://git.code.sf.net/p/gramps/source 2015-01-03 10:28:06 -05:00
Doug Blank cfb3b2cc84 Renamed test methods for proper automatic detection 2015-01-03 10:27:39 -05:00
Doug Blank ed70aa0d74 Fix date_handler by renaming non-test methods; removed gedcom import tests that rely on old code, and didn't test much 2015-01-03 09:15:58 -05:00
Doug Blank 2b1405624f Fixes to DictionaryDb for Python3 and current gramps 2015-01-03 09:01:48 -05:00
Doug Blank 797f6c1683 merge_ref_test and importxml_test now passing 2015-01-02 22:32:25 -05:00
Doug Blank 626c11999e merge_test now passing all tests 2015-01-02 21:57:25 -05:00
Doug Blank dcea49c2a7 Updates for struct to pass unit tests 2015-01-02 17:28:38 -05:00
Doug Blank 24d9e001a5 6690: Not being able to write a .gramps produces a scary message about DB corruption 2014-01-17 07:45:08 -05:00
Doug Blank 01da495ede Delete items in list by assigning Null 2014-01-09 10:43:05 -05:00
Doug Blank 946a213fbc Allow calling lists to select and filter 2014-01-08 10:22:32 -05:00
Doug Blank 37ba4122ba SQL-like allows selection and filter of elements in a list using attr.attr('part', part=value) 2014-01-07 21:46:55 -05:00
Doug Blank 0ff5aa88ad 7357: Adding link to a "Html code" note using the "Link" button has no effect 2014-01-07 10:48:56 -05:00
Doug Blank 5b17d597fe Experimental subselection in list using list['field1, field2'] 2013-12-28 14:34:00 -05:00
Doug Blank cad20f42f1 Allow an attribute lookup on a list to select from the list 2013-12-28 13:32:15 -05:00
Doug Blank 2a4ba037c6 Fixed RefBase.to_struct in gen.lib objects 2013-12-28 10:11:43 -05:00
Doug Blank c07aebd7d0 Error in schema 2013-12-27 18:28:04 -05:00
Doug Blank 4e9559c6eb Added link keyword to row method of SimpleTable 2013-12-27 10:43:51 -05:00
Doug Blank 8026a9aa1f Handle update set anywhere in struct 2013-12-27 01:56:33 -05:00
Doug Blank feaf10b8c9 Add batch to DictionaryDB; update Query updates in batch mode 2013-12-26 16:16:57 -05:00
Doug Blank f7a367e602 Fixed Gtk3 buffer.get_text issue 2013-12-26 16:16:07 -05:00
Doug Blank c66e4b0149 Removed handling of control+v from default pageview handler that was only used in places where it shouldn't (dashboard) 2013-12-26 15:08:08 -05:00
Doug Blank 579f17a687 Revised Struct get and set now that Python handles lookup through eval; general cleanup 2013-12-26 11:32:00 -05:00
Doug Blank 7b9fa14ef7 Cleanup, all selects, and deletes working 2013-12-26 00:18:39 -05:00
Doug Blank 6528044b1c Different in getitem depending on whether assignment, or lookup; fixed from_struct on BaseRef 2013-12-25 18:02:48 -05:00
Doug Blank 7224bda047 Removed getitem_from_path---now uses eval() [eg, __getitem__] for such functions 2013-12-25 16:48:40 -05:00
Doug Blank 7daf720ee7 Error in using transactions 2013-12-24 20:40:56 -05:00
Doug Blank 2fb9f2ffa0 Working in remove in dictionaryDB; fix for Dictionary Cursors 2013-12-24 11:24:02 -05:00
Doug Blank 90eda9d89c Added missing get-all methods 2013-12-24 10:39:44 -05:00
Doug Blank a050704299 Protection from fields that are None in Struct 2013-12-24 09:30:39 -05:00
Doug Blank ce07c7e15f Added missing Handle in to_struct in refbase 2013-12-24 09:28:37 -05:00
Doug Blank a72c6eac96 Don't go through loop if not Python 3; fixed typo 2013-12-23 15:19:18 -05:00
Doug Blank 6e325a9190 Allow update_db to work with existing transaction; setitem now works; getitem will return Struct only when more struct 2013-12-23 13:58:23 -05:00
Doug Blank 27453a7587 Added remove_func to _tables; added remove_from_database(item) 2013-12-23 13:56:25 -05:00
Doug Blank f5336d2296 unicode literals for {} formats 2013-12-20 11:59:07 -05:00
Doug Blank a859b5f562 Added unicode_literals; thanks Nick 2013-12-20 11:14:32 -05:00
Doug Blank 59ac850d9a Changes for Python client to login and exchange webapp server data 2013-12-20 08:14:11 -05:00
Doug Blank 6aaf932a61 Added http://URL?format=json version to use same URLs but to get JSON format (works on primary detail views); see also http://URL/json?q=SEARCH&field=person for query interface 2013-12-20 01:33:30 -05:00
Doug Blank fe6806de57 Ability to use 'where ITEM in part.part.part' for the Query Gramplet 2013-12-20 01:28:54 -05:00
Doug Blank 4051984031 Person.save() now also computes probably_alive (but only when computing cache, too) 2013-12-20 00:21:05 -05:00
Doug Blank e649e5514d Changed {} format 2013-12-20 00:18:46 -05:00
Doug Blank aa96ebc333 Updates to webapp: move cache updates to save of models to make it so that they cannot become out of sync with data; moved svg images to png forms to work with all browsers 2013-12-19 22:55:14 -05:00
Doug Blank ab46727c56 Changes in Struct to allow SQL-like query interface 2013-12-19 22:52:04 -05:00
Doug Blank 870f776fa5 Merge branch 'master' of ssh://git.code.sf.net/p/gramps/source 2013-12-19 22:50:34 -05:00
Doug Blank 0d5e006953 Added meta settings to make sure they are bound to correct methods (of the proxies) rather than actual db methods 2013-12-19 22:50:16 -05:00
Doug Blank 0254f7006d Remove duplicate line 2013-12-15 10:47:26 -05:00
Doug Blank cdefb047ef Fix for deleting tags in people model; fix for calendar graphical report when too many 2-line entries in day 2013-12-15 10:40:18 -05:00
Doug Blank 8c9310aebc Webapp: move toolbar buttons closer to edited data 2013-12-02 21:51:01 -05:00
Doug Blank 28095ac397 Changes to serve static admin files for Django 1.5.4 2013-11-23 08:16:52 -05:00
Doug Blank e0de21041c Don't add notes etc on import into temp dictionary used for diff and sync 2013-11-16 14:13:12 -05:00
Doug Blank a3749090aa Protect 3-min refresh if buffer is empty 2013-11-16 09:29:45 -05:00
Doug Blank 2e746a21da Working on get_schema(type) to provide a self-documenting infrastructure 2013-11-14 09:23:52 -05:00
Doug Blank 97f3a1d9ae Updated Django backend to new Place changes; import/export working--need verification 2013-11-14 00:26:06 -05:00
Doug Blank 41f8df9a94 Don't show stack variables; redo this and dump to a file 2013-11-12 21:50:10 -05:00
Doug Blank 732743cec5 Missing methods on dictDB; added tests for setting struct 2013-11-12 20:09:04 -05:00
Doug Blank 88f3cfa3f7 Working on setting structs 2013-11-12 17:18:06 -05:00
Doug Blank 2c1ba1496b Working on select/update from Struct 2013-11-12 15:24:15 -05:00
Doug Blank 7f2394337d get_dependencies returns a set 2013-11-10 15:59:09 -05:00
Doug Blank 49b7c09cea Revised Handle class; added get_dependencies; revised Struct class to allow changes 2013-11-10 15:17:47 -05:00
Doug Blank b0517d0ee4 Added db.get_transaction_class to connect db and txn; refactored _tables metadata 2013-11-10 15:07:14 -05:00
Doug Blank 94dbcc5ac7 Interface for getting/setting struct parts by dotted path 2013-11-10 09:11:49 -05:00
Doug Blank c24e037a64 Fix Handle.from_struct to return just handle 2013-11-09 23:14:11 -05:00
Doug Blank 130e2890c6 Change Handle as string to be pure JSON-like representation 2013-11-09 21:58:16 -05:00
Doug Blank 4405e32cb9 Added metadata to struct to allow object creation 2013-11-09 21:28:40 -05:00
Doug Blank d5be60846d Undo change that made a superfluous change (extra space) to XML format 2013-11-09 19:08:09 -05:00
Doug Blank abfc1dd698 Updated example.gramps 2013-11-09 19:06:11 -05:00
Doug Blank 8951d92739 Merge branch 'master' of ssh://git.code.sf.net/p/gramps/source 2013-11-09 17:00:09 -05:00
Doug Blank 8980d7be87 from_struct uses defaults from object if not given in JSON-like representation 2013-11-09 16:59:42 -05:00
Doug Blank 564aaf88a7 Added from_struct to all objects; can now instatiate an object with JSON-like structs; added 10k tests that all pass 2013-11-09 10:43:30 -05:00
Doug Blank b3f6b8f27a Change iteritems to items to allow to work with dictionaries in Python3 2013-11-09 10:41:26 -05:00
Doug Blank 32d71a3897 Changes for Django 1.5.4
svn: r23474
2013-11-08 09:22:12 -08:00
Doug Blank bd501a8357 Protect from no shown image yet
svn: r23467
2013-11-08 09:21:07 -08:00
Doug Blank f31ad236e4 Missing newline
svn: r23465
2013-11-07 11:28:20 -08:00
Doug Blank 9670f8ff1c Don't show try to make thumbnail if not a pixbuf yet
svn: r23459
2013-11-07 11:27:23 -08:00
Doug Blank 4cbb54bd88 Added callback parameter to __init__ method so that all editors have a uniform signature (called from Note Link)
svn: r23455
2013-11-07 11:26:22 -08:00
Doug Blank 3f36cc9cdc Allow drag and drop on image
svn: r23450
2013-11-07 11:25:44 -08:00
Doug Blank ec76905791 Show local variables on unhandled crash
svn: r23446
2013-11-02 16:38:35 +00:00
Doug Blank 9ef373651f Code for low-level database copy; sometimes corrupted, not sure why
svn: r23416
2013-10-26 12:25:52 +00:00
Doug Blank bdf9f42477 GUI changes for Copy function in Family Tree Manager dialog
svn: r23415
2013-10-26 00:30:49 +00:00
Doug Blank 81ca515038 Removed debugging info; moved to standard admin, redirect not working
svn: r23414
2013-10-25 22:49:55 +00:00
Doug Blank 507a1f9b9f PIL not needed
svn: r23413
2013-10-25 22:02:45 +00:00
Doug Blank 9ffe6d13e3 7158: Some filters need a date of today; request to add "today" as a valid date to parser; allow 'today (hebrew)'
svn: r23406
2013-10-25 12:59:54 +00:00
Doug Blank 1814c41c9a Fix to convert note text str to unicode (cuni)
svn: r23388
2013-10-25 01:26:45 +00:00
Doug Blank da1eadacd6 Fix for very long texts in a column
svn: r23387
2013-10-25 01:18:29 +00:00
Doug Blank 7d67e2bc46 7158: Some filters need a date of today; request to add "today" as a valid date to parser
svn: r23386
2013-10-24 22:27:14 +00:00
Doug Blank 365daaba62 Moved code to get links from notes to Note object; updated quickview
svn: r23382
2013-10-24 14:31:21 +00:00
Doug Blank 39a3f50a96 Add default charset for Django settings; change from default pdf output to html
svn: r23380
2013-10-24 11:40:35 +00:00
Doug Blank 83fc3ad4e8 Moved import of ProgressMeter inside prepare methdod; FIXME: use User class instead
svn: r23377
2013-10-24 04:25:17 +00:00
Doug Blank fb704558e2 Change for Django 1.5.4, no more redirect_to
svn: r23376
2013-10-23 17:45:42 +00:00
Doug Blank b91927e37c Added gramps. to webapp imports (should make webapp a package)
svn: r23375
2013-10-23 17:16:39 +00:00
Doug Blank 46ceab3ca8 Apparently, when running as a script, sys.stdout might not have an encoding
svn: r23374
2013-10-23 17:03:40 +00:00
Doug Blank bcf43e9a02 Bump copyright up to 2013
svn: r23373
2013-10-23 10:58:19 +00:00
Doug Blank 8ece67cab1 Initial protection for not having PIL (either not installed or not available, python3)
svn: r23372
2013-10-23 02:07:27 +00:00
Doug Blank e06051fa7c Allow to be used without bsddb installed, for uses where it is not needed (webapp and other uses)
svn: r23371
2013-10-23 02:00:38 +00:00
Doug Blank 8667fbc971 CLI run_report: use User()
svn: r23340
2013-10-19 13:08:56 +00:00
Doug Blank f74d1e51a1 Handles: add __str__ method
svn: r23339
2013-10-19 13:08:19 +00:00