Commit Graph
100 Commits
Author SHA1 Message Date
alexey 5d49e0afc7 add _errors.lua 2025-10-10 19:26:35 +03:00
alexey 76fed578ff create fully functional get method 2025-10-09 20:26:25 +03:00
alexey 975c52b58e delete unused modules 2025-10-09 20:03:44 +03:00
alexey 4e75d48f1d small fixes 2025-10-09 20:00:48 +03:00
alexey 65af07fffa add delete method 2025-10-09 20:00:40 +03:00
alexey 1252634420 Change method separator to . and move separator symbol and regexp template to global variables 2025-10-09 19:56:41 +03:00
alexey 4a58845211 deledet some files 2025-10-05 19:10:53 +03:00
alexey b0701632e6 add common function to Unit layer 2025-10-05 19:10:45 +03:00
alexey 9277aa9f1a add some files to ginignore 2025-10-05 19:10:31 +03:00
alexey 19654e1eca Ad some CRUD methods to manage units table 2025-10-05 19:09:58 +03:00
alexey d4306a0d89 rename internal.sha256.sum to hash 2025-10-05 19:09:00 +03:00
alexey 73095a69e0 Merge branch 'main' of https://github.com/akyaiy/GoSally-mvp 2025-09-12 19:19:08 +03:00
alexey 0f82ce941b in 2025-09-12 19:18:22 +03:00
alexey 625e5daf71 commit to merge branches 2025-09-12 19:13:46 +03:00
alexey cc27843bb3 add GetSoneInfo (not functional) 2025-08-20 10:12:44 +03:00
alexey 20fec82159 delete old scripts 2025-08-20 10:12:15 +03:00
alexey 055b299ecb some changes with scripts and add new 2025-08-20 10:12:02 +03:00
alexey 17bf207087 fix little bug with script ending 2025-08-20 10:11:36 +03:00
alexey 7ae8e12dc8 add new method 2025-08-20 10:11:14 +03:00
alexey 6e36db428a fmt 2025-08-20 10:11:02 +03:00
alexey 06103a3264 add lua engine skeleton 2025-08-20 10:10:52 +03:00
alexey c6da55ad65 some changes with data field, and fix smth 2025-08-10 16:26:41 +03:00
alexey 20a1e3e7bb fix the List.lua 2025-08-10 16:26:21 +03:00
alexey e594d519a7 add set and set_error methods and fix some bugs 2025-08-10 09:49:35 +03:00
alexey 2ceb236a53 some small changes, and add send, send_error, throw_error and some field 2025-08-09 10:41:50 +03:00
alexey 811403a0a2 echo test function 2025-08-09 10:41:13 +03:00
alexey b451f2d3fc fix jwt dep 2025-08-09 10:41:01 +03:00
alexey 5c01eaad6f rename field __gosally_internal to __seed 2025-08-07 19:58:42 +03:00
alexey 2b38e179db remove a mistake from specification 2025-08-07 15:46:27 +03:00
alexey 2889092821 fix some bugs with params and add params type check 2025-08-07 15:43:49 +03:00
alexey 3df3a7b4b5 remove default case because it's not allowed 2025-08-06 22:24:13 +03:00
alexey c63f1bd123 remove default case because it's not allowed 2025-08-06 22:23:58 +03:00
alexey 095b8559f4 fix bug with params's array.. again 2025-08-06 19:48:02 +03:00
alexey 39532f22ea fix bug with result array 2025-08-06 19:36:08 +03:00
alexey 35cebee819 fix bug with empty result and non table result 2025-08-06 19:17:10 +03:00
alexey 84dfdd6b35 add sha356 module 2025-08-06 16:37:28 +03:00
alexey e693efe8e7 add iat to jwt 2025-08-06 16:37:13 +03:00
alexey c3dcf24e50 improve jwt 2025-08-06 16:36:55 +03:00
alexey 9e7d99e854 fmt 2025-08-06 16:36:39 +03:00
alexey 7f2783b39a add postfix -md5 to checksum field 2025-08-06 15:45:20 +03:00
alexey c08135309f add random salt and result/error checksum 2025-08-06 15:41:25 +03:00
alexey cd9e3ab6c4 remove phone_number from db query 2025-08-06 15:40:42 +03:00
alexey adaedf195f solve a little problem with array's fetching 2025-08-06 14:35:17 +03:00
alexey 87694f6654 make ConvertGolangTypesToLua simplier 2025-08-06 14:01:45 +03:00
alexey fe628e0f7f develop jwt auth for methods 2025-08-06 14:01:27 +03:00
alexey 3898e2833b fmt 2025-08-06 11:32:04 +03:00
alexey e4db8505a0 add sid 2025-08-06 11:31:42 +03:00
alexey 0c25d00171 add github.com/golang-jwt/jwt/v5 to the project 2025-08-06 11:31:33 +03:00
alexey b5a6de0b62 add jwt support 2025-08-06 11:31:14 +03:00
alexey 1d3d74846e rename database-sqlite to database.sqlite 2025-08-06 10:42:26 +03:00
alexey 0141427bfe add print to not allowed functions 2025-08-06 10:04:22 +03:00
alexey 866946646b delete some io.* writing functions 2025-08-06 09:58:40 +03:00
alexey 251e580e8a add headers lua runtime support 2025-08-05 23:15:13 +03:00
alexey c734779b69 rename lL to L 2025-08-05 22:11:29 +03:00
alexey 0923f32b46 make a get function on fetch params table fields 2025-08-05 22:10:15 +03:00
alexey 1c2c4c1356 some small changes for auth scripts 2025-08-05 22:09:55 +03:00
alexey d3eb483461 add com/_config.lua to .gitignore 2025-08-05 22:09:33 +03:00
alexey 5b32698ec5 some scripts changes 2025-08-05 18:37:58 +03:00
alexey 0ed734b2b1 fix sqlite import message 2025-08-04 16:49:33 +03:00
alexey 396352ba15 remove vendor 2025-08-04 16:38:05 +03:00
alexey 7b9bdcf768 add bcrypt module to lua 2025-08-04 16:37:54 +03:00
alexey 47058f0ddd move lua db to external file 2025-08-04 16:37:43 +03:00
alexey a72627d87c delete table creation 2025-08-04 13:38:27 +03:00
alexey 4a9719cdfb sqlite usage example 2025-08-04 13:36:38 +03:00
alexey 7de5ec5248 add sqlite support 2025-08-04 13:36:30 +03:00
alexey e5f9105364 change cors 2025-08-04 13:36:21 +03:00
alexey ce2a23f9e6 make internal modules in "internal" 2025-08-02 16:22:05 +03:00
alexey d56b022bf5 add com/test.lua to .gitignore 2025-08-02 16:13:22 +03:00
alexey ca38c10ec4 made creation of private field before pushing 2025-08-02 16:12:44 +03:00
alexey 13dbd00bb7 update config exaple 2025-08-02 16:12:08 +03:00
alexey e7289dc9be update post example 2025-08-02 11:50:19 +03:00
alexey 5394178abc update lua logging 2025-08-02 11:50:09 +03:00
alexey 981551e944 change default log output to stderr 2025-08-02 10:14:35 +03:00
alexey 27446adf3f add debug information to lua_handler and route 2025-08-02 10:04:00 +03:00
alexey 2f071c25b2 update annotations 2025-08-02 01:02:59 +03:00
alexey d23fd32e84 update annotations 2025-08-02 01:01:05 +03:00
alexey 86d35a9ede update annotations 2025-08-02 00:55:59 +03:00
alexey c77d51a95c some changes with config.log.output 2025-08-02 00:53:19 +03:00
alexey 3cbea14e84 fmt 2025-08-02 00:00:43 +03:00
alexey 6e59af1662 add json_format option for structure logging 2025-08-02 00:00:35 +03:00
alexey 8684d178e0 update Get example 2025-08-01 23:54:44 +03:00
alexey 945ab6c9cf update annotations 2025-08-01 23:53:40 +03:00
alexey 520901c331 update script error handling 2025-08-01 23:53:30 +03:00
alexey 9a274250cd update annotations 2025-08-01 23:25:46 +03:00
alexey 6d49d83ea7 update List.lua 2025-08-01 23:25:36 +03:00
alexey fb04b3bc46 change in/out to request/response 2025-08-01 23:25:24 +03:00
alexey a60b75a4c0 make lua deps modular 2025-08-01 23:18:45 +03:00
alexey 041fda8522 change ErrSessionIsTaken to EssSessionIsBusy 2025-08-01 20:07:15 +03:00
alexey 6508f03d08 fmt 2025-08-01 13:12:57 +03:00
alexey 93cf53025c rename init hooks names 2025-08-01 13:12:27 +03:00
alexey 83912b6c28 add context TODO 2025-08-01 12:56:09 +03:00
alexey 6ed5a7f9e0 add context to Handle method 2025-08-01 12:55:58 +03:00
alexey 2f78e9367c update logger initialization 2025-08-01 12:55:35 +03:00
alexey ac074ce0ff change mapstructure to output 2025-08-01 12:55:17 +03:00
alexey 8bdf9197d6 set default config value to stdout 2025-08-01 12:54:58 +03:00
alexey 4db8fa2360 change fallback os exit to 0 2025-08-01 12:54:41 +03:00
alexey 2a48927a08 update hooks 2025-08-01 12:54:28 +03:00
alexey 58027bb988 add config processing 2025-08-01 12:54:18 +03:00
alexey 30a87fdb4c update List.lua 2025-08-01 12:53:25 +03:00
alexey 5cdfb2a543 config confirmation 2025-08-01 00:56:05 +03:00