summaryrefslogtreecommitdiff
path: root/lib/gitlab/cycle_analytics
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-071-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-271-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-061-1/+1
|
* Prevent guests from seeing commits for cycle analyticsAakriti Gupta2019-11-201-3/+19
| | | | | - if the user has access level lower than REPORTER, don't include commit count in summary
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-192-2/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-014-12/+19
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-161-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-162-2/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-078-16/+28
|
* Fix error on project nameGosia Ksionek2019-08-058-21/+28
| | | | Add project path to sql query to build proper path
* Change sql queryMałgorzata Ksionek2019-07-231-3/+3
|
* Add code review remarksadjust-group-level-analytics-to-accept-multiple-project-idsMałgorzata Ksionek2019-07-237-21/+24
| | | | | | | | | | | | | | Add cr remarks Improve specs according to the review Fix schema Add cr remarks Fix naming Add cr remarks
* Add basic project extractionMałgorzata Ksionek2019-07-237-35/+55
| | | | | | | | | | | | | | | | | | | | To allow project filtering Prepare summary for accepting multiple groups Modify deploys group summary class Add filtering by project name in issues summary Fix rubocop offences Add changelog entry Change name to id in project filtering Fix rebase problem Add project extraction
* Add code review remarksMałgorzata Ksionek2019-07-161-1/+1
| | | | Change small things for better readability
* Add code review remarksMałgorzata Ksionek2019-07-161-1/+1
| | | | Make specs more readable
* Add class for group level analyticsMałgorzata Ksionek2019-07-1516-29/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add specs for group level Update entities Update base classes Add groups-centric changes Update plan and review stage Add summary classes Add summary spec Update specs files Add to specs test cases for group Add changelog entry Add group serializer Fix typo Fix typo Add fetching namespace in sql query Update specs Add rubocop fix Add rubocop fix Modify method to be in sync with code review Add counting deploys from subgroup To group summary stage Add subgroups handling In group stage summary Add additional spec Add additional specs Add more precise inheritance Add attr reader to group level Fix rubocop offence Fix problems with specs Add cr remarks Renaming median method and a lot of calls in specs Move spec setup Rename method in specs Add code review remarks regarding module Add proper module name
* Add attribute readerMałgorzata Ksionek2019-07-1012-22/+24
|
* Add guard clauseMałgorzata Ksionek2019-07-091-0/+2
|
* Add cr remarksMałgorzata Ksionek2019-07-091-1/+1
|
* Add code review remarksMałgorzata Ksionek2019-07-091-1/+1
|
* Add one method to base event fetcherMałgorzata Ksionek2019-07-092-0/+5
| | | | FIx file
* Fix rubocop offencesMałgorzata Ksionek2019-07-092-2/+2
|
* Update class callsMałgorzata Ksionek2019-07-091-2/+1
|
* Modify base class for cycle analytics fetchingMałgorzata Ksionek2019-07-093-17/+34
|
* Change constant pathMałgorzata Ksionek2019-07-091-1/+1
|
* Fix plan stage queryGosia Ksionek2019-06-1719-83/+169
| | | | Fix plan stage query and the way it is displayed
* Adds the Rubocop ReturnNil copAndrew Newdigate2019-03-061-2/+2
| | | | | This style change enforces `return if ...` instead of `return nil if ...` to save maintainers a few minor review points
* Enable even more frozen string in lib/gitlabgfyoung2018-11-0629-0/+58
| | | | | | | | | | | | | | | | | Enables frozens string for the following: * lib/gitlab/conflict/**/*.rb * lib/gitlab/cross_project_access/**/*.rb * lib/gitlab/cycle_analytics/**/*.rb * lib/gitlab/data_builder/**/*.rb * lib/gitlab/database/**/*.rb * lib/gitlab/dependency_linker/**/*.rb * lib/gitlab/diff/**/*.rb * lib/gitlab/downtime_check/**/*.rb * lib/gitlab/email/**/*.rb * lib/gitlab/etag_caching/**/*.rb Partially addresses gitlab-org/gitlab-ce#47424.
* Migrate CycleAnalytics::CommitCount to GitalyKim Carlbäcker2018-06-111-15/+5
|
* Add "deny disk access" Gitaly feature (tripswitch)Jacob Vosmaer (GitLab)2018-06-011-1/+3
|
* Adapt cycle analytics spec helper and cycle analytics usage data spec41777-include-cycle-time-in-usage-pingTiago Botelho2018-03-012-4/+8
|
* Refactors median code to work with both single and multiple projectsTiago Botelho2018-02-283-26/+34
|
* Restrict cycle analytics usage data to instances that use postgres onlyTiago Botelho2018-02-281-2/+2
|
* Restore memoization to base query and add a batch base query methodTiago Botelho2018-02-284-8/+8
|
* Add BatchLoader as a way to refactor the base stage codeTiago Botelho2018-02-285-24/+31
|
* Refactor CycleAnalytics base stage class and modelTiago Botelho2018-02-281-5/+1
|
* Adds get all medians to Cycle Analytics modelTiago Botelho2018-02-283-5/+74
|
* Remove soft removals related codeYorick Peterse2018-01-081-1/+0
| | | | | | | | | | | | | | This removes all usage of soft removals except for the "pending delete" system implemented for projects. This in turn simplifies all the query plans of the models that used soft removals. Since we don't really use soft removals for anything useful there's no point in keeping it around. This _does_ mean that hard removals of issues (which only admins can do if I'm not mistaken) can influence the "iid" values, but that code is broken to begin with. More on this (and how to fix it) can be found in https://gitlab.com/gitlab-org/gitlab-ce/issues/31114. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/37447
* Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin2017-11-301-7/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (170 commits) support ordering of project notes in notes api Redirect to an already forked project if it exists Reschedule the migration to populate fork networks Create fork networks for forks for which the source was deleted. Fix item name and namespace text overflow in Projects dropdown Minor backport from EE fix link that was linking to `html` instead of `md` Backport epic tasklist Add timeouts for Gitaly calls SSHUploadPack over Gitaly is now OptOut fix icon colors in commit list Fix star icon color/stroke Backport border inline edit Add checkboxes to automatically run AutoDevops pipeline BE for automatic pipeline when enabling Auto DevOps I am certainly weary of debugging sidekiq but I don't think that's what was meant Ensure MRs always use branch refs for comparison Fix issue comment submit button disabled on GFM paste Lock seed-fu at the correct version in Gemfile.lock Improve indexes on merge_request_diffs ...
| * Remove serialised diff and commit columnsSean McGivern2017-11-281-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The st_commits and st_diffs columns on merge_request_diffs historically held the YAML-serialised data for a merge request diff, in a variety of formats. Since 9.5, these have been migrated in the background to two new tables: merge_request_diff_commits and merge_request_diff_files. That has the advantage that we can actually query the data (for instance, to find out how many commits we've stored), and that it can't be in a variety of formats, but must match the new schema. This is the final step of that journey, where we drop those columns and remove all references to them. This is a breaking change to the importer, because we can no longer import diffs created in the old format, and we cannot guarantee the export will be in the new format unless it was generated after this commit.
* | Cache allowed_idsLin Jen-Shin2017-11-221-1/+1
| |
* | Move ModuleWithInstanceVariables to Gitlab namespaceLin Jen-Shin2017-11-222-3/+3
| | | | | | | | | | And use .rubocop.yml to exclude paths we don't care, rather than using the cop itself to exclude.
* | Just define allowed_ids and override it with empty valueLin Jen-Shin2017-11-226-16/+8
| | | | | | | | if not needed for those sub-classes.
* | Use StrongMemoize and enable/disable cops properlyLin Jen-Shin2017-11-182-5/+5
| |
* | Allow simple ivar ||= form. Update accordinglyLin Jen-Shin2017-09-192-2/+2
| |
* | Add cop to make sure we don't use ivar in a moduleLin Jen-Shin2017-09-188-24/+34
|/
* Refactor Gitlab::Git::Commit to include a repositoryAlejandro Rodríguez2017-08-071-1/+1
|
* Add table for merge request commitsSean McGivern2017-07-062-9/+32
| | | | | | | | | | | This is an ID-less table with just three columns: an association to the merge request diff the commit belongs to, the relative order of the commit within the merge request diff, and the commit SHA itself. Previously we stored much more information about the commits, so that we could display them even when they were deleted from the repo. Since 8.0, we ensure that those commits are kept around for as long as the target repo itself is, so we don't need to duplicate that data in the database.
* Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-211-9/+9
|
* Enable the Style/TrailingCommaInLiteral copRémy Coutable2017-05-101-1/+1
| | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>