entcore 4.6.0-dev.0 → 4.6.0-dev.202210281154

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/bundle/ng-app.js +92 -92
  2. package/bundle/ng-app.js.map +1 -1
  3. package/dist/ng-app.js +456 -0
  4. package/dist/ng-app.js.map +1 -0
  5. package/{src → dist}/template/attachments.html +0 -0
  6. package/{src → dist}/template/calendar-default-display-options-template.html +0 -0
  7. package/{src → dist}/template/calendar.html +0 -0
  8. package/{src → dist}/template/carousel.html +0 -0
  9. package/{src → dist}/template/cgu-lightbox.html +0 -0
  10. package/{src → dist}/template/compression.html +0 -0
  11. package/{src → dist}/template/embedder.html +0 -0
  12. package/{src → dist}/template/file-picker-list/list.html +0 -0
  13. package/{src → dist}/template/file-picker-list/pick.html +0 -0
  14. package/{src → dist}/template/image-editor/blur.html +0 -0
  15. package/{src → dist}/template/image-editor/crop.html +0 -0
  16. package/{src → dist}/template/image-editor/main.html +0 -0
  17. package/{src → dist}/template/image-editor/properties.html +0 -0
  18. package/{src → dist}/template/image-editor/resize.html +0 -0
  19. package/{src → dist}/template/image-editor/rotate.html +0 -0
  20. package/{src → dist}/template/linker.html +0 -0
  21. package/{src → dist}/template/media-library/browse.html +35 -8
  22. package/{src → dist}/template/media-library/icons.html +0 -0
  23. package/{src → dist}/template/media-library/list.html +0 -0
  24. package/{src → dist}/template/media-library/loading.html +0 -0
  25. package/{src → dist}/template/media-library/main.html +0 -0
  26. package/dist/template/media-library/record.html +1 -0
  27. package/{src → dist}/template/media-library/upload.html +0 -0
  28. package/dist/template/media-library/virtual-media-library/virtual-media-content.html +56 -0
  29. package/dist/template/media-library/virtual-media-library/virtual-media-folder.html +7 -0
  30. package/{src → dist}/template/multi-combo.html +0 -0
  31. package/{src → dist}/template/recorder.html +0 -0
  32. package/{src → dist}/template/share-panel-table-mobile.html +0 -0
  33. package/{src → dist}/template/share-panel-table.html +0 -0
  34. package/{src → dist}/template/share-panel.html +0 -0
  35. package/{src → dist}/template/video/browse.html +0 -0
  36. package/{src → dist}/template/video/integration.html +0 -0
  37. package/{src → dist}/template/video/main.html +0 -0
  38. package/{src → dist}/template/video/onboarding.html +0 -0
  39. package/{src → dist}/template/video/record.html +0 -0
  40. package/{src → dist}/template/video/upload.html +0 -0
  41. package/{src → dist}/template/widgets.html +0 -0
  42. package/{src → dist}/template/wizard.html +0 -0
  43. package/gulpfile.js +51 -28
  44. package/package.json +28 -24
  45. package/types/src/ts/directives/index.d.ts +1 -0
  46. package/types/src/ts/directives/virtual-folder/index.d.ts +4 -0
  47. package/types/src/ts/directives/virtual-folder/virtual-media-library-button.directive.d.ts +2 -0
  48. package/types/src/ts/directives/virtual-folder/virtual-media-library-document-view.directive.d.ts +2 -0
  49. package/types/src/ts/directives/virtual-folder/virtual-media-library.directive.d.ts +2 -0
  50. package/types/src/ts/entcore.d.ts +2 -0
  51. package/types/src/ts/video/VideoController.d.ts +6 -0
  52. package/types/src/ts/video/index.d.ts +4 -0
  53. package/CHANGELOG.md +0 -185
  54. package/CONTRIBUTING.md +0 -53
  55. package/Jenkinsfile +0 -27
  56. package/bower.json +0 -30
  57. package/browsers.json +0 -40
  58. package/build.sh +0 -70
  59. package/docker-compose.yml +0 -16
  60. package/karma-base.conf.json +0 -49
  61. package/karma-compatibility.conf.js +0 -25
  62. package/karma.conf.js +0 -5
  63. package/src/template/media-library/record.html +0 -1
  64. package/src/ts/deps.d.ts +0 -52
  65. package/src/ts/editor/matchers.d.ts +0 -6
  66. package/src/ts/libs/angular/angular.js +0 -11
  67. package/src/ts/libs/angular/angular.js.map +0 -1
  68. package/src/ts/libs/underscore/underscore.js +0 -8
  69. package/src/ts/libs/underscore/underscore.js.map +0 -1
  70. package/tsconfig.spec.json +0 -11
  71. package/wdio.conf.js +0 -44
  72. package/webpack-dev.config.js +0 -25
  73. package/webpack.config.js +0 -31
