Commit Graph

1236 Commits (ddf4cae537dd5131ae0792d216373e718d50f6d0)
 

Author SHA1 Message Date
Zeng1998 9eafb6bfb5
chore: add the default value of MaxUploadSizeMiB (#1663) 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
boojack cd2bdab683
chore: retire demo site (#1659) 2 years ago
CorrectRoadH d72b4e9a98
feat: filter support plain link (#1657)
* fix: unexpected empty lines when copying-pasting

* add ref

* feat: support to filter plain link

* eslint

* fix the typo

* fix the typo

* unified the import path
2 years ago
boojack 2cc5691efd
chore: update memo relation types (#1658) 2 years ago
guanzi008 7726ed4245
feat: add build-artifacts.yml (#1583)
* Create main.yml

构建的单文件运行版本几个平台的Windows amd64 ,Linux amd64,Linux arm64

* Rename main.yml to build-artifacts.yml

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
boojack 921d4b996d
chore: update help button style (#1656) 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 5c5199920e
chore: seed data for new user (#1655) 2 years ago
CorrectRoadH e1c809d6f1
fix: unexpected empty lines when copying-pasting (#1654) 2 years ago
Athurg Gooth 218009a5ec
fix: wrong position of UsageStatItem's popup (#1647)
* fix: wrong position of UsageStatItem's popup

* Replace TAB into Space for eslint

---------

Co-authored-by: Athurg Feng <athurg@gooth.org>
2 years ago
Lincoln Nogueira 5340008ad7
feat: improve Windows support (#1645)
* 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
2 years ago
CorrectRoadH 700fe6b0e4
fix: return pinned status after edit (#1629)
* stash

* query pinned status after patch

* eslint

* refactor query

* eslint

* process specify case

* add test

* Update memo.go
2 years ago
boojack 9b8d69b2dd
chore: add vacuum memo relation to dev guard (#1644)
* chore: add vacuum memo relation to dev guard

* chore: update
2 years ago
Zeng1998 84546ff11c
chore: show server name instead of "MEMOS" (#1639) 2 years ago
Zeng1998 885a0ddad0
chore: add size for s3 resource (#1638) 2 years ago
Lincoln Nogueira 3b76c6792c
feat: add preliminar Windows support (#1636)
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)
2 years ago
jonny 4605349bdc
chore: update Chinese name translation (#1630) 2 years ago
Stephen Zhou ff447ad22b
feat: support file sorting when uploading (#1627) 2 years ago
Stephen Zhou c081030d61
chore: lock pnpm version (#1628) 2 years ago
boojack e3496ac1a2
refactor: memo editor components (#1625) 2 years ago
boojack 8911ea1619
chore: update related time format (#1621)
chore: update related time
2 years ago
boojack 34700a4c52
chore: check allow sign up setting in sso (#1620) 2 years ago
boojack b6564bcd77
feat: implement memo relation server (#1618) 2 years ago
Peng Ding 6e6aae6649
feat: update zh-Hans translations and minor fixes in locale_updater.py (#1615)
* update zh-Hans translations

* minor update

* update instruction part

* print json_value for debugging purpose

* update post requests related

* machine translate with chunks to get around {{field}}
2 years ago
João Nuno Mota b98f85d8a7
feat: add infinite scroll for memos (#1614)
Add infinite scroll for memos on home
2 years ago
João Nuno Mota 3314fe8b0e
fix: failed eslint checks (#1616) 2 years ago
powersee f12163bc94
feat: add linux/arm/v7 to docker build action (#1610) 2 years ago
CorrectRoadH f7a1680f72
fix: only delete last file when select multiple files #1576 (#1578)
* fix the bug can't delete multiple files #1576

* using useEvent instead of useRef

* delete unused code

* delete unused code

* change hook file name

* refactor the useEvent

* delete unnecessary export

* fix import

* Apply suggestions from code review

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
boojack 4603f414db
chore: add system setting cache (#1609) 2 years ago
deeshu 884dca20b3
fix: reappearing of dialog should add body scrolling class (#1602)
When dialog is reappeared after being in a hidden state. Then reappeaning should block further body scrolling for consistent UX.
2 years ago
Max Malm dbb544dc92
feat: read content from search params (#1607) 2 years ago
deeshu 3fad718807
fix: memo content availability for visitor mode (#1605) 2 years ago
boojack fab8a71fd2
feat: implement memo relation store (#1598)
* feat: implement memo relation store

* chore: update
2 years ago
Barry 7776a6b7c6
docs: update readme with MemosGallery (#1590)
- add: https://github.com/BarryYangi/MemosGallery

A simple gallery static page based on the memos api, I think it might be useful for some people, so I just post it up. Close this if not necessary.
2 years ago
boojack cd6ab61c2d
chore: add memo_relation (#1585) 2 years ago
_Jellen 00f69d683a
feat: update Korean translation (#1592)
Update Korean translation

- add missing keys
- polish some translations
- remove trailing whitespaces
2 years ago
boojack 0e70de4003
chore: split memo resource api (#1587) 2 years ago
boojack 35efa927b6
chore: update readme with docs (#1586) 2 years ago
Antzed 1ff03e87c2
docs: upgrade on fly.io (#1582) 2 years ago
boojack edf934efbb
chore: update memo style (#1581) 2 years ago
-Shiken- d0815f586e
feat: update zh-tw translation to latest file format (#1569)
* update zh-tw translation to latest file format

* Update zh-Hant.json

* Update web/src/locales/zh-Hant.json

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
Yang 685a23bce8
feat: add auto collapse feature for all memos issue #1463 (#1550)
* add auto collapse feature

* fix some styles

* pass eslint

---------

Co-authored-by: liyang <liyangg@umich.edu>
2 years ago
boojack 0aa7085303
chore: add enclosure to rss (#1559) 2 years ago
boojack 994d5dd891
feat: server tests (#1556)
* feat: server tests

* chore: update
2 years ago
deeshu e62a94c05a
feat: hiding dialog using X button should remove class "overflow-hidden" (#1555)
Hiding dialogs result in the body to stay frozen due to mounting behaviour of the dialog, but using 'X' button hides the dialog and won't let user scroll any further. Removing overflow behaviour during hiding procedure will improve User Experience.
2 years ago
Manu 2b83572641
fix: the broken install docs link (#1554) 2 years ago
boojack 5f8aae69e4
chore: update save button style (#1542) 2 years ago
boojack 73b8d1dd99
fix: revert hide ask ai button (#1539) 2 years ago
boojack 58fa00079b
chore: update version to `0.12.2` (#1538) 2 years ago