Commit graph

25 commits

Author SHA1 Message Date
Lincoln Nogueira
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
boojack
4d3e4358e8
chore: update docs (#2094) 2023-08-06 11:25:35 +08:00
EINDEX
8dbc63ed56
docs: add rowStatus parameter for memo api document (#1984)
add missing parameters for memo api
2023-07-18 22:20:22 +08:00
boojack
589b104671
chore: upgrade version to v0.14.0 (#1970)
* chore: upgrade version

* chore: update

* chore: update
2023-07-16 13:48:10 +08:00
boojack
2effacd0a6
chore: add api docs (#1965) 2023-07-15 23:30:20 +08:00
Ikko Eltociear Ashimine
f074bb1be2
docs: fix typo in deploy-with-render.md (#1946)
reliablity -> reliability
2023-07-14 00:00:23 +08:00
boojack
0e05c62a3b
chore: update common utils (#1908) 2023-07-06 22:53:38 +08:00
boojack
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
boojack
cd2bdab683
chore: retire demo site (#1659) 2023-05-14 23:35:31 +08:00
Lincoln Nogueira
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
Antzed
1ff03e87c2
docs: upgrade on fly.io (#1582) 2023-04-22 09:34:36 +08:00
boojack
648634d376
chore: use pnpm (#1533)
* chore: use pnpm

* chore: update
2023-04-16 00:47:40 +08:00
Dmitry Shemin
bc595b40e7
feat: add docs for memos setup after deploying (#1419) 2023-03-27 23:45:02 +08:00
boojack
2e14561bfc
chore: update logo assets (#1407) 2023-03-24 08:43:26 +08:00
boojack
a21ff5c2e3
chore: update project structure (#1382) 2023-03-18 23:07:40 +08:00
boojack
afc9709484
chore: update dev config (#857) 2022-12-25 10:39:45 +08:00
boojack
e79d67d127
chore: update readme with deploy guides (#771) 2022-12-18 17:59:29 +08:00
ajstephens1995
1d9ef9813a
docs: guide to deploy memos with render for beginners (#769) 2022-12-18 16:35:09 +08:00
Steven
a0a42285d0 chore: update docs 2022-09-09 00:32:01 +08:00
boojack
406109b091 update: db initialization 2022-05-01 11:06:29 +08:00
West Xu
b949d482a1
next docker tag deprecated (#42) 2022-04-02 12:18:20 +08:00
email
b6e78a1c2d chore: update docker run commands 2022-03-24 20:10:46 +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
076c42d9c4 feat: update readme 2022-01-17 08:42:36 +08:00