You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
2 years ago
..
auth chore: update audience name (#1484) 2 years ago
dist feat: use go embed 3 years ago
profile feat: add preliminar Windows support (#1636) 2 years ago
version chore: update version to `0.12.2` (#1538) 2 years ago
auth.go chore: check allow sign up setting in sso (#1620) 2 years ago
common.go fix: golangci-lint version (#1381) 2 years ago
embed_frontend.go chore: update skipper name (#1080) 2 years ago
http_getter.go chore: rename http getter package (#1349) 2 years ago
idp.go feat: implement sign in with SSO (#1119) 2 years ago
jwt.go feat: server tests (#1556) 2 years ago
memo.go feat: implement memo relation server (#1618) 2 years ago
memo_relation.go feat: implement memo relation server (#1618) 2 years ago
memo_resource.go chore: split memo resource api (#1587) 2 years ago
openai.go feat: support messages to ask AI (#1380) 2 years ago
resource.go feat: add max upload size setting to UI & UI improvements (#1646) 2 years ago
rss.go chore: add enclosure to rss (#1559) 2 years ago
server.go feat: implement memo relation server (#1618) 2 years ago
shortcut.go feat: add `avatar_url` field to user table (#1106) 2 years ago
storage.go chore: update version and remove isDev flag (#1452) 2 years ago
system.go feat: add max upload size setting to UI & UI improvements (#1646) 2 years ago
tag.go feat: add `avatar_url` field to user table (#1106) 2 years ago
tag_test.go feat: create tag dialog (#814) 2 years ago
user.go chore: remove metrics plugin (#1276) 2 years ago