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