summaryrefslogtreecommitdiff
path: root/spec/models
Commit message (Collapse)AuthorAgeFilesLines
* Update build model specsGrzegorz Bizon2016-01-141-5/+4
|
* Update build specs for artifacts browser supportGrzegorz Bizon2016-01-141-12/+11
|
* Add method that checks if artifacts browser is supportedGrzegorz Bizon2016-01-141-0/+23
| | | | | | This is needed because of backward compatibility. Previously artifacts archive had `.tar.gz` format, but artifacts browser requires ZIP format now.
* Update specs for CI Build, add `artifacts?` methodGrzegorz Bizon2016-01-141-26/+34
| | | | `artifacts?` method checks if artifacts archive is available.
* Rename method that returns url to CI build artifacts downloadGrzegorz Bizon2016-01-141-2/+2
|
* Merge branch 'feature/ldap-sync-edgecases' into 'master' Douwe Maan2016-01-142-16/+66
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LDAP Sync blocked user edgecases Allow GitLab admins to block otherwise valid GitLab LDAP users (https://gitlab.com/gitlab-org/gitlab-ce/issues/3462) Based on the discussion on the original issue, we are going to differentiate "normal" block operations to the ldap automatic ones in order to make some decisions when its one or the other. Expected behavior: - [x] "ldap_blocked" users respond to both `blocked?` and `ldap_blocked?` - [x] "ldap_blocked" users can't be unblocked by the Admin UI - [x] "ldap_blocked" users can't be unblocked by the API - [x] Block operations that are originated from LDAP synchronization will flag user as "ldap_blocked" - [x] Only "ldap_blocked" users will be automatically unblocked by LDAP synchronization - [x] When LDAP identity is removed, we should convert `ldap_blocked` into `blocked` Mockup for the Admin UI with both "ldap_blocked" and normal "blocked" users: ![image](/uploads/4f56fc17b73cb2c9e2a154a22e7ad291/image.png) There will be another MR for the EE version. See merge request !2242
| * Codestyle changesGabriel Mazetto2016-01-121-2/+2
| |
| * Repair ldap_blocked state when no ldap identity exist anymoreGabriel Mazetto2016-01-081-0/+38
| |
| * Add ldap_blocked as new state to users state machineGabriel Mazetto2016-01-081-16/+28
| |
* | Merge branch 'fix/private-references' into 'master' Douwe Maan2016-01-141-0/+24
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Show referenced MRs & Issues only when the current viewer can access them This addresses both issues identified in #6066. ## The private MR by user `remy2` with a note referencing to a public issue ![Screen_Shot_2016-01-12_at_16.45.02](/uploads/c245ec2c1fdea1f9ba05183c24e142d9/Screen_Shot_2016-01-12_at_16.45.02.png) --- ## The public issue viewed by user `remy` **who doesn't have access to `remy2/private-project`** before the fix ![Screen_Shot_2016-01-12_at_18.14.50](/uploads/8db5580e803f5bddd6cb935233c579a0/Screen_Shot_2016-01-12_at_18.14.50.png) --- ## The public issue viewed by user `remy` **who doesn't have access to `remy2/private-project`** with the fix ![Screen_Shot_2016-01-13_at_12.02.32](/uploads/cb199f7b78191fba486a11412412e307/Screen_Shot_2016-01-13_at_12.02.32.png) --- ## The public issue viewed by user `remy2` with the fix (no change) ![Screen_Shot_2016-01-13_at_11.54.06](/uploads/ddece590d69f597a95559beddcd36660/Screen_Shot_2016-01-13_at_11.54.06.png) See merge request !2405
| * | Fix specs and rubocop warningsfix/private-referencesRémy Coutable2016-01-141-2/+2
| | |
| * | Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into ↵Rémy Coutable2016-01-131-0/+16
| |\ \ | | | | | | | | | | | | fix/private-references
| * | | Add spec for Note#cross_reference_not_visible_for?Rémy Coutable2016-01-131-0/+24
| | | |
* | | | Move `BroadcastMessage#status` to a helper since it's presentationalRobert Speicher2016-01-131-20/+0
| | | |
* | | | Update BroadcastMessage modelRobert Speicher2016-01-131-5/+86
| | | | | | | | | | | | | | | | | | | | - Adds default values for `color` and `font` attributes - Adds `active?`, `started?`, `ended?`, and 'status' methods
* | | | Remove alert_type attribute from BroadcastMessageRobert Speicher2016-01-131-1/+0
| |/ / |/| |
* | | Block the reported user before destroying the recordrs-block-user-before-removalRobert Speicher2016-01-121-0/+16
|/ / | | | | | | | | | | | | | | This is intended to prevent the user from creating new objects while the transaction that removes them is being run, resulting in objects with nil authors which can then not be edited. See https://gitlab.com/gitlab-org/gitlab-ce/issues/7117
* | Fix Error 500 when visiting build page of project with nil runners_tokenStan Hu2016-01-101-0/+22
|/ | | | | | | Properly ensure that the token exists and add defensively check for a non-nil value. Closes #4294
* Merge branch 'suppress-allow-failure-builds' into 'master' Stan Hu2016-01-081-0/+23
|\ | | | | | | | | | | | | | | | | Suppress e-mails on failed builds if allow_failure is set Every time I push to GitLab, I get > 2 emails saying a spec failed when I don't care about the benchmarks and others that have `allow_failure` set to `true`. @ayufan mentioned creating a summary e-mail to prevent getting one e-mail per build, but the latter might actually be desirable. For example, I do want to know if Rubocop errors fail right away. See merge request !2178
| * Suppress e-mails on failed builds if allow_failure is setStan Hu2016-01-071-0/+23
| | | | | | | | | | Every time I push to GitLab, I get > 2 emails saying a spec failed when I don't care about benchmarks and other specs that have `allow_failure` set to `true`.
* | Merge branch 'accept-2xx-status-codes-for-webhooks' into 'master' Dmitriy Zaporozhets2016-01-081-0/+12
|\ \ | |/ |/| | | | | | | | | Accept 2xx status codes for successful Web hook triggers Closes https://github.com/gitlabhq/gitlabhq/issues/9956 See merge request !2332
| * Accept 2xx status codes for successful Web hook triggersStan Hu2016-01-071-0/+12
| | | | | | | | Closes https://github.com/gitlabhq/gitlabhq/issues/9956
* | Merge branch 'annotate-models-20160105' into 'master' Dmitriy Zaporozhets2016-01-0714-116/+145
|\ \ | |/ |/| | | | | | | | | | | Annotate models Time to refresh the comments via `annotate`. See merge request !2311
| * Annotate modelsStan Hu2016-01-0614-116/+145
| |
* | Add regression test.fix-banzai-cacheDouwe Maan2016-01-061-1/+14
|/
* Merge branch 'mikew1/gitlab-ce-better-asana-refs' into 'master' Douwe Maan2016-01-051-6/+71
|\ | | | | | | | | | | | | Better support for referencing and closing issues in asana_service.rb (by @mikew1) See merge request !2302
| * Satisfy RubocopDouwe Maan2016-01-051-1/+1
| |
| * Merge remote-tracking branch 'upstream/master' into better-asana-refsMike Wyatt2015-12-3116-38/+360
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (307 commits) Update CHANGELOG spinach fix Updated allocations Gem to version 1.0.3 Removed various default metrics tags Update CHANGELOG Fix "I see current user as the first user" step Swap Author and Assignee Selectors on issuable index view Update CHANGELOG Make sure that is no pending migrations in Gitlab::CurrentSettings Added additional config environmental variables to help Debian packaging We don't use whenever anymore. Lets remove the schedule file Fix project transfer e-mail sending incorrect paths in e-mail notification Update CHANGELOG Use Gitlab::CurrentSettings for InfluxDB Write to InfluxDB directly via UDP Strip newlines from obfuscated SQL Add hotfix that allows to access build artifacts created before 8.3 note votes methids implementation When reCAPTCHA is disabled, allow registrations to go through without a code Downcased user or email search for avatar_icon. ...
| * | Use `execute` in Asana specsMike Wyatt2015-12-311-15/+18
| | |
| * | Actually test the posted comment in Asana serviceMike Wyatt2015-12-311-4/+21
| | |
| * | Update Asana specsMike Wyatt2015-12-291-8/+32
| | |
| * | better support for referencing and closing issues in asana_service.rbMike Wyatt2015-12-161-0/+21
| | |
* | | Add `AbuseReport#notify`rs-abuse-reports-refactorRobert Speicher2016-01-041-0/+17
| | | | | | | | | | | | Tell, Don't Ask.
* | | Merge branch 'rs-issue-201' into 'master' Dmitriy Zaporozhets2016-01-041-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Prevent duplicate "username has already been taken" validation message Closes #201 - two-year-old bug, woo! :boom: :tada: See merge request !2279
| * | | Prevent duplicate "username has already been taken" validation messagers-issue-201Robert Speicher2016-01-021-1/+1
| | |/ | |/| | | | | | | Closes #201 - two-year-old bug, woo! :boom: :tada:
* | | remove public field from namespace and refactoringnamespace-clean_upValery Sizov2016-01-041-27/+0
|/ /
* | Merge branch 'upvote_count_to_api' into 'master' Valery Sizov2015-12-291-0/+14
|\ \ | | | | | | | | | | | | | | | | | | Revert upvotes and downvotes params back to MR API issue https://gitlab.com/gitlab-org/gitlab-ce/issues/3672 See merge request !2212
| * | Revert upvotes and downvotes params to MR APIValery Sizov2015-12-281-0/+14
| | |
* | | Merge branch 'mention-all' into 'master' Robert Speicher2015-12-271-0/+4
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Only allow group/project members to mention `@all` Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/3473 See merge request !2205
| * | Fix specsDouwe Maan2015-12-241-0/+4
| | |
* | | Merge branch 'revert_votes_back' into 'master' Dmitriy Zaporozhets2015-12-251-3/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert vote buttons back to issue and MR pages https://gitlab.com/gitlab-org/gitlab-ce/issues/3672 /cc @dzaporozhets @JobV ![joxi_screenshot_1450809309400](/uploads/379a75505e0d5f24e743aa0a6a6684e2/joxi_screenshot_1450809309400.png) See merge request !2206
| * | | revert back vote buttons to issue and MR pagesValery Sizov2015-12-251-3/+8
| | | |
* | | | Merge branch 'rs-opengraph' into 'master' Douwe Maan2015-12-251-0/+18
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | Add Open Graph meta tags See merge request !2192
| * | | Satisfy RubocopDouwe Maan2015-12-251-2/+2
| | | |
| * | | Add support for `twitter:label` meta tagsrs-opengraphRobert Speicher2015-12-241-0/+18
| | | |
* | | | WIP require two factor authenticationGabriel Mazetto2015-12-241-0/+1
| |/ / |/| |
* | | Merge branch 'fix-milestones-with-slashes' into 'master' Dmitriy Zaporozhets2015-12-241-0/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Error 500 when global milestones have slashes * Closes #4226 * Closes https://github.com/gitlabhq/gitlabhq/issues/9921 See merge request !2182
| * | | Fix Error 500 when global milestones have slashesStan Hu2015-12-221-0/+10
| | | | | | | | | | | | | | | | Closes #4226
* | | | Merge branch 'fix/visibility-level-setting-in-forked-projects' into 'master' Douwe Maan2015-12-241-0/+24
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix/visibility level setting in forked projects Fixes #3136 /cc @DouweM See merge request !1744
| * | | | Add some specs for forked project visibility_level casesTomasz Maczukin2015-12-241-0/+24
| | | | |