Commit Graph

70 Commits

Author SHA1 Message Date
Winnie Hellmann ad985a7a28 Merge branch 'winh-remove-sushi' into 'master'
Remove .raw from JavaScript fixture file names

Closes #59201

See merge request gitlab-org/gitlab-ce!26430

(cherry picked from commit 79a45f7f02)
2019-03-26 16:03:28 +00:00
Winnie Hellmann 514ee63826 Move some tests from Karma to Jest 2019-03-23 17:53:46 +01:00
Filipa Lacerda 022968764c Revert "Merge branch 'winh-remove-sushi' into 'master'"
This reverts merge request !26430
2019-03-22 11:03:15 +00:00
Winnie Hellmann 3e9bb4ad31 Remove .raw from JavaScript fixture file names
There is nothing more to say but

"Commits that change 30 or more lines across at least three files
must describe these changes in the commit body"
2019-03-21 17:16:53 +01:00
Constance Okoghenun e3eb241f5d Added tightLists option to copy_as_gfm markdown serializer
This removes extraneous newlines when copying comments
with an ordered list.
2019-03-05 18:08:39 +00:00
Tim Zallmann 81429f6193 Reduce Bundle Size by lazy loading markdown-it 2019-02-06 12:58:29 +00:00
Douwe Maan 8a03dbf8b7
Use nodes and marks to power Copy-as-GFM
The spec needed to be updated because in some cases the resulting
Markdown is slightly different, though equally valid.
2019-01-24 12:06:53 +01:00
Douwe Maan a7e77e10fe
Add tiptap/prosemirror nodes and marks for all Markdown and GFM features
The schema is built on top of the default schema and Node and Mark
classes provided by tiptap-extensions. prosemirror-model is used to
parse HTML/DOM into a prosemirror document, and prosemirror-markdown is
used to serialize this document to (GitLab Flavored) Markdown.
2019-01-24 12:06:52 +01:00
Thomas Pathier 7ed62abf7e Resolve "The reply shortcut can add any text of the page to the "comment" text area" 2018-11-20 18:18:29 +00:00
Mike Greiling f666026d71
Prettify all spec files 2018-10-17 11:18:17 -05:00
Johann Hubert Sonntagbauer 6f5723a169 enable jasmine/new-line-before-expect 2018-10-17 06:57:29 +02:00
Johann Hubert Sonntagbauer 2a76e04091 enable jasmine/new-line-between-declarations 2018-10-09 19:01:49 +02:00
Winnie Hellmann 23563f5e0a Highlight current user in comments and system notes 2018-10-02 11:12:22 +02:00
Mike Greiling 196dfd2627
Move shortcuts classes into behaviors/shortcuts 2018-09-18 17:26:15 -05:00
Jan Beckmann 351d5f3e36 Resolve "Copying ordered list to new comment becomes unordered" 2018-06-27 08:47:29 +00:00
Felipe Artur 3e66795ef1 Changes tab VUE refactoring 2018-06-21 12:22:40 +00:00
Clement Ho 9bf293a221 Fix variable list karma specs 2018-05-17 18:31:11 -04:00
Clement Ho 56982fcf24 Merge branch 'master' into bootstrap4 2018-04-25 10:51:53 -05:00
Mike Greiling 8fa0aeb880
fix illegal references to "this" in module context 2018-04-23 00:54:20 -05:00
Clement Ho d2f8a4810f Fix karma specs 2018-04-16 13:46:30 -05:00
Mike Greiling c1708514f5
move render_gfm into behaviors directory 2018-03-19 23:07:46 -05:00
Mike Greiling f248be7257
require jQuery to be explicitly imported 2018-03-09 15:18:09 -06:00
Jacob Schatz 35c8fd5586 Update to jQuery 3. 2018-02-20 22:20:48 +00:00
Eric Eastwood 2f0ab2526a Update secret_values to support dynamic elements within parent
Used in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/4110
which introduces a dynamic variable list and needs secrets.

