Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eb62ed9091 | ||
|
|
ae6b0347c2 | ||
|
|
3cdc97f414 | ||
|
|
78cae6babb | ||
|
|
25037a3112 | ||
|
|
96b45b12d5 | ||
|
|
d4c79aa9f5 | ||
|
|
9eb844661f | ||
|
|
80784eb6e5 | ||
|
|
510d74563e | ||
|
|
798156771f | ||
|
|
5090f0e62c | ||
|
|
5f455bc047 | ||
|
|
e4c99c67d1 | ||
|
|
0051befae9 | ||
|
|
80bb96b241 | ||
|
|
86fa96362a | ||
|
|
f005d68eae | ||
|
|
d68b53c6d8 | ||
|
|
f8b861c723 | ||
|
|
8b675b2e51 | ||
|
|
9f72d77bfc | ||
|
|
30009ff770 | ||
|
|
50141f471b | ||
|
|
d65f3fc215 | ||
|
|
1256793012 | ||
|
|
cdcabdb527 | ||
|
|
2f70a6856f | ||
|
|
eb06e23a09 | ||
|
|
604cb5a069 | ||
|
|
6361b52b7f | ||
|
|
5e7ce5c7de | ||
|
|
63b0cdda0e | ||
|
|
31ccffa99c | ||
|
|
5f1dbeca53 | ||
|
|
5eb6366a6c | ||
|
|
53fa0f0691 | ||
|
|
c3a6f52502 | ||
|
|
2ed2f8697b | ||
|
|
7c87568713 | ||
|
|
b265241288 | ||
|
|
7b284878f5 | ||
|
|
c20900419e | ||
|
|
bfda167e31 | ||
|
|
77560da057 | ||
|
|
ad9ccdc93b | ||
|
|
5bf887a570 | ||
|
|
fa077e7eeb | ||
|
|
382d95a3eb | ||
|
|
aa9aa9b454 | ||
|
|
37222116c0 | ||
|
|
b49335fce6 | ||
|
|
380273bb84 | ||
|
|
5112d837a8 |
No files matched your search
@@ -1,3 +1,6 @@
|
||||
# SPDX-FileCopyrightText: ownCloud GmbH - A Kiteworks Company and ownCloud contributors
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
# Managed by owncloud/admin — edit codeowners/ownership.yml, not this file.
|
||||
# Generated by scripts/sync-codeowners.py. Last matching pattern wins.
|
||||
* @owncloud/ocis-maintainers
|
||||
@@ -217,6 +217,7 @@ jobs:
|
||||
- apiOcm
|
||||
# collaboration (needs WOPI)
|
||||
- apiCollaboration
|
||||
- apiVault
|
||||
steps:
|
||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
|
||||
|
||||
@@ -109,9 +109,11 @@ jobs:
|
||||
path: |
|
||||
.
|
||||
!.git
|
||||
!web
|
||||
retention-days: 1
|
||||
|
||||
docker-build:
|
||||
if: false
|
||||
name: docker-build (${{ matrix.arch }}, ${{ matrix.repo }})
|
||||
runs-on: ${{ matrix.arch == 'amd64' && 'ubuntu-24.04' || 'ubuntu-24.04-arm' }}
|
||||
needs: [determine-release-type, generate-code, security-scan-trivy]
|
||||
@@ -125,8 +127,8 @@ jobs:
|
||||
with:
|
||||
name: generated-code
|
||||
path: .
|
||||
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4.1.0
|
||||
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
|
||||
- uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
|
||||
- uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||
with:
|
||||
username: ${{ vars.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
@@ -152,7 +154,7 @@ jobs:
|
||||
printf "tags<<EOF\n%s\nEOF\n" \
|
||||
"${REPO}:${VERSION}-linux-${ARCH}" >> $GITHUB_OUTPUT
|
||||
- id: build
|
||||
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
|
||||
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0
|
||||
with:
|
||||
context: ocis
|
||||
file: ocis/docker/Dockerfile.linux.${{ matrix.arch }}
|
||||
@@ -165,7 +167,7 @@ jobs:
|
||||
VERSION=${{ needs.determine-release-type.outputs.version }}
|
||||
tags: ${{ steps.tags.outputs.tags }}
|
||||
- id: trivy
|
||||
uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0
|
||||
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
|
||||
continue-on-error: true
|
||||
with:
|
||||
image-ref: ${{ steps.tags.outputs.tags }}
|
||||
@@ -196,7 +198,7 @@ jobs:
|
||||
repo: ${{ fromJSON(needs.determine-release-type.outputs.docker_repos) }}
|
||||
steps:
|
||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
- uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0
|
||||
- uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
|
||||
id: trivy
|
||||
continue-on-error: true
|
||||
with:
|
||||
@@ -217,6 +219,7 @@ jobs:
|
||||
exit 1
|
||||
|
||||
docker-manifest:
|
||||
if: false
|
||||
name: docker-manifest (${{ matrix.repo }})
|
||||
runs-on: ubuntu-latest
|
||||
needs: [determine-release-type, docker-build, docker-scan]
|
||||
@@ -224,7 +227,7 @@ jobs:
|
||||
matrix:
|
||||
repo: ${{ fromJSON(needs.determine-release-type.outputs.docker_repos) }}
|
||||
steps:
|
||||
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
|
||||
- uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||
with:
|
||||
username: ${{ vars.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
@@ -242,6 +245,7 @@ jobs:
|
||||
"${{ matrix.repo }}:${{ needs.determine-release-type.outputs.version }}-linux-arm64"
|
||||
|
||||
docker-readme:
|
||||
if: false
|
||||
name: docker-readme (${{ matrix.repo }})
|
||||
runs-on: ubuntu-latest
|
||||
needs: [determine-release-type, docker-manifest]
|
||||
@@ -289,7 +293,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
- uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0
|
||||
- uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
|
||||
with:
|
||||
scan-type: fs
|
||||
format: table
|
||||
@@ -313,6 +317,10 @@ jobs:
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
- run: npm install --silent -g yarn npx "pnpm@$PNPM_VERSION" --force
|
||||
# web is excluded from the generated-code artifact (see generate-code) to
|
||||
# avoid OOM on upload, so its node_modules — which provides the
|
||||
# license-checker-rseidelsohn binary — must be reinstalled here.
|
||||
- run: cd web && pnpm install
|
||||
- run: make ci-node-check-licenses && make ci-node-save-licenses
|
||||
- run: make ci-go-check-licenses && make ci-go-save-licenses
|
||||
- run: tar -czf third-party-licenses.tar.gz -C third-party-licenses .
|
||||
@@ -347,7 +355,7 @@ jobs:
|
||||
|
||||
create-github-release:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [determine-release-type, build-binaries, license-check, generate-changelog, security-scan-trivy, docker-readme]
|
||||
needs: [determine-release-type, build-binaries, license-check, generate-changelog, security-scan-trivy]
|
||||
steps:
|
||||
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
with:
|
||||
@@ -378,10 +386,6 @@ jobs:
|
||||
needs:
|
||||
- determine-release-type
|
||||
- generate-code
|
||||
- docker-build
|
||||
- docker-scan
|
||||
- docker-manifest
|
||||
- docker-readme
|
||||
- build-binaries
|
||||
- security-scan-trivy
|
||||
- license-check
|
||||
@@ -405,7 +409,7 @@ jobs:
|
||||
python3 scripts/audit-release.py \
|
||||
--version "${{ needs.determine-release-type.outputs.version }}" \
|
||||
--dir release-assets/ \
|
||||
--github-release --docker
|
||||
--github-release
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
Bugfix: Stop breadcrumb items from being announced twice
|
||||
|
||||
Each breadcrumb list item had `tabindex="0"`, putting the item itself in the
|
||||
keyboard/screen reader focus order in addition to the link or button nested
|
||||
inside it. This caused every breadcrumb segment to be announced twice in a
|
||||
row. The list item is no longer a separate focus stop; only its inner link
|
||||
or button is, while the item remains focusable enough for existing
|
||||
drag-and-drop styling to keep working.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12643
|
||||
@@ -0,0 +1,28 @@
|
||||
Bugfix: Fix low-contrast form controls in dark and vault themes
|
||||
|
||||
Several form controls were hard to see against dark and vault theme
|
||||
backgrounds. The view-options range slider had no visible track border and
|
||||
relied on an opacity dip on hover, making it barely visible at rest. The
|
||||
switch component's off-state track and thumb, and its on-state thumb, used
|
||||
colors too close to their surrounding background to read as a toggle. The
|
||||
select combobox's highlighted/selected option text used a color too close to
|
||||
the highlight background.
|
||||
|
||||
The global search input's text color was forced with `!important`,
|
||||
overriding the theme-specific search text color some themes set, which made
|
||||
typed text render in white on a white search input background in the vault
|
||||
"Dark Theme – High Contrast". The search placeholder color also used an
|
||||
invalid CSS custom property fallback (a bare property name instead of a
|
||||
nested `var()`), silently breaking the placeholder color for any theme that
|
||||
didn't define a search-specific placeholder token, and the vault "Dark
|
||||
Theme"'s placeholder color was too close to its input's text and border color
|
||||
to read as muted.
|
||||
|
||||
The slider now has a visible border and no longer dims on rest, the switch
|
||||
and select now use colors with sufficient contrast against their
|
||||
backgrounds, the `!important` override blocking theme-specific search colors
|
||||
has been removed, the invalid placeholder fallback has been fixed, and the
|
||||
vault "Dark Theme" placeholder color has been changed to one with visible
|
||||
contrast against the input text.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12639
|
||||
@@ -0,0 +1,7 @@
|
||||
Bugfix: Apply the role allowlist on permission updates
|
||||
|
||||
The `PATCH` permission and space-root permission handlers now consult the
|
||||
administrator role allowlist when validating a request, consistent with the
|
||||
invite handler.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12540
|
||||
@@ -0,0 +1,15 @@
|
||||
Bugfix: Restore hover feedback in high-contrast and dark themes
|
||||
|
||||
The Light and Dark High-Contrast themes set the background-highlight color
|
||||
token equal to the default page background, making hover backgrounds
|
||||
indistinguishable from the resting background wherever background-highlight
|
||||
was used for interactive feedback, such as the global search results
|
||||
dropdown. The non-high-contrast Dark theme had the same collision.
|
||||
|
||||
background-highlight now matches background-hover in the affected theme
|
||||
definitions, and the search results dropdown and create-shortcut context
|
||||
menu now use the background-hover color directly for their hover and active
|
||||
states, since background-highlight is otherwise used for static surfaces
|
||||
like cards, modals and form fields rather than interaction feedback.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12613
|
||||
@@ -0,0 +1,9 @@
|
||||
Bugfix: Fix share metadata corruption during concurrent share operations
|
||||
|
||||
When multiple sharing service replicas processed share operations concurrently
|
||||
for the same user, the share metadata could become corrupted with references to
|
||||
missing data, making all shares inaccessible to that user. The received share
|
||||
cache now uses compare-and-swap (etag) validation to detect concurrent writes
|
||||
and retries gracefully, preventing metadata corruption.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12621
|
||||
@@ -0,0 +1,12 @@
|
||||
Bugfix: Preserve accessibility focus in the file versions sidebar
|
||||
|
||||
Opening the file versions panel with a keyboard or screen reader could move
|
||||
focus to the main page, and restoring a version could briefly move focus to the
|
||||
main page before selecting the sidebar's back button. The sidebar now manages
|
||||
focus throughout panel transitions and loading states, restores focus to the
|
||||
control that opened it when closed, and returns focus to the restored version's
|
||||
Restore button after the operation completes. Version dates and action labels
|
||||
also provide clearer context for screen reader users without duplicate
|
||||
announcements or additional tab stops.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12630
|
||||
@@ -0,0 +1,11 @@
|
||||
Bugfix: Fix missing labels and low-contrast elements across the web UI
|
||||
|
||||
Several icon-only buttons (search, hide-share, create-user, gallery
|
||||
navigation) were missing labels, and loading spinners and progress bars did
|
||||
not expose a name describing what they represent. The global search and
|
||||
create shortcut dropdowns now use correct roles and states. Tooltips no longer
|
||||
get caught mid-fade with a low-contrast color when the reduced-motion system
|
||||
setting is enabled, and low-contrast colors were fixed in the select combobox
|
||||
search input and in markdown editor links and inline code.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12526
|
||||
@@ -0,0 +1,7 @@
|
||||
Enhancement: Clean up the deployment examples
|
||||
|
||||
Removed the legacy deployment example oc10_ocis_parallel and its
|
||||
documentation references.
|
||||
Removed coverage.out
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12521
|
||||
@@ -0,0 +1,10 @@
|
||||
Enhancement: Add option to disable public link sharing
|
||||
|
||||
Added an `OCIS_ENABLE_PUBLIC_SHARING` config option, read by the frontend
|
||||
and sharing services. It defaults to `true`. When set to `false`,
|
||||
creating new public links is rejected and the
|
||||
`files_sharing.public.enabled` capability reports `false` so clients
|
||||
hide the corresponding UI. Direct sharing with users and groups is not
|
||||
affected.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12542
|
||||
@@ -0,0 +1,11 @@
|
||||
Enhancement: Add option to disable direct (user/group) sharing
|
||||
|
||||
Added an `OCIS_ENABLE_USER_SHARING` config option, read by the frontend,
|
||||
graph, sharing and ocm services. It defaults to `true`. When set to
|
||||
`false`, creating new user, group or federated shares is rejected, the
|
||||
legacy `sharees` search endpoint returns no results, and the
|
||||
`files_sharing.user.enabled` and `files_sharing.user_enumeration.enabled`
|
||||
capabilities report `false` so clients hide the corresponding UI. Public
|
||||
link sharing and space membership are not affected.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12542
|
||||
@@ -0,0 +1,10 @@
|
||||
Enhancement: Improve page structure on several pages
|
||||
|
||||
We've added missing `main` and `footer` regions to several pages (404,
|
||||
private link resolving, missing config, logout, access denied, public link
|
||||
resolving) for a more consistent page structure. We've also fixed the
|
||||
"Skip to main" link, which previously did nothing on pages using the plain
|
||||
layout (login, logout, public/private link pages) due to a missing target id
|
||||
and a stale cached DOM reference.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12637
|
||||
@@ -0,0 +1,7 @@
|
||||
Enhancement: Show the select-all checkbox label in tile view
|
||||
|
||||
The label of the select-all checkbox in the resource tiles view is now
|
||||
visible, improving the user experience by making it clear what the
|
||||
checkbox is for.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12640
|
||||
@@ -0,0 +1,13 @@
|
||||
Bugfix: Return correct issuerAssignedId on /me
|
||||
|
||||
The `/graph/v1.0/me` endpoint reported the internal user UUID as
|
||||
`identities[].issuerAssignedId` instead of the issuer-assigned identity (the
|
||||
OIDC `sub`). The endpoint took a fast path that built the user model from the
|
||||
CS3 user in the request context, which does not carry the external identity, so
|
||||
it fell back to the internal UUID. `/me` now always resolves the user through
|
||||
the identity backend, which reads the stored external identity and returns the
|
||||
correct value. Group memberships are still only expanded when
|
||||
`$expand=memberOf` is requested.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12431
|
||||
https://github.com/owncloud/ocis/pull/12411
|
||||
@@ -0,0 +1,5 @@
|
||||
Security: Restrict group member data to authorized users
|
||||
|
||||
The groups API could return group membership details to callers who should not have had access to it. Access to group member data is now properly restricted based on the caller's permissions.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12573
|
||||
@@ -0,0 +1,8 @@
|
||||
Security: Harden origin validation for embed mode delegated authentication
|
||||
|
||||
Hardened origin validation for the delegated authentication feature in Web's
|
||||
embed mode. Deployments using `WEB_OPTION_EMBED_DELEGATE_AUTHENTICATION` should
|
||||
ensure `WEB_OPTION_EMBED_DELEGATE_AUTHENTICATION_ORIGIN` is explicitly
|
||||
configured.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12572
|
||||
+7
-2
@@ -11,11 +11,16 @@
|
||||
},
|
||||
"require-dev": {
|
||||
"ext-simplexml": "*",
|
||||
"bamarni/composer-bin-plugin": "^1.8"
|
||||
"bamarni/composer-bin-plugin": "^1.8",
|
||||
"playwright-php/playwright": "^1.2"
|
||||
},
|
||||
"extra": {
|
||||
"bamarni-bin": {
|
||||
"bin-links": false
|
||||
}
|
||||
},
|
||||
"require": {
|
||||
"khanamiryan/qrcode-detector-decoder": "^2.0",
|
||||
"spomky-labs/otphp": "^11.5"
|
||||
}
|
||||
}
|
||||
}
|
||||
-26734
File diff suppressed because it is too large.
Load diff
@@ -1,69 +0,0 @@
|
||||
# If you're on a internet facing server please comment out following line.
|
||||
# It skips certificate validation for various parts of oCIS and is needed if you use self signed certificates.
|
||||
INSECURE=true
|
||||
|
||||
# The demo users should not be created on a production instance
|
||||
# because their passwords are public
|
||||
DEMO_USERS=false
|
||||
|
||||
### Traefik settings ###
|
||||
TRAEFIK_LOG_LEVEL=
|
||||
# Serve Traefik dashboard. Defaults to "false".
|
||||
TRAEFIK_DASHBOARD=
|
||||
# Domain of Traefik, where you can find the dashboard. Defaults to "traefik.owncloud.test"
|
||||
TRAEFIK_DOMAIN=
|
||||
# Basic authentication for the dashboard. Defaults to user "admin" and password "admin"
|
||||
TRAEFIK_BASIC_AUTH_USERS=
|
||||
# Email address for obtaining LetsEncrypt certificates, needs only be changed if this is a public facing server
|
||||
TRAEFIK_ACME_MAIL=
|
||||
|
||||
### shared oCIS / oC10 settings ###
|
||||
# Domain of oCIS / oC10, where you can find the frontend. Defaults to "cloud.owncloud.test"
|
||||
CLOUD_DOMAIN=
|
||||
|
||||
### oCIS settings ###
|
||||
# oCIS version. Defaults to "latest"
|
||||
OCIS_DOCKER_TAG=
|
||||
# JWT secret which is used for the storage provider. Must be changed in order to have a secure oCIS. Defaults to "Pive-Fumkiu4"
|
||||
OCIS_JWT_SECRET=
|
||||
# JWT secret which is used for uploads to create transfer tokens. Must be changed in order to have a secure oCIS. Defaults to "replace-me-with-a-transfer-secret"
|
||||
STORAGE_TRANSFER_SECRET=
|
||||
# Machine auth api key secret. Must be changed in order to have a secure oCIS. Defaults to "change-me-please"
|
||||
OCIS_MACHINE_AUTH_API_KEY=
|
||||
|
||||
### oCIS settings ###
|
||||
# oC10 version. Defaults to "latest"
|
||||
OC10_DOCKER_TAG=
|
||||
# client secret which the openidconnect app uses to authenticate to Keycloak. Defaults to "oc10-oidc-secret"
|
||||
OC10_OIDC_CLIENT_SECRET=
|
||||
# app which will be shown when opening the ownCloud 10 UI. Defaults to "files" but also could be set to "web"
|
||||
OWNCLOUD_DEFAULT_APP=
|
||||
# if set to "false" (default) links will be opened in the classic UI, if set to "true" ownCloud Web is used
|
||||
OWNCLOUD_WEB_REWRITE_LINKS=
|
||||
|
||||
### LDAP settings ###
|
||||
# password for the LDAP admin user "cn=admin,dc=owncloud,dc=com", defaults to "admin"
|
||||
LDAP_ADMIN_PASSWORD=
|
||||
# Domain of the LDAP management frontend. Defaults to "ldap.owncloud.test"
|
||||
LDAP_MANAGER_DOMAIN=
|
||||
|
||||
### Keycloak ###
|
||||
# Domain of Keycloak, where you can find the management and authentication frontend. Defaults to "keycloak.owncloud.test"
|
||||
KEYCLOAK_DOMAIN=
|
||||
# Realm which to be used with oCIS. Defaults to "oCIS"
|
||||
KEYCLOAK_REALM=
|
||||
# Admin user login name. Defaults to "admin"
|
||||
KEYCLOAK_ADMIN_USER=
|
||||
# Admin user login password. Defaults to "admin"
|
||||
KEYCLOAK_ADMIN_PASSWORD=
|
||||
|
||||
|
||||
# If you want to use debugging and tracing with this stack,
|
||||
# you need uncomment following line. Please see documentation at
|
||||
# https://owncloud.dev/ocis/deployment/monitoring-tracing/
|
||||
#COMPOSE_FILE=docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||
|
||||
# If you want to use the testsuite with this stack,
|
||||
# you need uncomment following line. Please see documentation at
|
||||
# https://owncloud.dev/ocis/development/testing/
|
||||
#COMPOSE_FILE=docker-compose.yml:testing/docker-compose-additions.yml
|
||||
@@ -1,6 +0,0 @@
|
||||
---
|
||||
document this deployment example in docs/ocis/deployment/oc10_ocis_parallel.md
|
||||
---
|
||||
|
||||
Please refer to [our documentation](https://owncloud.dev/ocis/deployment/oc10_ocis_parallel/)
|
||||
for instructions on how to deploy this scenario.
|
||||
@@ -1,63 +0,0 @@
|
||||
{
|
||||
"clientId": "e4rAsNUSIUs0lF4nbv9FmCeUkTlV9GdgTLDH1b5uie7syb90SzEVrbN7HIpmWJeD",
|
||||
"name": "ownCloud Android app",
|
||||
"surrogateAuthRequired": false,
|
||||
"enabled": true,
|
||||
"alwaysDisplayInConsole": false,
|
||||
"clientAuthenticatorType": "client-secret",
|
||||
"secret" : "dInFYGV33xKzhbRmpqQltYNdfLdJIfJ9L5ISoKhNoT9qZftpdWSP71VrpGR9pmoD",
|
||||
"redirectUris": [
|
||||
"oc://android.owncloud.com"
|
||||
],
|
||||
"webOrigins": [],
|
||||
"notBefore": 0,
|
||||
"bearerOnly": false,
|
||||
"consentRequired": false,
|
||||
"standardFlowEnabled": true,
|
||||
"implicitFlowEnabled": false,
|
||||
"directAccessGrantsEnabled": true,
|
||||
"serviceAccountsEnabled": false,
|
||||
"publicClient": false,
|
||||
"frontchannelLogout": false,
|
||||
"protocol": "openid-connect",
|
||||
"attributes": {
|
||||
"saml.assertion.signature": "false",
|
||||
"saml.force.post.binding": "false",
|
||||
"saml.multivalued.roles": "false",
|
||||
"saml.encrypt": "false",
|
||||
"backchannel.logout.revoke.offline.tokens": "false",
|
||||
"saml.server.signature": "false",
|
||||
"saml.server.signature.keyinfo.ext": "false",
|
||||
"exclude.session.state.from.auth.response": "false",
|
||||
"backchannel.logout.session.required": "true",
|
||||
"client_credentials.use_refresh_token": "false",
|
||||
"saml_force_name_id_format": "false",
|
||||
"saml.client.signature": "false",
|
||||
"tls.client.certificate.bound.access.tokens": "false",
|
||||
"saml.authnstatement": "false",
|
||||
"display.on.consent.screen": "false",
|
||||
"saml.onetimeuse.condition": "false"
|
||||
},
|
||||
"authenticationFlowBindingOverrides": {},
|
||||
"fullScopeAllowed": true,
|
||||
"nodeReRegistrationTimeout": -1,
|
||||
"defaultClientScopes": [
|
||||
"web-origins",
|
||||
"role_list",
|
||||
"profile",
|
||||
"roles",
|
||||
"owncloud",
|
||||
"email"
|
||||
],
|
||||
"optionalClientScopes": [
|
||||
"address",
|
||||
"phone",
|
||||
"offline_access",
|
||||
"microprofile-jwt"
|
||||
],
|
||||
"access": {
|
||||
"view": true,
|
||||
"configure": true,
|
||||
"manage": true
|
||||
}
|
||||
}
|
||||
@@ -1,64 +0,0 @@
|
||||
{
|
||||
"clientId": "xdXOt13JKxym1B1QcEncf2XDkLAexMBFwiT9j6EfhhHFJhs2KM9jbjTmf8JBXE69",
|
||||
"name": "ownCloud desktop client",
|
||||
"surrogateAuthRequired": false,
|
||||
"enabled": true,
|
||||
"alwaysDisplayInConsole": false,
|
||||
"clientAuthenticatorType": "client-secret",
|
||||
"secret" : "UBntmLjC2yYCeHwsyj73Uwo9TAaecAetRwMw0xYcvNL9yRdLSUi0hUAHfvCHFeFh",
|
||||
"redirectUris": [
|
||||
"http://127.0.0.1:*",
|
||||
"http://localhost:*"
|
||||
],
|
||||
"webOrigins": [],
|
||||
"notBefore": 0,
|
||||
"bearerOnly": false,
|
||||
"consentRequired": false,
|
||||
"standardFlowEnabled": true,
|
||||
"implicitFlowEnabled": false,
|
||||
"directAccessGrantsEnabled": true,
|
||||
"serviceAccountsEnabled": false,
|
||||
"publicClient": false,
|
||||
"frontchannelLogout": false,
|
||||
"protocol": "openid-connect",
|
||||
"attributes": {
|
||||
"saml.assertion.signature": "false",
|
||||
"saml.force.post.binding": "false",
|
||||
"saml.multivalued.roles": "false",
|
||||
"saml.encrypt": "false",
|
||||
"backchannel.logout.revoke.offline.tokens": "false",
|
||||
"saml.server.signature": "false",
|
||||
"saml.server.signature.keyinfo.ext": "false",
|
||||
"exclude.session.state.from.auth.response": "false",
|
||||
"backchannel.logout.session.required": "true",
|
||||
"client_credentials.use_refresh_token": "false",
|
||||
"saml_force_name_id_format": "false",
|
||||
"saml.client.signature": "false",
|
||||
"tls.client.certificate.bound.access.tokens": "false",
|
||||
"saml.authnstatement": "false",
|
||||
"display.on.consent.screen": "false",
|
||||
"saml.onetimeuse.condition": "false"
|
||||
},
|
||||
"authenticationFlowBindingOverrides": {},
|
||||
"fullScopeAllowed": true,
|
||||
"nodeReRegistrationTimeout": -1,
|
||||
"defaultClientScopes": [
|
||||
"web-origins",
|
||||
"role_list",
|
||||
"profile",
|
||||
"roles",
|
||||
"owncloud",
|
||||
"email"
|
||||
],
|
||||
"optionalClientScopes": [
|
||||
"address",
|
||||
"phone",
|
||||
"offline_access",
|
||||
"microprofile-jwt"
|
||||
],
|
||||
"access": {
|
||||
"view": true,
|
||||
"configure": true,
|
||||
"manage": true
|
||||
}
|
||||
}
|
||||
@@ -1,63 +0,0 @@
|
||||
{
|
||||
"clientId": "mxd5OQDk6es5LzOzRvidJNfXLUZS2oN3oUFeXPP8LpPrhx3UroJFduGEYIBOxkY1",
|
||||
"name": "ownCloud iOS app",
|
||||
"surrogateAuthRequired": false,
|
||||
"enabled": true,
|
||||
"alwaysDisplayInConsole": false,
|
||||
"clientAuthenticatorType": "client-secret",
|
||||
"secret" : "KFeFWWEZO9TkisIQzR3fo7hfiMXlOpaqP8CFuTbSHzV1TUuGECglPxpiVKJfOXIx",
|
||||
"redirectUris": [
|
||||
"oc://ios.owncloud.com"
|
||||
],
|
||||
"webOrigins": [],
|
||||
"notBefore": 0,
|
||||
"bearerOnly": false,
|
||||
"consentRequired": false,
|
||||
"standardFlowEnabled": true,
|
||||
"implicitFlowEnabled": false,
|
||||
"directAccessGrantsEnabled": true,
|
||||
"serviceAccountsEnabled": false,
|
||||
"publicClient": false,
|
||||
"frontchannelLogout": false,
|
||||
"protocol": "openid-connect",
|
||||
"attributes": {
|
||||
"saml.assertion.signature": "false",
|
||||
"saml.force.post.binding": "false",
|
||||
"saml.multivalued.roles": "false",
|
||||
"saml.encrypt": "false",
|
||||
"backchannel.logout.revoke.offline.tokens": "false",
|
||||
"saml.server.signature": "false",
|
||||
"saml.server.signature.keyinfo.ext": "false",
|
||||
"exclude.session.state.from.auth.response": "false",
|
||||
"backchannel.logout.session.required": "true",
|
||||
"client_credentials.use_refresh_token": "false",
|
||||
"saml_force_name_id_format": "false",
|
||||
"saml.client.signature": "false",
|
||||
"tls.client.certificate.bound.access.tokens": "false",
|
||||
"saml.authnstatement": "false",
|
||||
"display.on.consent.screen": "false",
|
||||
"saml.onetimeuse.condition": "false"
|
||||
},
|
||||
"authenticationFlowBindingOverrides": {},
|
||||
"fullScopeAllowed": true,
|
||||
"nodeReRegistrationTimeout": -1,
|
||||
"defaultClientScopes": [
|
||||
"web-origins",
|
||||
"role_list",
|
||||
"profile",
|
||||
"roles",
|
||||
"owncloud",
|
||||
"email"
|
||||
],
|
||||
"optionalClientScopes": [
|
||||
"address",
|
||||
"phone",
|
||||
"offline_access",
|
||||
"microprofile-jwt"
|
||||
],
|
||||
"access": {
|
||||
"view": true,
|
||||
"configure": true,
|
||||
"manage": true
|
||||
}
|
||||
}
|
||||
@@ -1,69 +0,0 @@
|
||||
{
|
||||
"clientId": "oc10-web",
|
||||
"rootUrl": "https://cloud.owncloud.test",
|
||||
"adminUrl": "https://cloud.owncloud.test",
|
||||
"surrogateAuthRequired": false,
|
||||
"enabled": true,
|
||||
"alwaysDisplayInConsole": false,
|
||||
"clientAuthenticatorType": "client-secret",
|
||||
"redirectUris": [
|
||||
"https://cloud.owncloud.test/*"
|
||||
],
|
||||
"webOrigins": [
|
||||
"https://cloud.owncloud.test"
|
||||
],
|
||||
"notBefore": 0,
|
||||
"bearerOnly": false,
|
||||
"consentRequired": false,
|
||||
"standardFlowEnabled": true,
|
||||
"implicitFlowEnabled": false,
|
||||
"directAccessGrantsEnabled": true,
|
||||
"serviceAccountsEnabled": false,
|
||||
"publicClient": true,
|
||||
"frontchannelLogout": false,
|
||||
"protocol": "openid-connect",
|
||||
"attributes": {
|
||||
"saml.assertion.signature": "false",
|
||||
"id.token.as.detached.signature": "false",
|
||||
"saml.force.post.binding": "false",
|
||||
"saml.multivalued.roles": "false",
|
||||
"saml.encrypt": "false",
|
||||
"oauth2.device.authorization.grant.enabled": "false",
|
||||
"backchannel.logout.revoke.offline.tokens": "false",
|
||||
"saml.server.signature": "false",
|
||||
"saml.server.signature.keyinfo.ext": "false",
|
||||
"use.refresh.tokens": "true",
|
||||
"exclude.session.state.from.auth.response": "false",
|
||||
"oidc.ciba.grant.enabled": "false",
|
||||
"saml.artifact.binding": "false",
|
||||
"backchannel.logout.session.required": "true",
|
||||
"client_credentials.use_refresh_token": "false",
|
||||
"saml_force_name_id_format": "false",
|
||||
"saml.client.signature": "false",
|
||||
"tls.client.certificate.bound.access.tokens": "false",
|
||||
"saml.authnstatement": "false",
|
||||
"display.on.consent.screen": "false",
|
||||
"saml.onetimeuse.condition": "false"
|
||||
},
|
||||
"authenticationFlowBindingOverrides": {},
|
||||
"fullScopeAllowed": true,
|
||||
"nodeReRegistrationTimeout": -1,
|
||||
"defaultClientScopes": [
|
||||
"web-origins",
|
||||
"profile",
|
||||
"roles",
|
||||
"owncloud",
|
||||
"email"
|
||||
],
|
||||
"optionalClientScopes": [
|
||||
"address",
|
||||
"phone",
|
||||
"offline_access",
|
||||
"microprofile-jwt"
|
||||
],
|
||||
"access": {
|
||||
"view": true,
|
||||
"configure": true,
|
||||
"manage": true
|
||||
}
|
||||
}
|
||||
@@ -1,69 +0,0 @@
|
||||
{
|
||||
"clientId": "oc10",
|
||||
"rootUrl": "https://cloud.owncloud.test",
|
||||
"adminUrl": "https://cloud.owncloud.test",
|
||||
"surrogateAuthRequired": false,
|
||||
"enabled": true,
|
||||
"alwaysDisplayInConsole": false,
|
||||
"clientAuthenticatorType": "client-secret",
|
||||
"redirectUris": [
|
||||
"https://cloud.owncloud.test/*"
|
||||
],
|
||||
"webOrigins": [
|
||||
"https://cloud.owncloud.test"
|
||||
],
|
||||
"notBefore": 0,
|
||||
"bearerOnly": false,
|
||||
"consentRequired": false,
|
||||
"standardFlowEnabled": true,
|
||||
"implicitFlowEnabled": false,
|
||||
"directAccessGrantsEnabled": true,
|
||||
"serviceAccountsEnabled": false,
|
||||
"publicClient": false,
|
||||
"frontchannelLogout": false,
|
||||
"protocol": "openid-connect",
|
||||
"attributes": {
|
||||
"id.token.as.detached.signature": "false",
|
||||
"saml.assertion.signature": "false",
|
||||
"saml.force.post.binding": "false",
|
||||
"saml.multivalued.roles": "false",
|
||||
"saml.encrypt": "false",
|
||||
"oauth2.device.authorization.grant.enabled": "false",
|
||||
"backchannel.logout.revoke.offline.tokens": "false",
|
||||
"saml.server.signature": "false",
|
||||
"saml.server.signature.keyinfo.ext": "false",
|
||||
"use.refresh.tokens": "true",
|
||||
"exclude.session.state.from.auth.response": "false",
|
||||
"oidc.ciba.grant.enabled": "false",
|
||||
"saml.artifact.binding": "false",
|
||||
"backchannel.logout.session.required": "true",
|
||||
"client_credentials.use_refresh_token": "false",
|
||||
"saml_force_name_id_format": "false",
|
||||
"saml.client.signature": "false",
|
||||
"tls.client.certificate.bound.access.tokens": "false",
|
||||
"saml.authnstatement": "false",
|
||||
"display.on.consent.screen": "false",
|
||||
"saml.onetimeuse.condition": "false"
|
||||
},
|
||||
"authenticationFlowBindingOverrides": {},
|
||||
"fullScopeAllowed": true,
|
||||
"nodeReRegistrationTimeout": -1,
|
||||
"defaultClientScopes": [
|
||||
"web-origins",
|
||||
"profile",
|
||||
"roles",
|
||||
"owncloud",
|
||||
"email"
|
||||
],
|
||||
"optionalClientScopes": [
|
||||
"address",
|
||||
"phone",
|
||||
"offline_access",
|
||||
"microprofile-jwt"
|
||||
],
|
||||
"access": {
|
||||
"view": true,
|
||||
"configure": true,
|
||||
"manage": true
|
||||
}
|
||||
}
|
||||
@@ -1,65 +0,0 @@
|
||||
{
|
||||
"clientId": "ocis-web",
|
||||
"rootUrl": "https://cloud.owncloud.test",
|
||||
"adminUrl": "https://cloud.owncloud.test",
|
||||
"baseUrl": "",
|
||||
"surrogateAuthRequired": false,
|
||||
"enabled": true,
|
||||
"alwaysDisplayInConsole": false,
|
||||
"clientAuthenticatorType": "client-secret",
|
||||
"redirectUris": [
|
||||
"https://cloud.owncloud.test/*"
|
||||
],
|
||||
"webOrigins": [
|
||||
"https://cloud.owncloud.test"
|
||||
],
|
||||
"notBefore": 0,
|
||||
"bearerOnly": false,
|
||||
"consentRequired": false,
|
||||
"standardFlowEnabled": true,
|
||||
"implicitFlowEnabled": false,
|
||||
"directAccessGrantsEnabled": true,
|
||||
"serviceAccountsEnabled": false,
|
||||
"publicClient": true,
|
||||
"frontchannelLogout": false,
|
||||
"protocol": "openid-connect",
|
||||
"attributes": {
|
||||
"saml.assertion.signature": "false",
|
||||
"saml.force.post.binding": "false",
|
||||
"saml.multivalued.roles": "false",
|
||||
"saml.encrypt": "false",
|
||||
"backchannel.logout.revoke.offline.tokens": "false",
|
||||
"saml.server.signature": "false",
|
||||
"saml.server.signature.keyinfo.ext": "false",
|
||||
"exclude.session.state.from.auth.response": "false",
|
||||
"backchannel.logout.session.required": "true",
|
||||
"client_credentials.use_refresh_token": "false",
|
||||
"saml_force_name_id_format": "false",
|
||||
"saml.client.signature": "false",
|
||||
"tls.client.certificate.bound.access.tokens": "false",
|
||||
"saml.authnstatement": "false",
|
||||
"display.on.consent.screen": "false",
|
||||
"saml.onetimeuse.condition": "false"
|
||||
},
|
||||
"authenticationFlowBindingOverrides": {},
|
||||
"fullScopeAllowed": true,
|
||||
"nodeReRegistrationTimeout": -1,
|
||||
"defaultClientScopes": [
|
||||
"web-origins",
|
||||
"profile",
|
||||
"roles",
|
||||
"owncloud",
|
||||
"email"
|
||||
],
|
||||
"optionalClientScopes": [
|
||||
"address",
|
||||
"phone",
|
||||
"offline_access",
|
||||
"microprofile-jwt"
|
||||
],
|
||||
"access": {
|
||||
"view": true,
|
||||
"configure": true,
|
||||
"manage": true
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
#!/bin/bash
|
||||
printenv
|
||||
# replace owncloud domain in keycloak realm import
|
||||
cp /opt/jboss/keycloak/owncloud-realm.dist.json /opt/jboss/keycloak/owncloud-realm.json
|
||||
sed -i "s/cloud.owncloud.test/${CLOUD_DOMAIN}/g" /opt/jboss/keycloak/owncloud-realm.json
|
||||
sed -i "s/oc10-oidc-secret/${OC10_OIDC_CLIENT_SECRET}/g" /opt/jboss/keycloak/owncloud-realm.json
|
||||
sed -i "s/ldap-bind-credential/${LDAP_ADMIN_PASSWORD}/g" /opt/jboss/keycloak/owncloud-realm.json
|
||||
|
||||
|
||||
|
||||
# run original docker-entrypoint
|
||||
/opt/jboss/tools/docker-entrypoint.sh
|
||||
File diff suppressed because it is too large.
Load diff
@@ -1,32 +0,0 @@
|
||||
# This LDIF files describes the ownCloud schema
|
||||
dn: cn=owncloud,cn=schema,cn=config
|
||||
objectClass: olcSchemaConfig
|
||||
cn: owncloud
|
||||
olcObjectIdentifier: ownCloudOid 1.3.6.1.4.1.39430
|
||||
olcAttributeTypes: ( ownCloudOid:1.1.2 NAME 'ownCloudUUID'
|
||||
DESC 'A non-reassignable and persistent account ID)'
|
||||
EQUALITY uuidMatch
|
||||
SUBSTR caseIgnoreSubstringsMatch
|
||||
SYNTAX 1.3.6.1.1.16.1 SINGLE-VALUE )
|
||||
olcAttributeTypes: ( ownCloudOid:1.1.3 NAME 'oCExternalIdentity'
|
||||
DESC 'A triple separated by "$" representing the objectIdentity resource type of the Graph API ( signInType $ issuer $ issuerAssignedId )'
|
||||
EQUALITY caseIgnoreMatch
|
||||
SUBSTR caseIgnoreSubstringsMatch
|
||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
|
||||
olcAttributeTypes: ( ownCloudOid:1.1.4 NAME 'ownCloudUserEnabled'
|
||||
DESC 'A boolean value indicating if ownCloudUser is enabled'
|
||||
EQUALITY booleanMatch
|
||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE)
|
||||
olcAttributeTypes: ( ownCloudOid:1.1.5 NAME 'ownCloudUserType'
|
||||
DESC 'User type (e.g. Member or Guest)'
|
||||
EQUALITY caseIgnoreMatch
|
||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
|
||||
olcObjectClasses: ( ownCloudOid:1.2.1 NAME 'ownCloud'
|
||||
DESC 'ownCloud LDAP Schema'
|
||||
AUXILIARY
|
||||
MAY ( ownCloudUUID ) )
|
||||
olcObjectClasses: ( ownCloudOid:1.2.2 NAME 'ownCloudUser'
|
||||
DESC 'ownCloud User LDAP Schema'
|
||||
SUP ownCloud
|
||||
AUXILIARY
|
||||
MAY ( ocExternalIdentity $ ownCloudUserEnabled $ ownCloudUserType ) )
|
||||
@@ -1,109 +0,0 @@
|
||||
dn: ou=users,dc=owncloud,dc=com
|
||||
objectClass: organizationalUnit
|
||||
ou: users
|
||||
|
||||
# Start dn with uid (user identifier / login), not cn (Firstname + Surname)
|
||||
dn: uid=einstein,ou=users,dc=owncloud,dc=com
|
||||
objectClass: inetOrgPerson
|
||||
objectClass: organizationalPerson
|
||||
objectClass: ownCloud
|
||||
objectClass: person
|
||||
objectClass: posixAccount
|
||||
objectClass: top
|
||||
uid: einstein
|
||||
givenName: Albert
|
||||
sn: Einstein
|
||||
cn: einstein
|
||||
displayName: Albert Einstein
|
||||
description: A German-born theoretical physicist who developed the theory of relativity, one of the two pillars of modern physics (alongside quantum mechanics).
|
||||
mail: einstein@example.org
|
||||
uidNumber: 20000
|
||||
gidNumber: 30000
|
||||
homeDirectory: /home/einstein
|
||||
ownCloudUUID:: NGM1MTBhZGEtYzg2Yi00ODE1LTg4MjAtNDJjZGY4MmMzZDUx
|
||||
userPassword:: e1NTSEF9TXJEcXpFNGdKbXZxbVRVTGhvWEZ1VzJBbkV3NWFLK3J3WTIvbHc9PQ==
|
||||
ownCloudSelector: ocis
|
||||
|
||||
dn: uid=marie,ou=users,dc=owncloud,dc=com
|
||||
objectClass: inetOrgPerson
|
||||
objectClass: organizationalPerson
|
||||
objectClass: ownCloud
|
||||
objectClass: person
|
||||
objectClass: posixAccount
|
||||
objectClass: top
|
||||
uid: marie
|
||||
givenName: Marie
|
||||
sn: Curie
|
||||
cn: marie
|
||||
displayName: Marie Skłodowska Curie
|
||||
description: A Polish and naturalized-French physicist and chemist who conducted pioneering research on radioactivity.
|
||||
mail: marie@example.org
|
||||
uidNumber: 20001
|
||||
gidNumber: 30000
|
||||
homeDirectory: /home/marie
|
||||
ownCloudUUID:: ZjdmYmY4YzgtMTM5Yi00Mzc2LWIzMDctY2YwYThjMmQwZDlj
|
||||
userPassword:: e1NTSEF9UmFvQWs3TU9jRHBIUWY3bXN3MGhHNnVraFZQWnRIRlhOSUNNZEE9PQ==
|
||||
ownCloudSelector: oc10
|
||||
|
||||
dn: uid=richard,ou=users,dc=owncloud,dc=com
|
||||
objectClass: inetOrgPerson
|
||||
objectClass: organizationalPerson
|
||||
objectClass: ownCloud
|
||||
objectClass: person
|
||||
objectClass: posixAccount
|
||||
objectClass: top
|
||||
uid: richard
|
||||
givenName: Richard
|
||||
sn: Feynman
|
||||
cn: richard
|
||||
displayName: Richard Phillips Feynman
|
||||
description: An American theoretical physicist, known for his work in the path integral formulation of quantum mechanics, the theory of quantum electrodynamics, the physics of the superfluidity of supercooled liquid helium, as well as his work in particle physics for which he proposed the parton model.
|
||||
mail: richard@example.org
|
||||
uidNumber: 20002
|
||||
gidNumber: 30000
|
||||
homeDirectory: /home/richard
|
||||
ownCloudUUID:: OTMyYjQ1NDAtOGQxNi00ODFlLThlZjQtNTg4ZTRiNmIxNTFj
|
||||
userPassword:: e1NTSEF9Z05LZTRreHdmOGRUREY5eHlhSmpySTZ3MGxSVUM1d1RGcWROTVE9PQ==
|
||||
ownCloudSelector: ocis
|
||||
|
||||
dn: uid=moss,ou=users,dc=owncloud,dc=com
|
||||
objectClass: inetOrgPerson
|
||||
objectClass: organizationalPerson
|
||||
objectClass: ownCloud
|
||||
objectClass: person
|
||||
objectClass: posixAccount
|
||||
objectClass: top
|
||||
uid: moss
|
||||
givenName: Maurice
|
||||
sn: Moss
|
||||
cn: moss
|
||||
displayName: Maurice Moss
|
||||
description: A worker in the IT Department of Reynholm Industries. Of all the working staff in the IT Department, he is the most hard-working, the most experienced, and the most capable of doing his job well. He puts a lot of effort into his work, however he does not get the credit he deserves.
|
||||
mail: moss@example.org
|
||||
uidNumber: 20003
|
||||
gidNumber: 30000
|
||||
homeDirectory: /home/moss
|
||||
ownCloudUUID:: MDU4YmZmOTUtNjcwOC00ZmU1LTkxZTQtOWVhM2QzNzc1ODhi
|
||||
userPassword:: e1NTSEF9N0hEdTRoMkFDVExFWWt4U0RtSDZVQjhmUlpKRExDZDc=
|
||||
ownCloudSelector: ocis
|
||||
|
||||
dn: uid=admin,ou=users,dc=owncloud,dc=com
|
||||
objectClass: inetOrgPerson
|
||||
objectClass: organizationalPerson
|
||||
objectClass: ownCloud
|
||||
objectClass: person
|
||||
objectClass: posixAccount
|
||||
objectClass: top
|
||||
uid: admin
|
||||
givenName: Admin
|
||||
sn: Admin
|
||||
cn: admin
|
||||
displayName: Admin
|
||||
description: An admin for this oCIS instance.
|
||||
mail: admin@example.org
|
||||
uidNumber: 20004
|
||||
gidNumber: 30000
|
||||
homeDirectory: /home/admin
|
||||
ownCloudUUID:: ZGRjMjAwNGMtMDk3Ny0xMWViLTlkM2YtYTc5Mzg4OGNkMGY4
|
||||
userPassword:: e1NTSEF9UWhmaFB3dERydTUydURoWFFObDRMbzVIckI3TkI5Nmo=
|
||||
ownCloudSelector: oc10
|
||||
@@ -1,81 +0,0 @@
|
||||
dn: ou=groups,dc=owncloud,dc=com
|
||||
objectClass: organizationalUnit
|
||||
ou: groups
|
||||
|
||||
dn: cn=users,ou=groups,dc=owncloud,dc=com
|
||||
objectClass: groupOfNames
|
||||
objectClass: ownCloud
|
||||
objectClass: top
|
||||
cn: users
|
||||
description: Users
|
||||
ownCloudUUID:: NTA5YTlkY2QtYmIzNy00ZjRmLWEwMWEtMTlkY2EyN2Q5Y2Zh
|
||||
member: uid=einstein,ou=users,dc=owncloud,dc=com
|
||||
member: uid=marie,ou=users,dc=owncloud,dc=com
|
||||
member: uid=richard,ou=users,dc=owncloud,dc=com
|
||||
member: uid=moss,ou=users,dc=owncloud,dc=com
|
||||
member: uid=admin,ou=users,dc=owncloud,dc=com
|
||||
|
||||
dn: cn=sailing-lovers,ou=groups,dc=owncloud,dc=com
|
||||
objectClass: groupOfNames
|
||||
objectClass: ownCloud
|
||||
objectClass: top
|
||||
cn: sailing-lovers
|
||||
description: Sailing lovers
|
||||
ownCloudUUID:: NjA0MGFhMTctOWM2NC00ZmVmLTliZDAtNzcyMzRkNzFiYWQw
|
||||
member: uid=einstein,ou=users,dc=owncloud,dc=com
|
||||
|
||||
dn: cn=violin-haters,ou=groups,dc=owncloud,dc=com
|
||||
objectClass: groupOfNames
|
||||
objectClass: ownCloud
|
||||
objectClass: top
|
||||
cn: violin-haters
|
||||
description: Violin haters
|
||||
ownCloudUUID:: ZGQ1OGU1ZWMtODQyZS00OThiLTg4MDAtNjFmMmVjNmY5MTFm
|
||||
member: uid=einstein,ou=users,dc=owncloud,dc=com
|
||||
|
||||
dn: cn=radium-lovers,ou=groups,dc=owncloud,dc=com
|
||||
objectClass: groupOfNames
|
||||
objectClass: ownCloud
|
||||
objectClass: top
|
||||
cn: radium-lovers
|
||||
description: Radium lovers
|
||||
ownCloudUUID:: N2I4N2ZkNDktMjg2ZS00YTVmLWJhZmQtYzUzNWQ1ZGQ5OTdh
|
||||
member: uid=marie,ou=users,dc=owncloud,dc=com
|
||||
|
||||
dn: cn=polonium-lovers,ou=groups,dc=owncloud,dc=com
|
||||
objectClass: groupOfNames
|
||||
objectClass: ownCloud
|
||||
objectClass: top
|
||||
cn: polonium-lovers
|
||||
description: Polonium lovers
|
||||
ownCloudUUID:: Y2VkYzIxYWEtNDA3Mi00NjE0LTg2NzYtZmE5MTY1ZjU5OGZm
|
||||
member: uid=marie,ou=users,dc=owncloud,dc=com
|
||||
|
||||
dn: cn=quantum-lovers,ou=groups,dc=owncloud,dc=com
|
||||
objectClass: groupOfNames
|
||||
objectClass: ownCloud
|
||||
objectClass: top
|
||||
cn: quantum-lovers
|
||||
description: Quantum lovers
|
||||
ownCloudUUID:: YTE3MjYxMDgtMDFmOC00YzMwLTg4ZGYtMmIxYTlkMWNiYTFh
|
||||
member: uid=richard,ou=users,dc=owncloud,dc=com
|
||||
|
||||
dn: cn=philosophy-haters,ou=groups,dc=owncloud,dc=com
|
||||
objectClass: groupOfNames
|
||||
objectClass: ownCloud
|
||||
objectClass: top
|
||||
cn: philosophy-haters
|
||||
description: Philosophy haters
|
||||
ownCloudUUID:: MTY3Y2JlZTItMDUxOC00NTVhLWJmYjItMDMxZmUwNjIxZTVk
|
||||
member: uid=richard,ou=users,dc=owncloud,dc=com
|
||||
|
||||
dn: cn=physics-lovers,ou=groups,dc=owncloud,dc=com
|
||||
objectClass: groupOfNames
|
||||
objectClass: ownCloud
|
||||
objectClass: top
|
||||
cn: physics-lovers
|
||||
description: Physics lovers
|
||||
ownCloudUUID:: MjYyOTgyYzEtMjM2Mi00YWZhLWJmZGYtOGNiZmVmNjRhMDZl
|
||||
member: uid=einstein,ou=users,dc=owncloud,dc=com
|
||||
member: uid=marie,ou=users,dc=owncloud,dc=com
|
||||
member: uid=richard,ou=users,dc=owncloud,dc=com
|
||||
@@ -1,40 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
echo "Writing custom config files..."
|
||||
|
||||
# openidconnect
|
||||
gomplate \
|
||||
-f /etc/templates/oidc.config.php \
|
||||
-o ${OWNCLOUD_VOLUME_CONFIG}/oidc.config.php
|
||||
|
||||
# we need at least version 2.1.0 of the openidconnect app
|
||||
occ market:upgrade --major openidconnect
|
||||
occ app:enable openidconnect
|
||||
|
||||
# user LDAP
|
||||
gomplate \
|
||||
-f /etc/templates/ldap-config.tmpl.json \
|
||||
-o ${OWNCLOUD_VOLUME_CONFIG}/ldap-config.json
|
||||
|
||||
CONFIG=$(cat ${OWNCLOUD_VOLUME_CONFIG}/ldap-config.json)
|
||||
occ config:import <<< $CONFIG
|
||||
|
||||
occ ldap:test-config "s01"
|
||||
occ app:enable user_ldap
|
||||
/bin/bash -c 'occ user:sync "OCA\User_LDAP\User_Proxy" -r -m remove'
|
||||
|
||||
cp /tmp/ldap-sync-cron /etc/cron.d
|
||||
chown root:root /etc/cron.d/ldap-sync-cron
|
||||
|
||||
# ownCloud Web
|
||||
gomplate \
|
||||
-f /etc/templates/web.config.php \
|
||||
-o ${OWNCLOUD_VOLUME_CONFIG}/web.config.php
|
||||
|
||||
gomplate \
|
||||
-f /etc/templates/web-config.tmpl.json \
|
||||
-o ${OWNCLOUD_VOLUME_CONFIG}/config.json
|
||||
|
||||
occ market:upgrade --major web
|
||||
occ app:enable web
|
||||
|
||||
true
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# enable testing app
|
||||
echo "Cloning and enabling testing app..."
|
||||
git clone --depth 1 https://github.com/owncloud/testing.git /var/www/owncloud/apps/testing
|
||||
occ app:enable testing
|
||||
|
||||
true
|
||||
@@ -1,53 +0,0 @@
|
||||
{
|
||||
"apps": {
|
||||
"user_ldap": {
|
||||
"s01has_memberof_filter_support": "0",
|
||||
"s01home_folder_naming_rule": "",
|
||||
"s01last_jpegPhoto_lookup": "0",
|
||||
"s01ldap_agent_password": "{{ .Env.STORAGE_LDAP_BIND_PASSWORD | base64.Encode }}",
|
||||
"s01ldap_attributes_for_group_search": "",
|
||||
"s01ldap_attributes_for_user_search": "{{ .Env.LDAP_USERATTRIBUTEFILTERS }}",
|
||||
"s01ldap_backup_host": "",
|
||||
"s01ldap_backup_port": "",
|
||||
"s01ldap_base_groups": "{{ .Env.LDAP_BASE_DN }}",
|
||||
"s01ldap_base_users": "{{ .Env.LDAP_BASE_DN }}",
|
||||
"s01ldap_base": "{{ .Env.LDAP_BASE_DN }}",
|
||||
"s01ldap_cache_ttl": "60",
|
||||
"s01ldap_configuration_active": "1",
|
||||
"s01ldap_display_name": "{{ .Env.LDAP_USER_SCHEMA_DISPLAYNAME }}",
|
||||
"s01ldap_dn": "{{ .Env.STORAGE_LDAP_BIND_DN }}",
|
||||
"s01ldap_dynamic_group_member_url": "",
|
||||
"s01ldap_email_attr": "{{ .Env.LDAP_USER_SCHEMA_MAIL }}",
|
||||
"s01ldap_experienced_admin": "1",
|
||||
"s01ldap_expert_username_attr": "{{ .Env.LDAP_USER_SCHEMA_NAME_ATTR }}",
|
||||
"s01ldap_expert_uuid_group_attr": "",
|
||||
"s01ldap_expert_uuid_user_attr": "{{ .Env.LDAP_USER_SCHEMA_UID }}",
|
||||
"s01ldap_group_display_name": "{{ .Env.LDAP_GROUP_SCHEMA_DISPLAYNAME }}",
|
||||
"s01ldap_group_filter_mode": "0",
|
||||
"s01ldap_group_filter": "{{ .Env.LDAP_GROUP_FILTER }}",
|
||||
"s01ldap_group_member_assoc_attribute": "{{ .Env.LDAP_GROUP_MEMBER_ASSOC_ATTR }}",
|
||||
"s01ldap_groupfilter_groups": "",
|
||||
"s01ldap_groupfilter_objectclass": "",
|
||||
"s01ldap_host": "{{ .Env.LDAP_HOST }}",
|
||||
"s01ldap_login_filter_mode": "0",
|
||||
"s01ldap_login_filter": "{{ .Env.LDAP_LOGINFILTER }}",
|
||||
"s01ldap_loginfilter_attributes": "",
|
||||
"s01ldap_loginfilter_email": "1",
|
||||
"s01ldap_loginfilter_username": "1",
|
||||
"s01ldap_nested_groups": "0",
|
||||
"s01ldap_override_main_server": "",
|
||||
"s01ldap_paging_size": "100",
|
||||
"s01ldap_port": "{{ .Env.LDAP_PORT }}",
|
||||
"s01ldap_quota_attr": "",
|
||||
"s01ldap_quota_def": "",
|
||||
"s01ldap_tls": "0",
|
||||
"s01ldap_turn_off_cert_check": "0",
|
||||
"s01ldap_user_display_name_2": "",
|
||||
"s01ldap_user_filter_mode": "0",
|
||||
"s01ldap_userfilter_groups": "",
|
||||
"s01ldap_userfilter_objectclass": "",
|
||||
"s01ldap_userlist_filter": "{{ .Env.LDAP_USER_FILTER }}",
|
||||
"s01use_memberof_to_detect_membership": "1"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
*/1 * * * * www-data /bin/bash -c 'occ user:sync "OCA\User_LDAP\User_Proxy" -r -m remove'
|
||||
@@ -1,22 +0,0 @@
|
||||
<?php
|
||||
|
||||
# reference: https://doc.owncloud.com/server/admin_manual/configuration/user/oidc/
|
||||
|
||||
function getOIDCConfigFromEnv() {
|
||||
$config = [
|
||||
'openid-connect' => [
|
||||
'provider-url' => getenv('IDP_OIDC_ISSUER'),
|
||||
'client-id' => 'oc10',
|
||||
'client-secret' => getenv('IDP_OIDC_CLIENT_SECRET'),
|
||||
'loginButtonName' => 'OpenId Connect',
|
||||
'search-attribute' => 'preferred_username',
|
||||
'mode' => 'userid',
|
||||
'autoRedirectOnLoginPage' => true,
|
||||
'insecure' => true,
|
||||
'post_logout_redirect_uri' => 'https://' . getenv('CLOUD_DOMAIN'),
|
||||
],
|
||||
];
|
||||
return $config;
|
||||
}
|
||||
|
||||
$CONFIG = getOIDCConfigFromEnv();
|
||||
@@ -1,35 +0,0 @@
|
||||
{
|
||||
"server": "https://{{ .Env.CLOUD_DOMAIN }}",
|
||||
"theme": "owncloud",
|
||||
"openIdConnect": {
|
||||
"metadata_url": "{{ .Env.IDP_OIDC_ISSUER }}/.well-known/openid-configuration",
|
||||
"authority": "{{ .Env.IDP_OIDC_ISSUER }}",
|
||||
"client_id": "oc10-web",
|
||||
"response_type": "code",
|
||||
"scope": "openid profile email"
|
||||
},
|
||||
"apps": ["files", "media-viewer", "search"],
|
||||
"applications": [
|
||||
{
|
||||
"icon": "switch_ui",
|
||||
"target": "_self",
|
||||
"title": {
|
||||
"en": "Classic Design",
|
||||
"de": "Dateien",
|
||||
"fr": "Fichiers",
|
||||
"zh_CN": "文件"
|
||||
},
|
||||
"url": "https://{{ .Env.CLOUD_DOMAIN }}/index.php/apps/files"
|
||||
},
|
||||
{
|
||||
"icon": "application",
|
||||
"menu": "user",
|
||||
"target": "_self",
|
||||
"title": {
|
||||
"de": "Einstellungen",
|
||||
"en": "Settings"
|
||||
},
|
||||
"url": "https://{{ .Env.CLOUD_DOMAIN }}/index.php/settings/personal"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
<?php
|
||||
|
||||
# reference: https://owncloud.dev/clients/web/deployments/oc10-app/
|
||||
|
||||
function getWebConfigFromEnv() {
|
||||
$config = [
|
||||
'web.baseUrl' => 'https://' . getenv('CLOUD_DOMAIN') . '/index.php/apps/web',
|
||||
'web.rewriteLinks' => getenv('OWNCLOUD_WEB_REWRITE_LINKS') == 'true',
|
||||
|
||||
];
|
||||
return $config;
|
||||
}
|
||||
|
||||
$CONFIG = getWebConfigFromEnv();
|
||||
@@ -1,5 +0,0 @@
|
||||
password
|
||||
12345678
|
||||
123
|
||||
ownCloud
|
||||
ownCloud-1
|
||||
@@ -1,61 +0,0 @@
|
||||
---
|
||||
policy_selector:
|
||||
claims:
|
||||
default_policy: oc10
|
||||
unauthenticated_policy: oc10
|
||||
policies:
|
||||
- name: ocis
|
||||
routes:
|
||||
- endpoint: /
|
||||
backend: http://localhost:9100
|
||||
- endpoint: /.well-known/
|
||||
backend: http://localhost:9130
|
||||
- endpoint: /konnect/
|
||||
backend: http://localhost:9130
|
||||
- endpoint: /signin/
|
||||
backend: http://localhost:9130
|
||||
- endpoint: /archiver
|
||||
backend: http://localhost:9140
|
||||
- type: regex
|
||||
endpoint: /ocs/v[12].php/cloud/user/signing-key
|
||||
backend: http://localhost:9110
|
||||
- endpoint: /ocs/
|
||||
backend: http://localhost:9140
|
||||
- type: query
|
||||
endpoint: /remote.php/?preview=1
|
||||
backend: http://localhost:9115
|
||||
- method: REPORT
|
||||
endpoint: /remote.php/dav/
|
||||
backend: http://localhost:9115
|
||||
- type: query
|
||||
endpoint: /dav/?preview=1
|
||||
backend: http://localhost:9115
|
||||
- type: query
|
||||
endpoint: /webdav/?preview=1
|
||||
backend: http://localhost:9115
|
||||
- endpoint: /remote.php/
|
||||
service: com.owncloud.web.ocdav
|
||||
- endpoint: /dav/
|
||||
service: com.owncloud.web.ocdav
|
||||
- endpoint: /webdav/
|
||||
service: com.owncloud.web.ocdav
|
||||
- endpoint: /status.php
|
||||
service: com.owncloud.web.ocdav
|
||||
- endpoint: /index.php/
|
||||
service: com.owncloud.web.ocdav
|
||||
- endpoint: /apps/
|
||||
service: com.owncloud.web.ocdav
|
||||
- endpoint: /data
|
||||
backend: http://localhost:9140
|
||||
- endpoint: /app/
|
||||
backend: http://localhost:9140
|
||||
- endpoint: /graph/
|
||||
backend: http://localhost:9120
|
||||
- endpoint: /api/v0/settings
|
||||
backend: http://localhost:9190
|
||||
- name: oc10
|
||||
routes:
|
||||
- endpoint: "/"
|
||||
backend: http://oc10:8080
|
||||
- endpoint: "/data"
|
||||
backend: http://localhost:9140
|
||||
@@ -1,345 +0,0 @@
|
||||
---
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
traefik:
|
||||
image: traefik:v2.9.1
|
||||
networks:
|
||||
ocis-net:
|
||||
aliases:
|
||||
- ${CLOUD_DOMAIN:-cloud.owncloud.test}
|
||||
- ${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}
|
||||
command:
|
||||
- "--log.level=${TRAEFIK_LOG_LEVEL:-ERROR}"
|
||||
# letsencrypt configuration
|
||||
- "--certificatesResolvers.http.acme.email=${TRAEFIK_ACME_MAIL:-example@example.org}"
|
||||
- "--certificatesResolvers.http.acme.storage=/certs/acme.json"
|
||||
- "--certificatesResolvers.http.acme.httpChallenge.entryPoint=http"
|
||||
# enable dashboard
|
||||
- "--api.dashboard=true"
|
||||
# define entrypoints
|
||||
- "--entryPoints.http.address=:80"
|
||||
- "--entryPoints.http.http.redirections.entryPoint.to=https"
|
||||
- "--entryPoints.http.http.redirections.entryPoint.scheme=https"
|
||||
- "--entryPoints.https.address=:443"
|
||||
# docker provider (get configuration from container labels)
|
||||
- "--providers.docker.endpoint=unix:///var/run/docker.sock"
|
||||
- "--providers.docker.exposedByDefault=false"
|
||||
# access log
|
||||
- "--accessLog=true"
|
||||
- "--accessLog.format=json"
|
||||
- "--accessLog.fields.headers.names.X-Request-Id=keep"
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||
- "certs:/certs"
|
||||
labels:
|
||||
- "traefik.enable=${TRAEFIK_DASHBOARD:-false}"
|
||||
- "traefik.http.middlewares.traefik-auth.basicauth.users=${TRAEFIK_BASIC_AUTH_USERS:-admin:$$apr1$$4vqie50r$$YQAmQdtmz5n9rEALhxJ4l.}" # defaults to admin:admin
|
||||
- "traefik.http.routers.traefik.entrypoints=https"
|
||||
- "traefik.http.routers.traefik.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)"
|
||||
- "traefik.http.routers.traefik.middlewares=traefik-auth"
|
||||
- "traefik.http.routers.traefik.tls.certresolver=http"
|
||||
- "traefik.http.routers.traefik.service=api@internal"
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
ocis-init-volumes:
|
||||
image: busybox
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
# prepare the oCIS config volume for oCIS
|
||||
command: ["-c", "chown -R 33:33 /etc/ocis /var/lib/ocis"]
|
||||
volumes:
|
||||
- ocis-config:/etc/ocis
|
||||
- ocis-data:/var/lib/ocis
|
||||
|
||||
ocis:
|
||||
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
|
||||
networks:
|
||||
ocis-net:
|
||||
user: "33:33" # equals the user "www-data" for oC10
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
# run ocis init to initialize a configuration file with random secrets
|
||||
# it will fail on subsequent runs, because the config file already exists
|
||||
# therefore we ignore the error and then start the ocis server
|
||||
command: ["-c", "ocis init || true; exec ocis server"]
|
||||
#entrypoint:
|
||||
# - /bin/sh
|
||||
# - /entrypoint-override.sh
|
||||
environment:
|
||||
# Keycloak IDP specific configuration
|
||||
OCIS_OIDC_ISSUER: https://${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}/auth/realms/${KEYCLOAK_REALM:-owncloud}
|
||||
PROXY_OIDC_REWRITE_WELLKNOWN: "true"
|
||||
WEB_OIDC_CLIENT_ID: ocis-web
|
||||
WEB_OIDC_SCOPE: openid profile email owncloud
|
||||
# external ldap is supposed to be read-only
|
||||
GRAPH_IDENTITY_BACKEND: ldap
|
||||
GRAPH_LDAP_SERVER_WRITE_ENABLED: "false"
|
||||
# LDAP bind
|
||||
OCIS_LDAP_URI: "ldaps://openldap"
|
||||
OCIS_LDAP_INSECURE: "true"
|
||||
OCIS_LDAP_BIND_DN: "cn=admin,dc=owncloud,dc=com"
|
||||
OCIS_LDAP_BIND_PASSWORD: ${LDAP_ADMIN_PASSWORD:-admin}
|
||||
# LDAP user settings
|
||||
PROXY_USER_OIDC_CLAIM: ocis.user.uuid # claim was added in Keycloak
|
||||
PROXY_USER_CS3_CLAIM: userid # equals LDAP_USER_SCHEMA_ID
|
||||
OCIS_LDAP_GROUP_BASE_DN: "ou=groups,dc=owncloud,dc=com"
|
||||
OCIS_LDAP_GROUP_SCHEMA_ID: "ownclouduuid"
|
||||
OCIS_LDAP_GROUP_FILTER: "(objectclass=owncloud)"
|
||||
OCIS_LDAP_USER_BASE_DN: "ou=users,dc=owncloud,dc=com"
|
||||
OCIS_LDAP_USER_SCHEMA_ID: "ownclouduuid"
|
||||
OCIS_LDAP_USER_FILTER: "(objectclass=owncloud)"
|
||||
# ownCloudSQL storage driver
|
||||
STORAGE_USERS_DRIVER: "owncloudsql"
|
||||
STORAGE_USERS_OWNCLOUDSQL_DATADIR: "/mnt/data/files"
|
||||
STORAGE_USERS_OWNCLOUDSQL_SHARE_FOLDER: "/Shares"
|
||||
STORAGE_USERS_OWNCLOUDSQL_LAYOUT: "{{.Username}}"
|
||||
STORAGE_USERS_OWNCLOUDSQL_DB_USERNAME: "owncloud"
|
||||
STORAGE_USERS_OWNCLOUDSQL_DB_PASSWORD: "owncloud"
|
||||
STORAGE_USERS_OWNCLOUDSQL_DB_HOST: "oc10-db"
|
||||
STORAGE_USERS_OWNCLOUDSQL_DB_PORT: 3306
|
||||
STORAGE_USERS_OWNCLOUDSQL_DB_NAME: "owncloud"
|
||||
# ownCloudSQL sharing driver
|
||||
SHARING_USER_DRIVER: "owncloudsql"
|
||||
SHARING_USER_OWNCLOUDSQL_DB_USERNAME: "owncloud"
|
||||
SHARING_USER_OWNCLOUDSQL_DB_PASSWORD: "owncloud"
|
||||
SHARING_USER_OWNCLOUDSQL_DB_HOST: "oc10-db"
|
||||
SHARING_USER_OWNCLOUDSQL_DB_PORT: 3306
|
||||
SHARING_USER_OWNCLOUDSQL_DB_NAME: "owncloud"
|
||||
# ownCloud storage readonly
|
||||
OCIS_STORAGE_READ_ONLY: "false" # TODO: conflict with OWNCLOUDSQL -> https://github.com/owncloud/ocis/issues/2303
|
||||
# General oCIS config
|
||||
# OCIS_RUN_SERVICES specifies to start all fullstack services except idm and idp. These are replaced by external services
|
||||
OCIS_RUN_SERVICES: app-registry,app-provider,auth-basic,auth-machine,frontend,gateway,graph,groups,nats,notifications,ocdav,ocs,proxy,search,settings,sharing,storage-system,storage-publiclink,storage-shares,storage-users,store,thumbnails,users,web,webdav
|
||||
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-info}
|
||||
OCIS_LOG_COLOR: "${OCIS_LOG_COLOR:-false}"
|
||||
OCIS_URL: https://${CLOUD_DOMAIN:-cloud.owncloud.test}
|
||||
PROXY_TLS: "false" # do not use SSL between Traefik and oCIS
|
||||
# INSECURE: needed if oCIS / Traefik is using self generated certificates
|
||||
OCIS_INSECURE: "${INSECURE:-false}"
|
||||
# basic auth (not recommended, but needed for e.g., WebDav clients that do not support OpenID Connect)
|
||||
PROXY_ENABLE_BASIC_AUTH: "${PROXY_ENABLE_BASIC_AUTH:-false}"
|
||||
# password policies
|
||||
OCIS_PASSWORD_POLICY_BANNED_PASSWORDS_LIST: "banned-password-list.txt"
|
||||
volumes:
|
||||
- ./config/ocis/banned-password-list.txt:/etc/ocis/banned-password-list.txt
|
||||
- ./config/ocis/proxy.yaml:/etc/ocis/proxy.yaml
|
||||
- ocis-config:/etc/ocis
|
||||
- ocis-data:/var/lib/ocis
|
||||
# shared volume with oC10
|
||||
- oc10-data:/mnt/data
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.ocis.entrypoints=https"
|
||||
- "traefik.http.routers.ocis.rule=Host(`${CLOUD_DOMAIN:-cloud.owncloud.test}`)"
|
||||
- "traefik.http.routers.ocis.tls.certresolver=http"
|
||||
- "traefik.http.routers.ocis.service=ocis"
|
||||
- "traefik.http.services.ocis.loadbalancer.server.port=9200"
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
oc10:
|
||||
image: owncloud/server:${OC10_DOCKER_TAG:-latest}
|
||||
networks:
|
||||
ocis-net:
|
||||
environment:
|
||||
# make ownCloud Web the default frontend
|
||||
OWNCLOUD_DEFAULT_APP: ${OWNCLOUD_DEFAULT_APP:-files} # can be switched to "web"
|
||||
OWNCLOUD_WEB_REWRITE_LINKS: ${OWNCLOUD_WEB_REWRITE_LINKS:-false}
|
||||
# script / config variables
|
||||
IDP_OIDC_ISSUER: https://${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}/auth/realms/${KEYCLOAK_REALM:-owncloud}
|
||||
IDP_OIDC_CLIENT_SECRET: ${OC10_OIDC_CLIENT_SECRET:-oc10-oidc-secret}
|
||||
CLOUD_DOMAIN: ${CLOUD_DOMAIN:-cloud.owncloud.test}
|
||||
# LDAP bind configuration
|
||||
LDAP_HOST: "openldap"
|
||||
LDAP_PORT: 389
|
||||
STORAGE_LDAP_BIND_DN: "cn=admin,dc=owncloud,dc=com"
|
||||
STORAGE_LDAP_BIND_PASSWORD: ${LDAP_ADMIN_PASSWORD:-admin}
|
||||
# LDAP user configuration
|
||||
LDAP_BASE_DN: "dc=owncloud,dc=com"
|
||||
LDAP_USER_SCHEMA_DISPLAYNAME: "displayname"
|
||||
LDAP_LOGINFILTER: "(&(objectclass=owncloud)(|(uid=%uid)(mail=%uid)))"
|
||||
LDAP_GROUP_SCHEMA_DISPLAYNAME: "cn"
|
||||
LDAP_USER_SCHEMA_NAME_ATTR: "uid"
|
||||
LDAP_GROUP_FILTER: "(&(objectclass=groupOfNames)(objectclass=owncloud))"
|
||||
LDAP_USER_SCHEMA_UID: "ownclouduuid"
|
||||
LDAP_USERATTRIBUTEFILTERS: "" #"ownclouduuid;cn;uid;mail"
|
||||
LDAP_USER_SCHEMA_MAIL: "mail"
|
||||
LDAP_USER_FILTER: "(&(objectclass=owncloud))"
|
||||
LDAP_GROUP_MEMBER_ASSOC_ATTR: "uniqueMember"
|
||||
# ownCloud config
|
||||
OWNCLOUD_DB_TYPE: mysql
|
||||
OWNCLOUD_DB_NAME: owncloud
|
||||
OWNCLOUD_DB_USERNAME: owncloud
|
||||
OWNCLOUD_DB_PASSWORD: owncloud
|
||||
OWNCLOUD_DB_HOST: oc10-db
|
||||
OWNCLOUD_ADMIN_USERNAME: admin
|
||||
OWNCLOUD_ADMIN_PASSWORD: admin
|
||||
OWNCLOUD_MYSQL_UTF8MB4: "true"
|
||||
OWNCLOUD_REDIS_ENABLED: "true"
|
||||
OWNCLOUD_REDIS_HOST: redis
|
||||
OWNCLOUD_TRUSTED_PROXIES: ${CLOUD_DOMAIN:-cloud.owncloud.test}
|
||||
OWNCLOUD_OVERWRITE_PROTOCOL: https
|
||||
OWNCLOUD_OVERWRITE_HOST: ${CLOUD_DOMAIN:-cloud.owncloud.test}
|
||||
OWNCLOUD_APPS_ENABLE: "openidconnect,oauth2,user_ldap,graphapi"
|
||||
OWNCLOUD_LOG_LEVEL: 0
|
||||
OWNCLOUD_LOG_FILE: /dev/stdout
|
||||
volumes:
|
||||
# oidc, ldap and web config
|
||||
- ./config/oc10/oidc.config.php:/etc/templates/oidc.config.php
|
||||
- ./config/oc10/ldap-config.tmpl.json:/etc/templates/ldap-config.tmpl.json
|
||||
- ./config/oc10/ldap-sync-cron:/tmp/ldap-sync-cron
|
||||
- ./config/oc10/web.config.php:/etc/templates/web.config.php
|
||||
- ./config/oc10/web-config.tmpl.json:/etc/templates/web-config.tmpl.json
|
||||
# config load script
|
||||
- ./config/oc10/10-custom-config.sh:/etc/pre_server.d/10-custom-config.sh
|
||||
# data persistence
|
||||
- oc10-data:/mnt/data
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
keycloak:
|
||||
# Keycloak WildFly distribution, Quarkus is not ready yet for automatic setup https://github.com/keycloak/keycloak/issues/10216
|
||||
image: quay.io/keycloak/keycloak:legacy
|
||||
networks:
|
||||
ocis-net:
|
||||
entrypoint: ["/bin/sh", "/opt/jboss/tools/docker-entrypoint-override.sh"]
|
||||
volumes:
|
||||
- ./config/keycloak/docker-entrypoint-override.sh:/opt/jboss/tools/docker-entrypoint-override.sh
|
||||
- ./config/keycloak/owncloud-realm.dist.json:/opt/jboss/keycloak/owncloud-realm.dist.json
|
||||
environment:
|
||||
CLOUD_DOMAIN: ${CLOUD_DOMAIN:-cloud.owncloud.test}
|
||||
OC10_OIDC_CLIENT_SECRET: ${OC10_OIDC_CLIENT_SECRET:-oc10-oidc-secret}
|
||||
LDAP_ADMIN_PASSWORD: ${LDAP_ADMIN_PASSWORD:-admin}
|
||||
DB_VENDOR: POSTGRES
|
||||
DB_ADDR: keycloak-db
|
||||
DB_DATABASE: keycloak
|
||||
DB_USER: keycloak
|
||||
DB_SCHEMA: public
|
||||
DB_PASSWORD: keycloak
|
||||
KEYCLOAK_USER: ${KEYCLOAK_ADMIN_USER:-admin}
|
||||
KEYCLOAK_PASSWORD: ${KEYCLOAK_ADMIN_PASSWORD:-admin}
|
||||
PROXY_ADDRESS_FORWARDING: "true"
|
||||
KEYCLOAK_IMPORT: /opt/jboss/keycloak/owncloud-realm.json
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.keycloak.entrypoints=https"
|
||||
- "traefik.http.routers.keycloak.rule=Host(`${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}`)"
|
||||
- "traefik.http.routers.keycloak.tls.certresolver=http"
|
||||
- "traefik.http.routers.keycloak.service=keycloak"
|
||||
- "traefik.http.services.keycloak.loadbalancer.server.port=8080"
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
openldap:
|
||||
image: osixia/openldap:latest
|
||||
networks:
|
||||
ocis-net:
|
||||
command: --copy-service --loglevel debug
|
||||
environment:
|
||||
LDAP_TLS_VERIFY_CLIENT: never
|
||||
LDAP_DOMAIN: owncloud.com
|
||||
LDAP_ORGANISATION: ownCloud
|
||||
LDAP_ADMIN_PASSWORD: ${LDAP_ADMIN_PASSWORD:-admin}
|
||||
LDAP_RFC2307BIS_SCHEMA: "true"
|
||||
LDAP_REMOVE_CONFIG_AFTER_SETUP: "false"
|
||||
volumes:
|
||||
- ./config/ldap/ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
ldap-manager:
|
||||
image: osixia/phpldapadmin:0.9.0
|
||||
networks:
|
||||
ocis-net:
|
||||
environment:
|
||||
PHPLDAPADMIN_LDAP_HOSTS: openldap
|
||||
PHPLDAPADMIN_HTTPS: "false"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.ldap-manager.entrypoints=https"
|
||||
- "traefik.http.routers.ldap-manager.rule=Host(`${LDAP_MANAGER_DOMAIN:-ldap.owncloud.test}`)"
|
||||
- "traefik.http.routers.ldap-manager.tls.certresolver=http"
|
||||
- "traefik.http.routers.ldap-manager.service=ldap-manager"
|
||||
- "traefik.http.services.ldap-manager.loadbalancer.server.port=80"
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
keycloak-db:
|
||||
image: postgres:alpine
|
||||
networks:
|
||||
ocis-net:
|
||||
volumes:
|
||||
- keycloak-postgres-data:/var/lib/postgresql/data
|
||||
environment:
|
||||
POSTGRES_DB: keycloak
|
||||
POSTGRES_USER: keycloak
|
||||
POSTGRES_PASSWORD: keycloak
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
oc10-db:
|
||||
image: mariadb:10.6
|
||||
networks:
|
||||
ocis-net:
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=owncloud
|
||||
- MYSQL_USER=owncloud
|
||||
- MYSQL_PASSWORD=owncloud
|
||||
- MYSQL_DATABASE=owncloud
|
||||
command:
|
||||
[
|
||||
"--max-allowed-packet=128M",
|
||||
"--innodb-log-file-size=64M",
|
||||
"--innodb-read-only-compressed=OFF",
|
||||
]
|
||||
healthcheck:
|
||||
test: ["CMD", "mysqladmin", "ping", "-u", "root", "--password=owncloud"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
volumes:
|
||||
- oc10-mysql-data:/var/lib/mysql
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
redis:
|
||||
networks:
|
||||
ocis-net:
|
||||
image: redis:6
|
||||
command: ["--databases", "1"]
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
volumes:
|
||||
- oc10-redis-data:/data
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
volumes:
|
||||
certs:
|
||||
ocis-config:
|
||||
ocis-data:
|
||||
keycloak-postgres-data:
|
||||
oc10-mysql-data:
|
||||
oc10-redis-data:
|
||||
oc10-data:
|
||||
oc10-tmp:
|
||||
|
||||
networks:
|
||||
ocis-net:
|
||||
@@ -1,13 +0,0 @@
|
||||
#! /bin/bash
|
||||
docker-compose exec keycloak \
|
||||
sh -c "cd /opt/jboss/keycloak && \
|
||||
timeout 60 bin/standalone.sh \
|
||||
-Djboss.httin/standalone.sh \
|
||||
-Djboss.socket.binding.port-offset=100 \
|
||||
-Dkeycloak.migration.action=export \
|
||||
-Dkeycloak.migration.provider=singleFile \
|
||||
-Dkeycloak.migration.realmName=owncloud \
|
||||
-Dkeycloak.migration.file=owncloud-realm.json"
|
||||
|
||||
docker-compose exec keycloak \
|
||||
cp /opt/jboss/keycloak/owncloud-realm.json /opt/jboss/keycloak/owncloud-realm.dist.json
|
||||
-17
@@ -1,17 +0,0 @@
|
||||
---
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
ocis:
|
||||
environment:
|
||||
# tracing
|
||||
OCIS_TRACING_ENABLED: "true"
|
||||
OCIS_TRACING_TYPE: "otlp"
|
||||
OCIS_TRACING_ENDPOINT: jaeger:4317
|
||||
# metrics
|
||||
# if oCIS runs as a single process, all <debug>/metrics endpoints
|
||||
# will expose the same metrics, so it's sufficient to query one endpoint
|
||||
PROXY_DEBUG_ADDR: 0.0.0.0:9205
|
||||
|
||||
networks:
|
||||
ocis-net:
|
||||
@@ -1,19 +0,0 @@
|
||||
---
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
ocis:
|
||||
environment:
|
||||
LDAP_GROUP_BASE_DN: "ou=TestGroups,dc=owncloud,dc=com"
|
||||
LDAP_USER_BASE_DN: "ou=TestUsers,dc=owncloud,dc=com"
|
||||
PROXY_ENABLE_BASIC_AUTH: "true"
|
||||
|
||||
oc10:
|
||||
ports:
|
||||
- 8080:8080
|
||||
volumes:
|
||||
- ./config/oc10/11-testing-app.sh:/etc/pre_server.d/11-testing-app.sh
|
||||
|
||||
openldap:
|
||||
ports:
|
||||
- 636:636
|
||||
@@ -53,7 +53,22 @@ ADMIN_PASSWORD=
|
||||
# Demo users should not be created on a production instance,
|
||||
# because their passwords are public. Defaults to "false".
|
||||
# Also see: https://doc.owncloud.com/ocis/latest/deployment/general/general-info.html#demo-users-and-groups
|
||||
# When enabled, this also seeds admin's personal space and a "Demo Space" project
|
||||
# space with demo content on first startup, and adds the demo users (einstein,
|
||||
# marie, moss, richard, katherine) as editors of the Demo Space - see
|
||||
# demo-content-init.yml. That seeding needs PROXY_ENABLE_BASIC_AUTH (below), which
|
||||
# defaults to following this setting.
|
||||
DEMO_USERS=
|
||||
# Basic auth is disabled by default since OpenID Connect is the recommended way to
|
||||
# authenticate. Defaults to following DEMO_USERS above (the demo-content-init.yml
|
||||
# provisioning script needs it, since oCIS's OIDC has no password grant); set this
|
||||
# explicitly to override that, e.g. force it off even with demo users enabled.
|
||||
PROXY_ENABLE_BASIC_AUTH=
|
||||
# Seeds demo content (a "Demo Space" project space + files in admin's personal
|
||||
# space, see demo-content/) whenever DEMO_USERS is enabled above. Harmless to
|
||||
# leave enabled even when demo users are off - the script no-ops in that case.
|
||||
# Note: the leading colon is required to enable the service.
|
||||
DEMO_CONTENT=:demo-content-init.yml
|
||||
# Define the oCIS loglevel used.
|
||||
# For more details see:
|
||||
# https://doc.owncloud.com/ocis/latest/deployment/services/env-vars-special-scope.html
|
||||
@@ -127,7 +142,8 @@ SMTP_INSECURE=
|
||||
# manually defined for startup:
|
||||
# IMPORTANT: The notification service is MANDATORY, do not delete!
|
||||
# IMPORTANT: Add any services to the startup list comma separated like "notifications,antivirus" etc.
|
||||
START_ADDITIONAL_SERVICES="notifications"
|
||||
# IMPORTANT: If you enable WORKFLOWS below, you also MUST add 'auth-app' to this list.
|
||||
START_ADDITIONAL_SERVICES="notifications,auth-app"
|
||||
|
||||
|
||||
## oCIS Web Extensions ##
|
||||
@@ -135,25 +151,25 @@ START_ADDITIONAL_SERVICES="notifications"
|
||||
# For more details see https://github.com/owncloud/web-extensions/blob/main/README.md
|
||||
# Note: the leading colon is required to enable the service.
|
||||
# Enable this to create a new named volume
|
||||
#EXTENSIONS=:web_extensions/extensions.yml
|
||||
EXTENSIONS=:web_extensions/extensions.yml
|
||||
# Enable the desired extensions by uncommenting the following lines.
|
||||
# Note: the leading colon is required to enable the service.
|
||||
# Note: if you want to remove a web extension, you must delete the ocis-apps volume. It will be properly recreated on docker compose startup.
|
||||
#UNZIP=:web_extensions/unzip.yml
|
||||
#DRAWIO=:web_extensions/drawio.yml
|
||||
#JSONVIEWER=:web_extensions/jsonviewer.yml
|
||||
#PROGRESSBARS=:web_extensions/progressbars.yml
|
||||
#EXTERNALSITES=:web_extensions/externalsites.yml
|
||||
UNZIP=:web_extensions/unzip.yml
|
||||
DRAWIO=:web_extensions/drawio.yml
|
||||
JSONVIEWER=:web_extensions/jsonviewer.yml
|
||||
PROGRESSBARS=:web_extensions/progressbars.yml
|
||||
EXTERNALSITES=:web_extensions/externalsites.yml
|
||||
# External Sites needs additional config, see the following files for more details.
|
||||
# - config/ocis/apps.yaml
|
||||
# - ocis.yml (the apps_yaml config block)
|
||||
# - config/ocis/csp.yaml
|
||||
# Photo-addon provides a photo gallery with timeline view, EXIF metadata display, and map view.
|
||||
# Important, the Photo-addon requires that TIKA is enabled
|
||||
#PHOTOADDON=:web_extensions/photo-addon.yml
|
||||
# Important, the Photo-addon requires that TIKA is enabled
|
||||
PHOTOADDON=:web_extensions/photo-addon.yml
|
||||
# Advanced-search provides comprehensive search filtering with the KQL query builder.
|
||||
# Important, Advanced-search requires that TIKA is enabled
|
||||
#ADVANCEDSEARCH=:web_extensions/advanced-search.yml
|
||||
#IMPORTER=:web_extensions/importer.yml
|
||||
# Important, Advanced-search requires that TIKA is enabled
|
||||
ADVANCEDSEARCH=:web_extensions/advanced-search.yml
|
||||
IMPORTER=:web_extensions/importer.yml
|
||||
# The importer needs additional COMPANION config, see the following lines for more details.
|
||||
## The docker image to be used for uppy companion.
|
||||
# owncloud has built a container with public link import support.
|
||||
@@ -164,6 +180,73 @@ COMPANION_DOMAIN=
|
||||
# Empty by default, which disables providers.
|
||||
COMPANION_ONEDRIVE_KEY=
|
||||
COMPANION_ONEDRIVE_SECRET=
|
||||
CHATWITHFILE=:web_extensions/chat-with-file.yml
|
||||
FILECOMMENTS=:web_extensions/file-comments.yml
|
||||
GROUPMANAGEMENT=:web_extensions/group-management.yml
|
||||
VERSIONCHANGELOG=:web_extensions/version-changelog.yml
|
||||
# Note: cast (Google Cast integration) is intentionally NOT included here - it
|
||||
# loads a third-party Google script (gstatic.com) at runtime.
|
||||
# The following ai-* extensions require AI_LLM_PROXY to be enabled and
|
||||
# configured below, see ocis.yml (the apps_yaml config block) for their llm endpoint config.
|
||||
AIDOCSUMMARY=:web_extensions/ai-doc-summary.yml
|
||||
AIIMAGEALTTEXT=:web_extensions/ai-image-alt-text-sidebar.yml
|
||||
AIDATAINSIGHTS=:web_extensions/ai-data-insights-sidebar.yml
|
||||
AISENSITIVEDATASCANNER=:web_extensions/ai-sensitive-data-scanner.yml
|
||||
AIFOLDERBRIEF=:web_extensions/ai-folder-brief-sidebar.yml
|
||||
# The following extensions have no published docker image (their upstream
|
||||
# release CI runs failed at owncloud/web-extensions - startup_failure with no
|
||||
# jobs ever created). These build directly from the web-extensions git repo
|
||||
# instead (verified working with `docker compose build <name>-init`). Revisit
|
||||
# once ownCloud publishes real images for these.
|
||||
VIMNAV=:web_extensions/vim-nav.yml
|
||||
AIFOLDERREADME=:web_extensions/ai-folder-readme-generator.yml
|
||||
AIMULTIDOCSYNTH=:web_extensions/ai-multi-doc-synthesizer.yml
|
||||
AIQUICKDRAFT=:web_extensions/ai-quick-draft-creator.yml
|
||||
AISMARTCOLLECTIONS=:web_extensions/ai-smart-collections-nav.yml
|
||||
AISMARTTAGGER=:web_extensions/ai-smart-file-tagger-qa.yml
|
||||
# App Tokens (community web app by mschlachter, from the awesome-ocis catalog) - lets users
|
||||
# create/manage app-specific tokens for third-party API/CLI access. Requires auth-app
|
||||
# (already enabled above for Workflows).
|
||||
OCIS_APP_TOKENS=:web_extensions/ocis-app-tokens.yml
|
||||
|
||||
## oCIS AI LLM Proxy ##
|
||||
# Required by the ai-* web extensions above (owncloud/web-extensions ai-llm-proxy package).
|
||||
# NOTE: no published docker image exists yet for ai-llm-proxy; this builds
|
||||
# directly from the web-extensions git repository (verified working with
|
||||
# `docker compose build ai-llm-proxy`).
|
||||
# Note: the leading colon is required to enable the service.
|
||||
AI_LLM_PROXY=:web_extensions/ai-llm-proxy.yml
|
||||
# OpenAI-compatible LLM backend endpoint. Defaults to a local Ollama instance.
|
||||
AI_LLM_ENDPOINT=
|
||||
# API key for the LLM backend, if required. Empty by default.
|
||||
AI_LLM_API_KEY=
|
||||
# Default model name requested by the ai-* web extensions (see ocis.yml, the apps_yaml config block).
|
||||
AI_LLM_MODEL_DEFAULT=
|
||||
# Model name requested by the vision-capable ai-image-alt-text-sidebar extension.
|
||||
AI_LLM_MODEL_VISION=
|
||||
# Model name to force for ALL LLM calls, overriding whatever model the client
|
||||
# requested above (e.g. to pin everything to a single locally pulled Ollama
|
||||
# model). Empty uses the client's requested model (AI_LLM_MODEL_DEFAULT /
|
||||
# AI_LLM_MODEL_VISION).
|
||||
AI_LLM_MODEL=
|
||||
# How long (ms) the proxy waits for the LLM to finish a completion before aborting.
|
||||
# Defaults to 600000 (10 min) - local/self-hosted reasoning models on modest hardware
|
||||
# can take minutes to generate a few hundred tokens, with significant run-to-run
|
||||
# variance (measured 195s-296s for near-identical output length on the same
|
||||
# machine); the upstream ai-llm-proxy default (60s, hardcoded) is far too short.
|
||||
AI_LLM_TIMEOUT_MS=
|
||||
|
||||
## oCIS Workflows ##
|
||||
# Visual AI workflow builder (owncloud/ocis-workflows).
|
||||
# NOTE: no published docker image exists yet; this builds directly from the
|
||||
# ocis-workflows git repository (verified working with `docker compose build
|
||||
# workflows-init workflows-backend`).
|
||||
# IMPORTANT: also add 'auth-app' to START_ADDITIONAL_SERVICES above when enabling this.
|
||||
# Note: the leading colon is required to enable the service.
|
||||
WORKFLOWS=:workflows.yml
|
||||
# Required: a stable base64-encoded 32-byte key so scheduled workflow automation
|
||||
# survives restarts. Generate with: openssl rand -base64 32
|
||||
WORKFLOWS_ENCRYPTION_KEY=
|
||||
|
||||
|
||||
### Keycloak Settings ###
|
||||
@@ -301,4 +384,4 @@ MAIL_SERVER_DOCKER_TAG=v1.29.3
|
||||
# This MUST be the last line as it assembles the supplemental compose files to be used.
|
||||
# ALL supplemental configs must be added here, whether commented or not.
|
||||
# Each var must either be empty or contain :path/file.yml
|
||||
COMPOSE_FILE=docker-compose.yml${OCIS:-}${TIKA:-}${S3NG:-}${S3NG_MINIO:-}${COLLABORA:-}${IMPORTER:-}${CLAMAV:-}${ONLYOFFICE:-}${EXTENSIONS:-}${UNZIP:-}${DRAWIO:-}${JSONVIEWER:-}${PROGRESSBARS:-}${EXTERNALSITES:-}${PHOTOADDON:-}${ADVANCEDSEARCH:-}${MAIL_SERVER:-}${MONITORING:-}${KEYCLOAK:-}${VAULT_STORAGE:-}
|
||||
COMPOSE_FILE=docker-compose.yml${OCIS:-}${TIKA:-}${S3NG:-}${S3NG_MINIO:-}${COLLABORA:-}${IMPORTER:-}${CLAMAV:-}${ONLYOFFICE:-}${EXTENSIONS:-}${UNZIP:-}${DRAWIO:-}${JSONVIEWER:-}${PROGRESSBARS:-}${EXTERNALSITES:-}${PHOTOADDON:-}${ADVANCEDSEARCH:-}${CHATWITHFILE:-}${FILECOMMENTS:-}${GROUPMANAGEMENT:-}${VERSIONCHANGELOG:-}${AIDOCSUMMARY:-}${AIIMAGEALTTEXT:-}${AIDATAINSIGHTS:-}${AISENSITIVEDATASCANNER:-}${AIFOLDERBRIEF:-}${VIMNAV:-}${AIFOLDERREADME:-}${AIMULTIDOCSYNTH:-}${AIQUICKDRAFT:-}${AISMARTCOLLECTIONS:-}${AISMARTTAGGER:-}${OCIS_APP_TOKENS:-}${AI_LLM_PROXY:-}${WORKFLOWS:-}${MAIL_SERVER:-}${MONITORING:-}${KEYCLOAK:-}${VAULT_STORAGE:-}${DEMO_CONTENT:-}
|
||||
@@ -1,23 +0,0 @@
|
||||
importer:
|
||||
config:
|
||||
companionUrl: https://${COMPANION_DOMAIN|companion.owncloud.test}
|
||||
supportedClouds:
|
||||
- WebdavPublicLink
|
||||
#- OneDrive # needs a client id and secret
|
||||
#- GoogleDrive # needs a client id and secret and an addition to the DNS zone
|
||||
external-sites:
|
||||
config:
|
||||
sites:
|
||||
# For settings see: https://github.com/owncloud/web-extensions/tree/main/packages/web-app-external-sites
|
||||
- name: ownCloud
|
||||
url: "https://owncloud.dev"
|
||||
target: embedded
|
||||
color: "#0D856F"
|
||||
icon: cloud
|
||||
priority: 50
|
||||
- name: Wikipedia
|
||||
url: "https://www.wikipedia.org"
|
||||
target: external
|
||||
color: "#0D856F"
|
||||
icon: book
|
||||
priority: 51
|
||||
@@ -21,7 +21,7 @@ directives:
|
||||
frame-src:
|
||||
- '''self'''
|
||||
- 'blob:'
|
||||
- 'https://embed.diagrams.net/'
|
||||
- 'https://${DRAWIO_DOMAIN|drawio.owncloud.test}/'
|
||||
# In contrary to bash and docker the default is given after the | character
|
||||
- 'https://${ONLYOFFICE_DOMAIN|onlyoffice.owncloud.test}/'
|
||||
- 'https://${COLLABORA_DOMAIN|collabora.owncloud.test}/'
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
# Overrides oCIS's built-in bundled web-app list (Web.Apps in
|
||||
# services/web/pkg/config), which otherwise defaults to:
|
||||
# files, search, text-editor, pdf-viewer, external, admin-settings,
|
||||
# epub-reader, preview, app-store
|
||||
# (see services/web/pkg/config/defaults/defaultconfig.go upstream).
|
||||
# Adding html-editor here since it's bundled with oCIS but not enabled by default.
|
||||
web:
|
||||
config:
|
||||
apps:
|
||||
- files
|
||||
- search
|
||||
- text-editor
|
||||
- pdf-viewer
|
||||
- external
|
||||
- admin-settings
|
||||
- epub-reader
|
||||
- preview
|
||||
- app-store
|
||||
- html-editor
|
||||
+113
@@ -0,0 +1,113 @@
|
||||
#!/bin/sh
|
||||
# Seeds admin's personal space and a "Demo Space" project space with demo
|
||||
# content, and adds the standard demo users as editors of the Demo Space.
|
||||
# No-ops immediately unless DEMO_USERS is "true".
|
||||
|
||||
echo "[demo-content-init] starting"
|
||||
|
||||
if [ "${DEMO_USERS:-false}" != "true" ]; then
|
||||
echo "[demo-content-init] DEMO_USERS is not 'true', nothing to do."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
apk add --no-cache curl jq >/dev/null 2>&1
|
||||
|
||||
BASE="http://ocis:9200"
|
||||
AUTH="admin:${ADMIN_PASSWORD:-admin}"
|
||||
CONTENT_DIR="/demo-content"
|
||||
EDITOR_ROLE="58c63c02-1d89-4572-916a-870abc5a1b7d"
|
||||
DEMO_USERNAMES="einstein marie moss richard katherine"
|
||||
|
||||
curl_g() {
|
||||
curl -s -u "$AUTH" "$@"
|
||||
}
|
||||
|
||||
echo "[demo-content-init] waiting for oCIS to become ready..."
|
||||
i=0
|
||||
while true; do
|
||||
code=$(curl -s -o /dev/null -w '%{http_code}' -u "$AUTH" "$BASE/graph/v1.0/me")
|
||||
[ "$code" = "200" ] && break
|
||||
i=$((i + 1))
|
||||
if [ "$i" -ge 60 ]; then
|
||||
echo "[demo-content-init] oCIS did not become ready in time (last status: $code), giving up."
|
||||
exit 1
|
||||
fi
|
||||
sleep 5
|
||||
done
|
||||
echo "[demo-content-init] oCIS is ready."
|
||||
|
||||
upload_tree() {
|
||||
local_dir="$1"
|
||||
space_id="$2"
|
||||
base_url="$BASE/dav/spaces/$space_id"
|
||||
|
||||
find "$local_dir" -type d | sed "s|^$local_dir||" | sed '/^$/d' | sort | while read -r d; do
|
||||
code=$(curl -s -o /dev/null -w '%{http_code}' -u "$AUTH" -X MKCOL "$base_url$d")
|
||||
echo " MKCOL $code $d"
|
||||
done
|
||||
|
||||
find "$local_dir" -type f | while read -r f; do
|
||||
rel="${f#$local_dir}"
|
||||
code=$(curl -s -o /dev/null -w '%{http_code}' -u "$AUTH" -X PUT "$base_url$rel" --data-binary "@$f")
|
||||
echo " PUT $code $rel"
|
||||
done
|
||||
}
|
||||
|
||||
echo "[demo-content-init] resolving admin's personal space..."
|
||||
PERSONAL_ID=$(curl_g "$BASE/graph/v1.0/me/drives" | jq -r '.value[] | select(.driveType=="personal") | .id')
|
||||
echo "[demo-content-init] personal space id: $PERSONAL_ID"
|
||||
|
||||
echo "[demo-content-init] uploading personal-space demo content..."
|
||||
upload_tree "$CONTENT_DIR/personal" "$PERSONAL_ID"
|
||||
|
||||
echo "[demo-content-init] resolving Demo Space..."
|
||||
DEMO_SPACE_ID=$(curl_g "$BASE/graph/v1.0/me/drives" | jq -r '.value[] | select(.driveType=="project" and .name=="Demo Space") | .id' | head -1)
|
||||
|
||||
if [ -z "$DEMO_SPACE_ID" ]; then
|
||||
echo "[demo-content-init] Demo Space not found, creating it..."
|
||||
DEMO_SPACE_ID=$(curl -s -u "$AUTH" -X POST "$BASE/graph/v1beta1/drives?template=default" \
|
||||
-H 'Content-Type: application/json' --data '{"name":"Demo Space","driveType":"project"}' | jq -r '.id')
|
||||
fi
|
||||
echo "[demo-content-init] Demo Space id: $DEMO_SPACE_ID"
|
||||
|
||||
echo "[demo-content-init] uploading Demo Space content..."
|
||||
upload_tree "$CONTENT_DIR/project" "$DEMO_SPACE_ID"
|
||||
|
||||
if [ -f "$CONTENT_DIR/space-readme.md" ]; then
|
||||
code=$(curl -s -o /dev/null -w '%{http_code}' -u "$AUTH" -X PUT "$BASE/dav/spaces/$DEMO_SPACE_ID/.space/readme.md" --data-binary "@$CONTENT_DIR/space-readme.md")
|
||||
echo " PUT $code .space/readme.md"
|
||||
fi
|
||||
|
||||
echo "[demo-content-init] adding demo users as Demo Space editors..."
|
||||
EXISTING_PERMS=$(curl_g "$BASE/graph/v1beta1/drives/$DEMO_SPACE_ID/root/permissions")
|
||||
|
||||
for uname in $DEMO_USERNAMES; do
|
||||
USER_ID=""
|
||||
i=0
|
||||
while [ -z "$USER_ID" ]; do
|
||||
USER_ID=$(curl_g "$BASE/graph/v1.0/users?\$search=$uname" | jq -r --arg u "$uname" '.value[] | select(.onPremisesSamAccountName==$u) | .id' | head -1)
|
||||
if [ -z "$USER_ID" ]; then
|
||||
i=$((i + 1))
|
||||
if [ "$i" -ge 30 ]; then
|
||||
echo "[demo-content-init] user $uname never showed up after waiting, skipping."
|
||||
break
|
||||
fi
|
||||
echo "[demo-content-init] waiting for user $uname to exist..."
|
||||
sleep 5
|
||||
fi
|
||||
done
|
||||
[ -z "$USER_ID" ] && continue
|
||||
|
||||
ALREADY=$(echo "$EXISTING_PERMS" | jq -r --arg id "$USER_ID" '.value[]? | select(.grantedToV2.user.id==$id) | .id')
|
||||
if [ -n "$ALREADY" ]; then
|
||||
echo "[demo-content-init] $uname is already a member."
|
||||
continue
|
||||
fi
|
||||
|
||||
code=$(curl -s -o /dev/null -w '%{http_code}' -u "$AUTH" -X POST "$BASE/graph/v1beta1/drives/$DEMO_SPACE_ID/root/invite" \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data "{\"recipients\":[{\"objectId\":\"$USER_ID\",\"@libre.graph.recipient.type\":\"user\"}],\"roles\":[\"$EDITOR_ROLE\"]}")
|
||||
echo " invite $code $uname"
|
||||
done
|
||||
|
||||
echo "[demo-content-init] done."
|
||||
@@ -0,0 +1,32 @@
|
||||
---
|
||||
# Seeds admin's personal space and a "Demo Space" project space with demo
|
||||
# content whenever DEMO_USERS is enabled, and adds the standard demo users
|
||||
# (einstein, marie, moss, richard, katherine) as editors of the Demo Space.
|
||||
# The container always exists in the compose graph, but demo-content-init.sh
|
||||
# no-ops immediately unless DEMO_USERS is "true" - so this is harmless to
|
||||
# leave enabled even when demo users are off.
|
||||
#
|
||||
# Requires PROXY_ENABLE_BASIC_AUTH (see ocis.yml, defaults to follow
|
||||
# DEMO_USERS), since oCIS's OIDC does not support the password grant that a
|
||||
# script like this would otherwise need, and talks to oCIS directly over the
|
||||
# internal docker network (http://ocis:9200) rather than through Traefik, so
|
||||
# it never has to deal with the self-signed certificate.
|
||||
services:
|
||||
demo-content-init:
|
||||
image: alpine:3.22
|
||||
user: root
|
||||
networks:
|
||||
ocis-net:
|
||||
depends_on:
|
||||
ocis:
|
||||
condition: service_started
|
||||
environment:
|
||||
DEMO_USERS: "${DEMO_USERS:-false}"
|
||||
ADMIN_PASSWORD: "${ADMIN_PASSWORD:-admin}"
|
||||
volumes:
|
||||
- ./demo-content:/demo-content:ro
|
||||
- ./demo-content-init.sh:/demo-content-init.sh:ro
|
||||
entrypoint: ["/bin/sh", "/demo-content-init.sh"]
|
||||
restart: "no"
|
||||
logging:
|
||||
driver: ${LOG_DRIVER:-local}
|
||||
@@ -0,0 +1,5 @@
|
||||
# My Notes — Aurora
|
||||
|
||||
- Remember to follow up with design on wireframe feedback (due 2026-07-31)
|
||||
- Check whether the audit log needs to capture IP address or just user + timestamp
|
||||
- Ask product about the mobile layout question raised in kickoff
|
||||
@@ -0,0 +1,6 @@
|
||||
# Todo
|
||||
|
||||
- [ ] Review updated wireframes
|
||||
- [ ] Approve final API contract for decision endpoint
|
||||
- [ ] Confirm pilot team list with product
|
||||
- [ ] Schedule design walkthrough for engineering
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
# Customer Intake Form — SYNTHETIC TEST DATA ONLY
|
||||
|
||||
> **This entire document is fabricated for testing purposes.**
|
||||
> No field below refers to a real person, account, or institution.
|
||||
> Names, numbers, and addresses use standard "reserved for fictional use" ranges
|
||||
> (555 phone exchange, example.com/example.org email domains, test card numbers, etc.).
|
||||
|
||||
## Personal Information
|
||||
|
||||
- Full Name: Jane Q. Testperson
|
||||
- Date of Birth: 1985-03-14
|
||||
- Social Security Number: 000-12-3456 *(000 prefix is never issued — invalid by design)*
|
||||
- Driver's License: D1234567 (State of Sampleland)
|
||||
- Passport Number: X00000001 (fictional format)
|
||||
|
||||
## Contact Details
|
||||
|
||||
- Home Address: 123 Fictional Lane, Apt 4B, Testville, CA 90210
|
||||
- Phone (mobile): (555) 010-2938 *(555-01xx is reserved for fiction per NANP)*
|
||||
- Phone (work): (555) 010-4471
|
||||
- Email: jane.testperson@example.com
|
||||
- Emergency Contact: John Testperson, (555) 010-8842, john.testperson@example.org
|
||||
|
||||
## Financial Information
|
||||
|
||||
- Bank Name: First Sample National Bank
|
||||
- Account Number: 0000000000
|
||||
- Routing Number: 000000000
|
||||
- Credit Card (Visa test number): 4111 1111 1111 1111, Exp 01/30, CVV 000
|
||||
- Credit Card (Mastercard test number): 5555 5555 5555 4444, Exp 01/30, CVV 000
|
||||
|
||||
## Health Information (fictional)
|
||||
|
||||
- Patient ID: PT-000001
|
||||
- Primary Physician: Dr. Alice Sampleton, Sampleland General Hospital
|
||||
- Diagnosis Note: "Patient presents with fictional-condition-A, prescribed placebo 10mg daily."
|
||||
- Insurance Policy Number: INS-0000-0000
|
||||
|
||||
## Employment
|
||||
|
||||
- Employer: Acme Test Corporation
|
||||
- Employee ID: EMP-000123
|
||||
- Salary: $000,000.00 (fictional figure)
|
||||
|
||||
## Notes
|
||||
|
||||
Use this file to exercise PII-detection features (e.g. the `ai-sensitive-data-scanner`
|
||||
web extension) against a document that should trigger every major category:
|
||||
name, SSN, DOB, address, phone, email, financial account/card numbers, and health data.
|
||||
@@ -0,0 +1,5 @@
|
||||
# Welcome
|
||||
|
||||
This is your personal space. The `Demo-Project-Notes` folder holds your working
|
||||
notes for the **Aurora** project — the shared project files themselves live in
|
||||
the "New space" project space.
|
||||
@@ -0,0 +1,32 @@
|
||||
# Project Charter — Aurora
|
||||
|
||||
## Problem Statement
|
||||
|
||||
Document reviews currently happen over email with no tracking, no visibility into
|
||||
status, and no consistent record of who approved what. Reviewers regularly lose
|
||||
track of pending items, and there is no way to audit past decisions.
|
||||
|
||||
## Objectives
|
||||
|
||||
1. Provide a self-service review queue for reviewers
|
||||
2. Automate routing of documents to the correct reviewer
|
||||
3. Record every decision (approve/reject/comment) with a timestamp
|
||||
|
||||
## Scope
|
||||
|
||||
**In scope:** internal document review, notifications, audit log
|
||||
**Out of scope:** external/customer-facing review flows (phase 2)
|
||||
|
||||
## Stakeholders
|
||||
|
||||
| Role | Name | Responsibility |
|
||||
|---|---|---|
|
||||
| Sponsor | [Add name] | Budget, priorities |
|
||||
| Product Owner | [Add name] | Requirements, acceptance |
|
||||
| Tech Lead | [Add name] | Architecture, delivery |
|
||||
|
||||
## Success Criteria
|
||||
|
||||
- [ ] Average review turnaround under 24 hours
|
||||
- [ ] 100% of reviews have an audit trail
|
||||
- [ ] Positive feedback from at least 3 pilot teams
|
||||
@@ -0,0 +1,6 @@
|
||||
Phase,Start,End,Owner,Status
|
||||
Discovery,2026-06-01,2026-06-12,Product,Done
|
||||
Design,2026-06-15,2026-07-10,Design,Done
|
||||
Development,2026-07-13,2026-08-21,Engineering,In Progress
|
||||
Pilot Rollout,2026-08-24,2026-09-04,Product,Not Started
|
||||
General Availability,2026-09-07,2026-09-11,Product,Not Started
|
||||
|
+38
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mxfile host="app.diagrams.net">
|
||||
<diagram name="Aurora Architecture" id="aurora-arch-1">
|
||||
<mxGraphModel dx="800" dy="600" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="reviewer" value="Reviewer Portal (Web)" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
|
||||
<mxGeometry x="80" y="80" width="180" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="api" value="Review API" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" vertex="1" parent="1">
|
||||
<mxGeometry x="340" y="80" width="180" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="queue" value="Routing Queue" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;" vertex="1" parent="1">
|
||||
<mxGeometry x="340" y="200" width="180" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="store" value="Document Store" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;" vertex="1" parent="1">
|
||||
<mxGeometry x="600" y="80" width="180" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="audit" value="Audit Log" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;" vertex="1" parent="1">
|
||||
<mxGeometry x="600" y="200" width="180" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e1" style="edgeStyle=orthogonalEdgeStyle;html=1;" edge="1" parent="1" source="reviewer" target="api">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e2" style="edgeStyle=orthogonalEdgeStyle;html=1;" edge="1" parent="1" source="api" target="store">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e3" style="edgeStyle=orthogonalEdgeStyle;html=1;" edge="1" parent="1" source="api" target="queue">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e4" style="edgeStyle=orthogonalEdgeStyle;html=1;" edge="1" parent="1" source="queue" target="audit">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
||||
@@ -0,0 +1,19 @@
|
||||
# Wireframe Notes — Reviewer Portal
|
||||
|
||||
## Review Queue (landing page)
|
||||
|
||||
- Table of pending documents: title, submitter, due date, priority
|
||||
- Filter by status (Pending / In Review / Approved / Rejected)
|
||||
- Sort by due date by default
|
||||
|
||||
## Document Detail View
|
||||
|
||||
- Inline preview (PDF/Office) on the left
|
||||
- Decision panel on the right: Approve / Reject / Request Changes
|
||||
- Comment thread below the preview, threaded by section
|
||||
|
||||
## Open Questions
|
||||
|
||||
- [ ] Do we need bulk-approve for low-risk documents?
|
||||
- [ ] Should rejected documents auto-notify the submitter's manager?
|
||||
- [ ] Mobile layout — read-only or full decision support?
|
||||
@@ -0,0 +1,16 @@
|
||||
# Changelog
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
- Initial routing queue implementation
|
||||
- Reviewer portal skeleton with mock data
|
||||
|
||||
### Changed
|
||||
- Switched document preview from custom viewer to embedded PDF viewer
|
||||
|
||||
## [0.1.0] - 2026-06-20
|
||||
|
||||
### Added
|
||||
- Project scaffolding
|
||||
- CI pipeline (lint + unit tests)
|
||||
@@ -0,0 +1,24 @@
|
||||
# Aurora — Engineering README
|
||||
|
||||
## Stack
|
||||
|
||||
- Backend: Review API (Go)
|
||||
- Frontend: Reviewer Portal (Vue)
|
||||
- Storage: oCIS Infinite Scale (this space)
|
||||
|
||||
## Local Development
|
||||
|
||||
1. Clone the repo
|
||||
2. `[Add setup instructions here]`
|
||||
3. `[Add run instructions here]`
|
||||
|
||||
## Conventions
|
||||
|
||||
- Branch naming: `feature/<short-description>`, `fix/<short-description>`
|
||||
- All PRs require one review before merge
|
||||
- CI must be green before merge
|
||||
|
||||
## Current Focus
|
||||
|
||||
See `04-Meeting-Notes/` for the latest standup notes and `01-Planning/Timeline.csv`
|
||||
for the phase schedule.
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
# Kickoff Meeting — 2026-07-20
|
||||
|
||||
**Attendees:** [Add names]
|
||||
|
||||
## Agenda
|
||||
|
||||
1. Review project charter
|
||||
2. Confirm scope for phase 1
|
||||
3. Assign workstream owners
|
||||
|
||||
## Notes
|
||||
|
||||
- Agreed: phase 1 covers internal reviewers only, external/customer review is phase 2
|
||||
- Design to start immediately; engineering starts once wireframes are approved
|
||||
- Weekly standup every Friday 10:00
|
||||
|
||||
## Action Items
|
||||
|
||||
- [ ] [Add name] — circulate charter for sign-off
|
||||
- [ ] [Add name] — draft initial wireframes
|
||||
- [ ] [Add name] — set up CI pipeline
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
# Standup — 2026-07-24
|
||||
|
||||
## Design
|
||||
- Wireframes for review queue and detail view done, see `02-Design/Wireframes-Notes.md`
|
||||
- Next: get feedback from 2 pilot reviewers
|
||||
|
||||
## Engineering
|
||||
- Routing queue skeleton merged
|
||||
- Blocked on: final API contract for decision endpoint
|
||||
|
||||
## Product
|
||||
- Confirmed pilot teams: [Add team names]
|
||||
- Drafting rollout communication
|
||||
|
||||
## Next Standup
|
||||
2026-07-31, same time.
|
||||
@@ -0,0 +1,29 @@
|
||||
# Review API Reference (draft)
|
||||
|
||||
## `GET /reviews`
|
||||
|
||||
Returns the current user's pending reviews.
|
||||
|
||||
**Response**
|
||||
```json
|
||||
[
|
||||
{ "id": "string", "title": "string", "submitter": "string", "dueDate": "string", "status": "pending|in_review|approved|rejected" }
|
||||
]
|
||||
```
|
||||
|
||||
## `POST /reviews/{id}/decision`
|
||||
|
||||
Submit a decision for a review.
|
||||
|
||||
**Request**
|
||||
```json
|
||||
{ "decision": "approve|reject|request_changes", "comment": "string (optional)" }
|
||||
```
|
||||
|
||||
**Response:** `204 No Content`
|
||||
|
||||
## `GET /reviews/{id}/audit`
|
||||
|
||||
Returns the full decision history for a document.
|
||||
|
||||
[Add authentication details here]
|
||||
@@ -0,0 +1,21 @@
|
||||
# Aurora Reviewer Portal — User Guide
|
||||
|
||||
## Signing In
|
||||
|
||||
Sign in with your usual company credentials. You'll land on the **Review Queue**.
|
||||
|
||||
## Reviewing a Document
|
||||
|
||||
1. Click a document in the queue to open the detail view.
|
||||
2. Read the document in the inline preview.
|
||||
3. Choose **Approve**, **Reject**, or **Request Changes**.
|
||||
4. Optionally leave a comment explaining your decision.
|
||||
|
||||
## Tracking Status
|
||||
|
||||
Your decisions are recorded immediately and visible to the submitter. Use the
|
||||
**Status** filter on the queue to see documents by state.
|
||||
|
||||
## Getting Help
|
||||
|
||||
[Add support contact / channel here]
|
||||
+350
@@ -0,0 +1,350 @@
|
||||
# Code Languages Showcase
|
||||
|
||||
Short, valid snippets in a broad set of highlight.js-supported languages
|
||||
(https://highlightjs.readthedocs.io/en/latest/supported-languages.html),
|
||||
each implementing the same idea: check whether a review decision is approved.
|
||||
|
||||
## JavaScript
|
||||
|
||||
```javascript
|
||||
function isApproved(review) {
|
||||
return review.status === 'approved'
|
||||
}
|
||||
```
|
||||
|
||||
## TypeScript
|
||||
|
||||
```typescript
|
||||
interface Review {
|
||||
id: string
|
||||
status: 'pending' | 'approved' | 'rejected'
|
||||
}
|
||||
|
||||
function isApproved(review: Review): boolean {
|
||||
return review.status === 'approved'
|
||||
}
|
||||
```
|
||||
|
||||
## Python
|
||||
|
||||
```python
|
||||
def is_approved(review: dict) -> bool:
|
||||
return review.get("status") == "approved"
|
||||
```
|
||||
|
||||
## Go
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
func isApproved(status string) bool {
|
||||
return status == "approved"
|
||||
}
|
||||
```
|
||||
|
||||
## Rust
|
||||
|
||||
```rust
|
||||
fn is_approved(status: &str) -> bool {
|
||||
status == "approved"
|
||||
}
|
||||
```
|
||||
|
||||
## Java
|
||||
|
||||
```java
|
||||
class Review {
|
||||
static boolean isApproved(String status) {
|
||||
return "approved".equals(status);
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## C
|
||||
|
||||
```c
|
||||
#include <string.h>
|
||||
|
||||
int is_approved(const char *status) {
|
||||
return strcmp(status, "approved") == 0;
|
||||
}
|
||||
```
|
||||
|
||||
## C++
|
||||
|
||||
```cpp
|
||||
#include <string>
|
||||
|
||||
bool is_approved(const std::string &status) {
|
||||
return status == "approved";
|
||||
}
|
||||
```
|
||||
|
||||
## C#
|
||||
|
||||
```csharp
|
||||
class Review {
|
||||
public static bool IsApproved(string status) => status == "approved";
|
||||
}
|
||||
```
|
||||
|
||||
## Ruby
|
||||
|
||||
```ruby
|
||||
def approved?(status)
|
||||
status == "approved"
|
||||
end
|
||||
```
|
||||
|
||||
## PHP
|
||||
|
||||
```php
|
||||
<?php
|
||||
function isApproved(string $status): bool {
|
||||
return $status === "approved";
|
||||
}
|
||||
```
|
||||
|
||||
## Swift
|
||||
|
||||
```swift
|
||||
func isApproved(_ status: String) -> Bool {
|
||||
return status == "approved"
|
||||
}
|
||||
```
|
||||
|
||||
## Kotlin
|
||||
|
||||
```kotlin
|
||||
fun isApproved(status: String) = status == "approved"
|
||||
```
|
||||
|
||||
## Scala
|
||||
|
||||
```scala
|
||||
object Review {
|
||||
def isApproved(status: String): Boolean = status == "approved"
|
||||
}
|
||||
```
|
||||
|
||||
## Haskell
|
||||
|
||||
```haskell
|
||||
isApproved :: String -> Bool
|
||||
isApproved status = status == "approved"
|
||||
```
|
||||
|
||||
## Elixir
|
||||
|
||||
```elixir
|
||||
defmodule Review do
|
||||
def approved?(status), do: status == "approved"
|
||||
end
|
||||
```
|
||||
|
||||
## Erlang
|
||||
|
||||
```erlang
|
||||
is_approved(Status) -> Status =:= "approved".
|
||||
```
|
||||
|
||||
## Clojure
|
||||
|
||||
```clojure
|
||||
(defn approved? [status]
|
||||
(= status "approved"))
|
||||
```
|
||||
|
||||
## Lua
|
||||
|
||||
```lua
|
||||
local function is_approved(status)
|
||||
return status == "approved"
|
||||
end
|
||||
```
|
||||
|
||||
## Perl
|
||||
|
||||
```perl
|
||||
sub is_approved {
|
||||
my ($status) = @_;
|
||||
return $status eq "approved";
|
||||
}
|
||||
```
|
||||
|
||||
## R
|
||||
|
||||
```r
|
||||
is_approved <- function(status) {
|
||||
status == "approved"
|
||||
}
|
||||
```
|
||||
|
||||
## SQL
|
||||
|
||||
```sql
|
||||
SELECT id, title
|
||||
FROM reviews
|
||||
WHERE status = 'approved'
|
||||
ORDER BY due_date;
|
||||
```
|
||||
|
||||
## Bash
|
||||
|
||||
```bash
|
||||
is_approved() {
|
||||
[[ "$1" == "approved" ]]
|
||||
}
|
||||
```
|
||||
|
||||
## PowerShell
|
||||
|
||||
```powershell
|
||||
function Test-Approved {
|
||||
param([string]$Status)
|
||||
$Status -eq "approved"
|
||||
}
|
||||
```
|
||||
|
||||
## YAML
|
||||
|
||||
```yaml
|
||||
review:
|
||||
id: r-1024
|
||||
status: approved
|
||||
reviewer: alice
|
||||
```
|
||||
|
||||
## JSON
|
||||
|
||||
```json
|
||||
{
|
||||
"id": "r-1024",
|
||||
"status": "approved",
|
||||
"reviewer": "alice"
|
||||
}
|
||||
```
|
||||
|
||||
## XML
|
||||
|
||||
```xml
|
||||
<review id="r-1024">
|
||||
<status>approved</status>
|
||||
<reviewer>alice</reviewer>
|
||||
</review>
|
||||
```
|
||||
|
||||
## HTML
|
||||
|
||||
```html
|
||||
<article class="review" data-status="approved">
|
||||
<h2>Review r-1024</h2>
|
||||
<p>Reviewer: alice</p>
|
||||
</article>
|
||||
```
|
||||
|
||||
## CSS
|
||||
|
||||
```css
|
||||
.review[data-status="approved"] {
|
||||
border-left: 4px solid green;
|
||||
}
|
||||
```
|
||||
|
||||
## SCSS
|
||||
|
||||
```scss
|
||||
.review {
|
||||
&[data-status="approved"] {
|
||||
border-left: 4px solid $color-success;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Markdown
|
||||
|
||||
```markdown
|
||||
# Review r-1024
|
||||
|
||||
**Status:** approved
|
||||
```
|
||||
|
||||
## Dockerfile
|
||||
|
||||
```dockerfile
|
||||
FROM alpine:3.22
|
||||
COPY review-api /usr/local/bin/review-api
|
||||
CMD ["review-api"]
|
||||
```
|
||||
|
||||
## Makefile
|
||||
|
||||
```makefile
|
||||
build:
|
||||
go build -o review-api ./cmd/review-api
|
||||
|
||||
test:
|
||||
go test ./...
|
||||
```
|
||||
|
||||
## INI
|
||||
|
||||
```ini
|
||||
[review]
|
||||
status = approved
|
||||
reviewer = alice
|
||||
```
|
||||
|
||||
## TOML
|
||||
|
||||
```toml
|
||||
[review]
|
||||
id = "r-1024"
|
||||
status = "approved"
|
||||
reviewer = "alice"
|
||||
```
|
||||
|
||||
## Diff
|
||||
|
||||
```diff
|
||||
- status: pending
|
||||
+ status: approved
|
||||
```
|
||||
|
||||
## GraphQL
|
||||
|
||||
```graphql
|
||||
query GetReview($id: ID!) {
|
||||
review(id: $id) {
|
||||
id
|
||||
status
|
||||
reviewer
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Protocol Buffers
|
||||
|
||||
```protobuf
|
||||
message Review {
|
||||
string id = 1;
|
||||
string status = 2;
|
||||
string reviewer = 3;
|
||||
}
|
||||
```
|
||||
|
||||
## Nginx
|
||||
|
||||
```nginx
|
||||
location /reviews/ {
|
||||
proxy_pass http://review-api:8080;
|
||||
}
|
||||
```
|
||||
|
||||
## Apache
|
||||
|
||||
```apache
|
||||
<Location /reviews>
|
||||
ProxyPass http://review-api:8080
|
||||
</Location>
|
||||
```
|
||||
+54
@@ -0,0 +1,54 @@
|
||||
# File Format Coverage
|
||||
|
||||
This folder aims to carry one sample file per document/spreadsheet/presentation/
|
||||
image/archive format that oCIS, Collabora, and ONLYOFFICE encounter in the wild.
|
||||
This note tracks what's covered and what's deliberately left out.
|
||||
|
||||
## Covered
|
||||
|
||||
Word processing: doc**x**, doc**m**, dot**x**, dot**m**, docxf, odt, ott, oth,
|
||||
fodt, rtf
|
||||
Spreadsheets: xlsx, xlsm, xltx, xltm, ods, ots, fods, csv, tsv, dif, slk, dbf,
|
||||
gnumeric, gsheet
|
||||
Presentations: pptx, pptm, potx, potm, ppsx, ppsm, odp, otp, fodp, gslides
|
||||
Drawings/CAD: odg, otg, fodg, svg, dxf
|
||||
PDF: pdf, a PDF/A-flavored variant (`Sample-Archival-PDFA.pdf`)
|
||||
Text/markup: txt, md, html, htm, xhtml, mhtml, xml, json
|
||||
E-books: epub, fb2
|
||||
Extensions: oxt (LibreOffice extension package)
|
||||
Legacy binary (hand-built, byte-for-byte): dbf, pdb, emf, wmf
|
||||
Images/video/other: jpg, jpeg, png, gif, bmp, tiff, webp, ico, url, avi, mkv,
|
||||
mov, mp4, webm
|
||||
|
||||
## Deliberately skipped
|
||||
|
||||
The formats below need their originating proprietary application (or a
|
||||
converter we don't have available, e.g. LibreOffice/`soffice` headless
|
||||
conversion) to produce a genuinely valid file. Rather than ship a file that
|
||||
merely has the right extension but invalid/garbage internal structure, they're
|
||||
left out:
|
||||
|
||||
- **Legacy OLE binary Microsoft Office** (pre-2007): doc, dot, xls, xlsb, xlt,
|
||||
ppt, pot, pps, pub, wri
|
||||
- **CorelDRAW**: cdr
|
||||
- **WordPerfect**: wpd
|
||||
- **Hangul Word Processor**: hwp, hwp2
|
||||
- **Adobe PageMaker**: p65
|
||||
- **Lotus Ami Pro**: mw
|
||||
- **Sony BroadBand eBook (Librie/LRF)**: lrf
|
||||
- **DjVu**: djvu
|
||||
- **Adobe Flash**: swf
|
||||
- **Apple iWork** (proprietary zip/IWA bundle): key, numbers
|
||||
- **CGM (Computer Graphics Metafile)**: cgm
|
||||
- **Microsoft Visio** (legacy binary and modern OOXML-based): vsd, vsdm, vsdx,
|
||||
vss, vssm, vssx, vstm, vstx
|
||||
- **Microsoft XPS / OpenXPS**: xps, oxps
|
||||
- **ONLYOFFICE form (built from docxf)**: oform
|
||||
- **Kingsoft/WPS Office legacy binary**: et, ett, dps, dpt, wps, wpt
|
||||
- **LibreOffice Base**: odb
|
||||
- **OpenDocument chart / master document (and its template)**: odc, odm, otm
|
||||
- **StarOffice 5/6 legacy XML family**: sxw, sxc, sxi, sxd, sxg, stw, stc,
|
||||
sti, std
|
||||
- **HEIF/HEIC**: heif (no HEIF encoder available in this environment)
|
||||
|
||||
Generated 2026-07-29 for the oCIS format showcase.
|
||||
+198
@@ -0,0 +1,198 @@
|
||||
# Markdown Feature Showcase
|
||||
|
||||
A demo of every object type supported by the md-editor-v3 syntax
|
||||
(https://imzbf.github.io/md-editor-v3/en-US/syntax).
|
||||
|
||||
## Headings
|
||||
|
||||
# H1
|
||||
## H2
|
||||
### H3
|
||||
#### H4
|
||||
##### H5
|
||||
###### H6
|
||||
|
||||
## Emphasis
|
||||
|
||||
**bold text**, _italic text_, ~~strikethrough~~, <u>underline</u>, plain text.
|
||||
|
||||
Combined: **_bold and italic_**, **~~bold and strikethrough~~**.
|
||||
|
||||
Superscript: text^[1]^ Subscript: text~[2]~
|
||||
|
||||
## Blockquote
|
||||
|
||||
> A single-line blockquote.
|
||||
>
|
||||
> A blockquote with multiple paragraphs.
|
||||
> > A nested blockquote.
|
||||
|
||||
## Lists
|
||||
|
||||
Unordered:
|
||||
|
||||
- Item one
|
||||
- Item two
|
||||
- Nested item
|
||||
- Another nested item
|
||||
- Item three
|
||||
|
||||
Ordered:
|
||||
|
||||
1. First step
|
||||
2. Second step
|
||||
1. Sub-step A
|
||||
2. Sub-step B
|
||||
3. Third step
|
||||
|
||||
Task list:
|
||||
|
||||
- [x] Write project charter
|
||||
- [x] Finish wireframes
|
||||
- [ ] Finalize API contract
|
||||
- [ ] Run pilot with 3 teams
|
||||
|
||||
## Links and Images
|
||||
|
||||
[ownCloud Infinite Scale](https://owncloud.dev/ocis/ "oCIS developer docs")
|
||||
|
||||

|
||||
|
||||
Reference-style link: [oCIS repo][ocis-repo]
|
||||
|
||||
[ocis-repo]: https://github.com/owncloud/ocis "owncloud/ocis on GitHub"
|
||||
|
||||
## Code
|
||||
|
||||
Inline code: `const x = 42`
|
||||
|
||||
Block code:
|
||||
|
||||
```javascript
|
||||
function reviewDecision(status) {
|
||||
return status === 'approved' ? '✅' : '❌'
|
||||
}
|
||||
```
|
||||
|
||||
Code tabs (same snippet, two languages):
|
||||
|
||||
```javascript [id:js]
|
||||
console.log('Hello from JavaScript')
|
||||
```
|
||||
|
||||
```python [id:py]
|
||||
print("Hello from Python")
|
||||
```
|
||||
|
||||
Foldable code block (collapsed by default):
|
||||
|
||||
```json ::close
|
||||
{
|
||||
"id": "aurora",
|
||||
"phase": "development",
|
||||
"reviewers": ["alice", "bob"]
|
||||
}
|
||||
```
|
||||
|
||||
## Table
|
||||
|
||||
| Phase | Owner | Status |
|
||||
|---|:---:|---:|
|
||||
| Discovery | Product | Done |
|
||||
| Design | Design | Done |
|
||||
| Development | Engineering | In Progress |
|
||||
| Pilot | Product | Not Started |
|
||||
|
||||
## Horizontal Rule
|
||||
|
||||
---
|
||||
|
||||
## Math (KaTeX)
|
||||
|
||||
Inline math: the review SLA is $t_{review} \leq 24h$.
|
||||
|
||||
Block math:
|
||||
|
||||
$$
|
||||
\text{Turnaround} = \frac{\sum_{i=1}^{n} (t_{decision,i} - t_{submitted,i})}{n}
|
||||
$$
|
||||
|
||||
## Mermaid Diagram
|
||||
|
||||
```mermaid
|
||||
flowchart LR
|
||||
A[Document Submitted] --> B{Routing Queue}
|
||||
B --> C[Reviewer Assigned]
|
||||
C --> D{Decision}
|
||||
D -->|Approve| E[Published]
|
||||
D -->|Reject| F[Returned to Submitter]
|
||||
```
|
||||
|
||||
See `Mermaid-Diagrams.md` in this folder for the full diagram-type gallery.
|
||||
|
||||
## Alerts / Admonitions
|
||||
|
||||
!!! note Note
|
||||
A plain note callout.
|
||||
!!!
|
||||
|
||||
!!! tip Tip
|
||||
Use the routing queue filter to focus on your own team's documents.
|
||||
!!!
|
||||
|
||||
!!! warning Warning
|
||||
Rejected documents are not automatically resubmitted.
|
||||
!!!
|
||||
|
||||
!!! danger Danger
|
||||
Do not delete the audit log table in production.
|
||||
!!!
|
||||
|
||||
!!! success Success
|
||||
Pilot rollout completed with zero SLA breaches.
|
||||
!!!
|
||||
|
||||
!!! info Info
|
||||
The API reference lives in `05-Documentation/API-Reference.md`.
|
||||
!!!
|
||||
|
||||
!!! bug Bug
|
||||
Mobile layout currently clips the decision panel on small screens.
|
||||
!!!
|
||||
|
||||
!!! example Example
|
||||
See `sample-request.json` in the API reference for a full payload example.
|
||||
!!!
|
||||
|
||||
!!! question Question
|
||||
Should bulk-approve be limited to low-risk documents only?
|
||||
!!!
|
||||
|
||||
!!! quote Quote
|
||||
"Move the decision, not the document." — Aurora design principle
|
||||
!!!
|
||||
|
||||
!!! hint Hint
|
||||
Keyboard shortcut `g` then `r` jumps to the review queue.
|
||||
!!!
|
||||
|
||||
!!! caution Caution
|
||||
Changing the routing rules affects in-flight reviews immediately.
|
||||
!!!
|
||||
|
||||
!!! error Error
|
||||
`413 Payload Too Large` — attachment exceeds the 25MB limit.
|
||||
!!!
|
||||
|
||||
!!! attention Attention
|
||||
Auth App Service must be enabled for App Tokens to work.
|
||||
!!!
|
||||
|
||||
!!! abstract Abstract
|
||||
This document showcases every markdown object type used across the Aurora
|
||||
demo project space.
|
||||
!!!
|
||||
|
||||
!!! failure Failure
|
||||
Build #482 failed: missing `WORKFLOWS_ENCRYPTION_KEY`.
|
||||
!!!
|
||||
+190
@@ -0,0 +1,190 @@
|
||||
# Mermaid Diagram Gallery
|
||||
|
||||
One example of each standard Mermaid.js diagram type, themed around the Aurora
|
||||
review workflow.
|
||||
|
||||
## Flowchart
|
||||
|
||||
```mermaid
|
||||
flowchart TD
|
||||
A[Document Submitted] --> B{Routing Queue}
|
||||
B --> C[Reviewer Assigned]
|
||||
C --> D{Decision}
|
||||
D -->|Approve| E[Published]
|
||||
D -->|Reject| F[Returned to Submitter]
|
||||
D -->|Request Changes| C
|
||||
```
|
||||
|
||||
## Sequence Diagram
|
||||
|
||||
```mermaid
|
||||
sequenceDiagram
|
||||
participant S as Submitter
|
||||
participant A as Review API
|
||||
participant R as Reviewer
|
||||
S->>A: Submit document
|
||||
A->>R: Notify: new review assigned
|
||||
R->>A: POST /reviews/{id}/decision
|
||||
A->>S: Notify: decision recorded
|
||||
```
|
||||
|
||||
## Class Diagram
|
||||
|
||||
```mermaid
|
||||
classDiagram
|
||||
class Review {
|
||||
+string id
|
||||
+string title
|
||||
+string status
|
||||
+submit()
|
||||
+decide(decision)
|
||||
}
|
||||
class Reviewer {
|
||||
+string name
|
||||
+approve(Review)
|
||||
+reject(Review)
|
||||
}
|
||||
Reviewer "1" --> "many" Review : decides
|
||||
```
|
||||
|
||||
## State Diagram
|
||||
|
||||
```mermaid
|
||||
stateDiagram-v2
|
||||
[*] --> Pending
|
||||
Pending --> InReview: assigned
|
||||
InReview --> Approved: approve
|
||||
InReview --> Rejected: reject
|
||||
InReview --> Pending: request changes
|
||||
Approved --> [*]
|
||||
Rejected --> [*]
|
||||
```
|
||||
|
||||
## Entity Relationship Diagram
|
||||
|
||||
```mermaid
|
||||
erDiagram
|
||||
REVIEWER ||--o{ REVIEW : decides
|
||||
SUBMITTER ||--o{ REVIEW : submits
|
||||
REVIEW ||--o{ COMMENT : has
|
||||
REVIEW {
|
||||
string id
|
||||
string status
|
||||
date dueDate
|
||||
}
|
||||
```
|
||||
|
||||
## User Journey
|
||||
|
||||
```mermaid
|
||||
journey
|
||||
title Reviewer's Day
|
||||
section Morning
|
||||
Check review queue: 5: Reviewer
|
||||
Read new document: 3: Reviewer
|
||||
section Afternoon
|
||||
Approve document: 5: Reviewer
|
||||
Leave feedback comment: 4: Reviewer
|
||||
```
|
||||
|
||||
## Gantt Chart
|
||||
|
||||
```mermaid
|
||||
gantt
|
||||
title Aurora Delivery Plan
|
||||
dateFormat YYYY-MM-DD
|
||||
section Design
|
||||
Wireframes :done, des1, 2026-06-15, 2026-06-25
|
||||
Review & sign-off :done, des2, after des1, 5d
|
||||
section Engineering
|
||||
API implementation :active, dev1, 2026-07-13, 25d
|
||||
Frontend integration :dev2, after dev1, 15d
|
||||
section Rollout
|
||||
Pilot :2026-08-24, 12d
|
||||
```
|
||||
|
||||
## Pie Chart
|
||||
|
||||
```mermaid
|
||||
pie title Reviews by Outcome (last 30 days)
|
||||
"Approved" : 62
|
||||
"Rejected" : 15
|
||||
"Changes Requested" : 23
|
||||
```
|
||||
|
||||
## Quadrant Chart
|
||||
|
||||
```mermaid
|
||||
quadrantChart
|
||||
title Reach vs Effort
|
||||
x-axis Low Effort --> High Effort
|
||||
y-axis Low Reach --> High Reach
|
||||
quadrant-1 Do First
|
||||
quadrant-2 Plan
|
||||
quadrant-3 Deprioritize
|
||||
quadrant-4 Delegate
|
||||
Bulk Approve: [0.3, 0.8]
|
||||
Mobile Layout: [0.7, 0.4]
|
||||
Audit Export: [0.5, 0.6]
|
||||
```
|
||||
|
||||
## Requirement Diagram
|
||||
|
||||
```mermaid
|
||||
requirementDiagram
|
||||
requirement auditTrail {
|
||||
id: 1
|
||||
text: every decision must be recorded
|
||||
risk: high
|
||||
verifymethod: test
|
||||
}
|
||||
element reviewAPI {
|
||||
type: service
|
||||
}
|
||||
reviewAPI - satisfies -> auditTrail
|
||||
```
|
||||
|
||||
## Git Graph
|
||||
|
||||
```mermaid
|
||||
gitGraph
|
||||
commit id: "init"
|
||||
branch feature/routing-queue
|
||||
checkout feature/routing-queue
|
||||
commit id: "add queue skeleton"
|
||||
commit id: "add tests"
|
||||
checkout main
|
||||
merge feature/routing-queue
|
||||
commit id: "release 0.1.0" tag: "v0.1.0"
|
||||
```
|
||||
|
||||
## Mindmap
|
||||
|
||||
```mermaid
|
||||
mindmap
|
||||
root((Aurora))
|
||||
Planning
|
||||
Charter
|
||||
Timeline
|
||||
Design
|
||||
Wireframes
|
||||
Architecture
|
||||
Engineering
|
||||
Review API
|
||||
Routing Queue
|
||||
Rollout
|
||||
Pilot
|
||||
GA
|
||||
```
|
||||
|
||||
## Timeline
|
||||
|
||||
```mermaid
|
||||
timeline
|
||||
title Aurora Roadmap
|
||||
2026-06 : Discovery
|
||||
2026-06 to 2026-07 : Design
|
||||
2026-07 to 2026-08 : Development
|
||||
2026-08 : Pilot Rollout
|
||||
2026-09 : General Availability
|
||||
```
|
||||
+68
@@ -0,0 +1,68 @@
|
||||
%PDF-1.3
|
||||
%“Œ‹ž ReportLab Generated PDF document (opensource)
|
||||
1 0 obj
|
||||
<<
|
||||
/F1 2 0 R
|
||||
>>
|
||||
endobj
|
||||
2 0 obj
|
||||
<<
|
||||
/BaseFont /Helvetica /Encoding /WinAnsiEncoding /Name /F1 /Subtype /Type1 /Type /Font
|
||||
>>
|
||||
endobj
|
||||
3 0 obj
|
||||
<<
|
||||
/Contents 7 0 R /MediaBox [ 0 0 595.2756 841.8898 ] /Parent 6 0 R /Resources <<
|
||||
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
|
||||
>> /Rotate 0 /Trans <<
|
||||
|
||||
>>
|
||||
/Type /Page
|
||||
>>
|
||||
endobj
|
||||
4 0 obj
|
||||
<<
|
||||
/PageMode /UseNone /Pages 6 0 R /Type /Catalog
|
||||
>>
|
||||
endobj
|
||||
5 0 obj
|
||||
<<
|
||||
/Author (anonymous) /CreationDate (D:20260729080141+02'00') /Creator (anonymous) /Keywords () /ModDate (D:20260729080141+02'00') /Producer (ReportLab PDF Library - \(opensource\))
|
||||
/Subject (unspecified) /Title (Sample Archival PDF) /Trapped /False
|
||||
>>
|
||||
endobj
|
||||
6 0 obj
|
||||
<<
|
||||
/Count 1 /Kids [ 3 0 R ] /Type /Pages
|
||||
>>
|
||||
endobj
|
||||
7 0 obj
|
||||
<<
|
||||
/Filter [ /ASCII85Decode /FlateDecode ] /Length 215
|
||||
>>
|
||||
stream
|
||||
Gar?*bmT+g&B4,;(%8)`+"MqLq_Ea5JU?ahkq!abDWk^)hmZaD+9in2]_T5YL;Xgr[FW-^,;'j9$800#-j)\Ca#u@ohpjhXOX/j'IO4V\&Ph(9?A2:6aUH[l1%egNDZfJZpu3CAM\!P"Sd&UD,0^,B'$TK7]c/OS`n!7e0bVe2Kgm#EFG=(q2pS`s='P@9,ZNC>&b?\!+SrVUmfbK+5(!~>endstream
|
||||
endobj
|
||||
xref
|
||||
0 8
|
||||
0000000000 65535 f
|
||||
0000000061 00000 n
|
||||
0000000092 00000 n
|
||||
0000000199 00000 n
|
||||
0000000402 00000 n
|
||||
0000000470 00000 n
|
||||
0000000742 00000 n
|
||||
0000000801 00000 n
|
||||
trailer
|
||||
<<
|
||||
/ID
|
||||
[<01ff35e56a175f29dd2c4fecfc16304b><01ff35e56a175f29dd2c4fecfc16304b>]
|
||||
% ReportLab generated PDF document -- digest (opensource)
|
||||
|
||||
/Info 5 0 R
|
||||
/Root 4 0 R
|
||||
/Size 8
|
||||
>>
|
||||
startxref
|
||||
1106
|
||||
%%EOF
|
||||
BIN
Binary file not shown.
+22
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<FictionBook xmlns="http://www.gribuser.ru/xml/fictionbook/2.0" xmlns:l="http://www.w3.org/1999/xlink">
|
||||
<description>
|
||||
<title-info>
|
||||
<genre>compjournalism</genre>
|
||||
<author><first-name>oCIS</first-name><last-name>Demo</last-name></author>
|
||||
<book-title>Sample FictionBook</book-title>
|
||||
<lang>en</lang>
|
||||
</title-info>
|
||||
<document-info>
|
||||
<author><nickname>oCIS Format Showcase</nickname></author>
|
||||
<id>sample-fb2-showcase</id>
|
||||
<version>1.0</version>
|
||||
</document-info>
|
||||
</description>
|
||||
<body>
|
||||
<section>
|
||||
<title><p>Sample Chapter</p></title>
|
||||
<p>This is a sample FictionBook (.fb2) document generated for the oCIS format showcase.</p>
|
||||
</section>
|
||||
</body>
|
||||
</FictionBook>
|
||||
@@ -0,0 +1,3 @@
|
||||
name,role,department
|
||||
Ada Lovelace,Engineer,R&D
|
||||
Grace Hopper,Admiral,Navy
|
||||
|
BIN
Binary file not shown.
+20
@@ -0,0 +1,20 @@
|
||||
TABLE
|
||||
0,1
|
||||
"Sample Data"
|
||||
VECTORS
|
||||
0,1
|
||||
""
|
||||
TUPLES
|
||||
0,2
|
||||
""
|
||||
DATA
|
||||
0,0
|
||||
""
|
||||
BOT
|
||||
1,0
|
||||
"Name"
|
||||
BOT
|
||||
1,0
|
||||
"Ada Lovelace"
|
||||
-1,0
|
||||
EOD
|
||||
BIN
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
ID;PWXL;N;E
|
||||
P;PGeneral
|
||||
F;P0;DG0G8;M255
|
||||
B;Y2;X2
|
||||
C;Y1;X1;K"Name"
|
||||
C;Y1;X2;K"Role"
|
||||
C;Y2;X1;K"Ada Lovelace"
|
||||
C;Y2;X2;K"Engineer"
|
||||
E
|
||||
@@ -0,0 +1,3 @@
|
||||
name role department
|
||||
Ada Lovelace Engineer R&D
|
||||
Grace Hopper Admiral Navy
|
||||
|
+20
@@ -0,0 +1,20 @@
|
||||
0
|
||||
SECTION
|
||||
2
|
||||
HEADER
|
||||
0
|
||||
ENDSEC
|
||||
0
|
||||
SECTION
|
||||
2
|
||||
TABLES
|
||||
0
|
||||
ENDSEC
|
||||
0
|
||||
SECTION
|
||||
2
|
||||
ENTITIES
|
||||
0
|
||||
ENDSEC
|
||||
0
|
||||
EOF
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+12
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
|
||||
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
|
||||
xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
|
||||
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
|
||||
office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
|
||||
<office:body>
|
||||
<office:text>
|
||||
<text:p>Sample flat ODF text document (.fodt), generated for the oCIS format showcase.</text:p>
|
||||
</office:text>
|
||||
</office:body>
|
||||
</office:document>
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+15
@@ -0,0 +1,15 @@
|
||||
{\rtf1\ansi\ansicpg1252\deff0\nouicompat{\fonttbl{\f0\fswiss\fcharset0 Helvetica;}}
|
||||
{\colortbl;\red13\green133\blue111;}
|
||||
\viewkind4\uc1
|
||||
\pard\sa200\sl276\slmult1\qc\b\fs32\cf1 Aurora - Sample RTF Document\b0\fs22\par
|
||||
\pard\sa200\sl276\slmult1\qj\cf0
|
||||
This .rtf file is part of the file-type coverage set for the Demo Space.\par
|
||||
\par
|
||||
\b Status Summary\b0\par
|
||||
Design: complete\par
|
||||
Engineering: in progress\par
|
||||
\par
|
||||
\b Next Steps\b0\par
|
||||
- Finalize the API contract for the decision endpoint.\par
|
||||
- Confirm pilot team list with product.\par
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
|
||||
xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
|
||||
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
|
||||
office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.graphics">
|
||||
<office:body>
|
||||
<office:drawing>
|
||||
<draw:page draw:name="page1">
|
||||
<draw:frame draw:layer="layout"><draw:text-box><text:p>Sample flat ODF drawing (.fodg)</text:p></draw:text-box></draw:frame>
|
||||
</draw:page>
|
||||
</office:drawing>
|
||||
</office:body>
|
||||
</office:document>
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+13
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
|
||||
xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
|
||||
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
|
||||
office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.presentation">
|
||||
<office:body>
|
||||
<office:presentation>
|
||||
<draw:page draw:name="page1">
|
||||
<draw:frame draw:layer="layout"><draw:text-box><text:p>Sample flat ODF presentation (.fodp)</text:p></draw:text-box></draw:frame>
|
||||
</draw:page>
|
||||
</office:presentation>
|
||||
</office:body>
|
||||
</office:document>
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Loaded 100 of 519 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user