* feat(backend/cache): allow to use redis cache instead as memory
* feat(frontend/admin): add cache section
Add a new section for cache attributes. Also add US translation.
---------
Co-authored-by: Jules Lefebvre <jules.lefebvre@diabolocom.com>
* add config file possibility
* revert port in docker compose
* Update docker-compose.yml
Co-authored-by: Elias Schneider <login@eliasschneider.com>
* Update docker-compose.yml
Co-authored-by: Elias Schneider <login@eliasschneider.com>
* add attribute description to config file
* remove email message config
* add package to resolve errors
* remove email messages from config
* move config initialization to config module
* revert unnecessary change
* add order
* improve alert
* run formatter
* remove unnecessary packages
* remove unnecessary types
* use logger
* don't save yaml config to db
* allowEdit if no yaml config is set
* improve docs
* fix allow edit state
* remove unnecessary check and refactor code
* restore old config file
* add script that generates `config.example.yaml` automatically
* allow config variables to be changed if they are not set in the `config.yml`
* add back init user
* Revert "allow config variables to be changed if they are not set in the `config.yml`"
This reverts commit 7dbdb6729034be5b083f126f854d5e1411735a54.
* improve info box text
---------
Co-authored-by: Elias Schneider <login@eliasschneider.com>
I encountered so many times now that I send by email, which I use 99% of the time, it didnt got send, because the mail was not accepted when pressing enter.
Also because no confirmation mail is send, i never knew it arrived. Ill work on that code later, but adding enter to that field, will help a lot!
* Define Timestamp type
* Implement Timestamp utils
* Implement Timespan input
* Use timestamp input on config page
* Add timespan type to config services
* Refactor maxExpiration to use timespan type across services and components
* Update sessionDuration to use timespan type in config and adjust token expiration logic
* Update localized strings
* Addconfig entries for legal notice
* Add legal route handling to middleware
* Make legal notice public
* Add legal category to config sidebar
* Add legal notice page
* Add German translations for legal notice and configuration options
* Replace legal page with separate imprint and privacy pages
* Update middleware
* Add footer component
* Update legal text descriptions to indicate Markdown support again
* Refactor footer layout
* Add zIndex to footer component
* improve mobile layout
* run formatter
---------
Co-authored-by: Elias Schneider <login@eliasschneider.com>
* Improve file size input component layout
* Fix filesize input value not getting set
* Allow arbitrary props on filesize input
* Update config variables to support filesize type and integrate FileSizeInput component
* Update i18n entries
* WARNING GUESSES: Update translation descriptions for max size and chunk size in multiple languages
* Fix config service not being aware of filesize type
* Fix backend config service not being aware of filesize type
* Move FileSizeInput component to core
* 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>
- Add share ID length to share > settings
- Use cryptographically secure RNG for IDs
- Use secure default value for IDs length
- Add FR and EN translation
Co-authored-by: Romain Ricard <romain.ricard@mines-ales.org>
* 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>
* Worked on issue #500 Feature Add email recipients more efficiently
* Worked on issue #500 Feature Add email recipients more efficiently both features added
* Removed log
* refactor: run formatter
---------
Co-authored-by: Rahul Mishra <rahul07@Rahuls-Laptop.local>
Co-authored-by: Elias Schneider <login@eliasschneider.com>
* feat(admin): add auto open share modal config for global.
* feat(upload): Apply the flag that disables the automatic open create share modal.
* fix: remove migration and add new config variable to seed script
* chore(translations): improve auto open share modal description
* refactor: run formatter
---------
Co-authored-by: Elias Schneider <login@eliasschneider.com>