Commit Graph

40 Commits (51a7934616341c49671ade9bad71f703132911c5)

Author SHA1 Message Date
Steven ba460382b0 chore: remove type-gen script
Steven dd9ee44a1f docs: regenerate swagger
Aleksandr Baryshnikov fa17dce046
feat: pre-signed URL for S3 storage ()
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.
Steven d67eaaaee2 chore: update database migrator
Leyang be2db3f170
feat: use vite plugin pwa for generate right sw.js ()
Co-authored-by: boojack <stevenlgtm@gmail.com>
Steven af68cae6ea chore: regenerate swagger docs
Steven 6cf7192d6a chore: add ssr placeholder in `index.html`
Steven c608877c3e chore: clean binary entries
boojack dfaf2ee29c
chore: update pnpm scripts ()
* chore: update pnpm scripts

* chore: update development guide
Steven 6ffc09d86a chore: remove unused httpmeta getter api
Steven 9d1c9fc505 chore: regenerate swagger docs
Steven 6eeee6b704 docs: add buf to development guide
Steven 33d9c13b7e chore: remove openid field from user
boojack 18fb02a1ec
chore: update swag docs ()
* chore: update swag docs

* chore: update
boojack 35f2d399e2
chore: update api v1 docs ()
* chore: update apiv1 docs

* chore: update
Lincoln Nogueira 4491c75135
feat: add SwaggerUI and v1 API docs ()
* - 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
boojack 4d3e4358e8
chore: update docs ()
EINDEX 8dbc63ed56
docs: add rowStatus parameter for memo api document ()
add missing parameters for memo api
boojack 589b104671
chore: upgrade version to `v0.14.0` ()
* chore: upgrade version

* chore: update

* chore: update
boojack 2effacd0a6
chore: add api docs ()
Ikko Eltociear Ashimine f074bb1be2
docs: fix typo in deploy-with-render.md ()
reliablity -> reliability
boojack 0e05c62a3b
chore: update common utils ()
boojack e69f7c735b
chore(revert): retire demo site ()
Revert "chore: retire demo site ()"

This reverts commit cd2bdab683.
boojack cd2bdab683
chore: retire demo site ()
Lincoln Nogueira 3b76c6792c
feat: add preliminar Windows support ()
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  (add Windows artifacts)
Antzed 1ff03e87c2
docs: upgrade on fly.io ()
boojack 648634d376
chore: use pnpm ()
* chore: use pnpm

* chore: update
Dmitry Shemin bc595b40e7
feat: add docs for memos setup after deploying ()
boojack 2e14561bfc
chore: update logo assets ()
boojack a21ff5c2e3
chore: update project structure ()
boojack afc9709484
chore: update dev config ()
boojack e79d67d127
chore: update readme with deploy guides ()
ajstephens1995 1d9ef9813a
docs: guide to deploy memos with render for beginners ()
Steven a0a42285d0 chore: update docs
boojack 406109b091 update: db initialization
West Xu b949d482a1
`next` docker tag deprecated ()
email b6e78a1c2d chore: update docker run commands
email 6f3663cd96 feat: user hash password
email 516ca61b73 chore: update deploy guide doc
email 076c42d9c4 feat: update readme