Commit Graph

456 Commits

Author SHA1 Message Date
8d08cfe1c9 fix: incorrectly checking whether registration is allowed in the login v1 api (#2998)
fix: Incorrectly checking whether registration is allowed in the login interface, resulting in the inability to log in through apiv1
2024-02-26 13:36:17 +08:00
b0f52ade7a chore: remove metric service 2024-02-24 23:32:39 +08:00
e602aeecc1 fix: update workspace general setting 2024-02-23 09:08:49 +08:00
ce133ad69b chore: retire unused workspace settings 2024-02-23 08:40:33 +08:00
51d58d3982 chore: add workspace setting migrator 2024-02-21 23:43:18 +08:00
ce32206677 chore: remove unused system setting 2024-02-21 21:15:28 +08:00
50a3af3b29 chore: fix get general setting 2024-02-21 20:44:35 +08:00
fa62e8b59a chore: tweak linter errors 2024-02-20 23:07:42 +08:00
8e11826db1 chore: update workspace setting service 2024-02-20 23:02:01 +08:00
3dddd3ec4c chore: tweak reaction store 2024-02-09 21:59:45 +08:00
4081a6f5ad chore: add more reactions 2024-02-08 21:20:51 +08:00
3a5bc82d39 chore: implement reaction service 2024-02-08 11:54:59 +08:00
43a2d6ce09 chore: tweak user setting 2024-02-08 08:06:55 +08:00
d2434111b4 chore: impl compact mode setting (#2935)
* chore: backend/DB related files for compact view setting.

* fix: passing lint errors

* fix2: passing linter errors
2024-02-08 08:05:56 +08:00
99568236a3 chore: run buf generate 2024-02-07 21:51:30 +08:00
06fb2174c3 feat: add compact mode setting (Proto) (#2934)
* chore: proto related files for compact view setting.

* fix: pasing lint errors
2024-02-07 21:45:11 +08:00
ded8001735 chore: fix v2 routes 2024-02-06 20:55:27 +08:00
185ec2ad2a chore: update inbox service 2024-02-06 19:46:25 +08:00
6b59c7670c chore: fix linter warning 2024-02-05 23:32:01 +08:00
434ef44f8c chore: add cookie builder 2024-02-05 23:28:29 +08:00
46ea16ef7e chore: fix cookie attrs 2024-02-05 22:14:58 +08:00
8f15e8773a chore: update cookie attrs 2024-02-05 21:42:23 +08:00
06eff151e7 chore: tweak memo find builder 2024-02-05 06:40:55 +08:00
ce663efc14 chore: update cookie attrs 2024-02-05 00:11:36 +08:00
9e72432f19 chore: tweak cookie attrs 2024-02-05 00:10:54 +08:00
c92507728a chore: tweak filter checks 2024-02-04 21:07:14 +08:00
eb4f7b47b7 chore: update memo find builder 2024-02-04 20:54:17 +08:00
1e07b70d23 chore: fix export memos 2024-02-04 20:20:14 +08:00
c342c464a2 chore: update services comment 2024-02-01 21:26:09 +08:00
dd06278692 feat: add batch upsert tags 2024-02-01 21:13:42 +08:00
2f0b0e0071 chore: remove node definition 2024-01-31 22:32:09 +08:00
3158c4b8b5 fix: role error in api/v2 when the first user registers (#2875)
Fix role error in api/v2 when the first user registers
2024-01-31 19:55:52 +08:00
30ae4140f3 chore: update gomark source 2024-01-31 19:01:08 +08:00
52539fc130 chore: prevent visitors from breaking demo (#2869)
* chore: add en-GB language

* chore: remove en-GB contents

* chore: prevent visitors from breaking demo
- prevent disabling password login
- prevent updating `memos-demo` user
- prevent setting additional style
- prevent setting additional script
- add some error feedback to system settings UI

* Revert "chore: add en-GB language"

This reverts commit 2716377b04.
2024-01-31 13:16:31 +08:00
49e3eb107c chore: update gomark wasm 2024-01-31 00:25:01 +08:00
ad2d492dec chore: move preview memo content 2024-01-30 22:10:17 +08:00
73337331cb feat: export all user Memos as a .zip of Markdown files (#2854)
* Add gRPC Memos Export

* Update code style

* Add URL.revokeObjectURL

* Rename protobuf and ESLint fix

* Change MemosExport to ExportMemos
2024-01-30 16:42:54 +08:00
c5a5f67fdb refactor: migrate auth service 2024-01-29 23:12:02 +08:00
de8db63811 chore: rename workspace setting service 2024-01-29 22:43:40 +08:00
dd9ee44a1f docs: regenerate swagger 2024-01-29 22:05:33 +08:00
fa17dce046 feat: pre-signed URL for S3 storage (#2855)
Adds automatically background refresh of all external links if they are belongs to the current blob (S3) storage. The feature is disabled by default in order to keep backward compatibility.

The background go-routine spawns once during startup and periodically signs and updates external links if that links belongs to current S3 storage.

The original idea was to sign external links on-demand, however, with current architecture it will require duplicated code in plenty of places. If do it, the changes will be quite invasive and in the end pointless: I believe, the architecture will be eventually updated to give more scalable way for pluggable storage. For example - Upload/Download interface without hard dependency on external link. There are stubs already, but I don't feel confident enough to change significant part of the application architecture.
2024-01-29 21:12:29 +08:00
cbcec80c5d chore: fix import order 2024-01-29 21:08:30 +08:00
2b7bd47b44 fix: rss routes 2024-01-29 21:04:35 +08:00
af646ce2de refactor: move gomark 2024-01-29 19:14:46 +08:00
f4ac7ff529 chore: update memo resource url 2024-01-28 23:02:38 +08:00
12275c6a34 chore: fix linter warning 2024-01-28 07:38:01 +08:00
21ef5a9bc0 chore: tweak workspace service 2024-01-28 07:35:42 +08:00
87b23940a6 chore: upgrade backend dependencies 2024-01-28 07:13:11 +08:00
887903b66b feat: add buf plugin to generate openapiv2 spec (#2843) 2024-01-28 06:16:37 +08:00
c26109cd36 chore: update list memos request 2024-01-27 11:14:17 +08:00