Commit Graph

1065 Commits (055b246857ba92437edb4406ec7aac14d8057be8)

Author SHA1 Message Date
Steven 51137e01ef chore: update resource description 1 year ago
Steven fb1490c183 feat: impl resources list page 1 year ago
Steven 4424c8a231 chore: add resource service definition 1 year ago
Steven 723e6bcdae refactor: update resources page 1 year ago
Steven d1156aa755 chore: update account setting styles 1 year ago
Steven 4e49d3cb22 chore: update frontend deps 1 year ago
Athurg Gooth 13c7871d20
chore: update vite dev server proxy setting (#2222)
fix vite proxy setting to keep the request headers
1 year 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
1 year ago
Athurg Gooth 0c0c72c3ca
chore: optimize layout of image resources (#2221)
Optimize layout of image resource
1 year ago
Steven e65282dcc5 chore: fix user state loader 1 year ago
Steven 8824ee9b9d chore: fix user state loader 1 year ago
Steven 936fe5ac9d chore: update state initial loader 1 year ago
Steven f5802a7d82 chore: update access token ui 1 year ago
Steven 33d9c13b7e chore: remove openid field from user 1 year ago
Steven 42bd9b194b feat: impl user access token api 1 year ago
Athurg Gooth 41e26f56e9
chore: persist selected date of DailyReview page (#2219)
* Persist selected date of DailyReview page

* Use hook useLocalStorage instead of useState

* Update web/src/pages/DailyReview.tsx

Co-authored-by: boojack <stevenlgtm@gmail.com>
Signed-off-by: Athurg Gooth <athurg@gooth.org>

---------

Signed-off-by: Athurg Gooth <athurg@gooth.org>
Co-authored-by: boojack <stevenlgtm@gmail.com>
1 year ago
Steven 8a796d12b4 chore: add user access token setting definition 1 year ago
Steven f0f42aea9f chore: fix react use imports 1 year ago
Steven 36209eaef1 feat: add content cache for memo editor 1 year ago
Steven d63715d4d9 feat: implement list memos filter 1 year ago
Kada Liao 9600fbb609
fix: multiple inline latex parsing (#2214) 1 year ago
Steven 04595a5fb1 chore: update resource icons 1 year ago
Kada Liao 9a0ada6756
feat: support LaTeX with react-katex (#2209)
feat: support latex

Co-authored-by: liaoxingyi <liaoxingyi@douban.com>
1 year ago
Steven 416e07cb1f fix: inject additional style and scripts 1 year ago
Steven 58429f88a0 fix: memo filter in daily review 1 year ago
Steven 439d88f06b chore: fix user avatar style 1 year ago
Steven d165ad187c chore: pnpm update 1 year ago
Steven 319f679e30 chore: fix timestamp type 2 years ago
Steven b6d1ded668 chore: adjust initial states 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 8b1f7c52aa
choer: add system setting api (#2194) 2 years ago
Takuro Onoue 87a1d4633e
chore: update ja.json (#2192)
* Update ja.json

I added the missing lines and translated.

* Update ja.json

I forgot to remove the comma at the end of the column.
I translated the untranslated portions.
2 years ago
boojack c2aeec20b7
chore: upgrade deps version (#2181) 2 years ago
boojack c67a69629e
chore: update user menu items (#2179) 2 years ago
boojack 18fb02a1ec
chore: update swag docs (#2178)
* chore: update swag docs

* chore: update
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
boojack 19e7731abb
chore: generate ts definition (#2156)
* chore: generate ts definition

* chore: update
2 years ago
ti777777 609b24f2ba
chore: update zh-Hant.json (#2155)
Update zh-Hant.json

* removed unused entries
* updated the Traditional Chinese translation
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
YuzeTT 0bb5f7f972
chore: update zh-Hans.json (#2127) 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
Moris 8747c58c7d
feat: fixed heat map colors, updated it.json (#2106)
* Update it.json

* Add files via upload

* Add files via upload
2 years ago
nulta 0fd791c02d
feat: update Korean localization (#2105)
Update korean localization
2 years ago
Jasper Platenburg 3a804ce012
feat: update Dutch translation (#2107) 2 years ago
Ghost108 f864ec3730
chore: update de.json (#2101)
* Update de.json

I used the en.json as a template and translated it (german language)

* Update de.json

* Update de.json

* Update de.json

* Update de.json

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
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 cc400da44e
fix: remove translate hook in code block (#2080) 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
boojack 56c321aeaa
revert: fix: exclude all punctuation chars except underscore in tags (#2033)
Revert "fix: exclude all punctuation chars except underscore in tags (#1974)"

This reverts commit 8c61531671.
2 years ago
Takuro Onoue 756e6a150c
chore: update ja.json (#2032)
I think free means freedom, not freemiam.

Fixed some strange expressions in the heatmap section.

Added spaces before and after English words that are in Japanese sentences.
2 years ago
Takuro Onoue 828984c8ec
chore: update ja.json (#2030)
Update ja.json

translated one part.
2 years ago
Harry Tran 9da0ca5cb3
feat: add search bar in archived and explore pages (#2025)
* feat: add search bar in archived and explore pages

* Update web/src/pages/Archived.tsx

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
iMaeGoo dc5f82ac9c
feat: update chinese translate (#2023) 2 years ago
Ajay Kumbhare d000083b41
fix: hashtag filter for Unicode characters (#2017) 2 years ago
Ajay Kumbhare 5604129105
fix: empty state display issue with resourceList style Grid (#2018) 2 years ago
boojack 28203bbaf9
chore: fix rss route (#2010) 2 years ago
boojack 9138ab8095
fix: rss route (#2008)
* fix: rss route

* chore: update
2 years ago
boojack 4231ec5a1a
chore: upgrade version to `0.14.1` (#2004) 2 years ago
Ajay Kumbhare 55975a46d8
feat: add hindi language translation for i18n support (#2001) 2 years ago
Alexandr Tumaykin 1182545448
fix: add resource.clear to translate (#1999)
Co-authored-by: Александр Тумайкин <AATumaykin@tsum.ru>
2 years ago
Takuro Onoue 9f3c3ae094
chore: update ja.json (#1996)
It is strange to translate "about" as "Notes について". However, if we define "について" as "about", the sentence becomes "について Memos". It is better not to translate here.
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
Jerry Wang 7b5c13b712
fix: delete multiple resources
* fix: delete multiple resources, close #1986

* chore: remove useless comment
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
Felipe Martínez 8c61531671
fix: exclude all punctuation chars except underscore in tags (#1974)
* Change tag regex

* Update tests

* Add more tag tests
2 years ago
Ajay Kumbhare b5d4b8eae8
fix: copy code button toast message (#1979)
* #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."
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
5idereal 054ef3dc8d
chore: update Traditional Chinese translation (#1967) 2 years ago
boojack 01f4780655
chore: update detail styles (#1964) 2 years ago
Alexandr Tumaykin 49dd90578b
fix: add resource.clear to en.json (#1963) 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
Felipe Martínez 2a7104e564
fix: exclude commas in tags (#1957) 2 years ago
Ajay Kumbhare 8ca2dac184
fix: incorrect localization key for sign-up failure message (#1953) 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
boojack d4b88c6c86
chore: remove auto signout in auth page (#1927) 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
Peng Ding 2157651d17
update zh-Hans & zh-Hant translations (#1909) 2 years ago
boojack a7573d5705
refactor: migrate memo to apiv1 (#1907)
* refactor: migrate memo to apiv1

* chore: update

* chore: update

* chore: update

* chore: upate

* chore: update

* chore: update
2 years ago
boojack 1fa9f162a5
refactor: migrate resource to apiv1 (#1901) 2 years ago
Athurg Gooth 1c07ae2650
fix: escape on resource filename (#1892)
add escape on resource filename
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
Athurg Gooth 811c3e8844
fix: auto expand height of setting page (#1885) 2 years ago
boojack 31373be172
chore: remove unused packages (#1880) 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
Phong H b84ecc4574
chore: update vi.json locale (#1878)
Co-authored-by: phong.bnh <phong.bnh@globalfactories.com>
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
boojack 4ed9a3a0ea
refactor: migrate auth routes to v1 package (#1841)
* feat: add api v1 packages

* chore: migrate auth to v1

* chore: update test
2 years ago
boojack f1d85eeaec
chore: upgrade pnpm version (#1833)
* chore: upgrade pnpm version

* chore: update
2 years ago
SedationH 1b0efc5548
fix: use `??` in className use (#1829) 2 years ago
May Kittens Devour Your Soul 6dca551164
chore: update hr.json (#1832)
Update hr.json

Updated Croatan [some fixes]
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
May Kittens Devour Your Soul 8f7001cd9f
feat: add croatian locale (#1822)
* Create hr.json

Croatian Language

* Update user_setting.go

* Update i18n.ts

* Update hr.json

* Update web/src/i18n.ts

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
David Angel 781b1f7b3a
chore: add classnames for easy logo/server name customizations via CSS. (#1828)
Update MemoDetail.tsx
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
kakik0u c396cc9649
feat: add japanese locale (#1802)
* Add japanese

* Add japanese setting files

---------

Co-authored-by: barappe <121844712+barappe@users.noreply.github.com>
2 years ago
Athurg Gooth 77e8e9ebbd
revert: fix: add public base path (#1748) (#1775) (#1806)
This reverts commit d205a7683a.
2 years ago
c14c6b3786
fix: user default 'Basic Setting' should follow server's setting (#1795)
fix: user default 'Basic Setting' should follow system setting
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
-Shiken- 2f905eed0d
chore: update zh-Hant.json (#1781)
* Update zh-Hant.json

follow these commits to complete zhTW translation:
96021e518a
8628d1e4b2
93d608f050
ce64894abe
845297ec03

* Update web/src/locales/zh-Hant.json

Co-authored-by: Zeng1998 <acan.coder@gmail.com>

* Fix json format error

---------

Co-authored-by: Zeng1998 <acan.coder@gmail.com>
Co-authored-by: Athurg Gooth <github@gooth.org>
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
Gener d205a7683a
fix: add public base path (#1748) (#1775) 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