Giteabot
ecae62837c
Refactor `setting.Database.UseXXX` to methods ( #23354 ) ( #23356 )
...
Backport #23354
Replace #23350 .
Refactor `setting.Database.UseMySQL` to
`setting.Database.Type.IsMySQL()`.
To avoid mismatching between `Type` and `UseXXX`.
This refactor can fix the bug mentioned in #23350 , so it should be
backported.
Co-authored-by: Jason Song <i@wolfogre.com>
2 years ago
silverwind
0585ac3ac6
Update go dev dependencies ( #22064 )
...
`golangci-lint`
[deprecated](https://github.com/golangci/golangci-lint/issues/1841 ) a
bunch of linters, removed them.
2 years ago
flynnnnnnnnnn
e81ccc406b
Implement FSFE REUSE for golang files ( #21840 )
...
Change all license headers to comply with REUSE specification.
Fix #16132
Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2 years ago
KN4CK3R
f8f859b8fa
Alter package_version.metadata_json to LONGTEXT ( #21667 )
2 years ago
Lunny Xiao
e72acd5e5b
Split migrations folder ( #21549 )
...
There are too many files in `models/migrations` folder so that I split
them into sub folders.
2 years ago
Wim
62104b4896
Alter hook_task TEXT fields to LONGTEXT ( #20038 )
...
Mysql TEXT has a limit of 64KB, change this to LONGTEXT in mysql only so we can have bigger hook payloads.
Postgresql has unlimited TEXT - https://www.postgresql.org/docs/current/datatype-character.html
Sqlite has unlimited TEXT - https://www.sqlitetutorial.net/sqlite-data-types/#:~:text=The%20maximum%20length%20of%20TEXT,SQLite%20supports%20various%20character%20encodings .
Same issue as #16656 but for hook_task
Fixes #10252 , #19679 , #3561
2 years ago
6543
54e9ee37a7
format with gofumpt ( #18184 )
...
* gofumpt -w -l .
* gofumpt -w -l -extra .
* Add linter
* manual fix
* change make fmt
3 years ago
wxiaoguang
750a8465f5
A better go code formatter, and now `make fmt` can run in Windows ( #17684 )
...
* go build / format tools
* re-format imports
3 years ago
wxiaoguang
b55c699c62
Alter issue/comment table TEXT fields to LONGTEXT ( #16765 )
...
* Alter issue/comment table TEXT fields to LONGTEXT
* Use If not Switch
Co-authored-by: zeripath <art27@cantab.net>
3 years ago