Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Release 7.0.0 #78

Merged
34 commits merged into from
Feb 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
130c9a8
prepare next dev branch
dvvanessastoiber Jul 30, 2020
df472c8
Update .gitattributes
rumersdorfer Aug 20, 2020
86b4f3f
Merge pull request #65 from phovea/rumersdorfer-gitattributes_dist
Aug 21, 2020
268d14d
Added load_from_request to security manager
puehringer Sep 9, 2020
a08dc95
Merge pull request #66 from phovea/mp/load_from_request
Sep 10, 2020
6fb0c31
Filter out None security stores
puehringer Sep 25, 2020
5fdddc1
Merge pull request #68 from phovea/mp/67_filter_valid_stores
Sep 25, 2020
4d7f6b4
Split main.scss in multiple scss files
thinkh Nov 6, 2020
fe07b94
Remove SCSS imports in TS files
thinkh Nov 13, 2020
af775cc
Split main.scss in multiple scss files
thinkh Nov 13, 2020
ebdf637
switch branches in package.json
dvvanessastoiber Dec 9, 2020
09e936f
update dependencies
dvvanessastoiber Dec 9, 2020
662e17b
update deprecated config option
dvvanessastoiber Dec 9, 2020
ff666d1
Upgrade to Font Awesome v5
thinkh Dec 15, 2020
51e4002
Merge pull request #71 from phovea/fontawesome-v5
Dec 23, 2020
8058cdb
Merge pull request #72 from phovea/dmoitzi/refactor_stylesheets_organ…
Dec 28, 2020
574352a
use latest version
dvvanessastoiber Jan 7, 2021
c24f471
revert changes
dvvanessastoiber Jan 7, 2021
adf65e2
update requirements and switch branches
dvvanessastoiber Jan 7, 2021
1659991
Merge remote-tracking branch 'origin/develop' into vstoiber/update_de…
dvvanessastoiber Jan 7, 2021
a3eeb83
update .gitignore
dvvanessastoiber Jan 12, 2021
4043be2
update tsconfig.json
dvvanessastoiber Jan 12, 2021
a2b3b5f
use latest version
dvvanessastoiber Jan 12, 2021
46875b3
update .gitignore
dvvanessastoiber Jan 12, 2021
d4bd03f
Update package.json
Jan 23, 2021
d56d30e
Update requirements.txt
Jan 23, 2021
3483053
Merge pull request #76 from phovea/vstoiber/update_dependencies
Jan 23, 2021
b581fd8
prepare release_7.0.0
dvvanessastoiber Jan 26, 2021
4969cdb
fix branch
dvvanessastoiber Jan 26, 2021
d6659c5
update branch for requirements
dvvanessastoiber Jan 26, 2021
59a947e
use correct version
dvvanessastoiber Jan 26, 2021
4183ae0
Update config.yml
Feb 12, 2021
28d1bf5
changes for release 7.0.0
Feb 12, 2021
71b2b9e
Update config.yml
Feb 12, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
159 changes: 128 additions & 31 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
version: 2
jobs:
build:
version: 2.1

executors:
python-executor:
working_directory: ~/phovea
docker:
- image: circleci/python:3.7-buster-node-browsers # for node version see Dockerfile on https://hub.docker.com/r/circleci/python
node-executor:
working_directory: ~/phovea
docker:
- image: circleci/node:12.13-buster-browsers

