Commit graph

37698 commits

Author SHA1 Message Date
Philipp Holzer 447f9daa9f
Fix PHP-CS 2023-07-17 01:19:37 +02:00
Philipp Holzer 8dbbf882a8
Fix SyslogLogger and tests 2023-07-17 01:16:29 +02:00
Philipp Holzer bca6abf4ab
Fix logger classes and tests 2023-07-17 01:06:11 +02:00
Philipp Holzer 903ecc2a76
Make PHP-CS happy 2023-07-17 00:15:16 +02:00
Philipp Holzer 5c57d8de20
Add license 2023-07-17 00:13:03 +02:00
Philipp Holzer 93af6f0564
Add tests for InstanceManager and remove Decorator hook logic (avoid complex Dice logic) 2023-07-17 00:10:15 +02:00
Philipp Holzer 527622df4a
Add tests for HookFileManager 2023-07-16 22:41:56 +02:00
Philipp Holzer a9178e6982
Add tests for AddonFiles 2023-07-16 22:05:59 +02:00
Philipp Holzer bd455e75c0
Update woodpecker PHP version 2023-07-16 20:50:04 +02:00
Philipp Holzer c3075d3eba
add docker-translate command 2023-07-16 18:43:37 +02:00
Philipp Holzer 1b4eaa6a10
Update messages.po 2023-07-16 18:43:36 +02:00
Philipp Holzer ddeef9387f
improve hooks.config.php 2023-07-16 18:43:36 +02:00
Philipp Holzer 7bfc3c0ae0
Add doc 2023-07-16 18:43:36 +02:00
Philipp Holzer 0ac247550b
Doc 2023-07-16 18:43:36 +02:00
Philipp Holzer e92d25a258
Remove unnecessary trailing slashes 2023-07-16 18:43:36 +02:00
Philipp Holzer e9699b8e55
Some more PHP-CS 2023-07-16 18:43:35 +02:00
Philipp Holzer 82f3e4ad86
Make PHP-CS happy 2023-07-16 18:43:35 +02:00
Philipp Holzer 89a31e43b2
Fix license check 2023-07-16 18:43:35 +02:00
Philipp Holzer 14b76e48f0
Introduce dynamic hook loading
- Dynamically load addon files
- Dynamically load hooks
- Rewrite Logger-logic to use new hook logic (Monolog is working again)
2023-07-16 18:43:35 +02:00
Hypolite Petovan ff092833ae
Merge pull request #13283 from AlfredSK/AlfredSK-fix-wsod-creating-report
Fix WSOD when creating a report using PHP8.x
2023-07-15 09:20:45 -04:00
Steffen K9 8b5a49fb5c
Fix WSOD when creating a report using PHP8.x
Fixes https://github.com/friendica/friendica/issues/13277
2023-07-15 14:41:29 +02:00
Tobias Diekershoff 4a645bec27
Merge pull request #13280 from MrPetovan/bug/warnings
Remove unused variable trheadids from Content\Conversation
2023-07-14 06:37:12 +02:00
Hypolite Petovan f87c105518 Remove unused variable trheadids from Content\Conversation
- Address https://github.com/friendica/friendica/issues/13157#issuecomment-1635208668
2023-07-13 23:51:03 -04:00
Hypolite Petovan 81d2d4b70e
Merge pull request #13278 from AlfredSK/AlfredSK-fix-column-name
Fix db error: missing column name 'line-text'
2023-07-11 16:57:39 -04:00
Steffen K9 3624792bd6
Fix db error: missing column name 'line-text'
See https://github.com/friendica/friendica/issues/13277#issuecomment-1631359293
2023-07-11 22:37:45 +02:00
Tobias Diekershoff b3f8c0e0c3
Merge pull request #13275 from MrPetovan/bug/warnings
Address a couple warnings
2023-07-11 15:27:21 +02:00
Hypolite Petovan 248148af99 Return early if no items are provided in Content\Conversation->getThreadList
- Address https://github.com/friendica/friendica/issues/13157#issuecomment-1628437859
2023-07-11 09:03:52 -04:00
Hypolite Petovan 91d63213ae Reintroduce is_string modifier in addons/connector templates
- Address https://github.com/friendica/friendica/issues/13157#issuecomment-1606003698
2023-07-11 09:00:41 -04:00
Hypolite Petovan 451ba407d7
Merge pull request #13274 from annando/report-gsid
Fix "Cannot add or update a child row: a foreign key constraint fails"
2023-07-11 07:54:54 -04:00
Michael 52c062adb6 Fix "Cannot add or update a child row: a foreign key constraint fails" 2023-07-11 07:43:53 +00:00
Hypolite Petovan f604185b10
Merge pull request #13272 from annando/last-editor-uid
Fix "Cannot drop index 'last-editor-uid': needed in a foreign key constraint"
2023-07-10 17:45:52 -04:00
Michael c822d5fa94 Fix "Cannot drop index 'last-editor-uid': needed in a foreign key constraint" 2023-07-10 20:50:16 +00:00
Tobias Diekershoff 1359b171af
Merge pull request #13268 from MrPetovan/task/normalize-item-action-label
Normalize item action label key name
2023-07-10 10:01:50 +02:00
Tobias Diekershoff 2f7789e397
Merge pull request #13269 from MrPetovan/bug/fix-exception-return-code
Fix exception module not setting the HTTP response code
2023-07-10 09:59:04 +02:00
Michael Vogel 6fd76829b0
Merge pull request #13245 from MrPetovan/task/moderation-reports
Create moderation reports
2023-07-10 07:50:11 +02:00
Hypolite Petovan 3748adf2fd Fix exception module not setting the HTTP response code
- Page->run now returns an updated response for use with Page->exit
- Remove now duplicated header setting in Page->run
- Remove now obsolete (and ineffective) HTTP return code setting from Module\Special\HTTPException->content
- Add HTTP response code and reason setting in BaseModule->run
2023-07-09 22:45:46 -04:00
Hypolite Petovan 37131a6785 Normalize item action label key name
- Remove unused $item.return reference in asynchronous item action URLs
2023-07-09 21:00:36 -04:00
Hypolite Petovan 969becfc15 Update main transation file after updating strings 2023-07-09 18:37:19 -04:00
Hypolite Petovan c312d11dab Add Report Create module
WIP
2023-07-09 18:32:43 -04:00
Hypolite Petovan 76de49a25c Add fields to Report entity
- Add clock dependency to Moderation\Factory\Report
- Change DateTime field to DateTimeImmutable to satisfy Clock return type
- Add category, status and resolution constants
2023-07-09 18:32:42 -04:00
Hypolite Petovan d29a84ae46 Add Posts and Rules sub-entities and collections for Moderation\Report 2023-07-09 18:32:42 -04:00
Michael Vogel a39029f953
Merge pull request #13267 from MrPetovan/task/13265-json-ld
[Composer] Bump friendica/json-ld to version 1.1.4
2023-07-09 23:11:44 +02:00
Hypolite Petovan 767629ed2c [Composer] Bump friendica/json-ld to version 1.1.4 2023-07-09 16:18:29 -04:00
Hypolite Petovan 55ff23c6c3
Merge pull request #13266 from annando/quoted
Improve display of quoted posts
2023-07-09 15:59:13 -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
Michael Vogel f991b553ce
Update src/Content/Item.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-07-09 21:18:36 +02:00
Michael Vogel 4f62ab6168
Update src/Content/Item.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-07-09 21:18:27 +02:00
Michael 300825dcac Updated messages.po 2023-07-09 17:42:32 +00:00
Michael b9bb525fe9 New parameter to create a share block for display reasons 2023-07-09 14:31:47 +00:00
Michael e95c678141 Improve display of quoted posts 2023-07-09 14:15:01 +00:00