Commit graph

20948 commits

Author SHA1 Message Date
Benjamin Neff
9ed57596c1
Bump json 2024-06-05 00:24:53 +02:00
Benjamin Neff
7910103f60
Bump puma 2024-06-05 00:24:53 +02:00
Benjamin Neff
eb12b5596c
Bump responders 2024-06-05 00:24:53 +02:00
Benjamin Neff
5e13a7208d
Bump rails 2024-06-05 00:24:50 +02:00
Benjamin Neff
a83d34dcda
Bump bundler to match ruby 3.1.5 2024-05-30 02:28:34 +02:00
Benjamin Neff
ae3b7804f0
Merge pull request #8441 from SuperTux88/fix-fetch-comments
Allow fetching comments
2024-01-24 01:03:08 +01:00
Benjamin Neff
7cc48bec54
Merge pull request #8285 from Flaburgan/revamped-registrations
New registration page
2024-01-24 01:00:11 +01:00
Benjamin Neff
9e61693e20
Allow fetching comments
Now with likes on comments, diaspora also tries to fetch comments if it
receives a like for a comment it doesn't know yet. So this now also
allows to fetch comments with `/fetch/comment/<guid>`.
2024-01-21 23:30:51 +01:00
flaburgan
89f906b1b1 Fix horizontal scroll and captcha on mobile, host for user id 2023-11-13 22:13:44 +01:00
flaburgan
7782a32921 New registration page, mentionning the import, fixes #8009 2023-11-13 21:06:20 +01:00
Benjamin Neff
389b1870d3
Merge pull request #8437 from SuperTux88/fix-photo-export-spec
Ensure image processing gets disabled again, even after exceptions
2023-11-13 02:32:57 +01:00
Benjamin Neff
42ffd6322f
Merge pull request #8203 from tclaus/2999-likes-comment
Re-introduce likes on comments
2023-11-13 02:32:43 +01:00
Benjamin Neff
686f67d2f8
Merge pull request #8035 from Flaburgan/improve-report-form
Add a more detailed modal when reporting a post or a comment
2023-11-13 02:31:20 +01:00
Benjamin Neff
b0c196aea0
Add notifications for likes on comments 2023-11-13 02:27:55 +01:00
Benjamin Neff
3e1407d242
Fix comments not being lazy loaded in streams anymore 2023-11-13 02:27:55 +01:00
Benjamin Neff
df8275f000
Fix participations for likes on comments in the backend
When liking a comment, the post also gets a participation, and if all
likes/comments get removed again, the participation also gets removed
again.

The only thing still not working properly is the frontend, but that is
already broken when unliking a post. So it shows an invalids state in
the frontend when unliking the post/comment.
2023-11-13 02:27:55 +01:00
Benjamin Neff
edfb603965
Fix API v1 schema for likes on comments and add test 2023-11-13 02:27:55 +01:00
flaburgan
5153534f4c
Fix pronto in Ruby 2023-11-13 02:27:55 +01:00
flaburgan
1b2f85c384
Improve styling for mobile comments 2023-11-13 02:27:55 +01:00
Benjamin Neff
71d071be60
Only show heart icon when avatars are shown for comment likes 2023-11-13 02:27:55 +01:00
Benjamin Neff
ad6c9dd55f
Fix styling and spacing for likes on comments 2023-11-13 02:27:55 +01:00
Thorsten Claus
9c0f8cdf11
Dont send all likes with list of comments
Due to historic reasons with a comment the list of all likes was sent to the frontend.
This is needed just to detect if one of the likes is current users like.
So if sending just the own like, the frontend can do it's job.

When the frontend is refactured in any way, post and comment like handling should be improved.
2023-11-13 02:27:55 +01:00
Thorsten Claus
c2a2fb63b0
In API dont fetch liked from all comments 2023-11-13 02:27:55 +01:00
Thorsten Claus
67f8ba5d57
Refacor files namespaces 2023-11-13 02:27:55 +01:00
Thorsten Claus
9b19be18f2
Adding eventhandler for Mobile views 2023-11-13 02:26:59 +01:00
Thorsten Claus
06a0dc68a9
Enabled likes-on-comments in mobile view 2023-11-13 02:26:59 +01:00
Thorsten Claus
35f1cd61b1
set correct comment like avatar by removing size 2023-11-13 02:26:59 +01:00
flaburgan
8d6548b610
Introduce like-interactions.js
Adapt to latest development

