Michael
b6fcfebd56
Switch parameters
2023-01-25 20:14:33 +00:00
Michael
49d513f8d2
API: added positiv list for quote support
2023-01-25 06:26:17 +00:00
Michael
c471a78b05
Issue 12358: Allow blocking of every contact
2023-01-23 21:44:30 +00:00
Hypolite Petovan
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
Michael
de1c0f4c13
Don't display Diaspora reshares
2022-12-20 19:25:57 +00:00
Michael
6965614f00
API: Only search for direct hit without offset
2022-12-06 18:47:43 +00:00
Michael
4f98d2c74a
Issue 11915: Show reshared posts for contacts
2022-12-04 21:57:58 +00:00
Michael
5c74113bf6
Issue 12275: Banner upload via avatar does work now
2022-12-04 16:33:29 +00:00
Michael
36c7aea214
Debug code removed
2022-12-03 15:37:40 +00:00
Michael
e4dda7d2ca
Issue 11553: Reliably return the user's contacts
2022-12-03 14:19:48 +00:00
Michael
1d00947bcd
Don't fetch sugestions for the system user / catch error on contact timeline
2022-12-01 07:07:59 +00:00
Michael
8b41d62a88
API: Speed improvements
2022-11-29 18:45:30 +00:00
Michael
acfc11c436
Issue 12133: Account data can now be updated via API
2022-11-26 08:56:24 +00:00
Tobias Diekershoff
4b5c6994b2
Merge pull request #12122 from annando/issue-2657
...
Issue 2657: Mentions will now be recognized by clients
2022-11-06 09:13:45 +01:00
Michael
bc7d21183d
Issue 11831: Activate "notify on new post" via API
2022-11-06 06:11:22 +00:00
Michael
40fb820aef
Unused use removed
2022-11-06 06:00:19 +00:00
Michael
56ac879c92
Issue 2657: Mentions will now be recognized by clients
2022-11-06 05:43:34 +00:00
Michael
db12814f3b
Improved url detection
2022-11-05 22:32:56 +00:00
Michael
70d0f087b7
Issue 12096: Improve account search
2022-11-05 22:08:28 +00:00
Roland Häder
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
Michael
4cf46b9770
API: Use the type field in the query for pinned posts
2022-06-11 06:05:55 +00:00
Michael
176f0c1216
API: Improve the performance for fetching pinned posts
2022-06-10 22:38:46 +00:00
Michael
171354181d
Use central function to fetch the global directory
2022-04-26 18:33:58 +00:00
Michael
75bc4eccb7
Display featured posts for contacts
2022-04-07 21:52:25 +00:00
Hypolite Petovan
6a1f9a7fa3
Move unfollow protocol to worker task
...
- Add uid parameter to unfollow hook
- Rework and unify Contact::unfollow, Contact::removeSharer and Contact::terminateFriendship
- Add missing twitterUser property to Twitter\Friendships\Destroy module
2022-02-24 09:35:54 -05:00
Philipp
a3a32af5c1
Add feedback
2022-01-04 20:59:27 +01:00
Philipp
9c8d9e83ac
Fix empty accounts[] bug
2022-01-04 20:59:27 +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
Philipp
fb1e8e75f5
Add response for JSON only
2021-12-06 00:12:18 +01:00
Philipp
cc7b2fae4e
Re-enable AccountVerifyCredentials test
2021-12-05 20:33:59 +01:00
Michael
d57cb05a24
Fix: array_reverse returns the reversed content as return value
2021-12-05 06:22:04 +00:00
Philipp
2e4d654c0a
Make $_REQUEST processing independent of sub-calls
...
- Move HTTPInputData::process() into App::runFrontend()
- Pass $_REQUEST (including processed Input) to every Module method
- Delete $_POST parameters at Module post() calls because of $_REQUEST
2021-11-30 01:07:58 -05:00
Philipp
f580d8e5c0
extract "BaseApi::checkDefaults()" method for later usage
2021-11-30 01:07:57 -05:00
Hypolite Petovan
9cc675233d
Add a second parameter to BaseApi::getRequest to enable API tests
2021-11-27 18:38:09 -05:00
Philipp
537b74f307
Inherit ApiResponse
from Response
2021-11-27 12:40:54 +01:00
Philipp
8bdd90066f
Make BaseModule
a real entity
...
- Add all dependencies, necessary to run the content (baseUrl, Arguments)
- Encapsulate all POST/GET/DELETE/PATCH/PUT methods as protected methods inside the BaseModule
- Return Module content ONLY per `BaseModule::run()` (including the Hook logic there as well)
2021-11-27 12:40:36 +01:00
Hypolite Petovan
84e7f65d52
Move sending follow message to remote server to Protocol class
2021-11-21 18:59:36 -05:00
Michael
87084a3e85
Fix followers/following for the Mastodon API
2021-11-21 14:47:18 +00:00
Philipp
5879535822
Switch static::$parameters
to $this->parameters
2021-11-14 23:49:07 +01:00
Philipp
489cd0884a
Make BaseModule methods dynamic
2021-11-14 23:49:06 +01:00
Philipp
714f0febc4
Replace $parameters
argument per method with static::$parameters
2021-11-14 23:49:05 +01:00
Philipp
5bfcc8b91c
Transform ApiResponse::unspported() into dynamic method
2021-11-12 20:07:05 +01:00
Philipp
319f91301d
Move API Response methods into an own class to make them mockable
2021-11-12 19:52:01 +01:00
Hypolite Petovan
bd42f5757f
Implement relationship termination for Mastodon block
...
- This is the expected Mastodon behavior on block
2021-10-02 17:30:07 -04:00
Michael
9c14eb0c6b
Use centralized function to update contact entries
2021-09-10 18:21:19 +00:00
Michael
e28a4265c5
API: First steps to support subscriptions
2021-08-15 00:30:41 +00:00
Michael
432206bc5b
Use router constants
2021-07-30 06:19:02 +00:00
Michael
ec08784aa3
API: Added dummy endpoint for featured tags
2021-07-21 05:22:56 +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