boojack
5f819fc86f
chore: update auth middleware ( #2057 )
...
* chore: update auth middleware
* chore: update
* chore: update
2 years ago
boojack
cc3a47fc65
feat: impl auth interceptor ( #2055 )
...
* feat: impl auth interceptor
* chore: update
* chore: update
* chore: update
2 years ago
Lilith
c1cbfd5766
feat: add system setting to disable password-based login ( #2039 )
...
* system setting to disable password login
* fix linter warning
* fix indentation warning
* Prohibit disable-password-login if no identity providers are configured
* Warnings and explicit confirmation when en-/disabling password-login
- Disabling password login now gives a warning and requires a second
confirmation which needs to be explicitly typed.
- (Re)Enabling password login now also gives a simple warning.
- Removing an identity provider while password-login is disabled now
also warns about possible problems.
* Fix formatting
* Fix code-style
---------
Co-authored-by: traumweh <5042134-traumweh@users.noreply.gitlab.com>
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
d8d6de9fca
fix: get user by username api ( #2034 )
2 years ago
boojack
56c321aeaa
revert: fix: exclude all punctuation chars except underscore in tags ( #2033 )
...
Revert "fix: exclude all punctuation chars except underscore in tags (#1974 )"
This reverts commit 8c61531671
.
2 years ago
Mason Sun
a9eb605b0f
fix: auth api json format ( #2021 )
...
Update auth.go
api/v1/auth/相关接口未应用convertUserFromStore方法,会导致User对象获得类型存在问题,导致User定义的`json:`相关的字段转化失效。
导致输出json未被正确格式化
2 years ago
boojack
04b7a26c03
chore: fix request path ( #2014 )
2 years ago
boojack
28203bbaf9
chore: fix rss route ( #2010 )
2 years ago
boojack
9138ab8095
fix: rss route ( #2008 )
...
* fix: rss route
* chore: update
2 years ago
Ajay Kumbhare
55975a46d8
feat: add hindi language translation for i18n support ( #2001 )
2 years ago
Alexandr Tumaykin
f91f09adea
feat: use username instead of uid ( #1977 )
...
* #1916 replace userId to username
* resolve
---------
Co-authored-by: Александр Тумайкин <AATumaykin@tsum.ru>
2 years ago
Athurg Gooth
336b32004d
feat: add AutoBackupInterval in SystemSetting ( #1989 )
...
Add AutoBackupInterval in SystemSetting page
2 years ago
Jianwei Zhang
8bcc2bd715
fix: access token will expired after 24h ( #1988 )
2 years ago
Felipe Martínez
8c61531671
fix: exclude all punctuation chars except underscore in tags ( #1974 )
...
* Change tag regex
* Update tests
* Add more tag tests
2 years ago
boojack
2effacd0a6
chore: add api docs ( #1965 )
2 years ago
boojack
40a30d46af
chore: update db connection params ( #1960 )
2 years ago
Felipe Martínez
2a7104e564
fix: exclude commas in tags ( #1957 )
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
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
Athurg Gooth
3093f80d68
fix: visibility param override the user auth state ( #1942 )
...
fix visibility param override the user auth state
2 years ago
Athurg Gooth
11aa01ee2e
fix: visibility param override the user auth state ( #1941 )
...
fix visibility param override the user auth state
2 years ago
CorrectRoadH
d8b6e92813
feat: implement memos chat backend function ( #1934 )
...
* feat: implment backend function
* eslint
* eslint
* eslint
2 years ago
boojack
da70917b08
chore: update auth page ( #1920 )
...
* chore: update auth page
* chore: update
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
2033b0c8fa
fix: skip auth on /api/v1/status to avoid sign up while token invalid ( #1895 )
...
Skip auth on /api/v1/status to avoid sign up while token invalid
2 years ago
boojack
5b6c98582e
refactor: migrate storage to apiv1 ( #1890 )
...
* refactor: migrate storage to apiv1
* chore: update
* chore: update
* chore: update
2 years ago
Athurg Gooth
833fd23820
fix: OpenID was disappear sometimes ( #1886 )
...
Fix openid was disapear sometimes
2 years ago
boojack
66e65e4dc1
refactor: migrate definition to api v1 ( #1879 )
...
* refactor: user api v1
* refactor: system setting to apiv1
* chore: remove unused definition
* chore: update
* chore: refactor: system setting
* chore: update
* refactor: migrate tag
* feat: migrate activity store
* refactor: migrate shortcut apiv1
* chore: update
2 years ago
boojack
9a8d43bf88
chore: update user store names ( #1877 )
...
* chore: update user store names
* chore: update
2 years ago
boojack
5fe644a3b6
chore: add jwt middleware in apiv1 ( #1869 )
2 years ago
CorrectRoadH
a108f5e212
fix: ignore internalpath field when creating resource ( #1868 )
...
* fix/to_valid_token
* eslint
* revert
* fix/invalid_internalpath_file_upload
2 years ago
boojack
6a78887f1d
chore: update store types name ( #1862 )
2 years ago
boojack
7226a9ad47
chore: update idp store ( #1856 )
2 years ago
boojack
b44f2b5ffb
chore: migrate user setting to api v1 package ( #1855 )
...
* chore: migrate to api v1 package
* chore: update
2 years ago
boojack
b34aded376
refactor: migration idp api ( #1842 )
...
* refactor: migration idp api
* chore: update
2 years ago
boojack
4ed9a3a0ea
refactor: migrate auth routes to v1 package ( #1841 )
...
* feat: add api v1 packages
* chore: migrate auth to v1
* chore: update test
2 years ago
May Kittens Devour Your Soul
8f7001cd9f
feat: add croatian locale ( #1822 )
...
* Create hr.json
Croatian Language
* Update user_setting.go
* Update i18n.ts
* Update hr.json
* Update web/src/i18n.ts
---------
Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
Athurg Gooth
e6c9f2a00e
feat: add support for download resource from link ( #1800 )
...
* Add support for download resource from link
* Parse external link and add file ext name from mime info
* Add zh-Hans locale for `download-link`
* fix typo on code and comments
* Update server/resource.go
---------
Co-authored-by: Athurg Feng <athurg@gooth.org>
Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
kakik0u
c396cc9649
feat: add japanese locale ( #1802 )
...
* Add japanese
* Add japanese setting files
---------
Co-authored-by: barappe <121844712+barappe@users.noreply.github.com>
2 years ago
zhangpeng
ac5d8b47ca
chore: modify the error message when registering a Host user ( #1804 )
...
* Modify the error message
* modify the error message
2 years ago
boojack
11a385cda6
chore: update upgrade version view ( #1791 )
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
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
e0e59c5831
feat: display memo with updated ts ( #1760 )
2 years ago