- fixed a problem with no_daemons and the docker package server scripts (issue #1039)
- if the server engine (serverside or client api) is running a request during program shutdown, it now politely says 'Application is shutting down!' with a 503 rather than going bananas and dumping to log with an uncaught 500
- fixed some bad client db update error handling code
- .
- multiple local file services (system predicate edition):
- system:file service now supports 'deleted' and 'petitioned' status
- advanced 'all known files' search pages now show more system predicates
- when inbox and archive are hidden because one has 0 count, and the search space is simple, system everything now says what they are, e.g. "system:everything (24) (all in inbox)"
- file repos' 'system:local/not local' now sort at the top of the system predicate list, like inbox/archive
- .
- client api:
- the GET /get_files/file_metadata call now returns the file modified date and imported/deleted timestamps for each file service the file is currently in or deleted from. check the help for an example!
- fixed client api file search with random sort (file_sort_type = 4)
- client api version is now 24
- .
- boring multiple local file services work:
- the system predicates listed in a search page dropdown now support the new 'multiple location search context' object, which means in future I will be able to switch over to 'file domain is union of (A, deleted from B, and C)' and all the numbers will add up appropriately with ranged 'x-y' counts and deal with combinations of file repo and local service and current/deleted neatly
- when fetching system preds in 'all known files', the system:everything 'num files' count will be stated if available in the cache
- for the new system:file service search, refactored db level file filtering to support all status types
- cleaned up how system preds are generated
- .
- boring refactoring work:
- moved GUGs from network domain code to their own file
- moved URL Class from network domain code to its own file
- moved the pure functions from network domain code to their own file
- cleared up some file maintenance enum variable names
- sped up random file sort for large result sets
- misc client network code cleanup and type hints, and rejiggered cleaner imports after the refactoring
next week
More multiple local file services work. I'll convert autocomplete tag results to the new system like I did system predicates fetching this week, and then we should be pretty close to allowing real file searches across multiple and deleted file domains.