1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-25 05:22:59 +00:00

Allow flac & ogg audio files to be uploaded by default

This commit is contained in:
Starbeamrainbowlabs 2019-05-24 21:48:41 +01:00
parent 7cff5ef879
commit f96321559a
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 4 additions and 1 deletions

View file

@ -21,6 +21,7 @@ This file holds the changelog for Pepperminty Wiki. This is the master list of t
- Added a new first-run wizard to help new users set up the basics of their wiki. - Added a new first-run wizard to help new users set up the basics of their wiki.
- It also checks to ensure that access to `peppermint.json` is blocked correctly (coming soon as a one-time check to pre-existing wikis) - It also checks to ensure that access to `peppermint.json` is blocked correctly (coming soon as a one-time check to pre-existing wikis)
- Pre-existing wikis will not see this first-run wizard - a new `firstrun_complete` setting has been added that's automatically set to true if Pepperminty Wiki does a settings upgrade - Pre-existing wikis will not see this first-run wizard - a new `firstrun_complete` setting has been added that's automatically set to true if Pepperminty Wiki does a settings upgrade
- Default to allowing lossless flac and ogg audio files to be uploaded
### Changed ### Changed
- Core sharding: split `core.php` into multiple files - Core sharding: split `core.php` into multiple files

View file

@ -144,7 +144,9 @@
"video/mp4", "video/mp4",
"video/webm", "video/webm",
"audio/mp4", "audio/mp4",
"audio/mpeg" "audio/mpeg",
"audio/flac",
"audio/ogg"
]}, ]},
"preview_file_type": { "type": "text", "description": "The default file type for previews.", "default": "image/png" }, "preview_file_type": { "type": "text", "description": "The default file type for previews.", "default": "image/png" },
"default_preview_size": { "type": "number", "description": "The default size of preview images in pixels.", "default": 640}, "default_preview_size": { "type": "number", "description": "The default size of preview images in pixels.", "default": 640},