Commit Graph

56 Commits

Author SHA1 Message Date
Veronica K. B. Olsen 0a571502ce Merge branch 'main' into testing 2021-02-20 17:40:30 +01:00
Veronica K. B. Olsen 464c7dae0a Fix an issue in index with open a version 1.2 project 2021-02-20 17:27:32 +01:00
Veronica K. B. Olsen 3baeef4f44 Drop the whole firstTitle index again 2021-02-01 23:20:07 +01:00
Veronica K. B. Olsen a2929ef441 Merge branch 'release' into dev 2021-02-01 23:02:40 +01:00
Veronica K. B. Olsen af21f3c5d8 Add index functions to extract headers and word counts for a given handle 2021-02-01 22:48:07 +01:00
Veronica K. B. Olsen b7766946d8 Update index check and test 2021-01-29 20:43:04 +01:00
Veronica K. B. Olsen 9486749345 Merge branch 'dev' into item_layouts 2021-01-29 20:20:16 +01:00
Veronica K. B. Olsen 89ba4aeeaf Use the logException function in all places where exception messages are written to the error log 2021-01-29 18:29:50 +01:00
Veronica K. B. Olsen a2f223a992 Perform a detailed check of the loaded index to make sure everything is in order 2021-01-29 18:15:00 +01:00
Veronica K. B. Olsen 59cfb14a19 Add a first title index that tracks the level and location of the first title of a file 2021-01-29 00:57:34 +01:00
Veronica K. B. Olsen ba2bdf8ea4 Add page offset spinbox to Contents tab on Project Details dialog 2021-01-24 22:49:13 +01:00
Veronica K. B. Olsen c35255b82b Merge branch 'file_headers' into source_code_maintenance 2021-01-16 17:51:32 +01:00
Veronica K. B. Olsen cdf3c62d17 Reformat and update the source file header docstrings 2021-01-16 17:41:40 +01:00
Veronica K. B. Olsen 2958881343 Fix issue with changing novel doc to note before indexing which produces duplicate entry 2021-01-11 21:05:55 +01:00
Veronica K. B. Olsen 981e26e1b6 Use actual novel word count in project details, and update index test 2021-01-11 21:02:45 +01:00
Veronica K. B. Olsen 8d218db35f Project Details page Overview populated 2021-01-10 15:54:36 +01:00
Veronica K. B. Olsen 14a0e6bd6e Allow indexing of untitled pages, and add a ToC function to the index class 2021-01-10 00:13:26 +01:00
Veronica K. B. Olsen 323ab5498b Merge branch 'dev' into novel_tab 2021-01-03 17:17:30 +01:00
Veronica K. B. Olsen 418d45cd8d Merge branch 'main' into release_1.0 2021-01-03 15:12:56 +01:00
Veronica K. B. Olsen 9615098d76 Some minor improvements to the index 2021-01-03 02:04:31 +01:00
Veronica K. B. Olsen 9d9b64fc3d Fix a couple of broken checks 2021-01-03 01:45:05 +01:00
Veronica K. B. Olsen 1bdf0b5500 Make index dictionaries internal 2021-01-02 22:28:30 +01:00
Veronica K. B. Olsen acb6f1fc87 Add novel data extraction function to index 2021-01-02 22:22:05 +01:00
Veronica K. B. Olsen e4d160ee0b Make novel structure function in index class an iterable function instead 2021-01-02 21:37:46 +01:00
Veronica K. B. Olsen 4d7f925c5a Added timestamp to project tree, and made some class variables internal in various classes 2021-01-02 16:57:12 +01:00
Veronica K. B. Olsen b2d3b2cf72 Bump copyright year to 2021 2021-01-01 15:14:37 +01:00
Veronica K. B. Olsen 8e95728e20 Move the keyword maps into the nwKeyWords constants class where the keywords are defined 2020-10-27 20:30:11 +01:00
Veronica K. B. Olsen c0ad631039 Updated source file descriptions 2020-10-23 21:05:41 +02:00
Veronica K. B. Olsen 37c5ecc755 Skip intermediate steps when loading/saving json files, and always use 2 space indent 2020-10-21 20:05:54 +02:00
Veronica K. B. Olsen 1923a55443 Code cleanup in core classes and rename of parHandle to itemParent in NWItem class 2020-10-15 19:08:35 +02:00
Veronica K. B. Olsen dceb5e62c6 Fixed a typo and downgraded some error messages in the index class to info 2020-10-06 01:37:30 +02:00
Veronica K. B. Olsen 238b3c254e Fixed the monkeypatching of time.time() 2020-09-30 23:43:50 +02:00
Veronica K. B. Olsen 86d5a6f6b2 Coverage of index class 100% 2020-09-30 22:57:00 +02:00
Veronica K. B. Olsen 6fc5dad938 Fixed some potential issues with getting the trash folder handle, and made some minor improvements to index class methods 2020-09-30 21:50:59 +02:00
Veronica K. B. Olsen e251ddacd2 Completed coverage of setProjectPath and made all os imports explicit 2020-09-29 23:27:51 +02:00
Veronica K. B. Olsen eb66b879c5 Imports cleanup 2020-09-26 13:02:51 +02:00
Veronica K. B. Olsen ad50ef6e8c Fix bug in document section stats 2020-09-24 23:24:15 +02:00
Veronica K. B. Olsen 67f8a36272 Change copyright year to year-range 2020-09-22 23:13:46 +02:00
Veronica K. B. Olsen bb59891310 Cleanup in index and options and improved options test coverage 2020-09-18 17:57:31 +02:00
Veronica K. B. Olsen 8cd4a6cc27 Use integer time for the index 2020-08-16 18:57:59 +02:00
Veronica K. B. Olsen e4ad4f38c8 Indexer should still count words for trash and archived files 2020-08-16 18:39:34 +02:00
Veronica K. B. Olsen 68a7dd4390 Fixed menu entries and drop options for trash and archive folders 2020-08-16 17:25:11 +02:00
Veronica K. B. Olsen 65131e87c7 The deleted and outtake files are now properly handled by the index 2020-08-16 16:51:07 +02:00
Veronica K. B. Olsen 00f0a6887c Fixed flake8 W and F errors 2020-08-12 21:41:37 +02:00
Veronica K. B. Olsen 72cb1ed60f Fixed pycodestyle E7 errors 2020-08-12 21:11:25 +02:00
Veronica K. B. Olsen 95ee2bf874 Fixed pycodestyle E231 errors 2020-08-12 20:51:22 +02:00
Veronica K. B. Olsen bd8a6afd91 Minor tweaks in text parsing and highlighting 2020-06-13 21:14:04 +02:00
Veronica K. B. Olsen 8e38637250 No ned to explicitly declare sets 2020-06-12 17:07:55 +02:00
Veronica K. B. Olsen 4340b6b8b5 It should now be possible to navigate to positions within the documents when clicking links in various places 2020-05-25 23:31:41 +02:00
Veronica K. B. Olsen 3b7927f0ff Back-references not consideres all tags in a document, not just the first one 2020-05-25 21:14:50 +02:00