Commit Graph

1082 Commits (c313596144816c6cd011f49df8b947db78d7fa1b)

Author SHA1 Message Date
Steven d426f89cf0 chore: add time filter to timeline 1 year ago
Steven 05c0aeb789 feat: implement table renderer 1 year ago
Mehad Nadeem 70e6b2bb82
chore: added tooltip for vacuum button (#2778)
* chore: added tooltip for vacuum button

- At the moment only has text for English language therefore other JSON files need to be updated accordingly

* Update en.json
1 year ago
Steven 54296f0437 chore: update filter in timeline 1 year ago
Steven 8fcd9332f7 chore: tweak timeline styles 1 year ago
Steven 1857362d03 fix: locale and appearance setting 1 year ago
Steven 6d7186fc81 feat: rebuild timeline page 1 year ago
Steven cc43d06d33 chore: update memo stats response 1 year ago
Noah Alderton 24bb3e096a
fix: DatePicker by passing in Timezone to API (#2770)
* Fix DatePicker by passing in Timezone to API

* Add some clarity
1 year ago
Noah Alderton ff13d977e9
feat: add URL paste handler (#2768)
* feat: Add URL paste handler

* Check if text highlighted for URL pasting
1 year ago
Wen Sun 1fdb8b7b01
fix: apply customized profile name in mobile header (#2723)
Fix mobile header title, apply customized profile name
1 year ago
Wen Sun f1ee88c4e1
fix: display system logo in user banner if user not logged in (#2747)
Display system logo in user banner if user not logged in
1 year ago
Noah Alderton b578afbc6a
fix: DatePicker Local Date (#2766)
Fix DatePicker Local Date
1 year ago
Steven ad94e8e3c6 feat: implement highlight renderer 1 year ago
Steven fdbf2d8af2 chore: fix blockquote renderer 1 year ago
Steven 5a723f00fa chore: split editor keydown handler 1 year ago
Noah Alderton 728a9705ea
feat: Markdown Editor Keyboard Shortcuts (#2763)
* Add bold and italic keyboard shortcut

* Add hyperlink keyboard shortcut support
1 year ago
Steven 5ebbed9115 chore: handle tag click 1 year ago
Lincoln Nogueira 089e04bcfd
chore: use webp compression on logo (#2756)
- Logo size reduced from 310 KB to 36 KB.
- Point metadata image URL to local logo instead of remote
1 year ago
Steven 98762be1e5 feat: implement indent for list nodes 1 year ago
Steven d44e74bd1e chore: update editor actions 1 year ago
Steven 6db7ad76da chore: update tag selector 1 year ago
Steven 4a407668bc chore: tweak dialog close button 1 year ago
Steven ab1fa44f00 feat: implement markdown buttons 1 year ago
Steven a8074d94e8 chore: update image attrs 1 year ago
Wen Sun 81942b3b98
chore: updating the default scopes of GitHub SSO (#2746)
Updating the default scopes of GitHub SSO

The scope of "user" in GitHub OAuth includes permissions to update a user's profile.
1 year ago
Steven 0c52f1ee6a chore: tweak home style 1 year ago
Steven 1994c20c54 chore: tweak setting page 1 year ago
Steven a1dda913c3 chore: fix tag selector position 1 year ago
Athurg Gooth 79b68222ff
chore: set image loading to lazy (#2733)
set image loading to lazy to avoid concurrent problem
1 year ago
Steven 777ed899a3 chore: add memo uid 1 year ago
Noah Alderton 43e42079a4
feat: export Memos as Markdown FIles (#2716) 1 year ago
Steven 83141f9be2 chore: tweak navigation styles 1 year ago
Steven 4c59035757 chore: update about page 1 year ago
Steven 79c13c6f83 chore: fix edit memo params 1 year ago
Steven d2a9aaa9d4 chore: update line break renderer 1 year ago
Steven f563b58a85 chore: fix renderer props 1 year ago
Steven 454cd4e24f feat: implement switchable task list node 1 year ago
Steven 6320d042c8 chore: update home padding styles 1 year ago
Steven 9593b0b091 chore: fix link rel field 1 year ago
Steven ca53630410 chore: update drawer background 1 year ago
Steven d12a2b0c38 feat: implement math expression parser 1 year ago
Steven 73baeaa0ad chore: tweak dark mode styles 1 year ago
Steven c58851bc97 chore: tweak accent color 1 year ago
Steven 96140f3875 chore: tweak dark mode styles 1 year ago
Steven 914c0620c4 chore: add statistics view 1 year ago
Steven f74fa97b4a chore: traverse nodes to upsert tags 1 year ago
Lincoln Nogueira 411e807dcc
chore: use consistent relative paths for resources (#2683)
- always store resources with a relative path with forward slashes, which will be transformed as needed when the file is accessed

- fix an issue with thumbnail generation on Windows

- add several validations for local storage setting

- improve front-end error feedback when changing local storage

- add migrations to make existing resource paths relative (not needed, but improves database consistency)
1 year ago
Steven ea87a1dc0c chore: update memo content props 1 year ago
Steven 9ee4b75bbd chore: tweak memo detail styles 1 year ago
Steven c8d7f93dca feat: implement auto link parser 1 year ago
Steven 6fac116d8c chore: update user store 1 year ago
subks f48ff102c9
fix: eslint check failure after fixing #2672 (#2673) 1 year ago
subks bd5a0679ee
fix: date format in share memo dialog (#2672)
fix: Date format in shareable Memo Images (#2668)
1 year ago
Steven 8e325f9986 chore: return username in user response 1 year ago
Steven b8eaf1d57e chore: deprecate memo creation stats legacy api 1 year ago
Steven eefce6ade3 chore: implement webhook dispatch in v2 api 1 year ago
Steven 2ee4d7d745 chore: add startTransition to links 1 year ago
Steven df5aeb6d88 chore: remove v1 prefix in store name 1 year ago
Steven df3303dcd3 chore: update list users 1 year ago
Steven 21874d0509 chore: fix navigation errors 1 year ago
Steven b2ec0d1217 chore: add skip cache requesting 1 year ago
Steven 5673e29e51 chore: compose memo in backend 1 year ago
Steven feefaabce9 chore: update heatmap click handler 1 year ago
Steven a3feeceace chore: remove component v1 suffix 1 year ago
Steven 81524c38e9 chore: refactor memo module 1 year ago
Steven 671551bdc1 chore: update memo detail page 1 year ago
Steven 10c81ccba3 chore: fix type definition 1 year ago
Steven 9361613f23 chore: update timeline page 1 year ago
Steven cbdae24314 chore: update archived page 1 year ago
Steven 5334fdf1b2 chore: use api v2 in archived page 1 year ago
Steven abc14217f6 chore: tweak padding styles 1 year ago
Steven e0cacfc6d6 chore: retire auto backup for sqlite 1 year ago
Steven b575064d47 chore: tweak padding 1 year ago
Steven 6290234ad1 chore: fix button styles 1 year ago
Steven aeed25648a chore: tweak drawer background 1 year ago
Steven 43e7506ed5 chore: fix react-uses import 1 year ago
Steven a3a1bbe8de chore: tweak responsible styles 1 year ago
Steven fe4ec0b156 chore: rename navigator 1 year ago
Steven 7c5fdd1b06 chore: remove demo banner 1 year ago
Steven 4d54463aeb chore: add mobile header 1 year ago
Steven 40bc8df63d chore: fix container height 1 year ago
Steven 61de7c8a32 chore: fix demo banner 1 year ago
Steven d6656db20d feat: implement part of full-screen layout 1 year ago
Steven 0793f96578 chore: update heading styles 1 year ago
Steven 8095d94c97 chore: deprecate marked 1 year ago
Steven bcfcd59642 chore: deprecate old `MemoContent` 1 year ago
Steven 5d677c3c57 chore: implement node renderer components 1 year ago
Steven a9812592fe chore: tweak editor border styles 1 year ago
Steven 89ef9b8531 chore: add instance url system setting 1 year ago
Steven 82009d3147 chore: tweak webhook section 2 years ago
Steven fa34a7af4b chore: tweak memo parent styles 2 years ago
Steven 77b75aa6c4 chore: tweak memo display 2 years ago
Steven 9faee68dab chore: code clean 2 years ago
steven c68bfcc3b9 chore: fix user setting store 2 years ago
Athurg Gooth 2964cf93ab
fix: visibility of user preference is empty (#2581)
Fix visibility of user preference is empty
2 years ago
Athurg Gooth ed190cd41e
fix: visibility of memo editor is empty (#2580)
Fix visibility of memo editor is empty
2 years ago
Steven e83d483454 refactor(frontend): use auth service 2 years ago
Steven 6d469fd997 chore: fix image size 2 years ago
Steven e136355408 chore: tweak setting button style 2 years ago
Steven f950750d56 chore: tweak storage list title 2 years ago
Steven 0026f9e54f chore(frontend): add webhooks section 2 years ago
Athurg Gooth 3e138405b3
chore: remove the max height limit for single media (#2545)
Remove the max-height limit for single media
2 years ago
Steven e5f660a006 chore: migrate update user 2 years ago
Steven c0628ef95b chore: migrate create user 2 years ago
Steven c0b5070e46 chore: migrate delete user 2 years ago
Steven bcd8a5a7a9 chore: migrate get tag suggestions 2 years ago
Steven 7ef125e3af chore: update fetch tags 2 years ago
Steven dfa14689e4 chore: add click away event to date picker 2 years ago
Steven 94c71cb834 chore: fix loading status 2 years ago
zty 4f222bca5c
fix: keep content and query param on save when access token is invalid (#2524)
fix:
keep content on save when access token is invalid

Co-authored-by: zty <zty.dev@outlook.com>
2 years ago
Steven 0bb0407f46 chore: add overflow tips to tag 2 years ago
Zexi 8bc117bce9
feat: optimize media resource display (#2518)
* feat: optimize media resource display

* fix: type error

* Update web/src/components/MemoResourceListView.tsx

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

* Update MemoResourceListView.tsx

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
Steven c1a6dc9bac chore: fix home sidebar max width 2 years ago
Athurg Gooth 6ee95a2c0c
fix: clear localStorage while draft is empty (#2510)
* Clear localStorage while draft is empty

* change == into ===
2 years ago
Mahoo Huang f67757f606
feat: add editor auto focus preference (#2498)
* feat: add editor auto focus perference

* feat: set editor auto focus
2 years ago
swebdev 5d81338aca
fix: demo banner link for self-hosting guide (#2499) 2 years ago
Steven 0ea0645258 chore: add use reponsive width 2 years ago
steven 9227ca5b5b chore: update debounce ms 2 years ago
steven eb6b0ddead chore: update navigation 2 years ago
Steven dca90fb5d2 chore: update header 2 years ago
Steven 6c433b452f chore: update user checks 2 years ago
Steven 65a34ee41a chore: update home sidebar 2 years ago
Steven 5ff0234c71 chore: update response styles 2 years ago
Steven e76509a577 chore: update header menu style in mobile view 2 years ago
Steven 4499f45b67 chore: deprecate daily review offset local setting 2 years ago
zty caea065594
feat: add share btn in more-action (#2491)
Co-authored-by: zty <zty.dev@outlook.com>
2 years ago
Steven 32cafbff9b chore: add OverflowTip kit component 2 years ago
Steven 9c4f72c96e chore: update tooltips 2 years ago
Steven 5e4493b227 chore: remove debug codes 2 years ago
Steven 834b58fbbd feat: add version update inbox message 2 years ago
Steven 865cc997a4 chore: remove upgrade version banner 2 years ago
Steven c24181b2be chore: fix jwt checks 2 years ago
Steven 39a0e69b04 chore: update function name 2 years ago
Steven e60e47f76f chore: update user definition 2 years ago
Steven 3266c3a58a chore: update link styles 2 years ago
Steven 982b0285c9 chore: fix date picker 2 years ago
Christopher a62f1e15a6
fix: private memos being public (#2480)
* fix(web/memo): filter out public option

Filter out the public option if we have disabled public memos

* feat(api/memo): sanity check for disabled public memos

In case something goes wrong, we check the system setting on the backend in order to valdiate if we can create a public memo

* refactor(web/memo): disable public option

Seems like a better option than removing it, as it looks werid if you are looking at a memo that is previously public

* fix(web/memo): use translation keys

* chore(web/editor): remove unsused tooltip

* revert(api/memo): sanity check

* fix(web/memo): allow admins to create public memos

* chore(web/memo): remove unused import

* fix(web/memo): check for both host and admin

* fix(web/memo): remove warning text from MemoDetail
2 years ago
Zexi 8b0083ffc5
fix: auto fetch more (#2472)
* fix: auto fetch more

* feat: use union type
2 years ago
Athurg Gooth 5d69d89627
feat: week from monday in heatmap for zh-Hans and ko (#2457)
* week from monday in heatmap for zh-Hans and ko

* optimize code
2 years ago
Steven 97190645cc chore: update memo editor styles 2 years ago
Steven c26417de70 chore: update docs links 2 years ago
Steven f5c1e79195 chore: update about dialog 2 years ago
Steven d02105ca30 chore: update i18n 2 years ago
Steven 7058f0c8c2 chore: add docs link in settings 2 years ago
Steven a6fcdfce05 chore: update memo comment i18n 2 years ago
Steven 2b7d7c95a5 chore: update inbox detect 2 years ago
Steven 3c36cc2953 feat: add inbox ui 2 years ago
Athurg Gooth e41ea445c9
fix: missing relation after post comment (#2452)
fix missing relation after post comment
2 years ago
Steven 9859d77cba chore: update links 2 years ago
Zexi 035d71e07c
fix: visibility translation (#2429)
* fix: visibility translation

* refactor: remove useless file

* feat: add visibility icon
2 years ago
Christopher 82effea070
tweak(web): use iconbutton for editor helpers (#2426) 2 years ago
MotH 9aed80a4fd
feat: better tag suggestion (#2421)
Better Tag Suggestion
2 years ago
Steven bfd2dbfee2 chore: fix update resource api 2 years ago
Steven a76f762196 chore: update memo share dialog 2 years ago
Steven c2ab05d422 chore: fix member section style 2 years ago
Steven 7b25b8c1e1 feat: update daily review 2 years ago
Athurg Gooth 664c9c4a7c
chore: extend height of setting page (#2407)
Extend height of setting page
2 years ago
Steven 952539f817 chore: update memo editor dialog 2 years ago
Steven c87b679f41 chore: add memo relation list 2 years ago
Steven 21c70e7993 feat: update memo relations dialog 2 years ago
Athurg Gooth e30d0c2dd0
fix: image width error while loading (#2394)
fix image width error while loading
2 years ago
guopeng 73f59eaf09
fix: storage setting changed don't take effect (#2385)
* fix: Storage setting changed don't take effect

* fix: Storage setting changed don't take effect

* fix: Storage setting changed don't take effect
2 years ago
Steven 5359d5a66d chore: add container-queries tailwind plugin 2 years ago
Steven cfc5599334 chore: cleanup less files 2 years ago
Steven c02f3c0a7d chore: remove less files in editor 2 years ago
Steven dd83358850 chore: update some styles 2 years ago
Steven 20e5597104 chore: fix memo container max width 2 years ago
Steven 1489feb054 chore: update common dialog default color 2 years ago
Steven 3822c26e32 chore: update memo props 2 years ago
Steven b938c8d7b6 chore: only show comments in memo detail page 2 years ago
Steven 73980e9644 chore: fix video element syntax 2 years ago
Steven 57c5a92427 chore: update archived memo styles 2 years ago
Steven 6a11fc571d chore: update empty icon 2 years ago
Steven 42e8d51550 chore: update i18n 2 years ago
Steven fd7043ea40 chore: fix editor cache 2 years ago
Steven 34ae9b0687 chore: update default storage back to database 2 years ago
Steven 077bf95425 chore: add pinned icon in status bar 2 years ago
Steven 01ff3f73f8 chore: update auth pages 2 years ago
Steven 16dad8b00d chore: update logo 2 years ago
Steven 7dc4bc5714 chore: update resource service 2 years ago
Steven 91f7839b31 chore: update memo detail styles 2 years ago
Steven 078bc164d5 chore: update memo relations view 2 years ago
Steven e40621eb0f chore: implement memo content views 2 years ago
Steven de5eccf9d6 chore: update icon styles 2 years ago
Steven 952225d1da chore: add back to top button 2 years ago
Steven fbbfb11916 chore: adjust memo elements 2 years ago
Steven 6007f48b7d chore: retire memo resource relation table 2 years ago
Steven 7722c41680 chore: add edit button to memo detail page 2 years ago
Steven 0d803bf45f chore: update dark mode styles 2 years ago
Steven d4e54f343d feat: update memo detail page 2 years ago
Steven 5cec1a71da chore: update access token generator 2 years ago
Steven a60d4dee41 chore: remove lazy loading image 2 years ago
Steven bff41a8957 fix: invalid username checks 2 years ago
Zeng1998 462f10ab60
feat: optimize the logic of the checkbox button. (#2227) 2 years ago
boojack b13042d644
chore: move buf generated code to gitignore (#2236) 2 years ago
Steven d09e3c3658 chore: remove buf es generator 2 years ago
Steven b233eaea97 chore: update docs link 2 years ago
Steven fb1490c183 feat: impl resources list page 2 years ago
Steven 4424c8a231 chore: add resource service definition 2 years ago
Steven 723e6bcdae refactor: update resources page 2 years ago
Steven d1156aa755 chore: update account setting styles 2 years ago
Athurg Gooth 137c8f8a07
chore: better date picker (#2220)
* Add buttons to increase year in DatePicker

* Show month with padding 0 to keep DatePicker size
2 years ago
Athurg Gooth 0c0c72c3ca
chore: optimize layout of image resources (#2221)
Optimize layout of image resource
2 years ago
Steven f5802a7d82 chore: update access token ui 2 years ago
Steven 33d9c13b7e chore: remove openid field from user 2 years ago
Steven f0f42aea9f chore: fix react use imports 2 years ago
Steven 36209eaef1 feat: add content cache for memo editor 2 years ago
Steven 04595a5fb1 chore: update resource icons 2 years ago
Steven 439d88f06b chore: fix user avatar style 2 years ago
Steven 319f679e30 chore: fix timestamp type 2 years ago
Steven 3ad0832516 chore: use user v2 api in frontend 2 years ago
Steven 93f062d0b9 chore: update user v2 api 2 years ago
Steven 866937787c chore: clean duplicated requests 2 years ago
Steven ca336af4fa chore: update locale checks 2 years ago
Steven 7ec5d07cb8 chore: remove fullscreen button 2 years ago
Steven 3df550927d chore: update user profile page 2 years ago
Willian Ricardo Da Silva 44be7201c0
chore: update pt-BR.json (#2196)
* chore: update pt-BR.json

* update import order
2 years ago
boojack c67a69629e
chore: update user menu items (#2179) 2 years ago
boojack 4af0d03e93
chore: add user profile page (#2175)
chore: some enhancements
2 years ago
boojack 8c312e647d
chore: remove auto collapse setting (#2169) 2 years ago
boojack d3bd3ddab0
chore: update some detail styles (#2168)
* chore: update some detail styls

* chore: update
2 years ago
boojack b9b795bf0e
chore: add react use (#2157)
* chore: add react use

* chore: update
2 years ago
Maciej Kasprzyk 735cfda768
fix: tag suggestions positioning (#2151) 2 years ago
Maciej Kasprzyk 077cfeb831
feat: improve tag suggestions (#2126)
* feat: make filtering case insensitive

* fix: wrong letter case when accepting suggestion

* refactor: wrap textarea in TagSuggestions

* fix: less styles not matching common-editor-inputer

* refactor: use explanatory const names for tested value in conditional checks

* feat: style highlighted option

* feat: handle down/up arrow keys

* feat: handle enter or tab to trigger autocomplete

* fix: wrong import

* fix: tab key adding whitespace after auto-completion

* fix: starting a note with a tag

* fix: close on escape

* refactor: early version of removed wrapping and children prop

* refactor: remove unnecessary return false

* refactor: finished rewriting to not wrap editor
2 years ago
boojack dd529f845a
fix: fetch tags in memo editor (#2131)
fix: fetch tag
2 years ago
boojack 9f8a0a8dd3
fix: lazy rendering checks (#2130) 2 years ago
Chris Akring 513002ff60
chore: update zh-Hans translations for "Tag suggestions" (#2110) 2 years ago
boojack 9693940010
chore: update en locale (#2109) 2 years ago
Chris Akring 9503f73115
feat: use user avatar in ShareMemoDialog (#2102)
fix: ShareMemoDialog use user avata
2 years ago
Derek Reiff f9d1080a7d
fix: minor spelling and wording changes for en and de (#2096)
Minor spelling and wording changes

I went through some of english and german localizations to correct or add minor things.

Added `invalid-tag-name` to json. Which also means it should be translated elsewhere.
2 years ago
boojack 843850675f
chore: update image displays (#2093) 2 years ago
boojack 726300394b
chore: update image checks (#2092) 2 years ago
boojack 7189ba40d3
feat: add lazy rendering in home page (#2085) 2 years ago
boojack 218159bf83
chore: remove openai setting section (#2084) 2 years ago
boojack 238f896907
feat: add system service (#2083)
* feat: add system service

* chore: update
2 years ago
boojack 270a529948
chore: update resource type checks (#2081) 2 years ago
boojack aa26cc30d7
chore: remove memo chat components (#2073) 2 years ago
boojack d1b0b0da10
chore: remove shortcuts in frontend (#2071) 2 years ago
boojack b5a6f1f997
chore: regenerate pnpm lock file (#2056)
* chore: regenerate pnpm lock file

* chore: update

* chore: update
2 years ago
boojack d114b630d2
feat: add prettier sort import plugin (#2058) 2 years ago
Maciej Kasprzyk 5d3ea57d82
feat: tag suggestions (#2036)
* feat: figure out how to read caret position

* feat: figure out how to read caret position

* feat: create and style Editor/TagSuggestions.txs

* feat: progress on detect when to show and hide

* feat: progress on when to show and hide and setting position

* feat: toggling and exact placement done

* fix: pnpm lock problems

* feat: filter suggestions by partially typed tag name

* style: prettier

* chore: add types package for textarea-caret

* feat: handle option click

* style: prettier

* style: reorder imports

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

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
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 a6a1898c41
refactor: user v1 store (#2047) 2 years ago
Gerald 28aecd86d3
fix: avoid content flash on auto collapse (#2042) 2 years ago
Gerald 95675cdf07
fix: show full content in detail page (#2041)
fix #1373 again
2 years ago
boojack d8d6de9fca
fix: get user by username api (#2034) 2 years ago
Ajay Kumbhare d000083b41
fix: hashtag filter for Unicode characters (#2017) 2 years ago
boojack 28203bbaf9
chore: fix rss route (#2010) 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
Ajay Kumbhare 83b771d5cd
fix: disable selection of future dates in daily review section (#1983)
* #1952 Fix incorrect localization key for sign-up failure message

* feat: add typeScript support to enforce valid translation keys

* feat: add typeScript support to enforce valid translation keys

* fix lint errors

* fix lint error

* chore: Disallow destructuring 't' from useTranslation

This commit adds a linting rule to disallow the destructuring of the 't' property from the result of the useTranslation function call. The no-restricted-syntax rule in the ESLint configuration has been updated to enforce this restriction. The intention is to promote alternative approaches like using the useTranslate hook for localization.

* fix: typo fixed for memoChat

* fix: copy code button toast message

Refactored the code for the "Copy Code" button to utilize i18 strings for displaying the success message. Replaced the hard-coded value with the appropriate i18 string "Code copied successfully."

* fix: #1980 disable selection of future dates in daily review section
2 years ago
Alexandr Tumaykin e36e5823cd
feat(security): disable access for anonymous users, when disablePublicMemos is true (#1966) 2 years ago
Ajay Kumbhare 4ac63ba1f0
chore: disallow destructuring 't' from useTranslation (#1973) 2 years ago
boojack 589b104671
chore: upgrade version to `v0.14.0` (#1970)
* chore: upgrade version

* chore: update

* chore: update
2 years ago
boojack 220cba84ae
chore: add dev guard for memo chat (#1968) 2 years ago
CorrectRoadH 032509ddba
feat: save message to memo (#1940)
* feat: implment backend function

* feat: implment frontend component

* stash

* eslint

* eslint

* eslint

* delete node

* stash

* refactor the style

* eslint

* eslint

* eslint

* fix build error

* stash

* add dep

* feat: save message as memos

* eslint

* eslint

* Update web/src/components/MemosChat/MemosChatMessage.tsx

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

* stash

* eslint

* eslint

* chore: change translate

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
boojack 01f4780655
chore: update detail styles (#1964) 2 years ago
Ajay Kumbhare 1780225da5
feat: add typeScript support to enforce valid translation keys (#1954)
* #1952 Fix incorrect localization key for sign-up failure message

* feat: add typeScript support to enforce valid translation keys

* feat: add typeScript support to enforce valid translation keys

* fix lint errors

* fix lint error
2 years ago
Alexandr Tumaykin 6b17a27a13
feat: update russian translate and new translate message (#1958)
* feat: add russian translate and new translate message

* fix

---------

Co-authored-by: Александр Тумайкин <AATumaykin@tsum.ru>
2 years ago
CorrectRoadH 39351970d0
feat: implement memo chat frontend (#1938)
* feat: implment backend function

* feat: implment frontend component

* stash

* eslint

* eslint

* eslint

* delete node

* stash

* refactor the style

* eslint

* eslint

* eslint

* fix build error

* add dep

* Update web/src/components/MemosChat/ConversationTab.tsx

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

* Update web/src/components/MemosChat/ConversationTab.tsx

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

* feat: change the name

* disable for vistor

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
boojack 437e05bd2f
chore: update header style (#1945) 2 years ago
Sergei Vassiljev 934f57c92f
chore: update MemoRelationListView.tsx (#1933) 2 years ago
Cyang39 dcac442ebf
chore: change dropdown's background color in dark mode (#1925)
#1919
2 years ago
boojack da70917b08
chore: update auth page (#1920)
* chore: update auth page

* chore: update
2 years ago
boojack 0292f472e0
chore: add data empty placeholder (#1913) 2 years ago
boojack 7e391bd53d
chore: remove resource public id (#1912)
* chore: remove resource public id

* chore: update
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 5b6c98582e
refactor: migrate storage to apiv1 (#1890)
* refactor: migrate storage to apiv1

* chore: update

* chore: update

* chore: update
2 years ago
Jiraiya8 d46126c5c3
fix: header archived id (#1888)
Co-authored-by: qingbo <qingbo@jingling.group>
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 c83fd1de38
chore: update dialog overflow style (#1872) 2 years ago
boojack db8b8f0d58
chore: remove unused kit components (#1871) 2 years ago
boojack 847b4605f4
chore: update dark mode style (#1864) 2 years ago
boojack 6b3748e2a3
chore: update setting page styles (#1863)
* chore: update setting page styles

* chore: update
2 years ago
boojack b34aded376
refactor: migration idp api (#1842)
* refactor: migration idp api

* chore: update
2 years ago
SedationH 1b0efc5548
fix: use `??` in className use (#1829) 2 years ago
Athurg Gooth 7694597728
feat: Add suppport for tap to reload on PWA (#1827)
* Add suppport for tap to reload on PWA

* Clean empty className

* Move click event to site title

---------

Co-authored-by: Athurg Feng <athurg@gooth.org>
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
Athurg Gooth 5d06c8093c
fix: systemSetting in UI changed unexpectedly (#1812)
Fix systemSetting in UI changed unexpectedly

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 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 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 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
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
boojack 523ef2bba5
chore: update demo banner style (#1743) 2 years ago
boojack 43819b021e
chore: add demo banner (#1739) 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 3b1bab651a
fix: system memo visibility was replace by user's setting (#1707)
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