memos/server
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
..
auth chore: update audience name (#1484) 2023-04-07 08:52:13 +08:00
dist feat: use go embed 2022-07-10 09:02:56 +08:00
profile feat: add preliminar Windows support (#1636) 2023-05-09 08:16:38 +08:00
version chore: update version to 0.12.2 (#1538) 2023-04-16 10:40:21 +08:00
auth.go chore: check allow sign up setting in sso (#1620) 2023-05-02 08:45:03 +08:00
common.go fix: golangci-lint version (#1381) 2023-03-18 22:34:22 +08:00
embed_frontend.go chore: update skipper name (#1080) 2023-02-12 17:29:23 +08:00
http_getter.go chore: rename http getter package (#1349) 2023-03-14 08:38:54 +08:00
idp.go feat: implement sign in with SSO (#1119) 2023-02-19 09:50:30 +08:00
jwt.go feat: server tests (#1556) 2023-04-17 21:34:59 +08:00
memo_relation.go feat: implement memo relation server (#1618) 2023-05-01 16:09:41 +08:00
memo_resource.go chore: split memo resource api (#1587) 2023-04-22 10:42:24 +08:00
memo.go feat: implement memo relation server (#1618) 2023-05-01 16:09:41 +08:00
openai.go feat: support messages to ask AI (#1380) 2023-03-18 22:07:14 +08:00
resource.go feat: add max upload size setting to UI & UI improvements (#1646) 2023-05-13 22:27:28 +08:00
rss.go chore: add enclosure to rss (#1559) 2023-04-17 23:26:56 +08:00
server.go feat: implement memo relation server (#1618) 2023-05-01 16:09:41 +08:00
shortcut.go feat: add avatar_url field to user table (#1106) 2023-02-17 23:55:56 +08:00
storage.go chore: update version and remove isDev flag (#1452) 2023-04-03 14:13:22 +08:00
system.go feat: add max upload size setting to UI & UI improvements (#1646) 2023-05-13 22:27:28 +08:00
tag_test.go feat: create tag dialog (#814) 2022-12-21 23:59:03 +08:00
tag.go feat: add avatar_url field to user table (#1106) 2023-02-17 23:55:56 +08:00
user.go chore: remove metrics plugin (#1276) 2023-03-05 21:42:32 +08:00