Yorick Peterse
e7849b0b25
Memoize reference_pattern/link_reference_pattern
...
These methods are called quite often in loops so by memoizing their
output we can reduce timings a bit.
2016-04-01 11:13:30 +02:00
Douglas Barbosa Alexandre
8ca5b33175
Fix issues count on labels page
2016-03-22 15:29:57 -03:00
Timothy Andrew and Rémy Coutable
0444fa560a
Original implementation to allow users to subscribe to labels
...
1. Allow subscribing (the current user) to a label
- Refactor the `Subscription` coffeescript class
- The main change is that it accepts a container, and conducts all
DOM queries within its scope. We need this because the labels
page has multiple instances of `Subscription` on the same page.
2. Creating an issue or MR with labels notifies users subscribed to those labels
- Label `has_many` subscribers through subscriptions.
3. Adding a label to an issue or MR notifies users subscribed to those labels
- This only applies to subscribers of the label that has just been
added, not all labels for the issue.
2016-03-15 17:25:37 +01:00
Grzegorz Bizon
fa639df5c7
Remove redundant code in cross project labels implementation
2016-03-03 10:41:11 +01:00
Grzegorz Bizon
d49c8e8e3d
Mention cross-project labels in markdown documentation
2016-03-03 10:41:11 +01:00
Grzegorz Bizon
7183a7da6d
Add additional text prefix in cross project labels
2016-03-03 10:41:11 +01:00
Grzegorz Bizon
a472c1bfd0
Add support for cross project references for labels
2016-03-03 10:41:11 +01: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
Alfredo Sumaran
d1b22c3a0b
Add open_merge_requests_count method
2016-03-01 21:04:34 -05:00
Alfredo Sumaran
3992e2269b
Add association to merge requests
2016-03-01 21:04:13 -05:00
Douwe Maan
31682eb987
Merge branch 'visibletrap/gitlab-ce-label'
2016-02-19 17:54:13 -08:00
Tap
2e81b1558b
Label description and Label row
...
- Add label description
- Show label row when filtering issues or merge requests by label
2016-02-17 21:52:12 +08:00
Rubén Dávila
365d96ca85
Add labels tab to milestone detail view.
2016-02-02 17:45:42 -05:00
Robert Speicher
e48391b813
Add custom ColorValidator
2015-12-07 16:57:26 -05:00
Douwe Maan
f385988d16
Use "Any Label" and "Any Milestone" in selects rather than the ambiguous "Any" option
2015-12-02 14:10:43 +01:00
Dmitriy Zaporozhets
a237999f00
Annotate models
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-11-13 19:22:46 +01:00
Stan Hu
b60bc655f2
Restore placeholders in issue filters from "Any" to "Milestone" and "Label"
...
1f11096c included new filters but made it hard to determine which dropdown did
what. This patch restores the original placeholders.
2015-10-08 23:53:32 -07:00
Stan Hu
dfbbc80611
Support filtering by "Any" milestone or issue and fix "No Milestone" and "No Label" filters
...
Closes #2619
Closes https://github.com/gitlabhq/gitlabhq/issues/9631
2015-10-07 07:21:50 -07:00
Valery Sizov
57d0013090
CRUD for admin labels
2015-09-03 15:50:23 +03:00
Robert Speicher
81a09bc74c
Support only double quotes for multi-word label references
2015-05-26 15:49:20 -04:00
Robert Speicher
b88da58cb6
Add reference_pattern to Referable models
2015-05-26 15:48:32 -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
Robert Speicher
c1c1ef52c3
Remove duplicate ampersand from Label title format validator
2015-04-20 13:01:43 -04:00
Douwe Maan
da89ebbe48
Fix label color input.
2015-04-17 17:38:31 +02:00
Dmitriy Zaporozhets
8952fc015f
Apply default scope to labels and remove one for notes
2015-02-05 20:29:41 -08:00
Dmitriy Zaporozhets
62ed1c537e
Explicitly define ordering in models using default_scope
2015-02-05 14:20:55 -08:00
Dmitriy Zaporozhets
92deb451da
Annotate models
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-25 12:25:02 +03:00
jubianchi
7ad93ab250
Improve labels validation and expose error messages
2014-08-20 12:09:19 +02:00
Robert Schilling
938eed1ef8
Consistency: Capitalize hex values of sugested colors
2014-08-15 11:02:05 +02:00
Dmitriy Zaporozhets
27cf081e1b
Merge pull request #7479 from Razer6/feature/labels_api
...
Implement complete labels API (create/delete/update)
2014-08-15 10:25:48 +03:00
Dmitriy Zaporozhets
0602c5d027
Change default label color
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-15 10:20:12 +03:00
Robert Schilling
cbc90565b5
Do label validation for issues/merge requests API
2014-08-14 10:17:52 +02:00
Robert Schilling
b9519c8314
Validate label titel in project scope
2014-08-13 15:48:26 +02:00
Robert Schilling
c9eaa46c73
Labels need to be valid on name
2014-08-13 15:48:26 +02:00
Robert Schilling
a3c969cd92
Add testcase for invalid color
2014-08-13 15:48:26 +02:00
Robert Schilling
cf3ba0209d
Update labels via API
2014-08-13 12:29:03 +02:00
Robert Schilling
9284038dbe
Add, delete labels via API
2014-08-13 12:28:19 +02:00
Dmitriy Zaporozhets
2ecc79507a
Order labels by name
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-30 19:13:35 +03:00
Dmitriy Zaporozhets
593df8e69a
Improve labels
...
* allow developers to manage labels
* add ability to remove label
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-30 15:15:39 +03:00
Dmitriy Zaporozhets
ecabefba19
More strict validation for label title
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-30 13:26:54 +03:00
Dmitriy Zaporozhets
d45a6b2941
Migrate issue/mr labels from act_as_taggable to own labels
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-29 19:19:26 +03: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