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

291 Commits

Author SHA1 Message Date
Elias Schneider
e1a5d19544
fix: prevent deletion of last admin account 2024-11-14 17:39:06 +01:00
Elias Schneider
4ce64206be
feat: add 'secureCookies' configuration variable to explicitly set the secure flag and prevent confusion 2024-11-14 17:31:17 +01:00
Elias Schneider
ab4f19e921
release: 1.2.4 2024-10-24 14:45:05 +02:00
Elias Schneider
428c1d2b99
fix: don't enforce password lenght for sign in form because of LDAP 2024-10-24 14:44:07 +02:00
Elias Schneider
c89ca7e64b
fix: use app name as totp issuer 2024-10-24 13:59:54 +02:00
Elias Schneider
297e8c0ab1
release: 1.2.3 2024-10-23 15:49:09 +02:00
Elias Schneider
446f9dd209
refactor: run formatter 2024-10-23 15:48:55 +02:00
Elias Schneider
acbff6e129
fix: share password can be bypassed if a deleted share with the same id was visited before 2024-10-23 15:48:47 +02:00
Elias Schneider
08079744a0
release: 1.2.2 2024-10-18 16:09:19 +02:00
Elias Schneider
e195565630
release: 1.2.1 2024-10-15 20:58:36 +02:00
Marvin A. Ruder
bfbe8de98a
fix(oauth): add post_logout_redirect_uri to OAuth logout redirect URI (#638)
* Add `post_logout_redirect_uri` to OAuth logout redirect URI

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

* Update OAuth2 configuration documentation

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

---------

Signed-off-by: Marvin A. Ruder <signed@mruder.dev>
2024-10-15 20:49:43 +02:00
Elias Schneider
2e692241c5
fix: disallow passwort reset if it's a ldap user 2024-10-15 20:12:56 +02:00
Elias Schneider
1e96011793
refactor: run formatter 2024-10-15 20:12:09 +02:00
Elias Schneider
522a041ca1
release: 1.2.0 2024-10-14 18:19:02 +02:00
Marvin A. Ruder
2b3ce3ffd2
feat(oauth): Add option to logout from OpenID Connect provider
* Fixes #598

Signed-off-by: Marvin A. Ruder <signed@mruder.dev>
2024-10-14 18:16:47 +02:00
Elias Schneider
4a50a5aa3b
Merge branch 'main' of https://github.com/stonith404/pingvin-share 2024-10-14 17:15:42 +02:00
Elias Schneider
d6b8b56247
fix: use unique port env variable for backend 2024-10-14 17:15:38 +02:00
COMPLEX
5883dff4cf
feat(oauth): add ability to limit user IDs for Discord authentication (#621) 2024-09-30 08:53:58 +02:00
Elias Schneider
511ae933fa
release: 1.1.3 2024-09-27 16:10:48 +02:00
Elias Schneider
8f16d6b53e
refactor: run formatter 2024-09-27 16:03:53 +02:00
WolverinDEV
3310fe53b3
feat: improve the LDAP implementation (#615)
* feat(logging): add PV_LOG_LEVEL environment variable to set backend log level

* feat(ldap): Adding a more verbose logging output to debug LDAP issues

* fix(ldap): fixed user logins with special characters within the users dn by switching to ldapts

* feat(ldap): made the member of and email attribute names configurable

* fix(ldap): properly handle email like usernames and fixing #601

* Revert "fix: disable email login if ldap is enabled"

This reverts commit d9cfe697d6.

* feat(ldap): disable the ability for a user to change his email when it's a LDAP user

* feat(ldap): relaxed username pattern by allowing the @ character in usernames
2024-09-27 16:02:49 +02:00
Elias Schneider
adc4af996d
fix: omit invalid username characters in oidc registration 2024-09-26 21:50:23 +02:00
Elias Schneider
eba7984a0f
release: 1.1.2 2024-09-24 12:21:56 +02:00
Elias Schneider
69752b8b41
fix: enable secure cookies if app url starts with https 2024-09-24 12:21:41 +02:00
Elias Schneider
6b39adfd03
release: 1.1.1 2024-09-18 23:32:52 +02:00
Elias Schneider
d00d52baa9
chore: dump dependencies 2024-09-18 11:04:06 +02:00
Elias Schneider
4c8848a2d9
release: 1.1.0 2024-09-14 18:15:44 +02:00
Elias Schneider
325122b802
refactor: run formatter 2024-09-14 18:13:32 +02:00
Elias Schneider
8b3e28bac8
feat: allow smpt without username and password 2024-09-14 17:24:19 +02:00
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