diff --git a/.editorconfig b/.editorconfig old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 index 98d6d5f..61a69ad --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,9 @@ .idea +*.swp +*.zip .vscode temp *.log .DS_Store webhook/hooks.json +local_settings.py diff --git a/.travis.yml b/.travis.yml index 1eaa711..f4fd599 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,52 +1,60 @@ sudo: required language: node_js node_js: - - "8" +- '8' services: - - docker +- docker cache: directories: - - src/angular_frontend/node_modules + - src/angular_frontend/node_modules addons: ssh_known_hosts: - - 146.185.181.250 - - fg@fgbeta.samfundet.no - + - 146.185.181.250 + - fg@fgbeta.samfundet.no jobs: include: - - stage: test django - env: - - DOCKER_COMPOSE_VERSION=1.18.0 - install: - - docker -v - - sudo rm /usr/local/bin/docker-compose - - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname - -s`-`uname -m` > docker-compose - - chmod +x docker-compose - - sudo mv docker-compose /usr/local/bin - - docker-compose -f docker-compose.yml -f docker-compose.override.yml -f docker-compose.travis.yml - down - - docker-compose -f docker-compose.yml -f docker-compose.override.yml -f docker-compose.travis.yml - build - - docker-compose -f docker-compose.yml -f docker-compose.override.yml -f docker-compose.travis.yml - up -d - - docker-compose -f docker-compose.yml -f docker-compose.override.yml -f docker-compose.travis.yml - ps - script: - - sleep 5 - - bash django-tests.sh - - stage: test angular - install: - - npm install -g @angular/cli@1.6.3 - - cd src/angular_frontend && npm install - script: - - ng lint - - ng build --prod - # - rsync -r dist/* fg@fgbeta.samfundet.no:./fg/src/angular_frontend/dist - + - stage: test + env: + - DOCKER_COMPOSE_VERSION=1.18.0 + install: + - docker -v + - sudo rm /usr/local/bin/docker-compose + - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname + -s`-`uname -m` > docker-compose + - chmod +x docker-compose + - sudo mv docker-compose /usr/local/bin + - docker-compose -f docker-compose.yml -f docker-compose.override.yml -f docker-compose.travis.yml + down + - docker-compose -f docker-compose.yml -f docker-compose.override.yml -f docker-compose.travis.yml + build + - docker-compose -f docker-compose.yml -f docker-compose.override.yml -f docker-compose.travis.yml + up -d + - docker-compose -f docker-compose.yml -f docker-compose.override.yml -f docker-compose.travis.yml + ps + - npm install -g @angular/cli@1.6.3 + - cd src/angular_frontend && npm install + - ng build --prod + - zip -r app.zip dist/ + - cd ../.. + script: + - sleep 5 + - bash django-tests.sh +before_deploy: +- git config --local user.name "pernilak" +- git config --local user.email "peklevstuen@gmail.com" +- export TRAVIS_TAG=${TRAVIS_TAG:-$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)} +- git tag $TRAVIS_TAG +deploy: + provider: releases + skip_cleanup: true + api_key: + secure: WdqLe1PMUiDME6LTqk49R7spAQQPlrJI1Ic4eSn/EcEe8/Qn6I11WWWG84oyarxqmhWhPyYkTYV+HzP4pApw/MRNC47mitcjihijoSkvM22kVp3UQI6TS6reO0CI7VxGJGGHTO2ItJplvHqiqLUNf7sYX05X270c/bxmHDL/3pIF8iRIPyBxbky5ABVdVp54nUOsY/6n6FqLfdI73uHV1IdVhOEPWPb1Jo/wycmQG1917oiysmHBQWAH9x6wbAlpYNBdmhA4RUcxs2u+WRV8E9VaxOMM5W04sTCVJ5MiRGEb39DQtF64sOcu8sFCY5CkBNxXCwERsrtb2SNaq6GgtqCe+x/RjRQfTAR9eg4pHyFG3lnY7FTmdbkPZ0x1gWBTPZvr2G9rYGjY8fnavLP9pP+WmVjX77n2djr0oYHEyX/K83lLSryKT10E3QPfsPL/l3eu83mXd+DEJa6m8YN0qi7bARNVGxjvM1J/CJoTfTGRk/4C+iTrrjSc9ExCNhBpRSgk5e8TNOJJl/bW1+VZR8ihVEZS+DepFcCoAu+I93Kga2STSF/Y/+AgT/F0PY6wIR7IjIkg5o0+j3xXWtX76bcYkPI/7N5YmJ4jqM8HvTF6x8xMFKFbDc4m4PKXkzhnpsfjxEAmsTEsSc8D+sqDzRMl9e2bg6opt+o9zXyL3xk= + file: src/angular_frontend/app.zip + on: + repo: Fotogjengen/fg + branch: master notifications: slack: - rooms: - - secure: "CTQ8MVYEolu/J1jlpNYyaF4HkoFTr6JfCPk0BEMfANcE79CybG/5GAvvusVuD9s1dbFsat9TAH9Ra5fWLevQFr8qvM6oDbMqACFYVj6lEAXzdg/6jUdwb7oA4bdbS5V4zw3d7BS33hH9Uspi0r/SV4ee3CwAWcgsfeFfuViaRj7QKXJwk4XMFltO6yMK6aSK1wO/l3Mt6iu2e1gSgmQsgk6GGrwGiNu4yEHjoCArytOVQo+PvYwAqjnXcEEWEqm0YPM74E9xy8vsXcx2N+c9UhEatDFUD288yNezHtXhITz2lZooJ7SxzGDN7tC4Zg3rGGrqBfXYTH6KSr/zC4V9QpPLtAr7Sifq15hWiRamLcAPIiSVI6H1HtLeA9oPjM+HjiwDfpod1OUgnonHp6IHATPpcnGIslkav9FzhJaLPSAnbd+A6TUaLVD5cy4263mNbYI3TMrmjkxesnEeL8NUjVyo2Pq67fdtkt6H+Bc4fIfbWXKnraa1eoxWUBqjWf06016f7uGxXI3/YXcjW9rcTAzvIPjo9i9Pc8xPZD3nN1IfIThscA07rlXq/knDJmpzmdINkpAhMcMkMd+O+VjD0KbkG2dlm84CbMOfI7ZGjxCa+3q4NCSjrHx06vJoJkNyx5SPFvFjR5JmBwGqupmJ+d4dQVl4DiS/Yj+RvFZcdDA=" - on_failure: always - on_success: always + secure: YlcczsJzqvtxcLnrELRX1RLbMjKkxYrhf4y7yBPqwzXaWzzmUML8K1RWqCA94tD66IRCK5GOZoE4qZb7RMDt7o1fN9Qn19wbbEbJkGmookFF8eindslBxyxKW9195Mxk0ZGpEuItfwoE3Le3KPg/kXAODoQPnYoHMi89tCOnzqzryKhmyhq+6qJ8tnIIEuNoQ3kHwoudWmRHAVB3CC9vJW3RRrTSCtis+t9lcgqmt2mouAFCXEwjFxzD+KwUOPqqdjMeZZh4V8g7Z4piS5WpyLqvNmJrKelURxI3sW/CBUFp0WLpjvdOsaYsIYntlsqbCAe/NoTFO0MDK4lMfJRv/XB66+Ou8WltJQC6ygj4ulrDeJTBAxMmy28zojvoZp7BBKpYjQNiZ3G9rL6FkOuJhM+C9jbzrony+DDNcOJvkJogs4X6rJyPO2ekNWQWoEagwOkCn0LGO1b7LkEi15DgeHPae9nKtldCi0jsWdcb3Y6yP7Ot0HTyT5z4mPb8jEThHHjuMnFVeaobwLiNcamK00Y0AuQXgolvEWOyIfjGP1qPKI7W9oJrtQ/EyumGvINGLs4OMjAVX4uCxmg+9iOvDXkP5h2AmKc0sjbND7uznvktVKay88oOiFUW/XXXEOYkUw6HfxNzVkZKlqzf+6HxamIi5QgZdS5UqXZvmSmeLv8= + + diff --git a/README.md b/README.md old mode 100644 new mode 100755 index 2d81009..8977a00 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ # Setup for Windows users 1. See steps 1, 2, 3 and 4 below -2. Run ´docker-compose up -d --build` (´-d´ is for detached mode, sometimes you want to see logs and can remove this) +2. Run `docker-compose up -d --build` (`-d` is for detached mode, sometimes you want to see logs and can remove this) 3. To seed the dev database with fake data run: ``` docker exec -u=postgres postgres sh /scripts/drop_and_recreate_database.sh diff --git a/deploy_script.sh b/deploy_script.sh old mode 100644 new mode 100755 diff --git a/development.sh b/development.sh old mode 100644 new mode 100755 diff --git a/django-tests.sh b/django-tests.sh old mode 100644 new mode 100755 diff --git a/docker-compose.override.yml b/docker-compose.override.yml index 43fab38..a4df4da 100644 --- a/docker-compose.override.yml +++ b/docker-compose.override.yml @@ -10,6 +10,8 @@ services: environment: - DEVELOPMENT=true - POSTGRES_DB=fg_dev_db + - LD_LIBRARY_PATH=/usr/local/lib + - HTTP_REMOTE_USER=sjsivert@ad.samfundet.no volumes: - ./src/angular_frontend:/static/angular diff --git a/docker-compose.travis.yml b/docker-compose.travis.yml old mode 100644 new mode 100755 diff --git a/docker-compose.yml b/docker-compose.yml old mode 100644 new mode 100755 diff --git a/docs/new_arch_diagram.png b/docs/new_arch_diagram.png old mode 100644 new mode 100755 diff --git a/droprecreatedb.sh b/droprecreatedb.sh old mode 100644 new mode 100755 diff --git a/insert_old_db.sh b/insert_old_db.sh old mode 100644 new mode 100755 diff --git a/nginx/Dockerfile b/nginx/Dockerfile old mode 100644 new mode 100755 index c7bf5bb..0580b2a --- a/nginx/Dockerfile +++ b/nginx/Dockerfile @@ -1,21 +1,4 @@ -# Stage 1 -FROM node:9-alpine as build-deps -RUN npm i @angular/cli@1.6.3 node-sass@4.9.3 -g --unsafe-perm - -WORKDIR /src - -# Copy files defining dependency first -COPY src/angular_frontend/package.json . -COPY src/angular_frontend/package-lock.json . -RUN npm i && npm rebuild node-sass - -# Then copy over the rest of directory and build -COPY src/angular_frontend/ . -RUN ng build - -# Stage 2 FROM nginx:1.15.0 COPY nginx/nginx.conf /etc/nginx/nginx.conf COPY nginx/default.conf /etc/nginx/conf.d/default.conf -COPY --from=build-deps /src/dist /static/angular/dist diff --git a/nginx/default.conf b/nginx/default.conf index a7469e4..7bde8ab 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -30,6 +30,7 @@ server { uwsgi_param X-Real-IP $remote_addr; uwsgi_param X-Forwarded-For $proxy_add_x_forwarded_for; uwsgi_param X-Forwarded-Proto $http_x_forwarded_proto; + uwsgi_param HTTP_REMOTE_USER sjsivert@; } # hidden folders should never be accessible (.git, .vscode etc.) diff --git a/postgres/.gitignore b/postgres/.gitignore old mode 100644 new mode 100755 diff --git a/postgres/scripts/drop_and_recreate_database.sh b/postgres/scripts/drop_and_recreate_database.sh old mode 100644 new mode 100755 diff --git a/postgres/scripts/restore_old_db_from_dump.sh b/postgres/scripts/restore_old_db_from_dump.sh old mode 100644 new mode 100755 index 87a966e..0a58eb7 --- a/postgres/scripts/restore_old_db_from_dump.sh +++ b/postgres/scripts/restore_old_db_from_dump.sh @@ -1,3 +1,4 @@ +#!/usr/bin/env bash dropdb --if-exists 'old_fg' createdb -U postgres -T template0 old_fg psql -U postgres -d old_fg -f /data/dump.sql diff --git a/remove-containers-volumes.sh b/remove-containers-volumes.sh old mode 100644 new mode 100755 diff --git a/src/django_backend/itkacl/__init__.py b/src/__init__.py old mode 100644 new mode 100755 similarity index 100% rename from src/django_backend/itkacl/__init__.py rename to src/__init__.py diff --git a/src/angular_frontend/.angulardoc.json b/src/angular_frontend/.angulardoc.json old mode 100644 new mode 100755 diff --git a/src/angular_frontend/.dockerignore b/src/angular_frontend/.dockerignore old mode 100644 new mode 100755 diff --git a/src/angular_frontend/.editorconfig b/src/angular_frontend/.editorconfig old mode 100644 new mode 100755 diff --git a/src/angular_frontend/.gitignore b/src/angular_frontend/.gitignore old mode 100644 new mode 100755 diff --git a/src/angular_frontend/README.md b/src/angular_frontend/README.md old mode 100644 new mode 100755 diff --git a/src/angular_frontend/angular.json b/src/angular_frontend/angular.json old mode 100644 new mode 100755 diff --git a/src/angular_frontend/e2e/app.e2e-spec.ts b/src/angular_frontend/e2e/app.e2e-spec.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/e2e/app.po.ts b/src/angular_frontend/e2e/app.po.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/e2e/tsconfig.e2e.json b/src/angular_frontend/e2e/tsconfig.e2e.json old mode 100644 new mode 100755 diff --git a/src/angular_frontend/karma.conf.js b/src/angular_frontend/karma.conf.js old mode 100644 new mode 100755 diff --git a/src/angular_frontend/package-lock.json b/src/angular_frontend/package-lock.json old mode 100644 new mode 100755 index 559ac4c..78c8e4a --- a/src/angular_frontend/package-lock.json +++ b/src/angular_frontend/package-lock.json @@ -1592,7 +1592,7 @@ "adm-zip": { "version": "0.4.11", "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.4.11.tgz", - "integrity": "sha512-L8vcjDTCOIJk7wFvmlEUN7AsSb8T+2JrdP7KINBjzr24TJ5Mwj590sLu3BC7zNZowvJWa/JtPmD8eJCzdtDWjA==", + "integrity": "sha1-KqVMhMSwGp0PuJuxGYKlHxPj1io=", "dev": true }, "after": { @@ -1638,6 +1638,7 @@ "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", "dev": true, + "optional": true, "requires": { "kind-of": "^3.0.2", "longest": "^1.0.1", @@ -1649,6 +1650,7 @@ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, + "optional": true, "requires": { "is-buffer": "^1.1.5" } @@ -2446,7 +2448,7 @@ "buffer-alloc": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz", - "integrity": "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==", + "integrity": "sha1-iQ3ZDZI6hz4I4Q5f1RpX5bfM4Ow=", "dev": true, "requires": { "buffer-alloc-unsafe": "^1.1.0", @@ -2456,7 +2458,7 @@ "buffer-alloc-unsafe": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz", - "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==", + "integrity": "sha1-vX3CauKXLQ7aJTvgYdupkjScGfA=", "dev": true }, "buffer-fill": { @@ -4120,8 +4122,7 @@ "entities": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.1.tgz", - "integrity": "sha1-blwtClYhtdra7O+AuQ7ftc13cvA=", - "dev": true + "integrity": "sha1-blwtClYhtdra7O+AuQ7ftc13cvA=" }, "errlop": { "version": "1.0.3", @@ -5006,7 +5007,8 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", - "dev": true + "dev": true, + "optional": true }, "aproba": { "version": "1.2.0", @@ -5471,7 +5473,8 @@ "version": "5.1.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==", - "dev": true + "dev": true, + "optional": true }, "safer-buffer": { "version": "2.1.2", @@ -5535,6 +5538,7 @@ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "dev": true, + "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -5583,13 +5587,15 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true + "dev": true, + "optional": true }, "yallist": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.2.tgz", "integrity": "sha1-hFK0u36Dx8GI2AQcGoN8dz1ti7k=", - "dev": true + "dev": true, + "optional": true } } }, @@ -6397,7 +6403,7 @@ "ini": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", - "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", + "integrity": "sha1-7uJfVtscnsYIXgwid4CD9Zar+Sc=", "dev": true }, "inside": { @@ -6758,7 +6764,7 @@ "isbinaryfile": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-3.0.3.tgz", - "integrity": "sha512-8cJBL5tTd2OS0dM4jz07wQd5g0dCCqIhUxPIGtZfa5L6hWlvV5MHTITy/DBAsF+Oe2LS1X3krBUhNwaGUWpWxw==", + "integrity": "sha1-XW3vPt6/boyoyunDAYOoBLX4voA=", "dev": true, "requires": { "buffer-alloc": "^1.2.0" @@ -7667,7 +7673,8 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=", - "dev": true + "dev": true, + "optional": true }, "loose-envify": { "version": "1.4.0", @@ -9294,7 +9301,7 @@ "qjobs": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/qjobs/-/qjobs-1.2.0.tgz", - "integrity": "sha512-8YOJEHtxpySA3fFDyCRxA+UUV+fA+rTWnuWvylOK/NCjhY+b4ocCtmu8TtsWb+mYeU+GCHf/S66KZF/AsteKHg==", + "integrity": "sha1-xF6cYYAL0IfviNfiVkI73Unl0HE=", "dev": true }, "qs": { @@ -9709,6 +9716,15 @@ "inherits": "^2.0.1" } }, + "rss-parser": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/rss-parser/-/rss-parser-3.6.2.tgz", + "integrity": "sha512-xXaMG7Zsj2+t16X+mysd419TpD2UQZifXwTo6Ks9GnUgF8GezPb3LVnh8BuCRm9V9Ty2gC0FRSvBJi8Ks2lfpg==", + "requires": { + "entities": "^1.1.1", + "xml2js": "^0.4.19" + } + }, "run-queue": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz", @@ -9805,8 +9821,7 @@ "sax": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", - "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", - "dev": true + "integrity": "sha1-KBYjTiN4vdxOU1T6tcqold9xANk=" }, "scandirectory": { "version": "2.5.0", @@ -10404,7 +10419,7 @@ "source-map-support": { "version": "0.4.18", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", - "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", + "integrity": "sha1-Aoam3ovkJkEzhZTpfM6nXwosWF8=", "dev": true, "requires": { "source-map": "^0.5.6" @@ -11171,26 +11186,60 @@ "integrity": "sha1-1+TdeSRdhUKMTX5IIqeZF5VMooY=" }, "tslint": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/tslint/-/tslint-5.3.2.tgz", - "integrity": "sha1-5WRZ+wlacwfxA7hAUhdPXju+9u0=", + "version": "5.11.0", + "resolved": "https://registry.npmjs.org/tslint/-/tslint-5.11.0.tgz", + "integrity": "sha1-mPMMAurjzecAYgHkwzywi0hYHu0=", "dev": true, "requires": { "babel-code-frame": "^6.22.0", - "colors": "^1.1.2", + "builtin-modules": "^1.1.1", + "chalk": "^2.3.0", + "commander": "^2.12.1", "diff": "^3.2.0", "glob": "^7.1.1", - "optimist": "~0.6.0", + "js-yaml": "^3.7.0", + "minimatch": "^3.0.4", "resolve": "^1.3.2", "semver": "^5.3.0", - "tslib": "^1.6.0", - "tsutils": "^2.0.0" + "tslib": "^1.8.0", + "tsutils": "^2.27.2" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } } }, "tsutils": { "version": "2.29.0", "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.29.0.tgz", - "integrity": "sha1-MrSIUBRnrL7dS4VJhnOggSrKC5k=", + "integrity": "sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA==", "dev": true, "requires": { "tslib": "^1.8.1" @@ -12329,8 +12378,7 @@ "xml2js": { "version": "0.4.19", "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.19.tgz", - "integrity": "sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q==", - "dev": true, + "integrity": "sha1-aGwg8hMgnpSr8NG88e+qKRx4J6c=", "requires": { "sax": ">=0.6.0", "xmlbuilder": "~9.0.1" @@ -12339,8 +12387,7 @@ "xmlbuilder": { "version": "9.0.7", "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz", - "integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=", - "dev": true + "integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=" }, "xmlhttprequest": { "version": "1.8.0", diff --git a/src/angular_frontend/package.json b/src/angular_frontend/package.json old mode 100644 new mode 100755 index af2ad58..c74daf6 --- a/src/angular_frontend/package.json +++ b/src/angular_frontend/package.json @@ -48,6 +48,7 @@ "ngx-toastr": "^8.1.0", "node-sass": "^4.9.3", "normalize.css": "^7.0.0", + "rss-parser": "^3.6.2", "rxjs": "^5.5.6", "zone.js": "^0.8.19" }, @@ -75,7 +76,7 @@ "karma-jasmine-html-reporter": "^0.2.2", "protractor": "^5.4.1", "ts-node": "^4.1.0", - "tslint": "^5.5", + "tslint": "^5.11", "typescript": "2.5.x" } } diff --git a/src/angular_frontend/protractor.conf.js b/src/angular_frontend/protractor.conf.js old mode 100644 new mode 100755 diff --git a/src/angular_frontend/proxy.conf.json b/src/angular_frontend/proxy.conf.json old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/app-routing.module.ts b/src/angular_frontend/src/app/app-routing.module.ts old mode 100644 new mode 100755 index d74e22e..96ffb9d --- a/src/angular_frontend/src/app/app-routing.module.ts +++ b/src/angular_frontend/src/app/app-routing.module.ts @@ -40,7 +40,7 @@ const routes: Routes = [ { path: '', redirectTo: '/forside', - pathMatch: 'full' + pathMatch: 'full', }, { path: 'forside', @@ -175,7 +175,9 @@ const routes: Routes = [ ]; @NgModule({ - imports: [RouterModule.forRoot(routes)], + imports: [RouterModule.forRoot(routes, { + useHash: true + })], exports: [RouterModule] }) export class AppRoutingModule { } diff --git a/src/angular_frontend/src/app/app.component.html b/src/angular_frontend/src/app/app.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/app.component.scss b/src/angular_frontend/src/app/app.component.scss old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/app.component.spec.ts b/src/angular_frontend/src/app/app.component.spec.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/app.component.ts b/src/angular_frontend/src/app/app.component.ts old mode 100644 new mode 100755 index 3bb10c2..21f6526 --- a/src/angular_frontend/src/app/app.component.ts +++ b/src/angular_frontend/src/app/app.component.ts @@ -1,5 +1,6 @@ import { Component, ViewEncapsulation } from '@angular/core'; import { StoreService } from 'app/services/store.service'; +import {DownloadService} from './services/download.service'; @Component({ selector: 'fg-root', diff --git a/src/angular_frontend/src/app/app.module.ts b/src/angular_frontend/src/app/app.module.ts old mode 100644 new mode 100755 index c8c48ed..f1d5761 --- a/src/angular_frontend/src/app/app.module.ts +++ b/src/angular_frontend/src/app/app.module.ts @@ -21,6 +21,7 @@ import {AppComponent} from './app.component'; import {ApiService} from './services/api.service'; import {StoreService} from './services/store.service'; +import {DownloadService} from './services/download.service'; import {AuthGuardService} from './services/auth-guard.service'; import {OutAuthInterceptor} from './services/interceptor.service'; import {MegabytePipe} from 'app/pipes/pipes.pipe'; @@ -78,6 +79,7 @@ import { BarchartComponent, PaginatorComponent } from 'app/utils'; +import {RssService} from './services'; @NgModule({ declarations: [ @@ -170,7 +172,9 @@ import { }, ApiService, StoreService, - AuthGuardService + AuthGuardService, + DownloadService, + RssService ], bootstrap: [AppComponent], }) diff --git a/src/angular_frontend/src/app/components/apply-fg/apply-fg.component.html b/src/angular_frontend/src/app/components/apply-fg/apply-fg.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/apply-fg/apply-fg.component.scss b/src/angular_frontend/src/app/components/apply-fg/apply-fg.component.scss old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/apply-fg/apply-fg.component.spec.ts b/src/angular_frontend/src/app/components/apply-fg/apply-fg.component.spec.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/apply-fg/apply-fg.component.ts b/src/angular_frontend/src/app/components/apply-fg/apply-fg.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/banner/banner.component.scss b/src/angular_frontend/src/app/components/banner/banner.component.scss old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/banner/banner.component.spec.ts b/src/angular_frontend/src/app/components/banner/banner.component.spec.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/banner/banner.component.ts b/src/angular_frontend/src/app/components/banner/banner.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/book-fg/book-fg.component.html b/src/angular_frontend/src/app/components/book-fg/book-fg.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/book-fg/book-fg.component.scss b/src/angular_frontend/src/app/components/book-fg/book-fg.component.scss old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/book-fg/book-fg.component.spec.ts b/src/angular_frontend/src/app/components/book-fg/book-fg.component.spec.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/book-fg/book-fg.component.ts b/src/angular_frontend/src/app/components/book-fg/book-fg.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/credit/credit.component.html b/src/angular_frontend/src/app/components/credit/credit.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/credit/credit.component.scss b/src/angular_frontend/src/app/components/credit/credit.component.scss old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/credit/credit.component.spec.ts b/src/angular_frontend/src/app/components/credit/credit.component.spec.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/credit/credit.component.ts b/src/angular_frontend/src/app/components/credit/credit.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/faq/faq.component.html b/src/angular_frontend/src/app/components/faq/faq.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/faq/faq.component.scss b/src/angular_frontend/src/app/components/faq/faq.component.scss old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/faq/faq.component.spec.ts b/src/angular_frontend/src/app/components/faq/faq.component.spec.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/faq/faq.component.ts b/src/angular_frontend/src/app/components/faq/faq.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/footer/footer.component.html b/src/angular_frontend/src/app/components/footer/footer.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/footer/footer.component.scss b/src/angular_frontend/src/app/components/footer/footer.component.scss old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/footer/footer.component.spec.ts b/src/angular_frontend/src/app/components/footer/footer.component.spec.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/footer/footer.component.ts b/src/angular_frontend/src/app/components/footer/footer.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/gallery/gallery.component.html b/src/angular_frontend/src/app/components/gallery/gallery.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/gallery/gallery.component.scss b/src/angular_frontend/src/app/components/gallery/gallery.component.scss old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/gallery/gallery.component.spec.ts b/src/angular_frontend/src/app/components/gallery/gallery.component.spec.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/gallery/gallery.component.ts b/src/angular_frontend/src/app/components/gallery/gallery.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/history/history.component.html b/src/angular_frontend/src/app/components/history/history.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/history/history.component.scss b/src/angular_frontend/src/app/components/history/history.component.scss old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/history/history.component.spec.ts b/src/angular_frontend/src/app/components/history/history.component.spec.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/history/history.component.ts b/src/angular_frontend/src/app/components/history/history.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/index.ts b/src/angular_frontend/src/app/components/index.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/info/info.component.html b/src/angular_frontend/src/app/components/info/info.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/info/info.component.scss b/src/angular_frontend/src/app/components/info/info.component.scss old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/info/info.component.spec.ts b/src/angular_frontend/src/app/components/info/info.component.spec.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/info/info.component.ts b/src/angular_frontend/src/app/components/info/info.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/analog-upload/analog-upload.component.html b/src/angular_frontend/src/app/components/intern/analog-upload/analog-upload.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/analog-upload/analog-upload.component.scss b/src/angular_frontend/src/app/components/intern/analog-upload/analog-upload.component.scss old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/analog-upload/analog-upload.component.ts b/src/angular_frontend/src/app/components/intern/analog-upload/analog-upload.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/analog-upload/register-film/register-film.component.html b/src/angular_frontend/src/app/components/intern/analog-upload/register-film/register-film.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/analog-upload/register-film/register-film.component.scss b/src/angular_frontend/src/app/components/intern/analog-upload/register-film/register-film.component.scss old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/analog-upload/register-film/register-film.component.ts b/src/angular_frontend/src/app/components/intern/analog-upload/register-film/register-film.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/analog-upload/upload-scanned/upload-scanned.component.html b/src/angular_frontend/src/app/components/intern/analog-upload/upload-scanned/upload-scanned.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/analog-upload/upload-scanned/upload-scanned.component.scss b/src/angular_frontend/src/app/components/intern/analog-upload/upload-scanned/upload-scanned.component.scss old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/analog-upload/upload-scanned/upload-scanned.component.ts b/src/angular_frontend/src/app/components/intern/analog-upload/upload-scanned/upload-scanned.component.ts old mode 100644 new mode 100755 index 25d8b43..8d92b04 --- a/src/angular_frontend/src/app/components/intern/analog-upload/upload-scanned/upload-scanned.component.ts +++ b/src/angular_frontend/src/app/components/intern/analog-upload/upload-scanned/upload-scanned.component.ts @@ -1,9 +1,10 @@ -import { Component, OnInit } from '@angular/core'; -import { FormControl, FormGroup, FormBuilder, Validators } from '@angular/forms'; -import { StoreService, ApiService } from 'app/services'; -import { IForeignKey, ILatestImageAndPage, PartialPhoto, IPhoto, IResponse } from 'app/model'; -import { FileUploader, FileUploaderOptions, FileItem } from 'angular-file'; -import { ToastrService } from 'ngx-toastr'; +import {Component, OnInit} from '@angular/core'; +import {FormControl, FormGroup, FormBuilder, Validators} from '@angular/forms'; +import {StoreService, ApiService} from 'app/services'; +import {IForeignKey, ILatestImageAndPage, PartialPhoto, IPhoto, IResponse} from 'app/model'; +import {FileUploader, FileUploaderOptions, FileItem} from 'angular-file'; +import {ToastrService} from 'ngx-toastr'; +import {RssService} from '../../../../services/rss.service'; @Component({ @@ -21,7 +22,12 @@ export class UploadScannedComponent implements OnInit { validComboDrag = false; invalidComboDrag = false; - constructor(private store: StoreService, private api: ApiService, private fb: FormBuilder, private toastr: ToastrService) { + constructor( + private store: StoreService, + private api: ApiService, + private fb: FormBuilder, + private toastr: ToastrService, + ) { this.albums = store.getFilteredAlbumsAction('ANA'); } @@ -51,12 +57,12 @@ export class UploadScannedComponent implements OnInit { item.progress = 20; console.log(this.getFormValue(item).value['photo']); this.api.uploadScannedPhoto(this.getFormValue(item).value, id).subscribe(event => { - // console.log('Completed: ' + item._file.name); - item.progress = 100; - item.isUploaded = true; - item.isUploading = false; - item.isSuccess = true; - }, + // console.log('Completed: ' + item._file.name); + item.progress = 100; + item.isUploaded = true; + item.isUploading = false; + item.isSuccess = true; + }, error => { item.isError = true; item.isUploading = false; @@ -66,6 +72,7 @@ export class UploadScannedComponent implements OnInit { } /* && this.uploadForm.value['photo_ids'].split(',').length === this.uploader.queue.length */ + /* upload() { if (this.uploadForm.valid) { this.store.getAnalogNotScannedIdsAction( diff --git a/src/angular_frontend/src/app/components/intern/archive-admin/album/album.component.html b/src/angular_frontend/src/app/components/intern/archive-admin/album/album.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/archive-admin/album/album.component.ts b/src/angular_frontend/src/app/components/intern/archive-admin/album/album.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/archive-admin/archive-admin.component.html b/src/angular_frontend/src/app/components/intern/archive-admin/archive-admin.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/archive-admin/archive-admin.component.scss b/src/angular_frontend/src/app/components/intern/archive-admin/archive-admin.component.scss old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/archive-admin/archive-admin.component.spec.ts b/src/angular_frontend/src/app/components/intern/archive-admin/archive-admin.component.spec.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/archive-admin/archive-admin.component.ts b/src/angular_frontend/src/app/components/intern/archive-admin/archive-admin.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/archive-admin/category/category.component.html b/src/angular_frontend/src/app/components/intern/archive-admin/category/category.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/archive-admin/category/category.component.ts b/src/angular_frontend/src/app/components/intern/archive-admin/category/category.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/archive-admin/foreign-key-modal/foreign-key-modal.component.html b/src/angular_frontend/src/app/components/intern/archive-admin/foreign-key-modal/foreign-key-modal.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/archive-admin/foreign-key-modal/foreign-key-modal.component.scss b/src/angular_frontend/src/app/components/intern/archive-admin/foreign-key-modal/foreign-key-modal.component.scss old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/archive-admin/foreign-key-modal/foreign-key-modal.component.ts b/src/angular_frontend/src/app/components/intern/archive-admin/foreign-key-modal/foreign-key-modal.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/archive-admin/media/media.component.html b/src/angular_frontend/src/app/components/intern/archive-admin/media/media.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/archive-admin/media/media.component.ts b/src/angular_frontend/src/app/components/intern/archive-admin/media/media.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/archive-admin/place/place.component.html b/src/angular_frontend/src/app/components/intern/archive-admin/place/place.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/archive-admin/place/place.component.ts b/src/angular_frontend/src/app/components/intern/archive-admin/place/place.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/archive-admin/statistics/statistics.component.html b/src/angular_frontend/src/app/components/intern/archive-admin/statistics/statistics.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/archive-admin/statistics/statistics.component.scss b/src/angular_frontend/src/app/components/intern/archive-admin/statistics/statistics.component.scss old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/archive-admin/statistics/statistics.component.ts b/src/angular_frontend/src/app/components/intern/archive-admin/statistics/statistics.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/edit/edit.component.html b/src/angular_frontend/src/app/components/intern/edit/edit.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/edit/edit.component.scss b/src/angular_frontend/src/app/components/intern/edit/edit.component.scss old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/edit/edit.component.spec.ts b/src/angular_frontend/src/app/components/intern/edit/edit.component.spec.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/edit/edit.component.ts b/src/angular_frontend/src/app/components/intern/edit/edit.component.ts old mode 100644 new mode 100755 index a0309aa..cfc1c67 --- a/src/angular_frontend/src/app/components/intern/edit/edit.component.ts +++ b/src/angular_frontend/src/app/components/intern/edit/edit.component.ts @@ -32,6 +32,8 @@ export class EditComponent { route.queryParamMap.subscribe(m => { api.getPhotosFromIds(m.getAll('id')).subscribe(p => { this.photos = p.results; + console.log(m.getAll('id')); + console.log(p); if (this.photos.length > 0) { this.onPhotosRetrieved(this.photos[0]); diff --git a/src/angular_frontend/src/app/components/intern/intern.component.html b/src/angular_frontend/src/app/components/intern/intern.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/intern.component.scss b/src/angular_frontend/src/app/components/intern/intern.component.scss old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/intern.component.spec.ts b/src/angular_frontend/src/app/components/intern/intern.component.spec.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/intern.component.ts b/src/angular_frontend/src/app/components/intern/intern.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/orders/all-orders.component.html b/src/angular_frontend/src/app/components/intern/orders/all-orders.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/orders/new-orders/new-orders.component.ts b/src/angular_frontend/src/app/components/intern/orders/new-orders/new-orders.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/orders/old-orders/old-orders.component.ts b/src/angular_frontend/src/app/components/intern/orders/old-orders/old-orders.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/orders/orders.component.html b/src/angular_frontend/src/app/components/intern/orders/orders.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/orders/orders.component.scss b/src/angular_frontend/src/app/components/intern/orders/orders.component.scss old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/orders/orders.component.ts b/src/angular_frontend/src/app/components/intern/orders/orders.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/photogangbanger/photogangbanger-modal/photogangbanger-modal.component.html b/src/angular_frontend/src/app/components/intern/photogangbanger/photogangbanger-modal/photogangbanger-modal.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/photogangbanger/photogangbanger-modal/photogangbanger-modal.component.scss b/src/angular_frontend/src/app/components/intern/photogangbanger/photogangbanger-modal/photogangbanger-modal.component.scss old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/photogangbanger/photogangbanger-modal/photogangbanger-modal.component.ts b/src/angular_frontend/src/app/components/intern/photogangbanger/photogangbanger-modal/photogangbanger-modal.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/photogangbanger/photogangbanger.component.html b/src/angular_frontend/src/app/components/intern/photogangbanger/photogangbanger.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/photogangbanger/photogangbanger.component.scss b/src/angular_frontend/src/app/components/intern/photogangbanger/photogangbanger.component.scss old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/photogangbanger/photogangbanger.component.ts b/src/angular_frontend/src/app/components/intern/photogangbanger/photogangbanger.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/powerusers/powerusers-modal/powerusers-modal.component.html b/src/angular_frontend/src/app/components/intern/powerusers/powerusers-modal/powerusers-modal.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/powerusers/powerusers-modal/powerusers-modal.component.scss b/src/angular_frontend/src/app/components/intern/powerusers/powerusers-modal/powerusers-modal.component.scss old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/powerusers/powerusers-modal/powerusers-modal.component.ts b/src/angular_frontend/src/app/components/intern/powerusers/powerusers-modal/powerusers-modal.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/powerusers/powerusers.component.html b/src/angular_frontend/src/app/components/intern/powerusers/powerusers.component.html old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/powerusers/powerusers.component.scss b/src/angular_frontend/src/app/components/intern/powerusers/powerusers.component.scss old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/powerusers/powerusers.component.ts b/src/angular_frontend/src/app/components/intern/powerusers/powerusers.component.ts old mode 100644 new mode 100755 diff --git a/src/angular_frontend/src/app/components/intern/search/search.component.html b/src/angular_frontend/src/app/components/intern/search/search.component.html old mode 100644 new mode 100755 index 983a79f..71a3662 --- a/src/angular_frontend/src/app/components/intern/search/search.component.html +++ b/src/angular_frontend/src/app/components/intern/search/search.component.html @@ -1,6 +1,7 @@