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
11174656e4 fix: email configuration updated without restart 2023-01-04 15:30:49 +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
Elias Schneider
5bc4f902f6
feat: improve config UI (#69)
* add first concept

* completed configuration ui update

* add button for testing email configuration

* improve mobile layout

* add migration

* run formatter

* delete unnecessary modal

* remove unused comment
2022-12-30 14:40:23 +01:00
Elias Schneider
e5b50f855c fix: refresh token gets deleted on session end 2022-12-26 12:57:54 +01:00
Elias Schneider
b73144295b refactor: extract totp operations in seperate service 2022-12-26 12:43:36 +01:00
Elias Schneider
cabaee588b feat: custom mail subject 2022-12-23 10:57:09 +01:00
Elias Schneider
af71317ec4 Merge remote-tracking branch 'origin/main' into main 2022-12-21 18:01:06 +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
1a034a1966 refector: remove unnecessary content type header 2022-12-15 21:50:22 +01:00
Elias Schneider
0616a68bd2 feat: custom email message 2022-12-15 21:44:04 +01:00
Elias Schneider
c1d87a1c29 test: improve tests for new feature 2022-12-13 18:44:17 +01:00
Elias Schneider
4c7e161217 chore: create prisma migration 2022-12-13 18:39:13 +01:00
Elias Schneider
9b0c08d0cd fix: remove dot in email link 2022-12-13 09:06:18 +01:00
Elias Schneider
8728fa5207 feat: add description field to share 2022-12-12 11:54:13 +01:00
Elias Schneider
5b01108777 fix: zip doesn't contain file extension 2022-12-11 12:22:01 +01:00
Elias Schneider
3d1d4d0fc7 fix: only create zip if more than one file is in the share 2022-12-11 12:19:42 +01:00
Elias Schneider
d010a8a2d3 feat: upload 3 files at same time 2022-12-10 23:16:10 +01:00
Elias Schneider
0c10dc674f
Merge pull request #37 from Neyxo/improvement-30-docker-image
Improved docker image (size & speed)
2022-12-10 18:33:45 +01:00
Elias Schneider
05cbb7b27e fix: jobs never get executed 2022-12-10 17:16:49 +01:00
Jean-Michel Carrel
8e38c5fed7 Improved docker image (size & speed) 2022-12-10 15:34:01 +01:00
Elias Schneider
b8172efd59 fix: allow empty strings in config variable 2022-12-08 23:21:16 +01:00
Elias Schneider
cbe37c6798 fix: obscured text length 2022-12-08 23:12:25 +01:00
Elias Schneider
08a2f60f72 chore: add migration for v0.3.3 2022-12-08 21:58:58 +01:00
Elias Schneider
907e56af0f fix: space character in email 2022-12-08 20:04:56 +01:00
Elias Schneider
888a0c5faf feat: add support for different email and user 2022-12-08 20:00:04 +01:00
Elias Schneider
bfb0d151ea fix: obscure critical config variables 2022-12-08 19:14:06 +01:00
Elias Schneider
a2d5e0f72c test: fix system tests not await backend start 2022-12-07 13:44:02 +01:00
Elias Schneider
57cb683c64 fix: make share password optional 2022-12-05 23:58:18 +01:00
Elias Schneider
e2527de976 refactor: remove type email 2022-12-05 18:09:18 +01:00
Elias Schneider
b5c7b04fcb chore: upgrade dependencies 2022-12-05 17:27:19 +01:00
Elias Schneider
38f493ac5a refactor: run formatter 2022-12-05 16:54:15 +01:00
Elias Schneider
0499548dd3 refactor: convert config variables to upper case 2022-12-05 16:53:52 +01:00
Elias Schneider
d4a0f1a4f1 fix: unable to update user privileges 2022-12-05 16:17:41 +01:00
Elias Schneider
c795b988df fix: share password validation 2022-12-05 16:04:10 +01:00
Elias Schneider
7a3967fd6f feat: add user management 2022-12-05 15:53:24 +01:00
Elias Schneider
31b3f6cb2f feat: add user operations to backend 2022-12-05 10:02:19 +01:00
Elias Schneider
e9526fc039 fix: database migration by adding a username 2022-12-02 23:00:24 +01:00
Elias Schneider
176196bc35 refactor: remove providers and controllers from app module 2022-12-02 20:17:28 +01:00
Elias Schneider
e958a83b87 fix: docker build 2022-12-02 15:10:49 +01:00
Elias Schneider
1dbfe0bbc9 fix: convert async function to sync function 2022-12-02 14:43:52 +01:00
Elias Schneider
b649d8bf8e feat: add job that deleted temporary files 2022-12-01 23:21:12 +01:00
Elias Schneider
b579b8f330 feat: add setup wizard 2022-12-01 23:07:49 +01:00
Elias Schneider
493705e4ef feat: add add new config strategy to frontend 2022-11-28 17:50:36 +01:00
Elias Schneider
1b5e53ff7e feat: add new config strategy to backend 2022-11-28 15:04:32 +01:00
Elias Schneider
13f98cc32c feat: add administrator guard 2022-11-14 17:03:45 +01:00
Elias Schneider
29b4a825d1 test: add email recepients to request body 2022-11-13 23:38:04 +01:00
Elias Schneider
1abc0f7ef3 chore: migrate database for release 2022-11-13 23:24:59 +01:00
Elias Schneider
2c3760e064 chore: add smtp environment variables to docker compose 2022-11-13 23:08:51 +01:00
Elias Schneider
32eaee4236 fix: email sending when not signed in 2022-11-13 23:08:25 +01:00
Elias Schneider
34db3ae2a9 fix: hide and disallow email recipients if disabled 2022-11-11 19:03:08 +01:00
Elias Schneider
32ad43ae27 feat: add email recepients functionality 2022-11-11 15:12:16 +01:00
Elias Schneider
0efd2d8bf9 fix: add public userDTO to prevent confusion 2022-11-10 13:50:52 +01:00
Elias Schneider
e40cc0f48b fix: only log jobs if they actually did something 2022-10-31 10:33:27 +01:00
Elias Schneider
46d667776f chore: add dev deployment script 2022-10-31 10:28:46 +01:00
Elias Schneider
63e0af3484 refactor: run formatter 2022-10-29 23:12:29 +02:00
Elias Schneider
c8021a42b7 fix: visitor count doesn't get incremented 2022-10-29 22:49:30 +02:00
Elias Schneider
d0901d497b ix: jwt guard when unauthenticated shares are allowed 2022-10-29 22:48:00 +02:00
Elias Schneider
ffdecbd32e Revert "fix: jwt guard when unauthenticated shares are allowed"
This reverts commit c2b87aba5c.
2022-10-29 22:47:23 +02:00
Elias Schneider
712cfe625a feat: add rate limiting 2022-10-24 12:11:10 +02:00
Elias Schneider
c2b87aba5c fix: jwt guard when unauthenticated shares are allowed 2022-10-24 09:25:45 +02:00
Elias Schneider
7237928844 chore: create database migration 2022-10-18 14:32:40 +02:00
Elias Schneider
38986c971a refactor: run formatter 2022-10-18 14:30:41 +02:00
Elias Schneider
84d29dff68 feat: allow unauthenticated uploads 2022-10-18 14:27:14 +02:00
Elias Schneider
41c3bafbd7 chore: upgrade packages to fix vulnerabilities 2022-10-18 09:43:13 +02:00
Elias Schneider
9d973c91bc refactor: move jobs folder into src root 2022-10-16 00:25:32 +02:00
Elias Schneider
c5099ce2e8 refactor: run formatter 2022-10-16 00:14:02 +02:00
Elias Schneider
83cde4778a refactor: manual merge conflict changes that broke that application 2022-10-16 00:13:08 +02:00
Elias Schneider
9d17377bbc Merge remote-tracking branch 'stonith404/main' into main 2022-10-16 00:08:37 +02:00
Elias Schneider
aa5b125367 fix: share not found if unauthenticated 2022-10-14 12:21:26 +02:00
Elias Schneider
a2c9755756 fix: system test github action 2022-10-14 09:26:30 +02:00
Elias Schneider
9c3ab1cd25 chore: add eslint 2022-10-13 23:57:37 +02:00
Elias Schneider
b57092ce3e fix: delete share if user deleted 2022-10-13 23:26:56 +02:00
Elias Schneider
7c0759cb07 test: add system tests 2022-10-13 23:25:04 +02:00
Elias Schneider
6358ac3918 feat: improve share security 2022-10-13 23:24:36 +02:00
Steve Tautonico
56349c6f4c
feature: Added "never" expiration date 2022-10-12 16:59:04 -04:00
Steve Tautonico
69ee88aebc
chore: Upgrade rxjs is required
Without upgrading rxjs, we get `TypeError: (0 , rxjs_1.lastValueFrom) is not a function`

This solution comes from https://github.com/nestjs/nest/issues/7468
2022-10-12 16:11:53 -04:00
Steve Tautonico
fb2dd3bd6f
chore: Fixed some missing dependencies in package.json
The backend was missing "reflect-metadata"
and the frontend was missing "@emotion/react" and "@emotion/server".

Also added JetBrains specific stuff in .gitignore
2022-10-12 16:03:50 -04:00
Elias Schneider
5a9eb58096 Merge branch 'main' into development 2022-10-12 21:53:32 +02:00
Elias Schneider
bfbf3d8130 fix: file names with special characters 2022-10-12 15:04:57 +02:00
Elias Schneider
cde22f85ee Merge branch 'development' into main 2022-10-12 09:14:48 +02:00
Elias Schneider
0b9cc3bd30 chore: update documentation 2022-10-12 09:14:13 +02:00
Elias Schneider
80cdcda93c feat: put db and uploads in same folder 2022-10-12 00:38:38 +02:00
Elias Schneider
759db40ac9 fix: wrong environment configuration for ALLOW_REGISTRATION 2022-10-11 23:21:14 +02:00
Elias Schneider
80d03ce82c chore: update .gitignore 2022-10-11 22:38:25 +02:00
Elias Schneider
b073bb31b0 chore: update configuration settings 2022-10-11 22:35:13 +02:00
Elias Schneider
388ac395ba feat: remove postgres & use a single docker container 2022-10-11 22:30:06 +02:00
Elias Schneider
ffd538f140 fix: delete files when deleting share manually 2022-10-11 15:08:25 +02:00
Elias Schneider
2c47b2a284 fix: add rule to check if user is owner of share 2022-10-10 23:34:03 +02:00
Elias Schneider
02beb66910 fix: dto returns 2022-10-10 17:58:42 +02:00
Elias Schneider
4bab33ad8a feat: remove appwrite and add nextjs backend 2022-10-09 22:30:32 +02:00