summaryrefslogtreecommitdiff
path: root/app
Commit message (Collapse)AuthorAgeFilesLines
* Backports every CE related change from ee-5484 to CE42099-port-push-mirroring-to-ce-ce-portTiago Botelho2018-05-0414-1/+544
|
* Backports every CE related change from ee-44542 to CETiago Botelho2018-05-0312-82/+189
|
* Merge branch '5480-sidebar-subscription-event-handling' into 'master'Phil Hughes2018-05-022-9/+2
|\ | | | | | | | | Platform: Use component to emit event on Subscription toggle component instead of eventHub See merge request gitlab-org/gitlab-ce!18682
| * Consume `toggleSubscription` event directly from Subscriptions componentKushal Pandya2018-05-021-7/+1
| |
| * Emit `toggleSubscription` event on component instead of eventHubKushal Pandya2018-05-021-2/+1
| |
* | Merge branch 'improve-quick-actions-summary-preview' into 'master'Tim Zallmann2018-05-021-0/+10
|\ \ | |/ |/| | | | | | | | | Improve quick actions summary preview Closes #45892 See merge request gitlab-org/gitlab-ce!18659
| * Improve quick actions summary previewGeorge Tsiolis2018-05-011-0/+10
| |
* | [Rails5] Fix enum question mark methodsblackst0ne2018-05-022-0/+18
| |
* | Display and revoke active sessionsAlexis Reigel ( 🌴 may 2nd - may 9th 🌴 )2018-05-028-30/+209
| |
* | Merge branch 'blackst0ne-rails5-add-touch-later-to-commit-model' into 'master'Rémy Coutable2018-05-021-0/+6
|\ \ | | | | | | | | | | | | [Rails5] Add `touch_later` to `Commit` model See merge request gitlab-org/gitlab-ce!18642
| * | [Rails5] Add `touch_later` to `Commit` modelblackst0ne2018-04-291-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes errors like: ``` 1) API::Todos GET /todos when unauthenticated returns authentication error Failure/Error: @raw.__send__(method, *args, &block) # rubocop:disable GitlabSecurity/PublicSend NoMethodError: undefined method `touch_later' for #<Gitlab::Git::Commit:0x00005573f5196270> # ./app/models/commit.rb:259:in `method_missing' # ./spec/requests/api/todos_spec.rb:12:in `block (2 levels) in <top (required)>' ```
* | | Merge branch ↵Rémy Coutable2018-05-025-5/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 'blackst0ne-rails5-use-safe-params-instead-of-params-in-url-for-helpers' into 'master' [Rails5] Use `safe_params` instead of `params` in `url_for` helpers See merge request gitlab-org/gitlab-ce!18637
| * | | [Rails5] Use `safe_params` instead of `params` in `url_for` helpersblackst0ne2018-04-285-5/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commits replaces `params` with `safe_params` in `url_for` helpers to resolve security issues [1] and failing specs with the ``` ArgumentError: Attempting to generate a URL from non-sanitized request parameters! An attacker can inject malicious data into the generated URL, such as changing the host. Whitelist and sanitize passed parameters to be secure. ``` error. [1]: https://gitlab.com/gitlab-org/gitlab-ce/issues/45168
* | | Merge branch 'blackst0ne-rails5-update-application-controller-log-exception' ↵Rémy Coutable2018-05-021-1/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | into 'master' [Rails5] Update `ApplicationController#log_exception` to fix `undefined method 'clean'` error See merge request gitlab-org/gitlab-ce!18636
| * | | [Rails5] Update `ApplicationController#log_exception` to fix `undefined ↵blackst0ne2018-04-281-1/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | method 'clean'` error This commit fixes the error: ``` 1) Projects::TodosController Merge Requests POST create when not authorized for merge_request doesn't create todo Failure/Error: application_trace = ActionDispatch::ExceptionWrapper.new(env, exception).application_trace NoMethodError: undefined method `clean' for #<Hash:0x000055be5bda35d0> Did you mean? clear # ./app/controllers/application_controller.rb:113:in `log_exception' # ./app/controllers/application_controller.rb:40:in `block in <class:ApplicationController>' # ./spec/controllers/projects/todos_controller_spec.rb:80:in `go' # ./spec/controllers/projects/todos_controller_spec.rb:138:in `block (6 levels) in <top (required)>' # ./spec/controllers/projects/todos_controller_spec.rb:138:in `block (5 levels) in <top (required)>' # ------------------ # --- Caused by: --- # ActiveRecord::RecordNotFound: # Couldn't find MergeRequest # ./app/finders/concerns/finder_methods.rb:19:in `raise_not_found_unless_authorized' Finished in 7.53 seconds (files took 12.8 seconds to load) 1 example, 1 failure ``` Also see https://github.com/rails/rails/commit/6d85804bc6aeecce5669fb4b0d7b33c069deff3a
* | | Merge branch 'make-job-lfs-artifacts-read-only' into 'master'Douwe Maan2018-05-023-4/+3
|\ \ \ | | | | | | | | | | | | | | | | Fix file_store for artifacts and lfs when saving See merge request gitlab-org/gitlab-ce!18624
| * | | Fix file_store for artifacts and lfs when savingKamil Trzciński2018-05-013-4/+3
| | | |
* | | | Merge branch 'blackst0ne-rails5-fix-delete-user-worker' into 'master'Rémy Coutable2018-05-021-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | [Rails5] Fix `params` for DeleteUserWorker See merge request gitlab-org/gitlab-ce!18635
| * | | | [Rails5] Fix `params` for DeleteUserWorkerblackst0ne2018-04-281-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes the error: ``` 1) Admin::UsersController DELETE #user with projects deletes the user and their contributions when hard delete is specified Failure/Error: Users::DestroyService.new(current_user).execute(delete_user, options.symbolize_keys) NoMethodError: undefined method `symbolize_keys' for "{\"hard_delete\"=>\"true\"}":String # ./app/workers/delete_user_worker.rb:8:in `perform' # ./lib/gitlab/sidekiq_status/server_middleware.rb:5:in `call' # ./config/initializers/forbid_sidekiq_in_transactions.rb:35:in `block (2 levels) in <module:NoEnqueueingFromTransactions>' # ./app/models/user.rb:913:in `delete_async' # ./app/controllers/admin/users_controller.rb:148:in `destroy' # ./lib/gitlab/i18n.rb:50:in `with_locale' # ./lib/gitlab/i18n.rb:56:in `with_user_locale' # ./app/controllers/application_controller.rb:327:in `set_locale' # ./spec/controllers/admin/users_controller_spec.rb:28:in `block (3 levels) in <top (required)>' Finished in 6.81 seconds (files took 13.9 seconds to load) 1 example, 1 failure ```
* | | | Merge branch 'jr-33320-lfs-settings-interface' into 'master'Douwe Maan2018-05-022-28/+26
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable LFS setting UI for Masters and Owners Closes #33320 See merge request gitlab-org/gitlab-ce!18562
| * | | | Enable LFS setting UI for Masters and OwnersJames Ramsay2018-05-012-28/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LFS can be enabled and disabled per project using the API by Masters and Owners, but the UI is only available to Admins. The interface and API should be consistent. LFS can also be enabled and disabled per group using the API by Owners, but the UI is only available to Admins. This interface should also be consistent. Additionally removes an unneeded check if 2FA interface, since the interface is only available to Owners. Closes #33320
* | | | | Merge branch 'backstage/gb/migrate-pipeline-stages-index' into 'master'Kamil Trzciński2018-05-022-4/+18
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate pipeline stages indices Closes #43009 See merge request gitlab-org/gitlab-ce!18420
| * | | | | Use stages position column to track stage indexGrzegorz Bizon2018-05-012-4/+4
| | | | | |
| * | | | | Merge branch 'master' into backstage/gb/migrate-pipeline-stages-indexGrzegorz Bizon2018-05-0175-391/+481
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | * master: (106 commits)
| * \ \ \ \ \ Merge branch 'master' into 'backstage/gb/migrate-pipeline-stages-index'Grzegorz Bizon2018-04-2543-178/+762
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # db/schema.rb
| * | | | | | | Rename stage index column name to priority columnGrzegorz Bizon2018-04-242-4/+4
| | | | | | | |
| * | | | | | | Use database query to calculate average stage positionGrzegorz Bizon2018-04-241-5/+7
| | | | | | | |
| * | | | | | | Ensure that an imported pipeline stage can be updatedGrzegorz Bizon2018-04-241-1/+9
| | | | | | | |
| * | | | | | | Validate presence of a stage index in the modelGrzegorz Bizon2018-04-242-3/+7
| | | | | | | |
* | | | | | | | Merge branch 'dm-commit-trailer-without-gravatar' into 'master'Robert Speicher2018-05-014-75/+76
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix commit trailer rendering when Gravatar is disabled Closes #45633 See merge request gitlab-org/gitlab-ce!18586
| * | | | | | | | Make avatar helpers available to emailsDouwe Maan2018-04-261-0/+1
| | | | | | | | |
| * | | | | | | | Fix commit trailer rendering when Gravatar is disabledDouwe Maan2018-04-253-75/+75
| | | | | | | | |
* | | | | | | | | Merge branch 'osw-use-cached-highlighted-content-for-discussions' into 'master'Douwe Maan2018-05-011-1/+14
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use persisted diff data instead fetching Git on discussions Closes #44052 See merge request gitlab-org/gitlab-ce!18657
| * | | | | | | | Use persisted diff data instead fetching Git on discussionsOswaldo Ferreira2018-04-301-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Today, when fetching diffs of a note, we always go to Gitaly in order to diff between commits and return the diff of each discussion note. With this change we avoid doing that for notes on the "current version" of the MR.
* | | | | | | | | Merge request and commit discussions APIJan Provaznik2018-05-013-3/+14
| |_|_|_|/ / / / |/| | | | | | |
* | | | | | | | Merge branch 'jej/exclude-group-saml-buttons' into 'master'Douwe Maan2018-05-012-4/+8
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [CE] Exclude LDAP from OmniauthCallbackController base methods See merge request gitlab-org/gitlab-ce!18619
| * | | | | | | | Exclude LDAP from OmniauthCallbackController base methodsJames Edwards-Jones2018-04-302-4/+8
| | | | | | | | |
* | | | | | | | | show only groups an admin is a member of in dashboards/gropsRoger Rüttimann2018-05-011-2/+6
| | | | | | | | |
* | | | | | | | | Merge branch 'update-timeline-icon-for-description-edit' into 'master'Phil Hughes2018-05-011-3/+3
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update timeline icon for description edit Closes #39946 See merge request gitlab-org/gitlab-ce!18633
| * | | | | | | | | Update timeline icon for description editGeorge Tsiolis2018-05-011-3/+3
| | |_|_|_|_|_|_|/ | |/| | | | | | |
* | | | | | | | | Merge branch 'revert-discussion-counter-height' into 'master'Filipa Lacerda2018-04-302-5/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert discussion counter height Closes #45896 See merge request gitlab-org/gitlab-ce!18656
| * | | | | | | | | Revert discussion counter heightGeorge Tsiolis2018-05-012-5/+1
| | |_|_|_|_|_|/ / | |/| | | | | | |
* | | | | | | | | Fixed inconsistent protected branch pill baselineConstance Okoghenun2018-04-301-6/+5
| |/ / / / / / / |/| | | | | | |
* | | | | | | | Merge branch '10-7-security_issue_42029' into 'security-10-7'Phil Hughes2018-04-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sanitize user name to avoid XSS attacks See merge request gitlab/gitlabhq!2373
* | | | | | | | Merge branch 'security-45689-fix-archive-cache-bug' into 'security-10-7'Douwe Maan2018-04-301-2/+3
| |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Serve archive requests with the correct file in all cases (10.7) See merge request gitlab/gitlabhq!2376
* | | | | | | Merge branch 'ce-jej/branch-unprotection-disable-ui' into 'master'Grzegorz Bizon | OOO until May 7th2018-04-303-3/+3
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | Backports EE changes from disabling branch unprotect UI See merge request gitlab-org/gitlab-ce!18262
| * | | | | | Backports EE changes from disabling branch unprotect UIJames Edwards-Jones2018-04-253-3/+3
| | | | | | |
* | | | | | | Merge branch '45481-sane-pages-artifacts' into 'master'Kamil Trzciński2018-04-301-18/+11
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't automatically remove artifacts for pages jobs after pages:deploy has run Closes #45481 See merge request gitlab-org/gitlab-ce!18628
| * | | | | | | InvaildStateError -> InvalidStateErrorNick Thomas2018-04-271-9/+9
| | | | | | | |
| * | | | | | | Don't automatically remove artifacts for pages jobs after pages:deploy has runNick Thomas2018-04-271-9/+2
| | | | | | | |