diff options
| author | Martin Ridgers <[email protected]> | 2024-10-14 10:06:38 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2024-10-14 10:06:38 +0200 |
| commit | 0fc91c7eeac9df19fa8d29dd99f12493372b501d (patch) | |
| tree | 8969d3fef106f90cba01c3ef51e56637f2f84c6b /src/zenserver/projectstore/projectstore.cpp | |
| parent | Add ability to read the oplog's ReferencedSet, as written by the cook… (#190) (diff) | |
| download | zen-0fc91c7eeac9df19fa8d29dd99f12493372b501d.tar.xz zen-0fc91c7eeac9df19fa8d29dd99f12493372b501d.zip | |
Dashboard: oplog entry data download, more detail, styling tweaks. (#194)
* MSVC's std::fs::path doesn't like appending '/' separated path components
* Redirect '/dashboard' to '/dashboard/'
* Missed a few copyright headers
* Moved unescaped logo somewhere more suitable
* More robust catching and displaying of errors
* No need for the guard now or for waiting
* Formal access to a component's style
* Style tables explicitly without instead of via a CSS variable
* Highlight a row under the cursor to guide user's eye
* Not using css_var() so it was removed
* Add more detail to a project's list of oplogs
* Disabled test page's CbObject testing
* Consider all fields ending in "importedpackageids" as dependencies
* Don't wrap sector headers
* Package ids were derived with endianess back to front
* Moved oplog marker column further left
* Adopt a vararg-style to Table.add_row() for cell contents
* List and hotlink oplog entries' package data
* Modest control over how a table's columns are arranged
* Added tables to test column spacing
* Keep stat filter input box correctly up to date
* A clang-format run
* Updated html.zip
* validate found oplog directories when doing discover pass
---------
Co-authored-by: Dan Engelbrecht <[email protected]>
Diffstat (limited to 'src/zenserver/projectstore/projectstore.cpp')
| -rw-r--r-- | src/zenserver/projectstore/projectstore.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/zenserver/projectstore/projectstore.cpp b/src/zenserver/projectstore/projectstore.cpp index a5bd1859b..0e6b2d3c9 100644 --- a/src/zenserver/projectstore/projectstore.cpp +++ b/src/zenserver/projectstore/projectstore.cpp @@ -3065,7 +3065,10 @@ ProjectStore::Project::ScanForOplogs() const Oplogs.reserve(DirContent.Directories.size()); for (const std::filesystem::path& DirPath : DirContent.Directories) { - Oplogs.push_back(DirPath.filename().string()); + if (Oplog::ExistsAt(DirPath)) + { + Oplogs.push_back(DirPath.filename().string()); + } } } |