Commit Graph

21 Commits

Author SHA1 Message Date
GitLab Bot 616a16ea4d Add latest changes from gitlab-org/gitlab@master 2022-01-25 21:15:18 +00:00
GitLab Bot 15f5da601b Add latest changes from gitlab-org/gitlab@master 2021-12-09 12:15:43 +00:00
GitLab Bot f50cb4f63f Add latest changes from gitlab-org/gitlab@master 2021-10-27 15:13:41 +00:00
GitLab Bot 0ae8428c8e Add latest changes from gitlab-org/gitlab@master 2021-05-11 21:10:21 +00:00
GitLab Bot 1b2e02ede9 Add latest changes from gitlab-org/gitlab@master 2020-11-17 21:09:19 +00:00
GitLab Bot ed7568cc80 Add latest changes from gitlab-org/gitlab@master 2020-10-16 09:09:06 +00:00
GitLab Bot 2ac4833015 Add latest changes from gitlab-org/gitlab@master 2020-10-08 18:08:32 +00:00
GitLab Bot 2f5c5b1081 Add latest changes from gitlab-org/gitlab@master 2020-10-08 12:08:31 +00:00
GitLab Bot b7dfe2ae40 Add latest changes from gitlab-org/gitlab@master 2019-09-13 13:26:31 +00:00
Felipe Artur 7e83acb8a2 Prevent disclosing project milestone titles
Prevent unauthorized users having access to milestone titles
through autocomplete endpoint.
2019-02-25 10:55:15 -03:00
Jarka Košanová a68c991c32 Remove instance autocomplete_service variable 2018-11-06 17:24:44 +01:00
Fabian Schneider b55c320c89 Resolve "Drop down filter for project snippets" 2018-10-05 09:42:38 +00:00
gfyoung 12ee2753c1 Enable even more frozen string in app/controllers
Enables frozen string for some vestigial files as
well as the following:

* app/controllers/projects/**/*.rb
* app/controllers/sherlock/**/*.rb
* app/controllers/snippets/**/*.rb
* app/controllers/users/**/*.rb

Partially addresses #47424.
2018-09-25 22:43:49 -07:00
Peter Leitzen 82337dd684 Implement QuickActions::TargetService 2018-08-10 16:45:11 +02:00
Peter Leitzen 9b95fe78ae Move finding autocompletion targets into AutocompleteService 2018-08-10 16:45:11 +02:00
Peter Leitzen d23fbbc692 Build noteables in AutocompleteSourcesController#target 2018-08-10 16:45:11 +02:00
Mark Chao 389a22e7b7 Backport of EE changes in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6195
Refactor AutocompleteSources#label:

1. The return value was inconsistent, sometimes returning a hash and sometimes returning an ActiveModel.
2. It was inconsistent with respect to other methods in the class since they all return ActiveModels.
2018-07-06 17:03:39 +08:00
Bob Van Landuyt 148816cd67 Port `read_cross_project` ability from EE 2018-02-22 17:11:36 +01:00
Vitaliy @blackst0ne Klachkov 68f0092c8f Limit autocomplete menu to applied labels 2017-11-28 14:51:03 +11:00
Eric Eastwood e6fc0207cb Use native unicode emojis
- gl_emoji for falling back to image/css-sprite when the browser
   doesn't support an emoji
 - Markdown rendering (Banzai filter)
 - Autocomplete
 - Award emoji menu
    - Perceived perf
    - Immediate response because we now build client-side
 - Update `digests.json` generation in gemojione rake task to be more
   useful and  include `unicodeVersion`

MR: !9437

See issues

 - #26371
 - #27250
 - #22474
2017-03-06 12:54:46 -06:00
Luke Bennett 1356e40f22
Changed autocomplete_sources into an action that returns a single 'at' type of sources at a time
Finished up autocomplete_sources action and added frontend to fetch data only when its needed

Added wait_for_ajax to specs

Fixed builds and improved the setup/destroy lifecycle

Changed global namespace and DRYed up loading logic

Added safety for accidentally loading data twice

Removed destroy as its not necessary and is messing with click events from a blur race condition

Created AutocompleteSourcesController and updated routes

Fixed @undefined from tabbing before load ends

Disable tabSelectsMatch until we have loaded data

Review changes
2016-12-15 15:20:33 +00:00