Christopher
a62f1e15a6
fix: private memos being public ( #2480 )
...
* fix(web/memo): filter out public option
Filter out the public option if we have disabled public memos
* feat(api/memo): sanity check for disabled public memos
In case something goes wrong, we check the system setting on the backend in order to valdiate if we can create a public memo
* refactor(web/memo): disable public option
Seems like a better option than removing it, as it looks werid if you are looking at a memo that is previously public
* fix(web/memo): use translation keys
* chore(web/editor): remove unsused tooltip
* revert(api/memo): sanity check
* fix(web/memo): allow admins to create public memos
* chore(web/memo): remove unused import
* fix(web/memo): check for both host and admin
* fix(web/memo): remove warning text from MemoDetail
2023-11-05 01:19:54 +08:00
Zexi
8b0083ffc5
fix: auto fetch more ( #2472 )
...
* fix: auto fetch more
* feat: use union type
2023-11-03 05:16:55 +08:00
Athurg Gooth
5d69d89627
feat: week from monday in heatmap for zh-Hans and ko ( #2457 )
...
* week from monday in heatmap for zh-Hans and ko
* optimize code
2023-10-31 12:06:14 +08:00
Athurg Gooth
b966c16dd5
fix: data too large for mysql ( #2470 )
...
* Extend some TEXT field to LONGTEXT in mysql
* move db migration version
* fix error in migrate SQL
2023-10-31 10:23:15 +08:00
Steven
97190645cc
chore: update memo editor styles
2023-10-29 23:59:23 +08:00
Steven
c26417de70
chore: update docs links
2023-10-29 18:36:09 +08:00
Steven
f5c1e79195
chore: update about dialog
2023-10-28 15:17:33 +08:00
Steven
d02105ca30
chore: update i18n
2023-10-28 15:10:20 +08:00
Steven
44e50797ca
chore: update go mods
2023-10-28 14:57:39 +08:00
Steven
7058f0c8c2
chore: add docs link in settings
2023-10-28 14:56:08 +08:00
Steven
f532ccdf94
chore: upgrade frontend deps
2023-10-28 14:55:57 +08:00
Steven
a6fcdfce05
chore: update memo comment i18n
2023-10-28 11:39:10 +08:00
Steven
dca712d273
chore: fix resource tests
2023-10-28 10:51:03 +08:00
Steven
ac81d856f6
chore: delete resource file sync
2023-10-28 10:42:39 +08:00
Steven
88fb79e458
chore: impl inbox store for mysql
2023-10-28 09:44:52 +08:00
Steven
480c53d7a2
chore: fix id converter
2023-10-28 09:04:32 +08:00
Steven
2b7d7c95a5
chore: update inbox detect
2023-10-28 09:02:02 +08:00
Steven
0ee938c38b
chore: remove unused inbox status
2023-10-28 02:49:35 +08:00
Steven
3c36cc2953
feat: add inbox ui
2023-10-28 02:43:46 +08:00
Steven
79bb3253b6
chore: add activity service
2023-10-28 00:21:53 +08:00
Steven
18107248aa
chore: rename list inbox
2023-10-28 00:08:42 +08:00
Athurg Gooth
4f1bb55e55
fix: metric env not affect ( #2450 )
...
fix metric env not affect
2023-10-27 23:26:23 +08:00
Athurg Gooth
20d3abb99a
chore: downgrade log level for auto backup disable ( #2454 )
...
downgrade log level for auto backup disable
2023-10-27 23:25:51 +08:00
Steven
1b34119e60
chore: update activity store definition
2023-10-27 23:24:56 +08:00
Steven
9d2b785be6
chore: fix inbox test
2023-10-27 23:17:17 +08:00
Steven
36b4ba33fa
chore: remove outdated activity definition
2023-10-27 23:11:56 +08:00
Steven
625ebbea1a
chore: update proto linter action
2023-10-27 21:49:07 +08:00
Athurg Gooth
0f4e5857f0
chore: remove gRPC listener ( #2456 )
...
Disable gRPC listener
2023-10-27 21:38:17 +08:00
Athurg Gooth
76d955a69a
chore: docker compose dev ( #2458 )
...
* add golang build cache volume to speedup build
* replace `lint` with `npm` to run more scripts
* wrap golangci-lint as entrypoint instead of command
2023-10-27 21:21:52 +08:00
Athurg Gooth
e41ea445c9
fix: missing relation after post comment ( #2452 )
...
fix missing relation after post comment
2023-10-27 10:12:25 +08:00
boojack
c952651dc1
chore: update i18n from Weblate ( #2455 )
...
* Translated using Weblate (Croatian)
Currently translated at 92.3% (290 of 314 strings)
Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/hr/
* Translated using Weblate (Korean)
Currently translated at 100.0% (314 of 314 strings)
Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/ko/
---------
Co-authored-by: May Kittens Devour Your Soul <yoshimitsu002@gmail.com>
Co-authored-by: nulta <un5450@naver.com>
2023-10-27 10:12:02 +08:00
Steven
58e771a1d7
chore: combine v2 services
2023-10-27 09:07:35 +08:00
Steven
e876ed3717
feat: impl part of inbox service
2023-10-27 09:01:17 +08:00
Steven
67d2e4ebcb
chore: update method name
2023-10-27 08:36:43 +08:00
Steven
4ea78fa1a2
chore: impl inbox store methods
2023-10-27 08:17:58 +08:00
Steven
93b8e2211c
chore: update dev latest schema
2023-10-27 01:18:00 +08:00
Steven
052216c471
chore: fix list activities typo
2023-10-27 01:11:41 +08:00
Steven
e5978a70f5
chore: initial inbox store model
2023-10-27 01:10:19 +08:00
Steven
59f0ee862d
chore: fix viper default value
2023-10-27 00:49:58 +08:00
Athurg Gooth
215981dfde
chore: remote context.Context pointer ( #2448 )
...
remote context.Context pointer
2023-10-26 20:21:44 +08:00
Athurg Gooth
bfdb33f26b
chore: add a flag to change metric switch ( #2447 )
...
* add a flag to change metric switch
* change the default value of metric
2023-10-26 20:21:18 +08:00
Steven
5b3af827e1
chore: move common packages to internal
2023-10-26 09:02:50 +08:00
Steven
9859d77cba
chore: update links
2023-10-26 09:00:36 +08:00
Athurg Gooth
064c930aed
fix: validate username before create token ( #2439 )
...
Validate username before create token
2023-10-25 12:05:44 +08:00
Athurg Gooth
043357d7dc
fix: list token for others failed ( #2440 )
...
Fix list token for others failed
2023-10-25 12:05:30 +08:00
Athurg Gooth
3a5deefe11
chore: disable NPM update notice while running lint ( #2438 )
...
Disable NPM update notice while running lint
2023-10-25 10:00:45 +08:00
Athurg Gooth
2c71371b29
chore: update @typescript-eslint to avoid WARNING ( #2437 )
...
Update @typescript-eslint to avoid WARNING
2023-10-25 10:00:30 +08:00
Steven
222e6b28b7
chore: update website links in readme
2023-10-25 07:43:52 +08:00
Athurg Gooth
496cde87b2
feat: list access tokens by admin ( #2434 )
...
* Allow admin user list access_tokens of anyone
* fix undefined variable
* Update api/v2/user_service.go
---------
Co-authored-by: boojack <stevenlgtm@gmail.com>
2023-10-24 18:51:01 +08:00
Athurg Gooth
79bbe4b82a
feat: support filter creator in /api/v2/memos ( #2432 )
...
* Add creator_id param in /api/v2/memos
* make creator_id optional
2023-10-23 21:32:58 +08:00