Commit Graph

48 Commits

Author SHA1 Message Date
GitLab Bot b1cfb65ec7 Add latest changes from gitlab-org/gitlab@master 2024-10-10 09:15:54 +00:00
GitLab Bot bd603a4188 Add latest changes from gitlab-org/gitlab@master 2024-05-27 06:13:14 +00:00
GitLab Bot 852aade153 Add latest changes from gitlab-org/gitlab@master 2024-05-24 09:18:22 +00:00
GitLab Bot e28e280b79 Add latest changes from gitlab-org/gitlab@master 2024-04-22 12:14:08 +00:00
GitLab Bot 3a8d99989a Add latest changes from gitlab-org/gitlab@master 2024-03-09 00:09:16 +00:00
GitLab Bot 282be3e7a2 Add latest changes from gitlab-org/gitlab@master 2024-03-07 12:12:45 +00:00
GitLab Bot 3682bf2cf2 Add latest changes from gitlab-org/gitlab@master 2024-01-03 12:10:50 +00:00
GitLab Bot 12a224d5db Add latest changes from gitlab-org/gitlab@master 2023-08-15 15:10:07 +00:00
GitLab Bot c083e823ce Add latest changes from gitlab-org/gitlab@master 2023-08-14 18:09:49 +00:00
GitLab Bot bdad4dd5da Add latest changes from gitlab-org/gitlab@master 2023-06-06 00:08:24 +00:00
GitLab Bot 0b4adad74b Add latest changes from gitlab-org/gitlab@master 2023-05-09 12:15:13 +00:00
GitLab Bot 74c7e01089 Add latest changes from gitlab-org/gitlab@master 2022-03-10 09:08:06 +00:00
GitLab Bot 475d5a7a17 Add latest changes from gitlab-org/gitlab@master 2022-03-03 00:20:18 +00:00
GitLab Bot 9bc5f183df Add latest changes from gitlab-org/gitlab@master 2021-04-07 21:09:01 +00:00
GitLab Bot c59765a50a Add latest changes from gitlab-org/gitlab@master 2020-06-24 18:09:03 +00:00
GitLab Bot b69f406585 Add latest changes from gitlab-org/gitlab@master 2020-02-15 00:08:48 +00:00
Patrick Derichs 927f608f2c Fix HTML injection for label description
Add changelog entry

Add spec
2019-08-05 16:01:43 +02:00
Patrick Derichs 13e7feef08 Add where condition to filter out invalid labels with nil type 2019-07-24 10:22:37 +02:00
Thong Kuah a2cfc150ce Add # frozen_string_literal to spec/models
Adds `# frozen_string_literal: true` to spec/models ruby files
2019-04-01 14:37:54 +13:00
Dmitriy Zaporozhets 600a10b9d1 Add subscribe filter to labels page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-10-04 10:24:50 +02:00
Dmitriy Zaporozhets 4996876e37 Add specs for label search backend code
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-07-31 12:46:37 +03:00
Rémy Coutable ddccd24c13 Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Grzegorz Bizon 0430b76441 Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
winh e63d27d83b Add failing test for #32728 2017-05-25 19:08:37 +02:00
blackst0ne 9a048a6ea2 Remove heading and trailing spaces from label's color and title 2017-04-12 08:56:33 +11:00
Tomáš Kukrál 7808c9cb50 validate length of label.title
+ add test for label.title length validation
2017-01-09 12:16:36 +01:00
Douglas Barbosa Alexandre 530aae9080 Abstract LabelPriority away into methods on Label model 2016-10-19 14:58:27 -02:00
Douglas Barbosa Alexandre 2978920113 Add LabelPriority model 2016-10-19 14:58:27 -02:00
Douglas Barbosa Alexandre 07709c5576 Unfold references for group labels when moving issue to another project 2016-10-19 14:58:25 -02:00
Douglas Barbosa Alexandre e28058c410 Validate if project label title does not exist at group level 2016-10-19 14:58:24 -02:00
Douglas Barbosa Alexandre cfedd42bad Add ProjectLabel model 2016-10-19 14:58:24 -02:00
Douglas Barbosa Alexandre 9463551ece Validates uniqueness of title unless label is a template 2016-10-19 14:58:24 -02:00
Douglas Barbosa Alexandre e23d1706fa Destroy related lists when a label is removed 2016-08-17 12:58:58 -03:00
tiagonbotelho 1d268a89de adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
Douglas Barbosa Alexandre e186626d25 Allow '?', or '&' for label titles 2016-07-05 20:57:09 -03:00
Yorick Peterse f96c34ec45 Merge branch 'remove-annotate-gem' into 'master'
Remove the annotate gem and delete old annotations

In 8278b763d9 the default behaviour of annotation
has changes, which was causing a lot of noise in diffs. We decided in #17382
that it is better to get rid of the whole annotate gem, and instead let people
look at schema.rb for the columns in a table.

Fixes: #17382 

/cc @yorickpeterse 

See merge request !4099
2016-05-10 09:08:30 +00:00
Jeroen van Baarsen f1479b56b7
Remove the annotate gem and delete old annotations
In 8278b763d9 the default behaviour of annotation
has changes, which was causing a lot of noise in diffs. We decided in #17382
that it is better to get rid of the whole annotate gem, and instead let people
look at schema.rb for the columns in a table.

Fixes: #17382
2016-05-09 18:00:28 +02:00
Felipe Artur d028863eda Sanitize milestones and label titles 2016-05-05 16:37:49 -03:00
Grzegorz Bizon acd877c73e Add cross project references support for label model 2016-03-03 10:41:11 +01:00
Grzegorz Bizon 65ba4da925 Add support for keyword arguments in label reference method 2016-03-03 10:41:11 +01:00
Douwe Maan 1e8d703a85 Tag model specs 2015-12-09 10:50:51 +01:00
Dmitriy Zaporozhets a237999f00
Annotate models
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-11-13 19:22:46 +01:00
Robert Speicher 81a09bc74c Support only double quotes for multi-word label references 2015-05-26 15:49:20 -04:00
Robert Speicher c0faf91ff2 Add `to_reference` for models that support references
Now there is a single source of information for which attribute a model
uses to be referenced, and its special character.
2015-05-26 15:48:30 -04:00
Jeroen van Baarsen 0c4a70a306 Updated rspec to rspec 3.x syntax
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-02-12 19:17:35 +01:00
Dmitriy Zaporozhets 92deb451da
Annotate models
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-08-25 12:25:02 +03:00
jubianchi 9d5c690193 Add spec on labels validation 2014-08-20 12:31:19 +02:00
Dmitriy Zaporozhets 03654a6abf
Label and LabelLink models for implementing own GitLab labels
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-29 17:10:15 +03:00