summaryrefslogtreecommitdiff
path: root/spec/models
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'hide-recent-push' into 'master'Dmitriy Zaporozhets2015-08-211-0/+29
|\ | | | | | | | | | | | | | | Only show recent push event if the branch still exists or a recent merge request has not been created Closes #2277 See merge request !1167
| * Only show recent push event if the branch still exists or a recent merge ↵Stan Hu2015-08-201-0/+29
| | | | | | | | | | | | request has not been created Closes #2277
* | Case-insensetive search for commentscomment-case-insensetive-searchDmitriy Zaporozhets2015-08-191-0/+6
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'master' into remove-satellitesDmitriy Zaporozhets2015-08-174-4/+46
|\ | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Update Flowdock integration to support new Flowdock APIBoyan Tabakov2015-08-141-4/+8
| | | | | | | | Requires that users create a Git source in their flows and update the configured token to the Git source token. The old flow tokens can't be used.
| * Merge branch 'improve-hipchat-service-test' into 'master'Dmitriy Zaporozhets2015-08-132-0/+18
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide more feedback what went wrong if HipChat service failed test This MR adds support for displaying the error message during HipChat service test. Before an Error 500 would be displayed with no helpful remarks. Screenshot: ![image](https://gitlab.com/stanhu/gitlab-ce/uploads/10f82eb02db138f9680e69cdb3d3ed82/image.png) Issue gitlab-com/support-forum#213 See merge request !1144
| | * Provide more feedback what went wrong if HipChat service failed testStan Hu2015-08-122-0/+18
| | | | | | | | | | | | Issue gitlab-com/support-forum#213
| * | Add merged label on branches pageFlorent (HP)2015-08-111-0/+20
| |/
* | Revert "Merge branch 'revert-satellites' into 'master' "Dmitriy Zaporozhets2015-08-114-3/+16
|/ | | | | This reverts commit 5daf44b7c86e0e2641a902b1da8b01d91fa3dbfa, reversing changes made to 2f706fbd231cabe7a76a5d17ac44285aaaf8592c.
* Revert "Merge branch 'refactor-can-be-merge' into 'master'"Dmitriy Zaporozhets2015-08-111-14/+0
| | | | | | | This reverts commit 459e6d346768d9d8fceaee00bf0870b8e7c4ed9a, reversing changes made to 804168e1def1204af712febb229f41a3865f085f. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Revert "Merge branch 'drop-satellites'"Dmitriy Zaporozhets2015-08-114-4/+5
| | | | | | | This reverts commit 957e849f41d96fa9778fcdd06792d2f0274b29ab, reversing changes made to 6b9dbe9f5a175a8162abf296367f561bab3eea1a. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add `Group#add_*` convenience methodsrs-group-convenience-methodsRobert Speicher2015-08-072-5/+5
| | | | Encapsulates the logic for `Gitlab::Access::WHATEVER` levels.
* Merge branch 'report-spam'Dmitriy Zaporozhets2015-08-061-0/+7
|\
| * Allow users to send abuse reportsDmitriy Zaporozhets2015-08-061-0/+7
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Merge branch 'remove-email-from-published-keys' into 'master'Douwe Maan2015-08-061-0/+7
|\ \ | |/ |/| | | | | | | | | | | | | | | Only publish ssh key-type and key Now when requesting my keys; my emailadres is exposed. [My keys](https://gitlab.com/zj.keys) To prevent harvesting only key-type and the key itself are displayed instead of all data supplied when uploaded. See merge request !850
| * Only publish ssh key-type and keyZeger-Jan van de Weg2015-08-041-0/+7
| |
* | Merge branch 'drop-satellites'Dmitriy Zaporozhets2015-08-054-5/+4
|\ \
| * | Improve tests to use real branches in merge requestsDmitriy Zaporozhets2015-08-041-1/+1
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Merge branch 'master' into drop-satellitesDmitriy Zaporozhets2015-08-044-8/+58
| |\ \ | | |/ | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Fix some of testsDmitriy Zaporozhets2015-07-162-3/+3
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Remove satellitesDmitriy Zaporozhets2015-07-151-1/+0
| | |
* | | Merge branch 'revert_touch' into 'master' Sytse Sijbrandij2015-08-051-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert "Update noteable after a new note is added" This reverts commit fbdaf0e2a517660c0e4e3960f20b2d3568c33e78. https://gitlab.com/gitlab-org/gitlab-ce/issues/2027 See merge request !1094
| * | | Revert "Update noteable after a new note is added"revert_touchValery Sizov2015-08-051-1/+1
| | |/ | |/| | | | | | | This reverts commit fbdaf0e2a517660c0e4e3960f20b2d3568c33e78.
* | | Add "Confirm user" button in user admin pageStan Hu2015-08-051-0/+13
|/ / | | | | | | | | Closes #2116 Closes https://github.com/gitlabhq/gitlabhq/issues/9502
* | Re-annotate modelsAtsushi Ishida2015-08-033-2/+7
| |
* | Fix specsDouwe Maan2015-07-291-6/+12
| |
* | Add User.find_by_username!rs-issue-2012Robert Speicher2015-07-231-0/+12
| |
* | Do not disappoint rubocop.validate_token_and_url_format_for_gitlab_ciMarin Jankovski2015-07-171-1/+1
| |
* | Add specs for gitlab ci service validity.Marin Jankovski2015-07-171-0/+27
|/
* Rename `notice_added_references` to `create_new_cross_references!`rs-issue-1773Robert Speicher2015-07-131-5/+5
|
* Refactor Mentionable#notice_added_referencesRobert Speicher2015-07-131-0/+49
| | | | | | | It now accounts for models that have changed but have already been persisted, such as when called from an UpdateService. Closes #1773
* Merge branch 'ssh-key-linebreaks' into 'master'Dmitriy Zaporozhets2015-07-131-1/+7
|\ | | | | | | | | | | | | | | Add error message for SSH key linebreaks Solves this [request](http://feedback.gitlab.com/forums/176466-general/suggestions/5653544-check-for-linebreaks-in-ssh-key). See merge request !672
| * Add error message for SSH key linebreaksNikita Verkhovin2015-07-121-1/+7
| |
* | Merge branch 'rs-disable-2fa' into 'master'Dmitriy Zaporozhets2015-07-131-0/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Add User#disable_two_factor! This method encapsulates all the logic for disabling 2FA on a specific User model. See merge request !961
| * | Add User#disable_two_factor!rs-disable-2faRobert Speicher2015-07-101-0/+18
| |/ | | | | | | | | This method encapsulates all the logic for disabling 2FA on a specific User model.
* | Add tests for repository search filesDmitriy Zaporozhets2015-07-121-0/+24
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add Irker service configuration optionsStan Hu2015-07-051-32/+8
| | | | | | Closes #1713 Closes #1714 Closes gitlab-com/support-forum#139
* Refactor can_be_merged logic for merge requestDmitriy Zaporozhets2015-07-011-0/+14
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Repository#blob_at should return nil for 00000000... shafix-zero-sha-lookupDmitriy Zaporozhets2015-07-011-0/+8
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Rename abilities to correspond contoller/model action namesrename-abilitiesDmitriy Zaporozhets2015-06-262-4/+4
| | | | | | | | | | | | | | | | | write_ was renamed to create_ modify_ was renamed to update_ So now in update action we have next code def create can?(current_user, :create_issue, @issue) end def update can?(current_user, :update_issue, @issue) end Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Only look up Commit authors/committers by emailrs-issue-1850Robert Speicher2015-06-231-10/+4
| | | | | - Removes looking up authors/committers by name - Renames `User.find_for_commit` to `User.find_by_any_email`
* Merge branch 'rubocop-for-tests' into 'master'Dmitriy Zaporozhets2015-06-2314-69/+55
|\ | | | | | | | | | | | | | | | | | | Enable rubocop for tests too cc @DouweM @rspeicher Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !862
| * Merge branch 'master' into rubocop-for-testsDmitriy Zaporozhets2015-06-2325-80/+87
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: spec/features/issues_spec.rb spec/models/forked_project_link_spec.rb spec/models/hooks/service_hook_spec.rb spec/models/hooks/web_hook_spec.rb spec/models/project_services/hipchat_service_spec.rb spec/requests/api/project_members_spec.rb spec/requests/api/projects_spec.rb spec/requests/api/system_hooks_spec.rb spec/services/archive_repository_service_spec.rb spec/support/matchers.rb spec/tasks/gitlab/backup_rake_spec.rb
| * | Fix Style/Blocks cop violationsRobert Speicher2015-06-227-26/+27
| | |
| * | Fix Style/SpaceInsideHashLiteralBraces cop violationsRobert Speicher2015-06-228-27/+27
| | | | | | | | | | | | These fixes were performed automatically by Rubocop's `-a` flag.
| * | Fix Style/TrailingBlankLines cop violationsRobert Speicher2015-06-223-16/+0
| | |
| * | Remove unnecessary whitespace between let and (Dmitriy Zaporozhets2015-06-221-2/+2
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Merge branch 'rs-dev-issue-2414' into 'master'Dmitriy Zaporozhets2015-06-231-36/+38
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Allow Admin to filter users by 2FA status > ![Screen_Shot_2015-06-19_at_4.38.12_PM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/deba7f2a6b8d1548c1d1ac401e0e35a1/Screen_Shot_2015-06-19_at_4.38.12_PM.png) Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2414 See merge request !852
| * | Use alias_attribute to define User#two_factor_enabledrs-dev-issue-2414Robert Speicher2015-06-221-24/+0
| | |
| * | Make default value for otp_required_for_login false instead of nullRobert Speicher2015-06-201-2/+2
| | |