Commit Graph

8 Commits

Author SHA1 Message Date
David Taylor 14e0800a29
DEV: Introduce syntax_tree for ruby formatting (#217) 2022-12-23 20:36:08 +00:00
Bianca Nenciu d07ffb6f7a
DEV: Promote historic post_deploy migrations (#216)
This commit promotes all post_deploy migrations which existed in
Discourse v2.8.0 (timestamp <= 20220107014925)
2022-12-19 17:28:01 +02:00
Gerhard Schlager d6c8089ca3 FIX: Use generic, static names for badges
This is necessary, because seeding badges with a translated name will result in duplicate badges whenever the default locale changes. The static name solves this.
Moreover, it's not necessary to set the description during seeding. The serializer will localize the names and descriptions at runtime.

The DB migration tries to rename the existing badges by looking them up by their translated time.
2022-11-23 11:07:49 +01:00
Mark VanLandingham 52d4656011
Re-add usage of `add_directory_column` for user directory table solutions count (#140) 2021-06-22 13:18:23 -05:00
Mark VanLandingham 7351882171
Revert "Use `add_directory_column` API to add solutions count to user directory (#137)" (#139)
This reverts commit 58c594fdda.
2021-06-17 12:37:29 -05:00
Mark VanLandingham 58c594fdda
Use `add_directory_column` API to add solutions count to user directory (#137) 2021-06-17 09:31:11 -05:00
Martin Brennan 2b12658978
FIX: Add min/max values for auto close hours (#121)
* Also add migration to cap current site settings for
solved_topics_auto_close_hours
  to the max of 175000 if they are too high
2021-02-18 13:49:39 +10:00
Joffrey JAFFEUX c0f8e2eee0
FIX: applies a unique index for accepted_answer_post_id custom field (#83) 2019-12-12 12:00:28 +01:00