Channel banner sql migrations (#30274)
* Adde MySQL and Postgres migrations * Replaced select * with column names * removed all * from channel SQL store * cleanup * Fixed a duplicate column * cleanup * Added migrations and store support * WIP * used channelname slice in a missed place * Handled patch * Added app level tests * Added API layer tests * Added API layer tests * WIP * converted to query builder * cleanupo * added not null and default constraints * Fixed test * fixed file name * review fixes * review fixes * updated migration file * fixed text * Review fixes
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6df8726321
Коммит
6e738f489f
@@ -515,6 +515,10 @@
|
||||
"id": "api.channel.restore_channel.unarchived",
|
||||
"translation": "{{.Username}} unarchived the channel."
|
||||
},
|
||||
{
|
||||
"id": "api.channel.update_channel.banner_info.channel_type.not_allowed",
|
||||
"translation": "Channel banner can only be configured on Public and Private channels."
|
||||
},
|
||||
{
|
||||
"id": "api.channel.update_channel.deleted.app_error",
|
||||
"translation": "The channel has been archived or deleted."
|
||||
@@ -8492,6 +8496,22 @@
|
||||
"id": "model.channel.is_valid.1_or_more.app_error",
|
||||
"translation": "Name must be 1 or more lowercase alphanumeric character."
|
||||
},
|
||||
{
|
||||
"id": "model.channel.is_valid.banner_info.background_color.empty.app_error",
|
||||
"translation": "Channel banner color cannot be empty when channel banner is enabled"
|
||||
},
|
||||
{
|
||||
"id": "model.channel.is_valid.banner_info.channel_type.app_error",
|
||||
"translation": "Channel banner can only be configured on Public and Private channels"
|
||||
},
|
||||
{
|
||||
"id": "model.channel.is_valid.banner_info.text.empty.app_error",
|
||||
"translation": "Channel banner info text cannot be empty when channel banner is enabled"
|
||||
},
|
||||
{
|
||||
"id": "model.channel.is_valid.banner_info.text.invalid_length.app_error",
|
||||
"translation": "Channel banner info text is too long. Max allowed length is {{.maxLength}} characters."
|
||||
},
|
||||
{
|
||||
"id": "model.channel.is_valid.create_at.app_error",
|
||||
"translation": "Create at must be a valid time."
|
||||
|
||||
Ссылка в новой задаче
Block a user