Commit graph

146 commits

Author SHA1 Message Date
Tobias Diekershoff
c4b58df927 REUSE tests directory 2024-08-24 14:31:41 +02:00
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
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
Michael
89e7420237 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +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
557d0e3aeb
Add direct field possibility 2023-05-13 22:04:51 +02:00
Josh Soref
2b819b8f8c spelling: resource
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref
ab4689e1b6 spelling: does
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Philipp
9627af924a
Add support for toString/Serializable 2023-01-21 19:42:48 +01:00
Philipp
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
Philipp
dd88d193b9
Escape single quotes and backslashes 2023-01-03 15:36:36 +01:00
Philipp
5ff1d431aa
add another test 2023-01-03 14:22:06 +01:00
Philipp
326566638f
adapt tests 2023-01-03 14:22:03 +01:00
Philipp
fea4b202c1
Introduce ConfigFileTransformer for Config files 2023-01-03 14:22:02 +01:00
Hypolite Petovan
1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Hypolite Petovan
91c4ab2359 Add new xpathQuote and checkRelMeLink methods to Content\Text\HTML class
- Add tests for both methods
2022-12-23 02:41:22 -05:00
Hypolite Petovan
55640eec87 [Composer] Upgrade to phpseclib version 3
- Create custom Key file format for Salmon Magic key
- Remove obsolete pemToME and MEtoPem Crypto methods
- Remove unused newECKeypair Crypto method
- Switch to constant-time Base64 encode/decode in Base64Url Strings methods
2022-11-25 08:13:05 -05:00
Hypolite Petovan
9aa05eb911 Deprecate themes duepuntozero, quattro and smoothly 2022-11-05 00:06:10 -04:00
Roland Häder
da66730e4f
Rewrite:
- moved constants GRAVITY_* from boot.php to Friendica\Model\Item
- also rewrote some array initialization:

From:
````
<?php
$arr = [];
$arr['foo'] = "FOO";
````

To:
````
<?php
$arr['foo'] = "FOO";
````
- added a few type-hints
2022-10-15 00:44:06 +02:00
Hypolite Petovan
b7cee324b0 Add legacy notification endpoint for deprecated Notify entity
- Add dependencies to Notifications\Notification module class
2022-03-14 07:56:21 -04:00
Hypolite Petovan
b3622e74b2 Add required notify field to contacts in API test fixture 2022-02-23 21:30:18 -05:00
Philipp
322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Philipp
c03ddf0891
Move API Status tests 2021-12-30 21:52:18 +01:00
Philipp
6412484fa6
Move API DirectMessage tests 2021-12-30 21:07:20 +01:00
Philipp
5d69f7411d
Add MessageDirect\Search tests 2021-12-27 20:02:37 +01:00
Philipp
e9d8af89c2
Make PHP-CS happy ;-) 2021-12-09 22:55:15 +01:00
Philipp
d9949610c5
Reenable Twitter/Create&Destory tests 2021-12-09 22:45:52 +01:00
Philipp
df1aabd304
Fix dataset 2021-12-05 20:34:01 +01:00
Philipp
9081b37762
Fix Twitter statuses list & reenable tests 2021-12-05 20:34:01 +01:00
Philipp
cc7b2fae4e
Re-enable AccountVerifyCredentials test 2021-12-05 20:33:59 +01:00
Philipp
d433c06632 Add tests to prove error https://github.com/friendica/friendica/issues/11023
- Use `$request` instead of `$post` in `BaseModule->run`
2021-11-29 06:29:29 -05:00
Michael
cf2ada64da Adding test data 2021-11-21 06:31:04 +00:00
Philipp
8bf61848f9
Fix Legacy test 2021-11-15 00:01:16 +01:00
Michael
63da4a75e9 The boot.php had been cleared of most functions 2021-11-04 20:29:59 +00:00
Philipp
caa977c24e
adapt fixture 2021-10-18 23:32:46 +02:00
Hypolite Petovan
47acb6a278 Move notify to the new paradigm
- Remove unused frion notify template
- Update API test
2021-10-02 18:15:42 -04:00
fabrixxm
eadcc8dc93 Handle reading empty file in ReversedFileReader
fix #10766
2021-09-27 12:14:19 +02:00
Philipp
3eb2abdb2a
Adapt tests 2021-08-25 14:22:42 +02:00
Philipp
52c7948526
Create HTTPClientFactory and introduce ImageTest 2021-08-25 14:22:42 +02:00
Philipp
9eba32226c
make CS happy :) 2021-08-20 22:11:36 +02:00
Philipp
803c1d71de
Fix IHTTPResult::getHeader()
- Now returns a string array, like expected
- Fix usages
- Fix dataset
2021-08-20 19:58:42 +02:00
Philipp
dee1899628
Fix IHTTPResult::getHeader/s()
- Split functionality "getHeader()" and "getHeaders()" analog to IMessageInterface::getHeader/s()
- Fix functionality at various places - Adapt CurlResultTest
2021-08-20 19:58:42 +02:00
fabrixxm
ce0d7616cc Add tests for ParsedLogIterator 2021-08-19 14:57:04 +02:00
Michael
e0fdde3287 Fix the tests, hopefully 2021-07-09 17:13:54 +00:00
Michael
3dc5912886 Test with file (will fail) 2021-05-24 04:56:03 +00:00
Michael
70d93d7e4f Reverting previous commit 2021-05-24 04:45:24 +00:00