summaryrefslogtreecommitdiff
path: root/app/models/snippet.rb
Commit message (Expand)AuthorAgeFilesLines
* Inherit from ApplicationRecord instead of ActiveRecord::BaseNick Thomas2019-03-281-1/+1
* Enable the Layout/ExtraSpacing cop56392-enable-the-layout-extraspacing-copRémy Coutable2019-01-241-2/+2
* Block private snippets from being embeddableMark Chao2018-12-201-5/+3
* Move embeddable? to model to be used outside viewMark Chao2018-12-201-0/+8
* Rewrite SnippetsFinder to improve performanceYorick Peterse2018-11-051-21/+56
* Redact unsubscribe links in issuable textsJan Provaznik2018-10-231-0/+3
* Added FromUnion to easily select from a UNIONYorick Peterse2018-09-171-0/+1
* Merge branch 'frozen-string-enable-app-models' into 'master'Rémy Coutable2018-08-021-0/+2
|\
| * Enable frozen string in app/models/*.rbrepo-forks/gitlab-ce-frozen-string-enable-app-modelsgfyoung2018-07-261-0/+2
* | Show the status of a user in interactionsBob Van Landuyt2018-07-301-0/+1
|/
* Add discussion APIjprovazn-apiJan Provaznik2018-03-071-0/+4
* Merge branch 'security-10-4-25223-snippets-finder-doesnt-obey-feature-visibil...Douwe Maan2018-02-091-0/+21
* use Gitlab::UserSettings directly as a singleton instead of including/extendi...Mario de la Ossa2018-02-021-3/+1
* 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