Roland Häder
37bda3e5fb
Changes:
...
- fixed wrong type-hint uid => int
- added returned type-hint
- added some documentation
- formatted arrays a bit
2022-07-29 00:08:38 +02:00
Michael
5a16a424ac
Issue 11309: improved check for wanted posts
2022-03-12 07:08:10 +00:00
Michael
bf5c8a2c43
API: several fixes to the Twitter/Statusnet API
2022-02-25 19:16:40 +00:00
Michael
29d83c0ffb
Block communication with Diaspora for communities
2022-02-15 07:08:02 +00:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01: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
561aba18e3
Introduce Response
for Modules to create a testable way for module responses
2021-11-27 12:40:38 +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
Philipp
645e4edc63
Revert "Revert "Replace Module::init() with Constructors""
...
This reverts commit 89d6c89b67
.
2021-11-19 20:18:48 +01:00
Hypolite Petovan
89d6c89b67
Revert "Replace Module::init() with Constructors"
2021-11-19 07:23:23 -05:00
Philipp
dab9e13c69
Replace $this->l10n->t() with $this->t() for Modules
2021-11-18 23:23:58 +01:00
Philipp
ce578a7745
Replace Module::init() with Constructors
2021-11-17 22:14:33 +01: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
Michael
4236a9a105
Improved http error handling
2021-10-29 23:21:07 +00:00
Hypolite Petovan
02e08d5fbc
Use router parameters in Diaspora\Receive
2021-10-26 14:56:47 -04:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Michael
c947b7f211
"print_r" in logging replaced / obsolete stuff removed
2020-06-29 20:22:00 +00:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes
2020-02-09 15:45:36 +01:00
nupplaPhil
c1dbb25656
Creating interfaces for Config/PConfig & fix tests
2019-12-29 20:18:19 +01:00
nupplaPhil
388b963714
Replace BaseObject class with DI::* calls
2019-12-29 20:17:38 +01:00
Michael
8c03bdada9
parameters now are having a default value and are optional
2019-11-05 21:48:54 +00:00
Michael
bd62d548db
Added parameters
2019-11-05 20:22:54 +00:00
Philipp Holzer
a83dfc11a0
Fixing https://github.com/friendica/friendica/pull/7759#discussion_r337102107
2019-10-24 21:43:20 +02:00
Philipp Holzer
a25d841b85
some improvements
2019-10-21 17:29:53 +02:00
Philipp Holzer
2a41f0b104
wrong field
2019-10-21 11:34:47 +02:00
Philipp Holzer
7716374593
Move mod/receive to src/Module/Diaspora/receive
...
- Added routes
- Make Diaspora::decode(Raw) more explicit
- Add new User::getByGuid() method
2019-10-20 13:07:16 +02:00