Commit graph

32813 commits

Author SHA1 Message Date
Hypolite Petovan 67f4038051 Fix URI structure condition in Probe::detect
- This condition was wrongly discarding all URIs with a schemes
2021-12-03 17:39:35 -05:00
Hypolite Petovan d05d2a348b Deprecate Network::unparseURL in favor of UriInterfact objects
- Added specific test for Probe::cleanURI
2021-12-03 17:39:31 -05:00
Michael Vogel e76c754de4
Merge pull request #11062 from tobiasd/20211203-hu
HU translation updated THX Balázs Úr
2021-12-03 21:25:58 +01:00
Tobias Diekershoff 425d23464a HU translation updated THX Balázs Úr 2021-12-03 20:19:32 +01:00
Tobias Diekershoff 8423b9784a
Merge pull request #11053 from MrPetovan/task/php7.3
Bump minimum required PHP version to 7.3
2021-12-03 07:23:06 +01:00
Balázs Úr 48a0049adc
Fix typo 2021-12-03 01:14:29 +01:00
Hypolite Petovan 81c88f057f [Composer] Update dependencies after bumping minimum PHP version to 7.3
- Removing symfony/polyfill-util (v1.19.0)
- Removing symfony/polyfill-php70 (v1.19.0)
- Updating michelf/php-markdown (1.9.0 => 1.9.1): Downloading (100%)
- Updating brick/math (0.9.2 => 0.9.3): Downloading (100%)
- Updating web-token/jwt-util-ecc (v2.2.10 => v2.2.11): Downloading (100%)
- Updating web-token/jwt-core (v2.2.10 => v2.2.11): Downloading (100%)
- Updating web-token/jwt-signature (v2.2.10 => v2.2.11): Downloading (100%)
- Updating web-token/jwt-signature-algorithm-ecdsa (v2.2.10 => v2.2.11): Downloading (100%)
- Updating web-token/jwt-key-mgmt (v2.2.10 => v2.2.11): Downloading (100%)
- Updating symfony/polyfill-php72 (v1.19.0 => v1.23.0): Downloading (100%)
- Updating symfony/polyfill-intl-normalizer (v1.19.0 => v1.23.0): Downloading (100%)
- Updating symfony/polyfill-intl-idn (v1.19.0 => v1.23.0): Downloading (100%)
- Updating guzzlehttp/psr7 (1.8.2 => 1.8.3): Downloading (100%)
- Updating guzzlehttp/promises (1.4.1 => 1.5.1): Downloading (100%)
- Updating minishlink/web-push (v6.0.5 => v6.0.7): Downloading (100%)
- Updating patrickschur/language-detection (v3.4.0 => v3.4.2): Downloading (100%)
- Updating phpseclib/phpseclib (2.0.31 => 2.0.35): Downloading (100%)
- Updating psr/container (1.0.0 => 1.1.1): Downloading (100%)
- Updating smarty/smarty (v3.1.39 => v3.1.40): Downloading (100%)
- Updating composer/ca-bundle (1.2.9 => 1.3.1): Downloading (100%)
- Updating ua-parser/uap-php (v3.9.7 => v3.9.14): Downloading (100%)
- Updating bower-asset/fork-awesome (1.1.7 => 1.2.0): Downloading (100%)
- Updating bower-asset/vue (v2.6.12 => v2.6.14): Downloading (100%)
- Updating npm-asset/fullcalendar (3.10.2 => 3.10.5): Downloading (100%)
- Updating mockery/mockery (1.3.4 => 1.4.4): Downloading (100%)
- Updating mikey179/vfsstream (v1.6.8 => v1.6.10): Downloading (100%)
- Updating sebastian/exporter (3.1.3 => 3.1.4): Downloading (100%)
- Updating phpunit/php-token-stream (3.1.3 => 4.0.4): Downloading (100%)
- Updating phpdocumentor/type-resolver (1.4.0 => 1.5.1): Downloading (100%)
- Updating phpdocumentor/reflection-docblock (5.2.2 => 5.3.0): Downloading (100%)
- Updating phpspec/prophecy (1.13.0 => 1.14.0): Downloading (100%)
- Updating phpunit/phpunit (8.5.19 => 8.5.21): Downloading (100%)
- Updating paragonie/sodium_compat (v1.16.1 => v1.17.0): Downloading (100%)
- Updating paragonie/certainty (v2.8.1 => v2.8.2): Downloading (100%)
- Removing symfony/polyfill-php56 (v1.19.0)
- Installing symfony/polyfill-php56 (v1.20.0)
2021-12-02 16:48:54 -05:00
Hypolite Petovan b238a3b5c9 Bump minimum required PHP version to 7.3
- Code already references some PHP 7.3 specific features
2021-12-02 16:48:54 -05:00
Michael Vogel 5a5c62f0fe
Merge pull request #11059 from MrPetovan/bug/notices
Suppress notice messages related to the VCard::getHTML call in mod/display
2021-12-02 21:48:20 +01:00
Hypolite Petovan e7d87d3524 Suppress notice messages related to the VCard::getHTML call in mod/display
- Address https://soc.schuerz.at/display/4edd2508-6661-a8d1-f168-b2a245440386
2021-12-02 09:45:32 -05:00
Hypolite Petovan a53add06f2 Fix wrong call to module in mod/display 2021-12-02 09:44:56 -05:00
Tobias Diekershoff b780f29765
Merge pull request #11057 from MrPetovan/bug/10971-probe-numeric-username
Remove all-numeric usernames condition
2021-12-02 14:59:22 +01:00
Hypolite Petovan f409bd7034 Remove all-numeric usernames condition
- False negatives aren't recoverable
2021-12-02 08:03:38 -05:00
Hypolite Petovan 1321a52f15 Reformat Probe::getWebfingerArray 2021-12-02 08:02:26 -05:00
Hypolite Petovan 2a5ecc5a44
Merge pull request #11054 from annando/fix-api-reshare
Diaspora reshares via API are fixed now
2021-12-02 06:22:03 -05:00
Michael 5e912c2965 Unused use removed 2021-12-02 06:37:06 +00:00
Michael 4a90e6b1f0 Test code removed 2021-12-02 06:36:09 +00:00
Michael bd2ee581d3 Diaspora reshares via API are fixed now 2021-12-02 06:33:19 +00:00
Hypolite Petovan d329f6d6f7
Merge pull request #11043 from annando/api-fixes
API: Added more functions, fixed function names
2021-12-01 16:54:46 -05:00
Michael dfa57d54e3 Changed documentation to reflect the changes 2021-12-01 19:23:27 +00:00
Michael Vogel ae6847e12d
Merge pull request #11052 from tobiasd/20211130-ru
RU translations THX Alexander An
2021-12-01 07:51:38 +01:00
Tobias Diekershoff be532f622c RU translations THX Alexander An 2021-12-01 06:52:54 +01:00
Michael 4aa339d477 Merge branch 'api-fixes' of github.com:annando/friendica into api-fixes 2021-11-30 21:41:14 +00:00
Michael 03d2160690 Removed second ppst parameter 2021-11-30 21:41:10 +00:00
Philipp Holzer 901068f770
Fix test 2021-11-30 20:53:47 +01:00
Michael 68655d0dcb Possibly fixing tests 2021-11-30 19:17:33 +00:00
Michael 56f8adcb80 Merge remote-tracking branch 'upstream/2021.12-rc' into api-fixes 2021-11-30 19:07:24 +00:00
Tobias Diekershoff f81742d1c9
Merge pull request #11050 from MrPetovan/task/10990-api-photo-visibility
Prevent API-submitted public pictures to be published as statuses
2021-11-30 15:15:21 +01:00
Hypolite Petovan 395764dd6d Prevent API-submitted public pictures to be published as statuses 2021-11-30 08:24:09 -05:00
Hypolite Petovan 621b4216d9
Merge pull request #11044 from nupplaphil/feat/api-tests_2
Module Fixings&FollowUps
2021-11-30 01:13:20 -05:00
Michael 833b104c25 Use function to fetch all valid extensions 2021-11-30 06:11:58 +00:00
Philipp Holzer d8ac002001 Fix Introduction user selection 2021-11-30 01:08:00 -05:00
Philipp Holzer a88cc8d5c8 Replace DI::apiResponse()->exit() with $this->response->exit() 2021-11-30 01:08:00 -05:00
Philipp Holzer 2dc60cfd33 Make API call permission checks more reliable
- don't need to inherit every Module method anymore
2021-11-30 01:07:59 -05:00
Philipp Holzer 9cec38f916 Make HTTPInputData dynamic
- Removing DI:: dependency inside App class
- Making testability easier & adapting tests
2021-11-30 01:07:59 -05:00
Philipp Holzer 2e4d654c0a Make $_REQUEST processing independent of sub-calls
- Move HTTPInputData::process() into App::runFrontend()
- Pass $_REQUEST (including processed Input) to every Module method
- Delete $_POST parameters at Module post() calls because of $_REQUEST
2021-11-30 01:07:58 -05:00
Philipp Holzer f580d8e5c0 extract "BaseApi::checkDefaults()" method for later usage 2021-11-30 01:07:57 -05:00
Michael 107cc6f297 Possibly Avoid database error when storing photo item 2021-11-30 06:05:37 +00:00
Michael 57cd710019 messages.po updated 2021-11-30 05:49:38 +00:00
Michael 7dd757b7f9 Merge remote-tracking branch 'upstream/2021.12-rc' into api-fixes 2021-11-30 05:48:03 +00:00
Michael Vogel d21108fe0e
Merge pull request #11014 from MrPetovan/task/10978-settings-keyboard-actionable
[frio] Make accordions keyboard actionable
2021-11-30 06:45:51 +01:00
Michael 220c910de4 Tests 2021-11-30 05:43:06 +00:00
Michael a5b1843b36 Fixing tests? 2021-11-30 05:38:59 +00:00
Michael 56824598ff Standards 2021-11-30 05:20:01 +00:00
Michael Vogel 3ff59cfdc3
Merge pull request #11045 from MrPetovan/bug/11029-contact-group
Use user-specific id to fetch the list of group appartenance in Module\Contact\Profile
2021-11-30 06:17:56 +01:00
Michael Vogel ca851f8a03
Merge pull request #11048 from MrPetovan/bug/10990-prepare_photo_data
Add expected field uri-id to Post query in prepare_photo_data()
2021-11-30 06:09:14 +01:00
Michael 2470482b4e Standards 2021-11-30 05:07:03 +00:00
Michael 33c8872c65 Merge remote-tracking branch 'upstream/2021.12-rc' into api-fixes 2021-11-30 05:00:46 +00:00
Hypolite Petovan 370827654c Add expected field uri-id to Post query in prepare_photo_data() 2021-11-29 23:51:04 -05:00
Michael e7e74819a3 Fix posting pictures 2021-11-29 18:03:34 +00:00