1
0
Fork 0
Commit graph

130 commits

Author SHA1 Message Date
Michael Vogel
52f74b6312
Update src/Object/Api/Mastodon/Status.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-11-05 23:51:16 +01:00
aa2b4e15a3 Issue 11846: Fix client behaviour when following hash tags 2022-11-05 22:35:35 +00:00
Roland Häder
26e0469de7
Merge branch 'develop' into rewrite/gravity-constants 2022-10-18 16:34:40 +02:00
62a0d55fc8 The friendica constants have been moved to the app class 2022-10-17 10:37:48 +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
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
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
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
bf5c8a2c43 API: several fixes to the Twitter/Statusnet API 2022-02-25 19:16:40 +00:00
d7b573c6d7 Update Mastodon API version string to include Mastodon version compatibility 2022-02-20 20:22:39 -05:00
e0ea51818e Add constructors to a couple of Mastodon API value objects 2022-02-20 16:17:03 -05:00
Michael Vogel
6bc69f3353 Workaround for timing problems / Avoid a notice in the scheduled posts 2022-02-12 18:27:58 +01: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
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
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
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
fd63421dde Standards 2021-12-16 22:51:47 +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
a3aab4a75a Entities, Source and api functions rearranged 2021-11-24 06:44:25 +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
4373a66f74 Coding standards 2021-11-23 14:55:52 +00:00
b56ccbcf2b More objects added 2021-11-23 10:12:11 +00:00
214a0524dd Merge remote-tracking branch 'upstream/develop' into api-status 2021-11-22 07:33:25 +00:00
670bbe58a1 API: The status is now an object 2021-11-22 07:28:02 +00:00
e1d4f96b06 Remove unused user fields 2021-11-21 20:14:48 +00:00
1f79d25ffc Replaced "api_date" 2021-11-18 21:43:13 +00:00
2bb1805a67 Added profile picture 2021-11-16 23:57:12 +00:00
6ea426178a API: moved classes / unified user array creation 2021-11-16 23:21:40 +00:00
1518ad33ad API: Classes moved to the correct places according to their origin 2021-11-10 07:31:39 +00:00
7a2d5f6a8e Move notification to the new paradigm 2021-10-02 18:15:45 -04:00
3e6fea30f2 Create constants for Mastodon notification types 2021-10-02 18:15:44 -04:00
47acb6a278 Move notify to the new paradigm
- Remove unused frion notify template
- Update API test
2021-10-02 18:15:42 -04:00
e28a4265c5 API: First steps to support subscriptions 2021-08-15 00:30:41 +00:00
13529fa97d Support the "media_attachments" field 2021-07-30 22:39:13 +00:00
929de9081e All needed fields are now filled 2021-07-30 13:22:06 +00:00
93263a820d Function renamed, documentation added 2021-07-30 10:24:08 +00:00
c9eca1edeb Fix array index 2021-07-29 15:01:09 +00:00
a1828430e5 Fixing variables 2021-07-29 14:58:04 +00:00
6ea3d4aa61 Added API calls, removed fields 2021-07-29 10:34:31 +00:00
71f53c946f New function to replace mentions with nicknames 2021-07-22 09:13:39 +00:00