Skip to content
Permalink
Browse files

Migrated project to Angular CLI which should make it simpler to creat…

…e a productive build.
  • Loading branch information...
ppanopticon committed Apr 3, 2017
1 parent d4ba15b commit 60d295e75825d1f73a5c00ffac1028c6aced669e
Showing with 1,069 additions and 809 deletions.
  1. +57 −0 .angular-cli.json
  2. +0 −21 LICENSE
  3. +27 −2 README.md
  4. +0 −33 app/app.component.spec.ts
  5. +0 −11 app/core/module-import-guards.js
  6. +0 −2 app/index.ts
  7. +0 −5 app/main.ts
  8. +0 −7 app/shared/model/media/media-object.model.js
  9. +0 −1 app/shared/model/media/media-object.model.js.map
  10. +0 −2 app/shared/model/media/media-segment.model.js
  11. +0 −1 app/shared/model/media/media-segment.model.js.map
  12. +0 −2 app/shared/model/media/similarity.model.js
  13. +0 −1 app/shared/model/media/similarity.model.js.map
  14. +0 −8 app/shared/model/messages/interfaces/message.interface.js
  15. +0 −1 app/shared/model/messages/interfaces/message.interface.js.map
  16. +0 −2 app/shared/model/messages/interfaces/ping.interface.js
  17. +0 −1 app/shared/model/messages/interfaces/ping.interface.js.map
  18. +0 −2 app/shared/model/messages/interfaces/query-end.interface.js
  19. +0 −1 app/shared/model/messages/interfaces/query-end.interface.js.map
  20. +0 −2 app/shared/model/messages/interfaces/query-result-object.interface.js
  21. +0 −1 app/shared/model/messages/interfaces/query-result-object.interface.js.map
  22. +0 −2 app/shared/model/messages/interfaces/query-result-segment.interface.js
  23. +0 −1 app/shared/model/messages/interfaces/query-result-segment.interface.js.map
  24. +0 −2 app/shared/model/messages/interfaces/query-result-similarty.interface.js
  25. +0 −1 app/shared/model/messages/interfaces/query-result-similarty.interface.js.map
  26. +0 −2 app/shared/model/messages/interfaces/query-result.interface.js
  27. +0 −1 app/shared/model/messages/interfaces/query-result.interface.js.map
  28. +0 −2 app/shared/model/messages/interfaces/query-start.interface.js
  29. +0 −1 app/shared/model/messages/interfaces/query-start.interface.js.map
  30. +0 −2 app/shared/model/messages/interfaces/query.interface.js
  31. +0 −1 app/shared/model/messages/interfaces/query.interface.js.map
  32. +0 −2 app/shared/model/messages/message-type.model.js
  33. +0 −1 app/shared/model/messages/message-type.model.js.map
  34. +0 −11 app/shared/model/messages/query.model.js
  35. +0 −2 app/shared/model/queries/interfaces/query-container.interface.js
  36. +0 −1 app/shared/model/queries/interfaces/query-container.interface.js.map
  37. +0 −2 app/shared/model/queries/interfaces/query-term.interface.js
  38. +0 −1 app/shared/model/queries/interfaces/query-term.interface.js.map
  39. +0 −71 app/shared/model/queries/query-container.model.js
  40. +14 −0 e2e/app.e2e-spec.ts
  41. +11 −0 e2e/app.po.ts
  42. +12 −0 e2e/tsconfig.e2e.json
  43. +0 −31 index.html
  44. +44 −0 karma.conf.js
  45. +53 −47 package.json
  46. +30 −0 protractor.conf.js
  47. +0 −7 scss/vitrivr-theme.css.map
  48. BIN src/.sass-cache/0e257b1fd33d3c12c9bf054d41c74019a7bae86d/_overlay.scssc
  49. BIN src/.sass-cache/13b754cb735d9d8497cbc8e61b30f1b31d88e2d0/_card-theme.scssc
  50. BIN src/.sass-cache/1b8abfda328f0cf2e0bb31befc0b3f3bc2caf23e/_tooltip-theme.scssc
  51. BIN src/.sass-cache/1c03d79fe6aa777b2400d8fba5c8906bdf0354f3/_tabs-theme.scssc
  52. BIN src/.sass-cache/1e2bd9fb9ce35852cdfe083fdd667aaff921219c/_chips-theme.scssc
  53. BIN src/.sass-cache/32de40ad694f8e0c9966e7341f0f06f2afe5668c/_pseudo-checkbox-theme.scssc
  54. BIN src/.sass-cache/39439cbf50facc965c1d9df105b64ae2c12cd0ba/_toolbar-theme.scssc
  55. BIN src/.sass-cache/480d3bd8896a7bd05cf9025d69f035d85df4c44f/_select-theme.scssc
  56. BIN src/.sass-cache/4961b3ef854c03cf3e10bc4ddef97e54e6ac101f/_slider-theme.scssc
  57. BIN src/.sass-cache/4e93f68d002a369d6dc10779fcd7ca22891d40dd/_autocomplete-theme.scssc
  58. BIN src/.sass-cache/5ac3610b306b90a54d01a239ed2afd541ba981d5/_typography.scssc
  59. BIN src/.sass-cache/615f47b5a07e1a4ca091e389c3ec1c97e0ff14bf/_a11y.scssc
  60. BIN src/.sass-cache/64fc84a3a48d337397a9327fc3dad57554601055/_icon-theme.scssc
  61. BIN src/.sass-cache/6891fad8e3c90efa0d82bf74135f4308aa58cb39/material-icons.scssc
  62. BIN src/.sass-cache/6891fad8e3c90efa0d82bf74135f4308aa58cb39/roboto-font.scssc
  63. BIN src/.sass-cache/6891fad8e3c90efa0d82bf74135f4308aa58cb39/style.scssc
  64. BIN src/.sass-cache/6891fad8e3c90efa0d82bf74135f4308aa58cb39/styles.scssc
  65. BIN src/.sass-cache/6891fad8e3c90efa0d82bf74135f4308aa58cb39/vitrivr-theme.scssc
  66. BIN src/.sass-cache/728426ea153b9b35e726b1e9629847e2dce739dd/_list-theme.scssc
  67. BIN src/.sass-cache/834c230b059db4ade86711b7af08ade15145b08a/_progress-spinner-theme.scssc
  68. BIN src/.sass-cache/876dacf114b3c1f3788a4b397f0806a676ebf718/_dialog-theme.scssc
  69. BIN src/.sass-cache/953be806ec52c2f2ab3ba79f38a7a55b73c14ee4/_input-theme.scssc
  70. BIN src/.sass-cache/9f35a9f899313286e7b630fa67b380a69a1c191f/_menu-theme.scssc
  71. BIN src/.sass-cache/a46762e86e79219fc2acb25b25e9a952487a8095/_ripple.scssc
  72. BIN src/.sass-cache/a88ebab1396826ebb2907147a8ae947e19cd8f4e/_progress-bar-theme.scssc
  73. BIN src/.sass-cache/d1b159f4f55a4ec46afa4664daad5bbce4519ac9/_option-theme.scssc
  74. BIN src/.sass-cache/d1b159f4f55a4ec46afa4664daad5bbce4519ac9/_option.scssc
  75. BIN src/.sass-cache/d778fd27bf5e2fa03d597fc31f88ee139007a261/_elevation.scssc
  76. BIN src/.sass-cache/d778fd27bf5e2fa03d597fc31f88ee139007a261/_list-common.scssc
  77. BIN src/.sass-cache/d778fd27bf5e2fa03d597fc31f88ee139007a261/_menu-common.scssc
  78. BIN src/.sass-cache/d778fd27bf5e2fa03d597fc31f88ee139007a261/_variables.scssc
  79. BIN src/.sass-cache/d83aa20371ab0898d5665c60d13d2a7f7cabfdf6/_sidenav-theme.scssc
  80. BIN src/.sass-cache/d9b2b71aba389835c42c7c4853e1f9f82cb7bbec/_grid-list-theme.scssc
  81. BIN src/.sass-cache/e0eac4fc3757541feb6eecf633f59cf292215c81/_checkbox-theme.scssc
  82. BIN src/.sass-cache/e18d4f49fcd8647d71a6d8c9b1a5b6868047c08c/_core.scssc
  83. BIN src/.sass-cache/e3ae1c47e8b84bd5bab708d2c80a7b6a68731d34/_button-theme.scssc
  84. BIN src/.sass-cache/e66c2813bb0490845bd8f1cfcc5e14ad9ed7687c/_button-toggle-theme.scssc
  85. BIN src/.sass-cache/e6961b383c7319bf13aaca30d86eae08e16485e2/_radio-theme.scssc
  86. BIN src/.sass-cache/e6964c724f02455cb9704722dda035f4ef34362e/_slide-toggle-theme.scssc
  87. BIN src/.sass-cache/fbbcd9121a0c2894f5fd63d5eaaaaf1c04ae0bc3/_all-theme.scssc
  88. BIN src/.sass-cache/fbbcd9121a0c2894f5fd63d5eaaaaf1c04ae0bc3/_palette.scssc
  89. BIN src/.sass-cache/fbbcd9121a0c2894f5fd63d5eaaaaf1c04ae0bc3/_theming.scssc
  90. +2 −0 { → src}/app/app-routing.module.ts
  91. +4 −0 { → src}/app/app.component.html
  92. +32 −0 src/app/app.component.spec.ts
  93. +1 −1 { → src}/app/app.component.ts
  94. +6 −1 { → src}/app/app.module.ts
  95. 0 { → src}/app/core/api/abstract-rest.service.ts
  96. +0 −1 { → src}/app/core/api/abstract-websocket.service.ts
  97. 0 { → src}/app/core/api/cineast-api.service.ts
  98. 0 { → src}/app/core/basics/config.service.ts
  99. 0 { → src}/app/core/basics/resolver.service.ts
  100. 0 { → src}/app/core/core.module.ts
  101. 0 { → src}/app/core/lookup/lookup.module.ts
  102. 0 { → src}/app/core/lookup/metadata-lookup.service.ts
  103. 0 { → src}/app/core/module-import-guards.ts
  104. +8 −1 { → src}/app/core/queries/query.service.ts
  105. +6 −0 src/app/evaluation/evaluation-event.ts
  106. +21 −0 src/app/evaluation/evaluation.component.html
  107. +96 −0 src/app/evaluation/evaluation.component.ts
  108. +15 −0 src/app/evaluation/evaluation.module.ts
  109. +75 −0 src/app/evaluation/evaluation.ts
  110. 0 { → src}/app/features/features.component.ts
  111. 0 { → src}/app/features/features.module.ts
  112. 0 { → src}/app/features/weightdistribution.component.ts
  113. 0 { → src}/app/gallery/gallery.component.css
  114. 0 { → src}/app/gallery/gallery.component.html
  115. 0 { → src}/app/gallery/gallery.component.ts
  116. 0 { → src}/app/gallery/gallery.module.ts
  117. 0 { → src}/app/objectdetails/objectdetails.component.html
  118. 0 { → src}/app/objectdetails/objectdetails.component.ts
  119. 0 { → src}/app/objectdetails/objectdetails.module.ts
  120. 0 { → src}/app/research/containers/audio/audio-query-term.component.ts
  121. 0 { → src}/app/research/containers/audio/audio-query-term.module.ts
  122. 0 { → src}/app/research/containers/audio/audio-recorder-dialog.component.html
  123. +1 −1 { → src}/app/research/containers/audio/audio-recorder-dialog.component.ts
  124. 0 { → src}/app/research/containers/images/image-query-term.component.ts
  125. 0 { → src}/app/research/containers/images/image-query-term.module.ts
  126. 0 { → src}/app/research/containers/images/sketch-dialog.component.html
  127. +1 −1 { → src}/app/research/containers/images/sketch-dialog.component.ts
  128. 0 { → src}/app/research/containers/m3d/m3d-loader-dialog.component.html
  129. +1 −1 { → src}/app/research/containers/m3d/m3d-loader-dialog.component.ts
  130. +1 −1 { → src}/app/research/containers/m3d/m3d-query-term.component.ts
  131. 0 { → src}/app/research/containers/m3d/m3d-query-term.module.ts
  132. 0 { → src}/app/research/containers/query-container.component.ts
  133. 0 { → src}/app/research/containers/query-container.module.ts
  134. 0 { → src}/app/research/research.component.html
  135. 0 { → src}/app/research/research.component.ts
  136. 0 { → src}/app/research/research.module.ts
  137. 0 { → src}/app/shared/components/audio/audio-recorder-module.ts
  138. 0 { → src}/app/shared/components/audio/audio-recorder.component.ts
  139. 0 { → src}/app/shared/components/m3d/m3d-loader-module.ts
  140. +42 −13 { → src}/app/shared/components/m3d/m3d-loader.component.ts
  141. 0 { → src}/app/shared/components/sketch/sketch-canvas.component.ts
  142. 0 { → src}/app/shared/components/sketch/sketch.module.ts
  143. 0 { → src}/app/shared/model/features/feature-config.interface.ts
  144. 0 { → src}/app/shared/model/features/feature.model.ts
  145. 0 { → src}/app/shared/model/features/scores/compound-score-container.model.ts
  146. 0 { → src}/app/shared/model/features/scores/media-object-score-container.model.ts
  147. 0 { → src}/app/shared/model/features/scores/segment-score-container.model.ts
  148. +55 −0 src/app/shared/model/features/weighting/average-weight-function.model.ts
  149. 0 { → src}/app/shared/model/features/weighting/default-weight-function.model.ts
  150. 0 { → src}/app/shared/model/features/weighting/weight-function.interface.ts
  151. 0 { → src}/app/shared/model/media/media-metadata.model.ts
  152. 0 { → src}/app/shared/model/media/media-object.model.ts
  153. 0 { → src}/app/shared/model/media/media-segment.model.ts
  154. 0 { → src}/app/shared/model/media/similarity.model.ts
  155. 0 { → src}/app/shared/model/messages/interfaces/message.interface.ts
  156. 0 { → src}/app/shared/model/messages/interfaces/metadata-lookup.interface.ts
  157. 0 { → src}/app/shared/model/messages/interfaces/metadata-query-result.interface.ts
  158. 0 { → src}/app/shared/model/messages/interfaces/ping.interface.ts
  159. 0 { → src}/app/shared/model/messages/interfaces/query-end.interface.ts
  160. 0 { → src}/app/shared/model/messages/interfaces/query-result-object.interface.ts
  161. 0 { → src}/app/shared/model/messages/interfaces/query-result-segment.interface.ts
  162. 0 { → src}/app/shared/model/messages/interfaces/query-result-similarty.interface.ts
  163. 0 { → src}/app/shared/model/messages/interfaces/query-result.interface.ts
  164. 0 { → src}/app/shared/model/messages/interfaces/query-start.interface.ts
  165. 0 { → src}/app/shared/model/messages/interfaces/query.interface.ts
  166. 0 { → src}/app/shared/model/messages/message-type.model.ts
  167. 0 { → src}/app/shared/model/messages/metadata-lookup.model.ts
  168. 0 { → src}/app/shared/model/messages/query.model.ts
  169. 0 { → src}/app/shared/model/queries/audio-query-term.model.ts
  170. 0 { → src}/app/shared/model/queries/image-query-term.model.ts
  171. 0 { → src}/app/shared/model/queries/interfaces/query-container.interface.ts
  172. 0 { → src}/app/shared/model/queries/interfaces/query-term.interface.ts
  173. +1 −1 { → src}/app/shared/model/queries/m3d-query-term.model.ts
  174. 0 { → src}/app/shared/model/queries/query-container.model.ts
  175. 0 { → src}/app/shared/util/TimeFormatterUtil.ts
  176. 0 { → src}/app/shared/util/WaveAudioUtil.ts
  177. +9 −1 { → src}/app/shared/util/m3d-file-loader.util.ts
  178. 0 { → src}/app/toolbar/ping.component.ts
  179. 0 fonts/roboto/Roboto-Black.ttf → src/assets/.gitkeep
  180. BIN { → src/assets}/fonts/material-icons/MaterialIcons-Regular.eot
  181. 0 { → src/assets}/fonts/material-icons/MaterialIcons-Regular.ijmap
  182. 0 { → src/assets}/fonts/material-icons/MaterialIcons-Regular.svg
  183. BIN { → src/assets}/fonts/material-icons/MaterialIcons-Regular.ttf
  184. BIN { → src/assets}/fonts/material-icons/MaterialIcons-Regular.woff
  185. BIN { → src/assets}/fonts/material-icons/MaterialIcons-Regular.woff2
  186. +202 −0 src/assets/fonts/roboto/LICENSE.txt
  187. 0 fonts/roboto/Roboto-BlackItalic.ttf → src/assets/fonts/roboto/Roboto-Black.ttf
  188. 0 fonts/roboto/Roboto-Bold.ttf → src/assets/fonts/roboto/Roboto-BlackItalic.ttf
  189. 0 fonts/roboto/Roboto-BoldItalic.ttf → src/assets/fonts/roboto/Roboto-Bold.ttf
  190. 0 fonts/roboto/Roboto-Italic.ttf → src/assets/fonts/roboto/Roboto-BoldItalic.ttf
  191. 0 fonts/roboto/Roboto-Light.ttf → src/assets/fonts/roboto/Roboto-Italic.ttf
  192. 0 fonts/roboto/Roboto-LightItalic.ttf → src/assets/fonts/roboto/Roboto-Light.ttf
  193. 0 fonts/roboto/Roboto-Medium.ttf → src/assets/fonts/roboto/Roboto-LightItalic.ttf
  194. 0 fonts/roboto/Roboto-MediumItalic.ttf → src/assets/fonts/roboto/Roboto-Medium.ttf
  195. 0 fonts/roboto/Roboto-Regular.ttf → src/assets/fonts/roboto/Roboto-MediumItalic.ttf
  196. 0 fonts/roboto/Roboto-Thin.ttf → src/assets/fonts/roboto/Roboto-Regular.ttf
  197. 0 fonts/roboto/Roboto-ThinItalic.ttf → src/assets/fonts/roboto/Roboto-Thin.ttf
  198. 0 src/assets/fonts/roboto/Roboto-ThinItalic.ttf
  199. +3 −0 src/environments/environment.prod.ts
  200. +8 −0 src/environments/environment.ts
  201. BIN { → src}/favicon.ico
  202. +14 −0 src/index.html
  203. +11 −0 src/main.ts
  204. +4 −4 {scss → src}/material-icons.scss
  205. +68 −0 src/polyfills.ts
  206. +3 −3 {scss → src}/roboto-font.scss
  207. +6 −6 scss/vitrivr-style.css → src/styles.css
  208. +4 −4 scss/vitrivr-style.css.map → src/styles.css.map
  209. +3 −3 scss/vitrivr-style.scss → src/styles.scss
  210. +32 −0 src/test.ts
  211. +13 −0 src/tsconfig.app.json
  212. +20 −0 src/tsconfig.spec.json
  213. +5 −0 src/typings.d.ts
  214. +5 −5 {scss → src}/vitrivr-theme.css
  215. 0 {scss → src}/vitrivr-theme.scss
  216. +0 −12 systemjs.config.extras.js
  217. +0 −49 systemjs.config.js
  218. +0 −15 tests/e2e/app.e2e-spec.ts
  219. +0 −95 tests/karma-test-shim.js
  220. +0 −98 tests/karma.conf.js
  221. +0 −183 tests/protractor.config.js
  222. +14 −6 tsconfig.json
  223. +29 −6 tslint.json
