aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/zenserver.cpp
Commit message (Collapse)AuthorAgeFilesLines
* added thread names to timer, upstream monitorStefan Boberg2023-06-071-1/+7
| | | | also altered http-asio thread naming scheme
* fix for random uint32 -> uint32_tStefan Boberg2023-05-251-1/+1
|
* project store refactor (#316)Stefan Boberg2023-05-171-0/+1
| | | moved HttpProjectService into own file to improve maintainability
* fix for redundant define checkStefan Boberg2023-05-171-5/+3
|
* Restructured structured cache store (#314)Stefan Boberg2023-05-171-1/+1
| | | | This change separates out the disk and memory storage strategies into separate cpp/h files to improve maintainability.
* Content scrubbing (#271)Stefan Boberg2023-05-161-1/+3
| | | Added zen scrub command which may be triggered via the zen CLI helper. This traverses storage and validates contents either by content hash and/or by structure. If unexpected data is encountered it is invalidated.
* demote state_marker deletion detection to warningDan Engelbrecht2023-05-161-1/+1
|
* exit without SIGABRT if exception is thrown during startup (#313)Dan Engelbrecht2023-05-161-7/+41
| | | | | * Safeguard ZenServer::RequestExit() and ZenServer::Cleanup() when partially initialized * Set exit code to non-zero if exception is thrown in ZenEntryPoint::Run() * changelog
* Add `--gc-projectstore-duration-seconds` option (#281)Dan Engelbrecht2023-05-161-2/+3
| | | | | | * Add `--gc-projectstore-duration-seconds` option * Cleanup lua gc options parsing * Remove dead configuration values * changelog
* zenserver does not support test mode in releaseStefan Boberg2023-05-151-0/+5
|
* minor GC API cleanupStefan Boberg2023-05-151-5/+5
| | | | | Scrub -> ScrubStorage Trigger -> TriggerGc (to make relationship to TriggerScrub clearer)
* Gracefully exit if Ctrl-C is pressed (#293)Dan Engelbrecht2023-05-111-4/+41
| | | | | * Feature: Gracefully exit if Ctrl-C is pressed * Bugfix: Return error code on exit as set by application * changelog
* allow early logging (#292)Dan Engelbrecht2023-05-111-5/+3
| | | | * if logging is not initialized, just log to console * changelog
* Close down http server gracefully when exiting even while requests are still ↵Dan Engelbrecht2023-05-111-0/+1
| | | | | being processed (#290) * Close down http server gracefully when exiting even while requests are still being processed
* need to set 'id' for user info in sentry (#287)Dan Engelbrecht2023-05-101-25/+35
|
* Only rewrite state_marker file if it does not exist so we can see the age of itDan Engelbrecht2023-05-101-3/+6
|
* monitor if a state-maker file still exists, and if not error out and exit (#283)Dan Engelbrecht2023-05-091-0/+25
| | | * monitor if a state-maker file still exists, and if not error out and exit
* Low disk space detector (#277)Dan Engelbrecht2023-05-091-10/+16
| | | | * - Feature: Disk writes are now blocked early and return an insufficient storage error if free disk space falls below the `--low-diskspace-threshold` value * Never keep an entry in m_ChunkBlocks that points to a nullptr
* add ip and username to sentry reports if allowed in settings (#276)Dan Engelbrecht2023-05-081-0/+33
| | | | * add ip and username to sentry reports if allowed in settings * add --sentry-allow-personal-info command line options to zenserver
* Report asserts to Sentry (#267)Dan Engelbrecht2023-05-021-9/+40
| | | | * don't do sentry operations if sentry init failed * changelog
* move testing and observability code to zenhttp (#266)Stefan Boberg2023-05-021-8/+8
|
* move auth code from zenserver into zenhttp (#265)Stefan Boberg2023-05-021-2/+2
| | | this code should be usable outside of zenserver, so this moves it out into zenhttp where it can be used from lower level components
* moved source directories into `/src` (#264)Stefan Boberg2023-05-021-0/+1261
* moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees