Commit Graph

50 Commits (30dca18b79c47e365a5bba252d9d61a4c465628e)

Author SHA1 Message Date
Steven 09c195c752 chore: update backend dependencies 1 year ago
Steven 68413a5371 chore: update frontend service 1 year ago
Steven 638f17a02c chore: update scripts 1 year ago
Steven 16fb5faebd chore: revert go mod update 1 year ago
Steven e0290b94b4 chore: use gomark in rss api 1 year ago
Steven ec7992553f chore: go mod update 1 year ago
Irving Ou 9c18960f47
feat: support Postgres (#2569)
* skeleton of postgres

skeleton

* Adding Postgres specific db schema sql

* user test passed

* memo store test passed

* tag is working

* update user setting test done

* activity test done

* idp test passed

* inbox test done

* memo_organizer, UNTESTED

* memo relation test passed

* webhook test passed

* system setting test passed

* passed storage test

* pass resource test

* migration_history done

* fix memo_relation_test

* fixing server memo_relation test

* passes memo relation server test

* paess memo test

* final manual testing done

* final fixes

* final fixes cleanup

* sync schema

* lint

* lint

* lint

* lint

* lint
1 year ago
Steven c4d27e7a78 chore: update backend dependencies 1 year ago
Steven 44e50797ca chore: update go mods 1 year ago
Steven a5df36eff2 chore: update metrics 1 year ago
Steven a0f8e6987c chore: update go deps 1 year ago
Athurg Gooth c72f221fc0
feat: support mysql as backend storage driver (#2300)
* Rename checkDSN to checkDataDir

* Add option to set DSN and db driver

* Add mysql driver skeleton

* Add mysql container in compose for debug

* Add basic function for mysql driver

* Cleanup go mod with tidy

* Cleanup go.sum with tidy

* Add DeleteUser support for mysql driver

* Fix UpdateUser of mysql driver

* Add DeleteTag support for mysql driver

* Add DeleteResource support for mysql driver

* Add UpdateMemo and DeleteMemo support for mysql driver

* Add MemoRelation support for mysql driver

* Add MemoOrganizer support for mysql driver

* Add Idp support for mysql driver

* Add Storage support for mysql driver

* Add FindMemosVisibilityList support for mysql driver

* Add Vacuum support for mysql driver

* Add Migration support for mysql driver

* Add Migration support for mysql driver

* Fix ListMemo failed with referece

* Change Activity.CreateTs type in MySQL

* Change User.CreateTs type in MySQL

* Fix by golangci-lint

* Change Resource.CreateTs type in MySQL

* Change MigrationHistory.CreateTs type in MySQL

* Change Memo.CreateTs type in MySQL
1 year ago
victorsch 97b434722c
fix: content sanitization in getimage endpoint (#2241) 1 year ago
Steven 72ca4e74ee refactor: impl part of grpcweb 1 year ago
boojack c2aeec20b7
chore: upgrade deps version (#2181) 2 years ago
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
2 years ago
boojack 57dd1fc49f
chore: initial memo service definition (#2077)
* chore: initial memo service definition

* chore: update

* chore: update

* chore: update
2 years ago
boojack 89ba2a6540
feat: implement part of tag service (#2051)
* feat: add grpc gateway tempalte

* chore: update

* chore: move directory

* chore: update
2 years ago
boojack d0cfb62f35
chore: add tag service proto definition (#2049)
* chore: add tag proto definition

* chore: rename
2 years ago
Athurg Gooth d9b3501fae
feat: add support for auto backup db file (#1950)
Add support for auto backup db file
2 years ago
CorrectRoadH d8b6e92813
feat: implement memos chat backend function (#1934)
* feat: implment backend function

* eslint

* eslint

* eslint
2 years ago
boojack 9a8d43bf88
chore: update user store names (#1877)
* chore: update user store names

* chore: update
2 years ago
Athurg Gooth ddf4cae537
feat: disable CGO_ENABLED (#1766)
* Replace mattn/go-sqlite3 with modernc.org/sqlite

* Disable CGO to make binary work without special c lib

* Replace mattn/go-sqlite3 with modernc.org/sqlite in testing code

* Tidy go module

---------

Co-authored-by: Athurg Feng <athurg@gooth.org>
2 years ago
boojack d80aa67c97
feat: parse markdown to html format in rss (#1683) 2 years ago
boojack b40571095d
feat: update memo detail page (#1682)
* feat: update memo detail page

* chore: update
2 years ago
Athurg Gooth 04124a2ace
feat: generate thumbnail while get and improve thumbnail quality (#1680)
* Use disintegration/imaging to optimize thumbnail quality

* Generate thumbnail if not exists while GET it

* Changes for `go mod tidy`

* Changes for golang comments lint

---------

Co-authored-by: Athurg Feng <athurg@gooth.org>
2 years ago
boojack c7a57191bd
feat: add jwt auth (#1441)
* feat: add jwt auth

* chore: update
2 years ago
Dmitry Shemin e7ee181a91
feat: add setup cmd (#1418)
This command can be used for automatization of initial application's setup
2 years ago
Andrew Pollock ce7564a91b
fix: GO-2023-1571 vulnerability (#1308)
* Fix for GO-2023-1571

* Update go.sum to reflect fix for GO-2023-1571
2 years ago
boojack 4335897367
chore: remove metrics plugin (#1276)
* chore: remove metrics plugin

* chore: update
2 years ago
boojack 1517688076
chore: update code structure (#1139)
* chore: update code structure

* chore: update
2 years ago
boojack 69726c3925
feat: implement oauth2 plugin (#1110) 2 years ago
boojack 7e8011ba34
chore: support deleting storage (#1095) 2 years ago
Zeng1998 1e4a81dea9
feat: storage service backend (#1086)
* feat: storage service backend

* update go.mod

* update the column name (urlPrefix -> url_prefix)

* update

* update
2 years ago
boojack 3590d3f8b6
feat: update store cache (#1066)
* feat: update store cache

* chore: update
2 years ago
boojack 1ace332152
feat: graceful shutdown server (#1016) 2 years ago
boojack 219d2754a0
chore: remove existed tags in suggestion (#944) 2 years ago
boojack 0f057e81e9
fix: version compare (#916)
* fix: version compare

* chore: update
2 years ago
boojack 5195012217
feat: add `activity` table (#888)
feat: introduce activity
2 years ago
boojack 7efa749c66
feat: customize system profile (#828) 2 years ago
boojack 878e0eabc8
feat: add crawler plugin (#492)
* feat: add crawler plugin

* chore: update

* chore: go mod tidy

* chore: update
2 years ago
boojack 95376f78f6
feat: add metric plugin (#361) 2 years ago
Zhou Yunliang 4e00b1b0cd
feat: rss support (#343)
* feat: rss support

* chore: go mod tidy

* chore: change route group prefix

* Update server/server.go

Co-authored-by: boojack <stevenlgtm@gmail.com>

* Update server/rss.go

Co-authored-by: boojack <stevenlgtm@gmail.com>

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
Steven b1e6956441 chore: add cache for resource 3 years ago
Steven 35f980d2b8 chore: go mod tidy 3 years ago
boojack da333b0b1e chore: add store cache service 3 years ago
email d6418f5ff9 chore(go): use `json` instead of `jsonapi` 3 years ago
email d661134b03 refactor: backend 3 years ago
steven 050c2ccbd5 update auth api with session 3 years ago
LeeShuang 2f72bfa946 init project 3 years ago