Commit Graph

568 Commits (ba0876a563a5b4a4f7edb0bac280646baaf0e71c)

Author SHA1 Message Date
Steven 8fd1dff484 chore: update migration scripts 12 months ago
Steven c5fa4fe304 chore: tweak imports order 12 months ago
Steven 8f37d7490c chore: fix linter 12 months ago
Steven 18d16abdb5 chore: update workspace service 12 months ago
Steven 7c5261b5d2 chore: tweak resource definition 12 months ago
Steven 7cc8b951a3 refactor: update resource id naming 12 months ago
Steven 76c936357b chore: fix resource link 12 months ago
Steven 6db427e396 chore: update acl list 12 months ago
Steven 0a0ccbf6e1 chore: update acl list 12 months ago
Steven ed89cb8310 chore: update memo relation definition 12 months ago
Steven efb15a0453 chore: tweak naming 12 months ago
Steven 5f2d6b22be chore: tweak memo structure 12 months ago
Steven 2dc8ed773c chore: tweak linter 12 months ago
Steven 86db6d0254 chore: tweak user api definition 12 months ago
Steven 1e43c8d84b chore: disallow update workspace setting in demo mode 12 months ago
Steven 335a0312f2 chore: tweak link styles 12 months ago
Steven 14479347d8 chore: remove demo checks 12 months ago
Steven 606a30640d fix: check username in signup 12 months ago
Steven e795149186 chore: tweak memo view display 12 months ago
Steven 8fe6874b1b chore: add description field to user 12 months ago
Steven 5d740c3813 chore: update link service 12 months ago
Mehad Nadeem 0abe20df72
feat: implemented link previews (server files) (#3073)
* feat: implmented link previews (server files)

* chore: updated variable name

* chore: renamed service file from `metadata_service.go` to `link_service.go`

* fix: passing errors

* fix: fixed linter warnong about `ctx`
12 months ago
Steven 6b6edc3791 chore: update tg message handler 12 months ago
steven ed1954c58c chore: fix check setting value 12 months ago
WonSeok f46b64a17d
fix: check disallow public memo in Telegram(#3036) (#3037) 1 year ago
Steven 7d5f603482 chore: update compact view 1 year ago
Steven ac8a374ebd chore: bump version 1 year ago
Steven 95b02341eb chore: tweak logger 1 year ago
Steven cfb50f19aa chore: tweak linter 1 year ago
Steven e441e3882b chore: update error logger 1 year ago
Steven c1da87a819 chore: update get request origin 1 year ago
Steven dfa78cac49 chore: update logger 1 year ago
Steven 5f2a624c0c chore: tweak imports order 1 year ago
Steven 3e50bee7da chore: move api directory 1 year ago
ercd 1ae9bf23a0
fix: telegram callback query handler dereferencing nil pointer if memo not found (#3003)
* fix: telegram callback query handler dereferencing nil pointer if memo not found

* chore: add an answer to callback query if memo not found
1 year ago
Steven b0f52ade7a chore: remove metric service 1 year ago
Steven 51d58d3982 chore: add workspace setting migrator 1 year ago
Steven 4a6da91719 chore: fix serve frontend flag 1 year ago
Steven 8e11826db1 chore: update workspace setting service 1 year ago
Steven 3dddd3ec4c chore: tweak reaction store 1 year ago
Steven c30d7ab8f3 chore: update cors middleware 1 year ago
Steven 15c90871d9 chore: update request base url 1 year ago
Elliot Chen 7cd3fcbc61
fix: wrong order of the timeline in the resource page & add webhook when create memos using Telegram bot (#2886)
* fix: wrong order in resource page timeline

* feat: add webhook when create memos using Telegram bot

* rename variables and fix typos for static checks
1 year ago
Steven 79227021f5 chore: bump version 1 year ago
Steven 30ae4140f3 chore: update gomark source 1 year ago
Steven de8db63811 chore: rename workspace setting service 1 year ago
Steven 54c5039db3 chore: fix golang linter 1 year ago
Steven af646ce2de refactor: move gomark 1 year ago
Steven f4ac7ff529 chore: update memo resource url 1 year ago
Steven db3457e081 chore: bump version 1 year ago
Steven a620d140c5 chore: update embedded content renderers 1 year ago
Steven 582cc6609c feat: add user-defined id to resource 1 year ago
Steven 40bd75c725 fix: create memo with resource name 1 year ago
Lincoln Nogueira 089e04bcfd
chore: use webp compression on logo (#2756)
- Logo size reduced from 310 KB to 36 KB.
- Point metadata image URL to local logo instead of remote
1 year ago
Steven 2eba4e2cd4 chore: update version 1 year ago
Steven 0f8bfb6328 chore: update index.html 1 year ago
Steven 4cd01ece30 chore: update frontend metadata 1 year ago
Lincoln Nogueira 14b34edca3
chore: fix misuse of package path instead of filepath.path (#2684)
As stated by https://pkg.go.dev/path, "path" is mainly for URLs, "path.filepath" for file systems
1 year ago
Steven fcfb76a103 chore: remove user urlsets in sitemap 1 year ago
Steven 42608cdd8f chore: fix server context 1 year ago
Steven 2cfa4c3b76 chore: tweak frontend routes register 1 year ago
Steven 68413a5371 chore: update frontend service 1 year ago
Steven 273d6a6986 chore: update dockerfile 1 year ago
Steven eefce6ade3 chore: implement webhook dispatch in v2 api 1 year ago
Steven df3303dcd3 chore: update list users 1 year ago
Athurg Gooth b14334220f
fix: trim the dirname of attachment send by telegram bot (#2651) 1 year ago
Steven e0cacfc6d6 chore: retire auto backup for sqlite 1 year ago
Steven 2c4b5d75b3 chore: fix html escaping 1 year ago
Steven 1c7fb77e05 chore: update user setting names 1 year ago
Steven e8ca2ea5a0 chore: rename renderer package 1 year ago
Steven aee0e31b0a chore: update parser functions 1 year ago
Steven 7b0ceee57b chore: update memo metadata description 1 year ago
Steven e4070f7753 chore: bump version 1 year ago
Steven ff53187eae chore: add sitemap and robots routes 1 year ago
Steven 56b55ad941 chore: update memo metadata 1 year ago
Steven 24672e0c5e chore: update memo metadata 1 year ago
Steven 52743017a3 chore: implement memo route 1 year ago
Steven 6cf7192d6a chore: add ssr placeholder in `index.html` 1 year ago
Steven e5de8c08f5 chore: clean debug code 1 year ago
Steven c608877c3e chore: clean binary entries 1 year ago
Steven c50f4f4cb4 chore: update migration scripts 1 year ago
Steven 7fc7b19d64 chore: deprecate user setting legacy api 1 year ago
Steven f8f73d117b chore: update healthz message 1 year ago
Steven 8586ebf098 chore: add `/healthz` endpoint 1 year ago
Steven e7e83874cd chore: upgrade version 1 year ago
Athurg Gooth afd0e72e37
chore: skip timeout for blob upload (#2516)
Skip timeout for blob upload
1 year ago
Athurg Gooth 6814915c88
feat: backup file rotate (#2511)
Add support for rotate backup files
1 year ago
Steven 342d1aeefb fix: version checker 1 year ago
Steven 981bfe0464 feat: add version checker 1 year ago
Steven c24181b2be chore: fix jwt checks 1 year ago
Steven 88fb79e458 chore: impl inbox store for mysql 1 year ago
Athurg Gooth 4f1bb55e55
fix: metric env not affect (#2450)
fix metric env not affect
1 year ago
Athurg Gooth 20d3abb99a
chore: downgrade log level for auto backup disable (#2454)
downgrade log level for auto backup disable
1 year ago
Steven 36b4ba33fa chore: remove outdated activity definition 1 year ago
Athurg Gooth 0f4e5857f0
chore: remove gRPC listener (#2456)
Disable gRPC listener
1 year ago
Athurg Gooth 215981dfde
chore: remote context.Context pointer (#2448)
remote context.Context pointer
1 year ago
Steven 5b3af827e1 chore: move common packages to internal 1 year ago
Athurg Gooth fd5d51ee54
fix: some fields of profile leaked without auth (#2408)
* fix some fields of profile leaked without auth

* protect driver and dsn of profile
1 year ago
Steven a541e8d3e3 chore: upgrade version 1 year ago
Steven 9bfb2d60b9 chore: tweak wording 1 year ago
Steven a5df36eff2 chore: update metrics 1 year ago
Athurg Gooth d3e32f0d5a
chore: add latency in log (#2374)
* Print profile.Data in boot log

* Add latency in request log
1 year ago
Steven ab2c86640b chore: move rate limiter to apiv1 1 year ago
Athurg Gooth c00dac1bbf
fix: index page failed with 429 (#2363) 1 year ago
Steven 9410570195 chore: update version 1 year ago
Steven 7549c807ac chore: update memo view activity 1 year ago
Steven 87ddeb2c79 chore: adjust store test for mysql 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
Athurg Gooth ca98367a0a
chore: store vacuum and clean (#2293)
* Move all vacuum code into driver

* Remove db from Store
1 year ago
Steven 71ee299de7 chore: drop shortcut 1 year ago
Steven 6007f48b7d chore: retire memo resource relation table 1 year ago
Steven 27f3f6fbf0 chore: upgrade version 1 year ago
Steven 7da10cd367 chore: update telegram integration folder 1 year ago
Steven 6d45616dbe chore: add cors middleware 1 year ago
Steven 1c27824e58 chore: upgrade version 1 year ago
Steven cd0ea6558d chore: update golangci-lint config 1 year ago
Steven 72ca4e74ee refactor: impl part of grpcweb 1 year ago
Steven d5c1706e9c chore: update api middlewares 1 year ago
Steven 178a5c0130 chore: upgrade version to `0.15.0` 1 year ago
Athurg Gooth 626ff5e3a7
feat: notify by telegram while new memo create by HTTP (#2215)
* Inject telegram bot into API service

* Add support for send telegram message

* Send notification by telegram while new memo post
1 year ago
boojack 0d50f5bd08
chore: update comments (#2195) 2 years ago
Athurg Gooth 9987337eca
fix: all ID from int to int64 to avoid 32bits machine break (#2191)
Fix all ID from int to int64 to avoid 32bits machine break
2 years ago
boojack 18fb02a1ec
chore: update swag docs (#2178)
* chore: update swag docs

* chore: update
2 years ago
Sandu Liviu Catalin 6c01e84099
feat: add configuration option to bind server to specific address (#2165) 2 years ago
boojack 19e7731abb
chore: generate ts definition (#2156)
* chore: generate ts definition

* chore: update
2 years ago
boojack 95588542f9
chore: upgrade version to `0.14.4` (#2132) 2 years ago
boojack 35f2d399e2
chore: update api v1 docs (#2117)
* chore: update apiv1 docs

* chore: update
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
Derek Reiff f9d1080a7d
fix: minor spelling and wording changes for en and de (#2096)
Minor spelling and wording changes

I went through some of english and german localizations to correct or add minor things.

Added `invalid-tag-name` to json. Which also means it should be translated elsewhere.
2 years ago
boojack e097e8331e
chore: upgrade version `0.14.3` (#2086) 2 years ago
boojack 218159bf83
chore: remove openai setting section (#2084) 2 years ago
boojack 7c5296cf35
chore: update id type to int32 (#2076) 2 years ago
boojack cc3a47fc65
feat: impl auth interceptor (#2055)
* feat: impl auth interceptor

* chore: update

* chore: update

* chore: update
2 years ago
boojack 9ef0f8a901
feat: add user setting field (#2054) 2 years ago
boojack 470fe1df49
feat: implement part of user service (#2053)
* feat: implement part of user service

* 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 8328b5dd4a
chore: upgrade version to `0.14.2` (#2035)
* chore: upgrade version to `0.14.2`

* chore: remove TestConcurrentReadWrite test
2 years ago
boojack 4231ec5a1a
chore: upgrade version to `0.14.1` (#2004) 2 years ago
boojack 589b104671
chore: upgrade version to `v0.14.0` (#1970)
* chore: upgrade version

* chore: update

* chore: update
2 years ago
boojack 40a30d46af
chore: update db connection params (#1960) 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 39351970d0
feat: implement memo chat frontend (#1938)
* feat: implment backend function

* feat: implment frontend component

* stash

* eslint

* eslint

* eslint

* delete node

* stash

* refactor the style

* eslint

* eslint

* eslint

* fix build error

* add dep

* Update web/src/components/MemosChat/ConversationTab.tsx

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

* Update web/src/components/MemosChat/ConversationTab.tsx

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

* feat: change the name

* disable for vistor

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
Athurg Gooth 06dbd87311
chore: split save resource asset (#1939)
* 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
2 years ago
Alexandr Tumaykin c5a1f4c839
feat: format message from telegram and upload attachments (#1924)
* feat: format message from telegram and download documents

* fix: remove bool in expression

* refactor: convert to markdown

* refactor: resolve remarks and add support new message types

* refactor: resolve remarks

* feat: add test for mime type

---------

Co-authored-by: Александр Тумайкин <AATumaykin@tsum.ru>
2 years ago
CorrectRoadH d8b6e92813
feat: implement memos chat backend function (#1934)
* feat: implment backend function

* eslint

* eslint

* eslint
2 years ago
boojack 7e391bd53d
chore: remove resource public id (#1912)
* chore: remove resource public id

* chore: update
2 years ago
boojack 0e05c62a3b
chore: update common utils (#1908) 2 years ago
boojack a7573d5705
refactor: migrate memo to apiv1 (#1907)
* refactor: migrate memo to apiv1

* chore: update

* chore: update

* chore: update

* chore: upate

* chore: update

* chore: update
2 years ago
boojack 1fa9f162a5
refactor: migrate resource to apiv1 (#1901) 2 years ago
Athurg Gooth 5ea561af3d
feat: add support for purged resource link (#1897)
Add support for purged resource link
2 years ago