Commit graph

13 commits

Author SHA1 Message Date
Philipp Holzer 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
Philipp Holzer 489cd0884a
Make BaseModule methods dynamic 2021-11-14 23:49:06 +01:00
Philipp Holzer 714f0febc4
Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
nupplaPhil 23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +01:00
Hypolite Petovan 75a2190af5 Move Module\Base\Api to Module\BaseApi 2020-01-27 21:18:42 -05:00
Hypolite Petovan 0de8e4db08 Move Mastodon API entities to src/Object 2020-01-27 20:01:32 -05:00
Hypolite Petovan 5a1abb8c7d Introduce Mastodon entity factories and API\Entity 2020-01-06 21:39:05 -05:00
Hypolite Petovan cb7875b035 Rename Api\Mastodon\Account::createFromContact to just create
- Retrieve public contact in Api\Mastodon\FollowRequests instead of user contact
2019-12-30 06:12:50 -05:00
Hypolite Petovan 015db25d9f Replace obsolete references to App baseURL and getApp by DI 2019-12-29 21:50:15 -05:00
Michael 9296a55dfb Added entities 2019-12-11 06:51:59 +00:00
Michael 4e2804d783 Added some more data 2019-12-10 23:05:25 +00:00
Michael 1958bde4c0 API: Added endpoints /instance and /instance/peers 2019-12-10 21:27:09 +00:00