Commit Graph
8509 Commits
Author SHA1 Message Date
Ralf Haferkamp 436399e8ea idm: Allow to create demo and service users on startup
Uses go:embed to include the demo and service users from LDIF.
Using a template file for the service users to be able to set
custom passwords via config/env.

In order to switch ocis to use idm instead of accounts/glauth it
currently needs to be started with this env:

GRAPH_IDENTITY_BACKEND=ldap
GRAPH_LDAP_URI=ldaps://localhost:9235
GRAPH_LDAP_BIND_DN="uid=libregraph,ou=sysusers,o=libregraph-idm"
GRAPH_LDAP_BIND_PASSWORD=idm
GRAPH_LDAP_USER_EMAIL_ATTRIBUTE=mail
GRAPH_LDAP_USER_NAME_ATTRIBUTE=uid
GRAPH_LDAP_USER_BASE_DN="ou=users,o=libregraph-idm"
GRAPH_LDAP_GROUP_BASE_DN="ou=groups,o=libregraph-idm"
GRAPH_LDAP_SERVER_WRITE_ENABLED="true"
IDP_LDAP_FILTER="(&(objectclass=inetOrgPerson)(objectClass=owncloud))"
IDP_LDAP_URI=ldaps://localhost:9235
IDP_LDAP_BIND_DN="uid=idp,ou=sysusers,o=libregraph-idm"
IDP_LDAP_BIND_PASSWORD="idp"
IDP_LDAP_BASE_DN="ou=users,o=libregraph-idm"
IDP_LDAP_LOGIN_ATTRIBUTE=uid
IDP_LDAP_UUID_ATTRIBUTE="ownclouduuid"
IDP_LDAP_UUID_ATTRIBUTE_TYPE=binary
PROXY_ACCOUNT_BACKEND_TYPE=cs3
OCS_ACCOUNT_BACKEND_TYPE=cs3
STORAGE_LDAP_HOSTNAME=localhost
STORAGE_LDAP_PORT=9235
STORAGE_LDAP_INSECURE="true"
STORAGE_LDAP_BASE_DN="o=libregraph-idm"
STORAGE_LDAP_BIND_DN="uid=reva,ou=sysusers,o=libregraph-idm"
STORAGE_LDAP_BIND_PASSWORD=reva
STORAGE_LDAP_LOGINFILTER='(&(objectclass=inetOrgPerson)(objectclass=owncloud)(|(uid={{login}})(mail={{login}})))'
STORAGE_LDAP_USERFILTER='(&(objectclass=inetOrgPerson)(objectclass=owncloud)(|(ownclouduuid={{.OpaqueId}})(uid={{.OpaqueId}})))'
STORAGE_LDAP_USERATTRIBUTEFILTER='(&(objectclass=owncloud)({{attr}}={{value}}))'
STORAGE_LDAP_USERFINDFILTER='(&(objectclass=owncloud)(|(uid={{query}}*)(cn={{query}}*)(displayname={{query}}*)(mail={{query}}*)(description={{query}}*)))'
STORAGE_LDAP_GROUPFILTER='(&(objectclass=groupOfNames)(objectclass=owncloud)(ownclouduuid={{.OpaqueId}}*))'
OCIS_INSECURE=true
2022-03-09 15:18:15 +01:00
Jörn Friedrich Dreyer dc324b2e2b Automated changelog update [skip ci] 2022-03-09 11:07:11 +00:00
Jörn Friedrich DreyerandGitHub 139e437b97 Merge pull request #3272 from owncloud/animated-gif-thumbnails
Change thumbnails API and implement gif thumbnails
2022-03-09 12:06:16 +01:00
David Christofas 95ae3b8762 rewrite thumbnails API
Improved the thumbnails API so that the binary files won't be
transported via GRPC. GRPC has a limited message size and isn't very
effiefficient with large binary data.
2022-03-08 23:12:43 +01:00
Ralf HaferkampandGitHub 0dcf9524f0 Merge pull request #3285 from owncloud/dependabot/go_modules/github.com/owncloud/libre-graph-api-go-0.12.0
Bump github.com/owncloud/libre-graph-api-go from 0.11.0 to 0.12.0
2022-03-08 11:19:46 +01:00
dependabot[bot]andGitHub 0487ed994f Bump github.com/owncloud/libre-graph-api-go from 0.11.0 to 0.12.0
Bumps [github.com/owncloud/libre-graph-api-go](https://github.com/owncloud/libre-graph-api-go) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/owncloud/libre-graph-api-go/releases)
- [Commits](https://github.com/owncloud/libre-graph-api-go/compare/v0.11.0...v0.12.0)

---
updated-dependencies:
- dependency-name: github.com/owncloud/libre-graph-api-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-08 06:13:27 +00:00
Pascal WengerterandGitHub c15738716f Merge pull request #3274 from owncloud/dependabot/npm_and_yarn/settings/rollup-plugin-filesize-9.1.2
Bump rollup-plugin-filesize from 9.1.1 to 9.1.2 in /settings
2022-03-07 17:28:35 +01:00
Pascal WengerterandGitHub a12f228b71 Merge pull request #3273 from owncloud/dependabot/npm_and_yarn/settings/ldapjs-2.3.2
Bump ldapjs from 2.3.1 to 2.3.2 in /settings
2022-03-07 17:27:32 +01:00
Michael Barz 64fdc09fc5 Automated changelog update [skip ci] 2022-03-07 09:54:47 +00:00
Michael BarzandGitHub b7ce1c6815 Merge pull request #3279 from owncloud/release-1.18.0
Release 1.18.0
2022-03-07 10:54:16 +01:00
Michael Barz c14903cfe7 fix changelog for reva 2022-03-07 10:03:40 +01:00
Willy KloucekandGitHub eea1e23d1b Merge pull request #3268 from owncloud/nats-stan-fixes
[full-ci] NATS integration fixes
2022-03-07 09:59:08 +01:00
Willy Kloucek 37b56d920e incorporate review feedback 2022-03-07 08:15:50 +01:00
dependabot[bot]andGitHub d7d6a33aaf Bump rollup-plugin-filesize from 9.1.1 to 9.1.2 in /settings
Bumps [rollup-plugin-filesize](https://github.com/ritz078/rollup-plugin-filesize) from 9.1.1 to 9.1.2.
- [Release notes](https://github.com/ritz078/rollup-plugin-filesize/releases)
- [Commits](https://github.com/ritz078/rollup-plugin-filesize/commits)

---
updated-dependencies:
- dependency-name: rollup-plugin-filesize
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 06:03:22 +00:00
dependabot[bot]andGitHub 98e5a320a8 Bump ldapjs from 2.3.1 to 2.3.2 in /settings
Bumps [ldapjs](https://github.com/ldapjs/node-ldapjs) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/ldapjs/node-ldapjs/releases)
- [Changelog](https://github.com/ldapjs/node-ldapjs/blob/master/CHANGES.md)
- [Commits](https://github.com/ldapjs/node-ldapjs/compare/v2.3.1...v2.3.2)

---
updated-dependencies:
- dependency-name: ldapjs
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 06:03:14 +00:00
David Christofas d6182a4ea1 generate animated thumbnails for animated gifs 2022-03-04 19:13:48 +01:00
David Christofas 0849563810 Automated changelog update [skip ci] 2022-03-04 14:06:10 +00:00
David ChristofasandGitHub 78962ec498 Merge pull request #3267 from owncloud/spaces-etags
include spaces etags in drives listing
2022-03-04 15:05:10 +01:00
David Christofas 66f4198e12 include spaces etags in drives listing 2022-03-04 14:23:37 +01:00
Willy Kloucek 26852f1850 make nats killable 2022-03-04 13:46:02 +01:00
Willy Kloucek 3a60056bb3 transfer logic into nats server package 2022-03-04 13:46:02 +01:00
Willy Kloucek 4306c22860 check running nats server for errors 2022-03-04 13:46:01 +01:00
Patrick MaierandGitHub 13600c2225 Merge pull request #3265 from owncloud/1.18_release_notes
[docs-only] oCIS 1.18 Release Notes
2022-03-04 13:44:55 +01:00
Patrick MaierandGitHub 914e979d28 Update release_notes.md 2022-03-04 12:59:43 +01:00
6c973fe10a Update docs/ocis/release_notes.md
Co-authored-by: Pascal Wengerter <pwengerter@owncloud.com>
2022-03-04 12:49:12 +01:00
Patrick MaierandGitHub 396adf2306 oCIS 1.18 Release Notes 2022-03-04 12:13:51 +01:00
Michael Barz 3dd3b2f598 bump version, prepare changelog 2022-03-03 20:28:15 +01:00
Michael Barz e521478f2a Automated changelog update [skip ci] 2022-03-03 18:56:44 +00:00
Michael BarzandGitHub b15db1794a update reva to version 2.0.0 (#3258) 2022-03-03 19:56:04 +01:00
Florian Schade 9bb046fc22 Automated changelog update [skip ci] 2022-03-03 18:40:22 +00:00
Florian SchadeandGitHub 19980d9274 [full-ci] Update web 5.2.0 (#3262)
* bump web 5.2.0

* update accounts yarn lock
2022-03-03 19:39:55 +01:00
Phil DavisandGitHub d04f54e92f Merge pull request #3253 from owncloud/bump-core-commitid-on-ocis
[tests-only] [full-ci] Bump core commit id on ocis to include this PR `39834`
2022-03-03 21:13:55 +05:45
Willy KloucekandGitHub 751eaab9a1 Merge pull request #3255 from owncloud/dependabot/go_modules/github.com/grpc-ecosystem/grpc-gateway/v2-2.8.0
Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.7.3 to 2.8.0
2022-03-03 13:41:46 +01:00
Prarup Gurung fda87a90bf Updated expected failures line numbers after the changes in core tests 2022-03-03 15:04:35 +05:45
Prarup Gurung f1b16c4dd5 Bump core commit id on ocis 2022-03-03 14:29:54 +05:45
Florian SchadeandGitHub 2a3276925a [full-ci] bring back web master for drone env (#3256)
* bring back web master for drone env
2022-03-03 09:30:44 +01:00
dependabot[bot]andGitHub f33780e685 Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.7.3 to 2.8.0
Bumps [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway) from 2.7.3 to 2.8.0.
- [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases)
- [Changelog](https://github.com/grpc-ecosystem/grpc-gateway/blob/master/.goreleaser.yml)
- [Commits](https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.7.3...v2.8.0)

---
updated-dependencies:
- dependency-name: github.com/grpc-ecosystem/grpc-gateway/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-03 06:15:43 +00:00
55593b7e9f [full-ci] Bump web v5.2.0-rc.x (#3249)
* bump web rc.1

* Use web v5.2.0-rc.2

Co-authored-by: Pascal Wengerter <pascal@wengerter.info>
2022-03-02 17:52:02 +01:00
Willy KloucekandGitHub 410aee5234 Merge pull request #3251 from rhafer/graph-userrole
graph: Assign new user the default user role
2022-03-02 17:25:31 +01:00
Christian RichterandGitHub dc9e8a22c8 Merge pull request #3252 from owncloud/docs_fix_adr_weight
Add missing weight to header to fix menu sorting
2022-03-02 16:55:44 +01:00
Ralf Haferkamp 06ca18b1fb graph: Assign new user the default user role
Similar to what the accounts service is doing, all new users get
the User role assigned now. Otherwise creating the user's personal space
upon login is not working.
2022-03-02 16:45:25 +01:00
Ralf Haferkamp fe2501b083 graph: Add some validation for username and email
This copies the validation code from the accounts service, also fixing a
bug in the regex that allowed adding mail addresses with whitespace and
other problematic characters to the domain part of the mail address.

Partial fix for: #3247
2022-03-02 16:45:25 +01:00
Christian Richter 8ee5ab226e Add missing weight to header to fix menu sorting 2022-03-02 16:34:20 +01:00
Willy KloucekandGitHub 44db94cbe7 Merge pull request #3078 from owncloud/config-docs
generate environment variable config documentation
2022-03-02 16:15:37 +01:00
Willy Kloucek d5aed899e7 use docs/docs-generate also in CI 2022-03-02 15:31:58 +01:00
Willy Kloucek f266f91bc4 revert ocisConfig changes part 3 2022-03-02 15:21:47 +01:00
Willy Kloucek aeeff60011 remove config file related code 2022-03-02 15:18:43 +01:00
Willy Kloucek 1db1c7b678 remove generated configvars files from repo 2022-03-02 15:16:44 +01:00
Christian Richter 4f18908016 Add output to configenvextractor 2022-03-02 15:14:47 +01:00
Willy Kloucek 63818e0fa4 revert ocisConfig changes part 2 2022-03-02 15:12:34 +01:00