* add s3
* instance the s3 client dynamically
* refactor code
* fix format
* add docs
* add docs
* fix issue with s3 upload if you use the base path,
fix issue with archiving -> disable archiving for s3
* split file service in local and s3 file service and fix s3 upload chunking
* add working download/view
* add new features to local service (from main branch)
* revert s3 service and add working delete/remove functionality
* refactor s3 service
* Update backend/src/file/s3.service.ts
Co-authored-by: Elias Schneider <login@eliasschneider.com>
* Update frontend/src/components/admin/configuration/ConfigurationNavBar.tsx
Co-authored-by: Elias Schneider <login@eliasschneider.com>
* Update docs/docs/setup/s3.md
Co-authored-by: Elias Schneider <login@eliasschneider.com>
* Update backend/prisma/seed/config.seed.ts
Co-authored-by: Elias Schneider <login@eliasschneider.com>
* add note for ZIP archive in docs
* create logger instance
* make s3 instance dynamic
* add icon import
* remove console.logs
* add correct pdf viewing format
* add storage provider to share
* refactor: run formatter
* chore: add prisma migration
* fix: don't expose `storageProvider`
* chore: improve config variables description
---------
Co-authored-by: Elias Schneider <login@eliasschneider.com>
* feat(logging): add PV_LOG_LEVEL environment variable to set backend log level
* feat(ldap): Adding a more verbose logging output to debug LDAP issues
* fix(ldap): fixed user logins with special characters within the users dn by switching to ldapts
* feat(ldap): made the member of and email attribute names configurable
* fix(ldap): properly handle email like usernames and fixing #601
* Revert "fix: disable email login if ldap is enabled"
This reverts commit d9cfe697d6.
* feat(ldap): disable the ability for a user to change his email when it's a LDAP user
* feat(ldap): relaxed username pattern by allowing the @ character in usernames
* feat(reverse-share): optional simplified interface for reverse sharing. issue #155.
* chore: Remove useless form validation.
* feat: Share Ready modal adds a prompt that an email has been sent to the reverse share creator.
* fix: Simplified reverse shared interface elements lack spacing when not logged in.
* fix: Share Ready modal prompt contrast is too low in dark mode.
* feat: add public access options to reverse share.
* feat: remember reverse share simplified and publicAccess options in cookies.
* style: npm run format.
* chore(i18n): Improve translation.
Co-authored-by: Elias Schneider <login@eliasschneider.com>
Update frontend/src/i18n/translations/en-US.ts
Co-authored-by: Elias Schneider <login@eliasschneider.com>
Update frontend/src/i18n/translations/en-US.ts
Co-authored-by: Elias Schneider <login@eliasschneider.com>
chore(i18n): Improve translation.
* chore: Improved variable naming.
* chore(i18n): Improve translation. x2.
* fix(backend/shares): Misjudged the permission of the share of the reverse share.
* 🚀 Feature: Allow to hide username / password login form when OAuth is enabled
* Hide “Sign in” password form
* Disable routes related to password authentication
* Change styling of OAuth provider buttons
* Open OAuth page in same tab
* Fix consistent usage of informal language in de-DE locale
Fixes#489
Signed-off-by: Marvin A. Ruder <signed@mruder.dev>
* fix: order of new config variables
---------
Signed-off-by: Marvin A. Ruder <signed@mruder.dev>
Co-authored-by: Elias Schneider <login@eliasschneider.com>
* feat(backend): Make session duration configurable
Fixes#507
Signed-off-by: Marvin A. Ruder <signed@mruder.dev>
* Apply suggestions from code review
Co-authored-by: Elias Schneider <login@eliasschneider.com>
* Move new config option to “General” category
Signed-off-by: Marvin A. Ruder <signed@mruder.dev>
---------
Signed-off-by: Marvin A. Ruder <signed@mruder.dev>
Co-authored-by: Elias Schneider <login@eliasschneider.com>
* 🐛 Bug Report: Provider username is ignored when signing up using OAuth
Fixes#505
Signed-off-by: Marvin A. Ruder <signed@mruder.dev>
* Implement fallback logic for username conflicts
* Reprioritize claims for OIDC provider username
Signed-off-by: Marvin A. Ruder <signed@mruder.dev>
---------
Signed-off-by: Marvin A. Ruder <signed@mruder.dev>