discourse/app
Martin Brennan 5655447aca
FIX: Discrepency between admin page view reports (#27685)
Followup 2f2da72747

When the "Consolidated Pageviews with Browser Detection (Experimental)"
report was introduced, we started counting the original
"page_view_logged_in" and "page_view_anon" ApplicationRequest
data as "Other Pageviews", subtracting
"page_view_anon_browser" and "page_view_logged_in_browser" from
this number.

However we unknowingly automatically started counting these
browser-based page views, which are a subset of the total
"page_view_logged_in" and "page_view_anon" counts, in the
original "Pageviews" report, leading to double counting
which meant that when you looked at the data for each
report side-by-side the data didn't add up.

This commit fixes the issue by not counting the "browser"
pageviews in the Pageviews report, and making the code where
we were only counting certain types of requests for this
report more plain, explicitly stating which types of requests
we want.
2024-07-04 10:16:09 +10:00
..
assets Build(deps-dev): Bump @embroider/compat in the embroider group (#27703) 2024-07-04 01:15:00 +02:00
controllers SECURITY: Don't allow suspending staff users via other_user_ids param 2024-07-03 20:49:29 +08:00
helpers FIX: Regression in custom homepage modifier used in theme components (#27569) 2024-06-21 11:24:11 -04:00
jobs DEV: Remove summarization code (#27373) 2024-07-02 08:51:47 -07:00
mailers FIX: correctly compute the window for email summaries 2024-05-27 22:33:51 +02:00
models FIX: Discrepency between admin page view reports (#27685) 2024-07-04 10:16:09 +10:00
serializers SECURITY: Update reviewable user serializer payload 2024-07-03 20:49:19 +08:00
services SECURITY: Don't allow suspending staff users via other_user_ids param 2024-07-03 20:49:29 +08:00
views DEV: Block accidental serialization of entire AR models (#27668) 2024-07-01 17:08:48 -03:00