1
0
Fork 0
Commit graph

130 commits

Author SHA1 Message Date
be18a59bd7 Make last status parameter actually optional in Object\Api\Mastodon\Conversation 2021-07-13 23:02:11 -04:00
267b652857 Improve how shared posting look on mobile apps 2021-07-13 08:30:05 +00:00
d8974c9a2a Function renamed to better reflect the functionality 2021-07-09 06:29:24 +00:00
377bb78cc2 Set "convertForItem" at more places 2021-07-08 20:01:52 +00:00
901c3f4855 we now have got an uri-id field for the contact table 2021-07-08 18:59:58 +00:00
f29bd23ea8 New function to convert BBCode for a given ID 2021-07-08 13:47:46 +00:00
37a76e70ef Providing the uri-id to "convert" when possible 2021-07-06 12:34:48 +00:00
9edc75e29d Improved avatar handling (timestamps for caching) 2021-06-29 06:15:45 +00:00
Michael Vogel
d9d30d9555
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-06-25 20:00:59 +02:00
ed4a18f079 Function to return the avatar and header path for a given contact id 2021-06-25 17:03:35 +00:00
e6e90abc77 AOI: Send "history" section for trends 2021-06-24 22:15:25 +00:00
96809b3fdd API: Improved avatar handling 2021-06-24 07:08:38 +00:00
df05d6b52a Transmit mediaType for headers as well / use blank image for empty header 2021-06-22 13:58:29 +00:00
d4387d45ee
Cleanup Code 2021-06-20 13:25:45 +02:00
09609c40a4 Classname fixed 2021-06-18 05:50:52 +00:00
7d835ad790 Unused "use" removed 2021-06-18 03:32:20 +00:00
0a5904a001 API: "created_at" is timestamp 2021-06-18 03:21:38 +00:00
Michael Vogel
b184df1108
Update src/Object/Api/Mastodon/Account.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-06-17 19:14:35 +02:00
bd016dc680 Photos should point to the local system 2021-06-17 16:55:54 +00:00
fe07dc828b Fix noscrape publishing and pulling, added header 2021-06-17 11:23:32 +00:00
945f482ba3 API: Some more apps are now supported 2021-06-10 19:10:33 +00:00
d917ed58a8 API: Tests with various clients, small fixes 2021-06-10 06:26:34 +00:00
e7bc908655 Renaming the date format to "JSON" 2021-06-02 03:32:42 +00:00
5bd51b156a API: Fix date format 2021-06-01 22:32:05 +00:00
4ac68394c3 Fix warning "reset() expects parameter 1 to be array, null given" 2021-05-23 16:37:34 +00:00
965cd8b096
Fix PHP 7.0 Coding Standards 2021-05-22 23:47:35 +02:00
3d65ef3af2 Indentions 2021-05-19 22:20:56 +00:00
70259965df API: Support for private mails 2021-05-19 21:56:50 +00:00
f001f52e39 API: Fix relationships 2021-05-15 15:02:15 +00:00
45c2cc3887 API: Account actions 2021-05-14 21:51:32 +00:00
55919dbd06 API: The instance record had got a malformatted value 2021-05-14 05:09:11 +00:00
132e08edb8 Whitespaces ... 2021-05-13 11:33:07 +00:00
7975bc244d Refine OAuth flow 2021-05-13 11:26:56 +00:00
bade0a2345 Improved cards handling, simplified Bearer handling 2021-05-11 19:15:05 +00:00
82003bbe47 Login prototype 2021-05-11 06:30:20 +00:00
585d283ff9 Preparation for Oauth client registration 2021-05-09 22:23:21 +00:00
7a576111c7 Code styling 2021-05-09 11:56:34 +00:00
cc5d4db6a3 Notifications are now supported as well 2021-05-09 11:50:05 +00:00
5bb5c44bd9 API: added account related endpoints 2021-05-09 09:35:51 +00:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael Vogel
199f72ee3c
Merge pull request #9823 from MrPetovan/task/9677-2fa-remember-device
Add "Remember this device" feature to two factor authentication
2021-01-27 22:32:08 +01:00
82e094179c Rename notify classes according the feature name, not the table name 2021-01-24 09:33:23 -05:00
0fc5f26ff7 Replace BaseEntity with BaseDataTransferObject class for API representation classes 2021-01-23 05:42:58 -05:00
4157db5473 "item" is replaced by "post-view" / postupdate check added 2021-01-17 20:32:13 +00:00
ba4685dfb1 API: Support for reshared items 2020-11-01 11:01:57 +00:00
c030275815 API: accounts and trends 2020-10-31 22:32:26 +00:00
752f5b09d7 Use the raw body if not null 2020-10-31 16:32:41 +00:00
e6030e5f82 API: Media attachments are now supported 2020-10-31 16:10:27 +00:00
a012234d82 Publish the provider fields in the API 2020-10-26 19:40:09 +00:00
44a4b66539 Improved self contact detection 2020-10-25 20:40:25 +00:00
d8d96e6e61 Display the user fields for the admin account 2020-10-25 20:32:45 +00:00
463f8ee3f3 Use lowercase for tags 2020-10-25 17:59:28 +00:00
825189e8e9 Don't publish some fields 2020-10-25 17:42:42 +00:00
72efcc8169 "locked" is boolean 2020-10-25 16:59:38 +00:00
13b14bff91 Return 'null' on empty card 2020-10-25 16:55:05 +00:00
efcd76d3a7 Spaces to tabs 2020-10-25 16:26:47 +00:00
a643888aeb More data for the Mastodon status class 2020-10-25 16:13:31 +00:00
61014feec3
Fix ContactEndpoint & tests 2020-09-12 10:01:13 +02:00
e45ccea0f2 Tabs instead of spaces 2020-09-08 01:45:59 +00:00
24f1bb4ea1 Class file renamed 2020-09-08 01:44:49 +00:00
Michael Vogel
2bb725fa30
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-09-08 03:39:51 +02:00
59374eb6c6 Use "StatusCounts" class 2020-09-07 18:24:11 +00:00
1bca280eae StdClass instead of arrays 2020-09-07 14:34:05 +00:00
db6282b5e2 API: Counts added, local query improved 2020-09-06 07:12:04 +00:00
90dc60cee7 Replace spaces with tabs 2020-09-03 19:24:30 +00:00
0de372aceb Space replaced 2020-09-03 19:16:42 +00:00
305fe62659 Content is now filled 2020-09-03 19:13:03 +00:00
cd3d4ae4e6 API: New entity "status" 2020-09-03 18:57:18 +00:00
8402450101 Always use the oldest creation data 2020-09-02 04:17:13 +00:00
cbf1e5c699 New field "manually-approve" for contact table 2020-09-02 03:02:50 +00:00
ca9f916ecd Removed comment 2020-09-02 01:45:45 +00:00
7b903e1ca8 The account fields are rearrange to match Mastodon 2020-09-01 20:59:50 +00:00
5bf813d0ec Use "failed" field 2020-07-19 11:42:23 +00:00
173264eaab Add Twitter User Object and Factory 2020-06-08 21:51:42 -04:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +01:00
608e634858 Update Mastodon API with new profile field entity 2020-01-29 23:30:38 -05:00
07a4bb73fa Add DDD classes for Mastodon\Field entity 2020-01-29 23:26:07 -05:00
582f6bd4a3
Refactor API notification usage
- Remove "mapFields()" from BaseModel
- Add new Notification API entity (including collection)
- Add new NotificationFactory method "getApiList()"
2020-01-28 21:28:57 +01:00
bd910342df Add custom emojis Mastodon API endpoint 2020-01-28 08:14:48 -05:00
0de8e4db08 Move Mastodon API entities to src/Object 2020-01-27 20:01:32 -05:00