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/api
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
..
activity.go chore: update memo create activity (#903) 2 years ago
auth.go feat: implement sign in with SSO (#1119) 2 years ago
common.go chore: update signup api (#1067) 2 years ago
idp.go fix: idp config definition (#1115) 2 years ago
memo.go feat: implement memo relation server (#1618) 2 years ago
memo_organizer.go fix: access control (#870) 2 years ago
memo_relation.go feat: implement memo relation server (#1618) 2 years ago
memo_resource.go fix: access control (#870) 2 years ago
resource.go feat: add public id field to resource (#1451) 2 years ago
shortcut.go fix: access control (#870) 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
system_setting.go feat: add max upload size setting to UI & UI improvements (#1646) 2 years ago
tag.go fix: delete tag (#1062) 2 years ago
user.go fix: patch user with nil password (#1290) 2 years ago
user_setting.go feat: improve i18n support as a whole (#1526) 2 years ago