Commit Graph

313 Commits

Author SHA1 Message Date
boojack
7d6934d00c
fix: rss link (#1534) 2023-04-16 09:51:03 +08:00
João Nuno Mota
2c328a4540
feat: hide ask ai button when key is empty (#1515)
* Add option to hide Ask AI and update dev version

* Fix formatting according to eslint

* Replace option to hide Ask AI with auto hiding based on config

* Fix golangci-lint errors

* Remove showAskAI logic from OpenAPI
2023-04-16 00:54:33 +08:00
boojack
ef7381f032
chore: upgrade version to 0.12.1 (#1499) 2023-04-09 11:51:43 +08:00
boojack
3eac19d258
chore: add ignore version upgrade setting (#1491) 2023-04-08 18:13:51 +08:00
boojack
204c03e772
chore: update audience name (#1484) 2023-04-07 08:52:13 +08:00
boojack
d0ddac296f
chore: update store error handler (#1479) 2023-04-06 07:42:39 +08:00
Sönke Werner Köster
8c2224ae39
feat: allow instance moderators to post public via the API (#1464) 2023-04-04 22:28:20 +08:00
boojack
6ff7cfddda
fix: return external link directly (#1465)
* fix: return external link directly

* chore: update
2023-04-04 08:31:11 +08:00
boojack
5361f76b11
chore: update filename when creating resource (#1460) 2023-04-03 23:16:43 +08:00
boojack
5caa8cdec5
chore: delete resource related file (#1456) 2023-04-03 17:02:47 +08:00
boojack
4419b4d4ae
chore: update version and remove isDev flag (#1452)
* chore: update version and remove isDev flag

* chore: update
2023-04-03 14:13:22 +08:00
boojack
1cab30f32f
feat: add public id field to resource (#1451)
* feat: add public id field to resource

* feat: support reset resource link
2023-04-03 13:41:27 +08:00
boojack
4f2adfef7b
chore: update system setting name convention (#1448) 2023-04-03 09:36:34 +08:00
boojack
8a33290722
chore: update user setting key convention (#1447)
* chore: update user settng key convention

* chore: update
2023-04-03 09:02:02 +08:00
boojack
41c50e758a
chore: revert resource visibility changes (#1444) 2023-04-02 14:09:25 +08:00
boojack
c7a57191bd
feat: add jwt auth (#1441)
* feat: add jwt auth

* chore: update
2023-04-02 09:28:02 +08:00
CorrectRoadH
424f10e180
feat: request pagination for resource(#1425)
* feat: add support for resource page on frontend

* [WIP]feat: add backend support for limit and offset search

* feat: add reducer to add resource

* support fetch all resource when first search

* beautify the fetch ui

* restore file

* feat: add all resource before clear resource

* eslint

* i18n

* chore:change the nane

* chore: change the name of param

* eslint

* feat: setIsComplete to true when first loading resource fully

* fix the bug of fetch

* feat change finally to then

* feat: add await and async to clear and search

* feat: return all resource when fetch

* chore: change variable name

* Update web/src/pages/ResourcesDashboard.tsx

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

* fix missing const value

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2023-04-01 16:51:20 +08:00
Xudong Cai
d21abfc60c
feat: add URLSuffix resource option with S3 (#1428)
* feat: add URLSuffix resource option with S3

* feat: add URLSuffix resource option with S3

* fix: eslint
2023-04-01 15:28:00 +08:00
Zeng1998
f3090b115d
feat: support local storage (#1383)
* feat: support local storage

* update

* update

* update

* update
2023-03-19 19:37:57 +08:00
boojack
ff8851fd9f
fix: golangci-lint version (#1381)
* chore: update interface declare

* chore: update args

* chore: update

* chore: update
2023-03-18 22:34:22 +08:00
boojack
573f07ec82
feat: support messages to ask AI (#1380) 2023-03-18 22:07:14 +08:00
Zeng1998
7529296dd5
chore: remove {filetype} in path template (#1377)
* chore: remove {filetype} in path template

* fix go-static-check

* update
2023-03-18 22:06:15 +08:00
boojack
29f784cc20
feat: update find resource with linked memo amount (#1354)
* feat: update find resource with linked memo amount

* chore: remove unused test
2023-03-15 00:04:52 +08:00
boojack
8d88477538
chore: rename http getter package (#1349) 2023-03-14 08:38:54 +08:00
boojack
50f36e3ed5
chore: upgrade version to 0.11.2 (#1336) 2023-03-11 13:20:24 +08:00
boojack
e5cbb8cd56
refactor: openAI config system setting (#1333) 2023-03-11 12:26:40 +08:00
Cologler
8c774316ae
refactor: build storage key (#1326)
* refactor build storage key

* sort imports

* use gofmt to format code
2023-03-09 22:41:48 +08:00
Yunwei Xiao
c57cea1aaa
fix: fix the typo of openai (#1298) 2023-03-07 08:38:41 +08:00
Wujiao233
003161ea54
feat: support set openai api host (#1292)
* Docker

* feat: support set openai api host

* fix css

* fix eslint

* use API in backend & put host check in plugin/openai

* fix go-static-checks
2023-03-06 20:10:53 +08:00
Zeng1998
fd99c5461c
feat(s3): customize filenames via placeholders (#1285)
* feat(s3): customize filenames via placeholders

* fix go-static-checks

* add tips on the frontend

* fix eslint check

* remove yarn.lock

* remove Config.Path

* update tips

* fix

* update
2023-03-06 12:04:19 +00:00
boojack
4335897367
chore: remove metrics plugin (#1276)
* chore: remove metrics plugin

* chore: update
2023-03-05 21:42:32 +08:00
boojack
e150599274
chore: upgrade version to v0.11.1 (#1247) 2023-03-04 18:49:50 +08:00
boojack
df04e852bf
feat: implement openai integration (#1245)
* feat: implement openai integration

* chore: update
2023-03-04 18:22:10 +08:00
Alex Zhao
9d4bb5b3af
feat: add support for s3 path (#1233)
* add support for path

* fix typo and switch positions with Path and Bucket

* using path method instead of string concatenation
2023-03-04 07:59:44 +08:00
Thareek Anvar M
e83ea7fd76
fix: login security issue (#1198)
* fix

* fix bug

* changes

* Revert "changes"

This reverts commit 2b2084c7bd.

* should close the toast if its error also

* no internal errors + sso

* change the text to Incorrect login credentials, please try again
2023-03-01 22:33:43 +08:00
boojack
9577f6dbe8
feat: add resource visibility to user setting (#1190) 2023-02-27 22:16:33 +08:00
boojack
977e7f55e5
feat: add visibility field to resource (#1185) 2023-02-27 21:26:50 +08:00
Zhizhen He
50a99e9120
fix: correct comments for exported functions and variables (#1158) 2023-02-25 20:48:38 +08:00
Zeng1998
57479b250a
chore: remove validators on the frontend (#1156)
* chore: update minlength of username

* remove the validator on frontend

* update
2023-02-25 14:59:29 +08:00
boojack
6e2e7ac782
fix: remove memo list api (#1151) 2023-02-24 21:11:12 +08:00
boojack
cc23d5cafe
chore: upgrade version to 0.11.0 (#1143)
* chore: upgrade version to `0.11.0`

* chore: update
2023-02-24 08:31:54 +08:00
boojack
9c5b44d070
feat: update storage schema (#1142) 2023-02-24 00:02:51 +08:00
boojack
84fb8b2288
feat: update storage setting section (#1140) 2023-02-23 23:22:34 +08:00
boojack
6d2d322140
chore: show pinned memos in explore (#1141) 2023-02-23 19:59:18 +08:00
boojack
1517688076
chore: update code structure (#1139)
* chore: update code structure

* chore: update
2023-02-23 00:07:16 +08:00
boojack
29124f56bb
chore: update memo service (#1138)
* chore: update memo service

* chore: update
2023-02-22 20:07:55 +08:00
boojack
42d849abfc
chore: update explore header style (#1137) 2023-02-22 19:21:08 +08:00
boojack
ffe1073292
fix: schema path for demo mode (#1124) 2023-02-19 16:34:15 +08:00
Yoshino-s
afaaec8492
feat(mode): add demo mode (#1121)
* feat(mode): add demo mode

* chroe: Update store/db/db.go

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

* chroe: Update store/db/db.go

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

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2023-02-19 13:36:45 +08:00
boojack
d0b8b076cf
feat: implement sign in with SSO (#1119)
* feat: implement sign in with SSO

* chore: update

* chore: update

* chore: update
2023-02-19 09:50:30 +08:00
Stephen Zhou
65aa51d525
feat: generate RSS item title and limit item count (#1117)
* feat: generate RSS item title and limit item count

* Update server/rss.go

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

* Update server/rss.go

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2023-02-18 22:20:28 +08:00
boojack
852903bdbd
fix: idp config definition (#1115)
fix: idp definition
2023-02-18 18:31:03 +08:00
boojack
0f57629d25
feat: implement idp server (#1111)
* feat: implement idp server

* chore: update
2023-02-18 11:29:12 +08:00
boojack
096a71c58b
feat: add avatar_url field to user table (#1106)
refactor: add `avatar_url` field to user table
2023-02-17 23:55:56 +08:00
boojack
c6e525b06f
chore: remove unused fields of storage table (#1104) 2023-02-17 20:12:08 +08:00
boojack
caf054bae7
chore: add beta badge to storage (#1099)
* chore: add beta badge to storage

* chore: update
2023-02-16 21:21:39 +08:00
boojack
7e8011ba34
chore: support deleting storage (#1095) 2023-02-15 22:54:46 +08:00
Zeng1998
2493bb0fb7
feat: storage service frontend (#1088) 2023-02-14 09:56:04 +08:00
Christopher
4641e89c17
feat(system): support for disabling public memos (#1003)
* feat(system): support for disabling public memos

* fix(web/editor): set visibility to private on disabled public memos

* feat(server/memo): find/check if public memos are disabled

* fix(server/memo): handle error for finding system error

* fix(server/memo): unmarshal visiblity when getting system settings

* chore(web): move side effect imports to end

* Update memo.go

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2023-02-13 16:07:31 +00:00
Zeng1998
1e4a81dea9
feat: storage service backend (#1086)
* feat: storage service backend

* update go.mod

* update the column name (urlPrefix -> url_prefix)

* update

* update
2023-02-13 19:36:48 +08:00
boojack
870559046f
chore: update skipper name (#1080) 2023-02-12 17:29:23 +08:00
boojack
b11d2130a0
chore: validate external link (#1069) 2023-02-11 17:34:29 +08:00
boojack
aad97c4c54
chore: update signup api (#1067) 2023-02-11 15:15:56 +08:00
boojack
3590d3f8b6
feat: update store cache (#1066)
* feat: update store cache

* chore: update
2023-02-11 14:19:26 +08:00
boojack
b366ce7594
fix: delete tag (#1062) 2023-02-10 23:57:02 +08:00
Zeng1998
1eacf5367d
chore: upgrade version to 0.10.3 (#1060) 2023-02-10 12:03:18 +08:00
boojack
a004dcf320
fix: pass empty condition in rss (#1058)
fix: handle empty condition in rss
2023-02-10 08:28:14 +08:00
boojack
bec1558488
fix: patch resource id (#1055) 2023-02-09 23:20:36 +08:00
Stephen Zhou
168c4f6950
feat: more rss info (#1052)
* feat: more rss info

* fix: ci
2023-02-09 21:17:15 +08:00
boojack
1ace332152
feat: graceful shutdown server (#1016) 2023-02-03 10:30:18 +08:00
Zeng1998
2d14047c73
fix: pdf resource preview (#1008) 2023-02-02 20:34:24 +08:00
boojack
4a7b764ab3
chore: remove unused flags for sqlite (#997) 2023-01-30 00:03:21 +08:00
boojack
6c3ff6de63
chore: get resource blob optional (#991) 2023-01-25 16:11:02 +08:00
boojack
82f61f2a0e
chore: upgrade version to 0.10.2 (#983) 2023-01-21 08:56:26 +08:00
boojack
c5368fe8d3
chore: update resource dialog style (#982) 2023-01-21 08:46:49 +08:00
Wujiao233
0aaf153717
fix: video and audio can't play on safari (#980)
* fix: video can't play on safari

* fix: audio can't play on safari
2023-01-20 16:52:38 +08:00
Zeng1998
f8855ddb56
feat: support empty content memo (#963)
feat: support empty-text memo
2023-01-17 20:56:57 +08:00
boojack
fae0b64a08
fix: delete tag api (#950)
* fix: delete tag api

* chore: update
2023-01-14 12:08:31 +08:00
boojack
677750ef51
chore: upgrade version to 0.10.1 (#949) 2023-01-14 08:00:07 +08:00
boojack
219d2754a0
chore: remove existed tags in suggestion (#944) 2023-01-13 22:37:30 +08:00
boojack
40d25f7dca
fix: skip api error for static middleware (#941) 2023-01-13 07:06:15 +08:00
boojack
8c146aed68
feat: update memo resources style (#933)
* feat: update memo resources style

* chore: update
2023-01-12 00:00:44 +08:00
boojack
0f057e81e9
fix: version compare (#916)
* fix: version compare

* chore: update
2023-01-07 13:58:42 +08:00
boojack
e2e8130f4c
fix: sort version (#914) 2023-01-07 11:49:58 +08:00
boojack
46c13a4b7f
chore: add skipper for secure (#913) 2023-01-07 10:51:34 +08:00
boojack
491859bbf6
chore: update activity metrics (#908) 2023-01-05 20:56:50 +08:00
boojack
f16123a624
chore: update memo create activity (#903) 2023-01-03 23:49:11 +08:00
boojack
d50ad9433f
feat: persistent session name (#902)
* feat: persistent session name

* chore: update
2023-01-03 23:05:42 +08:00
boojack
79180928d4
chore: update server activity (#898) 2023-01-03 20:05:37 +08:00
boojack
e5550828a0
chore: update activity payload (#891) 2023-01-02 23:18:12 +08:00
boojack
5195012217
feat: add activity table (#888)
feat: introduce activity
2023-01-01 23:55:02 +08:00
boojack
a797280e3f
chore: update middleware skipper (#887)
* chore: update middleware skipper

* chore: update
2023-01-01 23:26:21 +08:00
boojack
861eeb7b0f
chore: add skipper in CSRF (#885) 2023-01-01 21:32:17 +08:00
boojack
24b21aa9d7
chore: update version to 0.9.1 (#882) 2022-12-31 15:40:53 +08:00
boojack
c9bb2b785d
chore: fix CSRF (#876) 2022-12-30 00:17:19 +08:00
boojack
b6f7a85a2a
fix: reload page when sign out (#871) 2022-12-28 20:58:59 +08:00
boojack
3556ae4e65
fix: access control (#870) 2022-12-28 20:22:52 +08:00
boojack
f888c62840
chore: update userinfo validator (#868)
* chore: update userinfo validator

* chore: update actions

* chore: update
2022-12-27 21:51:43 +08:00
boojack
afc9709484
chore: update dev config (#857) 2022-12-25 10:39:45 +08:00
boojack
05b41804e3
chore: hide host user email (#856) 2022-12-25 10:28:51 +08:00