summaryrefslogtreecommitdiff
path: root/app/controllers/projects_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Keep project settings sections expanded after submitting formMike Greiling2018-08-081-6/+6
|
* Use Projects::UpdateService to archive projectsJames Ramsay2018-08-031-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.
* Updates from `rubocop -a`Lin Jen-Shin2018-07-091-1/+1
|
* Update Import/Export to use object storage (based on aa feature flag)James Lopez2018-07-061-5/+12
|
* Add option to add README when creating a projectImre Farkas2018-07-041-0/+1
|
* Set flash error message only for current request when updating projectAram Visser2018-06-251-1/+1
|
* The json keys of ref switcher should not be translatedhiroponz/gitlab-ce-48100-fix-branch-not-shownHiroyuki Sato2018-06-201-2/+2
|
* [Rails5] Add `safe_params` helperblackst0ne2018-04-081-1/+1
| | | | | | | | | | Rails 5.0 requires to explicitly permit attributes when building a URL using current `params` object. The `safe_params` helper allows developers to just call `safe_params.merge(...)` instead of manually adding `permit` to every call. https://github.com/rails/rails/pull/20868
* Use ChronicDurationAttribute to handle CI/CD timeout settingTomasz Maczukin2018-04-041-1/+1
|
* Merge branch 'ce-3839-ci-cd-only-projects-fe' into 'master'Robert Speicher2018-03-051-3/+11
|\ | | | | | | | | Create CI/CD-only projects by URL -- CE backport See merge request gitlab-org/gitlab-ce!17342
| * CI/CD-only projects FEEric Eastwood2018-03-051-1/+5
| | | | | | | | | | | | | | | | | | | | | | See https://gitlab.com/gitlab-org/gitlab-ee/issues/3839 Conflicts: app/assets/javascripts/projects/project_new.js app/views/shared/_import_form.html.haml ee/app/controllers/ee/projects_controller.rb ee/spec/features/projects/new_project_spec.rb locale/gitlab.pot
| * Backport BE changes from CI/CD projects ee!4567Eric Eastwood2018-03-021-2/+6
| | | | | | | | See https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/4567
* | Replace deprecated name_with_namespace with full_name in app and specDmitriy Zaporozhets2018-03-051-1/+1
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch '43261-fix-import-from-url-name-collision-active-tab' into 'master'Phil Hughes2018-02-231-1/+1
|\ | | | | | | | | | | | | Keep "Import project" tab/form active when validation fails trying to import "Repo by URL" Closes #43261 See merge request gitlab-org/gitlab-ce!17136
| * Make import tab/form active when importing project by URL and validation fails43261-fix-import-from-url-name-collision-active-tabEric Eastwood2018-02-201-1/+1
| | | | | | | | See https://gitlab.com/gitlab-org/gitlab-ce/issues/43261
* | Move project presenter instance creation to controllerOswaldo Ferreira2018-02-221-0/+2
| |
* | Refactor IssuableFinder to extract model-specific logicrefactor-issuable-finder-to-use-inheritanceSean McGivern2018-02-211-1/+4
|/ | | | | | | | | By extracting a new `filter_items` method, we can override that in the IssuesFinder and MergeRequestsFinder separately, so we don't need checks that the model is the correct one, because we can just use the class we're in to know that. We can do the same for the VALID_PARAMS constant, by making it a class method.
* Merge branch 'query-counts' into 'master'Rémy Coutable2018-02-051-0/+5
|\ | | | | | | | | Track and act upon the number of executed SQL queries See merge request gitlab-org/gitlab-ce!16466
| * Track and act upon the number of executed queriesquery-countsYorick Peterse2018-02-011-0/+5
| | | | | | | | | | | | | | | | | | | | | | This ensures that we have more visibility in the number of SQL queries that are executed in web requests. The current threshold is hardcoded to 100 as we will rarely (maybe once or twice) change it. In production and development we use Sentry if enabled, in the test environment we raise an error. This feature is also only enabled in production/staging when running on GitLab.com as it's not very useful to other users.
* | use Gitlab::UserSettings directly as a singleton instead of ↵Mario de la Ossa2018-02-021-1/+1
|/ | | | including/extending it
* Enable RuboCop Style/RegexpLiteralTakuya Noguchi2018-02-011-1/+1
|
* Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉2018-01-111-0/+1
|
* Remove the Project#repo methodJacob Vosmaer2018-01-041-1/+1
|
* Merge branch 'lfs-badge' into 'master'Douwe Maan2017-12-151-0/+1
|\ | | | | | | | | | | | | Added LFS badge to indicate LFS tracked files Closes #15567 See merge request gitlab-org/gitlab-ce!15845
| * moved lfs_blob_ids method into ExtractsPath modulelfs-badgePhil Hughes2017-12-141-5/+0
| |
| * moved lfs blob fetch from extractspath filePhil Hughes2017-12-141-0/+6
| |
* | Merge branch '36679-non-authorized-user-may-see-wikis-or-pipeline-page' into ↵Douwe Maan2017-12-081-1/+1
|/ | | | | | | | | | | 'security-10-2' Fixes project visibility guidelines See merge request gitlab/gitlabhq!2226 (cherry picked from commit 877c42c0aaf3298d6001614c9706bc366ae4014c) e4fd1c26 Ensure project wiki visibility guidelines are met
* Create merge request from emailJan Provaznik2017-12-051-2/+2
| | | | | | | | | | | * new merge request can be created by sending an email to the specific email address (similar to creating issues by email) * for the first iteration, source branch must be specified in the mail subject, other merge request parameters can not be set yet * user should enable "Receive notifications about your own activity" in user settings to receive a notification about created merge request Part of #32878
* Adds Rubocop rule for line break after guard clauseJacopo2017-11-161-0/+1
| | | | Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
* Refactor issuables index actionsJarka Kadlecova2017-11-071-1/+2
|
* Resolve "DashboardController#activity.json is slow due to SQL"Francisco Javier López2017-11-061-0/+2
|
* Merge branch 'master' into sh-security-fix-backports-masterStan Hu2017-10-171-1/+1
|\
| * Change project deletion message from alert to noticeWinnie Hellmann2017-10-171-1/+1
| |
* | Merge branch 'security-10-1' into '10-1-stable'Jen-Shin Lin2017-10-171-0/+10
|/ | | | | Security fixes for 10.1 RC See merge request gitlab/gitlabhq!2209
* Add support for markdown preview to group milestonesmove_markdown_preview_to_concernVitaliy @blackst0ne Klachkov2017-10-111-12/+1
|
* Fast forward merge: basic implemenation[ci skip]Valery Sizov2017-09-191-0/+1
|
* change collapse to resolve and comments to discussionsAshley Dumaine2017-09-061-1/+1
|
* Add functionality to collapse outdated diff comments regardless of ↵Ashley Dumaine2017-09-061-0/+1
| | | | discussion resolution
* Add check for access to NamespaceRubén Dávila2017-08-301-1/+4
|
* Address some suggestions from first code reviewRubén Dávila2017-08-291-10/+1
|