aboutsummaryrefslogtreecommitdiff
path: root/zenserver/projectstore/projectstore.cpp
Commit message (Collapse)AuthorAgeFilesLines
* moved source directories into `/src` (#264)Stefan Boberg2023-05-021-4082/+0
| | | | | | * moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees
* made Ref<> constructor explicit (#262)Stefan Boberg2023-04-271-1/+1
| | | This change makes the Ref<> constructor explicit, which can help avoid unnecessary overheads and other accidents
* oplog and cache stats (#244)Dan Engelbrecht2023-04-211-1/+520
| | | | | | | | | | | | | | | | * basic oplog stats * add GetValueStats to cache store * RwLock::ExclusiveLockScope -> RwLock::SharedLockScope * add rawhash and attachment count to CacheValueStats * added cache-stats and project-stats commands * add cast to make Mac overload detection happy * fix accept type in cache-stats command * Add options to project-stats command * use resource paths for stats in project store * use resource paths for stats in cache * fix cache-info and project-info url discriminator * more control over details$ output * cleanup * changelog
* Use ReadPayloadObject to read POST payloadStefan Boberg2023-03-301-3/+1
|
* UE 177395 - fix crash when using asio http server and requesting info on ↵Dan Engelbrecht2023-02-211-0/+28
| | | | | non-existing chunk (#235) * Dont' write httpreq responses with content type text for empty strings
* Enhanced rpc request recording (#229)Dan Engelbrecht2023-02-171-0/+1
| | | | | | | | | | | | | * rpc replay zen command * fix replay sessions for thread * recording start/stop as zen commands * move rpcrecording code to zenutil to remove code duplication * simplify recording http request threading * added more data logging to rpc replay * NotFound is an acceptable response for an rpc request * fix rpc replay command line parsing * rpc replay stats * Allow spawning of sub-process workers when replaying rpc recording * changelog
* Move knowledge of UE env variable from zenserver to zen command line tool (#227)Dan Engelbrecht2023-02-131-14/+3
| | | | * move knowledge of UE env variable from zenserver to zen command line tool * move env-fetching code to GetEnvVariable
* oplog upload/download (#214)Dan Engelbrecht2023-02-091-46/+675
| | | | | | | | | | | | - Feature: Zen server endpoint `prj/{project}/oplog/{log}/chunks` to post multiple attachments in one request. - Feature: Zen server endpoint `prj/{project}/oplog/{log}/save` to save an oplog container. Accepts `CbObject` containing a compressed oplog and attachment references organized in blocks. - Feature: Zen server endpoint `prj/{project}/oplog/{log}/load` to request an oplog container. Responds with an `CbObject` containing a compressed oplog and attachment references organized in blocks. - Feature: Zen server endpoint `{project}/oplog/{log}/rpc` to initiate an import to or export from an external location and other operations. Use either JSon or CbPackage as payload. - CbObject/JSon RPC format for `import` and `export` methods: - CbObject RPC format for `getchunks` method, returns CbPackage with the found chunks, if all chunks are found the number of attachments matches number of chunks requested. - Feature: Zen server `{project}/oplog/{log}/{hash}` now accepts `HttpVerb::kPost` as well as `HttpVerb::kGet`. - Feature: Zen command line tool `oplog-export` to export an oplog to an external target using the zenserver oplog export endpoint. - Feature: Zen command line tool `oplog-import` to import an oplog from an external source using the zenserver oplog import endpoint.
* Add support for "packagedata" mapping in oplog entries (#224)Dan Engelbrecht2023-02-071-3/+13
|
* remove legacy `export-project` and `import-project` (#222)Dan Engelbrecht2023-02-021-203/+0
|
* Reduce lock scopes in oplog (#220)Dan Engelbrecht2023-02-021-88/+102
|
* Clean up project store file structure (#218)Dan Engelbrecht2023-02-011-0/+3097
* move project store to separate folder * moved import/export project commands into projectstore cmd files