* feat(auth): add OAuth2 login with GitHub and Google
* chore(translations): add files for Japanese
* fix(auth): fix link function for GitHub
* feat(oauth): basic oidc implementation
* feat(oauth): oauth guard
* fix: disable image optimizations for logo to prevent caching issues with custom logos
* fix: memory leak while downloading large files
* chore(translations): update translations via Crowdin (#278)
* New translations en-us.ts (Japanese)
* New translations en-us.ts (Japanese)
* New translations en-us.ts (Japanese)
* release: 0.18.2
* doc(translations): Add Japanese README (#279)
* Added Japanese README.
* Added JAPANESE README link to README.md.
* Updated Japanese README.
* Updated Environment Variable Table.
* updated zh-cn README.
* feat(oauth): unlink account
* refactor(oauth): make providers extensible
* fix(oauth): fix discoveryUri error when toggle google-enabled
* feat(oauth): add microsoft and discord as oauth provider
* docs(oauth): update README.md
* docs(oauth): update oauth2-guide.md
* set password to null for new oauth users
* New translations en-us.ts (Japanese) (#281)
* chore(translations): add Polish files
* fix(oauth): fix random username and password
* feat(oauth): add totp
* fix(oauth): fix totp throttle
* fix(oauth): fix qrcode and remove comment
* feat(oauth): add error page
* fix(oauth): i18n of error page
* feat(auth): add OAuth2 login
* fix(auth): fix link function for GitHub
* feat(oauth): basic oidc implementation
* feat(oauth): oauth guard
* feat(oauth): unlink account
* refactor(oauth): make providers extensible
* fix(oauth): fix discoveryUri error when toggle google-enabled
* feat(oauth): add microsoft and discord as oauth provider
* docs(oauth): update README.md
* docs(oauth): update oauth2-guide.md
* set password to null for new oauth users
* fix(oauth): fix random username and password
* feat(oauth): add totp
* fix(oauth): fix totp throttle
* fix(oauth): fix qrcode and remove comment
* feat(oauth): add error page
* fix(oauth): i18n of error page
* refactor: return null instead of `false` in `getIdOfCurrentUser` functiom
* feat: show original oauth error if available
* refactor: run formatter
* refactor(oauth): error message i18n
* refactor(oauth): make OAuth token available
someone may use it (to revoke token or get other info etc.)
also improved the i18n message
* chore(oauth): remove unused import
* chore: add database migration
* fix: missing python installation for nanoid
---------
Co-authored-by: Elias Schneider <login@eliasschneider.com>
Co-authored-by: ふうせん <10260662+fusengum@users.noreply.github.com>
* fix: set link default value to random
* fix: add auto EOL and add conventional-changelog package
* feat: Adding reverse shares' shares a clickable link (#178)
* Add clickable link to reverse share's shares
* Ran format
* Apply suggestions from code review
* fix: set link default value to random (#181)
* fix: set link default value to random
* fix: add auto EOL and add conventional-changelog package
* Apply suggestions from code review
---------
Co-authored-by: Elias Schneider <login@eliasschneider.com>
* feat: Adding reverse share ability to copy the link (#179)
---------
Co-authored-by: Elias Schneider <login@eliasschneider.com>
* Adding an information button to the shares and corrected MyShare interface
* Adding other informations and disk usage
* Adding description, disk usage
* Add case if the expiration is never
* Adding file size and better UI
* UI changes to Information Modal
* Adding description to the My Shares page
* Ran format
* Remove string type
Co-authored-by: Elias Schneider <login@eliasschneider.com>
* Remove string type check
Co-authored-by: Elias Schneider <login@eliasschneider.com>
* Remove string type conversion
Co-authored-by: Elias Schneider <login@eliasschneider.com>
* Variable name changes
Co-authored-by: Elias Schneider <login@eliasschneider.com>
* Remove color
Co-authored-by: Elias Schneider <login@eliasschneider.com>
* Requested changes made
* Ran format
* Adding MediaQuery
---------
Co-authored-by: Elias Schneider <login@eliasschneider.com>
* More email share vars + unfinished placeolders config
{desc} {expires} vars
(unfinished) config placeholder vals
* done
* migrate
* edit seed
* removed comments
* refactor: replace dependecy `luxon` with `moment`
* update shareRecipientsMessage message
* chore: remove `luxon`
* fix: grammatically incorrect `shareRecipientsMessage` message
* changed to defaultValue and value instead
* fix: don't expose defaultValue to non admin user
* fix: update default value if default value changes
* refactor: set config value to null instead of a empty string
* refactor: merge two migrations into one
* fix value check empty
---------
Co-authored-by: Elias Schneider <login@eliasschneider.com>
* Working on some initial prototype stuff for TOTP
* Fixed a bug that prevented the change password menu from working
* Enable/disable totp working
* Added the new login procedure including TOTP! :)
* misc: Changed bad description for the TOTP_SECRET env var
* I forgot to include the migration for the new prisma stuff
* fix: refresh user context instead refreshing the page
* refactor: simplify totp error handling
* Removed U2F tab + format schema
* fix: tokens not saved in cookies
* refactor: deleted commented out code
* refactor: move password text to input description
* refactor: remove tabler icon package
Co-authored-by: Elias Schneider <login@eliasschneider.com>
Co-authored-by: Elias Schneider <58886915+stonith404@users.noreply.github.com>