johnnyjoy
2a861ea430
refactor: tweak resource state in api
2025-01-10 22:20:23 +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
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
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
johnnyjoy
227cc26cb9
chore: align table styles for access token section
2024-11-03 20:28:42 +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
db2b34a850
chore: update input source
2024-10-28 22:04:52 +08:00
Steven
963706aebd
refactor: update button source
2024-10-26 21:36:05 +08:00
johnnyjoy
7e48d13834
fix: workspace setting state
2024-10-23 13:46:07 +08:00
johnnyjoy
085995ec3d
chore: update setting title
2024-10-19 20:32:55 +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
2acad978d1
chore(frontend): add reactions setting
2024-10-10 22:04:35 +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
cf4e660f41
chore: add memo location setting
2024-09-26 22:11:37 +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
Steven
bb86482b71
chore: tweak setting name
2024-08-29 08:28:11 +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
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
21f18f7c56
chore: tweak activity service definition
2024-08-01 23:40:16 +08:00
Johnny
7c9e54afbd
chore: update disallow public visibility setting name ( #3687 )
2024-07-14 20:23:19 +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
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
4e54ec38ff
chore: update memo related settings
2024-06-01 09:05:09 +08:00
Steven
b215426623
chore: update general setting
2024-05-30 07:19:38 +08:00
Steven
0f4b7c5f4a
feat: add more memo settings
2024-05-29 23:17:53 +08:00
Steven
2317204c50
fix: list idp
2024-05-14 07:04:17 +08:00
Steven
31e07c083d
chore: fix types
2024-05-13 20:07:56 +08:00
Steven
b8763905ba
chore: tweak naming
2024-05-13 20:03:04 +08:00
Steven
40a5503d45
chore: tweak i18n locales
2024-05-08 21:33:49 +08:00
Steven
af1ad2f2db
chore: add memo content length limit setting
2024-05-06 08:02:39 +08:00
Steven
320963098f
refactor: update storage setting
2024-04-28 21:36:22 +08:00
Steven
1b291422e7
refactor: api version
2024-04-28 00:44:29 +08:00
Steven
cb7886dc49
chore: retire telegram integration in frontend
2024-04-13 12:42:34 +08:00
Steven
c373131b89
chore: migrate idp service
2024-04-13 10:50:25 +08:00
Steven
8f51529c78
chore: implement storage service
2024-04-13 02:55:40 +08:00
Steven
707e5caf89
chore: update workspace setting store
2024-04-13 02:08:35 +08:00
Steven
755d5b83c6
chore: retire legacy setting api
2024-04-12 08:32:54 +08:00
Steven
436a6cb084
chore: fix text truncate
2024-04-08 19:20:16 +08:00
Steven
a6b09aa5b1
chore: add confirm dialog for disable password login setting
2024-04-07 23:22:59 +08:00
Steven
bedf3b3025
chore: tweak embedded memo styles
2024-04-02 23:32:43 +08:00
Steven
18d16abdb5
chore: update workspace service
2024-03-21 21:39:34 +08:00
Steven
96a7d0eb25
chore: tweak line height
2024-03-20 00:40:46 +08:00
Steven
5f2d6b22be
chore: tweak memo structure
2024-03-18 23:23:53 +08:00
Steven
ab136e3310
chore: tweak styles
2024-03-15 00:12:22 +08:00
Steven
e795149186
chore: tweak memo view display
2024-03-13 22:30:59 +08:00
Dubzer
6cbfbe9c07
chore: settings page improvements ( #3034 )
...
* Don't allow to select text on buttons in settings + refactoring
* Remove redundant useMemo
* Update web/src/pages/Setting.tsx
Co-authored-by: boojack <stevenlgtm@gmail.com>
* Rename other constants too
* Rename AdminSection to ADMIN_SECTIONS
---------
Co-authored-by: boojack <stevenlgtm@gmail.com>
2024-03-04 23:33:43 +08:00
Steven
7d5f603482
chore: update compact view
2024-03-04 11:21:48 +08:00
Steven
68468927dd
chore: tweak setting styles
2024-02-24 11:01:57 +08:00
Steven
e602aeecc1
fix: update workspace general setting
2024-02-23 09:08:49 +08:00
Steven
8e11826db1
chore: update workspace setting service
2024-02-20 23:02:01 +08:00
Steven
606e574e19
chore: update enum type
2024-02-13 09:30:28 +08:00
Steven
1e07b70d23
chore: fix export memos
2024-02-04 20:20:14 +08:00
Steven
7f5148d490
chore: clean dropdown
2024-02-01 21:56:08 +08:00
Lincoln Nogueira
52539fc130
chore: prevent visitors from breaking demo ( #2869 )
...
* chore: add en-GB language
* chore: remove en-GB contents
* chore: prevent visitors from breaking demo
- prevent disabling password login
- prevent updating `memos-demo` user
- prevent setting additional style
- prevent setting additional script
- add some error feedback to system settings UI
* Revert "chore: add en-GB language"
This reverts commit 2716377b04ca684abd03f76c1661000fd6994be8.
2024-01-31 13:16:31 +08:00
Noah Alderton
73337331cb
feat: export all user Memos as a .zip of Markdown files ( #2854 )
...
* Add gRPC Memos Export
* Update code style
* Add URL.revokeObjectURL
* Rename protobuf and ESLint fix
* Change MemosExport to ExportMemos
2024-01-30 16:42:54 +08:00
Steven
21ef5a9bc0
chore: tweak workspace service
2024-01-28 07:35:42 +08:00
Steven
ed32b20c9e
chore: update frontend dependencies
2024-01-27 17:28:06 +08:00
Steven
6d5e1def76
chore: update member section
2024-01-25 19:49:39 +08:00
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
2024-01-18 08:09:49 +08:00
Steven
1857362d03
fix: locale and appearance setting
2024-01-17 22:16:12 +08:00
Steven
1994c20c54
chore: tweak setting page
2024-01-11 22:25:05 +08:00
Steven
73baeaa0ad
chore: tweak dark mode styles
2024-01-04 08:32:14 +08:00
Steven
8e325f9986
chore: return username in user response
2023-12-23 19:23:39 +08:00
Steven
2ee4d7d745
chore: add startTransition to links
2023-12-23 08:55:43 +08:00
Steven
df5aeb6d88
chore: remove v1 prefix in store name
2023-12-23 08:48:11 +08:00
Steven
df3303dcd3
chore: update list users
2023-12-23 08:35:54 +08:00
Steven
a3feeceace
chore: remove component v1 suffix
2023-12-22 08:29:02 +08:00
Steven
e0cacfc6d6
chore: retire auto backup for sqlite
2023-12-19 22:34:06 +08:00
Steven
a9812592fe
chore: tweak editor border styles
2023-12-15 21:35:31 +08:00
Steven
89ef9b8531
chore: add instance url system setting
2023-12-15 19:39:37 +08:00
Steven
82009d3147
chore: tweak webhook section
2023-12-10 10:21:36 +08:00
Steven
9faee68dab
chore: code clean
2023-12-09 18:57:18 +08:00
steven
c68bfcc3b9
chore: fix user setting store
2023-12-08 09:54:32 +08:00
Athurg Gooth
2964cf93ab
fix: visibility of user preference is empty ( #2581 )
...
Fix visibility of user preference is empty
2023-12-07 22:50:03 +08:00
Steven
e83d483454
refactor(frontend): use auth service
2023-12-01 09:15:02 +08:00
Steven
e136355408
chore: tweak setting button style
2023-11-28 21:15:24 +08:00
Steven
f950750d56
chore: tweak storage list title
2023-11-28 21:03:21 +08:00
Steven
0026f9e54f
chore(frontend): add webhooks section
2023-11-28 20:52:48 +08:00
Steven
e5f660a006
chore: migrate update user
2023-11-22 23:11:29 +08:00
Steven
c0628ef95b
chore: migrate create user
2023-11-22 22:58:04 +08:00
Steven
c0b5070e46
chore: migrate delete user
2023-11-22 22:52:19 +08:00
Steven
4499f45b67
chore: deprecate daily review offset local setting
2023-11-08 21:49:03 +08:00
Steven
c24181b2be
chore: fix jwt checks
2023-11-05 23:39:30 +08:00
Steven
39a0e69b04
chore: update function name
2023-11-05 23:28:09 +08:00
Steven
e60e47f76f
chore: update user definition
2023-11-05 23:03:43 +08:00
Steven
3266c3a58a
chore: update link styles
2023-11-05 22:26:09 +08:00
Steven
c26417de70
chore: update docs links
2023-10-29 18:36:09 +08:00
Steven
7058f0c8c2
chore: add docs link in settings
2023-10-28 14:56:08 +08:00
Steven
9859d77cba
chore: update links
2023-10-26 09:00:36 +08:00
Zexi
035d71e07c
fix: visibility translation ( #2429 )
...
* fix: visibility translation
* refactor: remove useless file
* feat: add visibility icon
2023-10-23 08:06:59 +08:00
Steven
c2ab05d422
chore: fix member section style
2023-10-21 01:09:52 +08:00
Athurg Gooth
664c9c4a7c
chore: extend height of setting page ( #2407 )
...
Extend height of setting page
2023-10-20 17:41:37 +08:00
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
2023-10-16 08:07:21 -05:00
Steven
1489feb054
chore: update common dialog default color
2023-10-09 23:08:52 +08:00
Steven
42e8d51550
chore: update i18n
2023-10-05 15:07:03 +08:00
Steven
34ae9b0687
chore: update default storage back to database
2023-10-05 13:36:33 +08:00
Steven
fbbfb11916
chore: adjust memo elements
2023-09-28 08:59:55 +08:00
Steven
0d803bf45f
chore: update dark mode styles
2023-09-23 20:30:47 +08:00
Steven
5cec1a71da
chore: update access token generator
2023-09-20 20:48:34 +08:00
Steven
bff41a8957
fix: invalid username checks
2023-09-18 22:34:31 +08:00
boojack
b13042d644
chore: move buf generated code to gitignore ( #2236 )
2023-09-17 20:55:05 +08:00
Steven
d09e3c3658
chore: remove buf es generator
2023-09-17 20:14:45 +08:00
Steven
b233eaea97
chore: update docs link
2023-09-16 12:25:57 +08:00
Steven
fb1490c183
feat: impl resources list page
2023-09-16 11:48:53 +08:00
Steven
d1156aa755
chore: update account setting styles
2023-09-15 22:09:51 +08:00
Steven
f5802a7d82
chore: update access token ui
2023-09-15 08:18:30 +08:00
Steven
33d9c13b7e
chore: remove openid field from user
2023-09-14 22:57:27 +08:00
Steven
3ad0832516
chore: use user v2 api in frontend
2023-09-10 22:03:12 +08:00
Steven
866937787c
chore: clean duplicated requests
2023-09-10 11:43:38 +08:00
Steven
3df550927d
chore: update user profile page
2023-09-10 10:33:22 +08:00
boojack
c67a69629e
chore: update user menu items ( #2179 )
2023-08-26 23:11:45 +08:00
boojack
4af0d03e93
chore: add user profile page ( #2175 )
...
chore: some enhancements
2023-08-25 23:10:51 +08:00
boojack
8c312e647d
chore: remove auto collapse setting ( #2169 )
2023-08-24 22:00:48 +08:00
boojack
d3bd3ddab0
chore: update some detail styles ( #2168 )
...
* chore: update some detail styls
* chore: update
2023-08-24 21:52:16 +08:00
boojack
218159bf83
chore: remove openai setting section ( #2084 )
2023-08-05 21:39:12 +08:00
boojack
238f896907
feat: add system service ( #2083 )
...
* feat: add system service
* chore: update
2023-08-05 21:30:23 +08:00
boojack
d114b630d2
feat: add prettier sort import plugin ( #2058 )
2023-07-31 22:26:45 +08:00
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>
2023-07-30 21:22:02 +08:00
Athurg Gooth
336b32004d
feat: add AutoBackupInterval in SystemSetting ( #1989 )
...
Add AutoBackupInterval in SystemSetting page
2023-07-19 21:39:21 +08:00
boojack
220cba84ae
chore: add dev guard for memo chat ( #1968 )
2023-07-16 13:02:52 +08:00
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
2023-07-15 10:27:37 +08:00
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>
2023-07-15 10:01:40 +08:00
boojack
0292f472e0
chore: add data empty placeholder ( #1913 )
2023-07-08 13:04:12 +08:00
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
2023-07-06 21:56:42 +08:00
boojack
5b6c98582e
refactor: migrate storage to apiv1 ( #1890 )
...
* refactor: migrate storage to apiv1
* chore: update
* chore: update
* chore: update
2023-07-04 10:05:57 +08:00
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
2023-07-02 18:56:25 +08:00
boojack
db8b8f0d58
chore: remove unused kit components ( #1871 )
2023-07-01 12:34:37 +08:00
boojack
847b4605f4
chore: update dark mode style ( #1864 )
2023-06-30 08:40:13 +08:00
boojack
6b3748e2a3
chore: update setting page styles ( #1863 )
...
* chore: update setting page styles
* chore: update
2023-06-29 23:17:01 +08:00
boojack
b34aded376
refactor: migration idp api ( #1842 )
...
* refactor: migration idp api
* chore: update
2023-06-17 22:35:17 +08:00
Athurg Gooth
5d06c8093c
fix: systemSetting in UI changed unexpectedly ( #1812 )
...
Fix systemSetting in UI changed unexpectedly
Co-authored-by: Athurg Feng <athurg@gooth.org>
2023-06-08 22:32:57 +08:00
boojack
11a385cda6
chore: update upgrade version view ( #1791 )
2023-06-03 14:32:04 +08:00
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>
2023-05-29 19:49:05 +08:00
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>
2023-05-29 13:29:21 +08:00
boojack
e0e59c5831
feat: display memo with updated ts ( #1760 )
2023-05-28 01:50:09 +08:00
boojack
dbe8aa1d3a
chore: update telegram bot related section ( #1750 )
...
* chore: update telegram bot related section
* chore: update
2023-05-26 21:32:44 +08:00
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>
2023-05-26 19:16:51 +08:00
boojack
ae1d9adf65
fix: initial system locale ( #1684 )
2023-05-20 09:39:20 +08:00
boojack
921d4b996d
chore: update help button style ( #1656 )
2023-05-13 22:52:06 +08:00
Lincoln Nogueira
96021e518a
feat: add max upload size setting to UI & UI improvements ( #1646 )
...
* Add preliminar Windows support for both
development and production environments.
Default profile.Data will be set to "C:\ProgramData\memos" on Windows.
Folder will be created if it does not exist, as this behavior is
expected for Windows applications.
System service installation can be achieved with third-party tools,
explained in docs/windows-service.md.
Not sure if it's worth using https://github.com/kardianos/service
to make service support built-in.
This could be a nice addition alongside #1583 (add Windows artifacts)
* feat: improve Windows support
- Fix local file storage path handling on Windows
- Improve Windows dev script
* feat: add max upload size setting to UI & more
- feat: add max upload size setting to UI
- feat: max upload size setting is checked on UI during upload,
but also enforced by the server
- fix: overflowing mobile layout for Create SSO, Create Storage
and other Settings dialogs
- feat: add HelpButton component with some links to docs were appropriate
- remove LearnMore component in favor of HelpButton
- refactor: change some if/else to switch statements
- refactor: inline some err == nil checks
! Existing databases without the new setting 'max-upload-size-mib'
will show an upload error, but this can be user-fixed by simply
setting the value on system settings UI.
* improvements requested by @boojack
2023-05-13 22:27:28 +08:00
Yang
685a23bce8
feat: add auto collapse feature for all memos issue #1463 ( #1550 )
...
* add auto collapse feature
* fix some styles
* pass eslint
---------
Co-authored-by: liyang <liyangg@umich.edu>
2023-04-18 10:05:36 +08:00
boojack
73b8d1dd99
fix: revert hide ask ai button ( #1539 )
2023-04-16 10:55:44 +08:00
João Nuno Mota
2c328a4540
feat: hide ask ai button when key is empty ( #1515 )
...
* Add option to hide Ask AI and update dev version
* Fix formatting according to eslint
* Replace option to hide Ask AI with auto hiding based on config
* Fix golangci-lint errors
* Remove showAskAI logic from OpenAPI
2023-04-16 00:54:33 +08:00