Martin Hebnes Pedersen
23a44f397a
Rewrite directories.IsInPath to use os.Root
2025-09-18 15:22:30 +02:00
Martin Hebnes Pedersen
706b2d21ba
Add test for directories.TestIsInPath
2025-09-18 15:21:42 +02:00
Martin Hebnes Pedersen
26d8ed568d
Fix ancient bug in config path migration logic
2025-08-27 18:52:31 +02:00
Martin Hebnes Pedersen
c37e2ec74b
Hardening related to resolving Forms files
...
Improved error handling, more efficient search and make sure we don't
escape the Forms root directory. Also adds debug logging and fixes some
reply templates we missed before.
2023-12-23 15:21:27 +01:00
Martin Hebnes Pedersen
d7cc80b0d7
Remove paths from the 'pat version' output
...
They are all included in the debug log.
2021-10-25 19:49:55 +02:00
Chris Keller
df9d65e692
Address review comments
...
* Only migrate once
* ignore `forms_path` config if it's default
* warn user about non-default `forms_path` config
https://github.com/la5nta/pat/pull/288#issuecomment-950142964
2021-10-24 22:42:46 +02:00
Chris Keller
e94f05f37c
Move config, data and state files to XDG locations
...
Addressing https://github.com/la5nta/pat/issues/216 . Includes migration of existing files, plus refactoring of directory access and build info.
2021-08-15 19:35:15 +02:00