Hypolite Petovan
9e71610711
Make BaseApi->checkAllowedScope into an object method
...
- It isn't called from static contexts anymore
2023-10-11 09:43:57 -04:00
Hypolite Petovan
642baa1f2a
Rename ApipResponse->exit* methods to better show their meaning
2023-09-24 07:08:16 -04:00
Hypolite Petovan
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05: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
Roland Häder
eaed3945d1
Changed:
...
- used `$this->getRequestValue($request, 'foo', <bar>)` instead of `$request['foo'] ?? <bar>`
- fixed wrong variable naming
- changed double-quotes to single
- see https://github.com/friendica/friendica/issues/11631#issuecomment-1196410497
2022-07-29 00:38:46 +02:00
Michael
bf5c8a2c43
API: several fixes to the Twitter/Statusnet API
2022-02-25 19:16:40 +00:00
Michael
720a43461d
Fixed max value check, improved request value fetching
2022-01-16 15:22:35 +00:00
Michael
7b68a5956e
Improved handling of boolean input values
2022-01-16 09:24:35 +00: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
f9c490b29a
Reenable Twitter/UserTimeline tests
2021-12-09 21:23:58 +01:00
Philipp
a88cc8d5c8
Replace DI::apiResponse()->exit()
with $this->response->exit()
2021-11-30 01:08:00 -05:00
Philipp
056702c1e0
Fixing wrong inherited methodsyntax
2021-11-27 19:58:24 +01:00
Michael
fb47389c69
API: Fix profile_url handling / missing constant
2021-11-26 07:55:02 +00:00
Michael
6d1d4789f1
Standards ...
2021-11-24 23:35:01 +00:00
Michael
bd1306d020
Removed whitespace
2021-11-24 23:20:42 +00:00
Michael
c4d52feea5
Many API calls moved
2021-11-24 23:03:34 +00:00