Commit graph

149 commits

Author SHA1 Message Date
Michael
a3aab4a75a Entities, Source and api functions rearranged 2021-11-24 06:44:25 +00:00
Michael
452cd57437 Fixing tests 2021-11-23 22:02:46 +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
082aa1bf65 Code Standards 2021-11-23 15:21:06 +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
8211cef49d Coding standards, changed database version 2021-11-22 07:39:40 +00:00
Michael
670bbe58a1 API: The status is now an object 2021-11-22 07:28:02 +00:00
Michael
cdedf348e4 Replaced most "api_get_user" calls with newer BaseApi calls 2021-11-17 21:28:51 +00:00
Michael
4236a9a105 Improved http error handling 2021-10-29 23:21:07 +00:00
Philipp
5d92713a8e Rename Depository to Repository 2021-10-23 21:45:36 -04:00
Philipp
a40f503fdd
Move Introduction to new depository paradigm 2021-10-21 21:49:20 +02:00
Philipp
b5d994394e
Fixing PUBLIC usage, Fixing DB-View, Creating tests 2021-10-18 23:32:45 +02:00
Philipp
a9981c792e
Use ProfileField::selectPublicFieldsByUserId 2021-10-18 23:32:39 +02:00
Philipp
1c0f92c382
Move ProfileField from Model to Entity 2021-10-18 23:32:38 +02:00
Philipp
62eb16e9ad
Migrate PermissionSet to Depository paradigm 2021-10-07 19:53:38 +02:00
Hypolite Petovan
7a2d5f6a8e Move notification to the new paradigm 2021-10-02 18:15:45 -04:00
Hypolite Petovan
3e6fea30f2 Create constants for Mastodon notification types 2021-10-02 18:15:44 -04:00
Michael
69f11c4a84 Adding the VAPID keys 2021-08-15 21:24:23 +00:00
Michael
19f3cad56c Preparation for creating push notification 2021-08-15 16:18:25 +00:00
Michael
74f3cbc383 Improved error check, added "put" 2021-08-15 07:28:26 +00:00
Michael
e28a4265c5 API: First steps to support subscriptions 2021-08-15 00:30:41 +00:00
Michael
e89d0f2599 Style 2021-07-31 06:22:08 +00:00
Michael
13529fa97d Support the "media_attachments" field 2021-07-30 22:39:13 +00:00
Michael
9b609ba19d Space added 2021-07-30 14:06:18 +00:00
Michael
48f2790593 Spaces removed 2021-07-30 14:05:57 +00:00
Michael
929de9081e All needed fields are now filled 2021-07-30 13:22:06 +00:00
Michael
93263a820d Function renamed, documentation added 2021-07-30 10:24:08 +00:00
Michael
6ea3d4aa61 Added API calls, removed fields 2021-07-29 10:34:31 +00:00
Michael
01fd128502 API: Support for fetching mails with more "statuses" calls 2021-07-21 05:58:22 +00:00
Michael
c01ca1583c Added permission check 2021-07-20 21:45:42 +00:00
Michael
d267ba999c We now use the new account-user-view (and fixed the function name) 2021-07-11 09:39:34 +00:00
Michael
c89547aead Only proxify images 2021-06-27 19:06:05 +00:00
Michael
b46b7b08ba Reduce the usage of the "proxifyUrl" function 2021-06-27 11:50:10 +00:00
Philipp
5a6c5e9a17
Fix wrong attachement index 2021-06-20 22:33:05 +02:00
Philipp
d4387d45ee
Cleanup Code 2021-06-20 13:25:45 +02:00
Philipp
322f0b3ecf
Cleanup Mastodon Factories 2021-06-20 13:25:45 +02:00
Michael
11d2440425 New functions for the post-view view 2021-06-16 10:16:01 +00:00
Michael
84028d7342 Proxify the media url 2021-06-11 03:51:11 +00:00
Michael
4ea30af752 Videos are now working as well 2021-06-10 19:55:43 +00:00
Michael
d3833f63e0 Fix account id of notifications 2021-06-01 22:00:12 +00:00
Michael
842cbbaf09 Added notifications for follow requests 2021-06-01 21:13:16 +00:00
Michael
49459821be Renamed function 2021-06-01 14:23:12 +00:00
Michael
3f0937dd42 API: Show activity notifications 2021-06-01 05:51:03 +00:00
Michael
c076545e3b API: Only show "bookmarked" on top level post 2021-05-27 10:49:15 +00:00
Michael
6fe916a390 API: improved mail handling 2021-05-22 13:37:04 +00:00
Michael
e10f3f26b9 Removed unused parameter 2021-05-20 04:44:45 +00:00
Michael
db8b0b9666 The next mail endpoint is done 2021-05-20 04:39:45 +00:00
Michael
3d65ef3af2 Indentions 2021-05-19 22:20:56 +00:00
Michael
c1212dce03 Indentions 2021-05-19 22:09:25 +00:00
Michael
70259965df API: Support for private mails 2021-05-19 21:56:50 +00:00
Michael
3172b0bcf2 Log API errors 2021-05-19 09:03:41 +00:00
Michael
49207a8624 Added scope check 2021-05-16 07:37:11 +00:00
Michael
f001f52e39 API: Fix relationships 2021-05-15 15:02:15 +00:00
Michael
b34ee320b0 API: Many item related endpoints added 2021-05-15 10:08:47 +00:00
Michael
45c2cc3887 API: Account actions 2021-05-14 21:51:32 +00:00
Michael
7975bc244d Refine OAuth flow 2021-05-13 11:26:56 +00:00
Michael
d1e109d9be Improved error handling 2021-05-12 03:05:22 +00:00
Michael
975c32116d Handling media in shared posts 2021-05-11 23:10:59 +00:00
Michael
8eacfbc570 Fix context order / notice fixed 2021-05-11 19:53:19 +00:00
Michael
bade0a2345 Improved cards handling, simplified Bearer handling 2021-05-11 19:15:05 +00:00
Michael
82003bbe47 Login prototype 2021-05-11 06:30:20 +00:00
Michael
1ee1507f3b Whitespaces ... 2021-05-09 22:26:32 +00:00
Michael
585d283ff9 Preparation for Oauth client registration 2021-05-09 22:23:21 +00:00
Michael
a696b7f427 Renamed functions 2021-05-09 18:44:08 +00:00
Michael
1c6e915514 Media is now supported as well 2021-05-09 12:59:23 +00:00
Michael
f5c7f9670f Remove blanks 2021-05-09 11:54:34 +00:00
Michael
cc5d4db6a3 Notifications are now supported as well 2021-05-09 11:50:05 +00:00
Michael
5bb5c44bd9 API: added account related endpoints 2021-05-09 09:35:51 +00:00
Michael
dd38cc330f API: We now support two more timeline api endpoints 2021-05-07 21:28:48 +00:00
Michael
8685e5ca32 Reworked media handling 2021-04-26 06:50:12 +00:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael
ce6ad1aa73 Get rid of the "item" table, enhanced "post" tables 2021-02-13 19:56:03 +00:00
Michael
c1d99d6c4c Most user-item traces removed 2021-01-31 23:37:34 +00:00
Michael
2b1d0b9db8 "selectForUser" and "" selectFirstForUser" is now moved to Post 2021-01-16 22:37:27 +00:00
Michael
2fa692bcce New post class in the rest of the classes 2021-01-16 04:16:09 +00:00
Michael
d666501ee0 Fix fatal error 2020-12-29 22:14:54 +00:00
Hypolite Petovan
8c1e2b9800 Throw exception when item doesn't exist in Factory\Api\Mastodon\Status->createFromUriId
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-750464977
2020-12-27 21:15:21 -05:00
Michael
ba4685dfb1 API: Support for reshared items 2020-11-01 11:01:57 +00:00
Michael
c030275815 API: accounts and trends 2020-10-31 22:32:26 +00:00
Michael
e6030e5f82 API: Media attachments are now supported 2020-10-31 16:10:27 +00:00
Michael
a012234d82 Publish the provider fields in the API 2020-10-26 19:40:09 +00:00
Michael
44a4b66539 Improved self contact detection 2020-10-25 20:40:25 +00:00
Michael
d8d96e6e61 Display the user fields for the admin account 2020-10-25 20:32:45 +00:00
Michael
319ceeda3b Publish the profile fields 2020-10-25 18:21:18 +00:00
Michael
a643888aeb More data for the Mastodon status class 2020-10-25 16:13:31 +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
Michael
59374eb6c6 Use "StatusCounts" class 2020-09-07 18:24:11 +00:00
Michael
1bca280eae StdClass instead of arrays 2020-09-07 14:34:05 +00:00
Michael
db6282b5e2 API: Counts added, local query improved 2020-09-06 07:12:04 +00:00
Michael
cd3d4ae4e6 API: New entity "status" 2020-09-03 18:57:18 +00:00
Hypolite Petovan
173264eaab Add Twitter User Object and Factory 2020-06-08 21:51:42 -04:00
Michael
0cf517ad76 Use constants for the BBCode modes 2020-05-16 16:28:15 +00:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +01:00
Hypolite Petovan
608e634858 Update Mastodon API with new profile field entity 2020-01-29 23:30:38 -05:00
Hypolite Petovan
07a4bb73fa Add DDD classes for Mastodon\Field entity 2020-01-29 23:26:07 -05:00
Hypolite Petovan
bd910342df Add custom emojis Mastodon API endpoint 2020-01-28 08:14:48 -05:00
Hypolite Petovan
1ac9107e5f Move Mastodon API factories to Factory\Api\Mastodon 2020-01-28 07:33:55 -05:00