Commit Graph

49 Commits

Author SHA1 Message Date
GitLab Bot e6d048d769 Add latest changes from gitlab-org/gitlab@master 2023-05-23 12:10:24 +00:00
GitLab Bot 45a8c43afe Add latest changes from gitlab-org/gitlab@master 2023-05-15 09:08:57 +00:00
GitLab Bot 0cd52ae4af Add latest changes from gitlab-org/gitlab@master 2022-10-13 00:08:53 +00:00
GitLab Bot a10d237d37 Add latest changes from gitlab-org/gitlab@master 2021-03-30 12:10:51 +00:00
GitLab Bot 1bdf79827c Add latest changes from gitlab-org/gitlab@master 2020-12-02 15:09:37 +00:00
GitLab Bot 96c78a921f Add latest changes from gitlab-org/gitlab@master 2020-09-18 18:10:26 +00:00
GitLab Bot d72fedf168 Add latest changes from gitlab-org/gitlab@master 2020-09-03 06:08:22 +00:00
GitLab Bot 8b0ef13236 Add latest changes from gitlab-org/gitlab@master 2020-06-03 18:08:28 +00:00
GitLab Bot 1f1e53f43f Add latest changes from gitlab-org/gitlab@master 2020-05-28 15:08:02 +00:00
GitLab Bot 33795139ea Add latest changes from gitlab-org/gitlab@master 2020-02-19 18:09:10 +00:00
GitLab Bot a89cb5cbdd Add latest changes from gitlab-org/gitlab@master 2020-02-06 21:08:48 +00:00
GitLab Bot db24ab2b72 Add latest changes from gitlab-org/gitlab@master 2020-01-28 12:08:44 +00:00
Alexandru Croitor 010e3c5ed4
Display only participants that user has permission to see 2019-09-30 14:22:05 +02:00
Vitali Tatarintev 6a6411938a Change `be_success` to `be_successful` in specs
Fixes deprecation warning:

```
DEPRECATION WARNING: The success? predicate is deprecated and
will be removed in Rails 6.0.
Please use successful? as provided by Rack::Response::Helpers.
```
2019-08-19 14:40:56 +02:00
Heinrich Lee Yu 1ce5bcacdb Remove code related to object hierarchy in MySQL
These are not required because MySQL is not
supported anymore
2019-07-25 15:35:06 +08:00
Patrick Derichs b6424b378d Fix confidential issue label disclosure on milestone view
Add changelog entry

Method should be public

Use milestonish method

Use render data to filter labels

Add specs for label visibility on milestone
2019-05-14 13:16:30 +02:00
gfyoung 93a44e135b Add some frozen string to spec/**/*.rb
Adds frozen string to the following:

* spec/bin/**/*.rb
* spec/config/**/*.rb
* spec/controllers/**/*.rb

xref https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-04-15 10:17:05 +00:00
Jacopo 22eb2e4c22 Adds milestone search
Adds to search ILIKE search for milestones title in:
  - Milestones dashboard
  - Group milestones page
  - Project milestones page
2019-01-24 18:44:09 +01:00
blackst0ne b44a2c801a Update specs to rails5 format
Updates specs to use new rails5 format.

The old format:
`get :show, { some: params }, { some: headers }`

The new format:
`get :show, params: { some: params }, headers: { some: headers }`
2018-12-19 10:04:31 +11:00
Cindy Pallares 17f837267d
Merge branch 'security-issue_51301' into 'master'
[master] Resolve: Promoting a milestone is missing an authorization check

See merge request gitlab/gitlabhq!2598
2018-11-28 19:08:42 -05:00
Mark Chao d52af8b1c2 Fix spec in EE which now trigger access to repository 2018-11-07 11:33:02 +08:00
Oswaldo Ferreira ef66a4a57c Fix missing and duplicates on project milestone listing page 2018-08-07 13:02:55 -03:00
Filipa Lacerda a0930b83ec Escapes milestone and label names when promoting them 2018-07-17 10:21:12 +01:00
Filipa Lacerda fc9f90045d
Escapes milestone title shown in flash message when promoting a milestone 2018-07-13 15:00:14 +01:00
Mark Chao a63bce1a4b Resolve "Rename the `Master` role to `Maintainer`" Backend 2018-07-11 14:36:08 +00:00
Constance Okoghenun 7d310e0f11 Updated test for promoted milestones success message 2018-06-21 22:14:46 +01:00
Jarka Kadlecová 6426b50724 Include all ancestors milestones in json list & autocomplete 2018-06-04 18:25:30 +02:00
Jose Ivan Vargas 2a9a15266d Fix middle alignment for the title 2018-03-28 14:18:09 -05:00
Jose Ivan Vargas 1f02673867 Fix promoting labels and milestones copy text 2018-03-28 14:18:09 -05:00
Takuya Noguchi a48ac40710 Drop JSON response in Project Milestone along with avoiding error 2018-03-25 22:58:55 +09:00
Jose Ivan Vargas a16547e5c2 used respond_to formats for persisting flash messages instead 2018-03-06 16:32:26 -06:00
Jose Ivan Vargas f42397d19a Add persistent flash messages 2018-03-01 16:10:04 -06:00
Jose Ivan Vargas d5c0018649 Added vue based promotion modals for labels and milestones 2018-03-01 16:10:03 -06:00
blackst0ne 27c95364b5 Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
Felipe Artur 2f8577d45e Allow promoting project milestones to group milestones 2017-10-31 15:03:52 +00:00
Jacopo 2f40dac352 Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
Robert Speicher 72a7b30c9f Change all `:empty_project` to `:project` 2017-08-02 17:47:31 -04:00
Felipe Artur b5f596c3ff Native group milestones 2017-07-07 15:08:49 +00:00
Phil Hughes 4b812d979e Fixed failing specs 2017-04-26 12:23:29 +01:00
Phil Hughes 480fcb5533 Added controller specs 2017-04-26 12:23:29 +01:00
Stan Hu 68bb2a5338 Optimize project namespace lookup for milestones and add specs 2017-04-24 09:33:12 -07:00
Robert Speicher 4642ca6686 Use `empty_project` where possible in controller specs 2017-01-25 17:14:38 -05:00
Douwe Maan 6df22f72c6 Rephrase some system notes to be compatible with new system note style 2016-11-24 18:26:29 +08:00
Alejandro Rodríguez 0badbef836 Optimize Event queries by removing default order 2016-10-27 20:07:11 -03:00
tiagonbotelho 519275c110 fixes part1 of files to start using active tense 2016-08-09 15:06:23 +01:00
Stan Hu 4fab178850 Fix spec that broke due to fact that iid is needed, not id, for MilestonesController 2015-12-05 00:04:44 -08:00
Stan Hu ea5c25bb4e Remove milestones from merge requests when milestones are deleted
Reported by https://github.com/gitlabhq/gitlabhq/issues/9643
2015-09-21 07:00:55 -07:00
Stan Hu d3d03d1362 Create a "destroyed Milestone" event and keep Milestone events around in the DB
for posterity.

Also fix issue where destroying a Milestone would cause odd, transient messages like
"created milestone" or "imported milestone".

Add "in" preposition when creating and destroying milestones

Closes #2382
2015-09-15 05:51:11 -07:00
Stan Hu df2bb60f90 Add support for destroying project milestones
Closes https://github.com/gitlabhq/gitlabhq/issues/1504
2015-07-17 06:54:32 -07:00