Commit graph

554 commits

Author SHA1 Message Date
TLSM
965a4dc157 Fix improper calls to Comment.replies.
In four contexts, Comment.replies(.) was not updated to reflect the
interface changes with comment filtering. This directly caused #170
and #172 (which was a stack trace from the former).
  - Updating notifications for DMs (routes/users.py L690)
  - Updating notifications for modmail (routes/users.py L729)
  - morecomments for logged out users (routes/posts.py L421)
  - JSON for API access (classes/comment.py L347)

All four contexts seem to behave correctly after the change. However,
strictly speaking the JSON generation will not include a user's own
filtered or removed comments, though this is hard to remedy without
passing the user object `v` to json_core. Propagating that through the
codebase seems a worse option than leaving it as is.
2022-08-17 14:01:31 -05:00
Ben Rog-Wilhelm
800ae8d2dc Split SITE_NAME into computer-readable SITE_ID and human-readable SITE_TITLE. 2022-07-31 18:53:18 -05:00
JulianRota
7c86c88c68
Merge pull request #121 from zorbathut/pr_hidevotes
Hide vote details from non-admins.
2022-07-26 23:16:08 -04:00
Ben Rog-Wilhelm
19e9c1a20e Hide vote details from non-admins.
It is intentional that the links show up on admin level 2 but aren't usable until admin level 3; I don't know what I want right now and I want to encourage admins to pester me about it.
2022-07-23 03:04:43 -05:00
Julian Rota
4ecb4747c1 Filter on user pages too 2022-07-09 06:33:41 -05:00
Michael House
9fef790629 Added caching to /@username/pic endpoint, other small fixes 2022-06-09 05:36:45 -05:00
Michael House
ea98d51fb2 Refactored path building and caching on /pp/ route 2022-06-08 06:53:15 -05:00
Michael House
658eacb45d Partial fix for performance issues with mentions 2022-06-07 15:30:27 -05:00
Michael House
f3f2aa3935 Made a lot of small changes in the frontend 2022-06-04 07:48:26 -05:00
FatherInire
fcba426009
Remove some gimmicky r/drama features.
Co-authored-by: Inire <>
2022-05-21 21:43:00 -05:00
faul_sname
5eb9bb635c [#80] why is linkedin even banned 2022-05-17 19:00:23 -05:00
Michael House
19903cccb5
Adding usernotes. 2022-05-16 11:53:24 -05:00
iro84657
b7da8b575a Add trailing LF to text files 2022-05-10 21:05:51 -04:00
Chris Drzewiecki
c03e77d2d4 Set user listing/shop to require admin 2022-05-10 01:08:54 -06:00
Ben Rog-Wilhelm
1ee9c1bfa7
Convert text file line endings to LF. 2022-05-09 07:20:47 -05:00
iro84657
193ff08a3d Remove special cases based on request.host 2022-05-09 01:40:09 -04:00
iro84657
71743a3bfc Remove special cases based on SITE_NAME 2022-05-09 01:40:09 -04:00
Aevann1
709a7fc4b5 sfd 2022-05-01 23:44:38 +02:00
Aevann1
240b451962 fsd 2022-05-01 02:53:24 +02:00
Aevann1
235349652b fds 2022-04-29 16:52:00 +02:00
Aevann1
af0e20c945 sfd 2022-04-29 16:48:13 +02:00
Aevann1
65716a84d0 fds 2022-04-29 16:47:34 +02:00
Aevann1
2c66f596fd fds 2022-04-29 16:47:03 +02:00
Aevann1
920de902e8 sdf 2022-04-29 16:44:21 +02:00
Aevann1
8345cc02e0 fsd 2022-04-29 16:43:21 +02:00
Aevann1
3c568ca860 fsd 2022-04-29 16:39:56 +02:00
Aevann1
a3832f4c5b fds 2022-04-28 02:04:01 +02:00
Aevann1
4c93cd63d9 fsd 2022-04-28 00:38:03 +02:00
Aevann1
35697540af fsd 2022-04-26 15:40:37 +02:00
Aevann1
269a402309 fsd 2022-04-26 00:28:20 +02:00
Aevann1
b4e87109e3 dfs 2022-04-24 23:09:21 +02:00
Aevann1
a7e911e56d fds 2022-04-24 00:09:25 +02:00
Aevann1
15d77234e6 fds 2022-04-23 00:48:01 +02:00
Aevann1
f09f1be3e9 fsd 2022-04-22 17:05:34 +02:00
Aevann1
91540c161a Revert "RESTORE CACHE"
This reverts commit fe25f41fad.
2022-04-19 22:22:24 +02:00
Aevann1
fe25f41fad RESTORE CACHE 2022-04-19 22:21:47 +02:00
Aevann1
34cf0411f5 fds 2022-04-18 20:38:26 +02:00
Aevann1
eccfb31469 fds 2022-04-17 22:20:40 +02:00
Aevann1
42f70bc64e fdsfds 2022-04-15 18:28:08 +02:00
Aevann1
8c1e134132 fds 2022-04-15 17:03:02 +02:00
Aevann1
4c88511cf9 fds 2022-04-14 18:26:41 +02:00
Aevann1
631c0bdc97 gfd 2022-04-10 01:41:36 +02:00
Aevann1
fc3bb77171 gdf 2022-04-07 00:37:25 +02:00
Aevann1
3ca087239d fsd 2022-04-04 03:41:20 +02:00
Aevann1
ea2445baf3 dg 2022-04-03 17:53:20 +02:00
Aevann1
1832300dfd fsd 2022-04-02 21:42:21 +02:00
Aevann1
03e866c74c sfd 2022-04-02 21:40:45 +02:00
Aevann1
5cf65563c1 fsd 2022-04-02 21:40:18 +02:00
Aevann1
5d6e14b9b3 fsd 2022-04-02 19:11:35 +02:00
Aevann1
36eda0edf8 fsd 2022-04-02 18:54:27 +02:00