jobs:
python-build:
executor: python-executor
steps:
- checkout
- run:
Expand All @@ -20,25 +29,6 @@ jobs:
name: Install Docker packages from docker_packages.txt
command: |
(!(test -f docker_packages.txt) || (cat docker_packages.txt | xargs sudo apt-get install -y))
- restore_cache:
key: deps2-{{ .Branch }}-{{ checksum "package.json" }}
- run:
name: Install npm dependencies
command: npm install
- run:
name: Remove npm dependencies installed from git repositories (avoid caching of old commits)
command: |
(grep -l '._resolved.: .\(git[^:]*\|bitbucket\):' ./node_modules/*/package.json || true) | xargs -r dirname | xargs -r rm -rf
- save_cache:
key: deps2-{{ .Branch }}-{{ checksum "package.json" }}
paths:
- ./node_modules
- run:
name: Install npm dependencies from git repositories (always get latest commit)
command: npm install
- run:
name: Show installed npm dependencies
command: npm list --depth=1 || true
- restore_cache:
key: deps1-{{ .Branch }}-{{ checksum "requirements.txt" }}-{{ checksum "requirements_dev.txt" }}
- run:
Expand All @@ -64,12 +54,86 @@ jobs:
name: Build
command: |
. ~/venv/bin/activate
npm run dist
npm run dist:python
- store_artifacts:
path: dist
destination: dist-python
- persist_to_workspace:
root: ~/phovea
paths: .
python-publish:
executor: python-executor
steps:
- attach_workspace:
at: ~/phovea
- run:
name: Install twine
command: |
virtualenv ~/venv
. ~/venv/bin/activate
pip install twine
- run:
name: Authentication
command: |
echo -e "[pypi]" >> ~/.pypirc
echo -e "repository = $PYPI_REPOSITORY" >> ~/.pypirc
echo -e "username = $PYPI_USERNAME" >> ~/.pypirc
echo -e "password = $PYPI_PASSWORD" >> ~/.pypirc
- run:
name: Publish package
command: |
. ~/venv/bin/activate
twine upload dist/*
web-build:
executor: node-executor
steps:
- checkout
- run:
name: Show Node.js and npm version
command: |
node -v
npm -v
- restore_cache:
key: deps1-{{ .Branch }}-{{ checksum "package.json" }}
- run:
name: Install npm dependencies
command: npm install
- run:
name: Remove npm dependencies installed from git repositories (avoid caching of old commits)
command: |
(grep -l '._resolved.: .\(git[^:]*\|bitbucket\):' ./node_modules/*/package.json || true) | xargs -r dirname | xargs -r rm -rf
- save_cache:
key: deps1-{{ .Branch }}-{{ checksum "package.json" }}
paths: ./node_modules
- run:
name: Install npm dependencies from git repositories (always get latest commit)
command: npm install
- run:
name: Show installed npm dependencies
command: npm list --depth=1 || true
- run:
name: Build
command: npm run dist:web
- store_artifacts:
path: dist
destination: dist
destination: dist-web
- persist_to_workspace:
root: ~/phovea
paths: .
web-publish:
executor: node-executor
steps:
- attach_workspace:
at: ~/phovea
- run:
name: Authentication
command: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- run:
name: Publish package
command: npm publish
workflows:
version: 2
version: 2.1
# build-nightly:
# triggers:
# - schedule:
Expand All @@ -79,18 +143,51 @@ workflows:
# only:
# - develop
# jobs:
# - build
build-branch:
# - python-build
# - web-build
build-branches-only:
jobs:
- build:
- python-build:
filters:
tags:
ignore: /^v.*/
build-tag:
ignore: /.*/
- web-build:
filters:
tags:
ignore: /.*/
build-publish-tag:
jobs:
- build:
- python-build:
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- web-build:
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- python-publish:
context:
- org-public
requires:
- python-build
- web-build
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
- web-publish:
context:
- org-public
requires:
- python-build
- web-build
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,10 @@ AUTHORS text
# with the python modules ``pickle``, ``dbm.*``,
# ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``
# (among others).


# Mark compiled files as generated to hide them in PRs
/dist/** linguist-generated=true

# Hide compiled files from git diff and auto-replace them when merging different branches
/dist/** -diff -merge
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/.tscache
/.idea
/build/
/dist/tsBuildInfoFile
/lib/
*.egg-info/
*.egg
Expand Down
1 change: 0 additions & 1 deletion dist/base/LoginMenu.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions dist/base/LoginMenu.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/base/LoginMenu.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file.
26 changes: 26 additions & 0 deletions dist/scss/components/_login_dialog.scss

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 2 additions & 26 deletions dist/scss/main.scss

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = {
"__APP_CONTEXT__": "TEST_CONTEXT",
'ts-jest': {
// has to be set to true, otherwise i18n import fails
"tsConfig": {
"tsconfig": {
"esModuleInterop": true,
}
}
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "phovea_security_flask",
"description": "",
"version": "6.0.0",
"version": "7.0.0",
"author": {
"name": "The Caleydo Team",
"email": "contact@caleydo.org",
Expand Down Expand Up @@ -74,19 +74,19 @@
"node": ">= 12.13"
},
"dependencies": {
"phovea_core": "^5.0.0"
"phovea_core": "^6.0.0"
},
"devDependencies": {
"@types/jest": "~26.0.5",
"@types/jest": "~26.0.20",
"identity-obj-proxy": "~3.0.0",
"jest": "~26.1.0",
"jest": "~26.6.3",
"jest-raw-loader": "~1.0.1",
"rimraf": "~3.0.2",
"shx": "~0.3.2",
"ts-jest": "~26.1.3",
"tslib": "~2.0.0",
"shx": "~0.3.3",
"ts-jest": "~26.4.4",
"tslib": "~2.0.3",
"tslint": "~5.20.1",
"typedoc": "~0.17.8",
"typedoc": "~0.19.2",
"typescript": "~3.9.7"
}
}
Loading