We use the valueSelector/placeholderSelector options to avoid selecting
the last empty row.
2018-01-24 16:27:59 -06:00
Eric Eastwood 5e7d1878cb Hide runner token in CI/CD settings page
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/38019
2017-12-15 14:06:55 -06:00
Clement Ho bf0bbd7b2a Improve require input spec 2017-11-29 12:02:27 -06:00
Clement Ho cd9c75960c Remove iife and eslint disable 2017-11-27 17:13:11 -06:00
Eric Eastwood 9e5db3e261 Add rainbow_flag to emoji support map
Tested on the following platforms that split the emoji into separate
characters currently.
 - Windows 10 FCU
    - Chrome 62.0.3202.89
    - Firefox 57.0b14
    - MS Edge 41.16299.15.0
 - macOS 10.12.6
    - Chrome 63.0.3239.40
    - Safari 11.0.1 (12604.3.5.1.1)
    - Firefox 57.0
 - Ubuntu 16.04
    - Chromium 62.0.3202.75
    - Firefox 56.0
2017-11-15 01:54:52 -06:00
Mike Greiling b356997ab3
remove global export except in test environments 2017-11-01 12:59:35 -05:00
Eric Eastwood 03cd536b54 Cleanup data-page attribute after each Karma test
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/38871
2017-10-11 11:02:55 -05:00
Fatih Acet c4eac02df8 IssueNotesRefactor: Fix quick submit spec. 2017-08-25 03:42:36 +03:00
Filipa Lacerda 3008e99562 Fixes broken tests of quick_submit_spec and reduces tech debt 2017-08-10 14:08:57 +01:00
Filipa Lacerda 7065bb3ef3 Fix vue broken test 2017-08-04 21:57:03 +01:00
Filipa Lacerda a432ae9d06 Tests 2017-08-04 19:37:02 +01:00
Tim Zallmann 08ad0af49c Merge branch 'refactor-emoji-utils' into 'master'
Refactor emoji helpers in preparation for async loading

See merge request !12432
2017-06-28 05:51:30 +00:00
Luke "Jared" Bennett 64b0a799f3 Resolve "Submitting reply to existing diff discussion using Cmd/Ctrl+Enter submits twice and refreshes page" 2017-06-27 16:06:38 +00:00
Mike Greiling 27a1348f20 split emoji support methods from the async module 2017-06-27 00:10:17 -05:00
Mike Greiling f0a4b4875f update import locations for karma specs 2017-06-23 15:25:21 -05:00
Mike Greiling 283f968ef2 update frontend specs to use ES module syntax 2017-05-16 16:01:51 -05:00
Clement Ho 0d540530ca Standardize jasmine test describe block names that test specific methods 2017-05-05 17:17:08 -05:00
Luke "Jared" Bennett bef42d9a36 Fallback localstorage cases 2017-05-05 17:59:41 +00:00
Z.J. van de Weg 597639c096 Fix eslint 2017-03-06 14:58:53 +01:00
Luke "Jared" Bennett 1fbc488668
Corrected JS for new master js build updates [ci skip] 2017-03-02 15:07:58 +00:00
Luke "Jared" Bennett 173e27d62a
Finished up mattermost team creation 2017-02-22 10:19:42 +00:00
Mike Greiling c74b7eb271 fix overlooked window binding in spec files 2017-02-17 17:02:14 -06:00
winniehell 409a325043 Replace static fixture for behaviors/requires_input_spec.js (!9162) 2017-02-14 18:20:58 +01:00
winniehell 128d8b6118 Replace static fixture for behaviors/quick_submit_spec.js (!9086) 2017-02-11 17:49:12 +01:00
winniehell d4317e4d22 Use textarea for quick submit spec 2017-02-11 15:16:04 +01:00
Clement Ho 49c4059a32 Replace teaspoon references with Karma 2017-02-10 10:50:12 -06:00
Mike Greiling 04dc2b76d7 Merge branch 'master' into go-go-gadget-webpack
* master: (181 commits)
  Fixed adding to list bug
  Remove unnecessary queries for .atom and .json in Dashboard::ProjectsController#index
  Fixed modal lists dropdown not updating when list is deleted
  Fixed remove btn error after creating new issue in list
  Removed duplicated test
  Removed Masonry, instead uses groups of data
  Uses mixins for repeated functions
  Fixed up specs
  Props use objects with required & type values
  Removes labels instead of closing issue when clicking remove button
  Fixed JS lint errors
  Fixed issue card spec
  Added webkit CSS properties
  Fixed bug with empty state showing after search Fixed users href path being incorrect
  Fixed bug where 2 un-selected issues would stay on selected tab
  Fixed DB schema Changed how components are added in objects
  Added remove button
  Add optional id property to the issue schema
  Fixed issue link href
  Disabled add issues button if no lists exist
  ...
2017-02-03 13:17:03 -06:00