Commit Graph

38651 Commits

Author SHA1 Message Date
Philipp 93af6f0564
Add tests for InstanceManager and remove Decorator hook logic (avoid complex Dice logic) 2023-07-17 00:10:15 +02:00
Philipp 527622df4a
Add tests for HookFileManager 2023-07-16 22:41:56 +02:00
Philipp a9178e6982
Add tests for AddonFiles 2023-07-16 22:05:59 +02:00
Philipp bd455e75c0
Update woodpecker PHP version 2023-07-16 20:50:04 +02:00
Michael 7e322c21b3 Removed unneeded parameter 2023-07-16 16:48:24 +00:00
Philipp c3075d3eba
add docker-translate command 2023-07-16 18:43:37 +02:00
Philipp 1b4eaa6a10
Update messages.po 2023-07-16 18:43:36 +02:00
Philipp ddeef9387f
improve hooks.config.php 2023-07-16 18:43:36 +02:00
Philipp 7bfc3c0ae0
Add doc 2023-07-16 18:43:36 +02:00
Philipp 0ac247550b
Doc 2023-07-16 18:43:36 +02:00
Philipp e92d25a258
Remove unnecessary trailing slashes 2023-07-16 18:43:36 +02:00
Philipp e9699b8e55
Some more PHP-CS 2023-07-16 18:43:35 +02:00
Philipp 82f3e4ad86
Make PHP-CS happy 2023-07-16 18:43:35 +02:00
Philipp 89a31e43b2
Fix license check 2023-07-16 18:43:35 +02:00
Philipp 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
Michael 7315048474 Revert change 2023-07-16 09:48:37 +00:00
Michael 0ea93bfba1 Merge remote-tracking branch 'upstream/develop' into more-privacy 2023-07-16 09:41:55 +00:00
Michael b4d2d0dd31 Merge remote-tracking branch 'upstream/develop' into develop 2023-07-16 09:33:57 +00:00
Michael fd055193ac Removed unused variable 2023-07-16 09:33:52 +00:00
Michael 01bbf40418 Simplify plaintext creation 2023-07-16 09:32:17 +00:00
Michael 08dafd6d70 Use plaintext for names and titles 2023-07-16 07:26:20 +00:00
Michael 8bb33dccd1 Unified BBCode conversion, improved proxy functionality 2023-07-15 20:12:08 +00: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