DiskQuota Module for Omeka S
This module allows administrators to set disk quota limits for users and sites in Omeka S. It prevents users from uploading files that would exceed the quota set for a user or a site.
Features
- Set a maximum storage limit (quota) per user and per site
- Track current storage usage of each user and site
- Prevent uploads that would exceed the user's or site's quota
- Display quota information in the admin panel
- Provide a dedicated section for managing quotas
Installation
Manual Installation
- Download the latest release from the GitHub repository
- Extract the zip file to your Omeka S
modules
directory - Log in to the Omeka S admin panel and navigate to Modules
- Click "Install" next to DiskQuota
Using Docker
A Docker Compose file is provided for easy testing:
- Make sure you have Docker and Docker Compose installed
- Clone this repository
- From the repository root, run:
make up
- Wait for the containers to start (this may take a minute)
- Access Omeka S at http://localhost:8080
- Finish the installation and login as admin user
- Navigate to Modules and install the DiskQuota module
Installation
See general end user documentation for Installing a module
Usage
- Once installed, navigate to the admin panel
- To set a user quota:
- Go to Users section
- Select a user and click on the "User Settings" tab
- Set the desired quota size in megabytes (MB)
- To set a site quota:
- Navigate to any site's admin panel
- Click on the "Site admin" tab in the left sidebar
- Set the desired quota size in megabytes (MB)
- To set unlimited quota for either users or sites, enter 0
The module will automatically track usage and prevent uploads that would exceed the quota.
Requirements
- Omeka S 4.x or later
License
This module is published under the GNU GPLv3 license.