Martin Brennan
3d3f20b68d
Revert "FIX: Use Guardian.basic_user instead of new (anon) ( #270 )" ( #271 )
...
This reverts commit 7edf6d86e4
.
2023-12-06 16:26:40 +10:00
Martin Brennan
7edf6d86e4
FIX: Use Guardian.basic_user instead of new (anon) ( #270 )
...
c.f. de983796e1b66aa2ab039a4fb6e32cec8a65a098
There will soon be additional login_required checks
for Guardian, and the intent of many checks by automated
systems is better fulfilled by using BasicUser, which
simulates a logged in TL0 forum user, rather than an
anon user.
2023-12-06 12:00:43 +10:00
David Taylor
14e0800a29
DEV: Introduce syntax_tree for ruby formatting ( #217 )
2022-12-23 20:36:08 +00:00
Bianca Nenciu
b558caff37
PERF: Use UserAction to count accepted answers ( #162 )
...
The previous query which used custom fields performed a much more
complex and slower search.
2021-09-13 19:26:43 +03:00
Bianca Nenciu
f20274f44a
FIX: Correctly serialize accepted_answers ( #158 )
2021-08-26 16:16:22 +03:00
Guo Xiang Tan
75046f1d92
Add frozen string literal comment to files.
2019-05-13 11:04:27 +08:00
Bianca Nenciu
3297d152a7
FIX: Staff users can accept posts in deleted topics. ( #75 )
2019-03-18 16:27:29 +01:00
Vinoth Kannan
086c5de866
SPEC: Add test cases for topic answer mixin
2019-03-17 23:43:20 +05:30
Vinoth Kannan
8b8512e73e
DEV: Use core method to preload category custom fields for site serializer
2019-03-16 23:27:31 +05:30
Vinoth Kannan
8beaa6c1d9
PERF: Remove N+1 queries on basic category serializer.
2019-03-15 18:53:22 +05:30