Commit Graph

96 Commits

Author SHA1 Message Date
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
CorrectRoadH 7d89fcc892
feat: add list style for resource dashboard (#1389)
* stash: file upload

* feat: add style button

* feat: add style of list

* feat: add checkbox for list

* feat: support file upload by drag

* feat: beautify the ui

* feat: support file upload

* stash

* fix: the resource is incorrectly when upload multiple files

* feat: beautify the ui

* chore: reduce unused line

* stash

* chore: deleted unused line

* chore: deleted unused line

* chore

* chore: change the function declare

* feat: support to prompt file is too large

* feat:drop prompt to cover all element

* fix: eslint

* fix: the name of i18n

* chore: refactor the import deps

* feat: beautify the ui

* feat: support the style of button

* feat: beautify the switch ui

* chore: refactor the component

* chore: refactor the resource item dropdown

* feat: use memo to reduce unused computing in drop

* feat: use memo to reduce the calc of resource list

* chore:change name

* Update web/src/locales/en.json

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

* chore: the import of  deps

* fix: the window size of fecting data

* feat: support to save the state of style

* remove pnpm-lock

* merge main

* chore: simpify the statement

* fix: delete conflict marker

* feat: add i18n for select

* feat:support dark mode

* eslint

* feat: delete the storage of resource style

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2023-03-26 19:32:53 +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 e5cbb8cd56
refactor: openAI config system setting (#1333) 2023-03-11 12:26:40 +08:00
boojack a9218ed5f0
refactor: filter store (#1331) 2023-03-11 09:13:54 +08:00
boojack ccdcd3d154
feat: fold memo when content overflow (#1327)
* feat: fold memo when content overflow

* chore: update
2023-03-09 23:32:35 +08:00
Aswath S 2428e6e190
feat: allow users to customize the refresh time for Daily Reviews (#1313)
* feat: Allow users to customize the refresh time for Daily Reviews

* feat: Allow users to customize the refresh time for Daily Reviews. Lint fix

* feat: Allow users to customize the refresh time for Daily Reviews. change daily review time offset to include only hour

* feat: Allow users to customize the refresh time for Daily Reviews. Retrigger to try CodeQL pass.

---------

Co-authored-by: Aswath S <aswath.s@thoughtworks.com>
2023-03-09 08:26:56 +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
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
Mehmet Altuğ Akgül e062c9b4a7
feat: add Turkish Translation file (#1202)
* Created tr.json for Turkish Translation

* updated file for trLocale

* Updated for Turkish Locale

* Update i18n.ts

* Update i18n.ts

* Update package.json

* Update package.json

* Update i18n.d.ts

* Update user_setting.go

* Update package.json

* Update web/src/components/LocaleSelect.tsx

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

* Update package.json

* Update LocaleSelect.tsx

* Update LocaleSelect.tsx

* Update i18n.ts

* Update i18n.ts

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2023-03-02 10:05:15 +08:00
boojack 9577f6dbe8
feat: add resource visibility to user setting (#1190) 2023-02-27 22:16:33 +08:00
boojack 904a6bd97f
fix: find memo list order (#1149) 2023-02-24 20:34:54 +08:00
boojack 9c5b44d070
feat: update storage schema (#1142) 2023-02-24 00:02:51 +08:00
boojack 29124f56bb
chore: update memo service (#1138)
* chore: update memo service

* chore: update
2023-02-22 20:07:55 +08:00
_Jellen 29b5c393d1
feat: add Korean translation (#1127)
added Korean translation
2023-02-20 00:54:12 +00:00
boojack 708049bb89
feat: add SSO related UI (#1118)
* feat: add SSO related UI

* chore: update
2023-02-18 22:57:45 +08:00
boojack bcee0bbf3a
feat: add avatar to user in frontend (#1108) 2023-02-18 10:00:46 +08:00
boojack c6e525b06f
chore: remove unused fields of storage table (#1104) 2023-02-17 20:12:08 +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
boojack 5455cb3164
chore: simplify editor (#1087) 2023-02-13 23:27:45 +08:00
Zeng1998 7cd474dbb7
feat: add setting for double-click of memos (#1036)
* feat: add setting for double-click of memos

* update

* update
2023-02-07 20:35:41 +08:00
WY-WY-W 930b54fabd
feat: update Traditional Chinese translation (#994) 2023-01-29 09:41:56 +08:00
boojack dd5a23e36e
feat: support creating resource with external link (#988) 2023-01-22 21:16:28 +08:00
boojack c5368fe8d3
chore: update resource dialog style (#982) 2023-01-21 08:46:49 +08:00
Vincenzo Cardone 2e95f6824f
feat: add Italian Translation (#890) 2023-01-02 09:41:39 +08:00
Ivan 65e9fdead1
feat: add russian locale (#879) 2022-12-31 09:02:14 +08:00
Taras c160bed403
fead: add ukrainian locale (#864) 2022-12-26 19:10:47 +08:00
Zeng1998 2e2657b39d
feat: add setting for power editor (#851) 2022-12-24 16:18:13 +08:00
boojack 9f25badde3
chore: update logo format to png (#830) 2022-12-23 00:21:53 +08:00
boojack 7efa749c66
feat: customize system profile (#828) 2022-12-22 19:48:44 +08:00
boojack b67ed1ee13
feat: customize system profile (#774)
* feat: system setting for customized profile

* chore: update

* feat: update frontend

* chore: update
2022-12-18 21:18:30 +08:00
PublicHer0 5520605ccc
feat: add spanish locale (#741) 2022-12-13 09:12:22 +08:00
Jasper Platenburg 79bf365d78
Dutch locale (#687) 2022-12-06 08:11:21 +08:00
Maurice Bauer 492a1370ab
feat: add German i18n item (#686) 2022-12-06 07:42:17 +08:00
boojack 4a9314c476
chore: rename `enableFoldMemo` (#671)
* chore: rename `enableFoldMemo`

* chore: update
2022-12-04 15:34:03 +08:00
boojack 4767ee3293
feat: support follow system appearance (#670) 2022-12-04 12:23:29 +08:00
Andreas Backström 53cf6ebb79
feat: add swedish/svenska translation (#668)
Add swedish / svenska translation
2022-12-03 21:38:25 +08:00
boojack 14f9f29348
chore: update user setting appearance (#654) 2022-12-02 20:00:34 +08:00
boojack 7c6d7226f5
feat: update appearance selector (#645) 2022-12-01 20:57:19 +08:00
Stephen Zhou 6b058cd299
feat: save folding option with localstorage (#641)
* fix: change folding option need reload

* fix: floding option undefied
2022-11-30 19:13:55 +08:00
Zeng1998 54271c1598
chore: fix some typos (#587) 2022-11-26 06:23:29 +00:00
boojack a0b35f7aa9
feat: add French i18n item (#547)
feat: add French i18n
2022-11-24 08:42:38 +08:00
boojack 2042737004
feat: add username field (#544)
* feat: add username field

* chore: update
2022-11-23 22:27:21 +08:00
boojack a0667abec8
chore: update data initial requests (#538) 2022-11-22 23:45:11 +08:00
boojack a2831b37c4
feat: add database filesize in UI (#488) 2022-11-18 21:17:52 +08:00
boojack ceac53b6d0
feat: additional script system setting (#467) 2022-11-14 22:21:19 +08:00
Zeng1998 407d1cdcaa
feat: add visibility filter (#461)
* feat: add visibility filter

* update
2022-11-13 19:34:22 +08:00