1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-23 21:34:43 +03:00
gitea/modules/setting
zeripath fcabbae168
Set utf8mb4 as the default charset on MySQL if CHARSET is unset (#12563)
MySQL in its infinite wisdom determines that UTF8 does not
mean UTF8. Our install scripts know about this and will set
CHARSET to utf8mb4 if we users choose this but... users who
do not explicitly set this variable will default to utf8mb3
without knowing it.

This PR changes the unset CHARSET value to utf8mb4 if users
choose to use mysql.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-08-22 13:56:33 +01:00
..
attachment.go Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
cache.go Cache last commit to accelerate the repository directory page visit (#10069) 2020-02-01 19:11:32 +00:00
cors.go Movde dependents on macaron from modules/setting (#10050) 2020-01-29 09:47:46 +02:00
cron.go Refactor Cron and merge dashboard tasks (#10745) 2020-05-16 19:31:38 -04:00
database_sqlite.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
database_test.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
database.go Set utf8mb4 as the default charset on MySQL if CHARSET is unset (#12563) 2020-08-22 13:56:33 +01:00
git.go Make PR message on pushes configurable (#10664) 2020-03-08 08:34:38 -05:00
indexer_test.go Restrict repository indexing by glob match (#7767) 2019-09-11 20:26:28 +03:00
indexer.go Add detected file language to code search (#10256) 2020-02-20 16:53:55 -03:00
log.go Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777) 2020-07-05 20:07:07 -04:00
mailer.go Sendmail should create a process on the gitea system and have a default timeout (#11256) 2020-05-03 00:04:31 +01:00
markup.go Fix sanitizer config - multiple rules (#11133) 2020-04-29 12:34:59 +01:00
migrations.go Add retry for migration http/https requests (#9019) 2019-11-16 16:30:06 +08:00
project.go Kanban board (#8346) 2020-08-16 23:07:38 -04:00
queue.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 2020-02-02 23:19:58 +00:00
repository.go Global default branch setting (#11918) 2020-06-17 16:53:55 -04:00
service.go Add /milestones endpoint (#8733) 2019-12-15 14:20:08 +00:00
session.go Movde dependents on macaron from modules/setting (#10050) 2020-01-29 09:47:46 +02:00
setting.go Disable password complexity check default (#12557) 2020-08-21 18:42:23 -04:00
task.go Graceful Queues: Issue Indexing and Tasks (#9363) 2020-01-07 12:23:09 +01:00
webhook.go Add Matrix webhook (#10831) 2020-03-28 15:09:55 +02:00