Commit Graph

41 Commits

Author SHA1 Message Date
8e7f826ae6 chore: fix typo (#3080)
Signed-off-by: thirdkeyword <fliterdashen@gmail.com>
2024-03-12 17:05:49 +08:00
ba460382b0 chore: remove type-gen script 2024-02-05 20:42:01 +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
d67eaaaee2 chore: update database migrator 2024-01-06 16:55:13 +08:00
be2db3f170 feat: use vite plugin pwa for generate right sw.js (#2658)
Co-authored-by: boojack <stevenlgtm@gmail.com>
2023-12-23 12:00:03 +08:00
af68cae6ea chore: regenerate swagger docs 2023-12-19 22:37:07 +08:00
6cf7192d6a chore: add ssr placeholder in index.html 2023-12-14 23:29:42 +08:00
c608877c3e chore: clean binary entries 2023-12-11 22:16:39 +08:00
dfaf2ee29c chore: update pnpm scripts (#2350)
* chore: update pnpm scripts

* chore: update development guide
2023-10-07 12:06:18 -05:00
6ffc09d86a chore: remove unused httpmeta getter api 2023-10-06 23:03:36 +08:00
9d1c9fc505 chore: regenerate swagger docs 2023-09-27 00:52:42 +08:00
6eeee6b704 docs: add buf to development guide 2023-09-17 20:56:03 +08:00
33d9c13b7e chore: remove openid field from user 2023-09-14 22:57:27 +08:00
18fb02a1ec chore: update swag docs (#2178)
* chore: update swag docs

* chore: update
2023-08-26 08:07:43 +08:00
35f2d399e2 chore: update api v1 docs (#2117)
* chore: update apiv1 docs

* chore: update
2023-08-09 22:30:27 +08:00
4491c75135 feat: add SwaggerUI and v1 API docs (#2115)
* - Refactor several API routes from anonymous functions to regular definitions. Required to add parseable documentation comments.

- Add API documentation comments using Swag Declarative Comments Format

- Add echo-swagger to serve Swagger-UI at /api/index.html

- Fix error response from extraneous parameter resourceId to relatedMemoId in DELETE("/memo/:memoId/relation/:relatedMemoId/type/:relationType")

- Add an auto-generated ./docs/api/v1.md for quick reference on repo (generated by swagger-markdown)

- Add auxiliary scripts to generate docs.go and swagger.yaml

* fix: golangci-lint errors

* fix: go fmt flag in swag scripts
2023-08-09 21:53:06 +08:00
4d3e4358e8 chore: update docs (#2094) 2023-08-06 11:25:35 +08:00
8dbc63ed56 docs: add rowStatus parameter for memo api document (#1984)
add missing parameters for memo api
2023-07-18 22:20:22 +08:00
589b104671 chore: upgrade version to v0.14.0 (#1970)
* chore: upgrade version

* chore: update

* chore: update
2023-07-16 13:48:10 +08:00
2effacd0a6 chore: add api docs (#1965) 2023-07-15 23:30:20 +08:00
f074bb1be2 docs: fix typo in deploy-with-render.md (#1946)
reliablity -> reliability
2023-07-14 00:00:23 +08:00
0e05c62a3b chore: update common utils (#1908) 2023-07-06 22:53:38 +08:00
e69f7c735b chore(revert): retire demo site (#1733)
Revert "chore: retire demo site (#1659)"

This reverts commit cd2bdab683.
2023-05-24 20:34:07 +08:00
cd2bdab683 chore: retire demo site (#1659) 2023-05-14 23:35:31 +08:00
3b76c6792c feat: add preliminar Windows support (#1636)
Add preliminar Windows support for both
development and production environments.

Default profile.Data will be set to "C:\ProgramData\memos" on Windows.
Folder will be created if it does not exist, as this behavior is
expected for Windows applications.

System service installation can be achieved with third-party tools,
explained in docs/windows-service.md.

Not sure if it's worth using https://github.com/kardianos/service
to make service support built-in.

This could be a nice addition alongside #1583 (add Windows artifacts)
2023-05-09 08:16:38 +08:00
1ff03e87c2 docs: upgrade on fly.io (#1582) 2023-04-22 09:34:36 +08:00
648634d376 chore: use pnpm (#1533)
* chore: use pnpm

* chore: update
2023-04-16 00:47:40 +08:00
bc595b40e7 feat: add docs for memos setup after deploying (#1419) 2023-03-27 23:45:02 +08:00
2e14561bfc chore: update logo assets (#1407) 2023-03-24 08:43:26 +08:00
a21ff5c2e3 chore: update project structure (#1382) 2023-03-18 23:07:40 +08:00
afc9709484 chore: update dev config (#857) 2022-12-25 10:39:45 +08:00
e79d67d127 chore: update readme with deploy guides (#771) 2022-12-18 17:59:29 +08:00
1d9ef9813a docs: guide to deploy memos with render for beginners (#769) 2022-12-18 16:35:09 +08:00
a0a42285d0 chore: update docs 2022-09-09 00:32:01 +08:00
406109b091 update: db initialization 2022-05-01 11:06:29 +08:00
b949d482a1 next docker tag deprecated (#42) 2022-04-02 12:18:20 +08:00
b6e78a1c2d chore: update docker run commands 2022-03-24 20:10:46 +08:00
6f3663cd96 feat: user hash password 2022-02-06 16:19:20 +08:00
516ca61b73 chore: update deploy guide doc 2022-02-06 11:26:53 +08:00
076c42d9c4 feat: update readme 2022-01-17 08:42:36 +08:00