Commit Graph

141 Commits

Author SHA1 Message Date
Clement Ho 65c07bdbf0 [skip ci] Convert img-responsive to img-fluid 2018-04-10 13:16:26 -05:00
Clement Ho 46031d63cd [skip ci] Convert panel related class names to card 2018-04-10 12:11:34 -05:00
Fabian Schneider d2482f15e1 Fix template selector menu visibility 2018-04-08 11:00:25 +02:00
Mike Greiling f248be7257
require jQuery to be explicitly imported 2018-03-09 15:18:09 -06:00
Mike Greiling ce4dd19e09
migrate stl_viewer to dynamic import 2018-03-01 11:29:26 -06:00
Mike Greiling 9d9d010594
migrate sketch_viewer to dynamic import 2018-03-01 11:29:26 -06:00
Mike Greiling 4e86a7378c
migrate pdf_viewer to dynamic import 2018-03-01 11:29:25 -06:00
Mike Greiling e2c8783815
migrate notebook_viewer to dynamic import 2018-03-01 11:28:34 -06:00
Mike Greiling 2d8966f7f5
migrate balsamiq_viewer to dynamic import 2018-03-01 11:28:33 -06:00
Sebastian Klingler 1cc09a919c Trigger change event on filename input when file template is applied
Add changelog

Follow event trigger convention
2018-02-03 20:50:57 -06:00
Phil Hughes a16cdd0b3e
converted blob viewer to axios 2018-01-30 09:12:56 +00:00
Filipa Lacerda 1245d35f14 Merge branch 'main-js-tidy-up' into 'master'
Tidy up main JS file

See merge request gitlab-org/gitlab-ce!16007
2018-01-11 18:40:22 +00:00
Phil Hughes ff0f74ac6e
Tidy up main JS file 2018-01-10 11:07:42 +00:00
Filipa Lacerda b299198e1e
Adds `eslint-plugin-vue`, fixes linter errors and adds docs 2018-01-03 23:14:55 +00:00
Eric Eastwood ac9e65a9b9 Switch blob/notebook to Axios 2018-01-02 18:01:00 -06:00
Phil Hughes e0bbadc2d2
use exported methods instead of gl.utils 2017-12-08 08:54:51 +00:00
Filipa Lacerda 6ffd34897d Remove dropzoneInput from global namespace 2017-10-19 07:45:52 +00:00
Phil Hughes fa2af5e0f5
Flash is now a ES6 module
Reduced the technical debt around our JS flash function by making it a
module that is imported rather than relying on the global function.
The global function still exists mainly for technical debt with how
some requests are being completed, but new JS should import the module
directly.

Also reduces some tech debt in the file by removing the need for jQuery.
Instead Flash is now 100% vanilla JS.
2017-10-10 10:14:22 +01:00
James Ramsay 0ed23790a4 Fix spelling of occurred 2017-09-26 08:46:09 -04:00
Bryce Johnson cca06da2e4 Standardize access to CSRF token in JavaScript 2017-09-21 17:53:28 +00:00
Filipa Lacerda 96e6fc70b4 Import modules instead of using the ones in global namespace
Removes set favicon related methods from global scope
Improves test related with favicon

Removes convertPermissionToBoolean from global scope.
Adds tests for convertPermissionToBoolean - were non existant

Removes setParamInURL from gl.utils

Removes parseIntPagination from gl.utils namespace

Remove normalizeCRLFHeaders from gl.utils namespace

Removes normalizeHeaders from gl.utils namespace

Use gl.utils for filtered search

Fix bad import

Fix broken test by cleaning window.history namespace

