summaryrefslogtreecommitdiff
path: root/spec/finders
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'feature/runner-state-filter-for-admin-view' into 'master'Grzegorz Bizon2018-09-141-0/+65
|\ | | | | | | | | Feature: State filter for admin runners view See merge request gitlab-org/gitlab-ce!19625
| * enable frozen string literal on runners finderAlexis Reigel2018-08-291-0/+2
| |
| * add sort dropdown to admin runners pageAlexis Reigel2018-08-291-6/+6
| |
| * use filtered search bar for admin runnersAlexis Reigel2018-08-291-1/+1
| |
| * extract filter/sort/paging logic to finder classAlexis Reigel2018-08-201-0/+63
| |
* | Resolve "500 Internal Server Error: Deleting branch of deleted project"🙈 jacopo beschi 🙉2018-09-121-0/+7
| |
* | Include private contributions in user contribution graphGeorge Tsiolis2018-09-072-39/+17
| |
* | Resolve "Improve handling of projects shared with a group"Dennis Tang2018-09-071-0/+9
| |
* | Allow the TemplateFinder to handle licenses as wellNick Thomas2018-09-051-0/+15
| |
* | Convert global templates to vendored templates via a ::TemplateFinderNick Thomas2018-09-051-0/+33
| |
* | Refactor AutocompleteControllerdefine-abstraction-levelsYorick Peterse2018-08-206-27/+220
|/ | | | | | | | | | | | | | | | | | | | | | | This refactors the AutocompleteController according to the guidelines and boundaries discussed in https://gitlab.com/gitlab-org/gitlab-ce/issues/49653. Specifically, ActiveRecord logic is moved to different finders, which are then used in the controller. View logic in turn is moved to presenters, instead of directly using ActiveRecord's "to_json" method. The finder MoveToProjectFinder is also adjusted according to the abstraction guidelines and boundaries, resulting in a much more simple finder. By using finders (and other abstractions) more actively, we can push a lot of logic out of the controller. We also remove the need for various "before_action" hooks, though this could be achieved without using finders as well. The various finders related to AutcompleteController have also been moved into a namespace. This removes the need for calling everything "AutocompleteSmurfFinder", instead you can use "Autocomplete::SmurfFinder".
* Introduce a LicenseTemplate model and LicenseTemplateFinder helperNick Thomas2018-08-151-0/+49
|
* Merge branch 'group-todos' into 'master'Sean McGivern2018-08-071-0/+38
|\ | | | | | | | | Group todos See merge request gitlab-org/gitlab-ce!20675
| * Don’t do authorisation checks for todosJarka Kadlecová2018-08-021-26/+0
| |
| * Revert "Revert "Merge branch 'ee-5481-epic-todos' into 'master'""Jarka Kadlecová2018-08-021-0/+64
| | | | | | | | This reverts commit 8717c7dad9b5a8fa21ec9a652c54718a6b4c2175.
* | Use Projects::UpdateService to archive projectsJames Ramsay2018-08-032-2/+2
|/ | | | | | System hooks were not being triggered when projects were archived or unarchived. Reuse the Projects::UpdateService to automatically trigger system hooks and increase code reuse.
* Add specs for label search backend codeDmitriy Zaporozhets2018-07-311-1/+15
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add an option to have a private profile on GitLabJX Terry2018-07-241-2/+13
|
* Revert "Merge branch 'ee-5481-epic-todos' into 'master'"Jarka Kadlecová2018-07-111-64/+0
| | | | | This reverts commit 4d9a3f42f1fd3be21555e19872b7121cca65015e, reversing changes made to ecf9c145f6e4d170cd059df88743393d9e63c489.
* Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao2018-07-1114-52/+52
|
* Updates from `rubocop -a`Lin Jen-Shin2018-07-094-5/+5
|
* Merge branch 'ee-5481-epic-todos' into 'master'Sean McGivern2018-07-041-0/+64
|\ | | | | | | | | Port of Todos for epics See merge request gitlab-org/gitlab-ce!19908
| * [backend] Addressed review commentsJan Provaznik2018-07-031-1/+12
| | | | | | | | | | | | | | * Group filtering now includes also issues/MRs from subgroups/subprojects * fixed due_date * Also DRYed todo controller specs
| * Support todos for epics backportJarka Kadlecová2018-07-031-0/+53
| |
* | Add pipeline lists to GraphQLBob Van Landuyt2018-07-041-3/+26
|/ | | | | | | | | This adds Keyset pagination to GraphQL lists. PoC for that is pipelines on merge requests and projects. When paginating a list, the base-64 encoded id of the ordering field (in most cases the primary key) can be passed in the `before` or `after` GraphQL argument.
* Add locked state to merge request APIChantal Rollison2018-06-281-3/+11
|
* Merge branch 'security-rd-do-not-show-internal-info-in-public-feed' into ↵Alessio Caiazza2018-06-251-13/+32
|\ | | | | | | | | | | | | 'master' [master] Don't show internal info in public feed See merge request gitlab/gitlabhq!2395
| * Hide events from internal projects in public feed for anonymous usersRubén Dávila2018-06-121-13/+32
| | | | | | | | | | | | This change fixes a bug where an anonymous user was able to see the activity related to internal projects when visiting the public profile of a user of the GitLab instance.
* | Changes tab VUE refactoringFelipe Artur2018-06-211-1/+1
|/
* Backport of "Add assignee lists to boards"Mario de la Ossa2018-06-072-0/+24
|
* Refactor validations and make runner factory by default to be instance-wide ↵Kamil Trzciński2018-05-311-1/+1
| | | | runner
* Merge branch '44799-api-naming-issue-scope' into 'master'Rémy Coutable2018-05-211-1/+1
|\ | | | | | | | | | | | | Resolve "API naming for issue scope" Closes #44799 See merge request gitlab-org/gitlab-ce!18935
| * Add created_by_me and assigned_to_me scopes44799-api-naming-issue-scopeMark Chao2018-05-211-1/+1
| | | | | | | | Deprecate corresponding dash versions created-by-me and assigned-to-me
* | Order UsersController#projects.json by updated_atTakuya Noguchi2018-05-191-5/+7
|/
* show only groups an admin is a member of in dashboards/gropsRoger Rüttimann2018-05-011-28/+56
|
* Add sha filter to list pipelinesJames Ramsay2018-04-271-0/+20
| | | | | | | To find the pipeline for a specific sha requires scanning the list of all pipelines for a ref that contains the sha. This makes it hard to find the pipeline id needed to access a trace for a specific job run in the pipeline using the API.
* Revert "Don't include projects shared as group-descendants"Bob Van Landuyt2018-04-181-9/+0
| | | | | | This reverts commit 2c3c5b35549185080296670cfe6710aa80f99944. Revisit this after https://gitlab.com/gitlab-org/gitlab-ce/issues/45441
* Prevent new merge requests for archived projectsBob Van Landuyt2018-04-111-0/+6
| | | | | | | This prevents creating merge requests targeting archived projects. This could happen when a project was already forked, but then the source was archived.
* Allow assigning and filtering issuables by ancestor group labelsFelipe Artur2018-04-041-1/+33
|
* Rearrange DeploymentPlatform methodsMayra Cabrera2018-03-221-1/+1
| | | | | | | - Change find_cluster_platform_kubernetes to ignore environment argument - Fix broken specs CE Port of: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/5047/
* Remove default scope from todosremove-default-scope-from-todosSean McGivern2018-03-051-12/+15
| | | | This was causing todo priority sorting to fail.
* Merge branch '41616-api-issues-between-date' into 'master'Sean McGivern2018-03-052-8/+85
|\ | | | | | | | | | | | | Resolve "API support for selecting only updated issues before/after a given date" Closes #41616 See merge request gitlab-org/gitlab-ce!17417
| * Adds updated_at filter to issues and merge_requests APIJacopo2018-03-052-8/+85
| |
* | Use limited count queries also for scoped searchesJan Provaznik2018-03-051-0/+12
|/
* Allow to include also descendant group labelsJan Provaznik2018-03-021-0/+19
| | | | | | Because epic index page includes also epics from subgroups it's necessary to also get descendant group labels for filtering. https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/4773#note_61236542
* Merge branch 'merge-requests-api-filter-by-branch' into 'master'Rémy Coutable2018-03-011-1/+17
|\ | | | | | | | | | | | | Add source and target branch filters to merge requests API Closes #42492 See merge request gitlab-org/gitlab-ce!17355
| * Add source and target branch filters to merge requests APISean McGivern2018-03-011-1/+17
| |
* | Allow to find labels in ancestor groups and better group support in label ↵Jan Provaznik2018-02-261-0/+23
|/ | | | service
* Port `read_cross_project` ability from EEBob Van Landuyt2018-02-226-3/+256
|
* Merge branch ↵Douwe Maan2018-02-091-52/+15
| | | | | | 'security-10-4-25223-snippets-finder-doesnt-obey-feature-visibility' into 'security-10-4' [Port for security-10-4]: Makes SnippetFinder ensure feature visibility