73 Commits
Author SHA1 Message Date
qwqcode 5eddd9ff05 feat(config): support load env variables as config (#564) 2023-09-01 19:34:57 +08:00
qwqcode 2bdb806aaf refactor(conf): better config.NewFromFile with error handle 2023-09-01 17:02:05 +08:00
qwqcode a1b3f1a1f7 fix(cache): child comment ids store after comment updated 2023-09-01 17:02:05 +08:00
qwqcode dc333e5a9a refactor(core): better AppService func with error handle 2023-09-01 17:02:04 +08:00
qwqcode f0ecff9199 fix(config): fix ip region patch 2023-09-01 17:02:04 +08:00
qwqcode 71e0fcec75 fix(limiter): fix limiter always mode 2023-09-01 17:02:03 +08:00
qwqcode 2669b0efe8 perf(cmd): support command mini boot mode 2023-09-01 17:02:03 +08:00
qwqcode a8b4eb6047 test(utils): add tests for utils 2023-09-01 17:02:02 +08:00
qwqcode cc7b2f574c test(ip_region): add tests for ip_region 2023-09-01 17:02:02 +08:00
qwqcode 150de6d7c0 test(limiter): add tests for limiter 2023-09-01 17:02:02 +08:00
qwqcode 1da3f6420e test(artransfer): add tests for artransfer 2023-09-01 17:02:02 +08:00
qwqcode 919dfa43d0 test(db): add tests for db 2023-09-01 17:02:01 +08:00
qwqcode b6805ce948 fix(db): fix dsn strings for mysql connections (#541) 2023-09-01 17:02:01 +08:00
qwqcode 137610aa82 test(i18n): add tests for i18n 2023-09-01 17:02:01 +08:00
qwqcode 0cbb5b2dd1 test(core): add tests for core 2023-09-01 17:02:00 +08:00
qwqcode 9e59fefc8a test(cache): add tests for cache and dao cache adaptor 2023-09-01 17:02:00 +08:00
qwqcode 6ead92db54 refactor(cache): cache code tidy-up 2023-09-01 17:02:00 +08:00
qwqcode 388b5b8b24 refactor(cache): refactor cache pkg 2023-09-01 17:02:00 +08:00
qwqcode fc6c6286db refactor(dao_cache): add dao_cache pkg 2023-09-01 17:01:59 +08:00
qwqcode 3af4482db6 refactor(cache): refactor cache pkg 2023-09-01 17:01:59 +08:00
qwqcode c9f8e9b824 chore: modify pkged type to fs.FS 2023-09-01 17:01:58 +08:00
qwqcode 2e07d2a2ca refactor(limiter): add limiter pkg 2023-09-01 17:01:56 +08:00
qwqcode 8f5a84969b refactor(ip_region): refactor ip_region pkg 2023-09-01 17:01:56 +08:00
qwqcode 1e76a4d99f refactor(email): refactor email pkg 2023-09-01 17:01:55 +08:00
qwqcode 840621a6b1 refactor(cloud): refactor cloud pkg 2023-09-01 17:01:55 +08:00
qwqcode 24485f9615 refactor(captcha): refactor captcha pkg 2023-09-01 17:01:55 +08:00
qwqcode d4f0ae8ad7 feat(simple_cache): a simple thread-safe cache with sync.Map 2023-09-01 17:01:55 +08:00
qwqcode a06928378a refactor(cache): refactor cache pkg 2023-09-01 17:01:54 +08:00
qwqcode bf93ca78c8 refactor(artransfer): refactor artransfer pkg 2023-09-01 17:01:54 +08:00
qwqcode 75180877b1 refactor(anti_spam): refactor anti_spam pkg 2023-09-01 17:01:54 +08:00
qwqcode d58355209a refactor(notify): add notify_pusher pkg 2023-09-01 17:01:53 +08:00
qwqcode 8488b7e18b refactor(i18n): refactor i18n pkg 2023-09-01 17:01:53 +08:00
qwqcode e7aced94dd feat(hook): add hook pkg 2023-09-01 17:01:53 +08:00
qwqcode 3dd93c33b3 feat(utils): add common random utils 2023-09-01 17:01:52 +08:00
qwqcode bd613a3304 refactor(config): refactor config pkg 2023-09-01 17:01:52 +08:00
qwqcode 7028dcd905 refactor(log): create common log pkg 2023-09-01 17:01:52 +08:00
qwqcode 9ef063cf98 refactor(db): refactor db pkg 2023-09-01 17:01:52 +08:00
qwqcode bf13e1cdba refactor(test): create common test pkg 2023-09-01 17:01:51 +08:00
qwqcode 79f5f53886 refactor(dao): refactor dao pkg 2023-09-01 17:01:51 +08:00
qwqcode 4c951d7e44 refactor(core): refactor core pkg 2023-09-01 17:01:51 +08:00
qwqcode b034e514a7 refactor(cache): remove cached fields in struct to save memory (#555) 2023-08-23 18:06:03 +08:00
qwqcode 2b990ff433 feat(go): upgrade golang to v1.20.3 and some deps (#485)
Signed-off-by: qwqcode <qwqcode@gmail.com>
2023-04-09 20:06:00 +08:00
qwqcode 7dd8668b6e perf(ip_region): add db file existence check and error message (#482)
Signed-off-by: qwqcode <qwqcode@gmail.com>
2023-04-06 21:05:37 +08:00
qwqcode ac4b8b0b80 fix(api/comment_add): SIGSEGV crash in comment_add (#478) (#481)
Signed-off-by: qwqcode <qwqcode@gmail.com>
2023-04-06 20:46:27 +08:00
qwqcode 848969edbc perf(notify): shorten the length of notify key (#466)
Signed-off-by: qwqcode <qwqcode@gmail.com>
2023-03-19 19:43:20 +08:00
qwqcode 9fb17d0483 chore(typo): fix filename typo
Signed-off-by: qwqcode <qwqcode@gmail.com>
2023-03-17 09:13:53 +08:00
qwqcode b71fe13787 refactor(anti_spam/aliyun): accessing aliyun green text api without sdk (#459)
Signed-off-by: qwqcode <qwqcode@gmail.com>
2023-03-14 23:12:12 +08:00
qwqcode 7efddf713a style: improve some styles
Signed-off-by: qwqcode <qwqcode@gmail.com>
2023-03-10 18:37:39 +08:00
qwqcode 835f41bc3a feat(captcha): add support for reCAPTCHA and hCaptcha (#456)
* feat(captcha): add support for reCAPTCHA and hCaptcha

Signed-off-by: qwqcode <qwqcode@gmail.com>

* refine docs

Signed-off-by: qwqcode <qwqcode@gmail.com>

---------

Signed-off-by: qwqcode <qwqcode@gmail.com>
2023-03-10 13:06:23 +08:00
qwqcode b54ed8115a refactor(captcha): abstract captcha service (#455)
Signed-off-by: qwqcode <qwqcode@gmail.com>
2023-03-10 10:39:05 +08:00