Philipp Holzer
3b262f44a3
Adhere feedback
2023-01-17 19:15:37 +01:00
Philipp
eed6db2465
Apply suggestions from code review
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-01-17 19:12:33 +01:00
Philipp Holzer
293c121c48
Adhere PHP-CS..
2023-01-16 22:25:26 +01:00
Philipp Holzer
f609e38600
Introduce new Hook logic
...
- InstanceManager for computing strategies and to allow decorators
- Adapting Core\Logger to use it
2023-01-16 22:20:33 +01:00
Philipp Holzer
d17a21601c
Add Dice.php patch
2023-01-16 21:55:23 +01:00
Hypolite Petovan
3749892f59
Merge pull request #12679 from nupplaphil/feat/reduce_config_dependency
...
Replace Config-Cache dependency with Config-Model
2023-01-15 11:13:41 -05:00
Philipp Holzer
ab6efea9b2
Replace Config-Cache dependency with Config-Model (no more DB-waiting necessary)
2023-01-15 16:17:08 +01:00
Philipp Holzer
a6fb683bcd
Remove BasePath dependency from App\Mode
2023-01-15 16:17:07 +01:00
Philipp
dd6d96d048
Merge pull request #12678 from MrPetovan/bug/12677-addon_admin
...
Remove App dependency from addon admin form method
2023-01-15 15:55:08 +01:00
Hypolite Petovan
6e4663e747
Remove App dependency from addon admin form method
2023-01-15 09:42:18 -05:00
Hypolite Petovan
21f172c585
Merge pull request #12674 from nupplaphil/bug/config_typesafe
...
Config: Improve the node.config.php transformation
2023-01-15 09:38:29 -05:00
Philipp Holzer
bc60eb6cb7
Apply feedback and describe the encoding method
2023-01-15 11:57:43 +01:00
Philipp
d63aca97b8
Merge pull request #12673 from annando/andstatus-api
...
API: Accept "redirect_uris" as both array and string
2023-01-15 01:01:06 +01:00
Philipp Holzer
4c28f9cf9c
Config: Improve the node.config.php transformation
...
- Add more types
- Improvement for assoziative arrays and key-value arrays
- Add a lot more tests
2023-01-15 00:53:51 +01:00
Michael
e06f699dd9
Added Documentation, updated messages.po
2023-01-14 21:20:04 +00:00
Michael
af2a38c5b3
API: Accept "redirect_uris" as both array and string
2023-01-14 21:07:47 +00:00
Philipp
0c14e51112
Merge pull request #12666 from MrPetovan/bug/12661-public-calendar-export
...
Enable calendar export for public_calendar = true
2023-01-14 19:20:20 +01:00
Michael Vogel
25ac99a098
Merge pull request #12667 from MrPetovan/bug/12665-monolog
...
Remove App dependency from Hook::callSingle
2023-01-14 17:07:33 +01:00
Hypolite Petovan
323765110c
Enable calendar export for public_calendar = true
2023-01-14 10:39:18 -05:00
Hypolite Petovan
45a6888647
Update tests after removing App dependency from hook calls
2023-01-14 10:38:38 -05:00
Hypolite Petovan
e73adde5fb
Remove App dependency from Hook::callSingle
...
- This was causing a circular dependency with the logger_instance hook
2023-01-14 10:38:37 -05:00
Hypolite Petovan
79d1506694
Merge pull request #12671 from annando/lock-config
...
Added default config for the lock driver
2023-01-14 09:50:38 -05:00
Hypolite Petovan
2d555b60dd
Merge pull request #12670 from annando/fix-avatar-cache
...
Ensure to reset the avatar paths when deleting avatar cache
2023-01-14 09:47:21 -05:00
Michael
6f95654592
Added default config for the lock driver
2023-01-14 14:44:49 +00:00
Michael
3e3f2555dc
Ensure to reset the avatar paths when deleting avatar cache
2023-01-14 13:10:43 +00:00
Hypolite Petovan
91ff24b0e4
Merge pull request #12663 from nupplaphil/sec/xss_404
...
Security: Use htmlspecialchars() for user input in Arguments class
2023-01-13 13:57:41 -05:00
Philipp Holzer
0530755332
Security: Use htmlspecialchars() for user input in Arguments class
2023-01-12 20:24:39 +01:00
Hypolite Petovan
a7d0355849
Merge pull request #12659 from DanielSiepmann/12658-fix-feed-urls-with-whitespace
...
Properly handle feed item urls with surrounding whitespace
2023-01-12 07:57:30 -05:00
Hypolite Petovan
8e9b3234f4
Merge pull request #12657 from annando/display-blocked
...
Mode depending control for the behaviour with blocked contacts
2023-01-12 07:48:44 -05:00
Daniel Siepmann
6633b0af4b
Properly handle feed item urls with surrounding whitespace
...
Some feeds might have whitespace around the URLs of each item.
This can't be handled by parse_url.
Therefore the incoming url is trimmed to not contain any surrounding
whitespace for proper handling.
Relates: #12658
2023-01-12 13:47:57 +01:00
Michael
8a902afde5
Updated messages.po - again
2023-01-12 07:06:24 +00:00
Michael
6cdafb6b63
Fix "Undefined constant Friendica\Content\Conversation::PARCEL_DIASPORA"
2023-01-12 06:57:31 +00:00
Michael
5b8752edd9
Updated messages.po
2023-01-12 06:35:49 +00:00
Michael
f542211189
Mode depending control for the behaviour with blocked contacts
2023-01-12 06:25:55 +00:00
Hypolite Petovan
ec54b303c5
Merge pull request #12655 from annando/fix-communication
...
Fix: Forum posts from some contacts weren't distributed
2023-01-11 17:04:41 -05:00
Michael
53e8b21ca3
Fix: Forum posts from some contacts weren't distributed
2023-01-11 21:55:32 +00:00
Hypolite Petovan
8596902abd
Merge pull request #12653 from nupplaphil/bug/config_revert_null
...
Revert Cache delete() behavior to stable version
2023-01-11 16:06:28 -05:00
Philipp Holzer
fef10e8a57
Improve encapsulation
2023-01-11 22:00:29 +01:00
Philipp Holzer
11a8bd17e3
Assure that deleted cat/keys are working as expected
...
- A deleted cache-key would delete a merged cache-key as well
- Deleting a key in the Model results in reloading the config to assure any value from underlying files
2023-01-11 21:53:34 +01:00
Philipp Holzer
fd882abd80
Revert Cache delete() behavior to stable version
2023-01-11 21:10:59 +01:00
Philipp
eda65296f5
Merge pull request #12635 from MrPetovan/task/12629-contact-threads-tab
...
Replace remaining mentions of "Status" by "Conversations" or "Posts"
2023-01-11 19:50:38 +01:00
Hypolite Petovan
9f902571b7
Update main translation file after changing strings
2023-01-11 09:01:30 -05:00
Hypolite Petovan
5c8cd8fdd6
Replace remaining mentions of "Status" by "Conversations" or "Posts"
2023-01-11 09:01:29 -05:00
Hypolite Petovan
d0648b10ef
Convert Content\Nav to dynamic object
...
- Remove DI dependency in Module\Apps
2023-01-11 09:01:24 -05:00
Michael Vogel
f17d1f359f
Merge pull request #12647 from MrPetovan/bug/12607-image-user-theme
...
Enable profile user theme on single photo display
2023-01-11 07:44:57 +01:00
Hypolite Petovan
120b78e30a
Enable profile user theme on single photo display
2023-01-10 20:40:35 -05:00
Philipp
1fc7d5ae85
Merge pull request #12645 from MrPetovan/bug/warnings
...
Replace HTML regular expression by HTML::extractCharset in ParseUrl::getSiteInfo
2023-01-10 19:23:52 +01:00
Hypolite Petovan
3966b58965
Only show line number if it's provided in System::callstack
...
- Address https://github.com/friendica/friendica/issues/12488#issuecomment-1377373973
2023-01-10 10:41:20 -05:00
Hypolite Petovan
3fcafd1d50
Replace HTML regular expression by HTML::extractCharset in ParseUrl::getSiteInfo
...
- Address https://github.com/friendica/friendica/issues/12488#issuecomment-1374537440
2023-01-10 10:36:59 -05:00
Hypolite Petovan
5e2b655b43
Add implementation of HTTP Media Type
...
- Add charset extraction from DOMDocument
- TESTS!
2023-01-10 10:36:58 -05:00