qwqcode
362fc19cd8
feat: patch locale config from zh-cn to zh-CN ( #678 )
2023-12-18 20:17:04 +08:00
Zijing Zhang
f56ac4eabc
perf(cache): implement GC feature for simple_cache pkg ( #656 )
...
* feat: garbage collection feature
A new `GC()` method has been added to the `Cache` struct,
which performs garbage collection by deleting expired entries from the
cache.
2023-12-17 02:32:47 +08:00
qwqcode
fed83263e2
fix(notify_pusher): panic when admin ids array is empty ( #634 )
2023-11-03 10:39:56 +08:00
qwqcode
3d5f77ab35
fix(email): sender not initialized correctly
2023-10-12 13:30:45 +08:00
qwqcode
2dc3bc8934
test(simple_cache): add unit test
2023-09-25 21:15:58 +08:00
qwqcode
7b1bb25d6a
test(image_captcha): add unit test
2023-09-25 21:07:05 +08:00
qwqcode
9bed5be236
test(email): add unit test for queue
2023-09-25 20:54:22 +08:00
qwqcode
ec0ef12b0e
refactor(anti_spam): refactor anti_spam pkg and add unit test ( #589 )
...
* refactor(anti_spam): refactor anti_spam pkg and add unit test
* add more test
2023-09-21 21:48:56 +08:00
qwqcode
d8b49773b3
feat(config): add db.ssl to enable db ssl mode ( #587 )
...
* feat(config): add `db.ssl` to enable db ssl mode
* update artalk.example.simple.yml
* add docs
* modify conf
2023-09-20 16:19:19 +08:00
qwqcode
2c8107a4b7
chore: remove page accessible_url field in database storage
2023-09-20 15:24:46 +08:00
qwqcode
9f8aba068e
perf(config): add error message for timezone setting ( #586 )
...
* perf(config): add error message for timezone setting
* update
2023-09-20 15:20:48 +08:00
qwqcode
e050544d21
refactor(renderer): abstract func of template renderer for multi-cases ( #585 )
...
* refactor(email_renderer): abstract function of template renderer for multi-cases
* abstract template loader
* add render test
* update docs
* chore: move pkg to template
* abstract template pkg
2023-09-20 12:10:20 +08:00
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