Commit Graph

58 Commits

Author SHA1 Message Date
e2b92f8ba1 make jwt.Parse public 2025-12-18 19:58:21 +02:00
a1f6c1ffa9 add jwt config 2025-12-18 19:58:04 +02:00
7e581d99f5 create auth package 2025-12-18 19:57:51 +02:00
ad980ee600 implement work with services 2025-12-18 19:57:38 +02:00
438bed8f13 implement some auth (user) endpoints 2025-12-18 19:57:20 +02:00
e9b7f8ca17 rename 2025-12-18 19:56:56 +02:00
ae1e5600ae go mod bcrypt 2025-12-18 19:56:46 +02:00
44d39db701 git ignore add secret 2025-12-18 19:56:31 +02:00
adf61a4d1d add token config 2025-12-18 11:25:07 +02:00
97253ee9c7 add field UserID 2025-12-18 11:24:57 +02:00
4ae85c73bb remove prefix Token 2025-12-18 11:24:48 +02:00
16b6b292c6 make functions more universal 2025-12-18 11:24:34 +02:00
6f4657caff add comments 2025-12-18 10:50:08 +02:00
53761db1e0 add user crud interface in impl 2025-12-18 10:49:56 +02:00
603f007c63 gitignore add testdata/ and remove cached tokens.db 2025-12-18 10:49:35 +02:00
597000f222 add jwt creating and parsing 2025-12-18 10:48:27 +02:00
3b74f5c43d go get uuid 2025-12-18 10:47:58 +02:00
8de6a9212a add auth service to main router's deps 2025-12-18 09:48:14 +02:00
64dad6619e require jwt 2025-12-18 09:47:14 +02:00
cdde811e72 add token service, sqlite driver and test 2025-12-18 09:46:57 +02:00
8836ea2673 remove comment 2025-12-17 18:51:46 +02:00
a9da570877 add prefix api_ to packages 2025-12-17 18:45:34 +02:00
b79450ecd4 add some info 2025-12-17 18:45:23 +02:00
5011d59912 add some debug messages 2025-12-17 17:15:02 +02:00
7d1a0b82bd add panic.log to gitignore 2025-12-17 14:38:39 +02:00
eef77fa240 add some debug info 2025-12-17 14:38:13 +02:00
16cb8c7f58 change router's names to names with prefix Must, because they might panic 2025-12-17 14:32:49 +02:00
8896188ec4 add sending of additional information to disk during a panic, changed the name of the called routing method 2025-12-17 14:31:35 +02:00
d6859d8cf9 fmt 2025-12-17 14:24:29 +02:00
99ffa05c61 add doc 2025-12-17 14:24:19 +02:00
c6d5fa02d1 add base for auth package 2025-12-17 14:24:07 +02:00
b92682177c back to "old" way to parse url because it dont work with more than 2 "/" 2025-12-17 14:22:40 +02:00
4be8faaa67 change error status 2025-12-17 14:15:24 +02:00
e78fd22f51 add message for disabled static 2025-12-17 14:15:09 +02:00
7a189d56ea add auth api router, change block api router, fix ussue with "*" 2025-12-17 14:12:29 +02:00
441253351d use modern way to parse URL 2025-12-17 14:10:40 +02:00
ffec908ca4 isolate handlers 2025-12-17 14:10:16 +02:00
26052db142 add package header documentation 2025-12-17 13:49:04 +02:00
cda0edfde2 block logic 2025-12-17 11:09:54 +02:00
d78a6bedd5 add blocks 2025-12-17 10:14:13 +02:00
18a31be0b1 some changes 2025-12-14 16:34:42 +02:00
6aae5f9fb0 add function handling (basic) 2025-11-30 15:28:30 +02:00
c1e5fc90ee some changes 2025-11-30 12:50:38 +02:00
004bb7ef7f fix log message and add force kill 2025-11-30 11:32:34 +02:00
847c5a2d08 gitignore 2025-11-30 11:26:50 +02:00
ea7358a35f add reloading and stopping from tsctl 2025-11-30 11:26:22 +02:00
c51dfce9ec add os.Exit(0) 2025-11-30 11:25:39 +02:00
04718759c4 delete println 2025-11-30 10:13:08 +02:00
96f67941ce stop fix 2025-11-30 10:11:46 +02:00
44e92bcfef server with basic hot reload 2025-11-30 10:09:53 +02:00