1
1
Fork 0
Commit graph

359 commits

Author SHA1 Message Date
ff28044cf6 Issue 12603: Support quotes in the API 2023-01-23 19:00:20 +00:00
2ecc797541 API: Show different ids on reshares / don't check for client secret 2023-01-22 11:25:31 +00:00
af2a38c5b3 API: Accept "redirect_uris" as both array and string 2023-01-14 21:07:47 +00:00
1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
4db4d1843d Merge remote-tracking branch 'upstream/develop' into diaspora-reshare 2022-12-20 06:58:36 +00:00
1899c53516 API: Fix interoperability between Friendica and Mastodon part 2022-12-18 06:30:32 +00:00
c7e53cb9b4 Use account-user-view entry to instantiate Api\Mastodon\FollowRequest objects
- Address https://github.com/friendica/friendica/issues/11993#issuecomment-1354395861
2022-12-18 01:03:37 -05:00
f013c92487 Only search for empty quoted reshares (Diaspora type) 2022-12-13 23:26:58 +00:00
ca8a89ed1c Use reshare with Diaspora like with ActivityPub 2022-12-13 23:19:19 +00:00
5d3248d57b Handle some fatal errors 2022-12-11 16:48:36 +00:00
Michael Vogel
28c7fda6e9
Update src/Factory/Api/Mastodon/Status.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-12-05 04:37:04 +01:00
4f98d2c74a Issue 11915: Show reshared posts for contacts 2022-12-04 21:57:58 +00:00
a5be5b27e3 Support Blurhash 2022-12-04 13:29:21 +00:00
2baa56d478
Merge pull request #12298 from annando/api-suggestions
Contact suggestions are now cached
2022-12-01 05:25:44 -05:00
b51b537711
Update src/Factory/Api/Mastodon/Notification.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-11-30 14:38:53 -05:00
a27ffda59f Add dismissed field to Mastodon API Notification types 2022-11-30 14:23:20 -05:00
fbcc56d42d Changes after code review 2022-11-30 14:33:55 +00:00
1ced4673fe Indention 2022-11-30 13:35:57 +00:00
f31e617f5d Contact suggestions are now cached 2022-11-30 05:59:27 +00:00
de76e860ad API: Added trending links 2022-11-28 20:19:57 +00:00
6d74d74a26 Issue 12149: Show that a post was reshared 2022-11-27 20:47:08 +00:00
92807d86a3 API: Enable edit 2022-11-25 19:35:40 +00:00
7c6d54c989 Ensure $attachment has a width and a height when it's an image in Mastodon\Attachment
- Address https://github.com/friendica/friendica/issues/11993#issuecomment-1323274513
2022-11-23 11:00:15 -05:00
8e67d28997 Return early if user contact doesn't exist in Mastodon\Notification::getType
- Address https://github.com/friendica/friendica/issues/11993#issuecomment-1321804594
2022-11-23 10:35:49 -05:00
a7e576fda0 Fix warning: Undefined array key "public" 2022-11-09 06:31:05 +00:00
210200d330 Use different parser modes for Mastodon and Twitter-API 2022-11-06 20:02:43 +00:00
eae1383f48 Merge remote-tracking branch 'upstream/develop' into quote 2022-10-30 11:38:17 +00:00
96a36568e2 Add quote to API 2022-10-30 01:20:05 +00:00
8bba8663fb Only fetch the needed field 2022-10-29 19:11:26 +00:00
f44c9e7975 Accepting contact request does finally work per Mastodon API 2022-10-29 19:04:29 +00:00
deccea0228 More functions moved to content class 2022-10-27 05:44:44 +00:00
c65fff6f93 Some more improvements for posts with shares 2022-10-26 17:00:55 +00:00
f54a886a5e The "share" handling is improved 2022-10-25 06:37:23 +00:00
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
074bae33c9
Changes:
- added some missing type-hints
- added some documentation
- added some empty lines to `@return` statements (code-style convention)
2022-08-12 13:36:34 +02:00
33c7abd376
Changes:
- methods should ALWAYS start lower-case, not upper
- documented a bit more
2022-08-12 13:13:54 +02:00
9794ce0c87
Changes:
- added type-hint for $type parameter
- documented method
- unsupported verbs logged
2022-08-12 13:09:59 +02:00
4875524101
Fixed:
- added exception to prevent `TypeError` because of missing `uri-id` entry
- maybe fixes #11708
2022-07-05 18:53:51 +02:00
fbae0b8bcf
Changes:
- renamed ItemArrayFromMail() to getItemArrayFromMail() to follow naming-convetion
- added missing type-hints
- added missing documentation
2022-06-20 21:22:46 +02:00
2766c7d9cf Continued:
- added more type-hints
- added some missing documentation
2022-06-17 17:18:31 +02:00
4157f816f5 Fix for account variable name 2022-06-10 20:32:21 +00:00
9a1abda314 Use "avatar" instead of "contact" 2022-06-10 20:26:57 +00:00
7e747b2f41 API: Speed improvements when fetching posts 2022-06-10 18:49:03 +00:00
9b646dad97 API: We can now display polls 2022-04-22 19:24:22 +00:00
75bc4eccb7 Display featured posts for contacts 2022-04-07 21:52:25 +00:00
5eb647585d Issue 11315: Fix for all receivers in "to" 2022-03-11 20:39:03 +00:00
e0468ac914 API: Improve support for the summary field 2022-03-08 18:32:09 +00:00
772294494e API: Fix display of reshares / return value of activities 2022-02-28 20:10:42 +00:00
6415fc62a0 Fix missing field 2022-02-25 19:27:25 +00:00
bf5c8a2c43 API: several fixes to the Twitter/Statusnet API 2022-02-25 19:16:40 +00:00
71cf72cc8b Standards 2022-01-16 20:49:59 +00:00
Michael Vogel
b38c9bed6f
Apply suggestions from code review
Co-authored-by: Philipp <admin+Github@philipp.info>
2022-01-16 21:47:12 +01:00
dc48f9b8f0 White spaces 2022-01-16 20:17:31 +00:00
7c15d0160a Coding styles / "require_once" for removed file removed 2022-01-16 09:01:04 +00:00
c55c42b303 "DI" calls are replaced 2022-01-16 07:07:46 +00:00
f68c94db04 Some standards 2022-01-15 21:45:08 +00:00
95f085b7ac API: The legacy API finally moved 2022-01-15 21:38:19 +00:00
c588b280d7
Fix all license header & be less aggressive 2022-01-07 00:35:28 +01:00
4e67bfed8d
Use Args::getMethod() at various places 2022-01-04 20:59:26 +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
0df539a65e
Merge pull request #11127 from nupplaphil/feat/tests
Transform legacy API tests into new structure
2022-01-02 01:06:48 +01:00
e61ed41972
Add feedback (title/text/html) 2022-01-02 00:21:01 +01:00
4c77e99f89
Add title to the text/html content for Twitter status object 2022-01-01 23:14:52 +01:00
29be22ee6a Display interaction data for Diaspora accounts 2021-12-30 22:11:52 +00:00
6412484fa6
Move API DirectMessage tests 2021-12-30 21:07:20 +01:00
23f8d37bcd Use dynamic function 2021-12-19 07:39:39 +00:00
c18bda9397 Standards 2021-12-16 22:54:48 +00:00
b7a460485a API: Direct Messages moved to new place 2021-12-16 22:44:50 +00:00
b15d3a2523 API: Next bunch of functions transformed 2021-11-27 22:25:36 -05:00
d696c8d101 Use correct uri-id for attachments 2021-11-25 10:07:25 +00:00
ab28fa32aa Added last status 2021-11-24 20:47:37 +00:00
dfd63493b2 Standards 2021-11-24 07:14:19 +00:00
a86dee8e59 Coding standards 2021-11-24 07:08:30 +00:00
57cf384fae Moved acitivites 2021-11-24 07:06:28 +00:00
a3aab4a75a Entities, Source and api functions rearranged 2021-11-24 06:44:25 +00:00
452cd57437 Fixing tests 2021-11-23 22:02:46 +00:00
38b641ca6b Coding standards 2021-11-23 21:56:34 +00:00
07c2f36946 Removing unused functions, added (deactivated) attachments 2021-11-23 21:54:19 +00:00
082aa1bf65 Code Standards 2021-11-23 15:21:06 +00:00
4373a66f74 Coding standards 2021-11-23 14:55:52 +00:00
b56ccbcf2b More objects added 2021-11-23 10:12:11 +00:00
8211cef49d Coding standards, changed database version 2021-11-22 07:39:40 +00:00
670bbe58a1 API: The status is now an object 2021-11-22 07:28:02 +00:00
cdedf348e4 Replaced most "api_get_user" calls with newer BaseApi calls 2021-11-17 21:28:51 +00:00
516018861e Merge remote-tracking branch 'upstream/develop' into error-handling 2021-10-31 05:25:39 +00:00
4236a9a105 Improved http error handling 2021-10-29 23:21:07 +00:00
409d909d0f
Restructure HTTPClient for new paradigm 2021-10-28 20:01:03 +02:00
184f6cc255
Restructure Logger to new paradigm 2021-10-28 20:01:02 +02:00
58eea1adaa
Cleanup namespaces 2021-10-26 22:11:10 +02:00
b216317477
Refactoring Core class structures ... 2021-10-26 22:11:09 +02:00
57b4c008cb
Restructure Session to follow new paradigm 2021-10-26 22:11:07 +02:00
ff1a812e1a
Restructure Lock to follow new paradigm 2021-10-26 22:11:06 +02:00
ab83d0dd27
Restructure (P)Config to follow new paradigm 2021-10-26 22:11:06 +02:00
68046573a4
Restructure Cache to follow new paradigm 2021-10-26 22:11:06 +02:00
5d92713a8e Rename Depository to Repository 2021-10-23 21:45:36 -04:00
a40f503fdd
Move Introduction to new depository paradigm 2021-10-21 21:49:20 +02:00
b5d994394e
Fixing PUBLIC usage, Fixing DB-View, Creating tests 2021-10-18 23:32:45 +02:00
a9981c792e
Use ProfileField::selectPublicFieldsByUserId 2021-10-18 23:32:39 +02:00
1c0f92c382
Move ProfileField from Model to Entity 2021-10-18 23:32:38 +02:00