aboutsummaryrefslogtreecommitdiff
path: root/zenserver/projectstore.h
Commit message (Collapse)AuthorAgeFilesLines
* Added route '/prj/list' for retrieving project info.Per Larsson2022-03-231-0/+1
|
* Merged main.Per Larsson2021-12-141-1/+0
|\
| * Fixed up some assumptions that satd::fs::path uses wchar_tMartin Ridgers2021-11-011-1/+0
| |
* | projectstore: Implemented project/oplog discovery so we can take any ↵Stefan Boberg2021-11-011-0/+2
| | | | | | | | persistent oplog into account even if it has not been opened in the current session
* | projectstore: added validation of oplog data during initializationStefan Boberg2021-11-011-1/+4
| | | | | | | | also added validation during writing
* | gc: Implemented initial root gathering for projects/oplogsStefan Boberg2021-10-281-4/+9
| |
* | general: Fixed up some vcxproj files which had a warning level setStefan Boberg2021-10-241-2/+5
|/ | | | | | Thus they did not get the same settings as all other projects which made it easy to introduce warnings which would trigger in xmake builds Cleaned up some #include usage to use third-party include brackets
* Compressed oplog attachmentsPer Larsson2021-10-211-11/+12
|
* Added more scrub stubs in higher level servicesStefan Boberg2021-09-201-0/+3
|
* Corrected some issues in the HttpProjectService comments to eliminate some ↵Stefan Boberg2021-09-201-4/+4
| | | | potential confusion around namespaces
* Changed logging implementationStefan Boberg2021-09-151-0/+2
| | | | | | * Code should no longer directly `#include spdlog/spdlog.h`, instead use `#include <zencore/logging.h>` * Instead of explicit calls to `spdlog::info(...)` and such please use the logging macros defined in `zencore/logging.h`. I.e `ZEN_INFO`, `ZEN_DEBUG`, `ZEN_TRACE`, `ZEN_ERROR`, `ZEN_CRITITCAL` * The macros will pick up the "most local" logger via a `Log()` call to retrieve a logger instance. To override the default logger in a class please implement your own `Log()` function
* Changed direct includes of spdlog/spdlog.h into zencore/logging.h to make it ↵Stefan Boberg2021-09-151-1/+1
| | | | easier to tweak implementation
* Changed so more loggers go via the zen::loggers interfaceStefan Boberg2021-09-151-2/+2
|
* clang-formatStefan Boberg2021-09-091-1/+1
|
* Factored out http server related code into zenhttp module since it feels out ↵Stefan Boberg2021-09-091-1/+1
| | | | of place in zencore
* Added {project}/oplog/{log}/{hash} endpoint (implemented by Matt Peters)Stefan Boberg2021-08-121-2/+4
| | | | Added project store flush implementation
* Support iterative cooks (#3)Per Larsson2021-06-231-7/+12
| | | | | | | | | | | | | | * Added new route to get all chunk IDs and chunk hashes. Changed to always update chunk mapping to support iterative cooks. * Replay latest oplog entries. * Include server path when fetching file(s) and support for fetching single oplog entry. * Removed get chunks route. * Removed iterate chunk map. * Take read lock when iterating oplog. * Take read lock when reading oplog entry. * Take ownership of buffer reading oplog entry. * Fixed incorrect oplog key when fetching single entry. * Changed map updates to use insert_or_assign for efficiency Co-authored-by: Stefan Boberg <[email protected]>
* Moved lock closer to the members it protects for clarity and maybe cache ↵Stefan Boberg2021-05-271-1/+1
| | | | locality
* Added support for package additional files. Added io hash chunk id to… (#2)Per Larsson2021-05-211-8/+13
| | | | Added support for attaching additional files to oplog entries in project store
* Made SharedBuffer/UniqueBuffer share guts with IoBufferStefan Boberg2021-05-131-1/+1
| | | | This enables way more efficient marshaling of compact binary objects and attachments
* Implemented basic support for marshaling attachments out-of-band with the ↵Stefan Boberg2021-05-111-0/+1
| | | | | | | | package payload Currently supported in project store but will also be used for the structured cache Currently, cleanup is missing. Ultimately the intent is that the file used for marshaling will simply be moved into place.
* Adding zenservice codeStefan Boberg2021-05-111-0/+241