Compare commits
221
Commits
v1.0.0-rc8
...
v1.1.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c554427de4 | ||
|
|
6891a4d5f2 | ||
|
|
7386f4e5aa | ||
|
|
0ce1b909b7 | ||
|
|
c2f154f7cd | ||
|
|
c18bae9061 | ||
|
|
30286fa434 | ||
|
|
cf9dd65927 | ||
|
|
777c29fc35 | ||
|
|
94edf1001a | ||
|
|
c7d369cb12 | ||
|
|
0f455e5eb2 | ||
|
|
4836d558dc | ||
|
|
e528631733 | ||
|
|
90cfa1e031 | ||
|
|
833d0e4d79 | ||
|
|
afe098e5b1 | ||
|
|
6329d1bdac | ||
|
|
f21af25ce6 | ||
|
|
49e806e157 | ||
|
|
1a18a496b9 | ||
|
|
27d1783587 | ||
|
|
50e9df7094 | ||
|
|
1bc644fb00 | ||
|
|
a650453d94 | ||
|
|
e51223b54a | ||
|
|
c4d4e53ec4 | ||
|
|
6b071c6a0d | ||
|
|
1e72720512 | ||
|
|
81dd9654fb | ||
|
|
192a847f2c | ||
|
|
1a857e4988 | ||
|
|
ea9c11fabf | ||
|
|
b1d0fbbd3e | ||
|
|
03c1416a4a | ||
|
|
03867f4230 | ||
|
|
0aa389aa9e | ||
|
|
4f0d8b5e3c | ||
|
|
f8891bd6e4 | ||
|
|
f004cc0e73 | ||
|
|
8c9f9b6dfc | ||
|
|
b0119f1c7f | ||
|
|
410a5082f1 | ||
|
|
42677b36c1 | ||
|
|
873fbcb557 | ||
|
|
4f80541b9f | ||
|
|
af870e005e | ||
|
|
806d000f22 | ||
|
|
f13530425a | ||
|
|
b81156fc57 | ||
|
|
a02fb890f7 | ||
|
|
f97f0d7342 | ||
|
|
3e7c30d12a | ||
|
|
840b353d03 | ||
|
|
f579406619 | ||
|
|
2d67900657 | ||
|
|
0a94540458 | ||
|
|
c9c198279c | ||
|
|
72f3a7be8d | ||
|
|
de292b2b7b | ||
|
|
a3ed0eaf87 | ||
|
|
bc06091e79 | ||
|
|
de50dd7d15 | ||
|
|
af2773edb9 | ||
|
|
162bb48f01 | ||
|
|
2e8f6f8085 | ||
|
|
69e030b4d0 | ||
|
|
b88ebb300a | ||
|
|
27bbc785d3 | ||
|
|
9d753091f3 | ||
|
|
48ba063fc2 | ||
|
|
2f4fcfef2d | ||
|
|
5035ec43bd | ||
|
|
baa2ede612 | ||
|
|
864ee52173 | ||
|
|
8062a01269 | ||
|
|
249a3f27e7 | ||
|
|
9f00ff76ed | ||
|
|
133ecf4fb4 | ||
|
|
f230ea7fea | ||
|
|
1721b78913 | ||
|
|
638b7a1c9f | ||
|
|
32b1597ca5 | ||
|
|
2b00f833dd | ||
|
|
17a1d29d6a | ||
|
|
20e150228c | ||
|
|
ac63ab4b36 | ||
|
|
e18d286e8a | ||
|
|
7ad4130ef7 | ||
|
|
8462799667 | ||
|
|
4701fdfccc | ||
|
|
943b13b8d4 | ||
|
|
65e9153a2d | ||
|
|
459df00cd2 | ||
|
|
f5856e6fa2 | ||
|
|
92ed1ff8e1 | ||
|
|
8fa89f5067 | ||
|
|
168d8a7fbc | ||
|
|
653aeef460 | ||
|
|
cf424e9bb6 | ||
|
|
91bd401a8a | ||
|
|
6fdb44c687 | ||
|
|
cf7692240d | ||
|
|
6e47fe799c | ||
|
|
42ff1af2d6 | ||
|
|
8d0aa17ba5 | ||
|
|
ab1ed20821 | ||
|
|
3240e20641 | ||
|
|
536376fa5e | ||
|
|
f0e269c618 | ||
|
|
7e9f8c5dbb | ||
|
|
4932cae85f | ||
|
|
c415360566 | ||
|
|
17a2270508 | ||
|
|
ef1cc5f9cd | ||
|
|
75a86ed7f4 | ||
|
|
7f19d24bac | ||
|
|
10079ba74d | ||
|
|
7662f86c47 | ||
|
|
7b20eb3401 | ||
|
|
c15b2940b6 | ||
|
|
e90c4801a7 | ||
|
|
2ddde64205 | ||
|
|
3b636d2540 | ||
|
|
e05f714691 | ||
|
|
dec6008d10 | ||
|
|
48f8bf3ea2 | ||
|
|
01ae463c67 | ||
|
|
0bd5327b43 | ||
|
|
1b6d8d6c52 | ||
|
|
4053702758 | ||
|
|
d87d1f4e82 | ||
|
|
e58b47e456 | ||
|
|
5c72d915ee | ||
|
|
d964f2f6b1 | ||
|
|
eb2143d3ec | ||
|
|
578dc94e3b | ||
|
|
c7a620c4d5 | ||
|
|
19fdc2ac35 | ||
|
|
b1314eb6ef | ||
|
|
a34f802ff7 | ||
|
|
ca6d59d7c5 | ||
|
|
3eb9e122a4 | ||
|
|
986b7a82b3 | ||
|
|
5689daf864 | ||
|
|
652448f5f1 | ||
|
|
36d86aa87e | ||
|
|
335aa2d5b3 | ||
|
|
416aa821f5 | ||
|
|
b2e827f4e9 | ||
|
|
63ae28fff1 | ||
|
|
f48b3f4ef9 | ||
|
|
d08958619e | ||
|
|
12897e61cb | ||
|
|
95603951fc | ||
|
|
352034d9eb | ||
|
|
cd2eb0e39b | ||
|
|
0d990898b8 | ||
|
|
26c82b5551 | ||
|
|
1b29e56d12 | ||
|
|
03e1f95d49 | ||
|
|
ff42549897 | ||
|
|
af9900cefd | ||
|
|
6ce4bb739c | ||
|
|
5c60c1b62e | ||
|
|
7b6577f41c | ||
|
|
dc619974ed | ||
|
|
054c1151b2 | ||
|
|
d6cb3ac273 | ||
|
|
7dbc1af76f | ||
|
|
4c718eb91c | ||
|
|
73cf0fc36d | ||
|
|
f708e19d1b | ||
|
|
722e3808a9 | ||
|
|
03273cc93f | ||
|
|
3c3964fd8e | ||
|
|
d2e4c69aee | ||
|
|
6fe8b6f3bd | ||
|
|
cf69537d1b | ||
|
|
738a32f9b1 | ||
|
|
40c59cd52d | ||
|
|
a08a0afcfd | ||
|
|
5ea1e97032 | ||
|
|
cbd320c926 | ||
|
|
2c54d37270 | ||
|
|
711701c28b | ||
|
|
5e9d4d7286 | ||
|
|
23226c53bd | ||
|
|
fe7349c7e5 | ||
|
|
feb310aa89 | ||
|
|
20128ad02d | ||
|
|
2a4490f44c | ||
|
|
bb9febe0a0 | ||
|
|
9907c9bee2 | ||
|
|
43ad6b274e | ||
|
|
b07acdb03d | ||
|
|
19f4e09e2d | ||
|
|
af34379a3c | ||
|
|
42c3b95382 | ||
|
|
a1df2c2944 | ||
|
|
6d88bb9d9a | ||
|
|
9c34174d45 | ||
|
|
30abd4a7fe | ||
|
|
74499bb611 | ||
|
|
444bfae32e | ||
|
|
87a2149139 | ||
|
|
6dd68e0df8 | ||
|
|
d50571ecc4 | ||
|
|
53382a8734 | ||
|
|
c7f8f2060c | ||
|
|
80a1ca487a | ||
|
|
ec6359d7ad | ||
|
|
67a4a1abfb | ||
|
|
9c1ac176ca | ||
|
|
3e6fb93f20 | ||
|
|
43ab8bf4fd | ||
|
|
cc6bee23a5 | ||
|
|
808b2d7d2d | ||
|
|
e23a233e55 | ||
|
|
bd5c864557 | ||
|
|
37514f62de |
No files matched your search
@@ -1,5 +1,6 @@
|
||||
---
|
||||
exclude_paths:
|
||||
- '.github/**'
|
||||
- 'CHANGELOG.md'
|
||||
- '**/CHANGELOG.md'
|
||||
- 'changelog/**'
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
# The test runner source for API tests
|
||||
CORE_COMMITID=1628f6156c64717aa23b1e48dd8e51154f68cde8
|
||||
CORE_BRANCH=master
|
||||
|
||||
# The test runner source for UI tests
|
||||
WEB_COMMITID=5945833ca594c16d33514da74b3d2eb64d3560fd
|
||||
WEB_BRANCH=master
|
||||
+65
-126
@@ -16,13 +16,9 @@ config = {
|
||||
'onlyoffice':'frontend'
|
||||
},
|
||||
'apiTests': {
|
||||
'coreBranch': 'master',
|
||||
'coreCommit': '27eaa32d777052d1d210647cd38895e647c48fed',
|
||||
'numberOfParts': 10
|
||||
},
|
||||
'uiTests': {
|
||||
'webBranch': 'master',
|
||||
'webCommit': '5dae1886973ddbab0243e364800fa207fb716a20',
|
||||
'suites': {
|
||||
'webUIBasic': [
|
||||
'webUILogin',
|
||||
@@ -195,36 +191,26 @@ def main(ctx):
|
||||
|
||||
if ctx.build.event == "cron":
|
||||
pipelines = test_pipelines + [
|
||||
benchmark(ctx),
|
||||
pipelineDependsOn(
|
||||
purgeBuildArtifactCache(ctx, 'ocis-binary-amd64'),
|
||||
testPipelines(ctx) + [benchmark(ctx)]
|
||||
testPipelines(ctx)
|
||||
)
|
||||
]
|
||||
|
||||
elif \
|
||||
(ctx.build.event == "pull" and '[docs-only]' in ctx.build.title) \
|
||||
(ctx.build.event == "pull_request" and '[docs-only]' in ctx.build.title) \
|
||||
or \
|
||||
(ctx.build.event != "pull" and '[docs-only]' in (ctx.build.title + ctx.build.message)):
|
||||
(ctx.build.event != "pull_request" and '[docs-only]' in (ctx.build.title + ctx.build.message)):
|
||||
# [docs-only] is not taken from PR messages, but from commit messages
|
||||
pipelines = [docs(ctx)]
|
||||
|
||||
else:
|
||||
if '[with-benchmarks]' in (ctx.build.title + ctx.build.message):
|
||||
test_pipelines += [
|
||||
benchmark(ctx),
|
||||
test_pipelines.append(
|
||||
pipelineDependsOn(
|
||||
purgeBuildArtifactCache(ctx, 'ocis-binary-amd64'),
|
||||
testPipelines(ctx) + [benchmark(ctx)]
|
||||
)
|
||||
]
|
||||
else:
|
||||
test_pipelines.append(
|
||||
pipelineDependsOn(
|
||||
purgeBuildArtifactCache(ctx, 'ocis-binary-amd64'),
|
||||
testPipelines(ctx)
|
||||
)
|
||||
testPipelines(ctx)
|
||||
)
|
||||
)
|
||||
|
||||
pipelines = test_pipelines + build_release_pipelines + build_release_helpers
|
||||
|
||||
@@ -251,25 +237,25 @@ def testOcisModules(ctx):
|
||||
|
||||
def testPipelines(ctx):
|
||||
pipelines = [
|
||||
localApiTests(ctx, config['apiTests']['coreBranch'], config['apiTests']['coreCommit'], 'owncloud', 'apiOcisSpecific'),
|
||||
localApiTests(ctx, config['apiTests']['coreBranch'], config['apiTests']['coreCommit'], 'ocis', 'apiOcisSpecific'),
|
||||
localApiTests(ctx, config['apiTests']['coreBranch'], config['apiTests']['coreCommit'], 'owncloud', 'apiBasic', 'default'),
|
||||
localApiTests(ctx, config['apiTests']['coreBranch'], config['apiTests']['coreCommit'], 'ocis', 'apiBasic', 'default')
|
||||
localApiTests(ctx, 'owncloud', 'apiOcisSpecific'),
|
||||
localApiTests(ctx, 'ocis', 'apiOcisSpecific'),
|
||||
localApiTests(ctx, 'owncloud', 'apiBasic', 'default'),
|
||||
localApiTests(ctx, 'ocis', 'apiBasic', 'default')
|
||||
]
|
||||
|
||||
for runPart in range(1, config['apiTests']['numberOfParts'] + 1):
|
||||
pipelines.append(coreApiTests(ctx, config['apiTests']['coreBranch'], config['apiTests']['coreCommit'], runPart, config['apiTests']['numberOfParts'], 'owncloud'))
|
||||
pipelines.append(coreApiTests(ctx, config['apiTests']['coreBranch'], config['apiTests']['coreCommit'], runPart, config['apiTests']['numberOfParts'], 'ocis'))
|
||||
pipelines.append(coreApiTests(ctx, runPart, config['apiTests']['numberOfParts'], 'owncloud'))
|
||||
pipelines.append(coreApiTests(ctx, runPart, config['apiTests']['numberOfParts'], 'ocis'))
|
||||
|
||||
pipelines += uiTests(ctx, config['uiTests']['webBranch'], config['uiTests']['webCommit'])
|
||||
pipelines.append(accountsUITests(ctx, config['uiTests']['webBranch'], config['uiTests']['webCommit']))
|
||||
pipelines += uiTests(ctx)
|
||||
pipelines.append(accountsUITests(ctx))
|
||||
return pipelines
|
||||
|
||||
def testOcisModule(ctx, module):
|
||||
steps = makeGenerate(module) + [
|
||||
{
|
||||
'name': 'vet',
|
||||
'image': 'webhippie/golang:1.14',
|
||||
'image': 'webhippie/golang:1.15',
|
||||
'pull': 'always',
|
||||
'commands': [
|
||||
'make -C %s vet' % (module),
|
||||
@@ -278,7 +264,7 @@ def testOcisModule(ctx, module):
|
||||
},
|
||||
{
|
||||
'name': 'staticcheck',
|
||||
'image': 'webhippie/golang:1.14',
|
||||
'image': 'webhippie/golang:1.15',
|
||||
'pull': 'always',
|
||||
'commands': [
|
||||
'make -C %s staticcheck' % (module),
|
||||
@@ -287,7 +273,7 @@ def testOcisModule(ctx, module):
|
||||
},
|
||||
{
|
||||
'name': 'lint',
|
||||
'image': 'webhippie/golang:1.14',
|
||||
'image': 'webhippie/golang:1.15',
|
||||
'pull': 'always',
|
||||
'commands': [
|
||||
'make -C %s lint' % (module),
|
||||
@@ -296,7 +282,7 @@ def testOcisModule(ctx, module):
|
||||
},
|
||||
{
|
||||
'name': 'test',
|
||||
'image': 'webhippie/golang:1.14',
|
||||
'image': 'webhippie/golang:1.15',
|
||||
'pull': 'always',
|
||||
'commands': [
|
||||
'make -C %s test' % (module),
|
||||
@@ -372,6 +358,18 @@ def buildOcisBinaryForTesting(ctx):
|
||||
}
|
||||
|
||||
def uploadCoverage(ctx):
|
||||
sonar_env = {
|
||||
'SONAR_TOKEN': {
|
||||
'from_secret': 'sonar_token',
|
||||
},
|
||||
}
|
||||
if ctx.build.event == "pull_request":
|
||||
sonar_env.update({
|
||||
'SONAR_PULL_REQUEST_BASE': '%s' % (ctx.build.target),
|
||||
'SONAR_PULL_REQUEST_BRANCH': '%s' % (ctx.build.source),
|
||||
'SONAR_PULL_REQUEST_KEY': '%s' % (ctx.build.ref.replace("refs/pull/", "").split("/")[0]),
|
||||
})
|
||||
|
||||
return {
|
||||
'kind': 'pipeline',
|
||||
'type': 'docker',
|
||||
@@ -383,7 +381,7 @@ def uploadCoverage(ctx):
|
||||
'steps': [
|
||||
{
|
||||
'name': 'sync-from-cache',
|
||||
'image': 'minio/mc',
|
||||
'image': 'minio/mc:RELEASE.2020-12-10T01-26-17Z',
|
||||
'environment': {
|
||||
'MC_HOST_cache': {
|
||||
'from_secret': 'cache_s3_connection_url'
|
||||
@@ -408,18 +406,11 @@ def uploadCoverage(ctx):
|
||||
'name': 'sonarcloud',
|
||||
'image': 'sonarsource/sonar-scanner-cli',
|
||||
'pull': 'always',
|
||||
'environment': {
|
||||
'SONAR_TOKEN': {
|
||||
'from_secret': 'sonar_token',
|
||||
},
|
||||
'SONAR_PULL_REQUEST_BASE': '%s' % ('master' if ctx.build.event == 'pull_request' else None),
|
||||
'SONAR_PULL_REQUEST_BRANCH': '%s' % (ctx.build.source if ctx.build.event == 'pull_request' else None),
|
||||
'SONAR_PULL_REQUEST_KEY': '%s' % (ctx.build.ref.replace("refs/pull/", "").split("/")[0] if ctx.build.event == 'pull_request' else None),
|
||||
},
|
||||
'environment': sonar_env,
|
||||
},
|
||||
{
|
||||
'name': 'purge-cache',
|
||||
'image': 'minio/mc',
|
||||
'image': 'minio/mc:RELEASE.2020-12-10T01-26-17Z',
|
||||
'environment': {
|
||||
'MC_HOST_cache': {
|
||||
'from_secret': 'cache_s3_connection_url'
|
||||
@@ -439,7 +430,7 @@ def uploadCoverage(ctx):
|
||||
},
|
||||
}
|
||||
|
||||
def localApiTests(ctx, coreBranch = 'master', coreCommit = '', storage = 'owncloud', suite = 'apiOcisSpecific', accounts_hash_difficulty = 4):
|
||||
def localApiTests(ctx, storage = 'owncloud', suite = 'apiOcisSpecific', accounts_hash_difficulty = 4):
|
||||
return {
|
||||
'kind': 'pipeline',
|
||||
'type': 'docker',
|
||||
@@ -451,7 +442,7 @@ def localApiTests(ctx, coreBranch = 'master', coreCommit = '', storage = 'ownclo
|
||||
'steps':
|
||||
restoreBuildArtifactCache(ctx, 'ocis-binary-amd64', 'ocis/bin/ocis') +
|
||||
ocisServer(storage, accounts_hash_difficulty, [stepVolumeOC10Tests]) +
|
||||
cloneCoreRepos(coreBranch, coreCommit) + [
|
||||
cloneCoreRepos() + [
|
||||
{
|
||||
'name': 'localApiTests-%s-%s' % (suite, storage),
|
||||
'image': 'owncloudci/php:7.4',
|
||||
@@ -486,7 +477,7 @@ def localApiTests(ctx, coreBranch = 'master', coreCommit = '', storage = 'ownclo
|
||||
'volumes': [pipelineVolumeOC10Tests],
|
||||
}
|
||||
|
||||
def coreApiTests(ctx, coreBranch = 'master', coreCommit = '', part_number = 1, number_of_parts = 1, storage = 'owncloud', accounts_hash_difficulty = 4):
|
||||
def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = 'owncloud', accounts_hash_difficulty = 4):
|
||||
return {
|
||||
'kind': 'pipeline',
|
||||
'type': 'docker',
|
||||
@@ -498,7 +489,7 @@ def coreApiTests(ctx, coreBranch = 'master', coreCommit = '', part_number = 1, n
|
||||
'steps':
|
||||
restoreBuildArtifactCache(ctx, 'ocis-binary-amd64', 'ocis/bin/ocis') +
|
||||
ocisServer(storage, accounts_hash_difficulty, [stepVolumeOC10Tests]) +
|
||||
cloneCoreRepos(coreBranch, coreCommit) + [
|
||||
cloneCoreRepos() + [
|
||||
{
|
||||
'name': 'oC10ApiTests-%s-storage-%s' % (storage, part_number),
|
||||
'image': 'owncloudci/php:7.4',
|
||||
@@ -513,7 +504,7 @@ def coreApiTests(ctx, coreBranch = 'master', coreCommit = '', part_number = 1, n
|
||||
'BEHAT_FILTER_TAGS': '~@notToImplementOnOCIS&&~@toImplementOnOCIS&&~comments-app-required&&~@federation-app-required&&~@notifications-app-required&&~systemtags-app-required&&~@local_storage&&~@skipOnOcis-%s-Storage' % ('OC' if storage == 'owncloud' else 'OCIS'),
|
||||
'DIVIDE_INTO_NUM_PARTS': number_of_parts,
|
||||
'RUN_PART': part_number,
|
||||
'EXPECTED_FAILURES_FILE': '/drone/src/tests/acceptance/expected-failures-on-%s-storage.txt' % (storage.upper()),
|
||||
'EXPECTED_FAILURES_FILE': '/drone/src/tests/acceptance/expected-failures-API-on-%s-storage.md' % (storage.upper()),
|
||||
},
|
||||
'commands': [
|
||||
'make -C /srv/app/testrunner test-acceptance-api',
|
||||
@@ -534,57 +525,11 @@ def coreApiTests(ctx, coreBranch = 'master', coreCommit = '', part_number = 1, n
|
||||
'volumes': [pipelineVolumeOC10Tests],
|
||||
}
|
||||
|
||||
def benchmark(ctx):
|
||||
return {
|
||||
'kind': 'pipeline',
|
||||
'type': 'docker',
|
||||
'name': 'benchmark',
|
||||
'failure': 'ignore',
|
||||
'platform': {
|
||||
'os': 'linux',
|
||||
'arch': 'amd64',
|
||||
},
|
||||
'steps':
|
||||
restoreBuildArtifactCache(ctx, 'ocis-binary-amd64', 'ocis/bin/ocis') +
|
||||
ocisServer('ocis') + [
|
||||
{
|
||||
'name': 'build benchmarks',
|
||||
'image': 'node',
|
||||
'pull': 'always',
|
||||
'commands': [
|
||||
'cd tests/k6',
|
||||
'yarn',
|
||||
'yarn build',
|
||||
],
|
||||
},
|
||||
{
|
||||
'name': 'run benchmarks',
|
||||
'image': 'loadimpact/k6',
|
||||
'pull': 'always',
|
||||
'environment': {
|
||||
'OC_HOST': 'https://ocis-server:9200',
|
||||
},
|
||||
'commands': [
|
||||
'cd tests/k6',
|
||||
'for f in ./dist/test-* ; do k6 run "$f" -q; done',
|
||||
],
|
||||
},
|
||||
],
|
||||
'depends_on': getPipelineNames([buildOcisBinaryForTesting(ctx)]),
|
||||
'trigger': {
|
||||
'ref': [
|
||||
'refs/heads/master',
|
||||
'refs/tags/v*',
|
||||
'refs/pull/**',
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
def uiTests(ctx, webBranch, webCommit):
|
||||
def uiTests(ctx):
|
||||
suiteNames = config['uiTests']['suites'].keys()
|
||||
return [uiTestPipeline(ctx, suiteName, webBranch, webCommit) for suiteName in suiteNames]
|
||||
return [uiTestPipeline(ctx, suiteName) for suiteName in suiteNames]
|
||||
|
||||
def uiTestPipeline(ctx, suiteName, webBranch = 'master', webCommit = '', storage = 'owncloud', accounts_hash_difficulty = 4):
|
||||
def uiTestPipeline(ctx, suiteName, storage = 'owncloud', accounts_hash_difficulty = 4):
|
||||
suites = config['uiTests']['suites']
|
||||
paths = ""
|
||||
suite = suites[suiteName]
|
||||
@@ -616,21 +561,21 @@ def uiTestPipeline(ctx, suiteName, webBranch = 'master', webCommit = '', storage
|
||||
'OCIS_REVA_DATA_ROOT': '/srv/app/tmp/ocis/owncloud/data',
|
||||
'OCIS_SKELETON_DIR': '/srv/app/testing/data/webUISkeleton',
|
||||
'WEB_UI_CONFIG': '/drone/src/tests/config/drone/ocis-config.json',
|
||||
'TEST_TAGS': 'not @skipOnOCIS and not @skip',
|
||||
'TEST_TAGS': 'not @skipOnOCIS and not @skip and not @notToImplementOnOCIS',
|
||||
'LOCAL_UPLOAD_DIR': '/uploads',
|
||||
'NODE_TLS_REJECT_UNAUTHORIZED': 0,
|
||||
'TEST_PATHS': paths,
|
||||
'EXPECTED_FAILURES_FILE': '/drone/src/tests/acceptance/expected-failures-webUI-on-%s-storage.md' % (storage.upper()),
|
||||
},
|
||||
'commands': [
|
||||
'source /drone/src/.drone.env',
|
||||
'git clone -b master --depth=1 https://github.com/owncloud/testing.git /srv/app/testing',
|
||||
'git clone -b %s --single-branch --no-tags https://github.com/owncloud/web.git /srv/app/web' % (webBranch),
|
||||
'git clone -b $WEB_BRANCH --single-branch --no-tags https://github.com/owncloud/web.git /srv/app/web',
|
||||
'cd /srv/app/web',
|
||||
] + ([
|
||||
'git checkout %s' % (webCommit)
|
||||
] if webCommit != '' else []) + [
|
||||
'git checkout $WEB_COMMITID',
|
||||
'cp -r tests/acceptance/filesForUpload/* /uploads',
|
||||
'yarn install-all',
|
||||
'yarn run acceptance-tests-drone'
|
||||
'./tests/acceptance/run.sh'
|
||||
],
|
||||
'volumes':
|
||||
[stepVolumeOC10Tests] +
|
||||
@@ -659,7 +604,7 @@ def uiTestPipeline(ctx, suiteName, webBranch = 'master', webCommit = '', storage
|
||||
},
|
||||
}
|
||||
|
||||
def accountsUITests(ctx, webBranch, webCommit, storage = 'owncloud', accounts_hash_difficulty = 4):
|
||||
def accountsUITests(ctx, storage = 'owncloud', accounts_hash_difficulty = 4):
|
||||
return {
|
||||
'kind': 'pipeline',
|
||||
'type': 'docker',
|
||||
@@ -689,12 +634,11 @@ def accountsUITests(ctx, webBranch, webCommit, storage = 'owncloud', accounts_ha
|
||||
'FEATURE_PATH': '/drone/src/accounts/ui/tests/acceptance/features',
|
||||
},
|
||||
'commands': [
|
||||
'source /drone/src/.drone.env',
|
||||
'git clone -b master --depth=1 https://github.com/owncloud/testing.git /srv/app/testing',
|
||||
'git clone -b %s --single-branch --no-tags https://github.com/owncloud/web.git /srv/app/web' % (webBranch),
|
||||
'git clone -b $WEB_BRANCH --single-branch --no-tags https://github.com/owncloud/web.git /srv/app/web',
|
||||
'cd /srv/app/web',
|
||||
] + ([
|
||||
'git checkout %s' % (webCommit)
|
||||
] if webCommit != '' else []) + [
|
||||
'git checkout $WEB_COMMITID',
|
||||
'cp -r tests/acceptance/filesForUpload/* /uploads',
|
||||
'yarn install-all',
|
||||
'cd /drone/src/accounts',
|
||||
@@ -923,7 +867,7 @@ def binaryRelease(ctx, name):
|
||||
makeGenerate('ocis') + [
|
||||
{
|
||||
'name': 'build',
|
||||
'image': 'webhippie/golang:1.14',
|
||||
'image': 'webhippie/golang:1.15',
|
||||
'pull': 'always',
|
||||
'commands': [
|
||||
'make -C ocis release-%s' % (name),
|
||||
@@ -931,7 +875,7 @@ def binaryRelease(ctx, name):
|
||||
},
|
||||
{
|
||||
'name': 'finish',
|
||||
'image': 'webhippie/golang:1.14',
|
||||
'image': 'webhippie/golang:1.15',
|
||||
'pull': 'always',
|
||||
'commands': [
|
||||
'make -C ocis release-finish',
|
||||
@@ -1094,7 +1038,7 @@ def changelog(ctx):
|
||||
'steps': [
|
||||
{
|
||||
'name': 'generate',
|
||||
'image': 'webhippie/golang:1.14',
|
||||
'image': 'webhippie/golang:1.15',
|
||||
'pull': 'always',
|
||||
'commands': [
|
||||
'make -C ocis changelog',
|
||||
@@ -1232,7 +1176,7 @@ def docs(ctx):
|
||||
'steps': [
|
||||
{
|
||||
'name': 'generate-config-docs',
|
||||
'image': 'webhippie/golang:1.14',
|
||||
'image': 'webhippie/golang:1.15',
|
||||
'commands': ['make -C %s config-docs-generate' % (module) for module in config['modules']],
|
||||
},
|
||||
{
|
||||
@@ -1313,7 +1257,7 @@ def makeGenerate(module):
|
||||
return [
|
||||
{
|
||||
'name': 'generate',
|
||||
'image': 'webhippie/golang:1.14',
|
||||
'image': 'webhippie/golang:1.15',
|
||||
'pull': 'always',
|
||||
'commands': [
|
||||
'make -C %s generate' % (module),
|
||||
@@ -1413,6 +1357,7 @@ def frontend(module):
|
||||
def ocisServer(storage, accounts_hash_difficulty = 4, volumes=[]):
|
||||
environment = {
|
||||
#'OCIS_LOG_LEVEL': 'debug',
|
||||
'OCIS_URL': 'https://ocis-server:9200',
|
||||
'STORAGE_HOME_DRIVER': '%s' % (storage),
|
||||
'STORAGE_USERS_DRIVER': '%s' % (storage),
|
||||
'STORAGE_DRIVER_OCIS_ROOT': '/srv/app/tmp/ocis/storage/users',
|
||||
@@ -1420,18 +1365,12 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes=[]):
|
||||
'STORAGE_METADATA_ROOT': '/srv/app/tmp/ocis/metadata',
|
||||
'STORAGE_DRIVER_OWNCLOUD_DATADIR': '/srv/app/tmp/ocis/owncloud/data',
|
||||
'STORAGE_DRIVER_OWNCLOUD_REDIS_ADDR': 'redis:6379',
|
||||
'STORAGE_LDAP_IDP': 'https://ocis-server:9200',
|
||||
'STORAGE_OIDC_ISSUER': 'https://ocis-server:9200',
|
||||
'PROXY_OIDC_ISSUER': 'https://ocis-server:9200',
|
||||
'STORAGE_HOME_DATA_SERVER_URL': 'http://ocis-server:9155/data',
|
||||
'STORAGE_DATAGATEWAY_PUBLIC_URL': 'https://ocis-server:9200/data',
|
||||
'STORAGE_USERS_DATA_SERVER_URL': 'http://ocis-server:9158/data',
|
||||
'STORAGE_FRONTEND_PUBLIC_URL': 'https://ocis-server:9200',
|
||||
'STORAGE_SHARING_USER_JSON_FILE': '/srv/app/tmp/ocis/shares.json',
|
||||
'PROXY_ENABLE_BASIC_AUTH': True,
|
||||
'WEB_UI_CONFIG': '/drone/src/tests/config/drone/ocis-config.json',
|
||||
'KONNECTD_IDENTIFIER_REGISTRATION_CONF': '/drone/src/tests/config/drone/identifier-registration.yml',
|
||||
'KONNECTD_ISS': 'https://ocis-server:9200',
|
||||
'KONNECTD_TLS': 'true',
|
||||
'OCIS_LOG_LEVEL': 'warn',
|
||||
}
|
||||
@@ -1466,19 +1405,19 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes=[]):
|
||||
},
|
||||
]
|
||||
|
||||
def cloneCoreRepos(coreBranch, coreCommit):
|
||||
def cloneCoreRepos():
|
||||
return [
|
||||
{
|
||||
'name': 'clone-core-repos',
|
||||
'image': 'owncloudci/php:7.4',
|
||||
'image': 'owncloudci/alpine:latest',
|
||||
'pull': 'always',
|
||||
'commands': [
|
||||
'source /drone/src/.drone.env',
|
||||
'git clone -b master --depth=1 https://github.com/owncloud/testing.git /srv/app/tmp/testing',
|
||||
'git clone -b %s --single-branch --no-tags https://github.com/owncloud/core.git /srv/app/testrunner' % (coreBranch),
|
||||
'git clone -b $CORE_BRANCH --single-branch --no-tags https://github.com/owncloud/core.git /srv/app/testrunner',
|
||||
'cd /srv/app/testrunner',
|
||||
] + ([
|
||||
'git checkout %s' % (coreCommit)
|
||||
] if coreCommit != '' else []),
|
||||
'git checkout $CORE_COMMITID'
|
||||
],
|
||||
'volumes': [stepVolumeOC10Tests],
|
||||
}
|
||||
]
|
||||
@@ -1512,7 +1451,7 @@ def build():
|
||||
return [
|
||||
{
|
||||
'name': 'build',
|
||||
'image': 'webhippie/golang:1.14',
|
||||
'image': 'webhippie/golang:1.15',
|
||||
'pull': 'always',
|
||||
'commands': [
|
||||
'make -C ocis build',
|
||||
@@ -1570,7 +1509,7 @@ def genericCachePurge(ctx, name, cache_key):
|
||||
'steps': [
|
||||
{
|
||||
'name': 'purge-cache',
|
||||
'image': 'minio/mc',
|
||||
'image': 'minio/mc:RELEASE.2020-12-10T01-26-17Z',
|
||||
'failure': 'ignore',
|
||||
'environment': {
|
||||
'MC_HOST_cache': {
|
||||
|
||||
-9743
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,45 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: ''
|
||||
labels: Type:Bug
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
## Describe the bug
|
||||
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
## Steps to reproduce
|
||||
|
||||
Steps to reproduce the behavior:
|
||||
|
||||
1.
|
||||
2.
|
||||
3.
|
||||
|
||||
## Expected behavior
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
## Actual behavior
|
||||
A clear and concise description of what happened.
|
||||
|
||||
## Setup
|
||||
|
||||
Please describe how you started the server and provide a list of relevant environment variables.
|
||||
|
||||
<details>
|
||||
<p>
|
||||
|
||||
```console
|
||||
OCIS_VERSION=vX.X.X
|
||||
BRANCH=vX.X.X
|
||||
STORAGE_FRONTEND_UPLOAD_DISABLE_TUS=false
|
||||
```
|
||||
|
||||
</p>
|
||||
</details>
|
||||
|
||||
## Additional context
|
||||
Add any other context about the problem here.
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for improving oCIS
|
||||
title: ''
|
||||
labels: Category:Feature, Topic:needs-triage
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
## Is your feature request related to a problem? Please describe.
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
## Describe the solution you'd like
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
## Describe alternatives you've considered
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
## Additional context
|
||||
Add any other context or screenshots about the feature request here.
|
||||
@@ -0,0 +1,57 @@
|
||||
<!--
|
||||
Thanks for submitting a change to ownCloud!
|
||||
|
||||
This is the bug tracker for the oCIS component. Find other components at https://github.com/owncloud/core/blob/master/.github/CONTRIBUTING.md#guidelines
|
||||
|
||||
For fixing potential security issues please see https://owncloud.org/security/
|
||||
|
||||
To make it possible for us to get your change reviewed and merged please carefully fill out the requested information below.
|
||||
|
||||
Please note that any kind of change needs first be submitted to the master branch which holds the next version of OCIS.
|
||||
|
||||
Please set the following labels:
|
||||
|
||||
- Set label "Status:Needs-Review" for review or "Status:In-Progress" if the PR still has open tasks.
|
||||
- Assignment: assign to self
|
||||
- Reviewers: pick at least one
|
||||
-->
|
||||
|
||||
## Description
|
||||
<!--- Describe your changes in detail -->
|
||||
|
||||
## Related Issue
|
||||
<!--- This project only accepts pull requests related to open issues -->
|
||||
<!--- If suggesting a new feature or change, please discuss it in an issue first -->
|
||||
<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->
|
||||
<!--- Please link to the issue here: -->
|
||||
- Fixes <issue_link>
|
||||
|
||||
## Motivation and Context
|
||||
<!--- Why is this change required? What problem does it solve? -->
|
||||
|
||||
## How Has This Been Tested?
|
||||
<!--- Please describe in detail how you tested your changes. -->
|
||||
<!--- Include details of your testing environment, and the tests you ran to -->
|
||||
<!--- see how your change affects other areas of the code, etc. -->
|
||||
- test environment:
|
||||
- test case 1:
|
||||
- test case 2:
|
||||
- ...
|
||||
|
||||
## Screenshots (if appropriate):
|
||||
|
||||
## Types of changes
|
||||
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
|
||||
- [ ] Bug fix (non-breaking change which fixes an issue)
|
||||
- [ ] New feature (non-breaking change which adds functionality)
|
||||
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
|
||||
- [ ] Technical debt
|
||||
- [ ] Tests only (no source changes)
|
||||
|
||||
## Checklist:
|
||||
<!-- Tick the checkboxes when done. -->
|
||||
<!-- Raise documentation ticket in owncloud.github.io/ -->
|
||||
- [ ] Code changes
|
||||
- [ ] Unit tests added
|
||||
- [ ] Acceptance tests added
|
||||
- [ ] Documentation ticket raised: <link>
|
||||
+5
-51
@@ -1,4 +1,6 @@
|
||||
---
|
||||
_extends: gh-labels
|
||||
|
||||
repository:
|
||||
name: ocis
|
||||
description: ':atom_symbol: ownCloud Infinite Scale Stack'
|
||||
@@ -18,58 +20,10 @@ repository:
|
||||
allow_rebase_merge: true
|
||||
|
||||
labels:
|
||||
- name: bug
|
||||
color: d73a4a
|
||||
- name: OCIS-Fastlane
|
||||
color: "#deadbf"
|
||||
description: Something isn't working
|
||||
- name: documentation
|
||||
color: 0075ca
|
||||
description: Improvements or additions to documentation
|
||||
- name: duplicate
|
||||
color: cfd3d7
|
||||
description: This issue or pull request already exists
|
||||
- name: enhancement
|
||||
color: a2eeef
|
||||
description: New feature or request
|
||||
- name: good first issue
|
||||
color: 7057ff
|
||||
description: Good for newcomers
|
||||
- name: help wanted
|
||||
color: 008672
|
||||
description: Extra attention is needed
|
||||
- name: invalid
|
||||
color: e4e669
|
||||
description: This doesn't seem right
|
||||
- name: question
|
||||
color: d876e3
|
||||
description: Further information is requested
|
||||
- name: wontfix
|
||||
color: ffffff
|
||||
description: This will not be worked on
|
||||
- name: effort/trivial
|
||||
color: c2e0c6
|
||||
description: Required effort to finish task
|
||||
- name: effort/0.25d
|
||||
color: c2e0c6
|
||||
description: Required effort to finish task
|
||||
- name: effort/0.5d
|
||||
color: c2e0c6
|
||||
description: Required effort to finish task
|
||||
- name: effort/1d
|
||||
color: c2e0c6
|
||||
description: Required effort to finish task
|
||||
- name: effort/2d
|
||||
color: c2e0c6
|
||||
description: Required effort to finish task
|
||||
- name: effort/4d
|
||||
color: c2e0c6
|
||||
description: Required effort to finish task
|
||||
- name: effort/5d
|
||||
color: c2e0c6
|
||||
description: Required effort to finish task
|
||||
- name: effort/10d
|
||||
color: c2e0c6
|
||||
description: Required effort to finish task
|
||||
|
||||
|
||||
teams:
|
||||
- name: ci
|
||||
permission: admin
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
only: issues
|
||||
# Number of days of inactivity before an issue becomes stale
|
||||
daysUntilStale: 60
|
||||
# Number of days of inactivity before a stale issue is closed
|
||||
daysUntilClose: 10
|
||||
# Issues with these labels will never be considered stale
|
||||
exemptLabels:
|
||||
- "Type:Bug"
|
||||
- "Type:Technical-Debt"
|
||||
# Label to use when marking an issue as stale
|
||||
staleLabel: "Status:Stale"
|
||||
# Comment to post when marking an issue as stale. Set to `false` to disable
|
||||
markComment: >
|
||||
This issue has been automatically marked as stale because it has not had
|
||||
recent activity. It will be closed in 10 days if no further activity occurs. Thank you
|
||||
for your contributions.
|
||||
# Comment to post when closing a stale issue. Set to `false` to disable
|
||||
closeComment: false
|
||||
@@ -21,3 +21,6 @@ composer.lock
|
||||
vendor
|
||||
vendor-bin/**/vendor
|
||||
vendor-bin/**/composer.lock
|
||||
|
||||
# drone CI is in .drone.star, do not let someone accidentally commit a local .drone.yml
|
||||
.drone.yml
|
||||
+237
-1
@@ -1,4 +1,231 @@
|
||||
# Changes in unreleased
|
||||
# Changelog for [unreleased] (UNRELEASED)
|
||||
|
||||
The following sections list the changes for unreleased.
|
||||
|
||||
[unreleased]: https://github.com/owncloud/ocis/compare/v1.0.0...master
|
||||
|
||||
## Summary
|
||||
|
||||
* Change - Disable pretty logging by default: [#1133](https://github.com/owncloud/ocis/pull/1133)
|
||||
* Change - Add "volume" declaration to docker images: [#1375](https://github.com/owncloud/ocis/pull/1375)
|
||||
* Change - Add "expose" information to docker images: [#1366](https://github.com/owncloud/ocis/pull/1366)
|
||||
* Change - Generate cryptographically secure state token: [#1203](https://github.com/owncloud/ocis/pull/1203)
|
||||
* Change - Move k6 to cdperf: [#1358](https://github.com/owncloud/ocis/pull/1358)
|
||||
* Change - Update go version: [#1364](https://github.com/owncloud/ocis/pull/1364)
|
||||
* Change - Update ownCloud Web to v1.0.1: [#1191](https://github.com/owncloud/ocis/pull/1191)
|
||||
* Enhancement - Add OCIS_URL env var: [#1148](https://github.com/owncloud/ocis/pull/1148)
|
||||
* Enhancement - Use sync.cache for roles cache: [#1367](https://github.com/owncloud/ocis/pull/1367)
|
||||
* Enhancement - Add named locks and refactor cache: [#1212](https://github.com/owncloud/ocis/pull/1212)
|
||||
* Enhancement - Update reva to v1.5.1: [#1372](https://github.com/owncloud/ocis/pull/1372)
|
||||
* Enhancement - Update reva to v1.4.1-0.20210111080247-f2b63bfd6825: [#1194](https://github.com/owncloud/ocis/pull/1194)
|
||||
|
||||
## Details
|
||||
|
||||
* Change - Disable pretty logging by default: [#1133](https://github.com/owncloud/ocis/pull/1133)
|
||||
|
||||
Tags: ocis
|
||||
|
||||
Disable pretty logging default for performance reasons.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1133
|
||||
|
||||
* Change - Add "volume" declaration to docker images: [#1375](https://github.com/owncloud/ocis/pull/1375)
|
||||
|
||||
Tags: docker
|
||||
|
||||
Add "volume" declaration to docker images. This makes it easier for Docker users to see where
|
||||
oCIS stores data.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1375
|
||||
|
||||
* Change - Add "expose" information to docker images: [#1366](https://github.com/owncloud/ocis/pull/1366)
|
||||
|
||||
Tags: docker
|
||||
|
||||
Add "expose" information to docker images. Docker users will now see that we offer services on
|
||||
port 9200.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1366
|
||||
|
||||
* Change - Generate cryptographically secure state token: [#1203](https://github.com/owncloud/ocis/pull/1203)
|
||||
|
||||
Replaced Math.random with a cryptographically secure way to generate the oidc state token
|
||||
using the javascript crypto api.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1203
|
||||
https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues
|
||||
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random
|
||||
|
||||
* Change - Move k6 to cdperf: [#1358](https://github.com/owncloud/ocis/pull/1358)
|
||||
|
||||
Tags: performance, testing, k6
|
||||
|
||||
The ownCloud performance tests can not only be used to test ocis. This is why we have decided to
|
||||
move the k6 tests to https://github.com/owncloud/cdperf
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1358
|
||||
|
||||
* Change - Update go version: [#1364](https://github.com/owncloud/ocis/pull/1364)
|
||||
|
||||
Tags: go
|
||||
|
||||
Update go from 1.13 to 1.15
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1364
|
||||
|
||||
* Change - Update ownCloud Web to v1.0.1: [#1191](https://github.com/owncloud/ocis/pull/1191)
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v1.0.1. Please refer to the changelog (linked) for details on the web
|
||||
release.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1191
|
||||
https://github.com/owncloud/web/releases/tag/v1.0.1
|
||||
|
||||
* Enhancement - Add OCIS_URL env var: [#1148](https://github.com/owncloud/ocis/pull/1148)
|
||||
|
||||
Tags: ocis
|
||||
|
||||
We introduced a new environment variable `OCIS_URL` that expects a URL including protocol,
|
||||
host and optionally port to simplify configuring all the different services. These existing
|
||||
environment variables still take precedence, but will also fall back to `OCIS_URL`:
|
||||
`STORAGE_LDAP_IDP`, `STORAGE_OIDC_ISSUER`, `PROXY_OIDC_ISSUER`,
|
||||
`STORAGE_FRONTEND_PUBLIC_URL`, `KONNECTD_ISS`, `WEB_OIDC_AUTHORITY`, and
|
||||
`WEB_UI_CONFIG_SERVER`.
|
||||
|
||||
Some environment variables are now built dynamically if they are not set: -
|
||||
`STORAGE_DATAGATEWAY_PUBLIC_URL` defaults to `<STORAGE_FRONTEND_PUBLIC_URL>/data`,
|
||||
also falling back to `OCIS_URL` - `WEB_OIDC_METADATA_URL` defaults to
|
||||
`<WEB_OIDC_AUTHORITY>/.well-known/openid-configuration`, also falling back to
|
||||
`OCIS_URL`
|
||||
|
||||
Furthermore, the built in konnectd will generate an `identifier-registration.yaml` that
|
||||
uses the `KONNECTD_ISS` in the allowed `redirect_uris` and `origins`. It simplifies the
|
||||
default `https://localhost:9200` and remote deployment with `OCIS_URL` which is evaluated
|
||||
as a fallback if `KONNECTD_ISS` is not set.
|
||||
|
||||
An OCIS server can now be started on a remote machine as easy as
|
||||
`OCIS_URL=https://cloud.ocis.test PROXY_HTTP_ADDR=0.0.0.0:443 ocis server`.
|
||||
|
||||
Note that the `OCIS_DOMAIN` environment variable is not used by ocis, but by the docker
|
||||
containers.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1148
|
||||
|
||||
* Enhancement - Use sync.cache for roles cache: [#1367](https://github.com/owncloud/ocis/pull/1367)
|
||||
|
||||
Tags: ocis-pkg
|
||||
|
||||
Update ocis-pkg/roles cache to use ocis-pkg/sync cache
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1367
|
||||
|
||||
* Enhancement - Add named locks and refactor cache: [#1212](https://github.com/owncloud/ocis/pull/1212)
|
||||
|
||||
Tags: ocis-pkg, accounts
|
||||
|
||||
We had the case that we needed kind of a named locking mechanism which enables us to lock only
|
||||
under certain conditions. It's used in the indexer package where we do not need to lock
|
||||
everything, instead just lock the requested parts and differentiate between reads and
|
||||
writes.
|
||||
|
||||
This made it possible to entirely remove locks from the accounts service and move them to the
|
||||
ocis-pkg indexer. Another part of this refactor was to make the cache atomic and write tests for
|
||||
it.
|
||||
|
||||
- remove locking from accounts service - add sync package with named mutex - add named locking to
|
||||
indexer - move cache to sync package
|
||||
|
||||
https://github.com/owncloud/ocis/issues/966
|
||||
https://github.com/owncloud/ocis/pull/1212
|
||||
|
||||
* Enhancement - Update reva to v1.5.1: [#1372](https://github.com/owncloud/ocis/pull/1372)
|
||||
|
||||
Summary -------
|
||||
|
||||
* Fix #1401: Use the user in request for deciding the layout for non-home DAV requests
|
||||
* Fix #1413: Re-include the '.git' dir in the Docker images to pass the version tag
|
||||
* Fix #1399: Fix ocis trash-bin purge
|
||||
* Enh #1397: Bump the Copyright date to 2021
|
||||
* Enh #1398: Support site authorization status in Mentix
|
||||
* Enh #1393: Allow setting favorites, mtime and a temporary etag
|
||||
* Enh #1403: Support remote cloud gathering metrics
|
||||
|
||||
Details -------
|
||||
|
||||
* Bugfix #1401: Use the user in request for deciding the layout for non-home DAV requests
|
||||
|
||||
For the incoming /dav/files/userID requests, we have different namespaces depending on
|
||||
whether the request is for the logged-in user's namespace or not. Since in the storage drivers,
|
||||
we specify the layout depending only on the user whose resources are to be accessed, this fails
|
||||
when a user wants to access another user's namespace when the storage provider depends on the
|
||||
logged in user's namespace. This PR fixes that.
|
||||
|
||||
For example, consider the following case. The owncloud fs uses a layout {{substr 0 1
|
||||
.Id.OpaqueId}}/{{.Id.OpaqueId}}. The user einstein sends a request to access a resource
|
||||
shared with him, say /dav/files/marie/abcd, which should be allowed. However, based on the
|
||||
way we applied the layout, there's no way in which this can be translated to /m/marie/.
|
||||
|
||||
Https://github.com/cs3org/reva/pull/1401
|
||||
|
||||
* Bugfix #1413: Re-include the '.git' dir in the Docker images to pass the version tag
|
||||
|
||||
And git SHA to the release tool.
|
||||
|
||||
Https://github.com/cs3org/reva/pull/1413
|
||||
|
||||
* Bugfix #1399: Fix ocis trash-bin purge
|
||||
|
||||
Fixes the empty trash-bin functionality for ocis-storage
|
||||
|
||||
Https://github.com/owncloud/product/issues/254
|
||||
https://github.com/cs3org/reva/pull/1399
|
||||
|
||||
* Enhancement #1397: Bump the Copyright date to 2021
|
||||
|
||||
Https://github.com/cs3org/reva/pull/1397
|
||||
|
||||
* Enhancement #1398: Support site authorization status in Mentix
|
||||
|
||||
This enhancement adds support for a site authorization status to Mentix. This way, sites
|
||||
registered via a web app can now be excluded until authorized manually by an administrator.
|
||||
|
||||
Furthermore, Mentix now sets the scheme for Prometheus targets. This allows us to also support
|
||||
monitoring of sites that do not support the default HTTPS scheme.
|
||||
|
||||
Https://github.com/cs3org/reva/pull/1398
|
||||
|
||||
* Enhancement #1393: Allow setting favorites, mtime and a temporary etag
|
||||
|
||||
We now let the ocis driver persist favorites, set temporary etags and the mtime as arbitrary
|
||||
metadata.
|
||||
|
||||
Https://github.com/owncloud/ocis/issues/567
|
||||
https://github.com/cs3org/reva/issues/1394
|
||||
https://github.com/cs3org/reva/pull/1393
|
||||
|
||||
* Enhancement #1403: Support remote cloud gathering metrics
|
||||
|
||||
The current metrics package can only gather metrics either from json files. With this feature,
|
||||
the metrics can be gathered polling the http endpoints exposed by the owncloud/nextcloud
|
||||
sciencemesh apps.
|
||||
|
||||
Https://github.com/cs3org/reva/pull/1403
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1372
|
||||
|
||||
* Enhancement - Update reva to v1.4.1-0.20210111080247-f2b63bfd6825: [#1194](https://github.com/owncloud/ocis/pull/1194)
|
||||
|
||||
* Enhancement: calculate and expose actual file permission set [cs3org/reva#1368](https://github.com/cs3org/reva/pull/1368)
|
||||
* initial range request support [cs3org/reva#1326](https://github.com/cs3org/reva/pull/1388)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1194
|
||||
https://github.com/cs3org/reva/pull/1368
|
||||
https://github.com/cs3org/reva/pull/1388
|
||||
# Changelog for [1.0.0] (2020-12-17)
|
||||
|
||||
The following sections list the changes for 1.0.0.
|
||||
|
||||
## Summary
|
||||
|
||||
@@ -108,6 +335,7 @@
|
||||
* Enhancement - Update reva to cdb3d6688da5: [#748](https://github.com/owncloud/ocis/pull/748)
|
||||
* Enhancement - Update reva to dd3a8c0f38: [#725](https://github.com/owncloud/ocis/pull/725)
|
||||
* Enhancement - Update reva to v1.4.1-0.20201127111856-e6a6212c1b7b: [#971](https://github.com/owncloud/ocis/pull/971)
|
||||
* Enhancement - Update reva to 063b3db9162b: [#1091](https://github.com/owncloud/ocis/pull/1091)
|
||||
* Enhancement - Add www-authenticate based on user agent: [#1009](https://github.com/owncloud/ocis/pull/1009)
|
||||
|
||||
## Details
|
||||
@@ -1962,6 +2190,14 @@
|
||||
https://github.com/cs3org/reva/pull/1331
|
||||
https://github.com/cs3org/reva/pull/1342
|
||||
|
||||
* Enhancement - Update reva to 063b3db9162b: [#1091](https://github.com/owncloud/ocis/pull/1091)
|
||||
|
||||
- bring public link removal changes to OCIS. - fix subcommand name collision from renaming
|
||||
phoenix -> web.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/1098
|
||||
https://github.com/owncloud/ocis/pull/1091
|
||||
|
||||
* Enhancement - Add www-authenticate based on user agent: [#1009](https://github.com/owncloud/ocis/pull/1009)
|
||||
|
||||
Tags: reva, proxy
|
||||
|
||||
+2
-2
@@ -1,11 +1,11 @@
|
||||
FROM webhippie/golang:1.14 as build
|
||||
FROM webhippie/golang:1.15 as build
|
||||
|
||||
COPY ./ /ocis/
|
||||
ENV CGO_ENABLED=0
|
||||
ENV GOOS=linux
|
||||
|
||||
RUN apk update && \
|
||||
apk upgrade && \
|
||||
apk upgrade --ignore musl-dev && \
|
||||
apk add make gcc bash && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
|
||||
@@ -12,6 +12,21 @@ WHITE := $(shell tput -Txterm setaf 7)
|
||||
|
||||
RESET := $(shell tput -Txterm sgr0)
|
||||
|
||||
OCIS_MODULES = \
|
||||
accounts \
|
||||
glauth \
|
||||
konnectd \
|
||||
ocis \
|
||||
ocis-pkg \
|
||||
ocs \
|
||||
onlyoffice \
|
||||
proxy \
|
||||
settings \
|
||||
storage \
|
||||
store \
|
||||
thumbnails \
|
||||
web \
|
||||
webdav
|
||||
|
||||
.PHONY: help
|
||||
help:
|
||||
@@ -63,3 +78,22 @@ vendor-bin/behat/composer.lock: vendor-bin/behat/composer.json
|
||||
|
||||
composer.lock: composer.json
|
||||
@echo composer.lock is not up to date.
|
||||
|
||||
.PHONY: go-mod-tidy
|
||||
go-mod-tidy:
|
||||
@for mod in $(OCIS_MODULES); do \
|
||||
$(MAKE) --no-print-directory -C $$mod go-mod-tidy; \
|
||||
done
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
@for mod in $(OCIS_MODULES); do \
|
||||
$(MAKE) --no-print-directory -C $$mod test; \
|
||||
done
|
||||
|
||||
.PHONY: go-coverage
|
||||
go-coverage:
|
||||
@if [ ! -f coverage.out ]; then $(MAKE) test &>/dev/null; fi;
|
||||
@for mod in $(OCIS_MODULES); do \
|
||||
echo -n "% coverage $$mod: "; $(MAKE) --no-print-directory -C $$mod go-coverage; \
|
||||
done
|
||||
@@ -1,12 +1,12 @@
|
||||
# ownCloud Infinite Scale
|
||||
|
||||
[](https://talk.owncloud.com/channel/infinitescale)
|
||||
[](https://drone.owncloud.com/owncloud/ocis)
|
||||
[](https://gitter.im/cs3org/reva)
|
||||
[](https://www.codacy.com/gh/owncloud/ocis/dashboard?utm_source=github.com&utm_medium=referral&utm_content=owncloud/ocis&utm_campaign=Badge_Grade)
|
||||
[](https://www.codacy.com/gh/owncloud/ocis/dashboard?utm_source=github.com&utm_medium=referral&utm_content=owncloud/ocis&utm_campaign=Badge_Coverage)
|
||||
[](http://godoc.org/github.com/owncloud/ocis)
|
||||
[](https://sonarcloud.io/dashboard?id=owncloud_ocis)
|
||||
[](https://sonarcloud.io/dashboard?id=owncloud_ocis)
|
||||
[](https://goreportcard.com/report/github.com/owncloud/ocis)
|
||||
[](https://hub.docker.com/r/owncloud/ocis "oCIS docker image")
|
||||
[](http://godoc.org/github.com/owncloud/ocis)
|
||||
[](https://hub.docker.com/r/owncloud/ocis)
|
||||
|
||||
**ownCloud Infinite Scale is currently in a technical preview state. It will be subject to a lot of changes and is not yet ready for general production deployments.**
|
||||
|
||||
|
||||
@@ -64,6 +64,10 @@ clean:
|
||||
go clean -i ./...
|
||||
rm -rf $(BIN) $(DIST) $(HUGO)
|
||||
|
||||
.PHONY: go-mod-tidy
|
||||
go-mod-tidy:
|
||||
@go mod tidy
|
||||
|
||||
.PHONY: fmt
|
||||
fmt:
|
||||
gofmt -s -w $(SOURCES)
|
||||
@@ -92,6 +96,11 @@ changelog:
|
||||
test:
|
||||
go run github.com/haya14busa/goverage -v -coverprofile coverage.out $(PACKAGES)
|
||||
|
||||
.PHONY: go-coverage
|
||||
go-coverage:
|
||||
@if [ ! -f coverage.out ]; then $(MAKE) test &>/dev/null; fi;
|
||||
@go tool cover -func coverage.out | tail -1 | grep -Eo "[0-9]+\.[0-9]+"
|
||||
|
||||
.PHONY: install
|
||||
install: $(SOURCES)
|
||||
go install -v -tags '$(TAGS)' -ldflags '$(LDFLAGS)' ./cmd/$(NAME)
|
||||
|
||||
+2
-2
@@ -1,13 +1,13 @@
|
||||
module github.com/owncloud/ocis/accounts
|
||||
|
||||
go 1.13
|
||||
go 1.15
|
||||
|
||||
require (
|
||||
contrib.go.opencensus.io/exporter/jaeger v0.2.1
|
||||
contrib.go.opencensus.io/exporter/ocagent v0.6.0
|
||||
contrib.go.opencensus.io/exporter/zipkin v0.1.1
|
||||
github.com/cs3org/go-cs3apis v0.0.0-20201118090759-87929f5bae21
|
||||
github.com/cs3org/reva v1.4.1-0.20201216095137-5207197217f1
|
||||
github.com/cs3org/reva v1.5.1
|
||||
github.com/go-chi/chi v4.1.2+incompatible
|
||||
github.com/go-chi/render v1.0.1
|
||||
github.com/gofrs/uuid v3.3.0+incompatible
|
||||
|
||||
+4
-4
@@ -185,10 +185,10 @@ github.com/cs3org/go-cs3apis v0.0.0-20201118090759-87929f5bae21 h1:mZpylrgnCgSea
|
||||
github.com/cs3org/go-cs3apis v0.0.0-20201118090759-87929f5bae21/go.mod h1:UXha4TguuB52H14EMoSsCqDj7k8a/t7g4gVP+bgY5LY=
|
||||
github.com/cs3org/reva v1.2.2-0.20200924071957-e6676516e61e h1:khITGSnfDXtByQsLezoXgocUgGHJBBn0BPsUihGvk7w=
|
||||
github.com/cs3org/reva v1.2.2-0.20200924071957-e6676516e61e/go.mod h1:DOV5SjpOBKN+aWfOHLdA4KiLQkpyC786PQaXEdRAZ0M=
|
||||
github.com/cs3org/reva v1.4.1-0.20201209113234-e791b5599a89 h1:FV4bVGg+22YVyWXlj5VG35/fESoOZBokZiOH2E69PiU=
|
||||
github.com/cs3org/reva v1.4.1-0.20201209113234-e791b5599a89/go.mod h1:abC1Lo0ZKwkKloomTPZWunV/lUJvewkty1pI41zn2Ic=
|
||||
github.com/cs3org/reva v1.4.1-0.20201216095137-5207197217f1 h1:bTNyWMz+9x4JddkxUeuYkmCGL6tbLkUunbmW3Q0Nah8=
|
||||
github.com/cs3org/reva v1.4.1-0.20201216095137-5207197217f1/go.mod h1:abC1Lo0ZKwkKloomTPZWunV/lUJvewkty1pI41zn2Ic=
|
||||
github.com/cs3org/reva v1.4.1-0.20210111080247-f2b63bfd6825 h1:U6pAVGTjesstz+EXd8+YpIG1xwKH1ovOXdWrMCvnopw=
|
||||
github.com/cs3org/reva v1.4.1-0.20210111080247-f2b63bfd6825/go.mod h1:abC1Lo0ZKwkKloomTPZWunV/lUJvewkty1pI41zn2Ic=
|
||||
github.com/cs3org/reva v1.5.1 h1:GebunCjhHfA3lFLXjQT+3jOUjEXUubk9sr3otOIDGac=
|
||||
github.com/cs3org/reva v1.5.1/go.mod h1:abC1Lo0ZKwkKloomTPZWunV/lUJvewkty1pI41zn2Ic=
|
||||
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
|
||||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
"@rollup/plugin-json": "^4.0.1",
|
||||
"@rollup/plugin-replace": "^2.3.0",
|
||||
"archiver": "^4.0.1",
|
||||
"axios": "^0.19.0",
|
||||
"axios": "^0.21.1",
|
||||
"core-js": "3",
|
||||
"cross-env": "^6.0.3",
|
||||
"cucumber": "^6.0.5",
|
||||
@@ -54,6 +54,7 @@
|
||||
"nightwatch": "^1.3.6",
|
||||
"nightwatch-api": "^3.0.1",
|
||||
"node-fetch": "^2.6.1",
|
||||
"nightwatch-vrt": "^0.2.10",
|
||||
"qs": "^6.9.1",
|
||||
"rimraf": "^3.0.0",
|
||||
"rollup": "^1.28.0",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Code generated by fileb0x at "2020-12-14 14:27:58.090538 +0100 CET m=+0.010488513" from config file "embed.yml" DO NOT EDIT.
|
||||
// modification hash(e0a1cb05b46e7cba16306ad1f78aee1c.8058aec596c5fb73022d09bb97af796e)
|
||||
// Code generated by fileb0x at "2021-01-13 08:23:16.044077 +0100 CET m=+0.009014926" from config file "embed.yml" DO NOT EDIT.
|
||||
// modification hash(c8fdaaee3828640ec93899c4406b029b.8058aec596c5fb73022d09bb97af796e)
|
||||
|
||||
package assets
|
||||
|
||||
@@ -36,7 +36,7 @@ type HTTPFS struct {
|
||||
}
|
||||
|
||||
// FileAccountsJs is "accounts.js"
|
||||
var FileAccountsJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\xeb\x72\xdb\x38\xb7\x28\xf8\x7b\xf6\x53\x48\xdc\xfd\x71\x03\xad\x65\x45\x4a\xfa\x4a\x05\xad\xcf\x49\x9c\x4b\x77\x12\xa7\x63\x27\xdd\x69\xb5\xb6\x8b\xa6\x20\x1b\xb1\x04\x28\x20\xe4\x4b\x24\xce\xfb\xcc\x6b\xcc\x93\x4d\xe1\x46\x82\x14\x95\xee\x6f\x9f\x7d\x4e\x9d\xa9\x99\x2a\x97\x45\x82\xb8\x2e\x00\xeb\x86\xb5\x16\x66\x74\xce\x38\x45\x68\xbe\xe6\x99\x62\x82\x23\xbc\x89\xd6\x39\xed\xe4\x4a\xb2\x4c\x45\xa3\xeb\x54\x76\x14\x89\xd6\xdc\x66\x9c\x45\x5d\xa2\xee\x56\x54\xcc\x3b\x17\x0b\x71\x9e\x2e\x4e\x2f\x59\x3e\xae\x1e\x93\xb6\x9c\x37\x8c\xcf\xc4\xcd\xd8\xfe\xb4\xe6\xb0\x15\xb8\x7a\x5a\x73\xe4\x74\x31\x1f\xeb\x7f\xc9\xa6\x18\xf9\xce\x76\x28\x52\x40\xf1\x46\x52\xb5\x96\xbc\xa3\x10\x25\x1b\x7a\xbb\x12\x52\xe5\xc9\xa6\x28\x80\xf6\xdd\x1b\xae\x1e\x0b\x3d\x22\x4e\xc2\x21\x2b\xbc\xd1\x89\x94\xec\xa6\x1c\x9f\x7f\xa4\x99\xea\xaf\xa4\x50\x42\xf7\x04\x38\xa1\xfd\xcb\x34\x3f\xbe\xe1\x6f\xa4\x58\x51\xa9\xee\x40\x92\xc8\x17\x8c\x88\xef\xef\xc9\xdd\xf2\x5c\x2c\xc6\xf6\x27\xd9\x14\x20\x88\xec\x33\x45\x65\xaa\x84\xdc\x6e\xa3\x7f\xfe\xd3\xbf\x44\xc0\x88\xec\xa7\xf9\x1d\xcf\x5e\x84\xdf\x6b\x29\x11\xa4\x44\xf6\x95\x38\x51\x92\xf1\x8b\xd3\xf4\xc2\x64\x09\xde\xa3\x0a\x28\x99\x06\x0a\xf0\x12\x2c\x6e\x0c\x16\xa4\xbe\xd7\x26\xcf\xe6\x3a\x5d\xac\x69\xc2\x81\xf2\xf5\x92\xca\xf4\x7c\x41\x93\xee\x00\x32\xc1\xe7\xec\x62\x5d\xbe\xdf\x48\xa6\xdc\x73\x81\x41\x4d\xe8\xb4\x50\xf2\x6e\x93\xa1\x4d\x01\x51\x84\x8b\x2c\x55\xd9\xa5\x86\x59\x16\x40\xb0\xd6\x05\x5d\x86\xf0\xa2\x28\xfb\x98\xdb\x0c\x20\x2d\xa0\x05\xa1\x71\x4c\x2b\x30\x77\x18\xcf\x55\xca\x33\x0d\xc9\xf9\x98\x26\x73\x60\x7e\x2a\x32\x49\x53\x45\x91\xa8\x32\x63\x48\x09\xa7\x37\x9d\x23\x24\xb7\xdb\xc9\x14\x8f\x5c\xa3\xac\x7f\xc6\xf8\xb5\xb8\xa2\x3b\xbd\xd2\x4d\x4a\x12\xe5\xeb\x7c\x45\xf9\x8c\xce\x4e\x54\x2a\x55\xe4\xcb\x95\xb9\x05\x30\xbc\x61\x73\x14\xd1\x5b\x9a\xad\x15\xe3\x17\x11\x21\x44\x62\x75\x29\xc5\x4d\xc7\x34\x29\xa5\x90\x28\x7a\x46\xb9\x9d\xa6\x0e\xcb\x3b\xe9\x42\xd2\x74\x76\xd7\x91\x6b\xce\x75\x11\x3c\xd2\x55\x64\x62\xb9\x5a\x50\x45\x67\xb6\x0a\x53\xad\xa9\x47\xbf\x0b\x57\x25\xf3\x5d\x38\x41\xb8\x98\x0b\x89\x78\x7f\x49\xd5\xa5\x98\x11\x01\xbc\x9f\xca\x0b\xc2\x46\x23\xdb\xfd\x94\xf0\xfe\x8c\x2e\xe8\x45\xaa\xa8\x6e\x20\xb5\xc9\x19\xb9\x41\x29\x70\xd3\x66\x66\x5a\xc9\x08\x21\x0b\x9c\x09\xae\x18\x5f\x53\xdf\x40\x56\x14\xba\x07\x9c\xde\x2a\xdd\x01\xdf\x0e\xe6\xfd\x9c\x72\x45\x78\xff\xcc\xfd\xa6\xf2\x62\x44\x17\x39\xed\xd4\x3a\x5c\xe6\x37\xe3\x68\xc0\x31\x80\x91\x24\xc1\xc0\xed\x10\x46\xbc\x3f\x63\xf9\x4a\x2f\x99\xa3\xdb\x8c\xae\x0c\xa4\xcd\x17\x5c\xe8\x86\x22\xdb\xc3\xb0\x95\x38\xe6\xfd\xf4\x5c\xae\x57\x0a\xf9\xaf\xb6\x2e\x3c\x92\x24\x98\x1c\x83\xac\x72\xb2\x76\xd3\x6c\xe0\xce\x85\x5c\xa6\x0b\x5d\x5b\xde\x37\x8b\x45\xf7\x58\x6a\xe0\x09\x4e\xc7\x41\xef\x92\x6a\x18\x1f\x18\x5d\xcc\x22\xc8\x0d\xc4\x5b\xa0\xe7\xb6\x8d\xf9\x0e\xba\x9e\xc4\x56\x57\x14\x15\x84\x6c\x6b\x71\x8c\x9a\x20\x70\x13\xea\x72\xba\x69\xcd\xed\xf8\x8b\x02\x29\xe0\x90\x62\x60\xd5\x56\xf1\xc3\xd9\xe8\x3d\xe7\x3a\xa0\xeb\x4e\xfc\xd8\x20\x95\x17\x89\xea\x67\xe9\x62\x81\x74\xc6\xa2\xda\x90\xb5\xec\xae\x45\x93\xbb\x28\x0a\xd5\xbf\x91\xe9\x8a\xe4\x06\x6a\x0b\x12\xa2\xd5\x39\xc2\x9b\xaa\x03\xb3\xda\xdb\x4a\xbf\xe9\x22\x97\xba\xc8\xe5\x44\x4c\x49\x40\x3b\xfc\x7e\xbf\x64\x79\x61\x2a\x5e\xfa\x7d\x7b\x41\xd5\x1b\xbf\x63\x8f\xe7\x70\x4d\x96\x71\xbc\x44\x4b\x74\x8c\x26\x53\x8c\xf1\xe8\x3a\x8e\xaf\xbb\x44\xe3\x01\x6e\x87\x72\x0d\x02\xc7\x31\xba\x24\xd7\xd8\xd4\x74\x41\x56\xd5\x9e\x27\xf3\xe0\xb9\x8e\x19\x2e\x71\x35\x90\x3b\x0d\x84\x89\x5d\xe6\xe0\x01\xe0\xd7\xd0\xb4\x3f\x17\xf2\x28\xcd\x2e\x03\x52\x40\xf1\xc6\xa2\xcf\x1a\x75\x08\x46\xe5\x71\x0a\xa2\xa0\x70\x81\xcd\x5f\xd9\xdc\xb9\x25\x47\x06\xbd\x8c\xc2\xdc\xa4\x8e\x53\xca\x02\x69\x05\x32\x8d\x4e\x42\xa2\x24\x21\xc5\x9b\x6e\x99\x53\xea\x92\x90\x42\x66\xab\x37\xab\x7c\x22\xa6\xa0\x80\xd9\x85\x6e\x07\xd7\xad\xd6\xb9\x9d\x56\xbb\x48\xe7\x64\xd1\x37\x8b\xb6\xc4\x71\x71\x1c\x09\x03\xb6\x8a\x64\xcd\x4b\xd0\xcf\x21\x3a\x3b\x4b\x6f\x52\xa6\x22\x3c\xa6\x7d\x49\x73\xb1\xb8\xa6\x68\xde\x77\xa9\xb8\xaf\x2e\x29\xaf\x53\x50\xe9\xb0\x09\x28\xd3\xcb\x02\x43\xf3\xb3\x03\xbf\xff\x8e\x93\xa0\xe6\xb6\x1a\x5d\x97\x89\x82\x14\x2d\x76\x2b\xb4\x03\x69\xa9\xb7\xc8\x90\xdb\x4f\x06\x66\x1a\x90\x3a\xd5\x17\x20\x72\x2c\x6d\x6b\x29\xa4\x38\x49\x11\x0e\xe8\xd2\x4d\x35\x83\x9c\xa8\x92\x60\x4f\xa8\xdb\xb7\x53\x0d\xeb\x6b\xc1\x66\x9d\x81\x46\x50\x06\x9b\xd0\x12\x11\x13\xbe\x5e\x2c\xa0\x42\x02\x34\x44\x93\x55\x6d\x7d\xdb\x95\x38\x46\xb4\x44\x07\x1e\xaf\x51\x83\x0f\x6c\x0b\x60\x7b\xd3\x56\x21\x76\xa3\x59\x8c\x68\x13\xa3\xd8\x1a\xf4\x72\x3a\xbd\x5b\x51\x47\xa1\x4e\x2f\x69\xc7\x37\xdf\x99\x09\x9a\x77\xb8\x50\x9d\x95\x14\xd7\x6c\x46\x3b\x69\xe7\x3f\x4c\xe1\xff\xe8\xd8\xba\xa2\x12\x5a\x8b\xc2\xd2\xca\x35\xe2\x50\x0d\xc0\xb6\x11\xae\x3b\x8d\xf3\xed\xba\x73\x05\xf7\x74\x4b\x9a\xe5\xd8\x84\xd8\x62\x64\x99\x00\xf3\xd5\x2f\x51\x31\x16\x16\x49\x23\x3a\x51\x7a\xa5\xac\x17\xea\x75\xba\xa4\x53\x22\xec\xc2\x00\xda\xd7\x2b\x8e\x28\xf3\xf3\x52\x64\xe5\xce\xee\x56\xLine truncated
|
||||
var FileAccountsJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\xeb\x72\xdb\x38\xb7\x28\xf8\x7b\xf6\x53\x48\xdc\xfd\x71\x03\xad\x65\x45\x4a\xfa\x4a\x05\xad\xcf\x49\x9c\x74\xba\x93\x38\x6d\x3b\xe9\x8b\x5a\xdb\x45\x53\x90\x8d\x58\x02\x14\x10\xf2\x25\x12\xe7\x7d\xe6\x35\xe6\xc9\xa6\x70\x23\x41\x8a\x4a\xf7\xb7\xcf\x3e\xa7\xce\xd4\x4c\x95\xcb\x22\x41\x5c\x17\x80\x75\xc3\x5a\x0b\x33\x3a\x67\x9c\x22\x34\x5f\xf3\x4c\x31\xc1\x11\xde\x44\xeb\x9c\x76\x72\x25\x59\xa6\xa2\xd1\x4d\x2a\x3b\x8a\x44\x6b\x6e\x33\xce\xa2\x2e\x51\xf7\x2b\x2a\xe6\x9d\xcb\x85\xb8\x48\x17\x67\x57\x2c\x1f\x57\x8f\x49\x5b\xce\x5b\xc6\x67\xe2\x76\x6c\x7f\x5a\x73\xd8\x0a\x5c\x3d\xad\x39\x72\xba\x98\x8f\xf5\xbf\x64\x53\x8c\x7c\x67\x3b\x14\x29\xa0\x78\x23\xa9\x5a\x4b\xde\x51\x88\x92\x0d\xbd\x5b\x09\xa9\xf2\x64\x53\x14\x40\xfb\xee\x0d\x57\x8f\x85\x1e\x11\x27\xe1\x90\x15\xde\xe8\x44\x4a\x76\x53\x8e\x2f\x3e\xd0\x4c\xf5\x57\x52\x28\xa1\x7b\x02\x9c\xd0\xfe\x55\x9a\x1f\xdf\xf2\xb7\x52\xac\xa8\x54\xf7\x20\x49\xe4\x0b\x46\xc4\xf7\xf7\xf4\x7e\x79\x21\x16\x63\xfb\x93\x6c\x0a\x10\x44\xf6\x99\xa2\x32\x55\x42\x6e\xb7\xd1\x3f\xff\xe9\x5f\x22\x60\x44\xf6\xd3\xfc\x9e\x67\x2f\xc3\xef\xb5\x94\x08\x52\x22\xfb\x4a\x9c\x2a\xc9\xf8\xe5\x59\x7a\x69\xb2\x04\xef\x51\x05\x94\x4c\x03\x05\x78\x09\x16\x37\x06\x0b\x52\xdf\x6b\x93\x67\x73\x93\x2e\xd6\x34\xe1\x40\xf9\x7a\x49\x65\x7a\xb1\xa0\x49\x77\x00\x99\xe0\x73\x76\xb9\x2e\xdf\x6f\x25\x53\xee\xb9\xc0\xa0\x26\x74\x5a\x28\x79\xbf\xc9\xd0\xa6\x80\x28\xc2\x45\x96\xaa\xec\x4a\xc3\x2c\x0b\x20\x58\xeb\x82\x2e\x43\x78\x51\x94\x7d\xcc\x6d\x06\x90\x16\xd0\x82\xd0\x38\xa6\x15\x98\x3b\x8c\xe7\x2a\xe5\x99\x86\xe4\x7c\x4c\x93\x39\x30\x3f\x15\x99\xa4\xa9\xa2\x48\x54\x99\x31\xa4\x84\xd3\xdb\xce\x11\x92\xdb\xed\x64\x8a\x47\xae\x51\xd6\x3f\x67\xfc\x46\x5c\xd3\x9d\x5e\xe9\x26\x25\x89\xf2\x75\xbe\xa2\x7c\x46\x67\xa7\x2a\x95\x2a\xf2\xe5\xca\xdc\x02\x18\xde\xb0\x39\x8a\xe8\x1d\xcd\xd6\x8a\xf1\xcb\x88\x10\x22\xb1\xba\x92\xe2\xb6\x63\x9a\x94\x52\x48\x14\xbd\xa0\xdc\x4e\x53\x87\xe5\x9d\x74\x21\x69\x3a\xbb\xef\xc8\x35\xe7\xba\x08\x1e\xe9\x2a\x32\xb1\x5c\x2d\xa8\xa2\x33\x5b\x85\xa9\xd6\xd4\xa3\xdf\x85\xab\x92\xf9\x2e\x9c\x22\x5c\xcc\x85\x44\xbc\xbf\xa4\xea\x4a\xcc\x88\x00\xde\x4f\xe5\x25\x61\xa3\x91\xed\x7e\x4a\x78\x7f\x46\x17\xf4\x32\x55\x54\x37\x90\xda\xe4\x8c\xdc\xa2\x14\xb8\x69\x33\x33\xad\x64\x84\x90\x05\xce\x04\x57\x8c\xaf\xa9\x6f\x20\x2b\x0a\xdd\x03\x4e\xef\x94\xee\x80\x6f\x07\xf3\x7e\x4e\xb9\x22\xbc\x7f\xee\x7e\x53\x79\x39\xa2\x8b\x9c\x76\x6a\x1d\x2e\xf3\x9b\x71\x34\xe0\x18\xc0\x48\x92\x60\xe0\x76\x08\x23\xde\x9f\xb1\x7c\xa5\x97\xcc\xd1\x5d\x46\x57\x06\xd2\xe6\x0b\x2e\x74\x43\x91\xed\x61\xd8\x4a\x1c\xf3\x7e\x7a\x21\xd7\x2b\x85\xfc\x57\x5b\x17\x1e\x49\x12\x4c\x8e\x41\x56\x39\x59\xbb\x69\x36\x70\xe7\x42\x2e\xd3\x85\xae\x2d\xef\x9b\xc5\xa2\x7b\x2c\x35\xf0\x04\xa7\xe3\xa0\x77\x49\x35\x8c\xdf\x19\x5d\xcc\x22\xc8\x0d\xc4\x5b\xa0\xe7\xb6\x8d\xf9\x0e\xba\x9e\xc4\x56\x57\x14\x15\x84\x6c\x6b\x71\x8c\x9a\x20\x70\x13\xea\x72\xba\x69\xcd\xed\xf8\x8b\x02\x29\xe0\x90\x62\x60\xd5\x56\xf1\xc3\xd9\xe8\x3d\xe7\x3a\xa0\xeb\x4e\xfc\xd8\x20\x95\x97\x89\xea\x67\xe9\x62\x81\x74\xc6\xa2\xda\x90\xb5\xec\xae\x45\x93\xbb\x28\x0a\xd5\xbf\x95\xe9\x8a\xe4\x06\x6a\x0b\x12\xa2\xd5\x39\xc2\x9b\xaa\x03\xb3\xda\xdb\x4a\xbf\xe9\x22\x57\xba\xc8\xd5\x44\x4c\x49\x40\x3b\xfc\x7e\xbf\x62\x79\x61\x2a\x5e\xfa\x7d\x7b\x49\xd5\x5b\xbf\x63\x8f\xe7\x70\x43\x96\x71\xbc\x44\x4b\x74\x8c\x26\x53\x8c\xf1\xe8\x26\x8e\x6f\xba\x44\xe3\x01\x6e\x87\x72\x03\x02\xc7\x31\xba\x22\x37\xd8\xd4\x74\x49\x56\xd5\x9e\x27\xf3\xe0\xb9\x8e\x19\xae\x70\x35\x90\x7b\x0d\x84\x89\x5d\xe6\xe0\x01\xe0\xd7\xd0\xb4\x3f\x17\xf2\x28\xcd\xae\x02\x52\x40\xf1\xc6\xa2\xcf\x1a\x75\x08\x46\xe5\x71\x0a\xa2\xa0\x70\x81\xcd\x5f\xd9\xdc\x85\x25\x47\x06\xbd\x8c\xc2\xdc\xa4\x8e\x53\xca\x02\x69\x05\x32\x8d\x4e\x42\xa2\x24\x21\xc5\x9b\x6e\x99\x53\xea\x92\x90\x42\x66\xab\x37\xab\x7c\x22\xa6\xa0\x80\xd9\x85\x6e\x07\xd7\xad\xd6\xb9\x9d\x56\xbb\x48\xe7\x64\xd1\x37\x8b\xb6\xc4\x71\x71\x1c\x09\x03\xb6\x8a\x64\xcd\x4b\xd0\xcf\x21\x3a\x3f\x4f\x6f\x53\xa6\x22\x3c\xa6\x7d\x49\x73\xb1\xb8\xa1\x68\xde\x77\xa9\xb8\xaf\xae\x28\xaf\x53\x50\xe9\xb0\x09\x28\xd3\xcb\x02\x43\xf3\xb3\x03\xbf\xff\x8e\x93\xa0\xe6\xb6\x1a\x5d\x97\x89\x82\x14\x2d\x76\x2b\xb4\x03\x69\xa9\xb7\xc8\x90\xdb\x4f\x06\x66\x1a\x90\x3a\xd5\x17\x20\x72\x2c\x6d\x6b\x29\xa4\x38\x49\x11\x0e\xe8\xd2\x6d\x35\x83\x9c\xa8\x92\x60\x4f\xa8\xdb\xb7\x53\x0d\xeb\x1b\xc1\x66\x9d\x81\x46\x50\x06\x9b\xd0\x12\x11\x13\xbe\x5e\x2c\xa0\x42\x02\x34\x44\x93\x55\x6d\x7d\xdb\x95\x38\x46\xb4\x44\x07\x1e\xaf\x51\x83\x0f\x6c\x0b\x60\x7b\xd3\x56\x21\x76\xa3\x59\x8c\x68\x13\xa3\xd8\x1a\xf4\x72\x3a\xbb\x5f\x51\x47\xa1\xce\xae\x68\xc7\x37\xdf\x99\x09\x9a\x77\xb8\x50\x9d\x95\x14\x37\x6c\x46\x3b\x69\xe7\x3f\x4c\xe1\xff\xe8\xd8\xba\xa2\x12\x5a\x8b\xc2\xd2\xca\x35\xe2\x50\x0d\xc0\xb6\x11\xae\x3b\x8d\xf3\xed\xba\x73\x05\xf7\x74\x4b\x9a\xe5\xd8\x84\xd8\x62\x64\x99\x00\xf3\xd5\x2f\x51\x31\x16\x16\x49\x23\x3a\x51\x7a\xa5\xac\x17\xea\x4d\xba\xa4\x53\x22\xec\xc2\x00\xda\xd7\x2b\x8e\x28\xf3\xf3\x4a\x64\xe5\xce\xee\x56\xLine truncated
|
||||
|
||||
func init() {
|
||||
err := CTX.Err()
|
||||
|
||||
@@ -6,12 +6,11 @@ import (
|
||||
"crypto/sha256"
|
||||
"encoding/hex"
|
||||
"fmt"
|
||||
"github.com/owncloud/ocis/ocis-pkg/cache"
|
||||
"github.com/owncloud/ocis/ocis-pkg/sync"
|
||||
"golang.org/x/crypto/bcrypt"
|
||||
"path"
|
||||
"regexp"
|
||||
"strconv"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/owncloud/ocis/ocis-pkg/log"
|
||||
@@ -33,11 +32,8 @@ import (
|
||||
"google.golang.org/protobuf/types/known/timestamppb"
|
||||
)
|
||||
|
||||
// accLock mutually exclude readers from writers on account files
|
||||
var accLock sync.Mutex
|
||||
|
||||
// passwordValidCache caches basic auth password validations
|
||||
var passwordValidCache = cache.NewCache(cache.Size(1024))
|
||||
var passwordValidCache = sync.NewCache(1024)
|
||||
|
||||
// passwordValidCacheExpiration defines the entry lifetime
|
||||
const passwordValidCacheExpiration = 10 * time.Minute
|
||||
@@ -133,9 +129,6 @@ func (s Service) ListAccounts(ctx context.Context, in *proto.ListAccountsRequest
|
||||
}
|
||||
onlySelf := hasSelf && !hasManagement
|
||||
|
||||
accLock.Lock()
|
||||
defer accLock.Unlock()
|
||||
|
||||
teardownServiceUser := s.serviceUserToIndex()
|
||||
defer teardownServiceUser()
|
||||
match, authRequest := getAuthQueryMatch(in.Query)
|
||||
@@ -172,11 +165,8 @@ func (s Service) ListAccounts(ctx context.Context, in *proto.ListAccountsRequest
|
||||
// - it checks if the cache already contains an entry that matches found account Id // account PasswordProfile.LastPasswordChangeDateTime (k)
|
||||
// - if no entry exists it runs the bcrypt.CompareHashAndPassword as before and if everything is ok it stores the
|
||||
// result by the (k) as key and (v) as value. If not it errors
|
||||
// - if a entry is found it checks if the given value matches (v). If it doesnt match the cache entry gets removed
|
||||
// - if a entry is found it checks if the given value matches (v). If it doesnt match, the cache entry gets removed
|
||||
// and it errors.
|
||||
//
|
||||
// if many concurrent requests from the same user come in within a short period of time, it's possible that e is still nil.
|
||||
// This is why all this needs to be wrapped within a sync.Mutex locking to prevent calling bcrypt.CompareHashAndPassword unnecessarily too often.
|
||||
{
|
||||
var suspicious bool
|
||||
|
||||
@@ -188,7 +178,7 @@ func (s Service) ListAccounts(ctx context.Context, in *proto.ListAccountsRequest
|
||||
vh.Write([]byte(a.PasswordProfile.Password))
|
||||
v := vh.Sum([]byte(password))
|
||||
|
||||
e := passwordValidCache.Get(k)
|
||||
e := passwordValidCache.Load(k)
|
||||
|
||||
if e == nil {
|
||||
suspicious = !isPasswordValid(s.log, a.PasswordProfile.Password, password)
|
||||
@@ -197,12 +187,12 @@ func (s Service) ListAccounts(ctx context.Context, in *proto.ListAccountsRequest
|
||||
}
|
||||
|
||||
if suspicious {
|
||||
passwordValidCache.Unset(k)
|
||||
passwordValidCache.Delete(k)
|
||||
return merrors.Unauthorized(s.id, "account not found or invalid credentials")
|
||||
}
|
||||
|
||||
if e == nil {
|
||||
passwordValidCache.Set(k, v, time.Now().Add(passwordValidCacheExpiration))
|
||||
passwordValidCache.Store(k, v, time.Now().Add(passwordValidCacheExpiration))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -284,8 +274,6 @@ func (s Service) GetAccount(ctx context.Context, in *proto.GetAccountRequest, ou
|
||||
}
|
||||
onlySelf := hasSelf && !hasManagement
|
||||
|
||||
accLock.Lock()
|
||||
defer accLock.Unlock()
|
||||
var id string
|
||||
if id, err = cleanupID(in.Id); err != nil {
|
||||
return merrors.InternalServerError(s.id, "could not clean up account id: %v", err.Error())
|
||||
@@ -331,8 +319,6 @@ func (s Service) CreateAccount(ctx context.Context, in *proto.CreateAccountReque
|
||||
return merrors.Forbidden(s.id, "no permission for CreateAccount")
|
||||
}
|
||||
|
||||
accLock.Lock()
|
||||
defer accLock.Unlock()
|
||||
var id string
|
||||
|
||||
if in.Account == nil {
|
||||
@@ -468,8 +454,6 @@ func (s Service) UpdateAccount(ctx context.Context, in *proto.UpdateAccountReque
|
||||
}
|
||||
onlySelf := hasSelf && !hasManagement
|
||||
|
||||
accLock.Lock()
|
||||
defer accLock.Unlock()
|
||||
var id string
|
||||
if in.Account == nil {
|
||||
return merrors.BadRequest(s.id, "account missing")
|
||||
@@ -633,8 +617,6 @@ func (s Service) DeleteAccount(ctx context.Context, in *proto.DeleteAccountReque
|
||||
return merrors.Forbidden(s.id, "no permission for DeleteAccount")
|
||||
}
|
||||
|
||||
accLock.Lock()
|
||||
defer accLock.Unlock()
|
||||
var id string
|
||||
if id, err = cleanupID(in.Id); err != nil {
|
||||
return merrors.InternalServerError(s.id, "could not clean up account id: %v", err.Error())
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
|
||||
sonar.projectKey=owncloud_ocis-accounts
|
||||
sonar.organization=owncloud-1
|
||||
sonar.projectName=ocis-accounts
|
||||
sonar.projectVersion=1.0
|
||||
sonar.host.url=https://sonarcloud.io
|
||||
|
||||
# =====================================================
|
||||
# Meta-data for the project
|
||||
# =====================================================
|
||||
|
||||
sonar.links.homepage=https://github.com/owncloud/ocis-accounts
|
||||
sonar.links.ci=https://cloud.drone.io/owncloud/ocis-accounts/
|
||||
sonar.links.scm=https://github.com/owncloud/ocis-accounts
|
||||
sonar.links.issue=https://github.com/owncloud/ocis/accounts/issues
|
||||
|
||||
|
||||
# =====================================================
|
||||
# Properties that will be shared amongst all modules
|
||||
# =====================================================
|
||||
|
||||
# SQ standard properties
|
||||
sonar.sources=.
|
||||
|
||||
# Pull Requests
|
||||
sonar.pullrequest.provider=GitHub
|
||||
sonar.pullrequest.github.repository=owncloud/ocis-accounts
|
||||
sonar.pullrequest.base=${env.SONAR_PULL_REQUEST_BASE}
|
||||
sonar.pullrequest.branch=${env.SONAR_PULL_REQUEST_BRANCH}
|
||||
sonar.pullrequest.key=${env.SONAR_PULL_REQUEST_KEY}
|
||||
|
||||
|
||||
# Properties specific to language plugins:
|
||||
sonar.go.coverage.reportPaths=coverage.out
|
||||
|
||||
# Exclude protobuf files
|
||||
sonar.exclusions=pkg/proto/**, changelog/**, docs/**, package.json, rollup.config.js, changelog.md
|
||||
@@ -11,7 +11,7 @@ geekdocFilePath: CONFIGURATION.tmpl
|
||||
{{ range $opt := first . }}{{ with list $fnName $opt -}}
|
||||
{{ $o := last . -}}
|
||||
{{ if eq $o.FnName $fnName -}}
|
||||
--{{ $o.Name }} | ${{ index $o.Env 0 }}
|
||||
-{{ $o.Name }} | {{ range $i, $e := $o.Env }} {{ if $i }}, {{ end }}${{ $e }}{{ end }}
|
||||
: {{ $o.Usage }}. {{- if $o.Default }} Default: `{{ $o.Default }}`.{{ end }}
|
||||
|
||||
{{ end -}}
|
||||
@@ -41,6 +41,8 @@ So far we support the file formats `JSON` and `YAML`, if you want to get a full
|
||||
|
||||
If you prefer to configure the service with environment variables you can see the available variables below.
|
||||
|
||||
If multiple variables are listed for one option, they are in order of precedence. This means the leftmost variable will always win if given.
|
||||
|
||||
### Commandline flags
|
||||
|
||||
If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
|
||||
|
||||
@@ -92,7 +92,7 @@ export default {
|
||||
},
|
||||
|
||||
computed: {
|
||||
...mapGetters(['user', 'configuration']),
|
||||
...mapGetters(['user', 'getServerForJsClient']),
|
||||
...mapState('Accounts', ['roles', 'selectedAccounts']),
|
||||
|
||||
selectAccountLabel () {
|
||||
@@ -114,7 +114,7 @@ export default {
|
||||
injectAuthToken(this.user.token)
|
||||
|
||||
const response = await RoleService_AssignRoleToUser({
|
||||
$domain: this.configuration.server,
|
||||
$domain: this.getServerForJsClient,
|
||||
body: {
|
||||
account_uuid: this.account.id,
|
||||
role_id: roleId
|
||||
@@ -139,7 +139,7 @@ export default {
|
||||
injectAuthToken(this.user.token)
|
||||
|
||||
const response = await RoleService_ListRoleAssignments({
|
||||
$domain: this.configuration.server,
|
||||
$domain: this.getServerForJsClient,
|
||||
body: {
|
||||
account_uuid: this.account.id
|
||||
}
|
||||
|
||||
+13
-11
@@ -31,7 +31,8 @@ const getters = {
|
||||
})
|
||||
},
|
||||
areAllAccountsSelected: state => state.accounts.length === state.selectedAccounts.length,
|
||||
isAnyAccountSelected: state => state.selectedAccounts.length > 0
|
||||
isAnyAccountSelected: state => state.selectedAccounts.length > 0,
|
||||
getServerForJsClient: (state, getters, rootState, rootGetters) => rootGetters.configuration.server.replace(/\/$/, '')
|
||||
}
|
||||
|
||||
const mutations = {
|
||||
@@ -94,11 +95,11 @@ const actions = {
|
||||
}
|
||||
},
|
||||
|
||||
async fetchAccounts ({ commit, rootGetters }) {
|
||||
async fetchAccounts ({ commit, getters, rootGetters }) {
|
||||
injectAuthToken(rootGetters.user.token)
|
||||
try {
|
||||
const response = await AccountsService_ListAccounts({
|
||||
$domain: rootGetters.configuration.server,
|
||||
$domain: getters.getServerForJsClient,
|
||||
body: {}
|
||||
})
|
||||
if (response.status === 201) {
|
||||
@@ -111,11 +112,11 @@ const actions = {
|
||||
commit('SET_FAILED', true)
|
||||
},
|
||||
|
||||
async fetchRoles ({ commit, rootGetters }) {
|
||||
async fetchRoles ({ commit, getters, rootGetters }) {
|
||||
injectAuthToken(rootGetters.user.token)
|
||||
try {
|
||||
const response = await RoleService_ListRoles({
|
||||
$domain: rootGetters.configuration.server,
|
||||
$domain: getters.getServerForJsClient,
|
||||
body: {}
|
||||
})
|
||||
if (response.status === 201) {
|
||||
@@ -132,7 +133,7 @@ const actions = {
|
||||
getters.areAllAccountsSelected ? commit('RESET_ACCOUNTS_SELECTION') : commit('SET_SELECTED_ACCOUNTS', [...state.accounts])
|
||||
},
|
||||
|
||||
async setAccountActivated ({ commit, dispatch, state, rootGetters }, activated) {
|
||||
async setAccountActivated ({ commit, dispatch, state, getters, rootGetters }, activated) {
|
||||
const failedAccounts = []
|
||||
injectAuthToken(rootGetters.user.token)
|
||||
|
||||
@@ -143,7 +144,7 @@ const actions = {
|
||||
|
||||
try {
|
||||
const response = await AccountsService_UpdateAccount({
|
||||
$domain: rootGetters.configuration.server,
|
||||
$domain: getters.getServerForJsClient,
|
||||
body: {
|
||||
account: {
|
||||
id: account.id,
|
||||
@@ -181,12 +182,13 @@ const actions = {
|
||||
commit('RESET_ACCOUNTS_SELECTION')
|
||||
return Promise.resolve(true)
|
||||
},
|
||||
async createNewAccount ({ rootGetters, commit, dispatch }, account) {
|
||||
|
||||
async createNewAccount ({ getters, rootGetters, commit, dispatch }, account) {
|
||||
injectAuthToken(rootGetters.user.token)
|
||||
|
||||
try {
|
||||
const response = await AccountsService_CreateAccount({
|
||||
$domain: rootGetters.configuration.server,
|
||||
$domain: getters.getServerForJsClient,
|
||||
body: {
|
||||
account: {
|
||||
on_premises_sam_account_name: account.username,
|
||||
@@ -214,7 +216,7 @@ const actions = {
|
||||
return Promise.resolve(false)
|
||||
},
|
||||
|
||||
async deleteAccounts ({ rootGetters, state, commit, dispatch }) {
|
||||
async deleteAccounts ({ getters, rootGetters, state, commit, dispatch }) {
|
||||
const failedAccounts = []
|
||||
|
||||
injectAuthToken(rootGetters.user.token)
|
||||
@@ -222,7 +224,7 @@ const actions = {
|
||||
for (const account of state.selectedAccounts) {
|
||||
try {
|
||||
const response = await AccountsService_DeleteAccount({
|
||||
$domain: rootGetters.configuration.server,
|
||||
$domain: getters.getServerForJsClient,
|
||||
body: {
|
||||
id: account.id
|
||||
}
|
||||
|
||||
+233
-17
@@ -1415,12 +1415,12 @@ aws4@^1.8.0:
|
||||
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59"
|
||||
integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==
|
||||
|
||||
axios@^0.19.0:
|
||||
version "0.19.2"
|
||||
resolved "https://registry.yarnpkg.com/axios/-/axios-0.19.2.tgz#3ea36c5d8818d0d5f8a8a97a6d36b86cdc00cb27"
|
||||
integrity sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA==
|
||||
axios@^0.21.1:
|
||||
version "0.21.1"
|
||||
resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8"
|
||||
integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==
|
||||
dependencies:
|
||||
follow-redirects "1.5.10"
|
||||
follow-redirects "^1.10.0"
|
||||
|
||||
babel-plugin-dynamic-import-node@^2.3.3:
|
||||
version "2.3.3"
|
||||
@@ -1498,6 +1498,11 @@ big.js@^5.2.2:
|
||||
resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328"
|
||||
integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==
|
||||
|
||||
bignumber.js@^2.1.0:
|
||||
version "2.4.0"
|
||||
resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-2.4.0.tgz#838a992da9f9d737e0f4b2db0be62bb09dd0c5e8"
|
||||
integrity sha1-g4qZLan51zfg9LLbC+YrsJ3Qxeg=
|
||||
|
||||
binary-extensions@^2.0.0:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.1.0.tgz#30fa40c9e7fe07dbc895678cd287024dea241dd9"
|
||||
@@ -1517,6 +1522,11 @@ bluebird@^3.1.1, bluebird@^3.4.1, bluebird@^3.5.0, bluebird@^3.7.2:
|
||||
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f"
|
||||
integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==
|
||||
|
||||
bmp-js@0.0.3:
|
||||
version "0.0.3"
|
||||
resolved "https://registry.yarnpkg.com/bmp-js/-/bmp-js-0.0.3.tgz#64113e9c7cf1202b376ed607bf30626ebe57b18a"
|
||||
integrity sha1-ZBE+nHzxICs3btYHvzBibr5XsYo=
|
||||
|
||||
bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.4.0:
|
||||
version "4.11.9"
|
||||
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.9.tgz#26d556829458f9d1e81fc48952493d0ba3507828"
|
||||
@@ -1648,6 +1658,11 @@ buffer-crc32@^0.2.1, buffer-crc32@^0.2.13:
|
||||
resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242"
|
||||
integrity sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=
|
||||
|
||||
buffer-equal@0.0.1:
|
||||
version "0.0.1"
|
||||
resolved "https://registry.yarnpkg.com/buffer-equal/-/buffer-equal-0.0.1.tgz#91bc74b11ea405bc916bc6aa908faafa5b4aac4b"
|
||||
integrity sha1-kbx0sR6kBbyRa8aqkI+q+ltKrEs=
|
||||
|
||||
buffer-es6@^4.9.2, buffer-es6@^4.9.3:
|
||||
version "4.9.3"
|
||||
resolved "https://registry.yarnpkg.com/buffer-es6/-/buffer-es6-4.9.3.tgz#f26347b82df76fd37e18bcb5288c4970cfd5c404"
|
||||
@@ -2321,7 +2336,7 @@ debug@2, debug@^2.6.9:
|
||||
dependencies:
|
||||
ms "2.0.0"
|
||||
|
||||
debug@3.1.0, debug@=3.1.0, debug@~3.1.0:
|
||||
debug@3.1.0, debug@~3.1.0:
|
||||
version "3.1.0"
|
||||
resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
|
||||
integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==
|
||||
@@ -2482,6 +2497,11 @@ dom-serializer@~0.1.1:
|
||||
domelementtype "^1.3.0"
|
||||
entities "^1.1.1"
|
||||
|
||||
dom-walk@^0.1.0:
|
||||
version "0.1.2"
|
||||
resolved "https://registry.yarnpkg.com/dom-walk/-/dom-walk-0.1.2.tgz#0c548bef048f4d1f2a97249002236060daa3fd84"
|
||||
integrity sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w==
|
||||
|
||||
domelementtype@1, domelementtype@^1.3.0, domelementtype@^1.3.1:
|
||||
version "1.3.1"
|
||||
resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.1.tgz#d048c44b37b0d10a7f2a3d5fee3f4333d790481f"
|
||||
@@ -2713,6 +2733,11 @@ es6-iterator@~2.0.3:
|
||||
es5-ext "^0.10.35"
|
||||
es6-symbol "^3.1.1"
|
||||
|
||||
es6-promise@^3.0.2:
|
||||
version "3.3.1"
|
||||
resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-3.3.1.tgz#a08cdde84ccdbf34d027a1451bc91d4bcd28a613"
|
||||
integrity sha1-oIzd6EzNvzTQJ6FFG8kdS80ophM=
|
||||
|
||||
es6-promise@^4.0.3:
|
||||
version "4.2.8"
|
||||
resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a"
|
||||
@@ -2985,6 +3010,11 @@ evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3:
|
||||
md5.js "^1.3.4"
|
||||
safe-buffer "^5.1.1"
|
||||
|
||||
exif-parser@^0.1.9:
|
||||
version "0.1.12"
|
||||
resolved "https://registry.yarnpkg.com/exif-parser/-/exif-parser-0.1.12.tgz#58a9d2d72c02c1f6f02a0ef4a9166272b7760922"
|
||||
integrity sha1-WKnS1ywCwfbwKg70qRZicrd2CSI=
|
||||
|
||||
ext@^1.1.2:
|
||||
version "1.4.0"
|
||||
resolved "https://registry.yarnpkg.com/ext/-/ext-1.4.0.tgz#89ae7a07158f79d35517882904324077e4379244"
|
||||
@@ -3060,6 +3090,11 @@ file-entry-cache@^5.0.1:
|
||||
dependencies:
|
||||
flat-cache "^2.0.1"
|
||||
|
||||
file-type@^3.1.0:
|
||||
version "3.9.0"
|
||||
resolved "https://registry.yarnpkg.com/file-type/-/file-type-3.9.0.tgz#257a078384d1db8087bc449d107d52a52672b9e9"
|
||||
integrity sha1-JXoHg4TR24CHvESdEH1SpSZyuek=
|
||||
|
||||
file-uri-to-path@1:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd"
|
||||
@@ -3135,12 +3170,10 @@ flow-remove-types@^2.135.0:
|
||||
pirates "^3.0.2"
|
||||
vlq "^0.2.1"
|
||||
|
||||
follow-redirects@1.5.10:
|
||||
version "1.5.10"
|
||||
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.5.10.tgz#7b7a9f9aea2fdff36786a94ff643ed07f4ff5e2a"
|
||||
integrity sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==
|
||||
dependencies:
|
||||
debug "=3.1.0"
|
||||
follow-redirects@^1.10.0:
|
||||
version "1.13.1"
|
||||
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.13.1.tgz#5f69b813376cee4fd0474a3aba835df04ab763b7"
|
||||
integrity sha512-SSG5xmZh1mkPGyKzjZP8zLjltIfpW32Y5QpdNJyjcfGxK3qo3NDDkZOZSFiGn1A6SclQxY9GzEwAHQ3dmYRWpg==
|
||||
|
||||
foreach@~2.0.1:
|
||||
version "2.0.5"
|
||||
@@ -3320,6 +3353,14 @@ glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6:
|
||||
once "^1.3.0"
|
||||
path-is-absolute "^1.0.0"
|
||||
|
||||
global@~4.4.0:
|
||||
version "4.4.0"
|
||||
resolved "https://registry.yarnpkg.com/global/-/global-4.4.0.tgz#3e7b105179006a323ed71aafca3e9c57a5cc6406"
|
||||
integrity sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w==
|
||||
dependencies:
|
||||
min-document "^2.19.0"
|
||||
process "^0.11.10"
|
||||
|
||||
globals@^11.1.0:
|
||||
version "11.12.0"
|
||||
resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e"
|
||||
@@ -3622,6 +3663,11 @@ inquirer@^7.0.0:
|
||||
strip-ansi "^6.0.0"
|
||||
through "^2.3.6"
|
||||
|
||||
ip-regex@^1.0.1:
|
||||
version "1.0.3"
|
||||
resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-1.0.3.tgz#dc589076f659f419c222039a33316f1c7387effd"
|
||||
integrity sha1-3FiQdvZZ9BnCIgOaMzFvHHOH7/0=
|
||||
|
||||
ip@1.1.5, ip@^1.1.5:
|
||||
version "1.1.5"
|
||||
resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a"
|
||||
@@ -3697,6 +3743,11 @@ is-fullwidth-code-point@^3.0.0:
|
||||
resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d"
|
||||
integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==
|
||||
|
||||
is-function@^1.0.1:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/is-function/-/is-function-1.0.2.tgz#4f097f30abf6efadac9833b17ca5dc03f8144e08"
|
||||
integrity sha512-lw7DUp0aWXYg+CBCN+JKkcE0Q2RayZnSvnZBlwgxHBQhqt5pZNVy4Ri7H9GmmXkdu7LUthszM+Tor1u/2iBcpQ==
|
||||
|
||||
is-generator@^1.0.2:
|
||||
version "1.0.3"
|
||||
resolved "https://registry.yarnpkg.com/is-generator/-/is-generator-1.0.3.tgz#c14c21057ed36e328db80347966c693f886389f3"
|
||||
@@ -3808,6 +3859,28 @@ jest-worker@^24.9.0:
|
||||
merge-stream "^2.0.0"
|
||||
supports-color "^6.1.0"
|
||||
|
||||
jimp@^0.2.28:
|
||||
version "0.2.28"
|
||||
resolved "https://registry.yarnpkg.com/jimp/-/jimp-0.2.28.tgz#dd529a937190f42957a7937d1acc3a7762996ea2"
|
||||
integrity sha1-3VKak3GQ9ClXp5N9Gsw6d2KZbqI=
|
||||
dependencies:
|
||||
bignumber.js "^2.1.0"
|
||||
bmp-js "0.0.3"
|
||||
es6-promise "^3.0.2"
|
||||
exif-parser "^0.1.9"
|
||||
file-type "^3.1.0"
|
||||
jpeg-js "^0.2.0"
|
||||
load-bmfont "^1.2.3"
|
||||
mime "^1.3.4"
|
||||
mkdirp "0.5.1"
|
||||
pixelmatch "^4.0.0"
|
||||
pngjs "^3.0.0"
|
||||
read-chunk "^1.0.1"
|
||||
request "^2.65.0"
|
||||
stream-to-buffer "^0.1.0"
|
||||
tinycolor2 "^1.1.2"
|
||||
url-regex "^3.0.0"
|
||||
|
||||
join-path@^1.1.1:
|
||||
version "1.1.1"
|
||||
resolved "https://registry.yarnpkg.com/join-path/-/join-path-1.1.1.tgz#10535a126d24cbd65f7ffcdf15ef2e631076b505"
|
||||
@@ -3817,6 +3890,11 @@ join-path@^1.1.1:
|
||||
url-join "0.0.1"
|
||||
valid-url "^1"
|
||||
|
||||
jpeg-js@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/jpeg-js/-/jpeg-js-0.2.0.tgz#53e448ec9d263e683266467e9442d2c5a2ef5482"
|
||||
integrity sha1-U+RI7J0mPmgyZkZ+lELSxaLvVII=
|
||||
|
||||
js-base64@^2.1.9:
|
||||
version "2.6.4"
|
||||
resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.6.4.tgz#f4e686c5de1ea1f867dbcad3d46d969428df98c4"
|
||||
@@ -4123,6 +4201,20 @@ levn@^0.3.0, levn@~0.3.0:
|
||||
prelude-ls "~1.1.2"
|
||||
type-check "~0.3.2"
|
||||
|
||||
load-bmfont@^1.2.3:
|
||||
version "1.4.1"
|
||||
resolved "https://registry.yarnpkg.com/load-bmfont/-/load-bmfont-1.4.1.tgz#c0f5f4711a1e2ccff725a7b6078087ccfcddd3e9"
|
||||
integrity sha512-8UyQoYmdRDy81Brz6aLAUhfZLwr5zV0L3taTQ4hju7m6biuwiWiJXjPhBJxbUQJA8PrkvJ/7Enqmwk2sM14soA==
|
||||
dependencies:
|
||||
buffer-equal "0.0.1"
|
||||
mime "^1.3.4"
|
||||
parse-bmfont-ascii "^1.0.3"
|
||||
parse-bmfont-binary "^1.0.5"
|
||||
parse-bmfont-xml "^1.1.4"
|
||||
phin "^2.9.1"
|
||||
xhr "^2.0.1"
|
||||
xtend "^4.0.0"
|
||||
|
||||
load-json-file@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-2.0.0.tgz#7947e42149af80d696cbf797bcaabcfe1fe29ca8"
|
||||
@@ -4403,7 +4495,7 @@ mime-types@^2.1.12, mime-types@~2.1.19:
|
||||
dependencies:
|
||||
mime-db "1.44.0"
|
||||
|
||||
mime@^1.4.1:
|
||||
mime@^1.3.4, mime@^1.4.1:
|
||||
version "1.6.0"
|
||||
resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1"
|
||||
integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==
|
||||
@@ -4413,6 +4505,13 @@ mimic-fn@^2.1.0:
|
||||
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b"
|
||||
integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==
|
||||
|
||||
min-document@^2.19.0:
|
||||
version "2.19.0"
|
||||
resolved "https://registry.yarnpkg.com/min-document/-/min-document-2.19.0.tgz#7bd282e3f5842ed295bb748cdd9f1ffa2c824685"
|
||||
integrity sha1-e9KC4/WELtKVu3SM3Z8f+iyCRoU=
|
||||
dependencies:
|
||||
dom-walk "^0.1.0"
|
||||
|
||||
minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7"
|
||||
@@ -4430,11 +4529,23 @@ minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1:
|
||||
dependencies:
|
||||
brace-expansion "^1.1.7"
|
||||
|
||||
minimist@0.0.8:
|
||||
version "0.0.8"
|
||||
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
|
||||
integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=
|
||||
|
||||
minimist@^1.2.0, minimist@^1.2.5:
|
||||
version "1.2.5"
|
||||
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
|
||||
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
|
||||
|
||||
mkdirp@0.5.1:
|
||||
version "0.5.1"
|
||||
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
|
||||
integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=
|
||||
dependencies:
|
||||
minimist "0.0.8"
|
||||
|
||||
mkdirp@0.5.4:
|
||||
version "0.5.4"
|
||||
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.4.tgz#fd01504a6797ec5c9be81ff43d204961ed64a512"
|
||||
@@ -4579,6 +4690,14 @@ nightwatch-api@^3.0.1:
|
||||
"@types/debug" "^4.1.5"
|
||||
debug "^4.1.1"
|
||||
|
||||
nightwatch-vrt@^0.2.10:
|
||||
version "0.2.10"
|
||||
resolved "https://registry.yarnpkg.com/nightwatch-vrt/-/nightwatch-vrt-0.2.10.tgz#58de29d79983a93edf262d1b5a33eb5f1656a674"
|
||||
integrity sha512-BBi2c7l1A+UhAtTGEbzX7FBGdbjbMSpuWt7UMyd3dRBPLGNehmjp/tS5+OWatXn+1XxvCo0vfYlk6ofUOo/sRw==
|
||||
dependencies:
|
||||
jimp "^0.2.28"
|
||||
lodash "^4.17.4"
|
||||
|
||||
nightwatch@^1.3.6:
|
||||
version "1.5.1"
|
||||
resolved "https://registry.yarnpkg.com/nightwatch/-/nightwatch-1.5.1.tgz#100cee1d6545bc4367888514822d03e891d75655"
|
||||
@@ -4876,6 +4995,29 @@ parse-asn1@^5.0.0, parse-asn1@^5.1.5:
|
||||
pbkdf2 "^3.0.3"
|
||||
safe-buffer "^5.1.1"
|
||||
|
||||
parse-bmfont-ascii@^1.0.3:
|
||||
version "1.0.6"
|
||||
resolved "https://registry.yarnpkg.com/parse-bmfont-ascii/-/parse-bmfont-ascii-1.0.6.tgz#11ac3c3ff58f7c2020ab22769079108d4dfa0285"
|
||||
integrity sha1-Eaw8P/WPfCAgqyJ2kHkQjU36AoU=
|
||||
|
||||
parse-bmfont-binary@^1.0.5:
|
||||
version "1.0.6"
|
||||
resolved "https://registry.yarnpkg.com/parse-bmfont-binary/-/parse-bmfont-binary-1.0.6.tgz#d038b476d3e9dd9db1e11a0b0e53a22792b69006"
|
||||
integrity sha1-0Di0dtPp3Z2x4RoLDlOiJ5K2kAY=
|
||||
|
||||
parse-bmfont-xml@^1.1.4:
|
||||
version "1.1.4"
|
||||
resolved "https://registry.yarnpkg.com/parse-bmfont-xml/-/parse-bmfont-xml-1.1.4.tgz#015319797e3e12f9e739c4d513872cd2fa35f389"
|
||||
integrity sha512-bjnliEOmGv3y1aMEfREMBJ9tfL3WR0i0CKPj61DnSLaoxWR3nLrsQrEbCId/8rF4NyRF0cCqisSVXyQYWM+mCQ==
|
||||
dependencies:
|
||||
xml-parse-from-string "^1.0.0"
|
||||
xml2js "^0.4.5"
|
||||
|
||||
parse-headers@^2.0.0:
|
||||
version "2.0.3"
|
||||
resolved "https://registry.yarnpkg.com/parse-headers/-/parse-headers-2.0.3.tgz#5e8e7512383d140ba02f0c7aa9f49b4399c92515"
|
||||
integrity sha512-QhhZ+DCCit2Coi2vmAKbq5RGTRcQUOE2+REgv8vdyu7MnYx2eZztegqtTx99TZ86GTIwqiy3+4nQTWZ2tgmdCA==
|
||||
|
||||
parse-json@^2.2.0:
|
||||
version "2.2.0"
|
||||
resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9"
|
||||
@@ -4951,6 +5093,11 @@ performance-now@^2.1.0:
|
||||
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
|
||||
integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=
|
||||
|
||||
phin@^2.9.1:
|
||||
version "2.9.3"
|
||||
resolved "https://registry.yarnpkg.com/phin/-/phin-2.9.3.tgz#f9b6ac10a035636fb65dfc576aaaa17b8743125c"
|
||||
integrity sha512-CzFr90qM24ju5f88quFC/6qohjC144rehe5n6DH900lgXmUe86+xCKc10ev56gRKC4/BkHUoG4uSiQgBiIXwDA==
|
||||
|
||||
picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.2:
|
||||
version "2.2.2"
|
||||
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad"
|
||||
@@ -4980,6 +5127,13 @@ pirates@^4.0.0:
|
||||
dependencies:
|
||||
node-modules-regexp "^1.0.0"
|
||||
|
||||
pixelmatch@^4.0.0:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/pixelmatch/-/pixelmatch-4.0.2.tgz#8f47dcec5011b477b67db03c243bc1f3085e8854"
|
||||
integrity sha1-j0fc7FARtHe2fbA8JDvB8wheiFQ=
|
||||
dependencies:
|
||||
pngjs "^3.0.0"
|
||||
|
||||
pkg-dir@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-2.0.0.tgz#f6d5d1109e19d63edf428e0bd57e12777615334b"
|
||||
@@ -4994,6 +5148,11 @@ pkg-dir@^3.0.0:
|
||||
dependencies:
|
||||
find-up "^3.0.0"
|
||||
|
||||
pngjs@^3.0.0:
|
||||
version "3.4.0"
|
||||
resolved "https://registry.yarnpkg.com/pngjs/-/pngjs-3.4.0.tgz#99ca7d725965fb655814eaf65f38f12bbdbf555f"
|
||||
integrity sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w==
|
||||
|
||||
pofile@^1.1.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/pofile/-/pofile-1.1.0.tgz#9ce84bbef5043ceb4f19bdc3520d85778fad4f94"
|
||||
@@ -5143,7 +5302,7 @@ process-nextick-args@~2.0.0:
|
||||
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2"
|
||||
integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==
|
||||
|
||||
process@^0.11.1:
|
||||
process@^0.11.1, process@^0.11.10:
|
||||
version "0.11.10"
|
||||
resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182"
|
||||
integrity sha1-czIwDoQBYb2j5podHZGn1LwW8YI=
|
||||
@@ -5464,6 +5623,11 @@ raw-body@^2.2.0:
|
||||
iconv-lite "0.4.24"
|
||||
unpipe "1.0.0"
|
||||
|
||||
read-chunk@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/read-chunk/-/read-chunk-1.0.1.tgz#5f68cab307e663f19993527d9b589cace4661194"
|
||||
integrity sha1-X2jKswfmY/GZk1J9m1icrORmEZQ=
|
||||
|
||||
read-pkg-up@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-2.0.0.tgz#6b72a8048984e0c41e79510fd5e9fa99b3b549be"
|
||||
@@ -5615,7 +5779,7 @@ request-promise@^4.2.5:
|
||||
stealthy-require "^1.1.1"
|
||||
tough-cookie "^2.3.3"
|
||||
|
||||
request@^2.88.2:
|
||||
request@^2.65.0, request@^2.88.2:
|
||||
version "2.88.2"
|
||||
resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3"
|
||||
integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==
|
||||
@@ -5846,7 +6010,7 @@ sass@^1.18.0:
|
||||
dependencies:
|
||||
chokidar ">=2.0.0 <4.0.0"
|
||||
|
||||
sax@^1.2.4, sax@~1.2.4:
|
||||
sax@>=0.6.0, sax@^1.2.4, sax@~1.2.4:
|
||||
version "1.2.4"
|
||||
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
|
||||
integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==
|
||||
@@ -6106,6 +6270,18 @@ stealthy-require@^1.1.1:
|
||||
resolved "https://registry.yarnpkg.com/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b"
|
||||
integrity sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=
|
||||
|
||||
stream-to-buffer@^0.1.0:
|
||||
version "0.1.0"
|
||||
resolved "https://registry.yarnpkg.com/stream-to-buffer/-/stream-to-buffer-0.1.0.tgz#26799d903ab2025c9bd550ac47171b00f8dd80a9"
|
||||
integrity sha1-JnmdkDqyAlyb1VCsRxcbAPjdgKk=
|
||||
dependencies:
|
||||
stream-to "~0.2.0"
|
||||
|
||||
stream-to@~0.2.0:
|
||||
version "0.2.2"
|
||||
resolved "https://registry.yarnpkg.com/stream-to/-/stream-to-0.2.2.tgz#84306098d85fdb990b9fa300b1b3ccf55e8ef01d"
|
||||
integrity sha1-hDBgmNhf25kLn6MAsbPM9V6O8B0=
|
||||
|
||||
string-argv@^0.3.0:
|
||||
version "0.3.1"
|
||||
resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.1.tgz#95e2fbec0427ae19184935f816d74aaa4c5c19da"
|
||||
@@ -6366,6 +6542,11 @@ thunkify@^2.1.2:
|
||||
resolved "https://registry.yarnpkg.com/thunkify/-/thunkify-2.1.2.tgz#faa0e9d230c51acc95ca13a361ac05ca7e04553d"
|
||||
integrity sha1-+qDp0jDFGsyVyhOjYawFyn4EVT0=
|
||||
|
||||
tinycolor2@^1.1.2:
|
||||
version "1.4.2"
|
||||
resolved "https://registry.yarnpkg.com/tinycolor2/-/tinycolor2-1.4.2.tgz#3f6a4d1071ad07676d7fa472e1fac40a719d8803"
|
||||
integrity sha512-vJhccZPs965sV/L2sU4oRQVAos0pQXwsvTLkWYdqJ+a8Q5kPFzJTuOFwy7UniPli44NKQGAglksjvOcpo95aZA==
|
||||
|
||||
title-case@^2.1.1:
|
||||
version "2.1.1"
|
||||
resolved "https://registry.yarnpkg.com/title-case/-/title-case-2.1.1.tgz#3e127216da58d2bc5becf137ab91dae3a7cd8faa"
|
||||
@@ -6592,6 +6773,13 @@ url-join@0.0.1:
|
||||
resolved "https://registry.yarnpkg.com/url-join/-/url-join-0.0.1.tgz#1db48ad422d3402469a87f7d97bdebfe4fb1e3c8"
|
||||
integrity sha1-HbSK1CLTQCRpqH99l73r/k+x48g=
|
||||
|
||||
url-regex@^3.0.0:
|
||||
version "3.2.0"
|
||||
resolved "https://registry.yarnpkg.com/url-regex/-/url-regex-3.2.0.tgz#dbad1e0c9e29e105dd0b1f09f6862f7fdb482724"
|
||||
integrity sha1-260eDJ4p4QXdCx8J9oYvf9tIJyQ=
|
||||
dependencies:
|
||||
ip-regex "^1.0.1"
|
||||
|
||||
url-search-params-polyfill@^8.1.0:
|
||||
version "8.1.0"
|
||||
resolved "https://registry.yarnpkg.com/url-search-params-polyfill/-/url-search-params-polyfill-8.1.0.tgz#5c15b69687165bfd4f6c7d8a161d70d85385885b"
|
||||
@@ -6821,6 +7009,16 @@ write@1.0.3:
|
||||
dependencies:
|
||||
mkdirp "^0.5.1"
|
||||
|
||||
xhr@^2.0.1:
|
||||
version "2.6.0"
|
||||
resolved "https://registry.yarnpkg.com/xhr/-/xhr-2.6.0.tgz#b69d4395e792b4173d6b7df077f0fc5e4e2b249d"
|
||||
integrity sha512-/eCGLb5rxjx5e3mF1A7s+pLlR6CGyqWN91fv1JgER5mVWg1MZmlhBvy9kjcsOdRk8RrIujotWyJamfyrp+WIcA==
|
||||
dependencies:
|
||||
global "~4.4.0"
|
||||
is-function "^1.0.1"
|
||||
parse-headers "^2.0.0"
|
||||
xtend "^4.0.0"
|
||||
|
||||
xml-js@^1.6.11:
|
||||
version "1.6.11"
|
||||
resolved "https://registry.yarnpkg.com/xml-js/-/xml-js-1.6.11.tgz#927d2f6947f7f1c19a316dd8eea3614e8b18f8e9"
|
||||
@@ -6828,6 +7026,24 @@ xml-js@^1.6.11:
|
||||
dependencies:
|
||||
sax "^1.2.4"
|
||||
|
||||
xml-parse-from-string@^1.0.0:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/xml-parse-from-string/-/xml-parse-from-string-1.0.1.tgz#a9029e929d3dbcded169f3c6e28238d95a5d5a28"
|
||||
integrity sha1-qQKekp09vN7RafPG4oI42VpdWig=
|
||||
|
||||
xml2js@^0.4.5:
|
||||
version "0.4.23"
|
||||
resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.23.tgz#a0c69516752421eb2ac758ee4d4ccf58843eac66"
|
||||
integrity sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==
|
||||
dependencies:
|
||||
sax ">=0.6.0"
|
||||
xmlbuilder "~11.0.0"
|
||||
|
||||
xmlbuilder@~11.0.0:
|
||||
version "11.0.1"
|
||||
resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-11.0.1.tgz#be9bae1c8a046e76b31127726347d0ad7002beb3"
|
||||
integrity sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==
|
||||
|
||||
xregexp@2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/xregexp/-/xregexp-2.0.0.tgz#52a63e56ca0b84a7f3a5f3d61872f126ad7a5943"
|
||||
@@ -6845,7 +7061,7 @@ xtend@^2.2.0:
|
||||
resolved "https://registry.yarnpkg.com/xtend/-/xtend-2.2.0.tgz#eef6b1f198c1c8deafad8b1765a04dad4a01c5a9"
|
||||
integrity sha1-7vax8ZjByN6vrYsXZaBNrUoBxak=
|
||||
|
||||
xtend@^4.0.2, xtend@~4.0.0:
|
||||
xtend@^4.0.0, xtend@^4.0.2, xtend@~4.0.0:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54"
|
||||
integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loaded 100 of 358 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user