Commit graph

19 commits

Author SHA1 Message Date
Michael 89e7420237 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
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
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 a3173ccb50 Define reasonable min and max values 2022-01-16 15:03:01 +00:00
Michael 4724000d06 Unify request value handling 2022-01-16 14:04:20 +00:00
Michael 7b68a5956e Improved handling of boolean input values 2022-01-16 09:24:35 +00:00
Balázs Úr e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Philipp Holzer a88cc8d5c8 Replace DI::apiResponse()->exit() with $this->response->exit() 2021-11-30 01:08:00 -05:00
Philipp Holzer 056702c1e0
Fixing wrong inherited methodsyntax 2021-11-27 19:58:24 +01:00
Michael 97719ca207 Standards 2021-11-24 23:36:41 +00:00
Michael 6d1d4789f1 Standards ... 2021-11-24 23:35:01 +00:00
Michael 556bcfe78f Some more standards 2021-11-24 23:28:06 +00:00
Michael 260ee13d07 Standards 2021-11-24 23:24:35 +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