Gustavo "Guz" L. de Mello
e41944cd82
feat(oauth,mastodon): mastodon oauth enpoint
2024-07-31 15:52:46 -03:00
Gustavo "Guz" L. de Mello
64f15565fb
fix(errors): errors handling interface implementation
2024-07-30 11:51:55 -03:00
Gustavo "Guz" L. de Mello
bd677c9613
feat(oauth,mastodon): mastodon login first draft
2024-07-30 11:51:31 -03:00
Gustavo "Guz" L. de Mello
24125aa767
feat(oauth): token getter method
2024-07-24 19:15:02 -03:00
Gustavo "Guz" L. de Mello
ae3dae1ffa
fix(oauth): escape json string so it can be set by http package
2024-07-24 19:08:18 -03:00
Gustavo "Guz" L. de Mello
cd2f58a24c
feat(oauth,twitter): default oauth2 implementation
2024-07-24 18:43:23 -03:00
Gustavo "Guz" L. de Mello
e663abe150
fix: remove old code
2024-07-24 18:42:41 -03:00
Gustavo "Guz" L. de Mello
518d04fa72
chore: remove old unused code
2024-07-24 15:23:30 -03:00
Gustavo "Guz" L. de Mello
046e0f9259
refactor(errors): new error "helpers", following a more golang way
2024-07-24 15:23:07 -03:00
Gustavo "Guz" L. de Mello
2b5366d407
test: update test code
2024-07-23 15:03:16 -03:00
Gustavo "Guz" L. de Mello
dbfb7e547d
feat(cookies,middleware): constructor functions and encryption error handling
2024-07-23 14:29:05 -03:00
Gustavo "Guz" L. de Mello
c3dc549ceb
feat(cookies): encrypt and decrypt cookies sent to the client
...
This is modtly (to try) preventing malicious client-side code, like
browser extensions, from reading social media tokens easily. Since this
application doesn't have a database, this is the best that can be done.
2024-07-23 13:40:30 -03:00
Gustavo "Guz" L. de Mello
eb52dd73d1
feat(router): check error of middlewared response writer
2024-07-22 12:25:12 -03:00
Gustavo "Guz" L. de Mello
9dd4681857
refactor(middlewares,router): follow http package structure and interfaces
2024-07-22 11:24:14 -03:00
Gustavo "Guz" L. de Mello
294b943353
feat(cookies,encoding): panic handling
2024-07-14 13:40:13 -03:00
Gustavo "Guz" L. de Mello
63d71cd625
refactor(cookies,encoding): move loop to it's dedicated function
2024-07-14 13:39:14 -03:00
Gustavo "Guz" L. de Mello
8dcc720e9f
refactor(cookies,encoding): move string encoding and decoding to dedicated functions
2024-07-14 12:26:57 -03:00
Gustavo "Guz" L. de Mello
e2518662c9
feat(cookies,encoding): decoding of number types and booleans
2024-07-14 12:15:25 -03:00
Gustavo "Guz" L. de Mello
6e7d8aeedb
test(cookies,encoding): refactor test to better readability and modifing
2024-07-14 12:14:43 -03:00
Gustavo "Guz" L. de Mello
bc05eab477
feat: cookie encoding and decoding
2024-07-13 17:59:22 -03:00
Gustavo "Guz" L. de Mello
8a4d9dde1d
feat: oauth client
2024-07-13 17:58:55 -03:00
Gustavo "Guz" L. de Mello
7ab8527a44
refactor: change project and templates layout
2024-07-13 17:58:03 -03:00
Gustavo "Guz" L. de Mello
10eaaf4d5f
feat: basic oauth handling, THIS IS BROKEN
2024-07-10 23:34:37 -03:00
Gustavo "Guz" L. de Mello
02de9a2df9
refactor: change /api/oauth/twitter to /api/twitter/oauth
2024-07-10 23:33:10 -03:00
Gustavo "Guz" L. de Mello
153d862573
fix: add label to datalist values
2024-07-10 23:32:17 -03:00
Gustavo "Guz" L. de Mello
4344ec8285
chore!: temporarily disable deploying
2024-07-08 20:19:29 -03:00
Gustavo "Guz" L. de Mello
fde65cba02
feat(oauth,mastodon): mastodon instace selection and list fetching
2024-07-08 20:17:50 -03:00
Gustavo "Guz" L. de Mello
edc785a244
refactor(api,robots): move ai.go and robots.go to the standard router
2024-07-08 20:16:52 -03:00
Gustavo "Guz" L. de Mello
493969ea72
refactor(router): rename pages to routes
2024-06-27 19:58:15 -03:00
Gustavo "Guz" L. de Mello
37fd862590
feat(oauth): add twitter oauth support
2024-06-27 19:53:09 -03:00
Gustavo "Guz" L. de Mello
1bc25628c3
refactor(router)!: refactor routes handling to be "servermore"
2024-06-27 19:51:50 -03:00
Gustavo "Guz" L. de Mello
3c6f22e1cf
fix(ci): missing checkout actions
2024-06-24 17:03:53 -03:00
Gustavo "Guz" L. de Mello
df44b8ce78
fix(ci): fix deployment environments
2024-06-24 17:01:19 -03:00
Gustavo "Guz" L. de Mello
6c784b7036
chore: lint command and hook
2024-06-24 16:11:10 -03:00
Gustavo "Guz" L. de Mello
9909b671f3
fix: commit-msg hook name
2024-06-24 16:10:30 -03:00
Gustavo "Guz" L. de Mello
602b30a74f
chore: add hook for conventional commits
2024-06-24 16:02:03 -03:00
Gustavo "Guz" L. de Mello
3c7243b976
feat: placeholder info and index page
2024-06-24 15:39:38 -03:00
Gustavo "Guz" L. de Mello
66d2548a21
fix: makefile dev command
2024-06-24 15:39:17 -03:00
Gustavo "Guz" L. de Mello
ae6ee5bec9
fix: commit static directory
2024-06-24 11:52:29 -03:00
Gustavo "Guz" L. de Mello
2686a045fd
chore: initial setup
2024-06-24 11:50:06 -03:00