summaryrefslogtreecommitdiff
path: root/app/controllers/projects_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@13-1-stable-eeGitLab Bot2020-06-181-7/+14
|
* Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot2020-05-201-6/+6
|
* Add latest changes from gitlab-org/gitlab@12-10-stable-eeGitLab Bot2020-04-201-0/+4
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-191-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-061-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-301-1/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-241-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-171-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-151-3/+6
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-131-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-081-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-071-2/+5
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-051-0/+18
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-171-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-231-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-091-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-181-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-131-0/+2
|
* CE: Audit event for archiving and unarchiving projectsce-8631-archiving-a-project-should-create-an-audit-eventmanojmj2019-08-211-4/+1
|
* Allow disabling group/project email notificationsBrett Walker2019-08-151-0/+1
| | | | | | - Adds UI to configure in group and project settings - Removes notification configuration for users when disabled at group or project level
* Separate private methods under the keyword on projects controllerFurkan Ayhan2019-07-281-10/+12
|
* Rewrite `if:` argument in before_action and alike when `only:` is also usedGeorge Thomas2019-07-181-3/+5
| | | | | | Closes #55564 This is first discovered in #54739 (comment 122609857) that if both if: and only: are used in a before_action or after_action or alike, if: is completely ignored.
* Merge branch 'sh-fix-issue-63349' into 'master'Rémy Coutable2019-07-041-1/+1
|\ | | | | | | | | | | | | Make Housekeeping button do a full garbage collection Closes #63349 See merge request gitlab-org/gitlab-ce!30289
| * Make Housekeeping button do a full garbage collectionsh-fix-issue-63349Stan Hu2019-07-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the Housekeeping button and API would use the counter of last pushes to determine whether to do a full garbage collection, or whether to do one of the less comprehensive tasks: a full repack, incremental pack, or ref pack. This was confusing behavior, since a project owner might have to click the button dozens of times before a full GC would be initiated. This commit forces a full GC each time this is initiated. Note that the `ExclusiveLease` in `HousekeepingService` prevents users from clicking on the button more than once a day. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63349
* | Expose merge requests count based on user accessAlexandru Croitor2019-06-181-1/+1
|/ | | | | | | | | Count issues related merge requests based on user access level. And issue can have related MRs from projects where user does not have access so the number of related merge requests should be adjusted based on user's ability to access the related MRs. https://gitlab.com/gitlab-org/gitlab-ce/issues/59581
* Hide password on import by url formIgor Drozdov2019-05-291-0/+2
|
* Update projects controllergroup-project-template-in-paid-featuresMałgorzata Ksionek2019-04-161-3/+3
|
* Forbid the use of `#reload` and prefer `#reset`forbid-the-usage-of-reloadKamil Trzciński2019-04-151-1/+1
| | | | | | | The `#reload` makes to load all objects into memory, and the main purpose of `#reload` is to drop the association cache. The `#reset` seems to solve exactly that case.
* Move Contribution Analytics related spec in ↵Imre Farkas2019-04-091-0/+1
| | | | spec/features/groups/group_page_with_external_authorization_service_spec to EE
* Expand FindCommit caching to blob and refssh-improve-find-commit-cachingStan Hu2019-04-061-2/+2
| | | | | | | | | | | This enables FindCommit caching to the following actions: * BlobController#show * RefsController#logs_tree It also improves caching in CommitsController since some duplicate requests were occuring inside the before_action definitions.
* Merge branch 'revert-3962b00b' into 'master'Andreas Brandl2019-04-051-1/+0
|\ | | | | | | | | Revert "Merge branch 'if-57131-external_auth_to_ce' into 'master'" See merge request gitlab-org/gitlab-ce!27051
| * Revert "Merge branch 'if-57131-external_auth_to_ce' into 'master'"Andreas Brandl2019-04-051-1/+0
| | | | | | This reverts merge request !26823
* | Enable FindCommit caching for project and commits pagesStan Hu2019-04-051-0/+2
|/ | | | | This reduces a handful of duplicate FindCommit calls while viewing the projects and commits pages.
* Move Contribution Analytics related spec in ↵Imre Farkas2019-04-051-0/+1
| | | | spec/features/groups/group_page_with_external_authorization_service_spec to EE
* Add cr remarksMałgorzata Ksionek2019-03-251-3/+3
|
* Disallow changing namespace of a project in update methodMałgorzata Ksionek2019-03-201-5/+8
|
* Update last_activity_on for Users on some main GET endpointsRubén Dávila2019-02-051-0/+1
| | | | | | | In order to have an accurate date about the last activity of a User we need to update the last_activity_on field when the User is visiting some basic pages of GitLab like pages related to Dashboards, Projects, Issues and Merge Requests
* Add ability to resolve project id into pathDmitriy Zaporozhets2019-01-221-3/+13
| | | | | | | | | By visiting `projects/:id` you will be redirected to project page with path in it. projects/123 => foo/bar Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Project guests no longer are able to see refs pageTiago Botelho2018-12-191-0/+1
| | | | | | Adds download_code authorization check to ProjectsController#refs action, to prevent a project guest from seeing branch, tags and commits information
* Merge branch 'security-fix-pat-web-access' into 'master'Cindy Pallares2018-11-281-0/+2
| | | | | [master] Resolve "Personal access token with only `read_user` scope can be used to authenticate any web request" See merge request gitlab/gitlabhq!2583
* Fix typos in comments and specsGeorge Tsiolis2018-11-011-1/+1
|
* Make GitLab pages support access controlTuomo Ala-Vannesluoma2018-10-051-0/+1
|
* Applies the CE backport of EE#657Tiago Botelho2018-09-241-0/+5
|
* Enable frozen string in app/controllers/**/*.rbrepo-forks/gitlab-ce-frozen-string-app-controllergfyoung2018-09-181-0/+2
| | | | | | | | | | | | Enables frozen string for the following: * app/controllers/*.rb * app/controllers/admin/**/*.rb * app/controllers/boards/**/*.rb * app/controllers/ci/**/*.rb * app/controllers/concerns/**/*.rb Partially addresses #47424.
* Resolve "Unable to import repository: undefined method `import_file' for ↵James Lopez2018-09-171-1/+1
| | | | nil:NilClass"
* Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-111-0/+8
| | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* refactor code based on feedbackJames Lopez2018-09-071-1/+1
|
* refactor code based on feedbackJames Lopez2018-09-071-2/+2
|
* Refactor code to remove object storage flag from Import/ExportJames Lopez2018-09-061-11/+1
| | | | | | Updated docs, refactor import/export code Fix AvatarUploader path issue Fix project export upload webhook error
* Move badge settings to general settingsWinnie Hellmann2018-09-031-0/+2
|