Adds changelog
2017-09-09 09:54:27 +01:00
Simon Knox f363479808 disable file upload button while uploading
hide placeholder text when files have been added
vertically center dropzone area content
close modal after file upload succeeds
2017-08-08 22:12:08 +10:00
Filipa Lacerda aaa78199c2 Update vue-resource 2017-07-12 14:47:09 +00:00
Douwe Maan b38c74d696 Revert 'New file from interface on existing branch' 2017-06-09 10:10:47 -05:00
Sean McGivern 6821ad96ca Fix math rendering on blob pages
`renderGFM` adds the correct syntax highlighting class and triggers KaTeX if
required.
2017-05-30 13:25:47 +01:00
Winnie Hellmann 035b7cc0b3 Add users endpoint to frontend API class 2017-05-19 21:22:46 +00:00
Luke "Jared" Bennett 1f9a9629db Fix clicking disabled clipboard button toolip 2017-05-18 20:53:15 +00:00
Douwe Maan 0f902f7e87 Scroll to anchor when blob content is loaded 2017-05-16 19:05:45 -05:00
Luke "Jared" Bennett b504b09b68 Added balsamiq jasmine integration test 2017-05-15 07:48:54 +00:00
Douwe Maan 08706f6837 Implement auxiliary blob viewers 2017-05-10 20:07:04 -05:00
Douwe Maan 00fc9f2607 Load tree readme asynchronously 2017-05-10 08:21:58 -05:00
Jacob Schatz aa874a1cd6 Merge branch 'mia_backort' into 'master'
Backport of Multiple Assignees feature

See merge request !11089
2017-05-05 19:17:28 +00:00
Clement Ho c4094b7ec4 Fix specs 2017-05-04 22:34:15 -05:00
Valery Sizov 387c4b2c21 Backport of multiple_assignees_feature [ci skip] 2017-05-04 17:11:53 +03:00
Luke "Jared" Bennett ef7001c9c6 Merge branch 'master' into 'balsalmiq-support'
# Conflicts:
#   spec/features/projects/commit/cherry_pick_spec.rb
#   spec/features/projects/environments/environment_spec.rb
2017-05-02 09:11:55 +00:00
Phil Hughes 54beb93ac3 Merge branch 'pdflab-in-repo' into 'master'
Move PDFLab assets into repo

See merge request !10642
2017-05-02 07:35:49 +00:00
Douwe Maan 60ebd101d0 Use blob viewers for snippets 2017-04-30 11:21:20 -05:00
Sam Rose 9f3985c613 Move PDFLab into GitLab 2017-04-28 12:52:36 -04:00
Luke "Jared" Bennett 2ef7c6f070
Fixed specs 2017-04-28 17:32:50 +01:00
Luke "Jared" Bennett 1e2246e73e
Removed Spinner usage 2017-04-28 16:21:50 +01:00
Luke "Jared" Bennett cde3760bb4
Merge branch 'master' into balsalmiq-support 2017-04-28 11:32:40 +01:00
Phil Hughes 95658fb62a Fixed failing JS tests 2017-04-27 12:23:27 -05:00
Douwe Maan 964e7d206b Add specs 2017-04-27 12:23:26 -05:00
Douwe Maan a7fd95cd22 Render viewer error synchronously so that 'view the source' link will work 2017-04-27 12:23:26 -05:00
Douwe Maan cc3e488c98 Satisfy eslint 2017-04-27 12:23:26 -05:00
Douwe Maan 796acbe1e0 Add BlobViewer JS 2017-04-27 12:23:26 -05:00
Luke "Jared" Bennett c3633db617 Merge branch 'master' into 'balsalmiq-support'
# Conflicts:
#   config/webpack.config.js
2017-04-26 11:26:10 +00:00
Jacob Schatz 60fe0c2743 Merge branch 'use-jquery-on-blob-fork-suggestion' into 'master'
Use jQuery niceness on blob_fork_suggestion

See merge request !10858
2017-04-24 19:59:35 +00:00
Jacob Schatz 640e8093d4 Merge branch 'notebooklab-in-repo' into 'master'
Moved NotebookLab assets into repo

See merge request !10630
2017-04-24 18:17:49 +00:00
Eric Eastwood 5f7b4cb5d8 Use jQuery niceness on blob_fork_suggestion
Fix
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10602#note_27871752
2017-04-22 11:51:07 -05:00