Commit Graph

51 Commits

Author SHA1 Message Date
Steven 10c57167cc chore: remove unused flags 2024-05-03 07:16:07 +08:00
Steven 05f73a2236 chore: tweak linter 2024-05-02 21:46:47 +08:00
Steven 6295979592 chore: add user avatar route 2024-04-30 22:06:34 +08:00
Steven 155c5baf2c refactor: add markdown service 2024-04-29 08:00:37 +08:00
Steven e8dfd579c3 chore: update background services 2024-04-18 23:34:35 +08:00
Steven 2a93b8d720 chore: tweak linter 2024-04-18 21:44:46 +08:00
Steven ff81ea602d chore: tweak error message 2024-04-07 22:35:02 +08:00
Steven 8101a5e0b1 chore: add origin flag to config cors 2024-04-07 22:15:15 +08:00
Steven dfa78cac49 chore: update logger 2024-02-29 23:54:43 +08:00
Steven b0f52ade7a chore: remove metric service 2024-02-24 23:32:39 +08:00
Steven 51d58d3982 chore: add workspace setting migrator 2024-02-21 23:43:18 +08:00
Steven 4a6da91719 chore: fix serve frontend flag 2024-02-20 23:24:13 +08:00
Steven 8e11826db1 chore: update workspace setting service 2024-02-20 23:02:01 +08:00
Steven b4f2a3bd14 chore: remove migrator 2024-01-31 22:58:43 +08:00
Aleksandr Baryshnikov 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
Steven f05a89315c chore: fix list memos 2024-01-28 08:38:29 +08:00
Steven 5e74394643 chore: add resource name migrator 2024-01-28 07:58:53 +08:00
Lincoln Nogueira 369b8af109
chore: improve resource internal_path migrator (#2698)
* chore: improve internal path migrator
- handle mixed path styles
- handle Windows paths
- add tests

* chore: fix goimports error
2024-01-03 08:31:59 +08:00
Steven c797099950 chore: update resource internal path migrator 2024-01-02 08:29:18 +08:00
Steven c608877c3e chore: clean binary entries 2023-12-11 22:16:39 +08:00
boojack 1517688076
chore: update code structure (#1139)
* chore: update code structure

* chore: update
2023-02-23 00:07:16 +08:00
boojack 1ace332152
feat: graceful shutdown server (#1016) 2023-02-03 10:30:18 +08:00
boojack 4a7b764ab3
chore: remove unused flags for sqlite (#997) 2023-01-30 00:03:21 +08:00
boojack d50ad9433f
feat: persistent session name (#902)
* feat: persistent session name

* chore: update
2023-01-03 23:05:42 +08:00
boojack 79180928d4
chore: update server activity (#898) 2023-01-03 20:05:37 +08:00
boojack e5550828a0
chore: update activity payload (#891) 2023-01-02 23:18:12 +08:00
boojack 85db6721de
chore: disable metrics collector (#580) 2022-11-26 09:23:38 +08:00
boojack cf75054106
feat: add system setting to allow user signup (#407) 2022-11-03 21:47:36 +08:00
boojack 95376f78f6
feat: add metric plugin (#361) 2022-10-29 03:15:39 +00:00
Steven f303dc21a0 chore: add get all memo api 2022-09-05 21:14:17 +08:00
Steven 7d0407013e chore: make `golangci-lint` happy 2022-08-24 21:53:12 +08:00
Steven e3fac742c5 chore: update logger 2022-08-19 00:45:02 +08:00
boojack 735938395b chore: use `transaction` for migration history 2022-08-07 10:17:56 +08:00
boojack de7058532a fix: schema migration for minor version 2022-07-09 13:34:14 +08:00
boojack 7c94db0ca0 chore: use flags instead of env vars 2022-07-09 12:57:08 +08:00
boojack 011fcc7dd4 chore: rename module 2022-06-27 22:09:06 +08:00
boojack c3c2882dc5 chore: update server profile 2022-05-22 09:29:34 +08:00
boojack 8e01eb8702 feat: `store/db` module with sqlite 2022-05-22 00:59:22 +08:00
boojack 7b8a825489 chore: add greeting banner 2022-05-20 22:48:36 +08:00
boojack 74ab42069f chore: add service version 2022-05-17 21:21:13 +08:00
boojack fbf4afff8e refactor: store 2022-05-16 07:37:23 +08:00
email b3a431570c feat: system api with profiles 2022-03-29 20:53:43 +08:00
email 1cebf1dbd0 feat: const session secret key in dev 2022-03-29 07:30:29 +08:00
email 3874523e61 chore: format server code 2022-02-18 22:21:10 +08:00
email 6f3663cd96 feat: user hash password 2022-02-06 16:19:20 +08:00
email 516ca61b73 chore: update deploy guide doc 2022-02-06 11:26:53 +08:00
email ff5a1eebd7 feat: db release mode 2022-02-06 10:37:09 +08:00
email f982391a83 feat: flag variables 2022-02-05 13:04:06 +08:00
email 925773dbd6 chore: address comments 2022-02-05 11:43:25 +08:00
email 4535e0ce6d fix: resource api 2022-02-04 18:54:24 +08:00