1
1
mirror of https://github.com/usememos/memos.git synced 2024-12-27 05:12:13 +03:00
Commit Graph

9 Commits

Author SHA1 Message Date
boojack
6a78887f1d
chore: update store types name () 2023-06-29 22:55:03 +08:00
boojack
b44f2b5ffb
chore: migrate user setting to api v1 package ()
* chore: migrate to api v1 package

* chore: update
2023-06-26 23:06:53 +08:00
Lincoln Nogueira
96021e518a
feat: add max upload size setting to UI & UI improvements ()
* 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  (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
boojack
4603f414db
chore: add system setting cache () 2023-04-28 00:02:54 +08:00
boojack
ff8851fd9f
fix: golangci-lint version ()
* chore: update interface declare

* chore: update args

* chore: update

* chore: update
2023-03-18 22:34:22 +08:00
boojack
42d849abfc
chore: update explore header style () 2023-02-22 19:21:08 +08:00
boojack
7e8011ba34
chore: support deleting storage () 2023-02-15 22:54:46 +08:00
Zeng1998
1e4a81dea9
feat: storage service backend ()
* feat: storage service backend

* update go.mod

* update the column name (urlPrefix -> url_prefix)

* update

* update
2023-02-13 19:36:48 +08:00
boojack
cf75054106
feat: add system setting to allow user signup () 2022-11-03 21:47:36 +08:00