Commit graph

72 commits

Author SHA1 Message Date
Ada
1d0034b5c8 Merge pull request '🔒 Add secret token hashing with argon2id' (#31) from ada/hash-token into main
All checks were successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
Reviewed-on: #31
2024-02-26 21:36:25 +00:00
Ada
f6b48d0ae7
lock: Add secret token hashing with argon2id
All checks were successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pull_request_closed/build Pipeline was successful
ci/woodpecker/pull_request_closed/release Pipeline was successful
2024-02-26 21:46:19 +01:00
Ada
20d24e2446 Merge pull request ' Implement basic POST request for curl' (#30) from ada/curl-upload into main
All checks were successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
Reviewed-on: #30
2024-02-24 23:36:14 +00:00
Ada
55fcd82834 Merge pull request '🧪 Add test to ParseExpiration when a value is to high' (#33) from ada/more-utils-test into main
Reviewed-on: #33
2024-02-24 23:35:36 +00:00
Ada
3954079b95
🧪 Add test to ParseExpiration when a value is to high 2024-02-25 00:35:11 +01:00
Ada
c360291209 Merge pull request '⬆️ bump go-redis 9.5.1' (#32) from ada/bump-redis into main
Reviewed-on: #32
2024-02-24 23:33:38 +00:00
Ada
cdb7386558
⬆️ bump go-redis 9.5.1 2024-02-25 00:32:26 +01:00
Ada
e99c71cc20
Implement basic POST request for curl
/ can now read body and create paste, for curl like client, web create with full settings is move to /create
2024-02-24 01:35:26 +01:00
Ada
d93c024a0c Merge pull request 'Add redis connection test before start' (#29) from ada/redis-ping into main
All checks were successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
Reviewed-on: #29
2024-02-22 11:55:34 +00:00
Ada
130a5ee345
Add redis connection test before start
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pull_request_closed/release Pipeline was successful
ci/woodpecker/pull_request_closed/build Pipeline was successful
2024-02-21 14:34:19 +01:00
Ada
ac2c44252c Merge pull request ' Support filename' (#27) from ada/backend/filename into main
All checks were successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
Reviewed-on: #27
2024-02-21 12:56:35 +00:00
Ada
9570e339a3
Support filename
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/pull_request_closed/build Pipeline was successful
ci/woodpecker/pull_request_closed/release Pipeline was successful
2024-02-21 13:51:08 +01:00
Ada
04dad7d5af Merge pull request '♻️ Use math/rand/v2' (#28) from ada/use-rand-v2 into main
All checks were successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
Reviewed-on: #28
2024-02-21 12:28:39 +00:00
Ada
4257994cab Merge pull request '👷 Add build releases file on tag' (#26) from ada/release into main
Some checks failed
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline failed
Reviewed-on: #26
2024-02-21 12:27:20 +00:00
Ada
36e959f5e2
♻️ Use math/rand/v2
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pull_request_closed/build Pipeline was successful
2024-02-19 00:32:27 +01:00
Ada
6905f63059
👷 Add build releases file on tag
All checks were successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/pull_request_closed/release Pipeline was successful
ci/woodpecker/pull_request_closed/build Pipeline was successful
2024-02-18 22:31:19 +01:00
Ada
7ac2732d25 Merge pull request '⬆️ bump go-redis 9.5.0' (#25) from ada/bump-redis into main
All checks were successful
ci/woodpecker/push/build Pipeline was successful
Reviewed-on: #25
2024-02-18 20:51:55 +00:00
Ada
900243a766
⬆️ bump go-redis 9.5.0
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pull_request_closed/build Pipeline was successful
2024-02-18 20:32:07 +01:00
Ada
dfa460b919 Merge pull request '👷 Docker support' (#19) from ada/docker into main
All checks were successful
ci/woodpecker/push/build Pipeline was successful
Reviewed-on: #19
2024-02-18 19:19:29 +00:00
Ada
eaaf09c978
👷 Add docker support and CI related stuff
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pull_request_closed/build Pipeline was successful
2024-02-18 19:05:18 +01:00
Ada
b5a9a3e669
🔧 Supresss automatic .env load
Automatic load of .env is a problem for Docker and not really usefull in other context
2024-02-18 18:55:57 +01:00
Ada
1ef6d3efaf Merge pull request '🏗️ Embed static files in binary' (#22) from ada/embed into main
Reviewed-on: #22
2024-02-18 17:53:13 +00:00
Ada
eeabb76fdb Merge pull request '♻️ Simplifies return condition' (#23) from ada/simplifies-return into main
Reviewed-on: #23
2024-02-18 00:15:17 +00:00
Ada
fb66f654e7 Merge pull request '🐛 fix 404 on first hit' (#21) from ada/fix-404 into main
Reviewed-on: #21
2024-02-18 00:14:13 +00:00
Ada
55a79dbd9d
♻️ Simplifies return condition 2024-02-17 00:32:55 +01:00
Ada
199a926418
🏗️ Embed static files in binary 2024-02-17 00:23:32 +01:00
Ada
9360556006
🐛 fix 404 on first hit
On first hit, Server() calls for the first time router(). As a result / and /static are only configured after first hit
2024-02-16 22:41:29 +01:00
Ada
d5fea70587 Merge pull request '♻️ Move code from main to module' (#18) from ada/refactor into main
Reviewed-on: #18
2024-02-11 23:40:12 +00:00
Ada
021e4a731a
♻️ Move code from main to module & clean code 2024-02-12 00:37:51 +01:00
Ada
df2b918801 Merge pull request '💄 Move DELETE logic to specific function' (#16) from ada/backend/refactor-delete into main
Reviewed-on: #16
2024-01-23 21:28:50 +00:00
Ada
b5a19209b2 💄 Move DELETE logic to specific function 2024-01-23 22:28:19 +01:00
Ada
bf516229da Merge pull request 'bump(go-redis): v9.4.0' (#15) from ada/backend/update-redis into main
Reviewed-on: #15
2024-01-23 21:14:52 +00:00
Ada
d6a015489d bump(go-redis): v9.4.0 2024-01-23 22:13:21 +01:00
Ada
3308d5419c Merge pull request ' Plak expiration support' (#14) from ada/backend/expiration into main
Reviewed-on: #14
2024-01-23 21:02:45 +00:00
Ada
d5610eb24c Plak expiration support 2024-01-23 22:00:06 +01:00
Ada
1731efcc28 Merge pull request 'fix(backend): broken utf8 on raw view' (#13) from fix/raw/utf-8 into main
Reviewed-on: #13
2023-11-26 19:10:56 +00:00
Ada
da1d1a1ef2 fix(backend): broken utf8 on raw view 2023-11-26 02:53:24 +01:00
Akinimaginable
83b4f5fe04 Merge pull request 'features' (#12) from features into main
Reviewed-on: #12
2023-11-25 23:10:29 +00:00
hacki
4b53f0e1d9 Remove IDE specific files 2023-11-26 00:08:47 +01:00
hacki
1c086c5afb Added line counter + some return optimization 2023-11-26 00:00:53 +01:00
Akinimaginable
6567a7c0cd Merge pull request 'clean(backend): make one global redis client' (#10) from clean-db into main
Reviewed-on: #10
2023-11-25 18:18:28 +00:00
Akinimaginable
8dc45aeb01 Merge pull request 'clean(backend): Remove duplicate config example' (#9) from clean-env into main
Reviewed-on: #9
2023-11-25 18:16:16 +00:00
Ada
4ec674bb26 clean(backend): make one global redis client 2023-10-20 03:30:19 +02:00
Ada
f41c5fde07 clean(backend): Remove duplicate config example 2023-10-20 02:47:35 +02:00
Akinimaginable
5e8f82c329 Merge pull request '💄 improved pasted frontend + README' (#8) from front-paste into main
Reviewed-on: #8
2023-10-14 23:18:13 +00:00
Akinimaginable
d28013ae89 Merge pull request 'add(backend): support paste deletion' (#7) from delete-paste into main
Reviewed-on: #7
2023-10-14 23:17:49 +00:00
Akinimaginable
6d362bcf22 Merge pull request 'fix(backend): XSS on raw.' (#6) from fix-xss-raw into main
Reviewed-on: #6
2023-10-14 23:15:35 +00:00
12aca321aa 💄 improved pasted frontend + README 2023-10-15 01:07:56 +02:00
Ada
61f6715be9 add(backend): support paste deletion 2023-10-12 21:46:30 +02:00
Ada
5a175ef04a fix(backend): XSS on raw. 2023-10-12 15:29:14 +02:00