Artur Weigandt
ca956408f6
Update src/Module/Item/Display.php
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2024-11-21 09:57:07 +01:00
Art4
c79f3cde22
Merge branch 'develop' into phpstan-level-1
2024-11-18 21:45:42 +00:00
Art4
ae52648950
Fix annotation from review
2024-11-18 14:20:57 +00:00
Artur Weigandt
817eeb9734
Update src/Module/Item/Display.php
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2024-11-18 15:15:58 +01:00
Art4
e4ec14767f
Refactor module Item Display
2024-11-18 08:39:06 +00:00
Art4
6a6a5af3b2
Replace calls of App::setProfileOwner with AppHelper
2024-11-08 16:20:55 +00:00
Tobias Diekershoff
30a5ef33b0
REUSE src directory
2024-08-24 15:27:00 +02:00
Michael
e12f92e516
Some more deprecated function calls are replaced
2024-05-14 19:21:25 +00:00
Michael
89e7420237
Friendica copyright changed from 2023 to 2034
2024-01-02 20:57:26 +00:00
Hypolite Petovan
63f5d94a02
Fix DisplayNotFound page
...
- Add another condition earlier in Module\Item\Display
- Separate reasons in individual translation strings
2023-08-20 14:26:27 -04:00
Michael Vogel
66353e6117
Merge pull request #13264 from MrPetovan/task/hide-blocklist
...
Hide blocklist from anonymous users on closed registration nodes
2023-07-09 21:26:59 +02:00
Hypolite Petovan
6e2ab6c3af
Centralize Vary header declaration in ActivityPub::isRequest
...
- Vary header should be set every time we vary the display based on an HTTP header value
2023-07-08 22:24:01 -04:00
Hypolite Petovan
706444bdb2
Decouple conversation creation from rendering
...
- This allows to separately obtain a list of threads for rendering without having to deal with an already-formed HTML output
2023-07-08 16:57:52 -04:00
Gidi Kroon
40783db161
Make requested changes
2023-06-25 20:54:04 +02:00
Gidi Kroon
6a5266c6b8
Add Vary header in case of content negotiation
...
Sometimes we return different content depending on whether JSON, XML or
HTML was requested in the Accept request header. The Vary response
header should list that header in these cases, to allow caching
frameworks to determine what to cache.
2023-06-25 03:22:41 +02:00
Hypolite Petovan
4e355c0f5e
Create specific module to display HTML message when a conversation isn't found in Module\Item\Display
2023-02-04 20:28:04 -05:00
Michael
f542211189
Mode depending control for the behaviour with blocked contacts
2023-01-12 06:25:55 +00:00
Hypolite Petovan
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
Hypolite Petovan
b83526ad0b
Tighten profile restriction feature
...
- Prevent feed access to restricted profiles
- Rework display of restricted profiles with a redirect to the profile/restricted route
- Normalize permission checking with IHandleUserSession->isAuthenticated
- Remove unusable "nocache" parameter in feed module because session isn't initialized
- Reword setting name and description
2022-12-01 08:03:35 -05:00
Hypolite Petovan
525eab395c
Improve error message when conversation isn't available in Module\Item\Display
...
- Retrieve the parent post no matter what. Previously it was depending on the user's settings, which gave unpredictable behavior if the parent post wasn't retrieved for whatever reason.
- List possible reasons the conversation isn't showing up based on the condition in Model\Post::selectViewForUser
- Allow HTML in exception messages
2022-11-19 12:29:08 -05:00
Philipp
59c97234f8
PHP-CS and license ..
2022-11-15 20:15:25 +01:00
Philipp
eff7740a67
Address feedback
2022-11-15 19:53:53 +01:00
Philipp
ba0b83b0b0
Make PHP-CS happy
2022-11-15 01:10:49 +01:00
Philipp
3259bd17dc
Move mod/(update_)display.php to src\Module
2022-11-15 00:57:47 +01:00