1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-07-04 16:30:13 +02:00
Commit Graph

52 Commits

Author SHA1 Message Date
Qing Fu
02cd98fa9c
feat(auth): add OAuth2 login (#276)
* 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>
2023-10-22 16:09:53 +02:00
Elias Schneider
b088a5ef2a
release: 0.18.2 2023-10-09 11:20:06 +02:00
Elias Schneider
92927b1373
release: 0.18.1 2023-09-22 11:31:03 +02:00
Elias Schneider
c9f1be2faf
release: 0.18.0 2023-09-21 16:24:07 +02:00
Elias Schneider
307d176430
release: 0.17.5 2023-09-03 22:14:34 +02:00
Elias Schneider
7304b54125
release: 0.17.4 2023-08-01 12:37:47 +02:00
Elias Schneider
62deb6c152
release: 0.17.3 2023-07-31 16:38:58 +02:00
Elias Schneider
72a52eb33f
release: 0.17.2 2023-07-31 15:37:12 +02:00
Elias Schneider
2ed5ecc1ea
release: 0.17.1 2023-07-30 22:34:33 +02:00
Elias Schneider
9bb05158c5
chore: update deps 2023-07-30 22:34:10 +02:00
Elias Schneider
2618bbb897
release: 0.17.0 2023-07-23 13:42:54 +02:00
Elias Schneider
7c5ec8d0ea
release: 0.16.1 2023-07-10 14:13:58 +02:00
Elias Schneider
adf0f8d57e
release: 0.16.0 2023-07-09 17:15:26 +02:00
Elias Schneider
932496a121
release: 0.15.0 2023-05-09 09:18:31 +02:00
Elias Schneider
b33c1d7f4b
release: 0.14.1 2023-04-07 23:13:54 +02:00
Elias Schneider
f2e4019190
release: 0.14.0 2023-04-01 20:19:27 +02:00
Elias Schneider
ca73ccf629
release: 0.13.1 2023-03-14 20:26:04 +01:00
Elias Schneider
2158df4228
release: 0.13.0 2023-03-14 16:09:20 +01:00
Elias Schneider
cb1a0d4090
release: 0.12.1 2023-03-11 12:40:27 +01:00
Elias Schneider
0c2a62b0ca
release: 0.12.0 2023-03-10 09:40:19 +01:00
Elias Schneider
452c635933
chore: dump packages 2023-03-10 09:40:09 +01:00
Elias Schneider
8403d7e14d
feat: ability to change logo in frontend 2023-03-08 14:47:41 +01:00
Elias Schneider
155c743197
release: 0.11.1 2023-03-05 10:50:32 +01:00
Elias Schneider
22d81b2220
release: 0.11.0 2023-03-04 23:41:11 +01:00
Elias Schneider
edb511252f
release: 0.10.2 2023-02-13 09:39:43 +01:00
Elias Schneider
6419da07fb
release: 0.10.1 2023-02-12 20:00:55 +01:00
Elias Schneider
4c6ef52a17
release: 0.10.0 2023-02-10 11:47:29 +01:00
Elias Schneider
8ab359b71d
docs(backend): add swagger documentation 2023-02-07 11:23:43 +01:00
Elias Schneider
3d5c919110
release: 0.9.0 2023-01-31 15:25:01 +01:00
Elias Schneider
b98fe7911f
release: 0.8.0 2023-01-26 16:10:16 +01:00
Elias Schneider
4a5fb549c6
feat: reverse shares (#86)
* add first concept

* add reverse share funcionality to frontend

* allow creator to limit share expiration

* moved reverse share in seperate module

* add table to manage reverse shares

* delete complete share if reverse share was deleted

* optimize function names

* add db migration

* enable reverse share email notifications

* fix config variable descriptions

* fix migration for new installations
2023-01-26 13:44:04 +01:00
Elias Schneider
e09213a295 release: 0.7.0 2023-01-13 10:59:52 +01:00
Elias Schneider
fc116d65c0 chore: dump packages 2023-01-13 10:31:22 +01:00
Elias Schneider
76088cc76a feat: add ClamAV to scan for malicious files 2023-01-13 10:16:35 +01:00
Elias Schneider
fccc4cbc02 release: 0.6.1 2023-01-11 13:08:09 +01:00
Elias Schneider
dc9ec429c6 release: 0.6.0 2023-01-09 12:14:41 +01:00
Elias Schneider
653d72bcb9
feat: chunk uploads (#76)
* add first concept

* finished first concept

* allow 3 uploads at same time

* retry if chunk failed

* updated clean temporary files job

* fix throttling for chunk uploads

* update tests

* remove multer

* migrate from `MAX_FILE_SIZE` to `MAX_SHARE_SIZE`

* improve error handling if file failed to upload

* fix promise limit

* improve file progress
2023-01-09 11:43:48 +01:00
Elias Schneider
54f591cd60 release: 0.5.1 2023-01-04 16:02:54 +01:00
Elias Schneider
faea1abcc4 feat: use cookies for authentication 2023-01-04 11:54:28 +01:00
Elias Schneider
71658ad39d feat: show version and show button if new release is available on admin page 2022-12-30 19:23:17 +01:00
Steve
16480f6e95
feat: TOTP (two-factor) Authentication (#55)
* 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>
2022-12-21 17:58:37 +01:00
Elias Schneider
a2d5e0f72c test: fix system tests not await backend start 2022-12-07 13:44:02 +01:00
Elias Schneider
b5c7b04fcb chore: upgrade dependencies 2022-12-05 17:27:19 +01:00
Elias Schneider
31b3f6cb2f feat: add user operations to backend 2022-12-05 10:02:19 +01:00
Elias Schneider
e958a83b87 fix: docker build 2022-12-02 15:10:49 +01:00
Elias Schneider
32ad43ae27 feat: add email recepients functionality 2022-11-11 15:12:16 +01:00
Elias Schneider
712cfe625a feat: add rate limiting 2022-10-24 12:11:10 +02:00
Elias Schneider
41c3bafbd7 chore: upgrade packages to fix vulnerabilities 2022-10-18 09:43:13 +02:00
Elias Schneider
9c3ab1cd25 chore: add eslint 2022-10-13 23:57:37 +02:00
Elias Schneider
7c0759cb07 test: add system tests 2022-10-13 23:25:04 +02:00