At the moment, when you click "Choose file" when uploading a plugin, it looks for "All Files (*.*)", but really we only ever want "*.kpz" files. By changing the HTML we should be able to make it only look for "*.kpz" files which should make uploads a bit more convenient.
Created attachment 148046 [details] [review] Bug 33189: Make plugin upload look for .kpz files in file picker This change configures the file picker to look for *.kpz files instead of *.* files, which makes it more convenient to locate .kpz files for upload when uploading plugins. Test plan: 0. Apply patch 1. Go to http://localhost:8081/cgi-bin/koha/plugins/plugins-upload.pl 2. Click on "Choose file" 3. Note that the file type in the box at the bottom right of the screen defaults to "KPZ File (*.kpz) 4. If you navigate to a directory that contains .kpz files (like Downloads), you'll now see directory folders and .kpz files.
Created attachment 148049 [details] [review] Bug 33189: Make plugin upload look for .kpz files in file picker This change configures the file picker to look for *.kpz files instead of *.* files, which makes it more convenient to locate .kpz files for upload when uploading plugins. Test plan: 0. Apply patch 1. Go to http://localhost:8081/cgi-bin/koha/plugins/plugins-upload.pl 2. Click on "Choose file" 3. Note that the file type in the box at the bottom right of the screen defaults to "KPZ File (*.kpz) 4. If you navigate to a directory that contains .kpz files (like Downloads), you'll now see directory folders and .kpz files. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Trivial code change, nice fix.. going straight for QA. Passing
Pushed to master for 23.05. Nice work everyone, thanks!
Nice work everyone! Pushed to stable for 22.11.x
Backported to 22.05.x for upcoming 22.05.11
applied to 21.11 for 21.11.19
Not backported to 21.05.x