Commit graph

2360 commits

Author SHA1 Message Date
Jovane Castro
1e582baf1c
chore: update i18n for Catalan locale (#4826) 2025-07-08 19:57:14 +08:00
Jovane Castro
eeb18e5deb
chore: update i18n for Czech locale (#4827) 2025-07-08 19:57:08 +08:00
Steven
533591af2b chore: theme in user setting 2025-07-08 19:50:04 +08:00
Johnny
f907619752 chore: move frontend store 2025-07-07 22:44:08 +08:00
Johnny
12fdf5292d chore: tweak form style 2025-07-07 22:33:49 +08:00
johnnyjoy
239671eb87 chore: tweak tag style 2025-07-07 22:20:17 +08:00
Johnny
e55ed8a9c7 chore: new theme whitewall 2025-07-07 20:13:55 +08:00
Johnny
1b3083b216
feat: themes (#4824) 2025-07-07 20:13:22 +08:00
Johnny
3426a791b6 chore: update tag styles 2025-07-07 08:58:09 +08:00
Johnny
fb13d2e63d chore: tweak colors 2025-07-07 08:46:53 +08:00
Johnny
d8d88c2505 fix: creator view 2025-07-06 22:51:28 +08:00
Johnny
f2e27c16a1 chore: tweak colors 2025-07-06 22:26:54 +08:00
Johnny
240d89fbca feat: migrate dialogs 2025-07-06 22:01:55 +08:00
Jovane Castro
f70138535c
chore: update i18n for pt-BR text (#4819) 2025-07-06 13:59:50 +08:00
Johnny
35928ce5ba chore: unify colors 2025-07-06 13:55:08 +08:00
Jovane Castro
2e474d37fd
chore: update i18n for pt-BR locale (#4817) 2025-07-05 19:32:57 +08:00
Johnny
41fdc7a484 chore: fix frontend linter 2025-07-05 11:44:01 +08:00
Johnny
a3de61a141 chore: fix dark mode 2025-07-05 11:40:49 +08:00
XIN_____
cf16795a98
chore: update zh text (#4797) 2025-07-05 11:28:30 +08:00
Johnny
db4b1f5fde chore: tweak styles 2025-07-05 11:26:59 +08:00
Johnny
91be2f68d1
feat: variant colors (#4816) 2025-07-04 23:03:13 +08:00
Steven
0df3171b64 chore: remove command 2025-07-01 20:14:42 +08:00
boojack
0cabdbe020
chore: rename Popover.tsx to popover.tsx
Signed-off-by: boojack <stevenlgtm@gmail.com>
2025-07-01 19:43:46 +08:00
Johnny
493832aeb4 refactor: unify components 2025-07-01 19:29:48 +08:00
XIN_____
98d1238674
chore: update i18n text for zh-hans (#4790) 2025-06-28 16:06:32 +08:00
Steven
c18d6927ba chore: update user session table 2025-06-27 00:00:06 +08:00
johnnyjoy
1fffc41f79 feat: sliding expiration for user sessions 2025-06-26 23:03:28 +08:00
XIN_____
e93d695aa8
chore: update i18n for zh text (#4785)
* Update zh-Hans.json

* Update zh-Hant.json

Co-authored-by: @kiss-fire <iamtaoxin@gmail.com>

---------

Co-authored-by: @kiss-fire <iamtaoxin@gmail.com>
2025-06-26 08:44:32 +08:00
Steven
42d1650c6d chore: tweak auth service 2025-06-24 23:31:37 +08:00
XIN_____
3a7995c733
chore: update i18n text for zh-hans and zh-hant (#4784)
chore: update i18n text for zh-hant
2025-06-24 21:59:03 +08:00
johnnyjoy
d6a75bba4c refactor: webhook service 2025-06-24 21:28:21 +08:00
Johnny
9b15936873 refactor: clean unused fields 2025-06-23 22:55:14 +08:00
Steven
697e54758d fix: frontend linter 2025-06-23 21:20:37 +08:00
Steven
83febf9928 chore: clean resource definition 2025-06-23 21:08:25 +08:00
Steven
5821bb7a65 chore: update auth service 2025-06-23 20:31:18 +08:00
Steven
59eae4465a chore: update user session section 2025-06-23 20:12:29 +08:00
XIN_____
bbd984a754
chore: update i18n for zh (#4780)
* feat: add i18n text for zh

* feat: add i18n text for zh-hant
2025-06-23 09:14:49 +08:00
Johnny
4e3a4e36f6 feat: implement user sessions 2025-06-23 09:13:51 +08:00
johnnyjoy
45df653f37 fix: navigation overflow style 2025-06-22 18:49:12 +08:00
Johnny
77b7fc4441 feat: implement user session 2025-06-22 12:46:13 +08:00
Johnny
741fe35c2a refactor: rename session methods in auth service 2025-06-21 00:00:58 +08:00
Johnny
cb96d4e76d fix: embedded attachment 2025-06-18 23:10:41 +08:00
Steven
35df62a96c chore: remove duplicated prefix from enums 2025-06-18 22:40:54 +08:00
XIN_____
d27639f147
chore: update i18n zh-Hans and zh-Hant (#4778)
* Update zh-Hans.json

* Update zh-Hant.json

Co-authored-by: @kiss-fire <iamtaoxin@gmail.com>

---------

Co-authored-by: @kiss-fire <iamtaoxin@gmail.com>
2025-06-18 20:46:37 +08:00
Steven
d71fd2f84a refactor: auth service 2025-06-18 20:25:46 +08:00
Steven
9972a77d9e refactor: memo service 2025-06-18 19:58:38 +08:00
Steven
91c2a4cef9 refactor: inbox service 2025-06-18 19:06:09 +08:00
Steven
a4920d464b refactor: attachment service part2 2025-06-18 00:09:19 +08:00
Steven
bb5809cae4 refactor: attachment service 2025-06-17 22:15:19 +08:00
Steven
f6e5da4499 refator: activity service 2025-06-17 09:00:03 +08:00
Steven
dac059a7f7 refactor: identity provider service 2025-06-16 23:56:28 +08:00
Steven
8d8e9b3b30 refactor: shortcut service 2025-06-16 23:10:50 +08:00
Steven
1ea4cc453c refactor: workspace setting service 2025-06-16 22:51:26 +08:00
Steven
da906c665c chore: tweak workspace service 2025-06-16 22:20:10 +08:00
Steven
3b0c87591f refactor: webhook service 2025-06-16 22:10:43 +08:00
Steven
c9ab03e1a0 refactor: user service 2025-06-16 21:49:38 +08:00
Steven
330282d8b2 chore: tweak styles 2025-06-16 20:48:08 +08:00
XIN_____
d386b83b7b
chore: update i18n text for zh (#4771)
* feat: add i18n text

* feat: add i18n text for zh
2025-06-12 23:09:04 +08:00
Steven
efc0dc9aea chore: update trim in Autocomplete 2025-06-11 23:21:48 +08:00
Johnny
acb71dfb69 chore: tweak button styles 2025-06-10 22:51:42 +08:00
KidLoveToPlay
df8d1d4f3d
fix: trim queryText and split by regex (#4766) 2025-06-09 22:13:39 +08:00
Johnny
f2a01d9ccb chore: use popover instead of dropdown/menu 2025-06-08 23:21:23 +08:00
Johnny
522da2a114 fix: border color 2025-06-08 00:39:51 +08:00
Johnny
f5c64849d2 chore: upgrade tailwindcss to v4 2025-06-07 10:15:12 +08:00
Ezmana
a50253d311
chore: add missing lines and French translations (#4761)
Adding missing lines and translations
2025-06-06 19:18:48 +08:00
Steven
786c6f672e chore: remove prevent default for enter keydown 2025-06-05 23:08:55 +08:00
johnnyjoy
c84dcddbf6 chore: always show visibility label 2025-06-04 22:05:51 +08:00
johnnyjoy
8d9396247b fix: external newline 2025-06-04 21:28:58 +08:00
johnnyjoy
94d1e20570 chore: update date time format 2025-06-03 21:22:14 +08:00
Steven
6d319900d6 fix: date format 2025-06-03 09:24:38 +08:00
Johnny
d20362e722 chore: tweak stat card 2025-06-02 10:20:11 +08:00
Johnny
3343dc73f7 chore: update navigator 2025-06-02 09:39:50 +08:00
Johnny
663e56747f chore: replace switch kit 2025-06-02 01:01:29 +08:00
Johnny
e6fe088ac0 chore: fix missing observer 2025-06-01 09:22:33 +08:00
Johnny
fd99e10962 chore: tweak sidebar 2025-06-01 09:13:44 +08:00
Johnny
2595e32f83 chore: simplify date editor 2025-05-31 11:14:47 +08:00
Johnny
673026ffa1 chore: update statistics view 2025-05-31 09:43:24 +08:00
Johnny
376b25a69c
chore: fix visibility selector style (#4733) 2025-05-31 09:15:28 +08:00
Johnny
ea4e7a1606
refactor: memo editor (#4730) 2025-05-29 07:46:40 +08:00
Maximilian Krauß
77d3853f73
fix: inherits memo visibility for default comment visibility (#4728) 2025-05-28 22:18:41 +08:00
Steven
f5ecb66fb8 feat: implement height-based masonry view 2025-05-28 08:27:15 +08:00
Steven
c23aebd648 refactor: memo filter store 2025-05-27 21:14:18 +08:00
Jonathan Fok kan
7c05a9b997
fix(editor): prevent race condition and ensure correct list continuation on Enter (#4716)
* fix(editor): Prevent race condition and ensure correct list continuation on Enter

_

* fix: always insert newline after preventing default Enter key behavior
2025-05-27 19:57:33 +08:00
Johnny
d76f988bb5
fix: edit for comment 2025-05-27 08:38:14 +08:00
Steven
785c250f3c refactor: migrate memo store 2025-05-27 08:26:13 +08:00
Steven
dcd68bc5f4 refactor: migrate resource store to v2 2025-05-27 07:55:00 +08:00
Steven
46900f9807 refactor: move store prefixes to common module 2025-05-27 07:49:46 +08:00
eya46
4924b23884
fix: state mismatch in Storage and System pages (#4719)
* fix: sync storage setting state

* fix: sync customProfile state
2025-05-26 21:50:10 +08:00
Steven
64b27d5a4e refactor: shortcut service 2025-05-26 21:45:14 +08:00
dabeeduu
6964c1df05
fix: make the save button disabled after a successful update (#4721)
* fix: make the save button disabled after a successful update

* fix: fixing formatting error

---------

Co-authored-by: didi <didi@localhost.localdomain>
2025-05-26 14:50:13 +08:00
Brian
c6e6b7b93b
feat: add infinite scrolling for memos (#4715)
* feat(WIP): add prop-driven infinite scroll

* feat(WIP): add global toggle for infinite scrolling under settings

* feat: integrate newly added scroll-mode selection state with backend for persists across refreshes

* fix: default to infinite scrolling over load more button & remove redundant setting option

* fix: rectify linting issues

* Update web/src/components/PagedMemoList/PagedMemoList.tsx

---------

Co-authored-by: Johnny <yourselfhosted@gmail.com>
2025-05-25 23:12:47 +08:00
Dimitris Zervas
c2528c57f0
feat: automatically add a new table row in the editor when pressing enter (#4706)
Automatically add a new table row in the editor when pressing enter
2025-05-21 20:11:53 +08:00
Steven
72babbb393 fix: dark mode of highlight.js 2025-05-20 23:58:22 +08:00
johnnyjoy
f9c0621c15 refactor: root layout 2025-05-19 22:15:11 +08:00
johnnyjoy
ee99afd7a4 chore: enable location by default 2025-05-19 21:25:51 +08:00
Johnny
d4ebf293f3
chore: fix format 2025-05-19 10:03:05 +08:00
Jake Howard
0440888571
chore: hide "or" when password auth disabled (#4699)
This makes the UI cleaner, instead only showing the "Sign in with ..." buttons.
2025-05-19 09:59:52 +08:00
Steven
606924b4c9 chore: unify form styles 2025-05-15 22:15:01 +08:00
johnnyjoy
f9e07a2245 feat: support update user's role 2025-05-15 19:36:15 +08:00
Simon
ead2d70082
fix: remove duplicated “Enable” in settings label (#4692)
remove duplicated “Enable” in settings label
2025-05-15 15:08:50 +08:00
johnnyjoy
ca79990679 refactor: merge sign in requests 2025-05-14 22:13:52 +08:00
Steven
fa1ad7dc72 chore: update list padding 2025-05-12 22:39:25 +08:00
啥也不会的帆
f6054b6138
fix: preview image window proportion error (#4689) 2025-05-12 21:32:01 +08:00
Johnny
87798801fc
fix: list styles 2025-05-12 09:09:09 +08:00
Pavel Stržínek
070b392942
chore: Czech locale update (#4685)
* cs locale updated

* cs locale update
2025-05-11 17:45:32 +08:00
johnnyjoy
cd5abd9e60 chore: update nsfw description 2025-05-08 21:18:46 +08:00
João Tiago
a46301fa77
feat: support child tags in NSFW blur feature (#4640)
* fix: add support for child nsfw tags

* fix: correctly detect child tags of custom NSFW tags

* Update web/src/components/MemoView.tsx

---------

Co-authored-by: Johnny <yourselfhosted@gmail.com>
2025-04-26 16:23:15 +08:00
johnnyjoy
411a91122b fix: linter error 2025-04-24 10:11:35 +08:00
johnnyjoy
eb33a604b2 feat: support mapping avatar url from oauth2 2025-04-24 10:07:24 +08:00
Simon
bb892be5b3
feat: improve visual feedback in MemoEditor for drag/drop file uploads (#4634)
* improve drag/drop file upload UI

* fix eslint errors

* use tailwind for cursor styles

* fix eslint issues
2025-04-18 23:49:59 +08:00
Steven
1a121e350b chore: update gitignore 2025-04-17 23:11:36 +08:00
RichardYe
76ed1b5cc5
feat: set locale based on browser language when user is not logged in (#4635)
* feat: set locale based on browser language when user is not logged in

* docs: comments for locale fallback logic
2025-04-17 20:02:41 +08:00
Steven
789a9cc5a2 fix: padding left of list 2025-04-14 23:00:36 +08:00
Johnny
2f6dc2b51f
fix: padding of list 2025-04-10 23:06:14 +08:00
Johnny
97b23f46e6 chore: remove resource title 2025-04-09 22:58:53 +08:00
Johnny
f5d5ebea6f chore: hide actions for comment 2025-04-06 22:58:43 +08:00
Steven
4f39e00868 chore: fix lint 2025-04-01 20:06:54 +08:00
Johnny
b770042a8a refactor: migrate eslint 2025-04-01 00:04:43 +08:00
Johnny
09c50a8419 fix: codeblock highlight 2025-03-30 23:49:51 +08:00
Anubhav Singh
a63d9b471b
feat: update ItalicNode to use repeated children instead of content (#4566)
* feat: update ItalicNode to use repeated children instead of content

* chore: update gomark dependency to latest version

---------

Co-authored-by: Anubhav Singh <anubhav@mail.techindika.com>
2025-03-28 16:15:03 +08:00
olavlan
8bdd1ec009
feat: add norwegian bokmål (nb) translation (#4561)
* add locale file for norwegian (nb)

* correct spelling
2025-03-27 13:14:12 +08:00
Anubhav Singh
194a49367c
fix: incorrect checkbox state after removing checked items #4549 (#4552)
Co-authored-by: Anubhav Singh <anubhav@mail.techindika.com>
2025-03-25 21:59:30 +08:00
Austin Pearce
c4f094d22b
fix: BrandBanner to use NavLink (#4536)
* Fix BrandBanner to use NavLink

* Apply suggestions from code review

---------

Co-authored-by: Johnny <yourselfhosted@gmail.com>
2025-03-18 21:18:22 +08:00
XIN_____
3d0f7285f9
feat: add i18n for Pinned (#4535)
Co-authored-by: Johnny <yourselfhosted@gmail.com>
2025-03-18 21:17:09 +08:00
Johnny
d63ef81c9d chore: update common locale 2025-03-18 09:04:47 +08:00
Amir Ehsandar
7b23bdcfcf
fix: allow admins to uncheck disallow password if applicable (#4532)
- closes #4469
2025-03-18 09:00:50 +08:00
XIN_____
b79755dd09
feat: update zh-hans i18n (#4531)
* feat: update zh-hans i18n

* Update zh-Hans.json

Co-authored-by: taosin <xinxintao@foxmail.com>

---------

Co-authored-by: KissFire <53330905+kiss-fire@users.noreply.github.com>
2025-03-17 18:22:13 +08:00
Amir Ehsandar
2e9b9368db
fix: prevent double effect on image modal wheel event (#4522)
- escape key closes the modal
- zooming is a bit smoother
2025-03-16 10:28:59 +08:00
Steven
6b042fe16e chore: always show full content when pinned 2025-03-14 20:13:54 +08:00
George Wu
fae7b5d3e8
fix: typo s/contnet/content (#4507) 2025-03-14 14:54:55 +08:00
XIN_____
be18a7b77b
chore: update i18n for resource page (#4505)
* chore: update i18n for resources

* Update Resources.tsx

Co-authored-by: kiss-fire <iamtaoxin@gmail.com>

---------

Co-authored-by: kiss-fire <iamtaoxin@gmail.com>
2025-03-14 13:04:07 +08:00
Amir Ehsandar
32c69bbb52
fix: user stats changes based on selected tab (#4504)
- set partial only the relevant user stats instead of only adding up stats
2025-03-14 13:02:47 +08:00
Johnny
fc7dc58720 chore: move archived route 2025-03-13 20:38:14 +08:00
Lincoln Nogueira
e8e393a9cb
chore(i18n): tidy (#4497)
- sort all keys alphabetically for easier side-by-side translation

- remove keys from other locales that don't exist anymore in `en.json`

- remove keys from other locales that have missing {{interpolations}}

- add missing entries to pt-BR
2025-03-13 20:37:50 +08:00
XIN_____
1762496e79
chore: update zh-hans text for rename-tag (#4496)
* Update RenameTagDialog.tsx

Co-authored-by: kiss-fire <iamtaoxin@gmail.com>

* Update zh-Hans.json

Co-authored-by: kiss-fire <iamtaoxin@gmail.com>

---------

Co-authored-by: kiss-fire <iamtaoxin@gmail.com>
2025-03-13 20:00:22 +08:00
Johnny
34ab88348e chore: sort by pinned 2025-03-13 19:57:12 +08:00
XIN_____
81e40d9b18
chore: update i18n for tag reame (#4493)
* feat: update i18n for zh-hans

* Update zh-Hans.json

---------

Co-authored-by: KissFire <53330905+kiss-fire@users.noreply.github.com>
2025-03-13 09:20:46 +08:00
Johnny
fc5962f6a4 feat: show pinned count 2025-03-12 23:33:51 +08:00
Johnny
fb3c17d0e9 chore: update mobile header 2025-03-12 22:21:22 +08:00
Johnny
0dfcb1a7c8 feat: total memo count 2025-03-12 22:15:46 +08:00
XIN_____
1edb9e6774
feat: update i18n for zh-hans (#4488)
* chore:memo filter support i18n for zh-hans

* feat: restore addFilter method value field in StatisticsView.tsx

* chore: change getFilterDisplayText for i18n

* chore: add string type in utils/i18n

* feat: using switch to avoid change TranslationType

* feat: eslint check

* feat: eslint fix
2025-03-12 16:54:04 +08:00
Simon
690f28bed8
feat: add loading spinner during file upload process (#4491)
* show LoaderIcon while uploading file

* fix spacing for eslint
2025-03-12 09:56:22 +08:00
Johnny
7123a2cf51 chore: remove sort by pinned 2025-03-10 21:32:17 +08:00
Johnny
90119c1af8 refactor: move memo property 2025-03-07 22:53:35 +08:00
Johnny
3401def442 chore: simplify memo filters 2025-03-06 23:10:20 +08:00
Johnny
16a0872972 chore: enable auto compact by default 2025-03-06 23:02:12 +08:00
Johnny
56ad8ab3bd refactor: view store 2025-03-06 21:38:54 +08:00
Johnny
2e0467e3d1 fix: mobile header 2025-03-06 20:46:16 +08:00
Lincoln Nogueira
d7d3568ba4
chore(i18n): update pt-BR (#4471) 2025-03-06 09:21:44 +08:00
Johnny
c668073cf3 chore: update resource view 2025-03-05 23:08:44 +08:00
Johnny
92a44e26b9 chore: remove emoji regex 2025-03-04 22:56:46 +08:00
XIN_____
6ed6b86a75
chore: update i18n zh-hans (#4467)
* Update MemoDisplaySettingMenu.tsx

Masonry View

* Update en.json

* Update zh-Hans.json
2025-03-04 22:43:48 +08:00
Johnny
36d458fe88 chore: update masonry scale 2025-03-03 22:41:18 +08:00
Johnny
7592e5fe76 fix: masonry state 2025-03-03 09:23:40 +08:00
Johnny
d6be20b917 feat: implement masonry view 2025-03-02 23:27:12 +08:00
Johnny
8acded1f23 chore: fix linter 2025-03-02 15:40:16 +08:00
Johnny
372fc3655a refactor: retire less 2025-03-02 15:34:21 +08:00
xt
7651c454fd
chore: chinese localization enhancements (#4450)
* Chinese localization enhancements

* Fix for eslint

* Chinese localization fixed
2025-02-28 17:45:50 +08:00
Johnny
5562282822 chore: update demo site 2025-02-27 23:05:43 +08:00
Johnny
47b41bce85 refactor: move memo relation definition 2025-02-27 15:28:36 +08:00
Johnny
5bb4a300db chore: bump gomark 2025-02-27 15:10:39 +08:00
Johnny
012405f7fd refactor: user stats state 2025-02-26 22:58:22 +08:00
Johnny
81502d9092 fix: stats requests 2025-02-26 22:32:26 +08:00
Johnny
b897b243e5 feat: dynamic fetch user stats 2025-02-26 22:29:59 +08:00
Johnny
5d1075a647 refactor: update home layout 2025-02-26 22:14:07 +08:00
nbb
5962c6d04b
feat: optimize initial load performance by implementing lazy loading and code splitting (#4445) 2025-02-26 13:16:05 +08:00
Johnny
bef67638c1 chore: fix home route 2025-02-25 23:34:55 +08:00
Johnny
8e4e745ba9 chore: update navigation 2025-02-25 23:13:48 +08:00
XIN_____
3a7b24bd01
chore: add cursor-pointer to memo's display time (#4441)
feat: memo title add cursor-pointer when mouse hover
2025-02-25 10:13:04 +08:00
Johnny
271a8c8c28 refactor: home layout 2025-02-24 23:42:35 +08:00
XIN_____
a0fabaf012
chore: update cn-zh i18n (#4435) 2025-02-24 10:43:24 +08:00
Michael Baumgarten
9f01b451df
feat: match sublist indentation when adding a new item (#4433)
* match sublist indentation

* recursively get last node

* fix linting issues
2025-02-22 20:48:39 +08:00
MHZ
964ae16851
feat: support YouTube video thumbnail in link preview (#4427) 2025-02-22 20:46:58 +08:00
Johnny
bc97b66f36 fix: serial updates 2025-02-20 21:38:36 +08:00
johnnyjoy
f15fd42ed5 fix: inboxes state 2025-02-20 20:51:08 +08:00
johnnyjoy
7a685d6435 fix: fetch user by username 2025-02-20 20:43:28 +08:00
XIN_____
1ebe2e9aae
chore: update chinese i18n for settings section (#4424) 2025-02-20 20:21:59 +08:00
Johnny
c088c5b26a feat: render emoji from shortcut title 2025-02-19 22:13:32 +08:00
Johnny
37eceabc94 chore: fix memo view gap 2025-02-19 22:02:41 +08:00
taosin
00932d18f5
feat: update i18n zh-hans (#4416) 2025-02-18 10:47:01 +08:00
taosin
6fdfe6b118
chore: update chinese i18n (#4414) 2025-02-17 17:52:18 +08:00
MHZ
174b8b048a
feat: support blur processing for NSFW content with customizable NSFW tags (#4407) 2025-02-16 23:35:31 +08:00
Johnny
47a9b434e6 fix: translate in members section 2025-02-16 22:34:35 +08:00
Johnny
5686fdfb0a chore: handle redirect 2025-02-16 22:17:48 +08:00
taosin
a7fef80384
chore: update chinese i18n at member setting section (#4405) 2025-02-16 21:00:37 +08:00
Johnny
920b0f64f2 chore: extract auth footer 2025-02-12 22:05:58 +08:00
taosin
3c71ee9d7b
chore: update i18n chinese (#4400) 2025-02-12 16:43:44 +08:00
xt
4cd2aa6f32
chore: chinese localization enhancements (#4397)
* Chinese localization enhancements

* Fix for eslint
2025-02-12 10:13:09 +08:00
Johnny
7a57b5c6e7 refactor: user store 2025-02-11 21:29:16 +08:00
Johnny
11b9c240e9 refactor: workspace setting store 2025-02-11 21:23:46 +08:00
Johnny
9027430646 fix: store reactive 2025-02-10 22:20:07 +08:00
CyberSlinger
01a9bb2d49
feat: add zh hans text (#4384)
* feat: test dev push

* feat: add zh Hans text

* feat: restore readme

* feat: update zh hans text

* feat: add tag for properties label

* feat: updarte zh hans translation

* feat: add tab
2025-02-10 10:19:19 +08:00
Simon
c9edac9d5a
chore: update i18n Ukrainian (#4385)
* Update uk.json

* Update uk.json

* Update uk.json

* Update uk.json

* Update uk.json

* Update uk.json

* Update uk.json
2025-02-10 10:18:55 +08:00
Johnny
0a429a899f chore: remove version update activity 2025-02-09 11:48:53 +08:00
Johnny
983323ceef chore: remove debug code 2025-02-09 11:44:15 +08:00
Johnny
5a2f18da69 refactor(frontend): retire redux 2025-02-09 11:43:55 +08:00
johnnyjoy
13f6fa7b37 refactor: remove default visibility in workspace setting 2025-02-08 11:40:31 +08:00
Steven
f6ad49754a chore: update url of memo detail page 2025-02-07 20:51:04 +08:00
shungiku
8be0ddfb35
chore: add datepicker to calendar month (#4379)
Co-authored-by: shungiku <79780196+shungikuk@users.noreply.github.com>
2025-02-07 12:53:02 +08:00
Steven
e09819da53 chore: add MemoFilters to explore sidebar 2025-02-06 23:35:25 +08:00
Steven
2ed3e34636 refactor: update root layout 2025-02-06 23:20:37 +08:00
johnnyjoy
505fee1abb chore: add noreferrer to external links 2025-02-06 20:19:58 +08:00
johnnyjoy
849bf66612 fix: remove outdated factor 2025-02-06 19:38:53 +08:00
𝗦𝗵𝗟𝗲𝗿𝗣
48988a8814
fea: improve Turkish Locales (#4375) 2025-02-06 19:11:02 +08:00
johnnyjoy
2a8c4cb750 chore: update styles 2025-02-05 20:30:22 +08:00
johnnyjoy
732a7d0bbf chore: add fa locale 2025-02-05 19:26:34 +08:00
spidtzz
d8b3a69c31
feat: add Farsi(Persian) localazation (#4364)
Add files via upload
2025-02-05 19:19:29 +08:00
shungiku
c2210b65ee
fix: calendar coloring issue (#4352)
* fix: calendar coloring issue

* fix: calendar coloring issue

* fix: calendar coloring issue

* fix: calendar coloring issue

* fix: calendar coloring issue

* chore: adjust calendar color for dark theme
2025-02-05 11:13:25 +08:00
RoccoSmit
03267d6d37
feat: search for multiple words (#4362) 2025-02-04 21:04:36 +08:00
johnnyjoy
8f35086da7 chore: update docs link 2025-02-03 18:23:50 +08:00
hchengting
0f8b7b7fe6
fix: show loader icon while refreshing (#4358) 2025-02-03 15:59:46 +08:00
johnnyjoy
2db86f6644 feat: implement shortcut components 2025-02-03 12:26:44 +08:00
johnnyjoy
be5e24c0eb refactor: renovate list memos endpoint 2025-02-02 18:43:26 +08:00
johnnyjoy
0b85cb567e chore(frontend): fix clsx 2025-02-01 22:04:29 +08:00
johnnyjoy
57014e392f feat: get user by username 2025-02-01 18:00:22 +08:00
johnnyjoy
0dcd0904e8 refactor: remove resource uid 2025-02-01 12:50:15 +08:00
johnnyjoy
97d12db3d5 refactor: renovate create memo 2025-02-01 11:48:22 +08:00
johnnyjoy
5e770dda52 refactor: memo name 2025-02-01 11:17:36 +08:00
RoccoSmit
2f4c5d7bc2
fix: cancel out of no changes save (#4335)
Cancel out of trying to save
2025-02-01 08:30:04 +08:00
thehijacker
3fa690964e
chore: update Slovenian translation (#4329)
Co-authored-by: Andrej Kralj <andrej.kralj@gmail.com>
2025-01-31 13:39:07 +08:00
changchiakai
9172e47c33
chore: update zh-Hant (#4324)
Update zh-Hant

Co-authored-by: changchiakai <changeric1031@gmail.com>
2025-01-29 09:56:20 +08:00
Philipp Mundhenk
63bbeb9ca3
chore: link to SSO Documentation (#4319)
* Update SSOSection.tsx

linked to SSO (links to Authentik, Authelia, Keycloak), instead of Keycloak only

* Update id.json

* Update uk.json

* Update fr.json

* Update pt-PT.json

* Update vi.json

* Update uk.json

* Update de.json

* Update en.json
2025-01-26 23:03:56 +08:00
Pavel Stržínek
0435a67aa7
feat: czech locale support (#4316) 2025-01-26 23:03:11 +08:00
johnnyjoy
0334a4845f chore: tweak calendar styles 2025-01-21 22:55:57 +08:00
johnnyjoy
ef3b7ac6ae chore: update tag icon 2025-01-21 22:55:35 +08:00
johnnyjoy
f9b1df5d13 fix: tags container 2025-01-21 22:46:09 +08:00
Comix
d9a92b2ef8
feat: support path style of s3 url (#4304)
Signed-off-by: ComixHe <ComixHe1895@outlook.com>
2025-01-21 18:02:21 +08:00
johnnyjoy
409d64b839 chore: update memo comment in activity 2025-01-20 19:34:23 +08:00
johnnyjoy
f1308ddd27 refactor: update part of resource identifier 2025-01-19 23:03:22 +08:00
Steven
edc3f1d9d9 chore: retire unused memo view 2025-01-16 09:20:01 +08:00
Steven
147458347b chore: tweak user stats in frontend 2025-01-16 09:12:47 +08:00
johnnyjoy
c76ab87a0a refactor: update list user stats 2025-01-15 19:25:36 +08:00
Steven
8b65d248b1 fix: memo filter 2025-01-14 00:05:33 +08:00
johnnyjoy
ee96465be0 feat: list user stats 2025-01-13 23:14:44 +08:00
johnnyjoy
cde058c72a chore: tweak theme code 2025-01-13 19:46:06 +08:00
Query&mut NinjaStyle, &Ryder
94517490f5
fix: mermaid diagrams in dark mode (#4289)
* fix #4257 fixed ui for mermaid diagrams in dark mode

* fixed linting issues

* added dynamic color theme for mermaid diagrams

* now mermaid block uses theme according to the system as well when 'follow system' is selected

* refactored code for mermaid theme logic

* refactored mermaid code to use const instead of function call

---------

Co-authored-by: root <root@DESKTOP-G3MCU14>
2025-01-13 19:44:53 +08:00
Steven
5ff8ab9a61 chore: polish creator definition 2025-01-10 23:39:50 +08:00
Steven
8b7e9f5443 chore: remove unused user id 2025-01-10 23:35:00 +08:00
RoccoSmit
3081015692
feat: date picker navigation (#4286)
Added month and year dropdowns
2025-01-10 22:46:08 +08:00
johnnyjoy
2a861ea430 refactor: tweak resource state in api 2025-01-10 22:20:23 +08:00
johnnyjoy
1caaef1c5b chore: fix memo compact mode 2025-01-10 21:47:00 +08:00
Query&mut NinjaStyle, &Ryder
972ebbae2f
fix: compact mode storage (#4279)
fix #4274 now when checkbox is toggled the memo remembers the compact state

Co-authored-by: root <root@DESKTOP-G3MCU14>
2025-01-10 20:43:46 +08:00
johnnyjoy
ac7121c21a chore: update archived page 2025-01-10 20:24:05 +08:00
Steven
840b16f041 chore: tweak back to top button 2025-01-08 22:59:08 +08:00
Steven
012ca1d780 fix: tag stats 2025-01-08 22:35:34 +08:00
Pierre Quillery
cdadf133d0
chore: adding missing translations (#4273)
* Added missing translations strings (filters, about page, ...)

* Forgot one translation string.

* Fixed PR issues and added Access Token related missing translation strings.

* Fixed eslint issues.

* Fixed eslint issues #2.

* Fixed access token dialog translations, added missing webhook dialog translations.
2025-01-08 10:24:41 +08:00
Chris Curry
7b909fb772
feat: scroll to top (#4244) 2025-01-04 23:44:37 +08:00
Chris Curry
d81174ad7c
feat: optimize filters sync (#4260)
* refactor: add bi-directional filters sync between filterStore and searchParams

* fix: tag redirection from memos detail page, https://github.com/usememos/memos/issues/4232
2025-01-04 23:42:49 +08:00
tungerno
e3d1967db8
chore: add missing german translations (#4268) 2025-01-04 23:42:29 +08:00
Pierre Quillery
50d09bb91e
chore: added missing French translations (#4270)
Added missing French translations.
2025-01-04 23:42:09 +08:00
Chris Curry
e3b378b03b
feat: persist memo filters with url query (#4239)
* feat: persist memo filters with url query

- Implemented synchronization of memo filters with URL search parameters.
- Enhanced memo store to manage current request state for fetching memos, allowing for request cancellation, avoiding the race conditions.

* refactor: update import
2025-01-02 10:23:15 +08:00
Chris Curry
bc0bac94ed
refactor: enhance hyperlink handling in markdown shortcuts (#4238) 2024-12-30 17:46:24 +08:00
johnnyjoy
41d9c9d76e fix: order list starts 2024-12-25 22:43:26 +08:00
Johnny
e913271f15
refactor: move tags from property to payload (#4229)
* refactor: move tags from property to payload

* chore: fix tests

* chore: drop memo tags

* chore: update

---------

Co-authored-by: Steven <stevenlgtm@gmail.com>
2024-12-24 15:23:15 +00:00
zjy4fun
f15346e615
fix: optimize memoMap generation logic to ensure memoMap count matche… (#4214)
fix: optimize memoMap generation logic to ensure memoMap count matches memos
2024-12-20 13:22:48 +08:00
zjy4fun
7a77b4ba38
chore: fix css location compatibility issues on Safari (#4215)
chore: fix location compatibility issues on Safari

closes https://github.com/usememos/memos/issues/4190
2024-12-20 13:21:59 +08:00
RoccoSmit
ce6ad4035d
fix: limit the size of the resource list viewer (#4210)
Limit the size of the file upload box
2024-12-19 10:32:05 +08:00
Nikolay
ea394d89b2
fix: add server name change in mobile header (#4195)
* [fix] add server name change in  mobile header

* Update web/src/components/MobileHeader.tsx

* Update web/src/components/MobileHeader.tsx

* Apply suggestions from code review

---------

Co-authored-by: Николай Витальевич Никоноров <nnv@bitt.moe>
Co-authored-by: Johnny <yourselfhosted@gmail.com>
2024-12-13 13:23:16 +08:00
johnnyjoy
cb569c99fd chore: remove useCallback in fetching memo list 2024-12-07 12:26:21 +08:00
johnnyjoy
0a5111e4b0 chore: update i18n types definition 2024-12-07 12:16:38 +08:00
Cheng
2aa3795e50
fix: search conditions affected by pull-to-refresh (#4159) 2024-11-29 22:13:41 +08:00
Query&mut NinjaStyle, &Ryder
009f4956ac
fix: check IdP for disallow password auth
* fix #4144 now when there is no sso then the Disallow password auth is disabled

* fixed the import issue

* attempt fixing linting issues

---------

Co-authored-by: pransh62390 <63577123+pransh62390@users.noreply.github.com>
2024-11-29 12:23:17 +08:00
KidLoveToPlay
73d13cb97b
chore: style fix to #4151 (#4153)
* chore: apply styles to the correct month

* chore: style fix
2024-11-28 10:23:28 +08:00
KidLoveToPlay
97ef5a8871
chore: apply styles to the correct month (#4151) 2024-11-27 14:00:50 +08:00
Madhur Jodhwani
a51e363c7c
chore: fix truncation of webhook url to avoid disappearance of Trash Icon (#4145)
* Fixed truncation of webhook url to avoid disappearance of Trash Icon

* fixing webhook truncation issue #4078

* Removing overflow-hidden

* resolving pipeline issues

* supporting on hover url display

---------

Co-authored-by: Madhur <madhur.jodhwani@accelya.com>
2024-11-25 14:19:04 +08:00
RoccoSmit
54ee2bf3ab
feat: show less when memo expanded (#4143)
* Added show less action and language files

* Renaming type as suggested in pr review
2024-11-24 22:24:58 +08:00
Steven
104948ae40 chore: set pull to refresh with screen size 2024-11-20 20:28:49 +08:00
nlfox
3cbccde67e
feat: add pull to refresh for PagedMemoList (#4128) 2024-11-19 23:34:47 +08:00
johnnyjoy
1424036ccd chore: use for...of 2024-11-17 22:04:49 +08:00
Andy An
f6af564d4e
feat: enhancement on UI/UX on user statistic view part. (#4122)
Enhancement on UI/UX on user statistic view part.
2024-11-17 09:47:41 +08:00
lcdgit
f00751a6e0
feat: allow to remove done items (#4126)
* add remove done items

* i18n en add

* bug fix

* add i18n

* Modify the description

* Modify the description

* Modify the description

* remove remove_done_check_items setting

* fix the static checks

* fix the static checks

---------

Co-authored-by: mozhu <lcl_em@163.com>
2024-11-17 09:33:39 +08:00
Steven
f007185b8f chore: tweak form styles 2024-11-12 23:23:14 +08:00
RoccoSmit
142e97ab5a
feat: navigate image view with keyboard keys (#4116)
* Navigate images with keyboard left and right keys

* Fix linting

* Adding missing "

* Added change to incorrect branch
2024-11-11 08:16:09 +08:00
Steven
ad50aec2db chore: update activity calendar 2024-11-06 21:14:36 +08:00
Steven
67c1a46346 chore: remove html renderer sanitizes 2024-11-05 22:44:37 +08:00
Steven
57c00734e2 fix: frontend build 2024-11-05 21:15:13 +08:00
Ngô Quốc Đạt
e25792be9c
chore: update vi translations (#4099) 2024-11-05 15:29:43 +08:00
Steven
f5a0827a3f chore: update explore translate of zh-hans 2024-11-04 21:38:34 +08:00
Steven
04c6e262c3 chore: align colors 2024-11-04 21:30:50 +08:00
Simon
f310207b9a
chore: update i18n Ukrainian (#4096)
* Update uk.json

* Update uk.json
2024-11-04 20:04:20 +08:00
Steven
b547720aa8 chore: add id to i18n locales 2024-11-03 22:48:39 +08:00
kiraware
3542a79420
feat: add Bahasa Indonesia (id) translation (#4092) 2024-11-03 22:45:49 +08:00
johnnyjoy
227cc26cb9 chore: align table styles for access token section 2024-11-03 20:28:42 +08:00
Steven
4b28dfddb6 fix: visibility selector overflow 2024-11-02 13:39:08 +08:00
Daniel Pinto
f44583e87d
chore: allow some hardcoded strings to be translated (#4076)
Allow some hardcoded strings to be translated

Also add pt-PT translation for them
2024-11-02 10:36:11 +08:00
Steven
67e474d4dd fix: linter warning 2024-10-30 20:19:08 +08:00
Steven
c12425329b chore: fix action buttons 2024-10-29 00:18:02 +08:00
Steven
db2b34a850 chore: update input source 2024-10-28 22:04:52 +08:00
Daniel Pinto
12bcf65f7d
locale: Add pt-PT translations (#4064)
* locale: Add pt-PT translations

* fix str
2024-10-28 09:14:00 +08:00
Steven
f373d8e88c chore: update checkbox source 2024-10-27 10:19:06 +08:00
Steven
963706aebd refactor: update button source 2024-10-26 21:36:05 +08:00
Steven
8635aed138 chore: update dependencies 2024-10-25 21:55:00 +08:00
new-aspect
aa9649adf0
fix: automatic indentation follows previous lines in lists (#4048) (#4050)
* fix: automatic indentation follows previous lines in lists (#4048)

* fix: automatic indentation follows previous lines in lists (#4048)
change the position of this logic and recommit it
2024-10-25 19:16:59 +08:00
RoccoSmit
2851f11302
fix: use UTC date for calendar filter (#4046) 2024-10-23 22:52:20 +08:00
johnnyjoy
7e48d13834 fix: workspace setting state 2024-10-23 13:46:07 +08:00
Steven
4fcc682a15 chore: add beta badge to relation graph 2024-10-21 20:23:34 +08:00
Steven
f9fec56560 chore: fix date picker position 2024-10-20 17:08:01 +08:00
johnnyjoy
2ebf3f2615 chore: fix math styles 2024-10-19 21:40:24 +08:00
johnnyjoy
cf1be81de2 feat: use date-picker instead of raw datetime input 2024-10-19 21:30:02 +08:00
johnnyjoy
199d5680e6 chore: update inbox messages style 2024-10-19 21:01:02 +08:00
johnnyjoy
435bd5c44f fix: update relation graph checks 2024-10-19 20:53:53 +08:00
johnnyjoy
04d6329d0f feat: use hash router to sub-setting pages 2024-10-19 20:46:57 +08:00
johnnyjoy
085995ec3d chore: update setting title 2024-10-19 20:32:55 +08:00
johnnyjoy
c3cb3770cc chore: tweak function names 2024-10-19 16:13:33 +08:00
d0zingcat
67dc9a3f0a
chore: allow quick unpin (#4031)
Signed-off-by: d0zingcat <leewtang@gmail.com>
2024-10-19 16:05:14 +08:00
Matteo Vollero
19098940f7
chore: check currentUser and redirect to index if logged (#4021)
* If to check currentUser and redirect to index if logged

* Moved check into useEffect
2024-10-19 16:04:34 +08:00
d0zingcat
e5cb2037e4
feat: allow to disable markdown shortcuts (#4025)
* add settting to disable markdown keymap

Signed-off-by: d0zingcat <leewtang@gmail.com>

* rename disable markdown shortcuts

Signed-off-by: d0zingcat <leewtang@gmail.com>

* fix lint

Signed-off-by: d0zingcat <leewtang@gmail.com>

---------

Signed-off-by: d0zingcat <leewtang@gmail.com>
2024-10-16 23:27:54 +08:00
Steven
68c2bd3837 chore: update memo relations 2024-10-16 23:09:20 +08:00
Steven
82da20e1c3 feat: implement graph of relations 2024-10-15 23:31:44 +08:00
Steven
952428c15d chore: update default max height 2024-10-15 20:38:17 +08:00
Steven
cfe1765067 chore: tweak user statistics view 2024-10-15 20:30:24 +08:00
Steven
c4b52c68b5 fix: max height of memo content compact mode 2024-10-15 20:07:55 +08:00
Steven
60a0ead0fa chore: add ka-GE locale 2024-10-14 20:31:45 +08:00
Aleksandre
69e93c1ab4
feat: support Georgian Language (#4016)
Create ge.json

Georgian language
2024-10-14 09:46:48 +08:00
RoccoSmit
35cf975e76
fix: apply system theme dynamically (#4010)
Remove appearance comparison
2024-10-11 21:05:52 +08:00
Steven
0b6f24a21a chore: update task complete 2024-10-10 23:22:18 +08:00
Steven
2acad978d1 chore(frontend): add reactions setting 2024-10-10 22:04:35 +08:00
Steven
e527b6a878 feat: move reaction type to setting 2024-10-10 21:06:32 +08:00
wjsoj
1f9d657065
feat: support set global Default memo visibility (#3989)
* feat: support set global Default memo visibility

* feat: Move to WorkspaceMemoRelatedSetting

* fix: goimports check failure

* chore: change item name to default_visibility

* fix: goimports check failure
2024-10-08 22:45:18 +08:00
Steven
dc15e8f30f chore: implement memo metadata store 2024-10-08 22:22:45 +08:00
johnnyjoy
831c254d64 fix: update user fields 2024-10-08 19:52:49 +08:00
Steven
0b2f08ad15 fix: memo view 2024-10-07 01:57:37 +08:00
Steven
d11e7a3a9a chore: remove duplicated requests 2024-10-07 01:40:15 +08:00
RoccoSmit
f0d43c9577
feat: add tag count to tree view (#3970)
* Add tag count to tree view

* Only display tag amounts > 1

* Updated tag amount var name to be more descriptive

* - Moved display logic to html in return
- Updated var names to closer match var passed in by TagSection component
2024-10-02 18:31:50 +08:00
Xavier Hocquet
32123e0c21
feat: add month toggle on hover (#3972)
* Add month toggle on hover

* Lint
2024-10-02 11:37:05 +08:00
ElTopo
0ba36ed7e0
chore: updated zh-Hans.json from current version of en.json (#3966) 2024-09-30 10:48:36 +08:00
Steven
771a977c9f chore: tweak words 2024-09-29 22:49:29 +08:00
Steven
cf4e660f41 chore: add memo location setting 2024-09-26 22:11:37 +08:00
Steven
95a50b6596 chore: tweak leaflet map 2024-09-26 22:04:05 +08:00
Steven
9c41c8d5c9 chore: fix marker icon 2024-09-26 09:20:33 +08:00
Steven
2837816ff7 chore: fix component state 2024-09-26 00:27:39 +08:00
Steven
b144faf43a feat: add location selector 2024-09-26 00:03:17 +08:00
Steven
8b444be6ca chore: update tag search 2024-09-23 21:41:23 +08:00
RoccoSmit
6cbe957db2
fix: show future relative dates (#3946)
Show future relative dates
2024-09-22 22:24:46 +08:00
auphone
0711ac4ecb
feat: allow mobile user zooming in image preview (#3880)
* Set viewport scalable in image preview dialog for mobile zooming and reset it on destroy

* Format with prettier

* move setViewportScalable() into useEffect

* use const instead of function
2024-09-22 21:48:01 +08:00
Steven
ea881338a9 chore: add gradient block to compact mode 2024-09-22 21:15:46 +08:00
johnnyjoy
7817947f66 fix: clean duplicated requests 2024-09-22 19:51:55 +08:00
johnnyjoy
1f7a90cec4 chore: add spinner to paged memo list 2024-09-22 19:41:27 +08:00
johnnyjoy
339c38750f refactor: paged memo list container 2024-09-22 19:30:39 +08:00
johnnyjoy
41976cb894 feat: update memo endpoints 2024-09-22 15:43:46 +08:00
Steven
ca213437e9 feat: implement nesting lists 2024-09-21 20:02:47 +08:00
thehijacker
f6ebfdf7f9
feat: update Slovenian translation (#3935)
Updated Slovenian translation

Co-authored-by: Andrej Kralj <andrej.kralj@t-2.com>
2024-09-18 16:52:43 +08:00
Steven
d663313ca2 chore: fix frontend linter 2024-09-17 19:09:05 +08:00
Steven
fbe0251eed feat: impl list renderer 2024-09-17 19:03:10 +08:00
Zisu Zhang
b787d1c7b6
feat: support disable change username and nickname (#3911)
* feat: support disable change username and nickname

* chore: update UX
2024-09-12 13:45:04 +08:00
ti777777
6f3d5762ca
fix: iframe rendering (#3916)
* fix iframe rendering

* fix eslint check
2024-09-12 08:54:33 +08:00
RoccoSmit
42bc769d5d
fix: load server name and icon from settings (#3908) 2024-09-10 23:02:48 +08:00
Steven
76a9a343a5 chore: fix linter 2024-09-09 20:36:35 +08:00
RoccoSmit
f695e93f20
fix: update first day logic for months starting on Sunday (#3896)
* Update calendar logic to accomodate for months starting on Sunday

* Apply suggestions from code review

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2024-09-09 09:19:12 +08:00
RoccoSmit
05d5fb4b04
chore: use translations for calendar days (#3895)
Use translations for calendar days
2024-09-08 20:24:59 +08:00
johnnyjoy
09586d032c chore: fix user checks 2024-09-03 20:48:23 +08:00
Steven
fe01d68d2a fix: user role checks 2024-09-03 08:07:31 +08:00
johnnyjoy
40d59fc47a chore: fix user role checks 2024-09-02 21:04:25 +08:00
johnnyjoy
7a9f61967d feat: allow admin users to update other memos 2024-09-02 20:59:22 +08:00
johnnyjoy
8c6682bd77 chore: regenerate apidocs 2024-09-02 20:50:59 +08:00
Steven
20570fc771 refactor: resource thumbnail 2024-08-30 08:09:07 +08:00
RoccoSmit
9b1adfbbe9
feat: reintroducing thumbnails (#3821)
* Reintroducing thumbnails

* Aligned with linting rules

* making recomended code review change
- changed method names to start with lower case as they are not used outside of their package
- made receiver types for struct funcs to be pointers to not need to create copies

Trying to cover all linting issues
- converted slog warning to use attributes when logging warnings
- seperated imports to have package files in their own section

* Update go.mod

---------

Co-authored-by: boojack <24653555+boojack@users.noreply.github.com>
2024-08-29 21:01:57 +08:00
Steven
710961d336 chore: fix text color in dark mode 2024-08-29 20:39:24 +08:00
Steven
bb86482b71 chore: tweak setting name 2024-08-29 08:28:11 +08:00
Steven
f0abd792c7 chore: update auth service 2024-08-29 00:06:15 +08:00
Steven
1167df29d8 feat: add security related settings 2024-08-28 23:46:06 +08:00
Steven
4e5810e205 chore: update workspace setting section 2024-08-28 23:29:30 +08:00
Steven
a8ea28066e chore: retire export memos 2024-08-28 23:20:32 +08:00
Michel Heusschen
2dbf92f7f1
perf: reduce bundle size by 21% with direct icon imports (#3844) 2024-08-28 22:55:28 +08:00
Steven
de980fb7d7 chore: update setting display name 2024-08-28 22:44:13 +08:00
RoccoSmit
eca9649be3
fix: cancel removes memo cache (#3826)
Clear local storage record of memo changes if chanes to a memo are cancelled
2024-08-24 06:48:16 +08:00
Steven
f4d6675363 chore: add enable memo comment setting 2024-08-19 09:13:44 +08:00
Steven
3c5aa41a78 feat: implement week start day setting 2024-08-18 23:18:45 +08:00
Steven
1ae3afc0ba chore: tweak memo relation popover 2024-08-14 23:15:04 +08:00
Jakub Wołynko
18db78172c
feat: add translation for collapse/expand button and update polish locale (#3811)
add: collapse, expand, polish locale
2024-08-14 18:02:02 +08:00
Steven
aae3e8ae64 chore: update memo property checks 2024-08-13 23:29:40 +08:00
Steven
506d2ed8ca chore: tweak menu style 2024-08-13 23:28:02 +08:00
Steven
9a27fdf855 chore: tweak load more button 2024-08-12 23:52:23 +08:00
Mykal Machon
c0826c43b0
fix: explicitly disabling autocapitalize and spellcheck (#3797)
fix #3747: removing autocapitalize and spellcheck
2024-08-12 12:24:37 +08:00
Steven
04b4fa1d02 chore: tweak icon button container 2024-08-07 22:56:47 +08:00
Steven
61b8cee31d chore: retire preview markdown dialog 2024-08-07 22:48:16 +08:00
Steven
4ad6028681 refactor: use popover instead of dialog for memo relations 2024-08-07 22:44:39 +08:00
Steven
158745704e feat: add memo display setting menu 2024-08-03 01:22:40 +08:00
Steven
21f18f7c56 chore: tweak activity service definition 2024-08-01 23:40:16 +08:00
Steven
26fa172641 chore(frontend): add order by time asc 2024-07-31 23:51:20 +08:00
Steven
14194504ee chore: remove unused classnames 2024-07-29 23:12:27 +08:00
Steven
444ccc03ed chore: tweak default title 2024-07-29 23:09:46 +08:00
Steven
a1083e648f chore: fix resource display time 2024-07-27 20:54:42 -04:00
Steven
4b415e519e chore: tweak demo data 2024-07-28 00:24:16 +08:00
Steven
a50f3b9382 chore: fix memos sorting 2024-07-27 22:15:47 +08:00
Steven
8bf7cdfd31 feat: add password auth flag 2024-07-27 19:24:37 +08:00
Steven
b9006f8ce0 chore: tweak date utils 2024-07-27 17:21:22 +08:00
Steven
3d63d9d5fb chore: fix activity stats 2024-07-27 10:11:41 +08:00
Steven
139090fb8f chore: fix calendar timestamps 2024-07-27 09:47:12 +08:00
Steven
edc3b578d6 feat: implement search multi tags 2024-07-26 08:40:40 +08:00
Steven
c6a09d9353 chore: update memo filter styles 2024-07-26 08:30:59 +08:00
Steven
cd38ec93ed feat: implement memo filters 2024-07-26 00:46:48 +08:00
Steven
b3b4aa9ddb chore: remove unused code 2024-07-24 23:53:07 +08:00
Steven
c313596144 feat: update memo editor 2024-07-22 09:57:40 +08:00
Steven
10c9bb081b chore: retire timeline page 2024-07-20 00:28:49 +08:00
Steven
c4a24bead6 chore(frontend): tweak memo relations 2024-07-19 20:52:52 +08:00
andrigamerita
d264f45979
fix: code blocks of unknown languages cause HTML injection (#3711)
* fix: code blocks of unknown languages cause HTML injection

A code block of unknown language (that is, a language not treated as special by Memos and not handled by highlight.js) should fall back on rendering its plaintext content. However, the content is never properly escaped before it is appended to the DOM, and thus any string that happens to contain HTML is unsafely rendered. This commit fixes the issue by ensuring that, when none of the previous cases handle the text, any HTML entities are escaped first.

* Update CodeBlock.tsx to conform to eslint
2024-07-19 08:32:58 +08:00
Steven
5704aaad08 chore: tweak embeded memo style 2024-07-17 22:48:22 +08:00
Steven
ef7e2151dc chore: update memo relation list 2024-07-17 21:40:43 +08:00
Steven
e2fd79200e feat: implement inline memo editor 2024-07-17 21:07:36 +08:00
Steven
956f21838d chore: fix popover z-index 2024-07-17 20:28:31 +08:00
Steven
878fea5f13 chore: use popover for update tag view setting 2024-07-17 08:46:52 +08:00
Steven
f2cfc528a6 chore: introduce tag view option 2024-07-15 22:55:59 +08:00
Johnny
9909fd8a6f
feat: add snippet field to memo message (#3689) 2024-07-15 08:08:08 +08:00
Johnny
bcb8843245
chore: implement stringify markdown nodes endpoint (#3688) 2024-07-14 20:46:57 +08:00
Johnny
7c9e54afbd
chore: update disallow public visibility setting name (#3687) 2024-07-14 20:23:19 +08:00
Steven
f374169a2b feat: implement html element renderer 2024-07-13 11:06:51 +08:00
Johnny
4ff3b89a8e
chore: update i18n from Weblate (#3680)
* Added translation using Weblate (Catalan)

* Translated using Weblate (Catalan)

Currently translated at 25.0% (65 of 260 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/ca/

* Translated using Weblate (French)

Currently translated at 100.0% (260 of 260 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/fr/

---------

Co-authored-by: Carles Mateu <carlesm@carlesm.com>
Co-authored-by: Ezmana <ezmana.land@gmail.com>
2024-07-12 22:22:59 +08:00
Johnny
5a196e2f1a
feat: update gomark version (#3679) 2024-07-12 22:17:03 +08:00
Steven
457cf92cc1 feat(api): implement get resource by uid 2024-07-11 23:43:44 +08:00
Steven
1ab2c89408 feat(api): implement get memo by uid 2024-07-11 23:31:50 +08:00
Steven
626c972d9c chore: add properties to memo detail sidebar 2024-07-08 23:14:00 +08:00
Johnny
5e3ed201b4
fix: update mask of update memo (#3659) 2024-07-08 08:50:38 +08:00
Johnny
eccddb1154
chore: add create time to memo detail sidebar (#3657) 2024-07-07 23:09:48 +08:00
Johnny
4d2b953e23
chore: add enable link preview setting to memo related settings (#3647) 2024-07-02 22:00:38 +08:00
Steven
1ad5d9bf0a chore: update confirm dialog 2024-07-01 23:22:39 +08:00
Steven
291b815653 feat: implement memo detail sidebar 2024-07-01 23:06:10 +08:00
Steven
05c6edfe2f chore: tweak auth pages 2024-06-26 22:11:18 +08:00
Johnny
736637a362
feat: add public flag instead of system setting to enable signup (#3589) 2024-06-19 22:03:12 +08:00
Steven
da603053f2 chore: add th locale 2024-06-09 07:46:03 +08:00
boojack
edda6ea4bd
chore: update i18n with Weblate (#3540)
* Added translation using Weblate (Thai)

* Translated using Weblate (Thai)

Currently translated at 100.0% (260 of 260 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/th/

---------

Co-authored-by: NeneNeko <lennon.rin@gmail.com>
2024-06-09 07:43:59 +08:00
boojack
7b7ecc2daa
chore: update i18n with Weblate (#3533)
* Translated using Weblate (Japanese)

Currently translated at 100.0% (260 of 260 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/ja/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (260 of 260 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/zh_Hans/

---------

Co-authored-by: Somme4096 <somme4096@gmail.com>
Co-authored-by: Yuri <isyuricunha@duck.com>
2024-06-07 05:10:12 +08:00
Steven
076aa2f8aa chore: remove memo filter 2024-06-05 23:18:14 +08:00
Steven
d159975994 chore: update statistics view 2024-06-05 20:46:35 +08:00
Martin MacDonald
aec5927d31
feat: add hook for generating different date times (#3524)
* Added hook for generating different date times

* Fixed up logic to destructure the datetime params

---------

Co-authored-by: Martin MacDonald <martinmacdonald@Martins-MacBook-Pro.local>
2024-06-05 19:52:07 +08:00
Steven
7375b87967 chore: tweak tooltips 2024-06-05 08:51:04 +08:00
Steven
d0ac866eb1 chore: update statistics view 2024-06-05 08:48:40 +08:00
Martin MacDonald
f0817f2762
chore: update fetch tags args (#3515)
* Centralised the logic for filters to apply to tagging and updated components to pass in those params needed

* Fixed linting issue

* Split out params from options

* Fixed linting errors

---------

Co-authored-by: Martin MacDonald <martinmacdonald@Martins-MacBook-Pro.local>
2024-06-05 08:06:01 +08:00
Martin MacDonald
2ebd5c64bd
fix: copy by reference (#3517)
* Fixed issue with copy by reference

* Fixed linting issues

---------

Co-authored-by: Martin MacDonald <martinmacdonald@Martins-MacBook-Pro.local>
2024-06-05 08:04:50 +08:00
Martin MacDonald
0977acbc7f
fix: update uniqby key (#3518)
* Used correct uniqby key

* Put back filter

---------

Co-authored-by: Martin MacDonald <martinmacdonald@Martins-MacBook-Pro.local>
2024-06-05 08:03:56 +08:00
Steven
e8ed437ca3 fix: purify html before render 2024-06-04 23:10:54 +08:00
Steven
2b49025f4a chore: update memo filters 2024-06-04 23:03:51 +08:00
Steven
e40b39033f chore: fix compact default value 2024-06-04 07:17:16 +08:00
Michael
616f306efe
chore: update i18n with Weblate (#3509)
* Translated using Weblate (French)

Currently translated at 100.0% (260 of 260 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/fr/

* Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (260 of 260 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/zh_Hant/

---------

Co-authored-by: Ezmana <ezmana.land@gmail.com>
Co-authored-by: ti777777 <ti12272198686@yahoo.com.tw>
2024-06-03 23:57:59 +08:00
Michael
c484b09c4c
chore: update i18n with Weblate (#3499)
* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (260 of 260 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/pt_BR/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (260 of 260 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/tr/

---------

Co-authored-by: Lincoln Nogueira <lincolnthalles@users.noreply.github.com>
Co-authored-by: Oğuz Han <h4n.3545@gmail.com>
2024-06-02 14:06:05 +08:00
Steven
8c0bee3840 chore: tweak refresh button 2024-06-01 23:27:35 +08:00
Steven
4e54ec38ff chore: update memo related settings 2024-06-01 09:05:09 +08:00
Steven
0657a1ef5b chore: fix memo editor cache 2024-06-01 08:48:54 +08:00
Michael
48546f05b3
chore: update i18n with Weblate (#3492)
* Translated using Weblate (Turkish)

Currently translated at 100.0% (259 of 259 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/tr/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (259 of 259 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/zh_Hans/

* Apply suggestions from code review

---------

Co-authored-by: Oğuz Han <h4n.3545@gmail.com>
Co-authored-by: Coisini-H <2972186196@qq.com>
2024-06-01 08:42:01 +08:00
Steven
08a9291964 chore: update timeline filters 2024-05-31 09:06:03 +08:00
Steven
b215426623 chore: update general setting 2024-05-30 07:19:38 +08:00
Michael
f2b708c1b8
chore: update i18n with Weblate (#3483)
* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (257 of 257 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/pt_BR/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (257 of 257 strings)

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/tr/

---------

Co-authored-by: Lincoln Nogueira <lincolnthalles@users.noreply.github.com>
Co-authored-by: Ramazan SANCAR <ramazansancar4545@gmail.com>
2024-05-29 23:20:11 +08:00
Steven
0f4b7c5f4a feat: add more memo settings 2024-05-29 23:17:53 +08:00
Steven
1894ef161f chore: fix content search 2024-05-29 22:04:37 +08:00
Michael
98eb57b370
chore: update translation files (#3481)
Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: memos-i18n/i18n
Translate-URL: https://hosted.weblate.org/projects/memos-i18n/english/

Co-authored-by: Hosted Weblate <hosted@weblate.org>
2024-05-29 08:05:14 +08:00
Steven
cf70867470 chore: update tag section 2024-05-29 08:03:01 +08:00
Steven
719c22fef8 chore: update i18n 2024-05-29 07:39:16 +08:00
Steven
cbf556fee5 chore: fix memo cache key 2024-05-28 23:23:23 +08:00
Steven
93e848d170 chore: tweak root redirector 2024-05-28 19:59:29 +08:00
Steven
60b5b4815d chore: fix imports 2024-05-28 09:10:08 +08:00