User likes
 Set css class for inline likes on comment

Re-set participation on comment likes

Co-authored-by: Thorsten Claus <ThorstenClaus@web.de>
2023-11-13 02:26:59 +01:00
flaburgan
82ff57a750
Bring back likes on comments 2023-11-13 02:26:59 +01:00
Benjamin Neff
4f798fc5d8
Ensure image processing gets disabled again, even after exceptions
Otherwise this leaves it enabled if the processing failed, which then
makes other specs fail where they expect the image not being processed
(for example still have the initial set dimensions, instead of the one
read from image after processing).
2023-11-13 01:36:54 +01:00
flaburgan
587e106095
Add a more detailed modal when reporting a post or a comment 2023-11-13 00:15:33 +01:00
Dennis Schubert
bb882daeae
Merge branch 'pr8436' into develop 2023-10-16 15:22:50 +02:00
Wladimir Palant
c791421280 Allow CORS requests to nodeinfo endpoint 2023-10-16 12:11:42 +02:00
Dennis Schubert
744f5449fb
Merge branch 'next-minor' into develop 2023-07-10 01:19:08 +02:00
Dennis Schubert
f042f5d490
Merge branch 'hotfix/0.7.18.2' 2023-07-10 01:13:45 +02:00
Dennis Schubert
42b835f0c0
Enforce an ImageMagick policy.xml for all pods.
This fix was heavily inspired by Mastodon's fix for GHSA-9928-3cp5-93fm.
So, thank you Cure53 for finding this issue, thank you Mozilla for
paying Cure53 to look into it, and thanks for Mastodon for fixing it.
2023-07-10 01:12:36 +02:00
Benjamin Neff
8d38193096
Merge pull request #8434 from SuperTux88/fix-pumactl-restart
Silence warning about unused callbacks to fix pumactl restart
2023-06-30 01:40:39 +02:00
Benjamin Neff
994f003b5f
Silence warning about unused callbacks
The callbacks aren't used in cluster mode, and puma prints a warning
about that. This is fine, we don't need the callbacks in single-mode,
but can still keep it, in case somebody switches on cluster mode.

The problem is, the current puma version has a bug, where pumactl
crashes when trying to print these warnings, so lets just silence the
warnings. People running in single mode also don't need to care about
the warnings anyway.
2023-06-29 03:14:32 +02:00
Dennis Schubert
49198904f3
Merge pull request #8433 from SuperTux88/add-faraday-retry-for-pronto
Add 'faraday-retry' to Gemfile to be used by pronto/octokit
2023-06-29 01:44:47 +02:00
Benjamin Neff
28b7a62939
Add 'faraday-retry' to Gemfile to be used by pronto/octokit
This prevents a "To use retry middleware with Faraday v2.0+, install
`faraday-retry` gem" warning whenever pronto runs.
2023-06-28 21:59:02 +02:00
Benjamin Neff
f05d9bac69
Merge pull request #8432 from SuperTux88/downgrade-sidekiq
Downgrade sidekiq to latest 6.x version
2023-06-28 21:28:57 +02:00
Benjamin Neff
14c4010471
Downgrade sidekiq to latest 6.x version
Sidekiq 7 requires redis 6.2+, which isn't available in a lot of distros
yet :( So lets wait with this for a while.

This partially reverts commit a59505574a.
2023-06-28 14:05:55 +02:00
Benjamin Neff
040e1dc9ee
Merge pull request #8431 from SuperTux88/gem-updates
Updating all ruby dependencies to current versions
2023-06-28 02:38:50 +02:00
Benjamin Neff
7a8e1fe2d5
Bump other dependencies not directly in Gemfile 2023-06-28 01:19:37 +02:00
Benjamin Neff
c665d01cc5
Bump openid_connect 2023-06-28 01:19:37 +02:00
Benjamin Neff
62fdac807e
Bump faraday 2023-06-28 01:19:37 +02:00
Benjamin Neff
1bd0c7bb2d
Bump cucumber-rails 2023-06-28 01:19:37 +02:00
Benjamin Neff
c5699b7a43
Bump rspec-rails 2023-06-28 01:19:37 +02:00
Benjamin Neff
bdfaff5009
Bump webmock 2023-06-28 01:19:37 +02:00
Benjamin Neff
50422c5902
Bump timecop 2023-06-28 01:19:37 +02:00