Gráfico de commits

1292 Commits

Autor SHA1 Mensagem Data
Hypolite Petovan 1b651519a3 Normalize API fixture data
- Change public contact name to the related local user name
- Add location data to profile record that is used to update self and public contact during Auth
2024-03-05 10:10:15 -05:00
Michael Vogel 89ffe6875f
Merge pull request #13942 from MrPetovan/bug/fix-api-fixture
Fix API fixture data
2024-03-02 05:48:19 +01:00
Michael e394a6b0fa Issue 13819: Ensure to not use OEmbed if not wanted 2024-02-29 07:37:58 +00:00
Hypolite Petovan 0d922b75af Use public contact ids where they should be used in API fixture data 2024-02-27 08:41:51 -05:00
Hypolite Petovan ba0a8069c4 Normalize local node hostname across API fixtures
- This was causing the fixture data to be wrongly "repaired" in Model\User::getOwnerDataById because of a mismatch between the local base URL and the fixture-provided self contact URL
2024-02-27 08:41:51 -05:00
Hypolite Petovan d37699bc08 Throw Not Found exception when $uid doesn't exist in Factory\Api\Twitter\User->createFromUserId
- Contact::getPublicIdByUserId() wrongly returns 0 when $uid doesn't exist, which is an existing albeit invalid record.
2024-02-27 08:41:51 -05:00
Hypolite Petovan 5b5c9ddc74 Deprecate use of [*] BBCode tag for list items in favor of [li]
- It is conflicting with Markdown syntax
2024-02-09 20:33:42 -05:00
Michael b948b2c7cb Added tests 2024-01-28 06:56:25 +00:00
Hypolite Petovan e8c256bcff [Composer] Bump guzzlehttp/guzzle to version 7 to suppress deprecation notices
- Bump divineomega/password_exposed to version 3 to remove dependency on Guzzle version 6
- Add new ICanHandleHttpResponses->getBodyString method to solve inheritance mismatch with GuzzleHttp\Psr7\ResponseInterface->getBody return type
2024-01-12 08:42:46 -05:00
Michael 89e7420237 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Hypolite Petovan 769b73e8a3 Bump minimum version to run Friendica to PHP 7.4
- Update version filter of mobiledetect/mobiledetectlib and psr/container to PHP 7.4 versions
- Remove PHP 7.3 PHPUnit instance
- Remove PHP 7.2 specific PDO exception in tests
2023-12-18 21:02:02 -05:00
Michael 9b73189e1d Renamed function name 2023-12-05 19:55:27 +00:00
Michael 0aa49510b2 Changed uri 2023-12-05 07:44:01 +00:00
Michael 691e0dd44a Added another test case 2023-12-05 07:36:13 +00:00
Michael 8e91db7fb1 Fix test again 2023-12-05 06:02:38 +00:00
Michael 2e0c550ee7 Fixed test 2023-12-05 05:57:38 +00:00
Michael be2e715eb1 Added test 2023-12-05 05:51:39 +00:00
gudzpoz 37188c76b8 Fix substituting smilies and smilies containing whitespaces 2023-11-25 23:29:39 +08:00
gudzpoz d493946ba4 Allow using punctuation chars as smiley delimiters 2023-11-16 13:31:31 +08:00
gudzpoz d45e9d6af2 Require whitespace around smilies and normalize federating text 2023-11-16 00:25:11 +08:00
Philipp Holzer 32ac54d830
Fix SmiliesTest
Reduce noise because of wrong '<?php' test-data
2023-10-15 21:29:53 +02:00
Philipp Holzer 4bcf5e07c0
Adjust InstallerTest 2023-10-15 15:49:02 +02:00
Michael Vogel c98a0a99a6
Merge pull request #13530 from MrPetovan/bug/json-error-factory-error
Move jsonError out of Factory\Api\Mastodon\Error
2023-10-14 19:35:49 +02:00
Michael 19529e2aa1 Merge remote-tracking branch 'upstream/2023.09-rc' into smilies 2023-10-12 20:49:20 +00:00
Hypolite Petovan 5d428ac8af Add newly required constructor parameter to BaseApi-related tests 2023-10-11 10:17:32 -04:00
Hypolite Petovan 6d009a3e0f Add chunk method to BaseCollection
- Add test for BaseCollection->chunk
2023-10-03 19:58:52 -04:00
Hypolite Petovan 86cba639fc Add implementation of the Content-Type header value from the MIME type RFC
- Add tests for the new classes
2023-10-03 19:58:50 -04:00
Hypolite Petovan 642baa1f2a Rename ApipResponse->exit* methods to better show their meaning 2023-09-24 07:08:16 -04:00
Hypolite Petovan 960171c4e0 Remove dependency on super-globals in Module\Api\ApiResponse
- Updated DI dependencies to reflect the new parameters
- Updated tests to reflect the new parameters
2023-09-24 07:08:16 -04:00
Michael e9e5bb12b9 Tests ... 2023-09-09 10:48:43 +00:00
Michael 2c308d300a Test tests again 2023-09-09 10:44:51 +00:00
Michael dbf863fbd2 Test test 2023-09-09 10:37:26 +00:00
Michael 5cc1f87511 Fix tests? 2023-09-09 09:59:30 +00:00
Michael 97e3ff1901 Fix test? 2023-09-08 16:45:59 +00:00
Michael 6288b5cc51 Fix tests 2023-09-08 16:32:36 +00:00
Hypolite Petovan 059a111282 Add unit tests for Smilies::isEmojiPost
- Current implementation is failing tests with emojis including the zero-width-joiner character, encoded on 3 bytes only.
2023-08-29 22:16:09 -04:00
Philipp Holzer 367d9149aa
test 2023-07-29 13:51:03 +02:00
Philipp Holzer 6bcf5cb823
Make InstanceManager strategy naming convention case insensitive. 2023-07-29 13:20:02 +02:00
Philipp Holzer 9ff89a970a
Rename NAME to constant 2023-07-28 17:39:12 +02:00
Philipp Holzer bbfec06a3d
Add "getName()" test 2023-07-26 21:44:31 +02:00
Philipp Holzer 9f18222a06
Unify "Capability" 2023-07-26 21:44:31 +02:00
Philipp Holzer f2c02a79b9
Move Cache to strategies 2023-07-26 19:17:43 +02:00
Philipp Holzer ede8896721
Make PHP-CS happy 2023-07-21 22:47:09 +02:00
Philipp Holzer cba656383e
Adhere feedback
- rename hooks.config.php to strategies.config.php
- change all corresponding classes and tests
2023-07-21 22:42:24 +02:00
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