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
8bdd09400a
Move the project index into the project class
2022-05-28 14:11:58 +02:00
Veronica Berglyd Olsen
5d86cfb092
Improve GUI look and usability ( #1069 )
2022-05-22 18:11:25 +02:00
Veronica Berglyd Olsen
b9fcc43ca6
Move highlighting theme setting back to General tab in Preferences
2022-05-22 17:53:46 +02:00
Veronica Berglyd Olsen
3cfc5d9a1a
Remove borders from all main GUI widgets
2022-05-22 17:45:54 +02:00
Veronica Berglyd Olsen
25427e8521
Add tooltips to views bar
2022-05-22 17:43:38 +02:00
Veronica Berglyd Olsen
2425af4bfe
Add menu to view bar settings, and add build button
2022-05-22 17:00:45 +02:00
Veronica Berglyd Olsen
4a4ed32fe6
Add new view bar icons
2022-05-22 17:00:09 +02:00
Veronica Berglyd Olsen
f7e31bd452
Use "project name" consistently on the GUI
2022-05-22 16:23:49 +02:00
Veronica Berglyd Olsen
a541c90690
Add icon name to xdg mime type just in case ( #1068 )
2022-05-22 15:58:09 +02:00
Veronica Berglyd Olsen
217e184153
Update new project creation ( #1067 )
2022-05-21 22:22:07 +02:00
Veronica Berglyd Olsen
e14348a05b
Fix a few text labels on the wizard
2022-05-21 22:18:16 +02:00
Veronica Berglyd Olsen
78b97ce8fb
Remove name as a required parameter for new root folders since no part of the GUI uses it
2022-05-21 22:10:25 +02:00
Veronica Berglyd Olsen
aeaaaaf3af
Update test coverage
2022-05-21 21:55:19 +02:00
Veronica Berglyd Olsen
63a3e56cdb
Fix ignored lines in XML comparison
2022-05-21 18:15:38 +02:00
Veronica Berglyd Olsen
cea22b6147
Clean up new project creation function
2022-05-21 17:58:47 +02:00
Veronica Berglyd Olsen
06d39ea352
Make tests not depend on minimal project settings
2022-05-21 17:33:58 +02:00
Veronica Berglyd Olsen
b4ea5bc8d0
Update minimal project content
2022-05-21 17:33:36 +02:00
Veronica Berglyd Olsen
ad42a71427
Fix tests
2022-05-21 16:57:09 +02:00
Veronica Berglyd Olsen
46dce17dfe
Update new project generation to match wizard
2022-05-21 16:29:41 +02:00
Veronica Berglyd Olsen
7a8c97225b
Add a summary page to the wizard
2022-05-21 15:47:21 +02:00
Veronica Berglyd Olsen
5574d8d6c0
Update and clarify the options on the Wizard
2022-05-21 15:11:33 +02:00
Veronica Berglyd Olsen
a166d9a4dd
Add a Translation Guidelines section in i18n
2022-05-19 20:04:10 +02:00
Veronica Berglyd Olsen
b863077bfe
Make minor changes post 1.7b1 release ( #1065 )
2022-05-17 20:52:50 +02:00
Veronica Berglyd Olsen
ae2b5d4403
Fix typo and set max width on views bar
2022-05-17 20:22:39 +02:00
Veronica Berglyd Olsen
301d81f987
Update various translation files
2022-05-17 20:22:16 +02:00
Veronica Berglyd Olsen
15f59c1a4e
Release 1.7 Beta 1 ( #1064 )
2022-05-17 18:51:01 +02:00
Veronica Berglyd Olsen
9eaf240674
Release 1.7-beta1
2022-05-17 18:41:01 +02:00
Veronica Berglyd Olsen
a71fa02b0c
Sort i18n credits on about and credits doc
2022-05-17 18:40:10 +02:00
Veronica Berglyd Olsen
9add2aaa87
Update the sample project to reflect new functionality
2022-05-17 17:51:40 +02:00
Veronica Berglyd Olsen
304d122342
Add valid path check to the New Project Wizard ( #1062 )
2022-05-15 16:43:43 +02:00
Veronica Berglyd Olsen
7c7e4c2297
Disabled second wizard test on macOS as it too segfaults
2022-05-15 16:39:41 +02:00
Veronica Berglyd Olsen
e2c10f52d2
Disabled wizard test on macOS as it still segfaults
2022-05-15 16:37:09 +02:00
Veronica Berglyd Olsen
c91f19f9f7
Update wizard test coverage
2022-05-15 16:31:51 +02:00
Veronica Berglyd Olsen
1d5c8566d1
Check the sanity of paths during project wizard run (issue #1058 )
2022-05-15 15:11:17 +02:00
Veronica Berglyd Olsen
badb768529
Add a "views" toolbar to the main GUI ( #1057 )
2022-05-14 19:12:02 +02:00
Veronica Berglyd Olsen
d965320b57
Fix broken test
2022-05-14 19:07:34 +02:00
Veronica Berglyd Olsen
096c2dbc83
Add Typicons link to credits
2022-05-14 19:03:51 +02:00
Veronica Berglyd Olsen
88cc4bd5a4
Add new icons for the views bar
2022-05-14 19:00:47 +02:00
Veronica Berglyd Olsen
e8a0a6d5f9
Connect the change of view methods to all relevant actions
2022-05-14 18:27:18 +02:00
Veronica Berglyd Olsen
864b06a0e7
Shift all view changing functionality to the new Views bar
2022-05-10 22:14:35 +02:00
Veronica Berglyd Olsen
ea09a53496
Add the GuiViewsBar class
2022-05-10 20:56:52 +02:00
Veronica Berglyd Olsen
d6ca87868b
Add quick delete for empty folders ( #1055 )
2022-05-08 18:26:25 +02:00
Veronica Berglyd Olsen
14458c7184
Merge branch 'main' into delete_items
2022-05-08 18:23:04 +02:00
Veronica Berglyd Olsen
12cfce758c
Force consistency of item settings ( #1054 )
2022-05-08 18:22:52 +02:00
Veronica Berglyd Olsen
9e9beea83c
Fix outdated docstring in project tree class
2022-05-08 18:21:17 +02:00
Veronica Berglyd Olsen
0a5c51ad4b
Make deleting empty folders bypass Trash
2022-05-08 18:07:21 +02:00
Veronica Berglyd Olsen
9ee4d1b2cd
Reset meta data for folders
2022-05-08 17:52:36 +02:00
Veronica Berglyd Olsen
d833692e27
Merge branch 'main' into item_checks
2022-05-08 17:46:37 +02:00
Veronica Berglyd Olsen
b68280655f
Add Mastodon link to main readme and docs
2022-04-28 19:17:16 +02:00
Veronica Berglyd Olsen
1e7d329962
Force conistency of ROOT item settings
2022-04-28 19:04:21 +02:00
Veronica Berglyd Olsen
b35c85e831
Allow deleting non-empty folders ( #1048 )
2022-04-23 21:44:37 +02:00
Veronica Berglyd Olsen
bb53b2530c
Fix error messages when emptying trash
2022-04-23 21:41:14 +02:00
Veronica Berglyd Olsen
9bc7250532
Allow deleting non-empty folders
2022-04-23 21:33:11 +02:00
Veronica Berglyd Olsen
160c3d80f9
Fix the redundant spaces highlight option text in Preferences ( #1046 )
2022-04-23 20:14:13 +02:00
Veronica Berglyd Olsen
5538c3f995
Merge branch 'main' into issue_1043
2022-04-23 20:03:43 +02:00
Veronica Berglyd Olsen
c7e560ffc5
Allow documents to have child items ( #1047 )
2022-04-23 20:03:30 +02:00
Veronica Berglyd Olsen
d9e3fd7a01
Make some minor improvements to how expanded status is saved for items
2022-04-23 19:34:40 +02:00
Veronica Berglyd Olsen
732f20a0f1
Fix word count accounting and double click tree expansion
2022-04-23 19:00:11 +02:00
Veronica Berglyd Olsen
a8a34a4a37
Fix drag and drop word propagation
2022-04-23 18:03:03 +02:00
Veronica Berglyd Olsen
821833df8e
Fix tests and drop unused function from NWTree class
2022-04-23 17:05:29 +02:00
Veronica Berglyd Olsen
bd5a14b18e
Block drag and drop for ROOT items on the widget level, and drop the TRASH item type
2022-04-23 16:57:13 +02:00
Veronica Berglyd Olsen
d96c8ddf85
Remove all restrictions on drag and drop except in ROOT items
2022-04-23 16:21:20 +02:00
Veronica Berglyd Olsen
5cdcda66a5
Update data recursively when moving an item with child items
2022-04-23 16:09:50 +02:00
Veronica Berglyd Olsen
1a47bbaf8c
Allow files to have child items
2022-04-23 15:53:14 +02:00
Veronica Berglyd Olsen
64da2793ac
Allow file items to save expanded status
2022-04-23 15:38:53 +02:00
Veronica Berglyd Olsen
31fac7bf45
Make the test suite less spammy again
2022-04-23 15:28:26 +02:00
Veronica Berglyd Olsen
147b9a4501
Fix the redundant spaces highlight option text in Preferences: issue #1043
2022-04-23 15:17:20 +02:00
Veronica Berglyd Olsen
b588fdfe1a
Use the random generator for item handles ( #1044 )
2022-04-20 22:00:34 +02:00
Veronica Berglyd Olsen
607f9409d2
Update tests
2022-04-20 21:50:07 +02:00
Veronica Berglyd Olsen
e32eb21fbf
Add a mock random number generator for testing
2022-04-20 21:46:53 +02:00
Veronica Berglyd Olsen
8320aab1bf
Use the same method to generate item handles as for status keys
2022-04-20 21:44:45 +02:00
Veronica Berglyd Olsen
ca76cb2af3
Make a couple of random, minor fixes
2022-04-20 17:15:55 +02:00
Veronica Berglyd Olsen
e938ea8967
Allow multiple roots of same class ( #1031 )
2022-04-17 19:35:51 +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
4eec2926cb
Clean up unused code and add more comments
2022-04-17 18:38:25 +02:00
Veronica Berglyd Olsen
3f4356467e
Relax moving restrictions in project tree, and improve test coverage of NWItem class
2022-04-17 18:32:22 +02:00
Veronica Berglyd Olsen
50db7fcddb
Simplify updating an item after it has been moved
2022-04-17 17:49:47 +02:00
Veronica Berglyd Olsen
d158de5d82
Update test coverage
2022-04-17 17:00:43 +02:00
Veronica Berglyd Olsen
4cfbbf4c68
Remove max folder depth restriction, and simplify adding folders and files in the tree
2022-04-17 14:44:11 +02:00
Veronica Berglyd Olsen
ebee9ff791
Update tests
2022-04-16 20:56:52 +02:00
Veronica Berglyd Olsen
61f5425662
Update new item functions in project class
2022-04-16 20:55:54 +02:00
Veronica Berglyd Olsen
da13fbff08
Merge branch 'main' into multi_root
2022-04-16 18:49:46 +02:00
Veronica Berglyd Olsen
b785128f4c
Make status and importance labels sortable again ( #1040 )
2022-04-16 18:40:10 +02:00
Veronica Berglyd Olsen
3ed74f0b02
Add test coverage of status and importance reordering
2022-04-16 18:35:26 +02:00
Veronica Berglyd Olsen
6aa13e318b
Add sorting capability to status and importance labels
2022-04-16 18:17:01 +02:00
Veronica Berglyd Olsen
fd2248de17
Add up and down button icons
2022-04-16 17:44:54 +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
Veronica Berglyd Olsen
b642e4437e
Simplify text labels in XML ( #1038 )
2022-04-16 17:03:44 +02:00
Veronica Berglyd Olsen
2f547033cd
Simplify all other strings in main project class
2022-04-16 17:00:08 +02:00
Veronica Berglyd Olsen
72c5a9ee92
Rename some internal variables in the NWItem class
2022-04-16 16:47:57 +02:00