summaryrefslogtreecommitdiff
path: root/app/models/snippet.rb
Commit message (Expand)AuthorAgeFilesLines
* Use fuzzy search with minimum length of 3 characters where appropriatedm-search-patternDouwe Maan2017-11-271-5/+2
* Use Gitlab::SQL::Pattern where appropriateDouwe Maan2017-11-241-5/+3
* Fix link text from group contextJarka Kadlecova2017-11-231-2/+2
* `current_application_settings` belongs on `Gitlab::CurrentSettings`Sean McGivern2017-08-311-0/+2
* Added Cop to blacklist the use of `dependent:`Yorick Peterse2017-07-061-1/+1
* Removes file_name_regex from Gitlab::Regex32408-allow-creation-of-files-and-dirs-with-spaces-in-web-uiTiago Botelho2017-07-051-3/+1
* Merge branch '12910-snippets-description' into 'master'Phil Hughes2017-06-071-0/+1
|\
| * Support descriptions for snippetsJarka Kadlecova2017-05-311-0/+1
* | Port fix-realtime-edited-text-for-issues 9-2-stable fix to master.Luke "Jared" Bennett2017-05-311-0/+1
|/
* Merge branch 'snippets-finder-visibility' into 'security'Douwe Maan2017-05-101-13/+0
* Fix feature testsblackst0ne2017-05-041-0/+5
* Use blob viewers for snippetsDouwe Maan2017-04-301-24/+2
* Add option to start a new discussion on an MRDouwe Maan2017-04-051-0/+1
* Spam check only when spammable attributes have changedOswaldo Ferreira2017-03-211-1/+2
* Use string based `visibility` getter & setterToon Claes2017-03-021-1/+1
* 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