Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

WIP: Migrate to Yesod Framework #15

Draft
wants to merge 35 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
d28c16d
Migrate to Yesod Framework
qvalentin Jan 29, 2022
60d1068
use correct typing for health endpoint
qvalentin Jan 29, 2022
15dd3ec
delte Endpoint migated, upload WIP
qvalentin Feb 1, 2022
bacd48f
Upload Migrated, streaming working for preview
qvalentin Feb 3, 2022
0a170fc
Refactoring finished
qvalentin Feb 5, 2022
269a2c6
cleaner imports
qvalentin Feb 6, 2022
648b2ab
move zip functions
qvalentin Feb 6, 2022
d6d8f53
Encryption is working
qvalentin Feb 6, 2022
63fecd5
Add decryption to preview
qvalentin Feb 6, 2022
d251d0a
Store keys and ivs in seperate folder
qvalentin Feb 9, 2022
f3bca44
(Deps) update to newer stack resolver
qvalentin Feb 11, 2022
7281ed8
gitigonre
qvalentin Feb 11, 2022
470ab08
Adapt Upload to new api
qvalentin Mar 25, 2022
6c9d358
download for multiple files in same folder
qvalentin Mar 25, 2022
ca7c0f8
refactoring
qvalentin Jun 16, 2022
c155f5c
Add preflight to upload to prevent DDOS by uploading large files with…
qvalentin Jun 16, 2022
b2b490b
Prepare for adding mongoDB as a keystore
qvalentin Jun 16, 2022
6dacafc
Add first mongoDB queries
qvalentin Jun 23, 2022
aa67819
WIP: Cleanup mongo interaction
qvalentin Jun 25, 2022
393a7bd
Finish mongo db queries, setup basic tests
qvalentin Jul 3, 2022
2e7f6fe
some tests and confirm write to db
qvalentin Jul 24, 2022
f3c6cea
Make using encrption configurable
qvalentin Sep 26, 2022
ae113ce
Fix creation of FileHandler user in MongoDB
qvalentin Sep 26, 2022
74de424
Make encryption optional and improve logging
qvalentin Oct 3, 2022
c891525
Building docker container
qvalentin Oct 8, 2022
f09f982
Add db setting to env
qvalentin Oct 8, 2022
6b57935
Add Banner and cors config
qvalentin Oct 9, 2022
d48009a
use /api/api
qvalentin Oct 9, 2022
0d14eaa
Fix missing dependency
qvalentin Oct 9, 2022
0c84cc1
Fix banner, more health info
qvalentin Oct 9, 2022
5e61feb
Fix delete endpoint
qvalentin Oct 12, 2022
8050f45
Add MockBackend for integration tests
qvalentin Oct 15, 2022
c605d27
Add Upload test
qvalentin Oct 21, 2022
8bc0aa7
Improve upload test
qvalentin Oct 23, 2022
c875990
Working upload test
qvalentin Nov 6, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.git
"
53 changes: 40 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,47 @@
dist
dist-*
cabal-dev
*.o
*.hi
*.aux
kek.iv
*.chi
*.chs.h
*.dyn_o
*.dyn_hi
*.dyn_o
*.eventlog
*.hi
*.hp
*.keter
*.o
*.prof
*.sqlite3
*.sqlite3-shm
*.sqlite3-wal
*.swp
*~
*~dist*
.DS_Store
.cabal-sandbox
.hpc
.hsenv
.cabal-sandbox/
cabal.sandbox.config
*.prof
*.aux
*.hp
*.eventlog
.hsenv*
.stack-work-devel/
.stack-work/
FileHandlerYesod.cabal
\#*
cabal-dev
cabal.project.local
*~
cabal.sandbox.config
config/client_session_key.aes
dist
dist-*
static/combined/
static/tmp/
yesod-devel/
.hie
1
2
3
4
5
client_session_key.aes
keys
mprofile_*.dat
stan.html

Loading