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
- 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(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.
* 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(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>
* New translations en.ts (German)
* New translations en.ts (French)
* New translations en.ts (French)
* New translations en.ts (German)
* New translations zh-CN.ts (Chinese Simplified) (#202)
* finish Simplified Chinese trans in zh-CN.ts
* fix type error at line:270
---------
Co-authored-by: YunChao <yunchaozk@outlook.com>
* Started adding locale translations :)
* Added some more translations
* Working on translating even more pages
* More translations
* Added test default locale retrieval
* replace `intl.formatMessage` with custom `t` hook
* add more translations
* improve title syntax
* add more translations
* translate admin config page
* translated error messages
* add language selecter
* minor fixes
* improve language handling
* add upcoming languages
* add `crowdin.yml`
* run formatter
---------
Co-authored-by: Steve Tautonico <stautonico@gmail.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>