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
2023-02-19 13:36:45 +08:00
2023-03-24 08:43:26 +08:00
2023-04-01 22:47:19 +08:00
2023-02-08 08:51:36 +08:00
2022-09-03 18:46:16 +08:00
2023-05-03 19:14:21 +08:00
2023-04-02 09:28:02 +08:00
2023-04-02 09:28:02 +08:00
2022-06-19 11:32:49 +08:00
2023-02-23 00:07:16 +08:00
2022-11-25 09:05:52 +08:00

memos

✍️ memos

A lightweight, self-hosted memo hub. Open Source and Free forever.

DocumentationLive Demo • Discuss in Discord / Telegram

GitHub stars Discord

demo

Key points

  • Open source and free forever
  • Self-hosting with Docker in seconds
  • Markdown support
  • Customizable and sharable
  • RESTful API for self-service

Deploy with Docker in seconds

docker run -d --name memos -p 5230:5230 -v ~/.memos/:/var/opt/memos ghcr.io/usememos/memos:latest

The ~/.memos/ directory will be used as the data directory on your local machine, while /var/opt/memos is the directory of the volume in Docker and should not be modified.

Learn more about other installation methods.

Contribution

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. We greatly appreciate any contributions you make. Thank you for being a part of our community! 🥰


Acknowledgements

  • Thanks Uffizzi for sponsoring preview environments for PRs.

Star history

Star History Chart

Description
An open-source, lightweight note-taking solution. The pain-less way to create your meaningful notes. Your Notes, Your Way.
Readme MIT 84 MiB
Languages
TypeScript 68.5%
Go 31.1%
JavaScript 0.2%