@@ -0,0 +1,57 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"project": {
"name": "vitrivr-ng"
},
"apps": [
{
"root": "src",
"outDir": "dist",
"assets": [
"assets",
"favicon.ico"
],
"index": "index.html",
"main": "main.ts",
"polyfills": "polyfills.ts",
"test": "test.ts",
"tsconfig": "tsconfig.app.json",
"testTsconfig": "tsconfig.spec.json",
"prefix": "app",
"styles": [
"styles.css"
],
"scripts": [],
"environmentSource": "environments/environment.ts",
"environments": {
"dev": "environments/environment.ts",
"prod": "environments/environment.prod.ts"
}
}
],
"e2e": {
"protractor": {
"config": "./protractor.conf.js"
}
},
"lint": [
{
"project": "src/tsconfig.app.json"
},
{
"project": "src/tsconfig.spec.json"
},
{
"project": "e2e/tsconfig.e2e.json"
}
],
"test": {
"karma": {
"config": "./karma.conf.js"
}
},
"defaults": {
"styleExt": "css",
"component": {}
}
}
21 LICENSE

This file was deleted.

Oops, something went wrong.
29 README.md 100755 → 100644
@@ -1,3 +1,28 @@
# Vitrivr NG
# VitrivrNg

To be continued
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.0.0.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive/pipe/service/class/module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
Before running the tests make sure you are serving the app via `ng serve`.

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1,14 @@
import { VitrivrNgPage } from './app.po';

describe('vitrivr-ng App', () => {
let page: VitrivrNgPage;

beforeEach(() => {
page = new VitrivrNgPage();
});

it('should display message saying app works', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('app works!');
});
});

This comment has been minimized.

Copy link
@lucaro

lucaro Apr 3, 2017

Member

The whole e2e part is probably irrelevant here...

@@ -0,0 +1,11 @@
import { browser, element, by } from 'protractor';

export class VitrivrNgPage {
navigateTo() {
return browser.get('/');
}

getParagraphText() {
return element(by.css('app-root h1')).getText();
}
}
Oops, something went wrong.

0 comments on commit 60d295e

Please sign in to comment.
You can’t perform that action at this time.