summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Clearing the entire Redis cache may be too expensive; just useStan Hu2015-07-211-6/+2
| | | | the repository expire_cache method
* Fix 404 error in files view after deleting the last file in a repositoryStan Hu2015-07-213-7/+42
| | | | Closes #1362
* GoogleCode importer: Do not care about casing of image file extensionsSven Strickroth2015-07-202-0/+6
| | | | Signed-off-by: Sven Strickroth <email@cs-ware.de>
* Add test case for clicking line number anchor iconrs-issue-988-testRobert Speicher2015-07-172-1/+11
|
* Merge branch 'add-support-remove-milestone' into 'master'Stan Hu2015-07-171-0/+28
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for destroying project milestones ### What does this MR do? This MR adds a "Remove" button to the project milestones page and the milestone page itself. ### Why was this MR needed? Because lots of people talked about needing to clean their toilets. :) ### What are the relevant issue numbers? Closes https://github.com/gitlabhq/gitlabhq/issues/1504 ### Screenshots ![image](https://gitlab.com/gitlab-org/gitlab-ce/uploads/ef8c7a3ea1db7b37cccae3869ac4de0a/image.png) ![image](https://gitlab.com/gitlab-org/gitlab-ce/uploads/33eb01c7bc30fb235de96db5efb8746d/image.png) See merge request !980
| * Add support for destroying project milestonesStan Hu2015-07-171-0/+28
| | | | | | | | Closes https://github.com/gitlabhq/gitlabhq/issues/1504
* | 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-172-0/+39
| |
* | Fix failing specs after adding format verification for token and project url ↵Marin Jankovski2015-07-172-2/+2
|/ | | | in gitlab ci service.
* Merge branch 'rs-fix-coverage' into 'master'Dmitriy Zaporozhets2015-07-142-8/+11
|\ | | | | | | | | | | | | | | | | | | Move coverage-related setup back to spec_helper These tools must be loaded before our regular Rails environment. Partially reverts 57830201a9152b56ccf65a98275601617f44653d See merge request !976
| * Move coverage-related setup back to spec_helperrs-fix-coverageRobert Speicher2015-07-132-8/+11
| | | | | | | | These tools must be loaded before our regular Rails environment.
* | Rename `notice_added_references` to `create_new_cross_references!`rs-issue-1773Robert Speicher2015-07-132-6/+6
| |
* | 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-by-admin' into 'master'Dmitriy Zaporozhets2015-07-132-0/+61
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow admins to disable 2FA for a user > ![Screen_Shot_2015-07-10_at_5.19.13_PM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/3f9bb7c783110d2689c282879cb4b061/Screen_Shot_2015-07-10_at_5.19.13_PM.png) Depends on !961 See merge request !962
| * | Add a button to Admin::Users#show to disable 2FA for that userrs-disable-2fa-by-adminRobert Speicher2015-07-101-0/+33
| | |
| * | Add disable_two_factor route for Admin::UsersRobert Speicher2015-07-101-0/+28
| | |
* | | Merge branch 'rs-disable-2fa' into 'master'Dmitriy Zaporozhets2015-07-133-10/+22
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | 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-103-10/+22
| | | | | | | | | | | | | | | This method encapsulates all the logic for disabling 2FA on a specific User model.
* | | Merge branch 'fix-api-project-transfer' into 'master'Dmitriy Zaporozhets2015-07-131-5/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix transferring of project to another group using the API. Addresses internal issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2397. See merge request !926
| * | | Update specs.fix-api-project-transferDouwe Maan2015-07-111-5/+5
| | | |
* | | | Merge branch 'search-git-grep' into 'master'Dmitriy Zaporozhets2015-07-121-0/+24
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement faster search of code (via git grep) Much faster than iterating over each file using rugged. Performance compare for Linux repository using keyword `sha`: ``` OLD: 250 seconds NEW: 9 seconds ``` See merge request !957
| * | | Add tests for repository search filesDmitriy Zaporozhets2015-07-121-0/+24
| |/ / | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Better handle unknown projects and groups for autocompleteStan Hu2015-07-111-15/+63
| |/ |/|
* | Merge branch 'fix-autocomplete-with-public-projects' into 'master'Hannes Rosenögger2015-07-111-0/+24
|\ \ | |/ |/| | | | | | | | | | | Fix user autocomplete for unauthenticated users accessing public projects Closes #1955 See merge request !963
| * Fix user autocomplete for unauthenticated users accessing public projectsStan Hu2015-07-101-0/+24
| | | | | | | | Closes #1955
* | Merge branch 'fork_visibility_level' into 'master'Dmitriy Zaporozhets2015-07-102-0/+83
|\ \ | | | | | | | | | | | | | | | | | | | | | Forks should not have more permissive visibility levels than the original https://dev.gitlab.org/gitlab/gitlabhq/issues/2286 See merge request !936
| * | Fork visibility level fixfork_visibility_levelValery Sizov2015-07-062-0/+83
| | |
* | | Merge branch 'comment-box-changes' of gitlab.com:gitlab-org/gitlab-ceDmitriy Zaporozhets2015-07-101-1/+1
|\ \ \ | |_|/ |/| |
| * | Fixed the issuescomment-box-changesDarby2015-07-091-0/+1
| | |
| * | Comment box/Placeholder text redoDarby2015-07-011-1/+0
| | |
* | | Merge branch 'rs-dev-issue-2372' into 'master'Dmitriy Zaporozhets2015-07-0819-53/+115
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Filter by issues/merge requests without a milestone Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2372 See merge request !886
| * | | Improve features to ensure Ajax filter has actually executedrs-dev-issue-2372Stan Hu2015-07-082-6/+10
| | | |
| * | | Remove "mystery guest" from Milestone filtering featuresRobert Speicher2015-07-082-26/+18
| | | |
| * | | Use stub_application_setting in a few more specsRobert Speicher2015-07-068-29/+35
| | | | | | | | | | | | | | | | | | | | These specs also failed when run by themselves before this change, so we've likely got some kind of cross-test contamination going on.
| * | | Add `feature` tag to feature specsRobert Speicher2015-07-0610-11/+11
| | | | | | | | | | | | | | | | | | | | Not to be confused with the RSpec `type: :feature` tag, this tag is used by the `spec:feature` Rake task for filtering/grouping specs.
| * | | Rename NoMilestone to Milestone::NoneRobert Speicher2015-07-062-2/+2
| | | | | | | | | | | | | | | | Also refactors IssuableFinder to avoid redundant title check.
| * | | Remove duplicate feature spec for filtering issues by no milestoneRobert Speicher2015-07-061-16/+0
| | | |
| * | | Allow user to filter by Issues/Merge Requests without a MilestoneRobert Speicher2015-07-062-0/+76
| | | |
* | | | Merge branch 'settings-via-api' into 'master'Dmitriy Zaporozhets2015-07-071-0/+29
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | API to set application settings for admin Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !934
| * | | Add tests and improve logicDmitriy Zaporozhets2015-07-061-4/+16
| | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | | Add docs and empty specs for applicaiton settings APIDmitriy Zaporozhets2015-07-061-0/+17
| | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | Return 40x error codes if branch could not be deleted in UIStan Hu2015-07-061-0/+26
| |_|/ |/| |
* | | Merge branch 'audit_log' into 'master'Dmitriy Zaporozhets2015-07-062-4/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Audit log for user authentication https://dev.gitlab.org/gitlab/gitlabhq/issues/2318 See merge request !931
| * | | Audit log for user authenticationValery Sizov2015-07-062-4/+4
| | | |
* | | | Merge branch 'add-irker-options' into 'master'Dmitriy Zaporozhets2015-07-061-32/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Irker service configuration options ### What does this MR do? This MR makes a number of hard-coded Irker parameters configurable in the service settings: Irker server host, port, and default IRC URI. It also removes the "max recipient" limit since the recipient list is configurable only by the project owner, and it makes no sense to update the limit when it is implied in the recipient list already. ### Why was this MR needed? The existing service assumed that gitlab.com was running an Irker daemon on `localhost` when it was not. Using Irker on gitlab.com thus did not work at all. This MR allows users to provide their own Irker daemons. ### Are there points in the code the reviewer needs to double check? My main concern is whether allowing a user to specify the server/port combination would have security implications for a host. Given that HipChat and Slack allow users to do this, I didn't think this was doing anything novel. ### What are the relevant issue numbers? * Closes #1713 * Closes #1714 * Closes gitlab-com/support-forum#139 ### Screenshots ### Before ![image](https://gitlab.com/stanhu/gitlab-ce/uploads/2eb3eb815e249e9fb669fc97ecd4f3c8/image.png) ### After ![image](https://gitlab.com/gitlab-org/gitlab-ce/uploads/cceaba951c05bd3df2c842cc68046b87/image.png) See merge request !930
| * | | | Add Irker service configuration optionsStan Hu2015-07-051-32/+8
| |/ / / | | | | | | | | | | | | | | | | | | | | Closes #1713 Closes #1714 Closes gitlab-com/support-forum#139
* | | | Allow user to be blocked and unblocked via the APISteve Norman2015-07-031-0/+51
| |/ / |/| |
* | | Add support for unlocking users in admin settingsStan Hu2015-07-021-0/+15
|/ / | | | | | | Closes https://github.com/gitlabhq/gitlabhq/issues/9381