Veronica Berglyd Olsen
aa64fdbfc3
Annotate and clean up project tree source
2023-07-29 20:45:12 +02:00
Veronica Berglyd Olsen
3753f5b829
Rewrite project consistency chech as part of the tree class
2023-07-21 23:56:48 +02:00
Veronica Berglyd Olsen
4dfa51855e
Spell check comments and docstrings
2023-07-20 23:25:49 +02:00
Veronica Berglyd Olsen
61535b6ab6
Fix minor mistakes in source files from last commits
2023-06-13 22:57:19 +02:00
Veronica Berglyd Olsen
9ac61105f3
Annotate index class and change file format slightly to match others
2023-06-13 17:30:07 +02:00
Veronica Berglyd Olsen
9bc66128a7
Complete the build process in the build tool
2023-06-05 23:39:28 +02:00
Veronica Berglyd Olsen
cfd1b950d3
Rename item isInactive to isInactiveClass
2023-02-28 22:40:02 +01:00
Veronica Berglyd Olsen
f04f4a3e04
Update some comments and docstrings in the index class
2023-01-25 15:05:59 +01:00
Veronica Berglyd Olsen
41a0788b4c
Update copyright year to 2023
2023-01-08 18:47:04 +01:00
Veronica Berglyd Olsen
32d75567e3
Use direct imports everywhere
2022-11-28 18:23:36 +01:00
Veronica Berglyd Olsen
e84b8d4d1d
Fix versions in module docstrings, more
2022-11-25 22:57:05 +01:00
Veronica Berglyd Olsen
d0e4c9f822
Fix versions in module docstrings
2022-11-25 22:43:27 +01:00
Veronica Berglyd Olsen
a15d25370e
Improve project tree iterator
2022-11-15 21:49:15 +01:00
Veronica Berglyd Olsen
8dbaa6bbd9
Remove no longer needed index function
2022-11-14 18:59:47 +01:00
Veronica Berglyd Olsen
ebc6654069
Improve how the novel tree is refreshed
2022-11-14 18:45:36 +01:00
Veronica Berglyd Olsen
992ed4f36c
Update tests
2022-11-14 17:56:31 +01:00
Veronica Berglyd Olsen
b0a0ca089f
Rewrite index class to use sequential title keys rather than line numbers
2022-11-14 16:59:51 +01:00
Veronica Berglyd Olsen
e52d8d9ff7
Add novel tree method to refresh metadata for item
2022-11-14 16:59:04 +01:00
Veronica Berglyd Olsen
e7ce13f647
Rebuild index when opdating project ( #1235 )
2022-11-12 18:23:13 +01:00
Veronica Berglyd Olsen
a1213f1e84
Rename class project variable
2022-11-12 13:08:55 +01:00
Veronica Berglyd Olsen
ee79d3d6d6
Fix tests for core classes
2022-11-08 19:48:06 +01:00
Veronica Berglyd Olsen
a75424e44b
Use storage class to return document objects
2022-11-06 00:29:43 +01:00
Veronica Berglyd Olsen
21ab4e58f9
Remove project meta attribute from project class
2022-11-05 23:29:25 +01:00
Veronica Berglyd Olsen
e887ec6991
Move project name to project data class
2022-10-30 23:18:18 +01:00
Veronica Berglyd Olsen
93a79f3605
Rename the access metods of the item class from exported to active
2022-10-20 18:14:40 +02:00
Veronica Berglyd Olsen
8775b360d8
Remove all verbose log entries
2022-10-19 08:27:11 +02:00
Veronica Berglyd Olsen
c40ace1290
Fix a few weird dictionary lookups in the index
2022-10-19 00:04:31 +02:00
Veronica Berglyd Olsen
6c06845ed5
Drop the error on level tag in index file
2022-10-17 21:31:57 +02:00
Veronica Berglyd Olsen
e24573f644
Clean out main header data in the index and make it set the item's value instead
2022-10-17 20:22:21 +02:00
Veronica Berglyd Olsen
479478490e
Update the index to generate a ToC for a specific root folder
2022-10-01 22:02:00 +02:00
Veronica Berglyd Olsen
73b8e3e0fb
Use the new item checker functions instead of equal operator
2022-09-11 17:22:46 +02:00
Veronica Berglyd Olsen
ea61db9591
Simplify the novel outline tree
2022-06-14 00:14:51 +02:00
Veronica Berglyd Olsen
46bb8e5bcc
Populate the add button menu in the project widget
2022-06-06 22:03:42 +02:00
Veronica Berglyd Olsen
92924b3288
Make the new item function better at guessing header level of new files
2022-06-05 17:41:29 +02:00
Veronica Berglyd Olsen
2873336dce
Allow switching between root novel folders
2022-06-05 15:04:04 +02:00
Veronica Berglyd Olsen
63068f1018
Add full test coverage of index class
2022-06-05 13:17:24 +02:00
Veronica Berglyd Olsen
22099c1b56
Make some minor improvements to handling of tags and references
2022-06-03 11:07:40 +02:00
Veronica Berglyd Olsen
eed59a96be
Make some fixes to the index class, and improve test coverage
2022-05-30 00:28:43 +02:00
Veronica Berglyd Olsen
865acfd7e9
Clean up imports
2022-05-29 19:40:14 +02:00
Veronica Berglyd Olsen
d1b32f1ba1
Move the tags index into a wrapper class
2022-05-29 19:24:41 +02:00
Veronica Berglyd Olsen
77e50a6cee
Move the item index into a wrapper class and combine the access functions
2022-05-29 18:58:32 +02:00
Veronica Berglyd Olsen
347d34bf83
Clean up the index code a bit and add index validation
2022-05-29 00:18:48 +02:00
Veronica Berglyd Olsen
94ba7a2f94
Use the new index instead of the old
2022-05-28 21:59:52 +02:00
Veronica Berglyd Olsen
01be8be44f
Remove old tagsIndex
2022-05-28 20:16:27 +02:00
Veronica Berglyd Olsen
d584f57a3b
Loading of new index now works
2022-05-28 19:45:33 +02:00
Veronica Berglyd Olsen
b5b0074411
Rewritten index storage using classes instead
2022-05-28 18:48:31 +02:00
Veronica Berglyd Olsen
44926a4e9a
Also make tree and options properties of the project
2022-05-28 14:33:25 +02:00
Veronica Berglyd Olsen
15ede5e14c
Make better use of the new NWItem functions and do some cleanup
2022-04-17 19:15:00 +02:00
Veronica Berglyd Olsen
da13fbff08
Merge branch 'main' into multi_root
2022-04-16 18:49:46 +02:00
Veronica Berglyd Olsen
17c56440f2
Automatic indexing of un-indexed files ( #1039 )
...
* Downgrade rebuild index dialog from warning to info
* Don't flag index as broken if file is missing, just add it again
* Fix log warning
* Drop the return value in the index checker
2022-04-16 17:28:28 +02:00