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
04a0cd9301
Add feedback
2021-11-18 21:25:09 +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
Hypolite Petovan
0a592fbf34
Abort early if owner isn't found in Module\RemoteFollow
...
- Address https://github.com/friendica/friendica/issues/10473#issuecomment-899099987
2021-08-17 09:38:35 -04:00
Michael
2502a9192d
Many more app-variables removed
2021-07-24 10:09:39 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Michael
d6bf7f2cda
Replace "Probe::uri" with "Contact::getByURL"
2020-07-16 10:22:14 +00:00
Michael
e379698227
Issue 8675: reduce requests of foreign pages
2020-06-01 21:52:31 +00:00
Michael
9cbea34fa4
Clean the profile URL when follow
2020-02-22 12:29:33 +00:00
Michael Vogel
5ad3a40647
Update src/Module/RemoteFollow.php
...
Co-Authored-By: Philipp <admin+Github@philipp.info>
2020-02-09 23:12:00 +01:00
Michael
e628d2726b
Removed unneeded stuff
2020-02-09 22:08:59 +00:00
Michael
2eebeeaa32
New page for remote follow requests
2020-02-09 17:04:35 +00:00