discourse/lib/guardian
Sam 1cd6ff15dc
PERF: optimize homepage and topic performance (#11607)
These are a few small tweaks that slightly improve performance.

- we omitted 1 query from the post guardian which could cause an N+1
- cook_url has been sped up a bit
- url helper avoids re-creating sets for no reason
2020-12-30 13:08:02 +00:00
..
bookmark_guardian.rb FEATURE: Allow editing bookmark reminders (#9437) 2020-04-17 11:08:07 +10:00
category_guardian.rb FEATURE - Moderators can create and manage groups (#10432) 2020-08-19 10:41:40 -04:00
ensure_magic.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
group_guardian.rb FIX: Always let moderators to see their group PMs (#10813) 2020-10-05 19:38:08 +03:00
post_guardian.rb PERF: optimize homepage and topic performance (#11607) 2020-12-30 13:08:02 +00:00
post_revision_guardian.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
tag_guardian.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
topic_guardian.rb FIX: Users without shared drafts access can still have access to the category. (#11476) 2020-12-14 16:08:20 -03:00
user_guardian.rb FIX: hide sso email behind a button click and log views (#11186) 2020-11-11 00:42:44 +05:30