Commit Graph
77 Commits
Author SHA1 Message Date
alexey bd06d071b2 add swagger 2025-12-20 17:36:36 +02:00
alexey f0d7d79e0f add swagger 2025-12-20 17:36:24 +02:00
alexey 78a8e46b3e implement endpoint /roles 2025-12-19 14:27:17 +02:00
alexey 69281f3337 fmt 2025-12-19 14:27:01 +02:00
alexey 07ec64b1bb add acl service 2025-12-19 14:26:37 +02:00
alexey cd465d42a3 add init functions 2025-12-19 14:26:28 +02:00
alexey c0a187d461 implement basic acl operations and tests 2025-12-19 14:26:05 +02:00
alexey 5a34a445cf add acl service 2025-12-19 14:25:43 +02:00
alexey e12b4dea12 add legacy route and new 2025-12-19 09:23:03 +02:00
alexey beba3cfb4b comment incorrect test 2025-12-18 20:03:21 +02:00
alexey 0f966fa17e remove unused functions 2025-12-18 20:02:49 +02:00
alexey 7546d1bece fix issue with NewService and remove unused GetById/Username 2025-12-18 20:02:38 +02:00
alexey 45f4c76ff5 mod GetBy function 2025-12-18 20:01:28 +02:00
alexey 73343fd57b format 2025-12-18 19:59:57 +02:00
alexey 6c9f8bcec0 fix test 2025-12-18 19:59:49 +02:00
alexey f65150cec3 add config to deps 2025-12-18 19:59:22 +02:00
alexey 99fd0f5776 add function what returns http.StatusNotImplemented 2025-12-18 19:59:06 +02:00
alexey 524749b329 rename called function 2025-12-18 19:58:41 +02:00
alexey c80f7932b4 add doc 2025-12-18 19:58:29 +02:00
alexey e2b92f8ba1 make jwt.Parse public 2025-12-18 19:58:21 +02:00
alexey a1f6c1ffa9 add jwt config 2025-12-18 19:58:04 +02:00
alexey 7e581d99f5 create auth package 2025-12-18 19:57:51 +02:00
alexey ad980ee600 implement work with services 2025-12-18 19:57:38 +02:00
alexey 438bed8f13 implement some auth (user) endpoints 2025-12-18 19:57:20 +02:00
alexey e9b7f8ca17 rename 2025-12-18 19:56:56 +02:00
alexey ae1e5600ae go mod bcrypt 2025-12-18 19:56:46 +02:00
alexey 44d39db701 git ignore add secret 2025-12-18 19:56:31 +02:00
alexey adf61a4d1d add token config 2025-12-18 11:25:07 +02:00
alexey 97253ee9c7 add field UserID 2025-12-18 11:24:57 +02:00
alexey 4ae85c73bb remove prefix Token 2025-12-18 11:24:48 +02:00
alexey 16b6b292c6 make functions more universal 2025-12-18 11:24:34 +02:00
alexey 6f4657caff add comments 2025-12-18 10:50:08 +02:00
alexey 53761db1e0 add user crud interface in impl 2025-12-18 10:49:56 +02:00
alexey 603f007c63 gitignore add testdata/ and remove cached tokens.db 2025-12-18 10:49:35 +02:00
alexey 597000f222 add jwt creating and parsing 2025-12-18 10:48:27 +02:00
alexey 3b74f5c43d go get uuid 2025-12-18 10:47:58 +02:00
alexey 8de6a9212a add auth service to main router's deps 2025-12-18 09:48:14 +02:00
alexey 64dad6619e require jwt 2025-12-18 09:47:14 +02:00
alexey cdde811e72 add token service, sqlite driver and test 2025-12-18 09:46:57 +02:00
alexey 8836ea2673 remove comment 2025-12-17 18:51:46 +02:00
alexey a9da570877 add prefix api_ to packages 2025-12-17 18:45:34 +02:00
alexey b79450ecd4 add some info 2025-12-17 18:45:23 +02:00
alexey 5011d59912 add some debug messages 2025-12-17 17:15:02 +02:00
alexey 7d1a0b82bd add panic.log to gitignore 2025-12-17 14:38:39 +02:00
alexey eef77fa240 add some debug info 2025-12-17 14:38:13 +02:00
alexey 16cb8c7f58 change router's names to names with prefix Must, because they might panic 2025-12-17 14:32:49 +02:00
alexey 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
alexey d6859d8cf9 fmt 2025-12-17 14:24:29 +02:00
alexey 99ffa05c61 add doc 2025-12-17 14:24:19 +02:00
alexey c6d5fa02d1 add base for auth package 2025-12-17 14:24:07 +02:00