Commit Graph

33379 Commits

Author SHA1 Message Date
Michael Vogel a2f1bf6a83
Merge pull request #11058 from MrPetovan/bug/10955-php-mysql-time
Replace references to UTC_TIMESTAMP()/NOW() in SQL queries with a DateTimeFormat generated parameter
2021-12-05 07:12:36 +01:00
Hypolite Petovan 423892b814 Replace references to NOW() in SQL queries with a DateTimeFormat generated parameter 2021-12-04 17:53:16 -05:00
Hypolite Petovan 80da47921e Replace references to UTC_TIMESTAMP in SQL queries with a DateTimeFormat generated parameter 2021-12-04 17:53:08 -05:00
Hypolite Petovan ecaed2a845 Update DateTimeFormat documentation
- Remove an explicit default value parameter
2021-12-04 17:52:01 -05:00
Hypolite Petovan d62f21cfa1
Merge pull request #11068 from annando/improved-embed
Improved page info detection
2021-12-04 15:16:15 -05:00
Michael 34260fc619 Improved page info detection 2021-12-04 19:54:33 +00:00
Hypolite Petovan d00ead7a9e
Merge pull request #11067 from tobiasd/20211204-phpversion
Friendica now requires PHP 7.3 or above
2021-12-04 06:09:05 -05:00
Tobias Diekershoff ab77f48b8b Friendica now requires PHP 7.3 or above 2021-12-04 10:21:11 +01:00
Hypolite Petovan ba98242b9f
Merge pull request #11066 from annando/issue-11063
Issue 11063: Fix check for current user
2021-12-03 23:47:19 -05:00
Hypolite Petovan c957911246
Merge pull request #11065 from annando/podcast
Fix media handling upon creation and display
2021-12-03 23:46:36 -05:00
Michael 799baeda10 Issue 11063: Fix check for current user 2021-12-04 04:30:46 +00:00
Michael 3b92e086ce Merge remote-tracking branch 'upstream/2021.12-rc' into podcast 2021-12-04 04:12:44 +00:00
Michael Vogel 00f8b620dc
Merge pull request #11064 from MrPetovan/bug/api-getRequest-PUT
Add expected second parameter to BaseApi::getRequest in a few put() methods
2021-12-04 05:08:07 +01:00
Michael 3d65809a82 Fix media handling upon creation and display 2021-12-04 04:03:18 +00:00
Hypolite Petovan e1d6de757f Add expected second parameter to BaseApi::getRequest in a few put() methods 2021-12-03 18:00:54 -05:00
Michael Vogel 46e251be1f
Merge pull request #11056 from MrPetovan/bug/11055-probe-detect-url
Fix URI structure condition in Probe::detect
2021-12-03 23:46:39 +01:00
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 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 d8ac002001 Fix Introduction user selection 2021-11-30 01:08:00 -05:00
Philipp a88cc8d5c8 Replace DI::apiResponse()->exit() with $this->response->exit() 2021-11-30 01:08:00 -05:00
Philipp 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