diaspora/app
Benjamin Neff 4b49270be7
Simplify comment and post validation
It's enough to check if the comment exists on the specified post, if it
doesn't exist at all, that check will also fail.

Also do that check directly on SQL level and just check if the comment
exist instead of looping through all comments.
2024-06-05 00:14:31 +02:00
..
assets Merge pull request #8203 from tclaus/2999-likes-comment 2023-11-13 02:32:43 +01:00
controllers Simplify comment and post validation 2024-06-05 00:14:31 +02:00
helpers Add notifications for likes on comments 2023-11-13 02:27:55 +01:00
mailers Add notifications for likes on comments 2023-11-13 02:27:55 +01:00
models Add notifications for likes on comments 2023-11-13 02:27:55 +01:00
presenters Dont send all likes with list of comments 2023-11-13 02:27:55 +01:00
serializers Always strip exif data and drop user setting for it 2023-06-04 04:25:01 +02:00
services Add notifications for likes on comments 2023-11-13 02:27:55 +01:00
uploaders Always strip exif data and drop user setting for it 2023-06-04 04:25:01 +02:00
views Merge pull request #8203 from tclaus/2999-likes-comment 2023-11-13 02:32:43 +01:00
workers Add notifications for likes on comments 2023-11-13 02:27:55 +01:00