Commit Graph

1250 Commits (77e8e9ebbdab4c20768ae16d38c425781ff48904)
 

Author SHA1 Message Date
Athurg Gooth 77e8e9ebbd
revert: fix: add public base path (#1748) (#1775) (#1806)
This reverts commit d205a7683a.
2 years ago
c14c6b3786
fix: user default 'Basic Setting' should follow server's setting (#1795)
fix: user default 'Basic Setting' should follow system setting
2 years ago
Athurg Gooth c27c6cea13
fix: failed to upload OSS with S3 SDK (#1792)
Fix failed to upload OSS with S3 SDK

Co-authored-by: Athurg Feng <athurg@gooth.org>
2 years ago
boojack 11a385cda6
chore: update upgrade version view (#1791) 2 years ago
boojack 32e2f1d339
chore: update page routes (#1790)
chore: update routers
2 years ago
Athurg Gooth 69225b507b
chore: clean Dockerfile to exclude musl-dev (#1787)
Clean Dockerfile to exclude musl-dev install

Co-authored-by: Athurg Feng <athurg@gooth.org>
2 years ago
-Shiken- 2f905eed0d
chore: update zh-Hant.json (#1781)
* Update zh-Hant.json

follow these commits to complete zhTW translation:
96021e518a
8628d1e4b2
93d608f050
ce64894abe
845297ec03

* Update web/src/locales/zh-Hant.json

Co-authored-by: Zeng1998 <acan.coder@gmail.com>

* Fix json format error

---------

Co-authored-by: Zeng1998 <acan.coder@gmail.com>
Co-authored-by: Athurg Gooth <github@gooth.org>
2 years ago
Athurg Gooth 55cf19aa2e
fix: copy-to-clipboard not works well in Safari (#1779)
* Fix copy-to-clipboard not works well in Safari

* Fix typescript type check failure

* Remove global copy inject in home page

---------

Co-authored-by: Athurg Feng <athurg@gooth.org>
2 years ago
boojack dd8c10743d
feat: memo editor dialog (#1772)
* feat: memo editor dialog

* chore: update mark

* chore: update
2 years ago
Athurg Gooth 25ce36e495
feat: resource visibility (#1777)
* Add method to query visibility list by memoIDs

* Add function to get visibility by resourceID

* Check resource visibility in /r/:resourceId/:publicId/:filename

* Check resource visibility in /r/:resourceId/:publicId

---------

Co-authored-by: Athurg Feng <athurg@gooth.org>
2 years ago
Gener d205a7683a
fix: add public base path (#1748) (#1775) 2 years ago
Athurg Gooth 7e4d71cf58
fix: infinite loop in home page (#1773)
Fix infinite loop in home page

Co-authored-by: Athurg Feng <athurg@gooth.org>
2 years ago
Athurg Gooth 97df1a82c7
feat: add docker compose file for development (#1769)
* Add support to fetch devProxyServer from environment

* Add docker compose file for developer

---------

Co-authored-by: Athurg Feng <athurg@gooth.org>
2 years ago
Athurg Gooth 845297ec03
refactor: change all `Robot` to `Bot` (#1767)
* Change all `Robot` to `Bot`

* Change all `r` of `Bot` to `b`

* Change `Robot` to `bot` in comments

* Fix typo

---------

Co-authored-by: Athurg Feng <athurg@gooth.org>
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
Athurg Gooth ce64894abe
feat: add telegram proxy support (#1764)
* Add support for reverse proxy of telegram API

* Add Telegram API proxy hint

---------

Co-authored-by: Athurg Feng <athurg@gooth.org>
2 years ago
boojack beb4d8ccb9
chore: order by updated ts in memo store (#1761) 2 years ago
boojack e0e59c5831
feat: display memo with updated ts (#1760) 2 years ago
_Jellen 826541a714
feat: update korean localization (#1758) 2 years ago
boojack c40aeb91e6
fix: patch memo row status (#1755) 2 years ago
boojack 2e34ce90a1
chore: upgrade version `0.13.1` (#1754) 2 years ago
GodMeowIceSun 93d608f050
feat(#1568): add "ask ai" section session splitting function (#1711)
* feat(#1568): Added "ask ai" section session splitting function

Added "ask ai" section session splitting function
Optimize the "ask ai" dialogue style

* fix(#1568): Fix wrong attribute "appearance"

* fix(#1568): Add ts type define

* fix(#1568): Add ts type define

* fix(#1568): Resolve the issue of components not being stretched when only user input is available

* feat(#1568): New session automatic switching function

* refactor(#1729): remove unused code

* feat(#1568): New Remove Session Function

New Remove Session Function
Rename some methods
2 years ago
boojack ec26a9702d
fix: sso templates (#1753) 2 years ago
boojack dbe8aa1d3a
chore: update telegram bot related section (#1750)
* chore: update telegram bot related section

* chore: update
2 years ago
Athurg Gooth 8628d1e4b2
feat: add Telegram bot config UI (#1747)
* Add retry wait for telegram.GetUpdates

* Add support to set telegram robot token from UI

* Change validator of UserSettingTelegramUserID

* Add support to set telegram user id from UI

* Fix typescript check

* Add validator for SystemSettingTelegramRobotTokenName

* Optimize error notice while config telegram params

* Change for review

* Fix telegram user id could not be empty

* Fix telegram robot could not be empty

* Fix for eslint (again)

* Update web/src/components/Settings/SystemSection.tsx

---------

Co-authored-by: Athurg Feng <athurg@gooth.org>
Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
Athurg Gooth 4ea5426e18
feat: add support for content search (#1728)
* Change MemoFind.ContentSearch to slice

* Add support for content search

* Change for go-simple sugguest

---------

Co-authored-by: Athurg Feng <athurg@gooth.org>
2 years ago
Athurg Gooth 1282fe732e
feat: implement telegram bot plugin (#1740) 2 years ago
boojack a07d11e820
feat: tag parser (#1745) 2 years ago
boojack dbc85fe7e4
feat: image and link parser (#1744)
* feat: image and link parser

* chore: update
2 years ago
boojack 523ef2bba5
chore: update demo banner style (#1743) 2 years ago
boojack de8014dfe8
feat: resource store cache (#1742) 2 years ago
deeshu b42e5c3213
chore: update vscode setting enforcement for go111module="on" (#1738)
vscode setting enforcement for go111module to set on and availability of schema for go extension
2 years ago
boojack ea728d232d
refactor: memo store (#1741) 2 years ago
boojack 43819b021e
chore: add demo banner (#1739) 2 years ago
boojack e69f7c735b
chore(revert): retire demo site (#1733)
Revert "chore: retire demo site (#1659)"

This reverts commit cd2bdab683.
2 years ago
Athurg Gooth 5e792236af
fix: infinite loop while daily memos more than DEFAULT_MEMO_LIMIT (#1730)
Co-authored-by: Athurg Feng <athurg@gooth.org>
2 years ago
boojack 45c119627b
chore: move flags into env variables (#1732) 2 years ago
boojack 65890bc257
feat: implement code block parser (#1727) 2 years ago
boojack 42c653e1a4
feat: implement paragraph and italic parsers (#1725) 2 years ago
boojack 8c34be92a6
feat(gomark): add bold parser (#1724) 2 years ago
boojack fa53a2550a
feat: add heading tokenizer (#1723) 2 years ago
Athurg Gooth 616b8b0ee6
feat: introduce publicid to filename template (#1713)
* Add support for `publicid` in PathTemplate

* Use `publicid` by default instead of `filename` in filesystem

* Fix blank string of `systemSettingLocalStoragePath` affect incorrectly

* Add ext name to compatible with OS's preview

* Optimize code for systemSettingLocalStoragePath empty

---------

Co-authored-by: Athurg Feng <athurg@gooth.org>
2 years ago
Athurg Gooth d24632682f
chore: add volume define in Dockerfile to avoid data lose (#1718)
Add volume define in Dockerfile to protect data

Co-authored-by: Athurg Feng <athurg@gooth.org>
2 years ago
Athurg Gooth 3b1bab651a
fix: system memo visibility was replace by user's setting (#1707)
Co-authored-by: Athurg Feng <athurg@gooth.org>
2 years ago
Athurg Gooth 0cea5ebaeb
fix: concurrent counter operates (#1706)
Co-authored-by: Athurg Feng <athurg@gooth.org>
2 years ago
Zeng1998 1e4a867a9a
fix: add thumbnail param only for internal link (#1701)
* fix: add thumbnail param using `URLSearchParams`

* update: add thumnail param only for internal link
2 years ago
CorrectRoadH 6bb0b4cd47
fix: pop search when touch textarea in Android Chrome (#1700)
* fix: pop search when touch textarea

* eslint
2 years ago
CorrectRoadH 56c6f603aa
fix: md without search icon (#1699) 2 years ago
boojack 98b3a371f4
fix: patch memo visibility (#1695) 2 years ago
boojack ba8e1e5dc2
chore: add available generator amount flag (#1696) 2 years ago