Commit Graph

27 Commits (10c81ccba3707dbea922e9c86a868232663092a1)

Author SHA1 Message Date
Steven 137e64b0dd chore: update metrics
Steven ac81d856f6 chore: delete resource file sync
Steven 36b4ba33fa chore: remove outdated activity definition
Athurg Gooth 215981dfde
chore: remote context.Context pointer ()
remote context.Context pointer
Steven 5b3af827e1 chore: move common packages to internal
Steven 31997936d6 chore: move resource public api
Steven 34ae9b0687 chore: update default storage back to database
Steven 7dc4bc5714 chore: update resource service
steven a928c4f845 chore: update error format
Steven 6007f48b7d chore: retire memo resource relation table
Steven cd0ea6558d chore: update golangci-lint config
Steven 4424c8a231 chore: add resource service definition
Steven 33d9c13b7e chore: remove openid field from user
Steven 42bd9b194b feat: impl user access token api
Steven 3df550927d chore: update user profile page
boojack 4af0d03e93
chore: add user profile page ()
chore: some enhancements
Jianwei Zhang c835231d32
feat: add header into resource response ()
Update - add header for get resource
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 7c5296cf35
chore: update id type to int32 ()
boojack 5f819fc86f
chore: update auth middleware ()
* chore: update auth middleware

* chore: update

* chore: update
boojack cc3a47fc65
feat: impl auth interceptor ()
* feat: impl auth interceptor

* chore: update

* chore: update

* chore: update
Athurg Gooth 06dbd87311
chore: split save resource asset ()
* Move resource blob save into a independent function

* Support save resouce blob from Telegram like HTTP API

* Support save resouce blob download from URL to LocalStorage or S3

* fix typo
boojack 7e391bd53d
chore: remove resource public id ()
* chore: remove resource public id

* chore: update
boojack 0e05c62a3b
chore: update common utils ()
boojack a7573d5705
refactor: migrate memo to apiv1 ()
* refactor: migrate memo to apiv1

* chore: update

* chore: update

* chore: update

* chore: upate

* chore: update

* chore: update
boojack 1fa9f162a5
refactor: migrate resource to apiv1 ()