* fix: Fix spelling mistake
Change "in a hour" to "in an hour" in
config.example.yaml and config.seed.ts
* fix: Add clarity in email template
Change shareRecipientsMessage
template by splitting the call to
action part of sentence to make
the language more clear.
* 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>
* 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
* Provide security information about owned shares
* Add visitor count display for shares with max views
* Add password protection indicator to shares table
* Remove validation from MyShareSecurityDTO
* center lock icon and add spacing
* refactor: run formatter
---------
Co-authored-by: Elias Schneider <login@eliasschneider.com>
* 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>