1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-11-19 22:00:12 +01:00
Commit Graph

204 Commits

Author SHA1 Message Date
Elias Schneider
ccdf8ea3ae
feat: allow multiple shares with one reverse share link 2023-02-10 11:10:07 +01:00
Elias Schneider
5d1a7f0310
feat!: reset password with email 2023-02-09 18:17:53 +01:00
Elias Schneider
38de022215
feat(frontend): server side rendering to improve performance 2023-02-07 10:21:25 +01:00
Elias Schneider
82f204e8a9
fix: invalid redirection after jwt expiry 2023-02-06 11:15:46 +01:00
Elias Schneider
4e840ecd29
refactor: handle authentication state in middleware 2023-02-04 18:12:49 +01:00
Elias Schneider
3d5c919110
release: 0.9.0 2023-01-31 15:25:01 +01:00
Elias Schneider
008df06b5c
feat: direct file link 2023-01-31 15:22:08 +01:00
Elias Schneider
233c26e5cf
fix: improve send test email UX 2023-01-31 13:16:11 +01:00
Elias Schneider
91a6b3f716
feat: file preview 2023-01-31 09:03:03 +01:00
Elias Schneider
0a2b7b1243
refactor: use cookie instead of local storage for share token 2023-01-26 21:18:22 +01:00
Elias Schneider
b98fe7911f
release: 0.8.0 2023-01-26 16:10:16 +01:00
Elias Schneider
ad92cfc852
fix: admin users were created while the setup wizard wasn't finished 2023-01-26 15:43:13 +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
bb64f6c33f
fix: Add meta tags to new pages 2023-01-17 09:13:53 +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
349bf475cc fix: invalid github release link on admin page 2023-01-11 22:32:37 +01:00
Elias Schneider
fccc4cbc02 release: 0.6.1 2023-01-11 13:08:09 +01:00
Elias Schneider
f1b44f87fa fix: shareUrl uses wrong origin 2023-01-11 13:06:38 +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
72c8081e7c fix: error message typo 2023-01-06 09:21:46 +01:00
Elias Schneider
54f591cd60 release: 0.5.1 2023-01-04 16:02:54 +01:00
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
ef21bac59b feat: manually switch color scheme 2022-12-24 23:58:31 +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
0616a68bd2 feat: custom email message 2022-12-15 21:44:04 +01:00
Elias Schneider
844c47e129 fix: rerange accordion items 2022-12-13 09:57:48 +01:00
Elias Schneider
8728fa5207 feat: add description field to share 2022-12-12 11:54:13 +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
9798e26872 fix: setup wizard table doesn't take full width 2022-12-10 18:45:53 +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
Jean-Michel Carrel
8e38c5fed7 Improved docker image (size & speed) 2022-12-10 15:34:01 +01:00
Elias Schneider
7e877ce9f4 fix: show alternative to copy button if site is not using https 2022-12-10 13:16:23 +01:00
Elias Schneider
b1bfb09dfd fix: tables on mobile 2022-12-09 14:37:09 +01:00
Elias Schneider
c8a4521677 fix: sign up page available when registration is disabled 2022-12-09 12:05:43 +01:00
Elias Schneider
a165f8ec4d refactor: remove console log 2022-12-08 23:22:15 +01:00
Elias Schneider
cbe37c6798 fix: obscured text length 2022-12-08 23:12:25 +01:00
Elias Schneider
a545c44426 fix: improve admin dashboard color and layout 2022-12-08 22:43:14 +01:00
Elias Schneider
bfb0d151ea fix: obscure critical config variables 2022-12-08 19:14:06 +01:00
Elias Schneider
4a016ed57d fix: unauthenticated dialog not shown 2022-12-06 11:05:04 +01:00
Elias Schneider
5ea63fb60b fix: use session storage for share token 2022-12-06 10:54:17 +01:00
Elias Schneider
75f57a4e57 fix: dropzone rejection on chrome 2022-12-05 22:09:41 +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
7a3967fd6f feat: add user management 2022-12-05 15:53:24 +01:00
Elias Schneider
e958a83b87 fix: docker build 2022-12-02 15:10:49 +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
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
43299522ee chore: upgrade to Next.js 13 2022-10-31 11:20:54 +01:00
Elias Schneider
99de4e57e1 fix: share finishes before all files are uploaded 2022-10-31 10:28:29 +01:00
Elias Schneider
c2ddce6203 fix: infinite loading when file size is small 2022-10-29 23:09:28 +02:00
Elias Schneider
c6e1f07f51 fix: only show not signed in warning if not signed in 2022-10-29 22:55:46 +02:00
Elias Schneider
712cfe625a feat: add rate limiting 2022-10-24 12:11:10 +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
c52a4d5e3a feat(frontend): remove footer 2022-10-18 09:31:13 +02:00
Elias Schneider
239b18cdae fix: opt out of static site generation to enable publicRuntimeConfig 2022-10-18 09:17:57 +02:00
Elias Schneider
cc17e7e641 fix: remove unused env variable 2022-10-16 20:31:16 +02:00
Elias Schneider
4e3f6be8e3 feat: automatically detect hour format 2022-10-16 20:21:35 +02:00
Elias Schneider
c5099ce2e8 refactor: run formatter 2022-10-16 00:14:02 +02:00
Elias Schneider
9d17377bbc Merge remote-tracking branch 'stonith404/main' into main 2022-10-16 00:08:37 +02:00
Steve Tautonico
5988d5ffcc
Added granular control of expiration + 12/24 hour modes 2022-10-14 18:14:46 -04:00
Elias Schneider
1259922847 fix: improve failed upload error handling 2022-10-14 15:10:24 +02:00
Elias Schneider
58efc48ffa feat: extract logo to component 2022-10-14 14:19:32 +02:00
Elias Schneider
a33b5b37d9 feat: replace tooltip with toast 2022-10-14 13:11:59 +02:00
Elias Schneider
aa5b125367 fix: share not found if unauthenticated 2022-10-14 12:21:26 +02:00
Elias Schneider
7d8fc72394 performance: remove initial props to opt in to static site generation 2022-10-14 12:04:47 +02:00
Elias Schneider
d906d56b9f performance: replace tabler-icons-react with react-icons to reduce bundle size 2022-10-14 11:59:40 +02:00
Elias Schneider
247ce92744 fix: my shares doesn't make an api request 2022-10-14 11:29:54 +02:00
Elias Schneider
6358ac3918 feat: improve share security 2022-10-13 23:24:36 +02:00
Elias Schneider
8c84d50159 feat: add progress indicator for uploading files 2022-10-12 23:24:11 +02:00
Steve Tautonico
56349c6f4c
feature: Added "never" expiration date 2022-10-12 16:59:04 -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
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
759db40ac9 fix: wrong environment configuration for ALLOW_REGISTRATION 2022-10-11 23:21:14 +02:00
Elias Schneider
143b4271fa update next pwa to new version 2022-10-11 23:10:31 +02:00
Elias Schneider
a40c2ded82 fix: get theme on inital load 2022-10-11 22:49:21 +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
e2b3e6a1e8 fix: add error handling for uploading 2022-10-11 15:14:29 +02:00
Elias Schneider
0823d28e23 fix: error when refresh token is expired 2022-10-11 14:44:12 +02:00
Elias Schneider
d153f202e6 fix: refresh token on visit after 15 minutes 2022-10-11 10:22:10 +02:00
Elias Schneider
caed1f40ad fix: account dropdown on mobile 2022-10-11 09:03:30 +02:00
Elias Schneider
8c2c930153 fix: security accerdion 2022-10-11 08:55:30 +02:00
Elias Schneider
43519d9f26 fix: spacing issues 2022-10-10 23:39:07 +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
d902aae03f feat: use system color theme 2022-10-10 22:30:04 +02:00
Elias Schneider
db7edc4cd6 refactor: migrate to mantine v5 2022-10-10 22:14:23 +02:00
Elias Schneider
68ce8af197 fix: remove filetype from file list 2022-10-10 18:05:54 +02:00
Elias Schneider
603d79c09d chore: update docker configuration 2022-10-10 17:59:02 +02:00
Elias Schneider
4bab33ad8a feat: remove appwrite and add nextjs backend 2022-10-09 22:30:32 +02:00