1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-11-15 20:00:33 +01:00
Commit Graph

262 Commits

Author SHA1 Message Date
Elias Schneider
be202d3d41
release: 1.0.4 2024-09-06 09:03:11 +02:00
Elias Schneider
92e1e82e09
fix: oauth2 login can fail in some cases because the user can't be found 2024-09-06 09:02:30 +02:00
Elias Schneider
0670aaa331
release: 1.0.3 2024-09-03 22:56:19 +02:00
Elias Schneider
dee70987eb
fix: improve oidc error logging 2024-09-03 22:55:44 +02:00
Elias Schneider
3d2b978daf
refactor: run formatter 2024-09-03 22:54:53 +02:00
Elias Schneider
96cd353669
release: 1.0.2 2024-08-28 11:11:10 +02:00
Elias Schneider
6a4c3bf58f
release: 1.0.1 2024-08-25 22:15:51 +02:00
Timothy
8c5c696c51
feat(email): add {email} placeholder to user invitation email (#564)
* feat(email): add {email} placeholder to user invitation email

* change default values and setting description

---------

Co-authored-by: Elias Schneider <login@eliasschneider.com>
2024-08-25 21:58:40 +02:00
Elias Schneider
b96878b6b1
release: 1.0.0 2024-08-25 16:02:46 +02:00
Elias Schneider
9c381a2ed6
fix: internal server error if user has no password when trying to sign in 2024-08-25 16:00:49 +02:00
WolverinDEV
4186a768b3
feat(ldap): Adding support for LDAP authentication (#554) 2024-08-24 16:15:33 +02:00
Elias Schneider
0a963bfaf1
release: 0.29.0 2024-07-30 08:43:30 +02:00
Elias Schneider
93aacca9b4
refactor: run formatter 2024-07-30 08:39:22 +02:00
Ivan Li
fe735f9704
feat: add more options to reverse shares (#495)
* 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.
2024-07-30 08:26:56 +02:00
Elias Schneider
14c2185e6f
Revert "fix: set max age of access token cookie to 15 minutes"
This reverts commit 2dac38560b.
2024-07-27 17:15:20 +02:00
Elias Schneider
27ee9fb6cb
feat: sort share files by name by default 2024-07-25 19:32:00 +02:00
Elias Schneider
601772d2f4
release: 0.28.0 2024-07-22 13:36:54 +02:00
Marvin A. Ruder
70fd2d94be
feat(auth): Add role-based access management from OpenID Connect (#535)
* feat(auth): Add role-based access management from OpenID Connect

Signed-off-by: Marvin A. Ruder <signed@mruder.dev>

* Apply suggestions from code review

Signed-off-by: Marvin A. Ruder <signed@mruder.dev>

---------

Signed-off-by: Marvin A. Ruder <signed@mruder.dev>
2024-07-17 23:25:42 +02:00
Elias Schneider
e5a0c649e3
fix: store only 10 share tokens in the cookies and clear the expired ones 2024-07-16 19:17:53 +02:00
Elias Schneider
968352cb6c
release: 0.27.0 2024-07-11 21:57:37 +02:00
thecrafterjt
083d82c28b
feat(smtp): allow unauthorized mail server certificates (#525)
* Update config.seed.ts

Added Config Option "allowUnauthenticatedCertificates".

* Update email.service.ts

Now using new Config Option "allowUnauthenticatedCertificates".

* Update en-US.ts

* Update ar-EG.ts

* Update da-DK.ts

* Update el-GR.ts

* Update es-ES.ts

* Update fi-FI.ts

* Update fr-FR.ts

* Update hu-HU.ts

* Update it-IT.ts

* Update ja-JP.ts

* Update ko-KR.ts

* Update nl-BE.ts

* Update pl-PL.ts

* Update pt-BR.ts

* Update ru-RU.ts

* Update sl-SI.ts

* Update sr-SP.ts

* Update sv-SE.ts

* Update th-TH.ts

* Update tr-TR.ts

* Update uk-UA.ts

* Update zh-CN.ts

* Update zh-TW.ts

* Update config.seed.ts

* Update email.service.ts

* Update de-DE.ts

* Add files via upload

rename allow-unauthenticated-certificates to allow-unauthorized-certificates

* Add files via upload

rename allowUnauthenticatedCertificates to allowUnauthorizedCertificates

* Add files via upload

rename allowUnauthenticatedCertificates to allowUnauthorizedCertificates

* rename "unauthenticated" to "unauthorized"

* refactor: run formatter

---------

Co-authored-by: Elias Schneider <login@eliasschneider.com>
2024-07-11 21:50:09 +02:00
Elias Schneider
046c630abf
Merge branches 'main' and 'main' of https://github.com/stonith404/pingvin-share 2024-07-10 18:39:53 +02:00
Elias Schneider
d2bfb9a55f
feat: add logs for successful registration, successful login and failed login 2024-07-10 18:39:47 +02:00
Marvin A. Ruder
e1a68f75f7
feat(auth): Allow to hide username / password login form when OAuth is enabled (#518)
* 🚀 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>
2024-07-07 23:08:14 +02:00
Elias Schneider
9d9cc7b4ab
release: 0.26.0 2024-07-03 08:21:14 +02:00
Marvin A. Ruder
367f804a49
feat(backend): Make session duration configurable (#512)
* feat(backend): Make session duration configurable
Fixes #507

Signed-off-by: Marvin A. Ruder <signed@mruder.dev>

* Apply suggestions from code review

Co-authored-by: Elias Schneider <login@eliasschneider.com>

* Move new config option to “General” category

Signed-off-by: Marvin A. Ruder <signed@mruder.dev>

---------

Signed-off-by: Marvin A. Ruder <signed@mruder.dev>
Co-authored-by: Elias Schneider <login@eliasschneider.com>
2024-07-02 13:35:12 +02:00
Elias Schneider
9193a79b9a
chore: upgrade dependencies 2024-07-01 11:08:23 +02:00
Marvin A. Ruder
31366d961f
fix(oauth): provider username is ignored when signing up using OAuth (#511)
* 🐛 Bug Report: Provider username is ignored when signing up using OAuth
Fixes #505

Signed-off-by: Marvin A. Ruder <signed@mruder.dev>

* Implement fallback logic for username conflicts

* Reprioritize claims for OIDC provider username

Signed-off-by: Marvin A. Ruder <signed@mruder.dev>

---------

Signed-off-by: Marvin A. Ruder <signed@mruder.dev>
2024-07-01 10:34:31 +02:00
Elias Schneider
2dac38560b
fix: set max age of access token cookie to 15 minutes 2024-06-30 20:10:16 +02:00
Elias Schneider
46783ce463
release: 0.25.0 2024-06-10 11:43:12 +02:00
Elias Schneider
c0cc16fa43
fix: share size not displayed on my shares page 2024-06-10 11:41:41 +02:00
Ivan Li
4fd29037a0
Feature: add auto open share modal config for global. (#474)
* 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>
2024-06-10 11:32:52 +02:00
Elias Schneider
84f4c39c1e
release: 0.24.2 2024-05-22 15:21:07 +02:00
Elias Schneider
3b89fb950a
chore: update dependencies 2024-05-22 15:20:33 +02:00
Elias Schneider
7afda85f03
fix: admin couldn't delete shares created by anonymous users 2024-05-17 15:13:56 +02:00
Elias Schneider
d147614f76
release: 0.24.1 2024-05-04 14:45:19 +03:00
Elias Schneider
908d6e298f
release: 0.24.0 2024-05-04 10:11:19 +03:00
SFGrenade
3b1c9f1efb
feat: add admin-exclusive share-management page (#461)
* testing with all_shares

* share table

* share table

* change icon on admin page

* add share size to list

---------

Co-authored-by: Elias Schneider <login@eliasschneider.com>
2024-05-04 00:18:27 +03:00
Elias Schneider
b717663b5c
feat: add name property to share (#462)
* add name property to share

* refactor: run formatter

* tests: adapt system tests

* tests: adapt second system test
2024-05-03 17:12:26 +02:00
Elias Schneider
c303454db3
release: 0.23.1 2024-04-05 13:54:55 +02:00
Elias Schneider
9d1a12b0d1
fix: disable js execution on raw file view 2024-04-05 11:37:47 +02:00
Elias Schneider
24e100bd7b
fix: changing the chunk size needed an app restart 2024-04-05 11:31:43 +02:00
Elias Schneider
1da4feeb89
fix(backend): crash on unhandled promise rejections 2024-04-04 23:18:00 +02:00
Elias Schneider
c0a245e11b
release: 0.23.0 2024-04-04 22:54:39 +02:00
Elias Schneider
7a15fbb465
fix: memory leak while uploading files by disabling base64 encoding of chunks 2024-04-04 20:55:45 +02:00
Elias Schneider
0bfbaea49a
feat: add config variable to adjust chunk size 2024-04-04 20:54:21 +02:00
Elias Schneider
e71f6cd159
fix: delete share files if user gets deleted 2024-03-28 11:59:50 +01:00
Elias Schneider
c6d8188e4e
fix: error in logs if "allow unauthenticated shares" is enabled 2024-03-25 19:12:27 +01:00
Elias Schneider
b8efb9f54b
release: 0.22.2 2024-02-29 14:43:08 +01:00
Elias Schneider
013b9886af
fix: extend access token cookie expiration 2024-02-29 14:42:05 +01:00