Skip to content

Enhancement proposal : number of files quota #20334

Closed

Description

@antoine-mesobfc

Size quota is a very good feature, but t would be nice to be able to limit the maximum number of files by user.

Store thousand of 10 Mo files is not a problem, but store millions of 4 Ko files is a big problem for performance, database, backup, etc.

Activity

  1. PVince81 commented on Nov 6, 2015

    @PVince81
    Contributor

    I understand the admin's point of view that you described, it makes sense.

    However from the user's perspective, I'm not sure that users would be happy about or understand an error message saying "you have too many files". In general users are used to storage/byte based limits, not file count. But I could be mistaken 😄

  2. added this to the backlog milestone on Mar 4, 2016
  3. antoine-mesobfc commented on Nov 17, 2016

    @antoine-mesobfc
    Author

    If we develop this feature, would you be interested in including/merge it ?
    We can make a contribution, but we do not want to create a separate application. Improving the existing quota feature would make it easier to manage the associated notifications.

  4. PVince81 commented on Nov 18, 2016

    @PVince81
    Contributor

    I'd personally prefer to have it as a separate app, but I'm not sure it's possible with the current APIs.

    @pmaier1 @DeepDiver1975 see feature request and contribution proposal.
    What do you think ?

  5. pmaier1 commented on Nov 21, 2016

    @pmaier1
    Contributor

    I agree with @PVince81 that this could be confusing for users but more features are always nice at least when they're opt-in. Developing this as a separate app would also be my preferred solution. However, integrating this with the existing quota feature is fine as well as it is just a slight change and you're not forced to use it.

  6. antoine-mesobfc commented on Nov 22, 2016

    @antoine-mesobfc
    Author

    Yes, you are not forced to used it. Or you can set a very high limit (dropbox limit is 300000) as a safeguard.
    If the file quota must be in a separate app, maybe the size quota must also be in that app ?

  7. PVince81 commented on Sep 11, 2017

    @PVince81
    Contributor

    @centredecalcul didn't you guys develop an app for that ?

  8. karakayasemi commented on Sep 12, 2017

    @karakayasemi
    Contributor

    @PVince81 I have an app to use filesystem quota on ownCloud which is working with file hooks and I am planning to reimplement it with storage wrapper instead of hooks. If I succeed there, I can create a new app for this feature also.

  9. antoine-mesobfc commented on Sep 12, 2017

    @antoine-mesobfc
    Author

    Yes a colleague started a development but he did not have time to finish before the end of his contract. The app is not in production, all the features have not been completed.
    You can find code here : https://github.com/centredecalcul/files_quota

  10. PVince81 commented on Dec 18, 2017

    @PVince81
    Contributor

    Something to be done in a separate app, not part of core.

  11. lock commented on Aug 2, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  12. locked as resolved and limited conversation to collaborators on Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions