Commit graph

257 commits

Author SHA1 Message Date
Hypolite Petovan
7a2d5f6a8e Move notification to the new paradigm 2021-10-02 18:15:45 -04:00
Hypolite Petovan
bc0734e0f1 Move notification introductions 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
Hypolite Petovan
47acb6a278 Move notify to the new paradigm
- Remove unused frion notify template
- Update API test
2021-10-02 18:15:42 -04:00
Philipp
80753ed1b6
Remove disturbing/superfluous logging messages 2021-10-02 23:11:33 +02:00
Philipp
27e4586597
Move path determination logic into the ConfigFactory 2021-09-12 13:44:29 +02:00
Philipp
478f69c403
Realy fix setCookieJar 2021-08-25 21:32:44 +02:00
Philipp
749f3e158b
Use temporary files for the URLResolver CookieJar 2021-08-25 20:39:33 +02:00
Philipp
4ddaf49f53
Revert setCookieJar() and add overwrite parameter fpr rare cases 2021-08-25 18:01:07 +02:00
Philipp
12367648fa
Add suggestions 2021-08-25 14:22:43 +02:00
Philipp
d4a233a149
Extend test capability for HTTP Requests 2021-08-25 14:22:43 +02:00
Philipp
8385ee7a61
Use mattwright/urlresolver for HTTPClient::finalUrl() 2021-08-25 14:22:42 +02:00
Philipp
e576af218b
Use Guzzle for HTTPClient::post() 2021-08-25 14:22:42 +02:00
Philipp
736277dcf0
Refactor HTTPClient::get() / ::head() 2021-08-25 14:22:42 +02:00
Philipp
52c7948526
Create HTTPClientFactory and introduce ImageTest 2021-08-25 14:22:42 +02: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
15b93b4459 "getUserNickname" is now "getLoggedInUserNickname" 2021-08-09 19:48:39 +00:00
Michael
b8fa75b2dd Changed function name 2021-08-09 15:29:07 +00:00
Michael
fc283ab928 Remove direct calls to App->user 2021-08-08 10:14:56 +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
ab24f58bad Parser is now session 2021-07-27 13:56:28 +00:00
Michael
c89533a70b Support for stacked profiler analysis 2021-07-27 04:57:29 +00:00
Michael
30aad250df App->contact is now removed 2021-07-24 11:49:11 +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
Hypolite Petovan
82e094179c Rename notify classes according the feature name, not the table name 2021-01-24 09:33:23 -05:00
Michael
4157db5473 "item" is replaced by "post-view" / postupdate check added 2021-01-17 20:32:13 +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
deb6b7a7c3 Fallback to database lock if locking fails 2020-11-16 19:46:20 +00: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
097e3d6dcc Fix Fatal error: Uncaught TypeError: Argument 1 passed to Friendica\Model\Contact::getByURL() must be of the type string, null given 2020-10-20 15:15:33 +00:00
Philipp
d39ee428f0
Introduce "static/env.config.php" for environment variable mapping to config cache entries
- Added new database.port config value (used for MYSQL_PORT)
- Removed now obsolete db environment variable functionality
- Added functionality to load env variables (overwrites DB based cached)
2020-10-06 20:43:29 +02: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
Michael
d9fc0ae0ea Using a constant value for the default avatar 2020-08-18 20:30:24 +00:00