summaryrefslogtreecommitdiff
path: root/spec/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'decouple-member-notification' into 'master' Douwe Maan2016-04-121-28/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Decouple membership and notifications This allow you to have notification setting per project even if you are member of group. It also creates background for having notification settings in project you are not member of. - [x] Make it work - [x] Migrations - [x] CHANGELOG - [x] More tests - [x] API For #3359 After this merge request there is still some work to be done: * create migration that remove duplicates in notification settings table and create uniq index (8.8 probably) * remove notification_level field from Member model in 9.0 * make proper API for notification settings * use `MemberCreateService` instead of Member#after_create callback for creating notification settings (after #14709) * maybe more tests Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !3421
| * Merge branch 'master' into decouple-member-notificationDouglas Barbosa Alexandre2016-04-112-7/+46
| |\
| * | Refactor notification helper and fix notification serviceDmitriy Zaporozhets2016-03-301-28/+9
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Merge branch 'issue_1752' into 'master' Robert Speicher2016-04-111-4/+19
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Fix milestone removal problem when editing issues fixes #1752 See merge request !3571
| * | improve specs code syntaxissue_1752Felipe Artur2016-04-071-11/+11
| | |
| * | Fix milestone removal problem when editing issuesFelipe Artur2016-04-061-0/+15
| |/
* | Merge branch 'rs-form_errors' into 'master' Dmitriy Zaporozhets2016-04-111-0/+46
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Standardize the way we check for and display form errors - Some views had a "Close" button. We've removed this, because we don't want users accidentally hiding the validation errors and not knowing what needs to be fixed. - Some views used `li`, some used `p`, some used `span`. We've standardized on `li`. - Some views only showed the first error. We've standardized on showing all of them. - Some views added an `#error_explanation` div, which we've made standard. See merge request !3531
| * | Standardize the way we check for and display form errorsrs-form_errorsRobert Speicher2016-04-041-0/+46
| |/ | | | | | | | | | | | | | | | | | | | | | | - Some views had a "Close" button. We've removed this, because we don't want users accidentally hiding the validation errors and not knowing what needs to be fixed. - Some views used `li`, some used `p`, some used `span`. We've standardized on `li`. - Some views only showed the first error. We've standardized on showing all of them. - Some views added an `#error_explanation` div, which we've made standard.
* | Remove `random_markdown_tip` helperrs-remove-markdown-tipsRobert Speicher2016-04-091-7/+0
|/ | | | Only usage got removed in !3442
* Implementing 'Groups View' and 'TODOs View' as options for dashboard ↵Elias Werberich2016-03-241-1/+3
| | | | | | preferences. Fixes #14585.
* Merge branch 'master' into issue_12658Douwe Maan2016-03-212-3/+22
|\ | | | | | | | | | | | | | | | | # Conflicts: # app/models/issue.rb # app/views/projects/_home_panel.html.haml # app/views/shared/projects/_project.html.haml # db/schema.rb # spec/models/project_spec.rb
| * change the css class has_tooltip to has-tooltip universallychange_css_class_has_tooltip_to_has-tooltipArinde Eniola2016-03-201-3/+3
| |
| * Make HTTP(s) label consistent on clone barStan Hu2016-03-191-0/+19
| | | | | | | | | | Sites that use http:// for the external_url should always display HTTP on the clone bar. Similarly, sites that use https:// should show HTTPS.
* | Fix specsDouwe Maan2016-03-201-9/+1
| |
* | Tweaks, refactoring, and specsDouwe Maan2016-03-201-15/+0
| |
* | Merge branch 'master' into issue_12658Douwe Maan2016-03-201-2/+10
|\ \ | |/
| * Fix specslabel-tooltipRémy Coutable2016-03-181-2/+10
| |
* | Improve group visibility level featureZeger-Jan van de Weg2016-03-181-7/+2
| |
* | Merge 4009-external-users into issue_12658Felipe Artur2016-03-161-3/+3
|\ \ | |/
| * Revert "Merge branch 'avatar-cropping' into 'master' "revert-avatar-croppingRémy Coutable2016-03-151-3/+3
| | | | | | | | | | This reverts commit 01160fc06182de89c400af174861f6545ad6ceb8, reversing changes made to 4bff9daf8b6d85e9c78565e21cfaa3f6d36f0282.
* | Add permission level to groupsFelipe Artur2016-03-102-0/+23
|/
* Make better use of the `visibility_level` factory traitsrs-traits-are-goodRobert Speicher2016-03-081-3/+3
|
* Use Gitlab::Git::DiffCollectionsJacob Vosmaer2016-03-031-54/+3
|
* Add `:with_avatar` trait to User factoryRobert Speicher2016-02-241-3/+3
|
* Merge branch 'rs-emoji' into 'master' Douwe Maan2016-02-191-1/+1
|\ | | | | | | | | | | | | | | | | Update Gemojione for new hotness :sparkles: Before | After ------ | ----- ![Screen_Shot_2016-02-12_at_3.38.43_PM](/uploads/299e5ffe38c91657085741261a678f81/Screen_Shot_2016-02-12_at_3.38.43_PM.png) | ![Screen_Shot_2016-02-12_at_3.38.09_PM](/uploads/ccee29719a6445a9efd2498391a7eea0/Screen_Shot_2016-02-12_at_3.38.09_PM.png) See merge request !2800
| * Fix specs expecting `emoji/` in image pathRobert Speicher2016-02-131-1/+1
| |
* | Fix relative links in other markup formatsben.boeckel/gitlab-ce-fixup-links-in-generic-docsBen Boeckel2016-02-121-0/+4
|/ | | | | | | | - Apply the RelativeLinkFilter filter to other formats, e.g., reStructuredText so links from the Files view or the Project view work - Remove the AsciidocPipeline pipeline Fixes #3533.
* Allow link_to_label to take an optional type argrymai/gitlab-ce-3007-fix-mr-label-linksRémy Coutable2016-02-041-18/+15
| | | | | | You can set type: :merge_request to create a link to merge request lists instead of issues list. Accept both Symbol & String as type argument for the link_to_label helper
* Fix broken testsDmitriy Zaporozhets2016-02-041-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix specs and add a new oneDouwe Maan2016-01-301-4/+13
|
* Update text_color_for_bg helper to support RGB triplet color codesrs-issue-12677Robert Speicher2016-01-241-0/+5
| | | | Closes #12677
* Move parallel diff logic to separate classDouwe Maan2016-01-201-18/+0
|
* Refactor Gitlab::Highlight and fix testsDouwe Maan2016-01-191-30/+33
|
* Merge branch 'master' into issue_3945Rubén Dávila2016-01-145-65/+80
|\
| * Use the WikiPipeline when rendering the wiki markdown contentDouglas Barbosa Alexandre2016-01-141-2/+3
| |
| * Move `BroadcastMessage#status` to a helper since it's presentationalRobert Speicher2016-01-131-0/+20
| |
| * Update broadcast_message helperRobert Speicher2016-01-131-12/+30
| | | | | | | | | | Now it returns the fully-formatted message so we can be consistent about how it's shown.
| * Make sure time_ago_with_tooltip is using a Time objectrs-time_ago_with_tooltip-conversionRobert Speicher2016-01-121-0/+4
| | | | | | | | | | Somehow this test existed on EE but not in CE, so it started failing after a bad CE-to-EE merge.
| * Add two custom Date/Time conversion formatsRobert Speicher2016-01-071-4/+4
| |
| * Don't override issue page description in project layout.Douwe Maan2016-01-061-4/+2
| |
| * Make `page_description` less magical :sparkles:Robert Speicher2016-01-051-25/+2
| |
| * Use `User#avatar_url` instead of `avatar_icon` helperRobert Speicher2016-01-051-35/+16
| |
| * Merge branch 'master' into more-opengraphDouwe Maan2016-01-052-1/+8
| |\ | | | | | | | | | | | | # Conflicts: # app/views/layouts/_head.html.haml
| | * remove public field from namespace and refactoringnamespace-clean_upValery Sizov2016-01-041-1/+1
| | |
| * | Use `assign` instead of `instance_variable_set`Robert Speicher2015-12-271-7/+7
| | |
| * | Add specs for page_image using a Group's avatarRobert Speicher2015-12-271-0/+16
| | |
* | | More refactoring from last code review. #3945Rubén Dávila2016-01-141-10/+14
| | | | | | | | | | | | | | | | | | * Use commit objects instead of IDs when generating diffs * Use proper references when generating MR's source and target * Update broken specs
* | | Fix broken specs. #3945Rubén Dávila2016-01-081-8/+9
| | |
* | | Fix broken specs. #3945Rubén Dávila2016-01-081-1/+2
| | |
* | | Fix broken spec and small refactor. #3945Rubén Dávila2015-12-301-29/+1
| | |