Commit Graph

171 Commits

Author SHA1 Message Date
Veronica K. B. Olsen 8d4fa4b627 Added a try/except to the creation of backup folder 2020-05-08 18:28:13 +02:00
Veronica K. B. Olsen 3d910041cd Moved the backup function to the project class since it was only one function anyway 2020-05-08 18:19:09 +02:00
Veronica K. B. Olsen d75243418f Moved a couple more functions to the NWTree class, and cleaned up the source file a bit 2020-05-07 23:59:32 +02:00
Veronica K. B. Olsen 58eb8e78ba Moved the project tree into its own iterable class NWTree 2020-05-07 23:08:15 +02:00
Veronica K. B. Olsen 64ae52e7aa Moved NWItem and NWStatus into the project file as the classes are no longer called from elsewhere 2020-05-07 20:02:49 +02:00
Veronica K. B. Olsen 3cb45d0dc3 Added some more checks on item setters 2020-05-07 19:43:22 +02:00
Veronica K. B. Olsen 1a521758d1 Moved the unpacking of XML data into the NWItem class 2020-05-07 01:25:09 +02:00
Veronica K. B. Olsen d5775a7838 Improved lookup of enums 2020-05-07 00:59:05 +02:00
Veronica K. B. Olsen 8037b3a311 Some improvements to the NWItem class, and removal of unused imports of it in the code 2020-05-07 00:38:25 +02:00
Veronica K. B. Olsen 020a4c548a Fixed formatting of URL in license docstring 2020-05-04 21:20:55 +02:00
Veronica K. B. Olsen 85751851f0 Add some path check to the backup class 2020-05-04 17:59:31 +02:00
Veronica K. B. Olsen 7d91a15841 The document title bar is no populated on document open 2020-05-01 17:36:02 +02:00
Veronica K. B. Olsen c934532ea2 Loosened the restriction on the synopsis tag a bit 2020-04-26 18:06:57 +02:00
Veronica K. B. Olsen ba3c765ba8 Added license text to source files 2020-04-20 21:50:20 +02:00
Veronica K. B. Olsen 92f54af894 Added some useful menu option, and settings in project file 2020-04-13 16:02:44 +02:00
Veronica K. B. Olsen 8d34c68be0 Merge branch 'master' into project_outline 2020-04-09 19:51:37 +02:00
Veronica K. B. Olsen cacb28f927 Added a counter for the number of saves and autosaves 2020-03-22 23:26:58 +01:00
Veronica K. B. Olsen 717e4aba78 Fix merge conflicts 2020-02-27 00:19:18 +01:00
Veronica K. B. Olsen 144ddef579 Backup tool should not back up the lock file 2020-02-26 22:18:34 +01:00
Veronica K. B. Olsen af410e0b15 Added functions to read and write project lockfile 2020-02-26 22:09:37 +01:00
Veronica K. B. Olsen 6b3e652440 Delete old recent project code 2020-02-26 17:57:36 +01:00
Veronica K. B. Olsen c688c66d5b Project manager dialog now lists recent projects and lets the user open one of these, or browse for a folder 2020-02-26 17:44:11 +01:00
Veronica K. B. Olsen 5f0b331655 Replace old option state class with new one everywhere 2020-02-19 19:43:44 +01:00
Veronica K. B. Olsen 110d27d067 Cleanup of imports 2020-02-17 13:30:26 +01:00
Veronica K. B. Olsen 0e045eeed6 Make sure we have absoulte path when opening from command line input that may be relative path 2020-02-13 22:54:40 +01:00
Veronica K. B. Olsen beb656267c If opening a project file fails, try to open the backup file instead 2020-02-13 21:22:36 +01:00
Veronica K. B. Olsen 760aee0c8f Added a function to clean out old project files no longer needed 2020-02-13 21:12:28 +01:00
Veronica K. B. Olsen c28a246d23 Make document saving consistent with how project file is saved 2020-02-13 19:16:29 +01:00
Veronica K. B. Olsen ca7617ad07 Remove the project cache folder as it isn't, and was never really, needed 2020-02-13 19:07:51 +01:00
Veronica K. B. Olsen 3a25e7332b Change the way the project file is saved 2020-02-13 19:03:21 +01:00
Veronica K. B. Olsen c43e121389 Added document split dialog and associated code 2020-02-04 23:59:00 +01:00
Veronica K. B. Olsen f937ebc396 Added code to permanently delete project documents 2020-02-01 14:10:48 +01:00
Veronica K. B. Olsen 1eb6b59c32 Allow tags in files with no title 2019-12-10 19:05:57 +01:00
Veronica K. B. Olsen 06031ab7d5 Started adding split amd merge functions 2019-12-01 16:26:37 +01:00
Veronica K. B. Olsen c0828c7f1d Fix merge conflicts 2019-11-20 18:56:18 +01:00
Veronica K. B. Olsen b667dcc6f7 Added docstring to the counting function 2019-11-18 19:56:12 +01:00
Veronica K. B. Olsen a5df5a151e Fixed crash in project countStatus when tree contains orphaned item 2019-11-18 19:51:31 +01:00
Veronica K. B. Olsen cff0d86d90 Some minor imrpovements 2019-11-17 16:23:18 +01:00
Veronica K. B. Olsen d1417ceea0 Reworked the way the outline is built with the new index in place 2019-11-17 16:08:55 +01:00
Veronica K. B. Olsen 612c2ef328 Merged the indices so we have a minimum of dictionaries 2019-11-17 15:45:38 +01:00
Veronica K. B. Olsen 6500d23bd7 Cleaned up index, and fixed data extraction 2019-11-17 14:05:09 +01:00
Veronica K. B. Olsen 816c708853 Remove timeline view so we can clean up the indexing class 2019-11-17 13:09:21 +01:00
Veronica K. B. Olsen 19ebedd8b3 Most columns now available in outline 2019-11-16 17:23:32 +01:00
Veronica K. B. Olsen d09fb50bfc Restructured the index a bit, and added more columns to the outline 2019-11-16 16:29:38 +01:00
Veronica K. B. Olsen 231b0b8c53 Added synopsis keyword and a meta file and dictiopnaries to hold the data 2019-11-10 17:09:35 +01:00
Veronica K. B. Olsen 154e91ede8 Remove unused imports 2019-11-09 21:01:43 +01:00
Veronica K. B. Olsen 0e84452533 Reorganise constants, and add ISO language codes in order to drop dependency pycountry 2019-11-05 18:14:40 +01:00
Veronica K. B. Olsen 709689cf55 Added --info flag and modified logging output a bit 2019-11-05 11:25:45 +01:00
Veronica K. B. Olsen 62988df7d2 Clean up imports 2019-11-03 19:44:58 +01:00
Veronica K. B. Olsen b303eb6539 Further PEP8 compliance changes 2019-11-03 18:02:47 +01:00