summaryrefslogtreecommitdiff
path: root/app/models/snippet.rb
Commit message (Collapse)AuthorAgeFilesLines
* Make snippet filename optional.Nicolas2015-06-201-1/+0
| | | | Fixes #2384.
* Surround Project.reference_pattern in parenthesis inside other patternsRobert Speicher2015-05-261-1/+1
|
* Add `reference_pattern` to Referable modelsRobert Speicher2015-05-261-0/+10
|
* Minor model spec cleanupsRobert Speicher2015-05-261-1/+2
| | | | Snippet model was missing project association
* Add `to_reference` for models that support referencesRobert Speicher2015-05-261-2/+17
| | | | | Now there is a single source of information for which attribute a model uses to be referenced, and its special character.
* Move participants method to shared Participable concern.Douwe Maan2015-04-241-12/+3
|
* Clean up code somewhat.better-commit-mentionsDouwe Maan2015-04-171-4/+2
|
* Fix Snippet#participants.Douwe Maan2015-04-151-0/+2
|
* Include snippet author in recipients of snippet note notification.Douwe Maan2015-04-151-0/+12
|
* Use more specific regexes.Douwe Maan2015-03-271-2/+2
|
* Added comment notification events to HipChat and Slack services.Stan Hu2015-03-061-0/+4
| | | | | | | | | Supports four different event types all bundled under the "note" event type: - comments on a commit - comments on an issue - comments on a merge request - comments on a code snippet
* Explicitly define ordering in models using default_scopeDmitriy Zaporozhets2015-02-051-0/+1
|
* Rubocop: Style/AlignHash enabledDmitriy Zaporozhets2015-02-021-3/+5
|
* Sanitize snippet file name in raw headersDmitriy Zaporozhets2014-12-121-0/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add strict validation to snippet file namesDmitriy Zaporozhets2014-12-121-2/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* annotateValery Sizov2014-10-091-11/+11
|
* Snippets: public/internal/privateValery Sizov2014-10-091-4/+12
|
* Snippets: rename public to internalValery Sizov2014-10-071-1/+1
|
* Adding in snippet search functionalityCharles Bushong2014-08-291-0/+14
| | | | http://feedback.gitlab.com/forums/176466-general/suggestions/5529795-search-though-snippets
* Project hook, milestone, snippet strong paramsDmitriy Zaporozhets2014-06-261-2/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* User model to strong params. Comment other attr_accessible to let tests runDmitriy Zaporozhets2014-06-261-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Rename snippets scopes to plural names.Marin Jankovski2014-06-041-2/+2
|
* Replace now forbidden keywords public and private for snippets scopeMarin Jankovski2014-06-031-2/+2
|
* Re-annotate modelsDmitriy Zaporozhets2014-04-091-3/+3
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Default value for Snippet#privateDmitriy Zaporozhets2014-03-171-0/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* ReannotateDmitriy Zaporozhets2013-08-211-3/+3
|
* AnnotatedDmitriy Zaporozhets2013-06-191-4/+5
|
* Notes fixedAndrew8xx82013-03-251-0/+1
|
* It's better to use STI insteadAndrew8xx82013-03-251-1/+0
|
* Additional scopes addedAndrew8xx82013-03-251-2/+5
|
* Private added to attr_accessibleAndrew8xx82013-03-251-1/+1
|
* Project snippet moved to separate modelAndrew8xx82013-03-241-3/+2
|
* All scopes must be in lambdasAndrew8xx82013-02-121-3/+3
|
* remove length of snippet contentValeriy Sizov2013-01-221-1/+1
|
* Rework of milestonesDmitriy Zaporozhets2012-12-141-1/+1
|
* Annotated. schema updatedDmitriy Zaporozhets2012-11-191-16/+15
|
* AnnotatedDmitriy Zaporozhets2012-10-091-0/+1
|
* simple refactoringAndrey Kumanyaev2012-10-091-1/+3
|
* cosmetical cleanup of modelsNihad Abbasov2012-09-271-19/+6
|
* annotate modelsNihad Abbasov2012-09-271-3/+3
|
* set activerecord whitelist_attributes to trueNihad Abbasov2012-09-261-3/+4
|
* Fully embrace Ruby 1.9 hash syntaxRobert Speicher2012-08-101-10/+10
| | | | Didn't bother with files in db/, config/, or features/
* Reannotatedrandx2012-06-261-5/+5
|
* Project linguist integrationDmitriy Zaporozhets2012-04-211-3/+15
|
* Added missing dependent for notes assocDmitriy Zaporozhets2011-12-181-1/+1
|
* Snippet restyleDmitriy Zaporozhets2011-12-151-0/+1
|
* Fix different styles/button positionsDmitriy Zaporozhets2011-12-081-0/+4
|
* test expired snippetsNihad Abbasov2011-10-281-0/+1
|
* don't count expired snippetsNihad Abbasov2011-10-271-0/+1
|
* display recent snippets at topNihad Abbasov2011-10-271-0/+2
|