Commit Graph

6 Commits

Author SHA1 Message Date
cfbbfd177c DEV: move post flags into database (#27125)
This is preparation for a feature that will allow admins to define their custom flags. Current behaviour should stay untouched.
2024-05-23 12:19:07 +10:00
40d65dddf8 Revert "DEV: move post flags into database (#26951)" (#27102)
This reverts commit 7aff9806eb3592767313299d7a0b8c413e328d20.
2024-05-21 16:21:07 +10:00
7aff9806eb DEV: move post flags into database (#26951)
This is preparation for a feature that will allow admins to define their custom flags. Current behaviour should stay untouched.
2024-05-21 13:15:32 +10:00
4ea21fa2d0 DEV: use #frozen_string_literal: true on all spec
This change both speeds up specs (less strings to allocate) and helps catch
cases where methods in Discourse are mutating inputs.

Overall we will be migrating everything to use #frozen_string_literal: true
it will take a while, but this is the first and safest move in this direction
2019-04-30 10:27:42 +10:00
5b3f99aa50 Don't blow up if Redis switches to READONLY 2015-04-24 14:37:16 -04:00
40c27ff3cf Add flag counts to admin dashboard 2013-03-12 14:40:59 -04:00