summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Additional check in the test.Marin Jankovski2014-03-261-0/+2
|
* Add the tests for user search.Marin Jankovski2014-03-261-0/+12
|
* Merge pull request #6569 from criteo/api_merge_request_commentsDmitriy Zaporozhets2014-03-261-0/+17
|\ | | | | Add method to get the comments on a merge request
| * Add method to get the comments on a merge requestStuart Pook2014-03-191-0/+17
| | | | | | | | | | Add method to get the comments for a merge request and document that you can change the status of a merge request.
* | Merge branch 'event-create-service' into 'master'Dmitriy Zaporozhets2014-03-264-74/+104
|\ \ | | | | | | | | | | | | | | | | | | EventCreateService class The goal is to collect all event creation logic in one place called EventCreateService. Because now its placed in observers, controllers, services etc
| * | Fix testsDmitriy Zaporozhets2014-03-252-13/+1
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Remove activity observer specsDmitriy Zaporozhets2014-03-251-61/+0
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Collect all event creation logic in one place called EventCreateServiceDmitriy Zaporozhets2014-03-251-0/+103
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Merge branch 'refactor-author-id-of-changes' into 'master'Dmitriy Zaporozhets2014-03-261-5/+0
|\ \ \ | |/ / | | | | | | | | | | | | Remove author_id_of_changes To prevent confusion because we already have `current_user`
| * | Remove author_id_of_changes from specDmitriy Zaporozhets2014-03-251-5/+0
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Merge pull request #6374 from zzet/patch-10Dmitriy Zaporozhets2014-03-251-1/+1
|\ \ \ | | | | | | | | Update merge_request_observer_spec.rb
| * | | Update merge_request_observer_spec.rbAndrew Kumanyaev2014-02-211-1/+1
| | | |
* | | | Merge pull request #6554 from tsigo/remove-sporkDmitriy Zaporozhets2014-03-251-57/+44
|\ \ \ \ | | | | | | | | | | Remove Spork
| * | | | Remove SporkRobert Speicher2014-03-241-57/+44
| | | | |
* | | | | Merge pull request #6586 from abner/masterDmitriy Zaporozhets2014-03-251-0/+13
|\ \ \ \ \ | |_|_|/ / |/| | | | added api method to return labels of a given project
| * | | | moving labels specs to projects_spec fileÁbner Silva de Oliveira2014-03-222-26/+13
| | | | |
| * | | | added api method to return labels of a given projectÁbner Silva de Oliveira2014-03-211-0/+26
| | | | |
* | | | | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceDmitriy Zaporozhets2014-03-251-0/+8
|\ \ \ \ \
| * \ \ \ \ Merge branch 'no-emails-for-mentions' into 'master'Dmitriy Zaporozhets2014-03-241-0/+8
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't send an email for "mentioned in" notes Currently, an email is sent every time a mentionable is referenced by an issue, a commit or a merge request: if I comment "This MR is related to #5", the watchers get one email for the comment, and another one stating "Issue #5 was mentioned by issue #13". This is annoying — but the biggest issue is when pushing an existing branch. Every issue referenced by commit messages in this branch will get a new mention (which is fine), and dozens of emails will be sent for all these new mentions (which is not). This commit fixes the spam by avoiding to send an email when a new mention is added to an existing mentionable. In most cases the email notification sent by the mentioner is enough.
| | * | | | | Don't send an email for "mentioned in" notesPierre de La Morinerie2014-02-241-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, an email is sent every time a mentionable is referenced by an issue, a commit or a merge request: if I comment "This MR is related to #5", watchers get one email for the comment, and another one stating "Issue #5 was mentioned by issue #13". This is annoying — but the biggest issue is when pushing an existing branch. Every issue referenced by commit messages in this branch will get a new mention (which is fine), and dozens of emails will be sent for all these new mentions (which is not). This commit fixes the spam by avoiding to send an email when a new mention is created. In most cases the email notification for the mentioner is enough.
* | | | | | | Fix the merge notification email not being sentPierre de La Morinerie2014-03-242-3/+27
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'author_id_of_changes' attribute is not persisted in the database. As we retrieve the merge request from the DB just before sending the email, this attribute was always nil. Also there was no tests for the merge notification code - tests have been added. Fix #6605
* | | | | | Merge pull request #6594 from tsigo/rs-small-changesDmitriy Zaporozhets2014-03-241-3/+1
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Small changes
| * | | | | Remove code that does nothingRobert Speicher2014-03-221-3/+1
| | |/ / / | |/| | | | | | | | | | | | | ping @karlhungus
* | | | | Move Project's service specs to the correct locationRobert Speicher2014-03-223-0/+0
|/ / / / | | | | | | | | | | | | [ci skip]
* | | | Fix `/:username.keys` response content typeDmitry Medvinsky2014-03-201-0/+10
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Currently this method responds with `text/html`. It is kind of unusable if you open it in a browser. The browser thinks it is HTML and renders it as HTML, meaning new lines are dropped. So it's very hard to distinguish where the key starts and where it ends. This commit changes the content type header to `text/plain`.
* | | Merge pull request #6557 from tsigo/faster-merge-request-featuresDmitriy Zaporozhets2014-03-194-40/+33
|\ \ \ | | | | | | | | Speed up features/notes_on_merge_requests_spec
| * | | Speed up finders/merge_requests_finder_specRobert Speicher2014-03-191-11/+7
| | | | | | | | | | | | | | | | | | | | Uses the :simple merge request factory trait introduced by d166e70; cuts execution time of this spec in half.
| * | | Speed up features/notes_on_merge_requests_specRobert Speicher2014-03-193-29/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This spec featured the slowest tests in the entire suite. After some debugging, the cause was found to be the large commit diff generated by comparing the stable and master branches. To fix this, the seed repository was modified to create a simple branch off of master that consists of three simple commits and minor changes. The spec was then updated to compare master to this branch instead of stable. The result is a spec group that runs in under 30 seconds, down from about 90.
* | | | Make use of project factory traitsRobert Speicher2014-03-197-48/+36
| | | |
* | | | Add public/private/internal traits to :project FactoryRobert Speicher2014-03-191-0/+12
|/ / /
* | | Added Slack service integration.Federico Ravasio2014-03-183-0/+126
| | |
* | | Merge branch 'links_within_same_repo' into 'master'Dmitriy Zaporozhets2014-03-171-6/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Relative links within one system When using relative links in md in repository file it will only link within the repository. When using relative links in md in wiki page, it will only link to wiki pages.
| * | | Update markdown documentation, fix wiki spec.Marin Jankovski2014-03-171-6/+0
| | | |
* | | | Add tests for API project permissions infoDmitriy Zaporozhets2014-03-171-0/+23
| | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | Move project members api to separate fileDmitriy Zaporozhets2014-03-172-142/+156
|/ / / | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Merge branch 'issue-110' of https://gitlab.com/gmessner/gitlab-ce into ↵Dmitriy Zaporozhets2014-03-161-1/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gmessner/gitlab-ce-issue-110 Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: CHANGELOG
| * | | Added tests of Create and Update MR description.Greg Messner2014-03-101-1/+8
| | | |
* | | | Fix specsDmitriy Zaporozhets2014-03-142-24/+21
| | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | TestEnv.reset_satellite_dir should run 'git clean' quietlyRobert Speicher2014-03-131-1/+1
| | | | | | | | | | | | | | | | Removes the "Removing gitlabhq" messages cluttering spec output
* | | | Merge pull request #6474 from jvanbaarsen/post-tag-hookDmitriy Zaporozhets2014-03-122-0/+66
|\ \ \ \ | | | | | | | | | | Add web hooks on tag
| * | | | Renamed oldrev/newrev to before/afterJeroen van Baarsen2014-03-061-2/+2
| | | | |
| * | | | Added newrev and oldrev to the hook dataJeroen van Baarsen2014-03-061-2/+6
| | | | |
| * | | | Created a basic Git Tag Push serviceJeroen van Baarsen2014-03-051-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | This is the first version, and only has the most basic information about the tag that is created.
| * | | | Added tag_push_events to the web_hooksJeroen van Baarsen2014-03-051-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | * Added a scope to the web_hooks model * Added extra checkbooks in de hooks overview window
* | | | | Merge branch 'simplify-emails-content' into 'master'Dmitriy Zaporozhets2014-03-111-5/+25
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Streamline the content of notification emails In notification emails, the actual content of the email is often buried under several blocks of chrome — and may even be truncated or completely missing. Ideally, the notification emails would be like *real emails*: a short message of meaningful text, sent from the author of the change that triggered the notification. This MR includes the following changes to notification emails: * Remove much of the chrome (e.g. the "GitLab" header) * Emphasize the content (no more small, grayed-out content) * Add missing informations to the emails (issue description in "new issue" email, file name in "diff comment" email) * Add a consistent "View in GitLab" link in the footer * The assignee is displayed only if someone is assigned * Fix a rendering bug when viewing emails with [Zimbra](http://www.zimbra.com/) We use these patches at [Capitaine Train](http://www.capitainetrain.com), and it has been a surprisingly big productivity boost for us. ![Before and after](http://f.cl.ly/items/3n0P2c2v1P0y011c0D3e/Before%20and%20After.png)
| * | | | | Remove the author name from issue notes emailsPierre de La Morinerie2014-03-031-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rationale: the author name is now displayed in the email "From" field; this information is no longer needed.
| * | | | | Add the description to the "new issue" and "new merge request" emailsPierre de La Morinerie2014-03-031-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the content of the issue or merge request was missing from the email.
| * | | | | Add a "View in GitLab" link in notification emailsPierre de La Morinerie2014-03-031-0/+6
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When an email notification concerns a specific object (issue, note, merge request, etc.), add a link to the footer of the email that opens the item's page in a web browser. Rationale: * The link is predictable: always the same text, always at the same location, like any reliable tool. * It allows to remove the inline-title in many emails, and leave only the actual content of the message.
* | | | | Merge branch 'ldap-code' into 'master'Dmitriy Zaporozhets2014-03-111-1/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | LDAP code from EE
| * | | | | Fix ldap_user_auth_specDmitriy Zaporozhets2014-03-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>