Skip to content
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

perm für upload page #17

Merged
merged 4 commits into from
Dec 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lang/de_de.lang
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ filepond_description = Modernes Upload-Feld mit Medienpool-Integration
filepond_general_settings = Allgemeine Einstellungen
filepond_settings_replace_mediapool = Medienpool Upload-Seite ersetzen
filepond_settings_replace_mediapool_notice = Wenn aktiviert, wird die Standard-Upload-Seite des Medienpools durch FilePond ersetzt
perm_general_filepond_uploader[upload] = Filepond Upload-Seite verwenden

# Tabs
filepond_uploader_upload = Upload
Expand Down
1 change: 1 addition & 0 deletions lang/en_gb.lang
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# General
filepond_uploader_title = FilePond Uploader
filepond_description = Modern file upload field with media pool integration
perm_general_filepond_uploader[upload] = Use Filepond upload page

# Tabs
filepond_uploader_upload = Upload
Expand Down
15 changes: 8 additions & 7 deletions package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,29 @@ package: filepond_uploader
version: '1.1.0'
author: 'Friends Of REDAXO'
supportpage: github.com/FriendsOfREDAXO/filepond_uploader

requires:
php: '>=8.1'
redaxo: '^5.17.1'
packages:
yform: '>=4.0.0'
metainfo: '>=2.0.0'

page:
title: 'translate:filepond_uploader_title'
perm: admin
subpages:
upload: { title: 'translate:filepond_uploader_upload' }
settings: { title: 'translate:filepond_uploader_settings' }

upload: {
title: 'translate:filepond_uploader_upload',
perm: filepond_uploader[upload]
}
settings: {
title: 'translate:filepond_uploader_settings',
perm: admin
}
default_config:
allowed_types: 'image/*,video/*,application/pdf'
max_size: 200
max_files: 30
max_pixel: 2100
category_id: 0

installer_ignore:
- node_modules
- package.json
Expand Down