-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
feat: allow accounts with a quota of 0 GiB #17413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
FYI, for translation, you only need to provide the |
Also, please fix the failing tests. Thanks :) |
I think I fixed all the tests. |
mobile/ios/build/XCBuildData/a34f3d77f077776687d3b444cba8f1c4.xcbuilddata/manifest.json
Outdated
Show resolved
Hide resolved
Okay the e2e tests are throwing me a bit for a loop. I do not know why all these tests are failing, they seem to have nothing to do with what I changed. Could it be the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks very good to me, thanks! You can disregard the failing test, that wasn't your fault :)
* Allow 0GiB quotas in user create/edit form, remove unused translations * Make requireQuota check for null or 0 * Add unlimited quota change to the docs * Fix user dto formatting * Fix formating edit-user-form * Regenerate open-api files * Revert unnecessary i18n file changes * Re-add newline en.json * Resolve linting issues * Fix formatting edit-user-form * Re-add manifest
* Allow 0GiB quotas in user create/edit form, remove unused translations * Make requireQuota check for null or 0 * Add unlimited quota change to the docs * Fix user dto formatting * Fix formating edit-user-form * Regenerate open-api files * Revert unnecessary i18n file changes * Re-add newline en.json * Resolve linting issues * Fix formatting edit-user-form * Re-add manifest
Description
Previously, setting your quota to 0 would make it unlimited. This change makes 0 a possible value, while leaving the field empty/null sets its to unlimited.
This change makes it possible to have no-upload accounts.
How Has This Been Tested?
Screenshots (if appropriate)
Checklist:
src/services/
uses repositories implementations for database calls, filesystem operations, etc.src/repositories/
is pretty basic/simple and does not have any immich specific logic (that belongs insrc/services/
)