Commit Graph

38 Commits (a55afbd3edfde3aa41c98f042fcce44a1b58d94c)

Author SHA1 Message Date
aqyuki 35b0bd82f4
chore: migrate of Docker compose v2 ()
chore: rename docker-compose.yaml and remove deprecated field
Steven 1167df29d8 feat: add security related settings
Steven 710d1b304e chore: update dev mode
Steven 6e901fc940 refactor: store migrator
Steven 7564c40c8d chore: fix env init
Steven 20b8a97a88 chore: retire outdate scripts
Steven 20dd3e17f7 chore: rename router package
coderwander 162521885c
chore: fix some typos in comments ()
Signed-off-by: coderwander <770732124@qq.com>
Lincoln Nogueira 7c87c1ff74
chore: update build scripts ()
Steven dcfb2b7de2 chore: tweak docs generate path
jg0312 621a8d4e20
chore: fix typo in build script's if statement ()
missing 'i' in 'if' statement
Kristián 03d67d5a00
feat: add mermaid support in codeblock ()
Lincoln Nogueira 334e489867
chore: improve docker-compose.dev ()
Steven ba460382b0 chore: remove type-gen script
Athurg Gooth d626de1875
fix: pnpm install failed in docker ()
fix pnpm install failed in docker
Noah Alderton 673809e07d
fix: docker-compose.dev.yaml ()
* Fix docker-compose.dev.yaml

* Add newline to .gitignore
Steven 638f17a02c chore: update scripts
Steven 6cf7192d6a chore: add ssr placeholder in `index.html`
Steven c608877c3e chore: clean binary entries
Lincoln Nogueira 331f4dcc1b
chore: update dev scripts ()
- add type-gen
- remove some unused air settings
- restrict air monitoring to changed go files
Athurg Gooth 5ebf920a61
chore: stop process on build error ()
* Move migration and seed code into driver

* Stop process on build error
boojack 18fb02a1ec
chore: update swag docs ()
* chore: update swag docs

* chore: update
Lincoln Nogueira 3f82729e9f
chore: update build scripts ()
update developer build scripts, bringing
feature parity between platforms.
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 43819b021e
chore: add demo banner ()
Lincoln Nogueira 5340008ad7
feat: improve 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)

* feat: improve Windows support

- Fix local file storage path handling on Windows

- Improve Windows dev script
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)
boojack 1517688076
chore: update code structure ()
* chore: update code structure

* chore: update
boojack 1ace332152
feat: graceful shutdown server ()
steven 62657f7f4e chore: update build folder
Steven 84a3548232 chore: update scripts
boojack dc436490f8 chore: update `build.sh`
boojack 7c94db0ca0 chore: use flags instead of env vars
email d661134b03 refactor: backend
steven f70ad6891d add dockerfile
steven a08ad0ebab update restful api
LeeShuang 2f72bfa946 init project