Commit graph

69 commits

Author SHA1 Message Date
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
Philipp
326566638f
adapt tests 2023-01-03 14:22:03 +01:00
Hypolite Petovan
1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05: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
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
Michael
cf2ada64da Adding test data 2021-11-21 06:31:04 +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
Michael
e0fdde3287 Fix the tests, hopefully 2021-07-09 17:13:54 +00:00
Philipp
1bcfa714a1
Make tests PHPUnit 6.0 compatible 2021-05-16 23:22:44 +02:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael
e1c1744dd1 "wall" in test data 2021-02-15 12:43:23 +00:00
Michael
0f84148413 Some more test data tests 2021-02-15 12:40:05 +00:00
Michael
69d2a7e55d Previous stuff reverted 2021-02-15 06:55:41 +00:00
Michael
bbdb0de2ad More test data 2021-02-15 06:46:28 +00:00
Michael
6771d69bb1 Added test data 2021-02-15 06:25:41 +00:00
Michael
1778e57baf Missing field in view 2021-02-15 06:14:53 +00:00
Michael
2f84d874a8 Test data for the "verb" table 2021-02-15 05:59:45 +00:00
Michael
e1c79a41d9 We now don't store in the "item" table anymore 2021-02-14 20:27:31 +00:00
Michael
ce6ad1aa73 Get rid of the "item" table, enhanced "post" tables 2021-02-13 19:56:03 +00:00
Michael
cb92f1334f Rearranged field definition 2021-02-09 17:10:45 +00:00
Michael
f1377ce7fb Issue 9906: Improved view speed 2021-02-09 16:35:01 +00:00
Michael
09c2f424be More test data 2021-02-05 07:27:15 +00:00
Michael
15b709594f Improving test data 2021-02-05 07:14:09 +00:00
Michael
239bf686af Just some more tests 2021-02-05 05:53:44 +00:00
Michael
0cd8c78e2d Use the id instead of iid 2021-02-04 22:51:33 +00:00
Michael
f92816cf62 More test data 2021-02-04 22:14:53 +00:00
Michael
2b6b72f7fd Fix test data 2021-02-04 17:56:43 +00:00
Michael
2e4ff98699 Set test data 2021-02-04 17:48:51 +00:00
Michael
2282bb4a19 Fix test data 2021-02-04 09:46:29 +00:00
Michael
c3398511b4 New table "post-content" 2021-01-30 22:03:53 +00:00
Michael
8deabf5c2e Providing more test data 2021-01-28 23:17:58 +00:00
Hypolite Petovan
82e094179c Rename notify classes according the feature name, not the table name 2021-01-24 09:33:23 -05:00
Michael
ff8b578cde Fix the test data / unused function removed 2021-01-17 22:20:46 +00:00