Commit Graph

125 Commits

Author SHA1 Message Date
Veronica Berglyd Olsen 9c7663996c Fix issues discovered when testing 2023-09-01 17:34:34 +02:00
Veronica Berglyd Olsen 4507489f0b Clean up a few things in project classes 2023-08-24 19:45:08 +02:00
Veronica Berglyd Olsen 55423174ed Make a few minor improvements, including fixing #1495 2023-08-20 22:09:02 +02:00
Veronica Berglyd Olsen 0b4cfd0037 Move idle time records to the shared class 2023-08-20 21:33:04 +02:00
Veronica Berglyd Olsen a17e73b5a2 Let the shared class handle alert dialogs 2023-08-14 17:08:53 +02:00
Veronica Berglyd Olsen 3441ff38de Remove dependence of main GUI class in project class 2023-08-14 17:08:30 +02:00
Veronica Berglyd Olsen 156a6fac98 Use a signal for status bar messages 2023-08-14 00:03:55 +02:00
Veronica Berglyd Olsen c4140d753c Improve handling of project closing 2023-08-13 23:32:10 +02:00
Veronica Berglyd Olsen 150f6603cd Let the shared class handle project open/save/close and recreating the project instance 2023-08-13 20:16:37 +02:00
Veronica Berglyd Olsen 8154293d92 Move the hasProject logic into the shared class 2023-08-13 19:23:32 +02:00
Veronica Berglyd Olsen fd181b18a6 Rename exception variable in makeAlert 2023-08-13 19:23:03 +02:00
Veronica Berglyd Olsen d658a993c0 Update source file headers 2023-08-08 21:41:35 +02:00
Veronica Berglyd Olsen 348e62cd3e Change default backup folder to HOME/Backups
Signed-off-by: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com>
2023-08-08 20:04:17 +02:00
Veronica Berglyd Olsen c40d910b69 Make backup path always set 2023-08-08 19:50:20 +02:00
Veronica Berglyd Olsen 3911bc10c6 Clean up code and tests 2023-08-07 20:20:04 +02:00
Veronica Berglyd Olsen ace037808f Add backups size to pop-up dialog (#1453) 2023-07-27 00:09:05 +02:00
Veronica Berglyd Olsen d81a90add3 Add project name to backup file (#1476) 2023-07-27 00:08:26 +02:00
Veronica Berglyd Olsen 1752d5c5cb Fix inconsistent clearing of lockfiles in projects 2023-07-24 23:29:39 +02:00
Veronica Berglyd Olsen c8d588d6d2 Complete annotations in project class and update tests 2023-07-22 01:06:34 +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 9a1a2d9ab2 Rewrite NWItem to not allow handle to be None 2023-07-21 22:52:54 +02:00
Veronica Berglyd Olsen 4dfa51855e Spell check comments and docstrings 2023-07-20 23:25:49 +02:00
Veronica Berglyd Olsen a3f0d5b865 Fix bug in options file conversion 2023-06-15 23:54:16 +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 eba6783816 Move session log handling to a separate class, and use jsonl format 2023-06-12 01:50:27 +02:00
Veronica Berglyd Olsen 324b204eaa Drop all mappings of config object into classes now that tests don't need that 2023-05-16 23:00:30 +02:00
Veronica Berglyd Olsen 41a0788b4c Update copyright year to 2023 2023-01-08 18:47:04 +01:00
Veronica Berglyd Olsen 8749321614 Block opening a non-new project in a non-existing location (#1300) 2022-12-23 12:28:30 +01:00
Veronica Berglyd Olsen e5f04e5234 Reduce number of author entries in project to one 2022-11-27 16:55:54 +01:00
Veronica Berglyd Olsen d93b3aa79f Always save project when closing 2022-11-12 18:59:09 +01:00
Veronica Berglyd Olsen e7ce13f647 Rebuild index when opdating project (#1235) 2022-11-12 18:23:13 +01:00
Veronica Berglyd Olsen dbfda1e680 Update Norwegian and US English 2022-11-10 18:17:51 +01:00
Veronica Berglyd Olsen 03e173634f Switch to Path objects nearly everywhere 2022-11-09 22:43:48 +01:00
Veronica Berglyd Olsen cb755ba820 Move recent cache out of config, and update all tests 2022-11-09 20:54:13 +01:00
Veronica Berglyd Olsen 9d3291aba6 Change assetPath to a Path object 2022-11-09 17:44:20 +01:00
Veronica Berglyd Olsen 9500c3bdb2 Make some remaining project class bariables private 2022-11-08 23:09:08 +01:00
Veronica Berglyd Olsen f5a3280565 Add test coverage of storage class 2022-11-08 22:19:22 +01:00
Veronica Berglyd Olsen ee79d3d6d6 Fix tests for core classes 2022-11-08 19:48:06 +01:00
Veronica Berglyd Olsen b024c0996d Move zipping of project to storage class 2022-11-08 19:25:56 +01:00
Veronica Berglyd Olsen 615ee2958a Remove project path attribute from project class 2022-11-06 00:39:30 +01:00
Veronica Berglyd Olsen a75424e44b Use storage class to return document objects 2022-11-06 00:29:43 +01:00
Veronica Berglyd Olsen 76a1421fde Remove project content attribute from project class 2022-11-06 00:15:24 +01:00
Veronica Berglyd Olsen 972ed25a8c Remove project cache attribute from project class 2022-11-05 23:33:50 +01:00
Veronica Berglyd Olsen 21ab4e58f9 Remove project meta attribute from project class 2022-11-05 23:29:25 +01:00
Veronica Berglyd Olsen 82b34d9d2c Move lock file code to storage class 2022-11-05 22:14:33 +01:00
Veronica Berglyd Olsen 8b4dac4e13 Split project data class back into a separate file 2022-11-05 16:24:57 +01:00
Veronica Berglyd Olsen 783a849e09 Remove the old legacy format code 2022-11-05 16:19:19 +01:00
Veronica Berglyd Olsen 407e7fa69e Add storage code to handle projecty structure and old projects 2022-11-05 16:15:26 +01:00
Veronica Berglyd Olsen 2e590b742f Move new project tool to core tools (resolves #1152) 2022-11-03 23:47:51 +01:00
Veronica Berglyd Olsen dfd9e15951 Use storage class to open and save project XML 2022-11-03 21:51:56 +01:00