Commit graph

151 commits

Author SHA1 Message Date
Eric Eastwood
947dcfba37 Use es6-promise package to avoid webpack warnings
See https://github.com/stefanpenner/es6-promise/issues/100

```
[WDS] Warnings while compiling.
./vendor/assets/javascripts/es6-promise.auto.js
Module not found: Error: Can't resolve 'vertx' in
'/Users/eric/Documents/gitlab/gitlab-development-kit/gitlab/vendor/assets/javascripts'
 @ ./vendor/assets/javascripts/es6-promise.auto.js 140:16-26
 @ ./app/assets/javascripts/application.js
 @ multi (webpack)-dev-server/client?http://localhost:3808
./application.js
```
2017-02-13 23:25:34 -06:00
Mike Greiling
e7ac1628ae convert timeago.js dependency to an npm module 2017-02-11 01:02:57 -06:00
Mike Greiling
50559f72b5 remove vue from vendor since it is now in node_modules 2017-02-11 01:00:33 -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
Jacob Schatz
538a6875d3 Merge branch '25624-anticipate-obstacles-to-removing-turbolinks' into 'master'
Remove Turbolinks

Closes 

See merge request 
2017-02-03 18:02:19 +00:00
Mike Greiling
b00f53bea1 fix relative paths to xterm.js within fit.js 2017-02-02 13:31:30 -06:00
Bryce Johnson
fbd09871ca Remove turbolinks. 2017-02-02 14:03:12 -05:00
Mike Greiling
5fcbe12730 Merge branch 'master' into go-go-gadget-webpack
* master: (83 commits)
  Fix small typo on new branch button spec
  Abillity to promote project labels to group labels
  Update and pin the `jwt` gem to ~> 1.5.6
  refactor merge request build service
  Update index.md
  Clarify that Auto Deploy requires a public project.
  cop for gem fetched from a git source
  Add CHANGELOG entry
  Remove new branch button for confidential issues
  Remove flash warning from login page
  add complete changelog
  Add project ID index to `project_authorizations` table to optimize queries
  Fix disable storing of sensitive information when importing a new repo
  Fix notification when global=disabled, group=watch
  Ensure rake is called within the correct bundle context
  Fix 8.16.0 release date.
  Improve search within group logic
  Add changelog item about new attributes in group api
  Update group api doc with full_name and full_path attributes
  Add tests for nested groups in search service and search helper
  ...
2017-01-31 14:38:45 -06:00
Luke "Jared" Bennett
fed94dceaf
remove ba-resize
refactor js-autosize code now that ba-resize is gone

Added specs
2017-01-20 20:42:49 +00:00
Robert Speicher
f700f6e3cf Merge branch 'patch-turbolinks' into 'security'
Updated Turbolinks to patched version of turbolinks-classic

See https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2048
2017-01-10 19:41:52 -05:00
Mike Greiling
e3ff5ff426 ensire u2f object is accessible in a commonJS environment 2017-01-10 12:30:45 -06:00
Luke "Jared" Bennett
7c47cc94c5 Swapped out teaspoon for karma 2017-01-10 12:30:40 -06:00
Luke "Jared" Bennett
3eb8569778 Correct merge conflicts
Fixed eslint failures
2017-01-10 12:30:39 -06:00
Mike Greiling
fe964cc235 migrate all javascript asset bundles and require syntax 2017-01-10 12:30:38 -06:00
Mike Greiling
55f291e8ce replace application.js sprockets output with webpack-generated equivalent 2017-01-06 10:21:02 -06:00
Fatih Acet
232f7fd975 Terminal: Add TextEncoder and TextDecoder in terminal bundle. 2017-01-04 23:21:18 +03:00
Hiroyuki Sato
7afccbd121 Update build step for KaTeX. 2016-12-22 06:03:49 +09:00
Hiroyuki Sato
796c4c07fd Replace url('...') to url(font-path('...')) 2016-12-22 06:03:49 +09:00
Hiroyuki Sato
ef99ffd76d Rname katex.css to katex.scss 2016-12-22 06:03:49 +09:00
Nick Thomas
7c2e16d053 Add xterm.js 2.1.0 and a wrapper class to the asset pipeline 2016-12-19 19:53:03 +00:00
Munken
731bf34223 Clearer comment as to why the procedure is needed 2016-12-16 11:02:36 +00:00
Munken
5920c5d2ca Added KaTeX license and procedure to build it for Gitlab 2016-12-16 01:44:41 +00:00
Munken
525c2a782e Math works for inline syntax 2016-12-08 22:41:29 +00:00
Mike Greiling
e5a968c4f1 move timeago.js to vendor directory 2016-11-22 23:33:42 -06:00
Filipa Lacerda
6801321ca7 Adds es6-promise polyfill
Adds changelog
2016-11-15 16:18:28 +00:00
Fatih Acet
a51285ade1 Bump up vue version. 2016-11-10 17:53:34 +03:00
Clement Ho
fa1ac47ef1 Replace jQuery.timeago with timeago.js 2016-11-07 14:49:00 -06:00
Alfredo Sumaran
055e2ac293 Move jquery.timeago to vendor directory 2016-11-03 16:13:35 -05:00
Phil Hughes
dec4376027 Updated Sortable JS plugin
Fixes an issue in Safari that stops issues from being draggable

