forgejo/modules/setting
Adam Szatyin d86d123322
Add mimetype mapping settings (#15133)
* Fix APK's Content-Type header

* Fix case sensitive comparison

* Add custom mime type mapping for downloadable files

* Add documentation for MIME type mapping

* Rename download.mimetype.mapping configuration to repository.mimetype_mapping

Co-authored-by: zeripath <art27@cantab.net>
2021-05-10 16:38:08 -04:00
..
attachment.go
cache.go Ensure memcache TTL cannot be over 30 days (#14592) 2021-02-09 22:29:03 +00:00
cors.go
cron.go
cron_test.go
database.go
database_sqlite.go
database_test.go
git.go Add pager to the branches page (#14202) 2021-01-19 05:07:38 +01:00
indexer.go
indexer_test.go
lfs.go
log.go use level config in main section when subsection not set level (#15176) 2021-03-28 20:08:19 +01:00
mailer.go
markup.go Refactor renders (#15175) 2021-04-19 18:25:08 -04:00
migrations.go
mime_type_map.go Add mimetype mapping settings (#15133) 2021-05-10 16:38:08 -04:00
oauth2_client.go OAuth2 login: Set account link to "login" as default behavior (#15768) 2021-05-07 16:15:16 +02:00
picture.go add /assets as root dir of public files (#15219) 2021-04-28 12:35:06 +00:00
project.go
queue.go
repository.go Disable Stars config option (#14653) 2021-04-15 18:53:57 +02:00
service.go Allow only internal registration (#15795) 2021-05-09 16:13:35 +02:00
session.go Add SameSite setting for cookies (#14900) 2021-03-07 08:12:43 +00:00
setting.go Add mimetype mapping settings (#15133) 2021-05-10 16:38:08 -04:00
setting_test.go Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
storage.go more test case for STORAGE_TYPE overrides (and fixes) (#14096) 2020-12-22 01:03:18 +02:00
storage_test.go more test case for STORAGE_TYPE overrides (and fixes) (#14096) 2020-12-22 01:03:18 +02:00
task.go
webhook.go