aboutsummaryrefslogtreecommitdiff
path: root/zenserver/projectstore.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed missing object in project oplog response.Per Larsson2022-01-241-1/+5
|
* Format fix.Per Larsson2022-01-221-1/+2
|
* Unused lambda capture compile errorMartin Ridgers2022-01-101-1/+1
|
* Converted use of _format UDL to fmt::formatMartin Ridgers2022-01-101-12/+7
|
* Added trace scopes.Per Larsson2021-12-151-0/+9
|
* Initialisation order compile errorMartin Ridgers2021-12-151-1/+1
|
* Paths are not wide-chars on non-Windows platformsMartin Ridgers2021-12-151-2/+2
|
* Merged main.Per Larsson2021-12-141-24/+35
|\
| * Removed the special-case path handling to make project tests passMartin Ridgers2021-11-291-12/+0
| |
| * Only Windows paths have drive lettersMartin Ridgers2021-11-291-0/+2
| |
| * ToUtf8() -> PathToUtf8() as the latter is less ambiguousMartin Ridgers2021-11-161-3/+3
| |
| * Stubbed out Project Store's PipeConnection on POSIXMartin Ridgers2021-11-021-0/+17
| |
| * Fixed up some assumptions that satd::fs::path uses wchar_tMartin Ridgers2021-11-011-4/+4
| |
| * Removed unused variableMartin Ridgers2021-11-011-4/+0
| |
| * Initialisation order warningsMartin Ridgers2021-11-011-2/+2
| |
| * Unhandled switch case warningsMartin Ridgers2021-11-011-0/+6
| |
| * Fixed up Windows-specific include statementsMartin Ridgers2021-10-291-1/+4
| |
| * Fixed std::memory_order compile errorsMartin Ridgers2021-10-291-2/+2
| |
| * Merged mainMartin Ridgers2021-10-251-90/+127
| |\
| * \ Merged mainMartin Ridgers2021-10-201-0/+2
| |\ \
| * \ \ Merged mainMartin Ridgers2021-10-141-55/+5
| |\ \ \
| * | | | Use std::fs::path for IoBuffer::MakeFromFile().Martin Ridgers2021-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This is more consistent with MakeFromTempFile() and almost all arguments are path objects anyway.
* | | | | projectstore: iterating over an empty project store should not throwStefan Boberg2021-11-181-0/+5
| | | | |
* | | | | projectstore: Implemented project/oplog discovery so we can take any ↵Stefan Boberg2021-11-011-1/+66
| | | | | | | | | | | | | | | | | | | | persistent oplog into account even if it has not been opened in the current session
* | | | | project: fixed logging of new oplog entries (again) to be easier to scanStefan Boberg2021-11-011-1/+1
| | | | |
* | | | | projectstore: added validation of oplog data during initializationStefan Boberg2021-11-011-2/+60
| | | | | | | | | | | | | | | | | | | | also added validation during writing
* | | | | gc: Implemented initial root gathering for projects/oplogsStefan Boberg2021-10-281-4/+52
| |_|_|/ |/| | |
* | | | Compressed oplog attachmentsPer Larsson2021-10-211-90/+127
| |_|/ |/| |
* | | project store: DELETE {project} request now produces a correct HTTP responseStefan Boberg2021-10-181-0/+2
| |/ |/|
* | projectstore: Removing support for requesting attachments by hash using ↵Stefan Boberg2021-10-131-55/+5
|/ | | | offset/length (not needed and we will remove this path entirely)
* iobuffer: Changed MakeFromTemporaryFile so it accepts a path instead of a ↵Stefan Boberg2021-10-081-1/+1
| | | | character pointer
* http: Moved logic for body suppression to a more central locationStefan Boberg2021-10-031-5/+0
| | | | this should prevent some mistake-induced bugs hopefully
* Added some code to persist bad package data for inspectionStefan Boberg2021-10-011-1/+6
|
* timer: cleaned up Stopwatch, removed GetCpuTimerValueStefan Boberg2021-09-291-2/+2
|
* Removed MemoryOutStream, MemoryInStreamStefan Boberg2021-09-281-6/+4
| | | | | | | | BinaryWriter/BinaryReader now implements memory buffer functionality which previously needed two chained instances of a Buffer/Reader. This was originally expected to be an abstraction for file and other stream access but this is not going to be useful so may as well collapse the functionality. This also eliminates the need for stack-aware ref-counting which is the real reason for wanting to get rid of this code. This was a very old experimental feature which turned out to be a bad idea. This also removes the /cas/batch endpoint
* Added more scrub stubs in higher level servicesStefan Boberg2021-09-201-0/+17
|
* Changed `std::exception` into `std::runtime_error` since `std::exception` ↵Stefan Boberg2021-09-151-2/+2
| | | | does not have a constructor which accepts a string argument in the standard (this appears to be an MSVC implementation thing)
* Changed logging implementationStefan Boberg2021-09-151-52/+52
| | | | | | * 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-6/+4
|
* oplog: added handling of new attachment typesStefan Boberg2021-09-141-3/+28
|
* HttpResponse enum -> HttpResponseCodeStefan Boberg2021-09-121-43/+43
| | | | Also removed initial CbPackage API HttpServer changes as I have decided to take a different approach
* clang-formatStefan Boberg2021-09-091-3/+3
|
* Fixed a number of unreferenced variable warningsStefan Boberg2021-09-091-5/+1
|
* IoHash::HashMemory -> IoHash::HashBuffer for consistency with UE5 codeStefan Boberg2021-09-021-2/+2
|
* Introduced support for compressed buffer attachmentsStefan Boberg2021-09-021-1/+1
|
* Added logic to fix project store tests (we use absolute file paths in the ↵Stefan Boberg2021-08-201-1/+6
| | | | test, unlike the cooker)
* CL16570338: CompactBinary: Added validation to LoadCompactBinary and removed ↵Stefan Boberg2021-08-201-4/+26
| | | | asserts from the other load functions
* Added {project}/oplog/{log}/{hash} endpoint (implemented by Matt Peters)Stefan Boberg2021-08-121-1/+102
| | | | Added project store flush implementation
* Support iterative cooks (#3)Per Larsson2021-06-231-10/+144
| | | | | | | | | | | | | | * 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]>