summaryrefslogtreecommitdiff
path: root/app/models/snippet.rb
Commit message (Expand)AuthorAgeFilesLines
* Check public snippets for spamSean McGivern2017-02-021-0/+12
* Keep snippet visibility on errorSean McGivern2017-02-021-1/+1
* Fix cross-project references copy to include the project referencefix/cross-project-ref-pathJames Lopez2017-01-031-2/+2
* Merge branch '25209-improve-length-validators' into 'master' Rémy Coutable2016-12-071-2/+6
|\
| * Use :maximum instead of :within for length validators with a 0..N range25209-improve-length-validatorsRémy Coutable2016-12-061-2/+6
* | Add shorthand support to gitlab markdown referencesOswaldo Ferreira2016-12-021-4/+4
|/
* Allow JIRA references for project snippetsissue_24303Felipe Artur2016-11-211-0/+1
* Add markdown cache columns to the database, but don't use them yetNick Thomas2016-10-071-0/+10
* Snippets get award emoji! :thumbsup:Z.J. van de Weg2016-09-191-0/+1
* Merge branch 'feature/custom-highlighting' into 'master' Rémy Coutable2016-06-281-0/+6
|\
| * move the path alias to a more appropriate locationhttp://jneen.net/2016-06-271-5/+5
| * add an alias for Snippet#pathhttp://jneen.net/2016-06-271-0/+6
* | Fix visibility of private project snippets for members when searchingDouglas Barbosa Alexandre2016-06-221-4/+10
* | Fix internal snippets can be searched by anyoneDouglas Barbosa Alexandre2016-06-221-1/+4
|/
* Remove `projects` inclusion in `notes_with_associations` to skip some unneces...Alejandro Rodríguez2016-06-081-1/+1
* Refactor ParticipableYorick Peterse2016-06-011-1/+6
* Remove the annotate gem and delete old annotationsJeroen van Baarsen2016-05-091-16/+0
* Annotate the modelsZeger-Jan van de Weg2016-05-061-3/+3
* Properly handle bigger filesZeger-Jan van de Weg2016-04-281-0/+4
* Memoize reference_pattern/link_reference_patternmemoize-pattern-methodsYorick Peterse2016-04-011-2/+2
* Removed arel_table receiver from search methodsYorick Peterse2016-03-111-1/+1
* Use ILIKE/LIKE for searching snippetsYorick Peterse2016-03-111-2/+22
* Remove `Snippet#expires_at`rs-snippets-dont-expireRobert Speicher2016-03-051-7/+0
* Autolink first so we don't pick up numeric anchors as issue references.Douwe Maan2015-12-011-5/+2
* Recognize issue/MR/snippet/commit links as references.Douwe Maan2015-11-301-2/+9
* Make snippet filename optional.Nicolas2015-06-201-1/+0
* 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
* Add `to_reference` for models that support referencesRobert Speicher2015-05-261-2/+17
* 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
* 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
* Add strict validation to snippet file namesDmitriy Zaporozhets2014-12-121-2/+4
* 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
* Project hook, milestone, snippet strong paramsDmitriy Zaporozhets2014-06-261-2/+0
* User model to strong params. Comment other attr_accessible to let tests runDmitriy Zaporozhets2014-06-261-1/+1
* 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
* Default value for Snippet#privateDmitriy Zaporozhets2014-03-171-0/+2