Commit Graph
1191 Commits
Author SHA1 Message Date
qwqcode fed83263e2 fix(notify_pusher): panic when admin ids array is empty (#634) 2023-11-03 10:39:56 +08:00
qwqcode 9dc2d83486 chore(dev): fix .eslintignore in vscode
Add this config in `.vscode/settings.json`: `{"eslint.workingDirectories": ["./path/to/nested/front/project"]}` In this case, your `.eslintignore` file should be located in the nested path location (you have a front project in a nested folder inside the main project at root).
2023-11-01 10:59:58 +08:00
qwqcode d918caaf81 fix(ui/conf): sanitize noComment conf option for security (#624) 2023-10-31 20:11:47 +08:00
qwqcode d44212bd90 refactor(ui/marked): separate markdown related codes 2023-10-30 20:13:18 +08:00
qwqcode 37d4ca76fa refactor(ui): reduce coupling with ContextApi 2023-10-30 19:50:32 +08:00
qwqcode 8cc39f322c chore(ui/deps): downgrade eslint-import-resolver-typescript
Downgrade `eslint-import-resolver-typescript` to version 2.7.0 to resolve linting issue on Windows development environment.

https://github.com/ArtalkJS/Artalk/discussions/621#discussioncomment-7416173
2023-10-29 22:59:47 +08:00
qwqcode 2b4e80651a feat(ui): support scrollRelativeTo config option 2023-10-29 21:52:59 +08:00
qwqcode 415fa0f2e3 chore(ui/sidebar): fix sidebar dependant issues caused by refactoring 2023-10-29 21:51:54 +08:00
qwqcode 91809002d7 chore(ui): fix issues caused by refactoring 2023-10-29 19:01:16 +08:00
qwqcode dcaad1b2d5 chore(ui/lint): follow the import/no-cycle eslint rule 2023-10-29 13:12:36 +08:00
qwqcode 5e635bba68 chore(ui/list): let the service of list non-optional 2023-10-28 20:33:38 +08:00
qwqcode d136d086eb refactor(ui/stat): losing coupling of CountWidget 2023-10-28 20:07:55 +08:00
qwqcode 9fe765f874 refactor(ui/api): loose coupling between Api and Context 2023-10-28 00:02:17 +08:00
qwqcode 72317ead34 refactor(ui): separate standalone admin-only-elem checker 2023-10-27 22:50:24 +08:00
qwqcode 75c7914fb1 refactor(ui/types): better ArtalkType import and export (#620) 2023-10-27 22:24:53 +08:00
qwqcode 863b4deec0 refactor(ui/conf): loose coupling between config and list fetch 2023-10-27 17:23:05 +08:00
qwqcode 6e6fd8d587 refactor(ui/marked): loose coupling with marked func 2023-10-27 16:32:24 +08:00
qwqcode 1608911328 refactor(ui/list): separate list into standalone components (#618)
* refactor(ui/list): separate the functions of list

* fix

* move files
2023-10-27 14:28:58 +08:00
qwqcode 87a62961b6 fix(style/list): replace float to text-align in footer part (#619) 2023-10-27 00:24:11 +08:00
qwqcode e6a9748e70 refactor(ui/plugin): further divide functionality into plugins (#615)
* move stat to plugins folder

* move editor plugs to common plugins folder

* implement list-close-editor standalone plugin

* impl StateManager for Loose Coupling of Reply, Edit, and Submit Components

* rename

* remove Mover dep in editor edit state plugin

* rename editor state plugins

* refactor header plugin of editor

* separate header plugins

* add and remove event binding

* fix plugin btn ui refresh when conf updating

* rename editor plugins and remove plug classname suffix

* editor kit reload plugin when conf-loaded

* impl clear method in editor-kit class

* separate version-check from list

* separate unread from list

* make context maintain globally accessible `page` data

* rename plug to plugin

* wrap the options of List up

* separate functionalities of list

* rename
2023-10-20 17:14:53 +08:00
qwqcode 0f35532f0b refactor(editor): refactor plug kit and events (#613) 2023-10-17 20:11:47 +08:00
qwqcode d21e47f881 refactor(ui/event): refactor core event manager (#611) 2023-10-15 23:08:31 +08:00
qwqcode 8d11a239fa refactor(editor): refactor editor plugin manager (#609)
* refactor(editor): refactor editor plugin manager

* update

* modify editorTravelBack to editorResetUI
2023-10-15 21:05:30 +08:00
github-actions[bot] 8867eb296c chore: release v2.6.4 v2.6.4 2023-10-12 06:19:33 +00:00
qwqcode a53ddc9f76 feat(go): upgrade golang to v1.21.3 and some deps 2023-10-12 14:14:07 +08:00
qwqcode 5ee9e76dcf fix(style): fix copyright text overlay on send button (#607) 2023-10-12 13:35:24 +08:00
qwqcode 3d5f77ab35 fix(email): sender not initialized correctly 2023-10-12 13:30:45 +08:00
qwqcode 25a4f48e5e fix(editor): fix duplicate event binding when update conf (#605) 2023-10-12 09:48:34 +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
github-actions[bot] 5d2950f842 chore: release v2.6.3 v2.6.3 2023-09-20 08:40:36 +00:00
qwqcode 25c2f30165 chore(deps): upgrade go app deps 2023-09-20 16:36:33 +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 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 da692649bc docs: new landing page 2023-09-17 17:42:51 +08:00
github-actions[bot] a0892fc4c0 chore: release v2.6.2 v2.6.2 2023-09-12 09:43:50 +00:00
qwqcode c1e365fdfd chore: relicense from LGPLv3 to MIT 2023-09-12 17:02:41 +08:00
qwqcode e6e6d2aa54 perf(style): modify z-index less than 5 (#578) 2023-09-12 16:41:11 +08:00
qwqcode ac70cd4c9d fix(cmd): remove app instance creation when mini boot (#577) 2023-09-12 16:35:02 +08:00
qwqcode 600030b528 chore(script): move dev config from local to data folder 2023-09-12 16:09:37 +08:00
github-actions[bot] 4e1537b4f0 chore: release v2.6.1 v2.6.1 2023-09-11 08:37:27 +00:00
Moraxyc 8a8aac945d docs(extras): add deploy guide for railway.app (#567) 2023-09-11 16:35:55 +08:00
Moraxycandqwqcode 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
qwqcode 6c35fe9ded fix(captcha): image captcha base64 response issue (#575) 2023-09-11 15:17:11 +08:00
qwqcode 9ea6e8d981 build: fix build-app workflow by disable cache 2023-09-01 21:59:57 +08:00