Commit graph

47 commits

Author SHA1 Message Date
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
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
Ada
d85ca37d54 Merge pull request 'fix(front): missing /static for css' (#5) from fix-css into main
Reviewed-on: #5
2023-10-12 13:12:40 +00:00
Ada
5f2c9e1f94 fix(front): missing /static for css 2023-10-12 00:39:47 +02:00
Ada
994d7054bb Merge pull request 'Paste view' (#2) from view-paste into main
Reviewed-on: #2
2023-10-10 17:10:15 +00:00
Ada
b10ac09fcd changes(front): Use css for paste view 2023-10-10 18:23:46 +02:00
Ada
4663925d5d add(backend): html templates render paste view 2023-10-10 18:23:46 +02:00
Ada
984c1cf3b6 add(backend): paste view 2023-10-10 18:23:46 +02:00
Akinimaginable
2d84849f3e Merge pull request '💄 revamped frontend' (#4) from frontend into main
Reviewed-on: #4
2023-10-08 12:07:30 +00:00
c74237beef 💄 revamped frontend 2023-10-08 14:06:05 +02:00
Akinimaginable
693ac02c9d Merge pull request 'logs' (#3) from logs into main
Reviewed-on: #3
2023-10-05 22:00:13 +00:00
19f56f96cd Merge branch 'main' into logs 2023-10-05 23:57:57 +02:00
3018547876 🥅 handled unhandled errors + moved default config from code to .env file 2023-10-05 23:18:02 +02:00
ac2b9ba9ce improved some return statements and variables allocations 2023-10-04 01:50:04 +02:00
Ada
31767fd38a add(config): empty example 2023-10-04 01:06:47 +02:00
Ada
0c74258e35 add(backend): add url to have raw paste 2023-10-04 00:10:29 +02:00
Ada
c26d6b7e9c change(backend): use crypto/rand for secret 2023-10-03 23:20:31 +02:00
Ada
73c06c3636 add(backend): inset data to db and check if path exist in db 2023-10-03 20:41:40 +02:00
Ada
85dff8deca change(backend): serve static file from /static and serve index.html for / 2023-10-03 20:41:35 +02:00
dc68e4a8d4 🐛 Add form to main structure 2023-10-03 20:41:15 +02:00
Ada
098f53ef67 begin work for handle POST form 2023-10-02 20:33:13 +02:00
Ada
d6f90977e1 change(backend): serve static file from /static and serve index.html for / 2023-10-02 19:22:56 +02:00
Ada
0977e8d064 add(backend): config management 2023-10-02 15:03:04 +02:00
b14360dd8b 🎉 First commit with basic frontend ! 2023-10-02 02:45:41 +02:00