Compare commits

..

50 commits

Author SHA1 Message Date
Ada 337522b489
💄 Make linter pass
Some checks failed
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/pr/lint Pipeline failed
2024-04-10 19:21:34 +02:00
Ada 9e15f29efb
Linter to CI 2024-04-10 19:21:25 +02:00
Ada b7be167dd7 Merge pull request 'Update module golang.org/x/crypto to v0.22.0' (#38) from renovate/golang.org-x-crypto-0.x into main
All checks were successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
Reviewed-on: #38
2024-04-05 19:08:28 +00:00
Renovate bot 63cc04e3b6 Update module golang.org/x/crypto to v0.22.0
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/release Pipeline was successful
ci/woodpecker/pull_request_closed/build Pipeline was successful
2024-04-05 19:00:31 +00:00
Ada c02bce9841 Merge pull request 'Configure Renovate' (#37) from renovate/configure into main
Some checks failed
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline failed
Reviewed-on: #37
2024-04-05 18:59:37 +00:00
Renovate bot f30ac50718 Add renovate.json
All checks were 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/push/build Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/pull_request_closed/release Pipeline was successful
2024-04-05 18:58:42 +00:00
Ada 05cd9e3abe Merge pull request '⬆️ bump x/crypto and x/sys dependancies' (#34) from ada/bump-deps into main
All checks were successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
Reviewed-on: #34
2024-03-05 18:39:15 +00:00
Ada 5a26dde806 ⬆️ bump x/crypto and x/sys dependancies 2024-03-05 19:35:19 +01:00
Ada a5349d587b Merge pull request '🔒 Add secret token hashing with argon2id' (#31) from ada/hash-token into main
Reviewed-on: #31
2024-02-26 21:36:25 +00:00
Ada 93374ac6aa lock: Add secret token hashing with argon2id 2024-02-26 21:46:19 +01:00
Ada 8696fc4d1c Merge pull request ' Implement basic POST request for curl' (#30) from ada/curl-upload into main
Reviewed-on: #30
2024-02-24 23:36:14 +00:00
Ada 9a2ffd9898 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 05888973d9 🧪 Add test to ParseExpiration when a value is to high 2024-02-25 00:35:11 +01:00
Ada 93958de6a5 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 9bf69d2757 ⬆️ bump go-redis 9.5.1 2024-02-25 00:32:26 +01:00
Ada 8a88613f89 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 849a4ff44e Merge pull request 'Add redis connection test before start' (#29) from ada/redis-ping into main
Reviewed-on: #29
2024-02-22 11:55:34 +00:00
Ada bc57218bc8 Add redis connection test before start 2024-02-21 14:34:19 +01:00
Ada 5c8928d8c9 Merge pull request ' Support filename' (#27) from ada/backend/filename into main
Reviewed-on: #27
2024-02-21 12:56:35 +00:00
Ada 095a676dea Support filename 2024-02-21 13:51:08 +01:00
Ada bd9b6996b8 Merge pull request '♻️ Use math/rand/v2' (#28) from ada/use-rand-v2 into main
Reviewed-on: #28
2024-02-21 12:28:39 +00:00
Ada 6bf757a733 Merge pull request '👷 Add build releases file on tag' (#26) from ada/release into main
Reviewed-on: #26
2024-02-21 12:27:20 +00:00
Ada 24e8d76460 ♻️ Use math/rand/v2 2024-02-19 00:32:27 +01:00
Ada 7d2aa18df9 👷 Add build releases file on tag 2024-02-18 22:31:19 +01:00
Ada 2545b7550d Merge pull request '⬆️ bump go-redis 9.5.0' (#25) from ada/bump-redis into main
Reviewed-on: #25
2024-02-18 20:51:55 +00:00
Ada 2c712cf793 ⬆️ bump go-redis 9.5.0 2024-02-18 20:32:07 +01:00
Ada bef9118149 Merge pull request '👷 Docker support' (#19) from ada/docker into main
Reviewed-on: #19
2024-02-18 19:19:29 +00:00
Ada 9c8130c6df 👷 Add docker support and CI related stuff 2024-02-18 19:05:18 +01:00
Ada 36f27f72aa 🔧 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 54faeeda8a 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 477d8ee34c 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 c188b73a7f 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 317f57519d ♻️ Simplifies return condition 2024-02-17 00:32:55 +01:00
Ada 48071ac77a 🏗️ Embed static files in binary 2024-02-17 00:23:32 +01:00
Ada 234d88edd6 🐛 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 c00f777935 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 8d1295bd23 ♻️ Move code from main to module & clean code 2024-02-12 00:37:51 +01:00
Ada b225c24900 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 66d49d36a3 💄 Move DELETE logic to specific function 2024-01-23 22:28:19 +01:00
Ada 29ec2f78ac 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 df8a04d57e bump(go-redis): v9.4.0 2024-01-23 22:13:21 +01:00
Ada 3c9d90566f 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 8ca8bc893e Plak expiration support 2024-01-23 22:00:06 +01:00
Ada a1ffff4e5b 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 a23fe965cc fix(backend): broken utf8 on raw view 2023-11-26 02:53:24 +01:00
Akinimaginable c285e117fe Merge pull request 'features' (#12) from features into main
Reviewed-on: #12
2023-11-25 23:10:29 +00:00
hacki 9adcb52174 Remove IDE specific files 2023-11-26 00:08:47 +01:00
hacki eff4c30018 Added line counter + some return optimization 2023-11-26 00:00:53 +01:00
Akinimaginable 36e878c2ac 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 46d13fcd3a 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
3 changed files with 9 additions and 2 deletions

4
go.mod
View file

@ -4,11 +4,11 @@ go 1.22
require (
github.com/redis/go-redis/v9 v9.5.1
golang.org/x/crypto v0.21.0
golang.org/x/crypto v0.22.0
)
require (
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/sys v0.19.0 // indirect
)

4
go.sum
View file

@ -10,5 +10,9 @@ github.com/redis/go-redis/v9 v9.5.1 h1:H1X4D3yHPaYrkL5X06Wh6xNVM/pX0Ft4RV0vMGvLB
github.com/redis/go-redis/v9 v9.5.1/go.mod h1:hdY0cQFCN4fnSYT6TkisLufl/4W5UIXyv0b/CLO2V2M=
golang.org/x/crypto v0.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA=
golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs=
golang.org/x/crypto v0.22.0 h1:g1v0xeRhjcugydODzvb3mEM9SQ0HGp9s/nh3COQ/C30=
golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M=
golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4=
golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=

3
renovate.json Normal file
View file

@ -0,0 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}