Commit Graph

21 Commits

Author SHA1 Message Date
Donal McBreen b1862733dd Merge branch 'main' into sqlite 2025-11-21 15:23:34 +00:00
Jorge Manrubia 6e20c8c68f Add brakeman rule 2025-11-21 10:42:08 +01:00
Donal McBreen f24f959d19 Add brakeman ignores 2025-11-21 09:15:19 +00:00
Mike Dalessio 62f469f609 brakeman: remove two obsolete ignore entries 2025-11-17 09:12:41 -05:00
Mike Dalessio adaf6966c6 brakeman: drop two obsolete warnings, ignore new searchable sql 2025-11-17 09:12:36 -05:00
Donal McBreen 3aa4a1a562 Shard the search index into 16 tables
Create search_index_0 to search_index_15 tables and shard each index by
account id. MySQL has no ability to pre-filter fulltext indexes by
another field so this is the best bet for improving performance.

Each fulltest index internally creates 11 sub tables (see
https://dev.mysql.com/doc/refman/8.4/en/innodb-fulltext-index.html) so
actually we have 192 tables in total here.

The search_index table name is generated dynamically based on the
account_id.
2025-11-17 09:12:17 -05:00
Jorge Manrubia fe559cbca0 Brakeman ignore 2025-10-07 09:00:07 +02:00
Mike Dalessio 9bfd21c096 ci: remove outdated ignores from brakeman config 2025-10-07 00:16:47 -04:00
Jorge Manrubia 30b6adcd1c Update brakeman 2025-07-18 10:57:13 +02:00
Jorge Manrubia 4acfe3ba9f update brakeman 2025-06-24 13:33:48 +02:00
Jorge Manrubia e8322afb59 Update brakeman 2025-06-05 09:13:19 +02:00
Jorge Manrubia 88fceb3123 Add brakeman rule 2025-04-25 10:40:26 +02:00
Mike Dalessio 232e5e4ed2 lint: tell brakeman 7 to ignore the class eval in has_markdown 2025-03-10 12:56:36 -04:00
Jose Farias c220a305e7 Ignore left_joins_messageable interpolation for Brakeman 2024-10-27 20:19:03 -06:00
Jose Farias 8cbd9d0316 Prune stale brakeman ignore re: threads 2024-10-25 16:10:00 -06:00
Jose Farias 9d87d66be6 Ignore brakeman false positive 2024-10-11 20:28:50 -05:00
Jeffrey Hardy 8682bc6a83 Wire up filters for tags and assignees 2024-10-03 15:40:51 -04:00
Kevin McConnell f305776fe4 Update brakeman warnings due to moved code 2024-10-03 16:25:59 +01:00
Jeffrey Hardy 63c4493f7e Update Brakeman ignore for changed dynamic render path warning 2024-10-02 16:07:23 -04:00
Jeffrey Hardy d3748bd495 Ignore false-positive Brakeman dynamic render path warning 2024-10-02 13:03:25 -04:00
Kevin McConnell 15fa3b7582 Ignore a brakeman warning 2024-10-02 13:57:05 +01:00