Closes 
2016-11-01 08:41:44 +00:00
Mike Greiling
67d2b2acb3 replace jquery.cookie vendor script with js.cookie 2016-10-24 18:09:00 -05:00
Jared Deckard
7f6474b269 Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
Elan Ruusamäe
faf81b6ce7 drop execute bit
originally added by mistakes
2016-08-19 08:11:07 +03:00
Phil Hughes
dc550aced5 Removed vue assets 2016-08-17 17:28:36 +01:00
Phil Hughes
d4387bd317 Fixed removing items from list 2016-08-17 17:17:39 +01:00
Phil Hughes
f1242c17a5 Created default sortable options to be shared between the lists & the cards
Added full vue.js source
2016-08-17 17:12:47 +01:00
Phil Hughes
61fa7b756e Removes boards correctly 2016-08-17 17:12:47 +01:00
Phil Hughes
f330585a98 Added vue-resource to get & save data 2016-08-17 17:12:47 +01:00
Phil Hughes
6478adf10c Hooked up JS to allow issues to be moved between columns 2016-08-17 17:12:47 +01:00
Phil Hughes
36545f8b97 Added VueJS plugin 2016-08-17 15:37:25 +01:00
Fatih Acet
aaa9509d12 ES6ify all the things! 2016-07-24 23:45:11 +03:00
Connor Shea
18e16e427d
Replace raphael-rails with raphael.js so it can be split from the rest of the JavaScript. The gem isn't maintained anymore anyway. Added a network folder with an application.js including raphael components, since that's the only page using it currently. 2016-06-10 09:28:07 -06:00
Jacob Schatz
316630ad2c Merge branch 'jquery2' into 'master'
Upgraded jQuery to version 2

## What does this MR do?

Upgrades jQuery to 2.2.1. 

Had to include the task_list JS file directly as it includes jQuery 1 directly https://github.com/github-archive/task_list/blob/master/app/assets/javascripts/task_list.coffee#L8 so when we change jQuery to `jquery2` it was including both jQuery 1 & 2.

## Are there points in the code the reviewer needs to double check?

For any JS errors

## What are the relevant issue numbers?

Closes 

See merge request 
2016-06-06 14:25:23 +00:00
Timothy Andrew
128549f10b Implement U2F registration.
- Move the `TwoFactorAuthsController`'s `new` action to `show`, since
  the page is not used to create a single "two factor auth" anymore. We
  can have a single 2FA authenticator app, along with any number of U2F
  devices, in any combination, so the page will be accessed after the
  first "two factor auth" is created.
- Add the `u2f` javascript library, which provides an API to the
  browser's U2F implementation.
- Add tests for the JS components
2016-06-06 12:50:31 +05:30
Phil Hughes
86df113907 Upgraded jQuery to version 2
Closes 
2016-06-05 16:15:51 -04:00
Connor Shea
4b4f2cf53b
Replace animate.css with a smaller subset of animations.
As discussed in .
2016-05-13 16:48:20 -06:00
Connor Shea
976a70522f Removes jquery-scrollto-rails.
Instead the script is now included directly from the vendor directory.

Resolves .
2016-05-10 18:31:36 -06:00
Jacob Schatz
b3f4e8b218 Revert "Merge branch 'sentry-js' into 'master' "
This reverts commit 0f309794e7, reversing
changes made to 1e596fef1c.
2016-04-21 07:27:27 -04:00
Jacob Schatz
001fe515cf Make unminified Raven available.
Use the correct sentry dsn.
2016-04-18 12:37:50 -04:00
Jacob Schatz
5f98fdcdc9 Add sentry logger to GitLab 2016-04-18 12:26:32 -04:00
Alfredo Sumaran
088368ae4d Add date.format.js 2016-04-07 11:59:56 -05:00