Commit Graph

708 Commits

Author SHA1 Message Date
boojack 89053e86b3
chore: fix cover bg color (#1337) 2023-03-11 15:23:05 +08:00
boojack 50f36e3ed5
chore: upgrade version to `0.11.2` (#1336) 2023-03-11 13:20:24 +08:00
boojack ca6839f593
chore: remove editor shortcuts (#1334) 2023-03-11 12:31:45 +08:00
boojack e5cbb8cd56
refactor: openAI config system setting (#1333) 2023-03-11 12:26:40 +08:00
boojack 7c92805aac
fix: daily review page style (#1332) 2023-03-11 10:08:36 +08:00
boojack a9218ed5f0
refactor: filter store (#1331) 2023-03-11 09:13:54 +08:00
boojack f3f0efba1e
feat: update page router (#1330) 2023-03-11 08:43:45 +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
远浅 6866b6c30d
fix: unified tag sorting logic (#1323) 2023-03-09 12:36:11 +08:00
boojack f86816fea2
feat: use react-hot-toast (#1321) 2023-03-09 08:54:14 +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
boojack 70a187cc18
chore: update ask AI trigger (#1316) 2023-03-08 23:09:15 +08:00
boojack 390e29f850
chore: remove part of less files (#1314) 2023-03-08 22:05:43 +08:00
boojack 3a466ad2a1
chore: update style of home sidebar (#1311) 2023-03-08 21:56:28 +08:00
boojack 483c1d5782
feat: update responsible layout (#1306)
* feat: update responsible layout

* chore: update
2023-03-08 09:00:10 +08:00
Jason Chen 65850dfd03
feat: auto focus search bar when sidebar is shown (close #1269) (#1304)
feat: auto focus search bar when sidebar is shown
2023-03-08 08:02:51 +08:00
Xiang Jaywhen daa1e9edfb
fix: Ask-AI history list reversed when loading answer (#1301) 2023-03-07 19:36:18 +08:00
kimw 008d6a0c81
feat: add GitLab OAuth2 template (#1302) 2023-03-07 19:35:31 +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
Zeng1998 c1903df374
fix: correct the storage service state (#1288) 2023-03-06 19:13:00 +08:00
Juskinbo 8c5ba63f8c
fix: overflow of dialog-content-container (#1277)
* fix: overflow of dialog-content-container

* fix: overflow of dialog-content-container
2023-03-05 23:19:01 +08:00
boojack f7cd039819
chore: rename common to base component (#1279) 2023-03-05 23:08:02 +08:00
boojack 5d24fe189d
chore: update location store handler (#1273)
* chore: update location store handler

* chore: update search bar
2023-03-05 19:50:50 +08:00
boojack bf46a9af68
chore: add heat map to sidebar (#1255) 2023-03-05 01:03:37 +08:00
boojack df04e852bf
feat: implement openai integration (#1245)
* feat: implement openai integration

* chore: update
2023-03-04 18:22:10 +08:00
boojack dd625d8edc
chore: update links reference (#1243) 2023-03-04 15:06:01 +08:00
boojack 6ab58f294e
feat: update home layout (#1242) 2023-03-04 13:49:53 +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
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
CorrectRoadH eda27a60be
fix: incorrect sharing image gerneration (#1157) (#1205) 2023-02-28 22:43:42 +08:00
boojack 9577f6dbe8
feat: add resource visibility to user setting (#1190) 2023-02-27 22:16:33 +08:00
boojack ae61ade2b1
chore: add my account entry in user dropdown (#1187) 2023-02-27 21:30:54 +08:00
Zeng1998 7b7061846c
chore: open url in other tabs (#1173)
* chore: open url in other tabs

* update: add `rel="noreferrer"`
2023-02-27 19:50:43 +08:00
Zeng1998 4284fd0469
fix: omission of long filename (#1170) 2023-02-27 19:50:09 +08:00
boojack 039b6b247a
chore: remove username click event (#1167)
chore: remove user name click event
2023-02-26 23:52:51 +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 d6e4b5e889
chore: fix dispatch memo pinned (#1152) 2023-02-25 00:13:41 +08:00
Xiang Jaywhen c24b7097fa
fix: function name typo (#1148)
fixed function name typo

“handleAddFilterBenClick” -> "handleAddFilterBtnClick"

[#1147 ](https://github.com/usememos/memos/issues/1147)
2023-02-24 18:09:31 +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 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
Yoshino-s bbc5ac9f0e
feat: make file uplaod support drag/drop (#1129) 2023-02-20 22:17:01 +08:00
_Jellen 29b5c393d1
feat: add Korean translation (#1127)
added Korean translation
2023-02-20 00:54:12 +00:00
boojack b145d8b8a2
chore: update setting dialog style (#1125) 2023-02-19 21:12:16 +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
boojack 708049bb89
feat: add SSO related UI (#1118)
* feat: add SSO related UI

* chore: update
2023-02-18 22:57:45 +08:00
Zeng1998 19efacef9c
chore: add desc for storage form (#1112) 2023-02-18 18:08:35 +08:00
boojack 37f9c7c8d6
chore: update avatar max size (#1109) 2023-02-18 10:48:31 +08:00
boojack bcee0bbf3a
feat: add avatar to user in frontend (#1108) 2023-02-18 10:00:46 +08:00
boojack d29c40dc71
chore: update router loader (#1102) 2023-02-17 08:26:40 +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
boojack 3394380ffa
chore: update storage components (#1091) 2023-02-14 22:45:22 +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
boojack a997e1d10d
chore: simplify memo editor component (#1079) 2023-02-12 16:34:42 +08:00
boojack b92da8f123
fix: check localsetting exists (#1076) 2023-02-11 22:54:13 +08:00
boojack b11d2130a0
chore: validate external link (#1069) 2023-02-11 17:34:29 +08:00
boojack 5df59a48b7
chore: update rss icon style (#1056) 2023-02-09 23:45:48 +08:00
boojack 989208eb45
chore: update resource select dialog (#999)
* chore: update resource select dialog

* chore: update
2023-02-09 23:24:51 +08:00
Stephen Zhou 6ff79c5d5c
fix: can not input chinese (#1053) 2023-02-09 21:50:51 +08:00
Stephen Zhou 168c4f6950
feat: more rss info (#1052)
* feat: more rss info

* fix: ci
2023-02-09 21:17:15 +08:00
Nitin Khanna 26700a1ff0
fix: DatePicker should say Wed instead of Web (#1046)
DatePicker should say Wed instead of Web
2023-02-08 08:37:02 +08:00
Stephen Zhou 8b92021b1a
fix: editor cursor not in view after smart editing (#1043) 2023-02-07 23:31:43 +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
Stephen Zhou 99cac7cac0
fix: scroll when clicking expand button (#1035) 2023-02-07 20:09:30 +08:00
WY-WY-W 930b54fabd
feat: update Traditional Chinese translation (#994) 2023-01-29 09:41:56 +08:00
boojack 5b0a54bfb7
chore: clean `package.json` (#993)
* chore: clean `package.json`

* chore: update
2023-01-26 00:35:50 +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
Stephen Zhou 942e1f887b
feat: scrool to memo after editing (#907) 2023-01-19 20:57:45 +08:00
Wujiao233 b8ab43aa25
feat: support swipe to switch img on touchscreen (#970)
* feat: support swipe to switch img on touchscreen

* fix: fix two or more fingers touch

* fix lint
2023-01-19 20:57:03 +08:00
boojack 4ba9767b94
fix: use input instead of textfield (#973) 2023-01-19 09:16:22 +08:00
Zeng1998 12fda38520
feat: add customized logo in share dialog (#969)
* feat: add qrcode in share dialog

* update: change the color

* feat: add customized logo in share dialog

* update: import order

Co-authored-by: boojack <stevenlgtm@gmail.com>
2023-01-18 10:52:25 +00:00
Zeng1998 9ed503fd6d
feat: add qrcode in share dialog (#964)
* feat: add qrcode in share dialog

* update: change the color

* update: import order
2023-01-18 18:49:48 +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 4cfd000b92
feat: support audio player (#948) 2023-01-14 07:41:17 +08:00
boojack 10430a66c3
chore: debounce search text input (#943)
* chore: debounce search text input

* chore: update
2023-01-13 22:33:52 +08:00
Jasper Platenburg c167c21e4e
chore: added translation for copy memo link (#942) 2023-01-13 21:22:20 +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 46c13a4b7f
chore: add skipper for secure (#913) 2023-01-07 10:51:34 +08:00
boojack 96798e10b4
feat: support embed memo with iframe (#912) 2023-01-07 01:56:02 +08:00
boojack 0f8ce3dd16
refactor: return jsx element instead of string in marked (#910)
* refactor: return jsx element instead of string in marked

* chore: update
2023-01-07 00:13:49 +08:00
Zeng1998 92a8a4ac0c
feat: support code copy (#901)
* feat: support code copy

* update
2023-01-03 23:05:00 +08:00
Vincenzo Cardone 2e95f6824f
feat: add Italian Translation (#890) 2023-01-02 09:41:39 +08:00
boojack 24b21aa9d7
chore: update version to `0.9.1` (#882) 2022-12-31 15:40:53 +08:00
boojack 51eac649c5
chore: update create tag dialog (#881) 2022-12-31 15:13:25 +08:00
Ivan 65e9fdead1
feat: add russian locale (#879) 2022-12-31 09:02:14 +08:00
boojack 9169b3f2cd
chore: update tip text for empty tag list (#872) 2022-12-29 09:14:24 +08:00
boojack b6f7a85a2a
fix: reload page when sign out (#871) 2022-12-28 20:58:59 +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 f6039f2eb9
chore: update dialog title (#834) 2022-12-23 19:49:44 +08:00
boojack 65cc19c12e
chore: add escape to prevent XSS (#833) 2022-12-23 19:17:33 +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 2fb171e069
chore: update create tag dialog style (#818)
* chore: update create tag dialog

* chore: update
2022-12-22 09:29:22 +08:00
boojack 201c0b020d
chore: update seed data for tag (#817)
* chore: update seed data

* chore: add `_journal_mode` for SQLite

* chore: update create tag dialog
2022-12-22 08:34:05 +08:00
boojack b6f19ca093
feat: upsert tag based content (#816)
* feat: upsert tag based content

* chore: update
2022-12-22 00:35:47 +08:00
boojack 68a77b6e1f
feat: create tag dialog (#814) 2022-12-21 23:59:03 +08:00
ChasLui 1838e616fd
feat: show active panel when searchBar is in focus (#806)
* feat: Show active panel when searchBar is in focus

* refactor: rename
2022-12-21 18:36:08 +08:00
ChasLui 358a5c0ed9
feat: press cmd+f to focus on the search bar (#800) 2022-12-21 00:46:22 +08:00
ChasLui 40f39fd66c
feat: use shift+tab to unindent (#799)
* feat: Use shift+tab to unindent, just like vscode

* fix: shit+tab return
2022-12-20 23:03:25 +08:00
Jasper Platenburg 3b41976866
feat: implement plurals for stats (#783)
* implement plurals for stats

* renamed variables

* modified according to 18n guide
2022-12-20 21:29:10 +08:00
PublicHer0 a23de50bb8
feat: update spanish locale (#786)
* Adding spanish version

* update spanish locale

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-12-20 13:18:21 +00:00
Jasper Platenburg 6596e6893e
feat: implement translation for days (#784)
implement trranslation for weekdays

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-12-20 13:10:25 +00:00
ChasLui b6fe4d914e
fix: incorrect cursor when text is selected in range (#797) 2022-12-20 20:51:32 +08:00
ChasLui 3c2cd43d28
fix: shortcuts should exclude the shift judgment (#796)
* fix: Shortcuts should exclude the shift judgment

* fix: eslint
2022-12-20 19:47:35 +08:00
ChasLui 2658b1fd09
feat: support `command + k` shortcuts insert []() (#793)
* feat: support `command + k` shortcuts insert []()

* fix: eslint

* fix: clear code

* fix: eslint

* feat: insert [](url)

* refactor: rename param

* fix: eslint
2022-12-20 18:51:22 +08:00
Zeng1998 b7df1f5bbf
feat: matching punctuation (#791) 2022-12-20 18:10:02 +08:00
ChasLui a0face6695
feat: update i18n (#790)
* feat: tag type i18n

* feat: custom server dialog i18n

* feat: i18n resources name

* feat: i18n toast

* fix: eslint

* eslint: fix

* fix: eslint

* fix: eslint
2022-12-20 17:47:02 +08:00
Zeng1998 bd6ab71d41
chore: remove unused state (#780) 2022-12-19 18:03:39 +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
Zeng1998 55695f2189
feat: `esc` key to exit multiple dialogs (#692)
* fix: `esc` key to exit multiple dialogs

* update

* update

* update

* Update web/src/components/Dialog/BaseDialog.tsx

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-12-18 10:09:12 +00:00
boojack ef621a444f
refactor: introducing `use{Module}Store` instead of service (#768)
* refactor: introducing `useEditorStore`

* refactor: update

* chore: update
2022-12-18 15:25:18 +08:00
boojack bd00fa798d
chore: simplify ordered list in editor (#767)
chore: simplify editor
2022-12-18 12:44:46 +08:00
Zeng1998 a41745c9ae
feat: editor enhancement for order list (#763) 2022-12-18 11:02:42 +08:00
M. Gschwandtner 1eec474007
fix: heatmap popup showing after logging out (#761)
* fix for heatmap popup showing after logging out

* moved node.remove to component unmount

* Update web/src/components/UsageHeatMap.tsx

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

Co-authored-by: M. Gschwandtner <84477901+OnlyPain-ctrl@users.noreply.github.com>
Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-12-17 03:10:06 +00:00
Stephen Zhou 83e5278b51
fix: dialog close when draging from in to out (#760) 2022-12-17 10:53:55 +08:00
boojack bbd5fe4eb2
feat: remove sticky style for memo editor (#752) 2022-12-16 22:41:12 +08:00
Stephen Zhou d51af7e98a
fix: hr in edited content do not trigger folding (#748) 2022-12-15 18:38:35 +08:00
Jasper Platenburg 35fed76d1a
feat: add 'theme' to translation (#746) 2022-12-15 08:43:32 +08:00
PublicHer0 5520605ccc
feat: add spanish locale (#741) 2022-12-13 09:12:22 +08:00
Zeng1998 3fd4ee83ac
fix: checklist auto continuation (#737) 2022-12-12 18:30:04 +08:00
Zeng1998 91220ea4a6
fix: reset image state in gallery (#730) 2022-12-11 20:14:55 +08:00
Zeng1998 4bebbf3e1d
feat: enable paste multiple resources (#729)
* feat: enable paste multiple resources

* update

* update
2022-12-11 19:17:39 +08:00
boojack 564f20d13a
chore: remove ESC to close edit (#726) 2022-12-11 14:18:04 +08:00
boojack c3adb1b152
fix: set resource list in memo editor (#725) 2022-12-11 14:04:22 +08:00
boojack 66418d4210
feat: get image only when cors error (#721) 2022-12-10 13:20:48 +08:00
boojack ab8c7b9d8a
fix: auto complete in memo editor (#720) 2022-12-10 12:44:45 +08:00
Zeng1998 6f8e3432e9
fix: correct priority of keys in editor (#703) 2022-12-08 18:46:43 +08:00
Zeng1998 36b92ad884
feat: auto continuation list in editor (#689)
* feat: auto continuation list in editor

* update

* update
2022-12-08 10:01:01 +08:00
apixandru 4d9857ce18
fix: update UsageHeatMap.tsx to account for daylight savings (#696) 2022-12-08 08:24:36 +08:00
boojack 43b22ce55f
chore: fix typo (#695) 2022-12-07 22:49:05 +08:00
Zeng1998 147185309c
feat: vacuum database in setting (#694)
* feat: vacuum database in setting

* update

* update

* update

* update
2022-12-07 22:45:47 +08:00
Zeng1998 e92407d9ec
feat: image preview enhancement (#682) 2022-12-06 09:38:01 +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 d1007950e0
chore: remove emoji picker (#667) 2022-12-03 15:28:37 +08:00
boojack a7374cf998
fix: generate sharing memo image (#663) 2022-12-03 09:41:52 +08:00
boojack 07f0c3f052
chore: update global css (#657) 2022-12-02 21:34:43 +08:00
boojack a467a7c173
feat: upgrade dev version to `0.8.1` (#656)
* feat: upgrade version to `0.8.1`

* chore: update
2022-12-02 21:09:11 +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
boojack c5200ca31b
feat: dark mode for dialogs (#643) 2022-11-30 20:34:16 +08:00
Tiefseemonster 1078132b12
fix: member menu dropdown position (#639)
* fix: member menu dropdown position

* chore: cleanup

* chore: cleanup
2022-11-30 20:18:39 +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
boojack 6384f5af74
feat: dark mode for main pages (#637)
* feat: update dark mode styles for auth and explore page

* feat: dark mode for home page
2022-11-29 21:44:52 +08:00
Zeng1998 52038d26d2
chore: update i18n for validator message (#636) 2022-11-29 21:35:40 +08:00
boojack 55f37664ef
chore: add theme file for joyui (#635) 2022-11-29 20:15:16 +08:00
Zeng1998 ab8e3473a1
feat: support resources reuse (#620)
* feat: support resource reuse

* update

* update

* update

* update
2022-11-29 19:07:20 +08:00
Zeng1998 eba23c4f6e
fix: add validation for user information update (#633) 2022-11-29 19:03:29 +08:00
Zeng1998 00fe6d3862
chore: add joyui tooltip for resources dialog (#630) 2022-11-29 09:36:48 +08:00
Zeng1998 12b81781b9
feat: share memo dialog (#618)
* feat: new share dialog

* update

* update

* update

* update
2022-11-28 21:20:35 +08:00
Zeng1998 b67a37453d
feat: member management enhancement (#617)
* feat: member management enhancement

* update

* update

* update

* update
2022-11-28 19:59:11 +08:00
Zeng1998 40e92f9463
fix: change password max length validation (#616) 2022-11-28 19:33:14 +08:00
Zeng1998 f883dd9c1d
feat: create user repeat password (#614)
* feat: create user repeat password

* update
2022-11-28 19:32:53 +08:00
Wujiao233 f982e83d0a
fix: clear shortcut filter when delete this shortcut (#611) 2022-11-28 06:14:25 +08:00
Jasper Platenburg 3472a6db26
fix: password field visible (#609) 2022-11-27 21:53:10 +08:00
boojack ce795a2a7d
chore: show content image (#602) 2022-11-27 09:01:19 +08:00
Tiefseemonster 2fa01886da
fix: tooltip overlaps a window border (#599) 2022-11-27 08:48:21 +08:00
boojack db1d223448
fix: apperance select (#585) 2022-11-26 17:45:16 +08:00
Zeng1998 54271c1598
chore: fix some typos (#587) 2022-11-26 06:23:29 +00:00
Stephen Zhou 90c85103c3
feat: dark mode support for auth page (#569)
* feat: dark mode support for auth page

* chore: update
2022-11-26 11:20:22 +08:00
Zeng1998 2d5d734da4
chore: update i18n for account settings (#582) 2022-11-26 02:23:57 +00:00
Zeng1998 e1e5121dd7
fix: get markdown image from backend (#581) 2022-11-26 10:20:49 +08:00
boojack b511a7b634
fix: user patch with empty email (#578) 2022-11-25 22:34:24 +08:00
Zeng1998 5f3cade810
feat: highlight the searched text in memo content (#514)
* feat: highlight the searched text in memo content

* update

* update

* update

* update

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-11-25 21:59:21 +08:00
boojack 072851e3ba
chore: update dialog style (#574)
* chore: update tests

* chore: update dialog styles
2022-11-25 21:55:45 +08:00
Zeng1998 ff0db82dc3
chore: empty query text (#566) 2022-11-25 20:09:42 +08:00
boojack 8cfcd201b0
feat: support display video (#558) 2022-11-24 20:22:54 +08:00
boojack 50d41c456b
chore: change memo created time (#556) 2022-11-24 19:55:52 +08: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
Zeng1998 5e069f79a2
feat: esc to cancel editing (#532) 2022-11-22 19:54:25 +08:00
Zeng1998 7c78fb064f
fix: empty filter value (#529) 2022-11-22 11:31:37 +00:00
Zeng1998 0d0f893b93
chore: update i18 for memo sharing (#513) 2022-11-21 19:59:19 +08:00
Zeng1998 d2a87a4ddb
chore: bgcolor of memo share image (#508) 2022-11-21 18:38:32 +08:00
Zeng1998 1acf2f8b13
chore: update i18 for settings (#490) 2022-11-19 10:33:52 +08:00
boojack a2831b37c4
feat: add database filesize in UI (#488) 2022-11-18 21:17:52 +08:00
boojack 706b1b428f
chore: add toast to system settings (#486) 2022-11-17 21:37:57 +08:00
boojack 1690566413
chore: update emoji picker (#483) 2022-11-17 21:11:58 +08:00
boojack a24b885236
chore: update share memo image (#482) 2022-11-17 21:01:26 +08:00
Stephen Zhou c89a6665b6
feat: fold memos according to horizontal rule (#478)
* feat: fold memos according to horizontal rule

* fix: button and content

* chore: update
2022-11-15 14:49:08 +00:00
boojack 66f9bc48bb
chore: remove mark memo (#476) 2022-11-15 21:22:08 +08:00
boojack de2eff474c
chore: remove memo card dialog (#475) 2022-11-15 21:16:53 +08:00
boojack 61abc6dd11
feat: update sharing memo image (#473) 2022-11-15 21:02:55 +08:00
boojack 9fe9245727
chore: update cancel edit button style (#472) 2022-11-15 20:35:56 +08:00
Zeng1998 906ec7994e
fix: clear query text (#469)
* fix: clear query text

* update

* update

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-11-15 19:52:16 +08:00
boojack ceac53b6d0
feat: additional script system setting (#467) 2022-11-14 22:21:19 +08:00
Stephen Zhou 3775d5c9c2
feat: folding options (#459)
* feat: folding options

* chore: update

* chore: update

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-11-14 22:06:05 +08:00
Zeng1998 d208731f5f
feat: visibility click filter (#463)
* feat: visibility click filter

* update

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-11-13 21:23:40 +08:00
Zeng1998 407d1cdcaa
feat: add visibility filter (#461)
* feat: add visibility filter

* update
2022-11-13 19:34:22 +08:00
boojack 2743268fd7
chore: remove unused visibility selector (#457) 2022-11-13 10:47:21 +08:00
Zeng1998 8cc0977a01
fix: image url extraction (#453)
fix: image-url-extraction

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-11-12 21:25:50 +08:00
boojack 0809ec8c72
chore: update editor style (#456) 2022-11-12 21:22:51 +08:00
boojack db93710f85
chore: remove mobile editor style user setting (#455) 2022-11-12 21:01:34 +08:00
boojack 241c93c6b7
feat: update editor style (#454)
* feat: update editor style

* chore: update bg
2022-11-12 20:57:08 +08:00
boojack fe05e6a464
chore: update version 0.7.2 (#447) 2022-11-12 09:19:44 +08:00
boojack d1aa6aa7f8
fix: editor resource list (#445) 2022-11-12 09:04:26 +08:00
boojack a142d975d7
feat: additional style system setting (#444)
* feat: additional style system setting

* feat: remove editor font setting
2022-11-11 23:42:44 +08:00
boojack 67691d1e99
feat: update visibility selector style (#441) 2022-11-11 19:25:21 +08:00
Zeng1998 9b827b4801
feat: add support for time-shortcut (#434)
* feat: add support for time-shortcut

* update

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-11-11 19:14:38 +08:00
Zeng1998 421f4dbf60
feat: select visibility in editor (#421)
* feat: editing visibility selection

* update

* update

* update variable name

* update

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-11-10 13:43:49 +00:00
Zeng1998 b6c0a04394
fix: share memo with resource list (#431)
* fix: share memo with resource list

* update

* Update web/src/components/ShareMemoImageDialog.tsx

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-11-09 14:58:16 +00:00
Zeng1998 1e3b8315a0
chore: update MemoResources props (#432) 2022-11-09 22:10:31 +08:00
Zeng1998 78b4733fb9
chore: add icon for deleting resource (#414) 2022-11-05 17:41:14 +08:00
winwin2011 37bb3bc546
chore: allow skip version (#411)
* chore: allow skip version

* chore: opacity

* chore: polish

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-11-04 15:40:48 +00:00
boojack 0d6281ef6b
chore: update signin page (#410)
* chore: update signin page

* chore: update version `v0.7.1`
2022-11-04 12:28:16 +00:00
boojack c27e38b11c
chore: enable `no-unused-vars` (#408) 2022-11-03 23:43:56 +00:00
boojack cf75054106
feat: add system setting to allow user signup (#407) 2022-11-03 21:47:36 +08:00
Zhou Yunliang 4ed987229b
feat: text filter regex support (#406) 2022-11-03 21:06:17 +08:00
Zhou Yunliang 91a61e058a
feat: view all images of a memo (#393)
* feat: view all images of a memo

* fix: function arguments

* refactor: unified image preview

* refactor: image preview for resource dialog

Co-authored-by: XQ <qiaobingxue1998@163.com>
2022-11-02 12:00:28 +00:00
winwin2011 5bdf15aece
chore: fold/expand i18n (#400) 2022-11-01 22:44:23 +00:00
winwin2011 d347b7a91e
chore: pin button color (#399) 2022-11-02 06:42:20 +08:00
boojack f8c0d73d2d
chore: update resource dialog style (#395) 2022-11-01 14:24:54 +00:00
boojack 006cb56d28
fix: heatmap data (#394) 2022-11-01 14:06:02 +00:00
Zeng1998 4246232fbe
feat: image preview enhancement (#385)
* feat: dialog content enhancement

* update

* feat: image carousel

* update

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-11-01 09:07:14 +08:00
boojack 9d8c9609c3
feat: cache editing memo id (#388)
* feat: cache editing memo id

* chore: update
2022-10-31 21:39:22 +08:00
boojack ef5492074e
chore: update memo stats api (#387) 2022-10-31 20:57:07 +08:00
boojack 40d5686031
chore: update unpin memo (#386) 2022-10-31 11:27:56 +00:00
Zeng1998 4276a7a56d
feat: remove unused resources (#379)
* feat: dialog content enhancement

* feat: remove unused resources

* update

* update

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-10-31 11:23:44 +00:00
boojack 29966451b6
feat: unpin button in the corner (#374)
* feat: unpin button in corner

* chore: update
2022-10-30 05:21:24 +00:00
boojack 43541bde2c
feat: add update version banner (#365)
feat: add update version banenr
2022-10-29 09:49:50 +00:00
boojack 1e01c4dc46
chore: update resource service (#364) 2022-10-29 09:24:56 +00:00
Zeng1998 e85d368f87
feat: patch resource filename (#360)
* feat: resource filename rename

* update: resource filename rename

* update: resource filename rename

* update: validation about the filename

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-10-29 07:40:09 +00:00
Zeng1998 30daea0c4f
fix: typo (#357)
* feat: resource dialog enhancements

* update

* fix: typo

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-10-29 01:13:11 +00:00
Zeng1998 b891e08928
feat: resource dialog enhancements (#356)
* feat: resource dialog enhancements

* update
2022-10-29 09:11:16 +08:00
boojack bdf6d4d42a
feat: case-insensitive search (#347) 2022-10-27 00:05:45 +00:00
boojack cb2e1ae355
fix: fetch memo with filter (#346) 2022-10-26 23:53:40 +00:00
boojack fe5ba6850b
chore: update insert content in editor (#336) 2022-10-23 12:28:30 +00:00
Mahoo Huang 5690dab6bb
feat: add some hotkeys (#320)
* feat: add some hotkeys

* fix: hotkeys lose the text behind selected

* chore: adjust insertText params passing
2022-10-23 11:33:45 +00:00
boojack e6f376ae66
fix: user setting name (#331) 2022-10-21 15:06:15 +00:00
boojack 1c2998c4d8
feat: pagination for memo list (#330) 2022-10-21 14:51:41 +00:00
Zeng1998 fc5d5cf231
fix: patch memo with resource list (#328)
fix: 修改memo时添加图片不显示
2022-10-21 22:16:05 +08:00
boojack 2a4fc7dcc3
chore: update memo display time (#327)
* chore: update memo display time

* chore: update
2022-10-21 20:26:00 +08:00
boojack b68d6e2693
feat: update memo sort option setting (#326)
feat: add memo display ts
2022-10-21 11:57:57 +00:00
Zeng1998 bf5b7e747d
feat: customize memo list sorting rules (#312)
* chore: update .gitignore

* feat: 添加Memo列表按更新时间排序

* fix go-static-checks

* update

* update

* update Memo.tsx/MemoList.tsx

* handle conflict

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-10-19 21:00:34 +08:00
f97 24154c95f2
feat: editor tab support (#309)
* feat: editor tab support

* Update web/src/components/MemoEditor.tsx

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

* chore: if return style

Co-authored-by: boojack <stevenlgtm@gmail.com>
Co-authored-by: hyoban <hi@hyoban.cc>
2022-10-19 18:19:50 +08:00
boojack 35a8817442
fix: memo list auto scroll to top (#313)
fix: editor initial content
2022-10-18 22:56:43 +08:00
boojack 086b10717f
feat: upload files by dropping (#292) 2022-10-14 22:59:30 +08:00
Hyoban 65a61ed270
fix: can not click sidebar (#289) 2022-10-14 21:43:43 +08:00
Hyoban 5e7db4631e
feat: handle esc keyboard event for editor (#288) 2022-10-14 10:14:35 +08:00
boojack 0d6114e25e
feat: update sidebar mask styles (#287) 2022-10-14 07:26:43 +08:00
h2o2o ce5a6fa3ac
chore: update sidebar styles in mobile view (#285)
* 添加移动端点击自动关闭侧边栏

* 添加移动端点击自动关闭侧边栏

* 添加移动端点击自动关闭侧边栏

* move closeSidebar function to utils

* move closeSidebar function to utils

* 侧边栏优化

* 移动端侧边栏优化

* 移动端侧边栏优化

* 移动端侧边栏优化
2022-10-13 22:56:42 +08:00
Steven ffe145d436 chore: revert sidebar updates 2022-10-13 08:05:59 +08:00
h2o2o 315ab94c94
添加移动端点击自动关闭侧边栏 (#271) 2022-10-11 08:12:35 +08:00
f97 1aa9963e07
fix: i18n for filter (#275) 2022-10-10 17:46:52 +08:00
Steven 88ade2c0b7 chore: update i18n for filter 2022-10-09 08:54:05 +08:00
winwin2011 4ada7dce77
chore: update i18n for shortcut filter (#270)
* chore: resources i18n

* chore: shortcut-list i18n

* chore: resources i18n

* chore: resources i18n

* chore: resources i18n
2022-10-08 22:27:23 +08:00
f97 2ea612e2fe
feat: add copy button to memo (#267)
* feat: copy-content

* Update web/src/less/memo-detail.less

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-10-05 16:39:04 +08:00
boojack ca2557eb7e
fix: tag filter (#266) 2022-10-04 21:02:07 +08:00
steven b959acc69d fix: update marked test cases 2022-10-04 14:35:07 +08:00
steven 4a2fe3aaae chore: update user banner style 2022-10-03 18:48:44 +08:00
steven 778282ae29 chore: update resource dialog 2022-10-03 09:39:59 +08:00
steven 05e46ee4a8 fix: emoji picker style 2022-10-03 09:11:07 +08:00
boojack 51fb8ddb07
feat: simple markdown parser (#252)
* feat: simple markdown parser

* chore: rename test file name

* feat: add plain text link parser

* chore: update style
2022-10-02 22:49:30 +08:00
steven 8e63b8f289 chore: update interval flag type 2022-10-01 23:01:32 +08:00
steven 5894104524 chore: update inline image 2022-10-01 20:00:45 +08:00
steven ae8f292306 feat: create memo with resourceIdList 2022-10-01 10:57:14 +08:00
steven c7cf35c7de feat: update memo resource component 2022-10-01 10:02:16 +08:00
steven b2c22977c1 feat: update memo editor with uploading resources 2022-10-01 00:10:31 +08:00
boojack 52c8ac2ad3
chore: update emoji picker toggle logic (#244) 2022-09-26 22:33:41 +08:00
Steven 0c80654cc2 chore: update dropdown action button style 2022-09-26 22:06:06 +08:00
Steven 77a3513a6b chore: update memo detail page 2022-09-24 09:31:20 +08:00
Steven 63468dbaf3 chore: update memo detail access handler 2022-09-21 19:31:02 +08:00
Steven 6c1cc1d283 chore: use conditional rendering instead of OnlyWhen 2022-09-20 23:30:25 +08:00
Steven 15cfc9e1f5 chore: add memo detail page 2022-09-20 22:55:24 +08:00
Steven 004713d4cd chore: update dropdown component 2022-09-20 21:11:33 +08:00
f97 7a6eb53e0f
feat: float mobile editor (#234)
* feat: float mobile editor

* fix: fix pr comment

* lint: fix golangci-lint
2022-09-20 20:42:14 +08:00
boojack 02c26d5bb4
chore: update i18n for memo visibility (#233) 2022-09-20 08:34:49 +08:00
Steven c60c58ed69 chore: fix memo content click handler 2022-09-19 23:01:14 +08:00
Steven 366afdd1e4 feat: use `i18next` 2022-09-19 22:27:50 +08:00
Steven 307483e499 feat: use `react-router` 2022-09-19 21:53:27 +08:00
f97 050a2d39fa
chore: fix i18n vietnamese typos and update MemoCardDialog (#228) 2022-09-18 09:17:46 +08:00
Steven 13aa61bbc0 chore: update i18n for change password dialog 2022-09-17 13:33:40 +08:00
boojack f4d0e8c948
chore: hide the searchbar of emoji picker (#222)
chore: hide emoji picker searchbar
2022-09-17 09:23:53 +08:00
f97 e7db587a9e
feat: add emoji picker in editor (#221)
* feat: add vietnamese

* feat: add emoji picker in editor

* fix failing checks

* move emoji button before upload button

* move script to body index.html

* Update web/index.html

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-09-17 00:42:52 +08:00
Steven fd7b8c3293 chore: add copy non-private memo link 2022-09-16 22:49:11 +08:00
Steven 8d694f7732 chore: remove language beta badge 2022-09-16 21:47:00 +08:00
f97 bdfa9f7a56
chore: update i18n for UserBanner (#219)
* feat: add vietnamese

* chore: update i18n

* Update web/src/locales/zh.json

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

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-09-16 21:48:18 +08:00
Steven 1591fdf61c chore: update i18n structures 2022-09-16 21:25:39 +08:00
f97 811f3340e9
feat: add vietnamese (#218) 2022-09-16 21:09:59 +08:00
ChasLui 7e8d1128f8
chore: update i18n (#215) 2022-09-15 06:53:51 +08:00
Steven 54db6eda04 chore: update common locales 2022-09-14 19:35:45 +08:00
boojack c5b26e3310
chore: fix copy to clipboard (#214) 2022-09-14 19:24:13 +08:00
ChasLui 7079faf2b9
chore: update i18n (#212)
* feat: 增加部分 i18n

* feat: 增加部分 i18n

* feat: 增加部分 i18n
2022-09-14 19:14:45 +08:00
Steven 6e4577f721 feat: add `MemoContent` component 2022-09-10 21:22:26 +08:00
winwin2011 7b0987610c
feat: i18n for dialogs (#203)
* feat: i18n in dialog

* fix: use common translation
2022-09-10 09:30:10 +08:00