Commit graph

29 commits

Author SHA1 Message Date
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
Roland Häder 4bdce6948f
Changed:
- $publicContact['about'] can be NULL, causing following error:
--------------------------
Argument 1 passed to Friendica\Content\Text\BBCode::toPlaintext() must be of
the type string, null given, called in /.../src/Object/Api/Twitter/User.php
--------------------------
The "expensive" code there can be avoided being called by an empty string or
NULL to increase performance.
2022-06-26 23:28:48 +02:00
Michael 772294494e API: Fix display of reshares / return value of activities 2022-02-28 20:10:42 +00:00
Michael bf5c8a2c43 API: several fixes to the Twitter/Statusnet API 2022-02-25 19:16:40 +00:00
Philipp Holzer c588b280d7
Fix all license header & be less aggressive 2022-01-07 00:35:28 +01: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 Holzer 4c77e99f89
Add title to the text/html content for Twitter status object 2022-01-01 23:14:52 +01:00
Michael Vogel 85d68a001a
Update src/Object/Api/Twitter/DirectMessage.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-12-17 15:48:03 +01:00
Michael fd63421dde Standards 2021-12-16 22:51:47 +00:00
Michael b7a460485a API: Direct Messages moved to new place 2021-12-16 22:44:50 +00:00
Michael b15d3a2523 API: Next bunch of functions transformed 2021-11-27 22:25:36 -05:00
Michael a3aab4a75a Entities, Source and api functions rearranged 2021-11-24 06:44:25 +00:00
Michael 38b641ca6b Coding standards 2021-11-23 21:56:34 +00:00
Michael 07c2f36946 Removing unused functions, added (deactivated) attachments 2021-11-23 21:54:19 +00:00
Michael 4373a66f74 Coding standards 2021-11-23 14:55:52 +00:00
Michael b56ccbcf2b More objects added 2021-11-23 10:12:11 +00:00
Michael 214a0524dd Merge remote-tracking branch 'upstream/develop' into api-status 2021-11-22 07:33:25 +00:00
Michael 670bbe58a1 API: The status is now an object 2021-11-22 07:28:02 +00:00
Michael e1d4f96b06 Remove unused user fields 2021-11-21 20:14:48 +00:00
Michael 1f79d25ffc Replaced "api_date" 2021-11-18 21:43:13 +00:00
Michael 2bb1805a67 Added profile picture 2021-11-16 23:57:12 +00:00
Michael 6ea426178a API: moved classes / unified user array creation 2021-11-16 23:21:40 +00:00
Michael 1518ad33ad API: Classes moved to the correct places according to their origin 2021-11-10 07:31:39 +00:00
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Hypolite Petovan 0fc5f26ff7 Replace BaseEntity with BaseDataTransferObject class for API representation classes 2021-01-23 05:42:58 -05:00
Philipp Holzer 61014feec3
Fix ContactEndpoint & tests 2020-09-12 10:01:13 +02:00
Hypolite Petovan 173264eaab Add Twitter User Object and Factory 2020-06-08 21:51:42 -04:00