Commit graph

11707 commits

Author SHA1 Message Date
Michael Vogel
a2a1d852e9
Merge pull request #13456 from MrPetovan/bug/cors-headers-rawcontent
Remove DI dependency for httpExit, httpError, jsonExit, jsonError and xmlExit
2023-09-27 06:01:16 +02:00
Hypolite Petovan
56fb9be0f7 Revert "Merge pull request #13463 from MrPetovan/task/imagegrid-improvement"
This reverts commit dd7bea4bd1, reversing
changes made to ce16cd12ec.
2023-09-24 16:24:28 -04:00
Hypolite Petovan
642baa1f2a Rename ApipResponse->exit* methods to better show their meaning 2023-09-24 07:08:16 -04:00
Hypolite Petovan
960171c4e0 Remove dependency on super-globals in Module\Api\ApiResponse
- Updated DI dependencies to reflect the new parameters
- Updated tests to reflect the new parameters
2023-09-24 07:08:16 -04:00
Hypolite Petovan
d165a96220 Move System::xmlExit to DFRN\Notify->xmlExit
- This will ensure headers set in BaseModule->run will be carried in xmlExit scenarios
- Deprecate xmlExit() method in Core\System
2023-09-24 07:08:15 -04:00
Hypolite Petovan
46180d7d5b Move System::jsonError to BaseModule->jsonError
- This will ensure headers set in BaseModule->run will be carried in jsonError scenarios
- Make BaseApi->checkThrottleLimit an object method to use BaseModule->jsonError
- Deprecate jsonError() method in Core\System
2023-09-24 07:08:15 -04:00
Hypolite Petovan
81279dad9e Move System::jsonExit to BaseModule->jsonExit
- This will ensure headers set in BaseModule->run will be carried in jsonExit scenarios
- Deprecate jsonExit() method in Core\System
2023-09-24 07:08:15 -04:00
Hypolite Petovan
e424b7bacb Move System::httpError to BaseModule->httpError
- This will ensure headers set in BaseModule->run will be carried in httpError scenarios
- Deprecate httpError() method in Core\System
2023-09-24 07:08:15 -04:00
Hypolite Petovan
da1416c07f Move System::httpExit to BaseModule->httpExit
- This will ensure headers set in BaseModule->run will be carried in httpExit scenarios
- Deprecate httpExit() method in Core\System
2023-09-24 07:08:15 -04:00
Hypolite Petovan
94e3dde2e3 Move dependency-less Page->exit to Core\System::echoResponse
- The method doesn't actually exit
- Fix a bug with header handling in System::echoResponse with numerical key header strings
  - Adding a full-string header with ICanCreateResponses->setHeader was resulting in a wrong header named after the numerical key
2023-09-24 07:08:14 -04:00
Tobias Diekershoff
dd7bea4bd1
Merge pull request #13463 from MrPetovan/task/imagegrid-improvement
Rework image grid to horizontal masonry, allocate space for images to load
2023-09-24 12:59:10 +02:00
Hypolite Petovan
06818a96c3 Add height allocation support for single images smaller than the available width 2023-09-24 06:47:18 -04:00
Michael
1dbc9bd472 Avoid quoting the own post 2023-09-24 10:18:50 +00:00
Hypolite Petovan
c4657c4661 Add support for allocated height for inline images 2023-09-23 22:43:31 -04:00
Hypolite Petovan
86141eb363 Add height allocation to single post attached images
- Force single images to expand to the total width of the post
2023-09-23 22:20:17 -04:00
Hypolite Petovan
fad760f46a Add icon placeholder for images in image grid 2023-09-23 22:20:16 -04:00
Hypolite Petovan
3cc469c0b7 Rework image grid into a horizontal masonry
- The new server-based horizontal masonry enables tightly packed image grids even with images of varying aspect ratios
- Additionally, the space an image takes is now allocated before it's loaded, reducing content shifting
2023-09-23 22:20:16 -04:00
Hypolite Petovan
c822baa9c6 Restore attendance icons in event posts
- Co-authored by @mexon
2023-09-23 17:51:03 -04:00
Michael
a862c4255b Avoid jumps in the timeline after "received" has been selected 2023-09-20 06:36:47 +00:00
Michael
df69573fee Label variable removed 2023-09-18 05:34:41 +00:00
Michael Vogel
6d0a4da888
Update src/Model/Post/Engagement.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-09-18 03:00:42 +02:00
Michael
b00c2070d7 Use channels for non public content 2023-09-17 19:28:38 +00:00
Michael
a1f6e6e871 Fix "received" 2023-09-17 17:44:33 +00:00
Michael
ae3925bba5 Visibility is frequency 2023-09-17 17:42:15 +00:00
Michael
e96bb4c5e6 Use "received" as tab for circles or groups when currently in a channel 2023-09-17 11:01:04 +00:00
Michael
371309e775 Use unified sidebar elements 2023-09-17 10:09:07 +00:00
Michael
f1fa1f0b62 Further improvements to the automatic update process 2023-09-17 08:17:31 +00:00
Michael
e81c911b49 Use class variables 2023-09-17 05:57:44 +00:00
Michael
02084331e3 Only change order for updates for new posts 2023-09-17 05:43:36 +00:00
Michael
bb4ec093ad Indention fixed 2023-09-16 08:03:50 +00:00
Michael
04e47660f4 Adapt the description to the behaviour of this option 2023-09-16 04:29:13 +00:00
Michael
e038890bb7 Fix the erratic page update behaviour 2023-09-16 04:21:59 +00:00
Michael
aa6eb7fcf1 Visiblity is now frequency 2023-09-16 04:20:38 +00:00
Michael
a74212c3af Unused code removed 2023-09-15 19:01:01 +00:00
Michael Vogel
a923a79b46
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-09-15 20:57:36 +02:00
Michael Vogel
20141026d1
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-09-15 20:57:03 +02:00
Michael Vogel
7b26c08dff
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-09-15 20:56:25 +02:00
Michael
54aea9dbee Changed to radio buttons 2023-09-15 17:40:14 +00:00
Michael
1530209266 Initialize array 2023-09-13 04:38:04 +00:00
Michael
229e7dcee5 Channel visibility rules can now be set for each contact 2023-09-12 10:55:33 +00:00
Michael
fe2e00f861 Added logging for the finished processing 2023-09-11 10:18:02 +00:00
Michael
ebbe8f98b7 Added log entry to improve matching with the access log 2023-09-11 08:47:35 +00:00
Michael
3452699750 Code standards againg 2023-09-10 08:16:06 +00:00
Michael
88235fbc6c Fix code standards 2023-09-10 08:12:28 +00:00
Michael
c836b0ee8d Basic functionality for seeing reports 2023-09-10 08:00:44 +00:00
Michael
8c9e4c46a0 "cascade" for "post-engagement" / fixes for "report" definition 2023-09-10 03:47:06 +00:00
Michael
8050389d32 We now display the channel in the sidebar 2023-09-09 19:30:01 +00:00
Michael
d395de3aa1 Setting to select your network tabs 2023-09-09 17:38:09 +00:00
Michael
113436afd5 DBA is mostly replaced 2023-09-09 14:31:12 +00:00
Michael
f159c9938d Variables aren't static anymore 2023-09-09 14:24:24 +00:00