Commit Graph

53 Commits (b44f2b5ffb5a9f9a52a706811a4112213a581388)

Author SHA1 Message Date
boojack 11a385cda6
chore: update upgrade version view (#1791) 2 years ago
Athurg Gooth 845297ec03
refactor: change all `Robot` to `Bot` (#1767)
* Change all `Robot` to `Bot`

* Change all `r` of `Bot` to `b`

* Change `Robot` to `bot` in comments

* Fix typo

---------

Co-authored-by: Athurg Feng <athurg@gooth.org>
2 years ago
boojack e0e59c5831
feat: display memo with updated ts (#1760) 2 years ago
Athurg Gooth 1282fe732e
feat: implement telegram bot plugin (#1740) 2 years ago
boojack 1a8310f027
chore: update system setting default value (#1665) 2 years ago
Lincoln Nogueira 668a9e88c6
fix: File size exceeds allowed limit of 0 MiB (#1664)
fix: File size exceeds allowed limit of 0 MiB

This could happen in databases without "max-upload-size-mib" setting.

Now, both the front-end and the back-end will start with a default
limit of 32 MiB, even if the key is absent.

It is still possible to disable uploads by setting the value to 0.
2 years ago
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
boojack 73b8d1dd99
fix: revert hide ask ai button (#1539) 2 years ago
João Nuno Mota 2c328a4540
feat: hide ask ai button when key is empty (#1515)
* Add option to hide Ask AI and update dev version

* Fix formatting according to eslint

* Replace option to hide Ask AI with auto hiding based on config

* Fix golangci-lint errors

* Remove showAskAI logic from OpenAPI
2 years ago
boojack 3eac19d258
chore: add ignore version upgrade setting (#1491) 2 years ago
boojack 6ff7cfddda
fix: return external link directly (#1465)
* fix: return external link directly

* chore: update
2 years ago
boojack 4419b4d4ae
chore: update version and remove isDev flag (#1452)
* chore: update version and remove isDev flag

* chore: update
2 years ago
boojack 4f2adfef7b
chore: update system setting name convention (#1448) 2 years ago
Zeng1998 f3090b115d
feat: support local storage (#1383)
* feat: support local storage

* update

* update

* update

* update
2 years ago
boojack ff8851fd9f
fix: golangci-lint version (#1381)
* chore: update interface declare

* chore: update args

* chore: update

* chore: update
2 years ago
boojack e5cbb8cd56
refactor: openAI config system setting (#1333) 2 years ago
Wujiao233 003161ea54
feat: support set openai api host (#1292)
* Docker

* feat: support set openai api host

* fix css

* fix eslint

* use API in backend & put host check in plugin/openai

* fix go-static-checks
2 years ago
boojack df04e852bf
feat: implement openai integration (#1245)
* feat: implement openai integration

* chore: update
2 years ago
boojack cc23d5cafe
chore: upgrade version to `0.11.0` (#1143)
* chore: upgrade version to `0.11.0`

* chore: update
2 years ago
boojack 84fb8b2288
feat: update storage setting section (#1140) 2 years ago
boojack 42d849abfc
chore: update explore header style (#1137) 2 years ago
boojack 096a71c58b
feat: add `avatar_url` field to user table (#1106)
refactor: add `avatar_url` field to user table
2 years ago
boojack 7e8011ba34
chore: support deleting storage (#1095) 2 years ago
Zeng1998 2493bb0fb7
feat: storage service frontend (#1088) 2 years ago
Christopher 4641e89c17
feat(system): support for disabling public memos (#1003)
* feat(system): support for disabling public memos

* fix(web/editor): set visibility to private on disabled public memos

* feat(server/memo): find/check if public memos are disabled

* fix(server/memo): handle error for finding system error

* fix(server/memo): unmarshal visiblity when getting system settings

* chore(web): move side effect imports to end

* Update memo.go

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
Zeng1998 1e4a81dea9
feat: storage service backend (#1086)
* feat: storage service backend

* update go.mod

* update the column name (urlPrefix -> url_prefix)

* update

* update
2 years ago
boojack d50ad9433f
feat: persistent session name (#902)
* feat: persistent session name

* chore: update
2 years ago
boojack e5550828a0
chore: update activity payload (#891) 2 years ago
boojack 3556ae4e65
fix: access control (#870) 2 years ago
boojack 05b41804e3
chore: hide host user email (#856) 2 years ago
boojack 9f25badde3
chore: update logo format to png (#830) 2 years ago
boojack 7efa749c66
feat: customize system profile (#828) 2 years ago
boojack b67ed1ee13
feat: customize system profile (#774)
* feat: system setting for customized profile

* chore: update

* feat: update frontend

* chore: update
2 years ago
boojack dd6e2337e6
chore: update version to `0.8.2` (#722) 2 years ago
Zeng1998 147185309c
feat: vacuum database in setting (#694)
* feat: vacuum database in setting

* update

* update

* update

* update
2 years ago
boojack a0667abec8
chore: update data initial requests (#538) 2 years ago
boojack 477130aa85
chore: update db filesize access control (#493) 2 years ago
boojack a2831b37c4
feat: add database filesize in UI (#488) 2 years ago
boojack ceac53b6d0
feat: additional script system setting (#467) 2 years ago
boojack a142d975d7
feat: additional style system setting (#444)
* feat: additional style system setting

* feat: remove editor font setting
2 years ago
boojack cf75054106
feat: add system setting to allow user signup (#407) 3 years ago
Steven 6c53bd00f6 chore: restore user email 3 years ago
boojack 21c30ac157
chore: hide user email (#282) 3 years ago
Steven b8a7df21f2 chore: release `v0.4.3` 3 years ago
boojack 8c28721839 chore: use `tx` for user store 3 years ago
boojack bdc9632b5b
chore: rename user role (#108)
* chore: rename user role to `host`

* chore: related frontend changes

* chore: fix migration file

* chore: use tricky sql
3 years ago
boojack 011fcc7dd4 chore: rename module 3 years ago
Hyoban a62c982a3d
fix: cannot register in production (#91) 3 years ago
boojack 4ce728300b chore: data desensitize for owner 3 years ago
boojack 74ab42069f chore: add service version 3 years ago