Commit Graph

74 Commits (5fb649c3c36c246b14f1554e5f3975d03fb65ab9)

Author SHA1 Message Date
Steven 0501f5198a chore: buf format
Johnny 736637a362
feat: add public flag instead of system setting to enable signup ()
Steven f33571fec6 feat: update webhook request payload
Steven 797f5a123c feat: add `HasIncompleteTasks` to memo property
Steven 5493f5f14e chore: regenerate dependencies
Steven b215426623 chore: update general setting
Steven 0f4b7c5f4a feat: add more memo settings
Steven a423dac12c chore: tweak memo property
Steven d3235f75f3 chore: tweak memo definition
Steven e0600388b2 chore: implement memo property endpoint
Steven 16d3de63c2 chore: update resource binary endpoint
Steven f54b05a521 chore: tweak comments
Steven b0aad6f694 chore: tweak resource payload
Steven 9265b8e2bd chore: update tags filter
Steven c561362d62 feat: implement memo property
Steven b8763905ba chore: tweak naming
Steven eda1983964 chore: return workspace setting with default value
Steven 584c669068 chore: tweak max width
Steven e0977e53f7 chore: remove unused route
Steven d0655ece53 refactor: update memo tags
Steven 776664105a chore: tweak content length limit
Steven af1ad2f2db chore: add memo content length limit setting
Steven 26545c855c refactor: implement s3 storage
Steven 144269fbbc chore: fix router
Steven ff175bbb7e refactor: update resource binary request handler
Steven 6295979592 chore: add user avatar route
Steven 155c5baf2c refactor: add markdown service
Steven 4338234641 chore: retire storage related functions
Steven 320963098f refactor: update storage setting
Steven 1b291422e7 refactor: api version
Steven 92872118b9 refactor: tweak api definition
Steven 9b66ef5e26 chore: tweak api definition
Steven 95df647265 chore: tweak comments
huajin tong 8e7f826ae6
chore: fix typo ()
Signed-off-by: thirdkeyword <fliterdashen@gmail.com>
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