summaryrefslogtreecommitdiff
path: root/app/models/project_statistics.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug calculating artifact size for project statisticsNick Thomas2018-01-181-1/+1
|
* Revert "Rename `job_archive|metadata` to `artifacts_archive|metadata`"Kamil Trzcinski2017-12-031-3/+0
| | | | This reverts commit 714082e65304ae2ec5c5400c59a68ab63e724aa9.
* Rename `job_archive|metadata` to `artifacts_archive|metadata`Kamil Trzcinski2017-12-031-0/+3
|
* Fix most test failuresZeger-Jan van de Weg2017-12-031-2/+1
|
* Rename Artifact to JobArtifact, split metadata outZeger-Jan van de Weg2017-12-031-1/+4
| | | | | | | | | Two things at ones, as there was no clean way to seperate the commit and give me feedback from the tests. But the model Artifact is now JobArtifact, and the table does not have a type anymore, but the metadata is now its own model: Ci::JobArtifactMetadata.
* Re-enable SqlInjection and CommandInjectionBrian Neel2017-08-081-1/+1
|
* Enable Style/MutableConstantDouwe Maan2017-02-231-1/+1
|
* Fix Project#update_repository_size to convert MB to Bytes properly26773-fix-project-statistics-repository-sizeOswaldo Ferreira2017-01-171-1/+2
|
* Add more storage statisticsMarkus Koller2016-12-211-0/+43
This adds counters for build artifacts and LFS objects, and moves the preexisting repository_size and commit_count from the projects table into a new project_statistics table. The counters are displayed in the administration area for projects and groups, and also available through the API for admins (on */all) and normal users (on */owned) The statistics are updated through ProjectCacheWorker, which can now do more granular updates with the new :statistics argument.