Commit graph

15 commits

Author SHA1 Message Date
Hypolite Petovan 1e4e5b57e3 Stop generating photo URLs with contact IDs in favor of guids
- This prevents an enumeration attack against avatar pictures
- Replace several DB calls to `contact` table with `account-view` or `account-user-view`
- Remove unused parameter photo_size from Directory::formatEntry
2024-02-25 20:08:03 -05:00
Michael 89e7420237 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Philipp Holzer f693032109
Fix dynamic properties in API\Twitter\User object 2023-07-05 23:15:23 +02:00
Hypolite Petovan 1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05: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
Balázs Úr e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Michael b56ccbcf2b More objects added 2021-11-23 10:12:11 +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
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