qwqcode
bad248534c
docs: revise and add more examples
...
BREAKING CHANGE: The following top-level functions exported by the 'artalk' npm package have been deprecated: `Artalk.update`, `Artalk.reload`, and `Artalk.destroy`. These methods now require invocation on an instance created by either `Artalk.init` or `new Artalk`. Please utilize instance-level methods instead, such as `artalkInstance.update`. For more information, refer to [the documentation](https://artalk.js.org/guide/frontend/import-framework.html ). The update was implemented to enable the concurrent creation of multiple instances, adapting to situations where Vue components are simultaneously referenced across various pages. Initially, only a singular instance was permitted to mitigate memory leak concerns. However, this proved limiting for scenarios involving the caching of multiple component instances through 'keep-alive.' To better suit intricate SPA application needs, the choice was made to permit the creation of multiple independent instances. It's crucial to remember to manually invoke the `artalk.destroy` method when releasing components to avoid memory leaks (Issue #660 ).
2023-12-17 19:16:33 +08:00
qwqcode
bbe2e8416c
chore(docs): more description for VitePress example
2023-12-17 02:23:43 +08:00
qwqcode
d44e79b1f4
docs(import): update the examples in import-framework.md ( #665 )
2023-12-17 01:54:21 +08:00
qwqcode
b97136b83f
chore(docs): tidy up documentation
2023-12-13 19:09:14 +08:00
LeenHawk
aa87ab94f5
docs(deploy): add deployment guide for render.com ( #649 )
...
* 添加render.com部署指南文章链接
* Update
2023-11-21 21:38:26 +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
e40235b1c7
fix(notify_tpl): fix template render result in notify case
2023-09-20 14:15:54 +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
c1e365fdfd
chore: relicense from LGPLv3 to MIT
2023-09-12 17:02:41 +08:00
Moraxyc
8a8aac945d
docs(extras): add deploy guide for railway.app ( #567 )
2023-09-11 16:35:55 +08:00
Moraxyc and qwqcode
89be748dee
docs(config): add info about env variables ( #566 )
...
* doc(config): add info about env variables
* modify
* modify
---------
Co-authored-by: qwqcode <qwqcode@gmail.com >
2023-09-11 16:34:26 +08:00
WayJam So
7e476ded1c
docs(extras): add deploy guide for fly.io ( #520 )
2023-06-05 19:08:07 +08:00
qwqcode
08c0b297e5
feat(gravatar): add gravatar.params config option ( #508 )
...
* feat(gravatar): add `gravatar.params` config option
BREAKING CHANGE: The `gravatar.default` config option has been removed. Please use `gravatar.params` instead. The default value for `gravatar.params` is now `"d=mp&s=240"`.
Signed-off-by: qwqcode <qwqcode@gmail.com >
* add docs and fix sidebar
Signed-off-by: qwqcode <qwqcode@gmail.com >
---------
Signed-off-by: qwqcode <qwqcode@gmail.com >
2023-05-10 13:42:04 +08:00
qwqcode
069a33773c
docs: refine and add frontend api docs
...
Signed-off-by: qwqcode <qwqcode@gmail.com >
2023-03-10 20:17:41 +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
c8f9a08bfc
feat(captcha): support turnstile captcha by cloudflare ( #453 )
...
* feat(captcha): support turnstile captcha by cloudflare
Signed-off-by: qwqcode <qwqcode@gmail.com >
* docs: add turnstile captcha
Signed-off-by: qwqcode <qwqcode@gmail.com >
---------
Signed-off-by: qwqcode <qwqcode@gmail.com >
2023-03-09 17:17:54 +08:00
qwqcode
9f7dd15bf8
perf(ui/sidebar): improve sidebar i18n
...
Signed-off-by: qwqcode <qwqcode@gmail.com >
2023-03-09 13:41:28 +08:00
qwqcode
9e72c74a8d
chore(docs): upgrade and fix css
...
Signed-off-by: qwqcode <qwqcode@gmail.com >
2023-03-08 11:45:36 +08:00
qwqcode
37f68f1604
feat(ui/height_limit): support scrollable height limit area ( #451 )
...
Signed-off-by: qwqcode <qwqcode@gmail.com >
2023-03-08 11:17:54 +08:00
Kindle deep and qwqcode
a677443a7c
chore(docs): refine import-blog.md hugo case ( #413 )
...
* Update import-blog.md
* Update import-blog.md
* Update import-blog.md
---------
Co-authored-by: qwqcode <qwqcode@gmail.com >
2023-03-06 22:10:29 +08:00
qwqcode
fccebf853e
feat: display IP region of comment ( #418 ) ( #447 )
...
* ip_region backend api
Signed-off-by: qwqcode <qwqcode@gmail.com >
* frontend ui support
Signed-off-by: qwqcode <qwqcode@gmail.com >
* fix backend
Signed-off-by: qwqcode <qwqcode@gmail.com >
* handle mutiple ip case
Signed-off-by: qwqcode <qwqcode@gmail.com >
* add docs
Signed-off-by: qwqcode <qwqcode@gmail.com >
---------
Signed-off-by: qwqcode <qwqcode@gmail.com >
2023-03-06 21:54:03 +08:00
二丫讲梵
25acedd3ee
docs(extras): add deploy guide for vuepress ( #436 )
2023-02-28 19:09:48 +08:00
Baoshuo Ren and qwqcode
d57b747991
docs(deploy): add restart=always for docker to auto restart ( #425 )
...
* fix: 为 docker 容器指定 restart=always 使得容器可以自动重启
* Update deploy.md
---------
Co-authored-by: qwqcode <qwqcode@gmail.com >
2023-02-22 11:40:18 +08:00
qwqcode
9e26b22058
chore(docs): revise some docs
...
Signed-off-by: qwqcode <qwqcode@gmail.com >
2023-02-05 23:25:11 +08:00
qwqcode
d411763118
fix(email): failback to email.mail_tpl if admin_notify.email.mail_tpl is empty
...
Signed-off-by: qwqcode <qwqcode@gmail.com >
2023-02-05 23:24:27 +08:00
qwqcode
e447657c94
docs: fix content and update index
2023-02-04 18:13:41 +08:00
Mr.Hope
a67632a48a
docs: fix wrong config value ( #371 )
...
* Update fe-control.md
* Update fe-control.md
2023-02-03 13:36:21 +08:00
Mr.Hope
0b7b6ca623
docs: fix broken links ( #364 )
2023-02-02 16:06:59 +08:00
qwqcode
e6ac313875
chore(docs): fix vitepress build issue
...
Signed-off-by: qwqcode <qwqcode@gmail.com >
2023-01-26 21:08:34 +08:00
qwqcode
34e59e653f
refactor(CI): improve build and release workflows ( #358 )
...
* refactor(CI): build and publish workflows
Signed-off-by: qwqcode <qwqcode@gmail.com >
* fix(docs): version in cdn link output issue
Signed-off-by: qwqcode <qwqcode@gmail.com >
Signed-off-by: qwqcode <qwqcode@gmail.com >
2023-01-26 20:07:55 +08:00
qwqcode
7de6c27bd8
feat(i18n): add i18n support for sidebar ( #353 )
...
* docs: revise config example template
Signed-off-by: qwqcode <qwqcode@gmail.com >
* feat: add i18n for sidebar
Signed-off-by: qwqcode <qwqcode@gmail.com >
* feat: i18n for backend config in sidebar
Signed-off-by: qwqcode <qwqcode@gmail.com >
* feat(i18n): link FE and BE locale conf
Signed-off-by: qwqcode <qwqcode@gmail.com >
Signed-off-by: qwqcode <qwqcode@gmail.com >
2023-01-21 22:53:34 +08:00
qwqcode
7e01f9d0ed
chore: revert the rename of image on dockerhub ( #351 )
...
Signed-off-by: qwqcode <qwqcode@gmail.com >
Signed-off-by: qwqcode <qwqcode@gmail.com >
2023-01-20 13:28:14 +08:00
qwqcode
593639f92e
chore: move files from docs/docs to docs
...
Signed-off-by: qwqcode <qwqcode@gmail.com >
2023-01-17 19:34:59 +08:00