package/CHANGELOG.md DELETED
@@ -1,185 +0,0 @@
1
-
2
- # [3.5.0](https://github.com/opendigitaleducation/infra-front/compare/3.4.3...3.5.0) (2019-04-29)
3
-
4
-
5
- ### Bug Fixes
6
-
7
- * Directory:
8
- * fix performance issue when retrieving filtered classes
9
- * Workspace:
10
- * enable downloading trashed documents
11
-
12
-
13
- ### Features
14
-
15
- * enable forcing a user to revalidate terms and conditions
16
-
17
-
18
- ## [3.4.3](https://github.com/opendigitaleducation/infra-front/compare/3.4.2...3.4.3) (2019-04-16)
19
-
20
-
21
- ### Bug Fixes
22
-
23
- * Smart banner:
24
- * enable i18n for smart banner and overrides per theme. Also adds profile exclusion per theme.
25
-
26
-
27
- ## [3.4.2](https://github.com/opendigitaleducation/infra-front/compare/3.4.1...3.4.2) (2019-04-09)
28
-
29
-
30
- ### Bug Fixes
31
-
32
- * Editor:
33
- * fix a bug with a plain text pasting. Now it converts the text to editor model.
34
- * Miscellaneous:
35
- * chrome 73+ handles differently click target when selecting, fix the target detection on checkTool
36
-
37
-
38
- ## [3.4.1](https://github.com/opendigitaleducation/infra-front/compare/3.4.0...3.4.1) (2019-03-25)
39
-
40
-
41
- ### Features
42
-
43
- * Calendar:
44
- * hide week switcher on month display
45
-
46
-
47
- # [3.4.0](https://github.com/opendigitaleducation/infra-front/compare/3.3.6...3.4.0) (2019-03-04)
48
-
49
-
50
- ### Bug Fixes
51
-
52
- * Behaviours:
53
- * fix workflow and behaviours for unavailable applications
54
- * Editor:
55
- * fix the bug where the inline editor was moving on resize
56
- * avoid clipping image when changing size to small or medium
57
- * add upload visibility on base 64 import
58
- * Image editor:
59
- * add a spinner when saving image
60
- * display settings according to rights
61
- * Share panel:
62
- * Display the 'show more' button on inherited shares
63
- * Workspace:
64
- * Avoid undefined shared array in folders
65
- * Miscellaneous:
66
- * remove the style 'user-select: none' when touching a resizable element
67
-
68
-
69
- ### Features
70
-
71
- * Workspace:
72
- * pre-3.4 Revisions of document compatible with the restoration mechanism
73
- * CI:
74
- * use `Jenkinsfile` to build infra-front
75
-
76
-
77
-
78
- ## [3.3.6](https://github.com/opendigitaleducation/infra-front/compare/3.3.5...3.3.6) (2019-02-18)
79
-
80
-
81
- ### Bug Fixes
82
-
83
-
84
- * Workspace:
85
- * fix cycle in the document hierarchy (document should not be able to move (or copy) into self or descendant)
86
-
87
-
88
- ## [3.3.5](https://github.com/opendigitaleducation/infra-front/compare/3.3.4...3.3.5) (2019-02-12)
89
-
90
-
91
- ### Bug Fixes
92
-
93
- * Smart banner:
94
- * remove the store name
95
-
96
-
97
-
98
- ## [3.3.4](https://github.com/opendigitaleducation/infra-front/compare/3.3.2...3.3.4) (2019-01-22)
99
-
100
-
101
- ### Bug Fixes
102
-
103
- * Editor:
104
- * fix pasted font-size (use the correct scaling)
105
- * use "font[size]" attribute to style font-size on copy/paste
106
-
107
-
108
-
109
- ## [3.3.2](https://github.com/opendigitaleducation/infra-front/compare/3.3.1...3.3.2) (2019-01-10)
110
-
111
-
112
- ### Bug Fixes
113
-
114
- * Share panel:
115
- * renamed button class
116
-
117
-
118
- ## [3.3.1](https://github.com/opendigitaleducation/infra-front/compare/3.3.0...3.3.1) (2019-01-07)
119
-
120
-
121
- ### Bug Fixes
122
-
123
- * Miscellaneous:
124
- * include hash's theme when building ts
125
-
126
-
127
- # [3.3.0](https://github.com/opendigitaleducation/infra-front/compare/2.3.3...3.3.0) (2018-12-26)
128
-
129
-
130
- ### Bug Fixes
131
-
132
- * Editor:
133
- * delete zws char at the beginning of the line when press delete
134
- * fix editor when pressing enter in a text which contains a <br>
135
- * fix line deletion
136
- * fix pressing enter at the start of a line
137
- * fix span merging, respect order while merging
138
- * fix the siblings tree position after pressing enter
139
- * rewrite css applying functionalities
140
- * catch and clean the clipboard
141
- * fix new line when in styled list
142
- * create a new line with zero-width space after list
143
- * selection fixes on delete and empty editor
144
- * detect CMD key on mac os x
145
- * apply selected color and selected background to multicolor lines
146
- * fix apply style to a block node
147
- * fix IE compatibility issue
148
- * fix selection issue with safari
149
- * whitelist possible tags for new line
150
- * let browser handle the paste event when non-html content
151
- * fix some style issue when pasting image from editor
152
- * let ie11 handles the pasting event
153
- * remove editor content when pressing enter while selecting the editor
154
- * removes condition when applying colors
155
- * fix workspace path
156
- * Workspace:
157
- * updated class for spinner
158
- * changed spinner class when copying
159
- * issues with searching when copying or moving
160
- * adding tooltip for ellipsis
161
- * add feedback on 403 error
162
- * fix javascript exception when notifying contrib
163
- * prefetch loading screen to avoid locked screen
164
- * Share panel:
165
- * wait users filtering before displaying 'No results'
166
- * Media library:
167
- * fix wrong feedback color for dictaphone
168
-
169
-
170
- ### Features
171
-
172
-
173
- * Workspace:
174
- * issues with searching when copying or moving
175
- * adding tooltip for ellipsis
176
- * Media library:
177
- * multiple URL patterns for embed videos
178
- * adding image class to make icons in media lib uniform
179
- * documents ordered by created date in media library
180
- * Share panel:
181
- * Hide input placeholder if no results
182
- * Smart banner:
183
- * adds smart banner
184
- * Miscellaneous:
185
- * adding auto-size class on lightboxes h2
package/CONTRIBUTING.md DELETED
@@ -1,53 +0,0 @@
1
- Contributing
2
- ---
3
-
4
- ## Running unit tests
5
-
6
- ```shell
7
- # install dependencies:
8
- npm install
9
-
10
- # run unit tests on local firefox and chrome:
11
- npm run test
12
-
13
- # override the default browsers, e.g. run unit tests only on local firefox:
14
- npm run test -- --browsers=Firefox
15
-
16
- # /!\ needs env. variables BROWSERSTACK_USERNAME and BROWSERSTACK_ACCESSKEY
17
- # run unit tests on browserStack:
18
- npm run test:compatibility
19
- # only on ie11:
20
- npm run test:compatibility -- --browsers=bs_ie_11_windows10
21
- ```
22
-
23
- ## Running end-to-end tests
24
-
25
- ```shell
26
- # /!\ needs env. variables E2E_USERNAME and E2E_PASSWORD
27
- # which are the credentials to connect to the entcore platform
28
- E2E_USERNAME=myUsername E2E_PASSWORD=myPassword npm run test:end-to-end
29
-
30
- # On BrowserStack browsers
31
- BROWSERSTACK=true E2E_USERNAME=myUsername E2E_PASSWORD=myPassword npm run test:end-to-end
32
-
33
- # With a different base URL (default is http://localhost:8090/)
34
- E2E_BASE_URL=http://my-example.com E2E_USERNAME=myUsername E2E_PASSWORD=myPassword npm run test:end-to-end
35
- ```
36
-
37
-
38
- ## choices
39
-
40
- - why karma?
41
-
42
- Karma is a javascript test runner that runs unit tests in browser environments.
43
- Most alternative test runners run tests in the node.js environment.
44
-
45
- - why jasmine?
46
-
47
- Jasmine is a full-featured (assertions, mocks, etc.) test framework.
48
- A lot of resources can be found in the web about Jasmine.
49
-
50
- - why webdriver.io?
51
-
52
- Webdriver.io is a low level API to write functional tests using the standard web driver api.
53
-
package/Jenkinsfile DELETED
@@ -1,27 +0,0 @@
1
- #!/usr/bin/env groovy
2
-
3
- pipeline {
4
- agent any
5
- stages {
6
- stage('Init') {
7
- steps {
8
- checkout scm
9
- sh './build.sh deps'
10
- }
11
- }
12
- stage('Build') {
13
- steps {
14
- sh './build.sh build'
15
- }
16
- }
17
- stage('Publish') {
18
- steps {
19
- configFileProvider([configFile(fileId: '.npmrc-infra-front', variable: 'NPMRC')]) {
20
- sh 'cp $NPMRC .npmrc'
21
- sh './build.sh publish'
22
- }
23
- }
24
- }
25
- }
26
- }
27
-
package/bower.json DELETED
@@ -1,30 +0,0 @@
1
- {
2
- "name": "js-infra",
3
- "homepage": "https://github.com/entcore/js-infra",
4
- "authors": [
5
- "WSE <tech@web-education.net>"
6
- ],
7
- "description": "",
8
- "main": "",
9
- "moduleType": [],
10
- "license": "AGPL",
11
- "ignore": [
12
- "**/.*",
13
- "node_modules",
14
- "bower_components",
15
- "test",
16
- "tests"
17
- ],
18
- "dependencies": {
19
- "lodash": "~4.8.2",
20
- "jquery": "~2.2.3",
21
- "moment": "^2.12.0",
22
- "humane-js": "^3.2.2",
23
- "angular": "1.2.0-rc.2",
24
- "angular-sanitize": "1.2.0-rc.2",
25
- "angular-route": "1.2.0-rc.2",
26
- "underscore": "^1.8.3",
27
- "core.js": "^2.4.1",
28
- "ua-parser-js": "^0.7.23"
29
- }
30
- }
package/browsers.json DELETED
@@ -1,40 +0,0 @@
1
- [
2
- {
3
- "name": "bs_chrome_latest_windows10",
4
- "browser": "Chrome",
5
- "os": "Windows",
6
- "os_version": "10"
7
- },
8
- {
9
- "name": "bs_edge_latest_windows10",
10
- "browser": "Edge",
11
- "os": "Windows",
12
- "os_version": "10"
13
- },
14
- {
15
- "name": "bs_ie_11_windows10",
16
- "browser": "IE",
17
- "browser_version": "11",
18
- "os": "Windows",
19
- "os_version": "10"
20
- },
21
- {
22
- "name": "bs_ie_11_windows8",
23
- "browser": "IE",
24
- "browser_version": "11",
25
- "os": "Windows",
26
- "os_version": "8.1"
27
- },
28
- {
29
- "name": "bs_firefox_latest_windows10",
30
- "browser": "Firefox",
31
- "os": "Windows",
32
- "os_version": "10"
33
- },
34
- {
35
- "name": "bs_safari_latest_macOS_HS",
36
- "browser": "Safari",
37
- "os": "OS X",
38
- "os_version": "High Sierra"
39
- }
40
- ]
package/build.sh DELETED
@@ -1,70 +0,0 @@
1
- #!/bin/bash
2
-
3
- if [ ! -e node_modules ]
4
- then
5
- mkdir node_modules
6
- fi
7
-
8
- if [ -z ${USER_UID:+x} ]
9
- then
10
- export USER_UID=1000
11
- export GROUP_GID=1000
12
- fi
13
-
14
- # options
15
- SPRINGBOARD="recette"
16
- for i in "$@"
17
- do
18
- case $i in
19
- -s=*|--springboard=*)
20
- SPRINGBOARD="${i#*=}"
21
- shift
22
- ;;
23
- *)
24
- ;;
25
- esac
26
- done
27
-
28
- build () {
29
- local extras=$1
30
- docker-compose run --rm -u "$USER_UID:$GROUP_GID" node sh -c "node_modules/gulp/bin/gulp.js build ${extras}"
31
- }
32
-
33
- install () {
34
- docker-compose run --rm -u "$USER_UID:$GROUP_GID" node sh -c "npm install"
35
- }
36
-
37
- watch () {
38
- docker-compose run --rm -u "$USER_UID:$GROUP_GID" node sh -c "node_modules/gulp/bin/gulp.js watch --springboard=/home/node/$SPRINGBOARD"
39
- }
40
-
41
- publish () {
42
- LOCAL_BRANCH=`echo $GIT_BRANCH | sed -e "s|origin/||g"`
43
- docker-compose run --rm -u "$USER_UID:$GROUP_GID" node sh -c "npm publish --tag $LOCAL_BRANCH"
44
- }
45
-
46
- for param in "$@"
47
- do
48
- case $param in
49
- deps)
50
- install
51
- ;;
52
- build)
53
- build
54
- ;;
55
- install)
56
- install && build "--springboard=/home/node/${SPRINGBOARD}"
57
- ;;
58
- watch)
59
- watch
60
- ;;
61
- publish)
62
- publish
63
- ;;
64
- *)
65
- echo "Invalid argument : $param"
66
- esac
67
- if [ ! $? -eq 0 ]; then
68
- exit 1
69
- fi
70
- done
@@ -1,16 +0,0 @@
1
- gradle:
2
- image: gradle:4.5-alpine
3
- working_dir: /home/gradle/project
4
- volumes:
5
- - ./:/home/gradle/project
6
- - ~/.m2:/home/gradle/.m2
7
- - ~/.gradle:/home/gradle/.gradle
8
-
9
- node:
10
- image: opendigitaleducation/node:10-alpine
11
- working_dir: /home/node/app
12
- volumes:
13
- - ./:/home/node/app
14
- - ~/.npm:/.npm
15
- - ../paris:/home/node/paris
16
- - ../recette:/home/node/recette # TODO : rendre générique pour appliquer à tous les springboards
@@ -1,49 +0,0 @@
1
- {
2
- "basePath": "",
3
- "files": [
4
- "node_modules/jquery/dist/jquery.js",
5
- "node_modules/mathjax/MathJax.js",
6
- "node_modules/angular/angular.js",
7
- "node_modules/angular-mocks/angular-mocks.js",
8
- "node_modules/angular-route/angular-route.js",
9
- "node_modules/angular-sanitize/angular-sanitize.js",
10
- "src/ts/lib.ts",
11
- "src/ts/ng-start.ts",
12
- "src/ts/modelDefinitions.ts",
13
- "src/ts/http.ts",
14
- "src/ts/idiom.ts",
15
- "src/ts/calendar.ts",
16
- "src/ts/ui.ts",
17
- "src/ts/me.ts",
18
- "src/ts/skin.ts",
19
- "src/ts/globals.ts",
20
- "src/ts/notify.ts",
21
- "src/ts/workspace/*.ts",
22
- "src/ts/edumedia/*.ts",
23
- "src/ts/behaviours.ts",
24
- "src/ts/rights.ts",
25
- "src/ts/toasts.ts",
26
- "src/ts/entcore.ts",
27
- "src/ts/sniplets.ts",
28
- "src/ts/template.ts",
29
- "src/ts/widget.ts",
30
- "src/ts/libs/**/*.ts",
31
- "src/ts/editor.ts",
32
- "src/ts/editor.spec.ts",
33
- "src/ts/editor/**/*.ts",
34
- "src/ts/library/*.ts",
35
- "src/ts/directives/userRole.ts",
36
- "src/ts/directives/userRole.spec.ts"
37
- ],
38
- "preprocessors": {
39
- "src/**/*.ts": ["karma-typescript"]
40
- },
41
-
42
- "reporters": ["progress", "karma-typescript"],
43
- "singleRun": false,
44
- "frameworks": ["jasmine", "karma-typescript"],
45
- "browsers": ["Chrome", "Firefox"],
46
- "karmaTypescriptConfig": {
47
- "tsconfig": "./tsconfig.spec.json"
48
- }
49
- }
@@ -1,25 +0,0 @@
1
- const karmaBaseConf = require('./karma-base.conf');
2
- const browsers = require('./browsers');
3
- const customLaunchers = {};
4
-
5
- browsers.forEach(browser => customLaunchers[browser.name] = {
6
- base: 'BrowserStack',
7
- browser: browser.browser,
8
- os: browser.os,
9
- os_version: browser.os_version,
10
- browser_version: browser.browser_version
11
- });
12
-
13
- module.exports = function (config) {
14
- const karmaCompatibilityConf = Object.assign({}, karmaBaseConf, {
15
- browserStack: {
16
- username: process.env.BROWSERSTACK_USERNAME,
17
- accessKey: process.env.BROWSERSTACK_ACCESSKEY
18
- },
19
- customLaunchers,
20
- browsers: Object.keys(customLaunchers),
21
- singleRun: true
22
- });
23
-
24
- config.set(karmaCompatibilityConf)
25
- };
package/karma.conf.js DELETED
@@ -1,5 +0,0 @@
1
- const karmaBaseConf = require('./karma-base.conf');
2
-
3
- module.exports = function (config) {
4
- config.set(karmaBaseConf);
5
- };
@@ -1 +0,0 @@
1
- <recorder ng-model="record" on-upload="insertRecord()" protected></recorder>
package/src/ts/deps.d.ts DELETED
@@ -1,52 +0,0 @@
1
- // angular is loaded globally
2
- declare let angular;
3
-
4
- //webpack stuff
5
- declare function require(path:string);
6
-
7
- declare interface require{
8
- ensure(modulesPaths: string[], cb: (modules) => void);
9
- }
10
-
11
- // allow parsing strings as int
12
- declare function parseInt(data:any, radix?:number);
13
-
14
- declare interface Range{
15
- intersectsNode(item: HTMLElement): boolean;
16
- }
17
-
18
- declare interface Blob{
19
- name: string;
20
- }
21
-
22
- declare interface Document{
23
- caretRangeFromPoint(x: number, y: number);
24
- caretPositionFromPoint(x: number, y: number);
25
- }
26
-
27
- declare interface Xiti {
28
- conf: any;
29
- ATInternet: any;
30
- ATTag: any;
31
- structure: any;
32
- run(path?: string): Promise<void>;
33
- click(name: string, element: Element): Promise<void>;
34
- }
35
-
36
- declare interface Window{
37
- MathJax: any;
38
- Prism: any;
39
- entcore: any;
40
- html_beautify: any;
41
- jQuery: any;
42
- notLoggedIn: boolean;
43
- xiti: Xiti;
44
- }
45
-
46
- declare interface Node{
47
- innerHTML: string;
48
- }
49
-
50
- declare interface Object{
51
- toJSON(): string | {}
52
- }
@@ -1,6 +0,0 @@
1
- declare module jasmine {
2
- interface Matchers<T> {
3
- toBeEditedAs(expected: Expected<string>, expectationFailOutput?: any): boolean;
4
- toBeStyledAs(expected: Expected<string>, expectationFailOutput?: any): boolean;
5
- }
6
- }
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- require('angular');
4
- require('angular-route');
5
- require('angular-sanitize');
6
- exports.angular = window.angular;
7
- if (!window.entcore) {
8
- window.entcore = {};
9
- }
10
- window.entcore.angular = exports.angular;
11
- //# sourceMappingURL=angular.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"angular.js","sourceRoot":"","sources":["angular.ts"],"names":[],"mappings":";;AAAA,OAAO,CAAC,SAAS,CAAC,CAAC;AACnB,OAAO,CAAC,eAAe,CAAC,CAAC;AACzB,OAAO,CAAC,kBAAkB,CAAC,CAAC;AAEjB,QAAA,OAAO,GAAI,MAAc,CAAC,OAAO,CAAC;AAC7C,EAAE,CAAA,CAAC,CAAE,MAAc,CAAC,OAAO,CAAC,CAAA,CAAC;IACxB,MAAc,CAAC,OAAO,GAAG,EAAE,CAAC;AACjC,CAAC;AACA,MAAc,CAAC,OAAO,CAAC,OAAO,GAAG,eAAO,CAAC"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports._ = require('underscore');
4
- if (!window.entcore) {
5
- window.entcore = {};
6
- }
7
- window.entcore._ = exports._;
8
- //# sourceMappingURL=underscore.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"underscore.js","sourceRoot":"","sources":["underscore.ts"],"names":[],"mappings":";;AAAW,QAAA,CAAC,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;AACrC,EAAE,CAAA,CAAC,CAAE,MAAc,CAAC,OAAO,CAAC,CAAA,CAAC;IACxB,MAAc,CAAC,OAAO,GAAG,EAAE,CAAC;AACjC,CAAC;AACA,MAAc,CAAC,OAAO,CAAC,CAAC,GAAG,SAAC,CAAC"}
@@ -1,11 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "es5",
4
- "module": "commonjs",
5
- "declaration": false,
6
- "moduleResolution": "node",
7
- "sourceMap": true,
8
- "noImplicitAny": false,
9
- "lib": ["es2015", "dom"]
10
- }
11
- }
package/wdio.conf.js DELETED
@@ -1,44 +0,0 @@
1
- const os = require('os');
2
- const browsers = require('./browsers');
3
-
4
- let capabilities = os.type() === 'Darwin'?
5
- [{"browserName": "safari"}] : [{"browserName": "chrome"}, {"browserName": "firefox"}];
6
-
7
- let services = ['selenium-standalone'];
8
- let user;
9
- let key;
10
- if (process.env.BROWSERSTACK === 'true') {
11
- services = ['browserstack'];
12
- user = process.env.BROWSERSTACK_USERNAME;
13
- key = process.env.BROWSERSTACK_ACCESSKEY;
14
- capabilities = browsers
15
- .map(browser => Object.assign({}, {browserName: browser.browser.toLowerCase()}, browser));
16
- }
17
-
18
- exports.config = {
19
- specs: [
20
- './test/specs/**/*.ts'
21
- ],
22
- capabilities,
23
- sync: true,
24
- logLevel: 'silent',
25
- coloredLogs: true,
26
- deprecationWarnings: true,
27
- bail: 0,
28
- screenshotPath: './errorShots/',
29
- baseUrl: process.env.E2E_BASE_URL || 'http://localhost:8090',
30
- waitforTimeout: 20000,
31
- connectionRetryTimeout: 90000,
32
- connectionRetryCount: 3,
33
- services,
34
- user,
35
- key,
36
- browserstackLocal: true,
37
- framework: 'jasmine',
38
- jasmineNodeOpts: {
39
- defaultTimeoutInterval: 60000
40
- },
41
- before: function () {
42
- require('ts-node/register');
43
- }
44
- };
@@ -1,25 +0,0 @@
1
- var webpack = require('webpack');
2
- var path = require('path');
3
-
4
- module.exports = {
5
- context: path.resolve(__dirname, './'),
6
- entry: {
7
- 'ng-app': './src/ts/ng-app'
8
- },
9
- output: {
10
- filename: './bundle/[name].js'
11
- },
12
- resolve: {
13
- modulesDirectories: ['node_modules'],
14
- extensions: ['', '.ts', '.js']
15
- },
16
- devtool: "inline-source-map",
17
- module: {
18
- loaders: [
19
- {
20
- test: /\.ts$/,
21
- loader: 'awesome-typescript-loader'
22
- }
23
- ]
24
- }
25
- }