1
0
Fork 0
Commit graph

32 commits

Author SHA1 Message Date
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
561aba18e3
Introduce Response for Modules to create a testable way for module responses 2021-11-27 12:40:38 +01:00
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
645e4edc63
Revert "Revert "Replace Module::init() with Constructors""
This reverts commit 89d6c89b67.
2021-11-19 20:18:48 +01:00
89d6c89b67
Revert "Replace Module::init() with Constructors" 2021-11-19 07:23:23 -05:00
dab9e13c69
Replace $this->l10n->t() with $this->t() for Modules 2021-11-18 23:23:58 +01:00
ce578a7745
Replace Module::init() with Constructors 2021-11-17 22:14:33 +01:00
5879535822
Switch static::$parameters to $this->parameters 2021-11-14 23:49:07 +01:00
489cd0884a
Make BaseModule methods dynamic 2021-11-14 23:49:06 +01:00
714f0febc4
Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
df558d4056 Completely removed argc/argv 2021-07-25 15:23:37 +00:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
0c14f41873 Use an exception 2021-01-21 21:53:19 +00:00
fbcc59cc1d Some more removed functionality from FileTag class 2021-01-21 20:25:06 +00:00
d2ea3eabfb Replace legacy file/category handling 2021-01-21 07:16:41 +00:00
3fc3ded750 Useless info messages removed 2020-07-23 06:11:21 +00:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +01:00
d6efc90194
cleanup namespace usages for L10n 2020-01-19 16:31:33 +01:00
5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:16 +01:00
800694e9b3
Remove unused use statements & remove PConfig class 2020-01-18 17:02:59 +01:00
9e9429b56d
Move PConfig::get() to DI::pConfig()->get() 2020-01-18 16:50:57 +01:00
8e6973b774
Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect() 2019-12-29 20:17:43 +01:00
e2b2778e0a
Refactor dynamic App::getLogger() to static DI::logger() 2019-12-29 20:17:41 +01:00
1de3f186d7
Introduce new DI container
- Adding Friendica\DI class for getting dynamic classes
- Replacing BaseObject::getApp() with this class
2019-12-29 20:16:55 +01:00
8c03bdada9 parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
bd62d548db Added parameters 2019-11-05 20:22:54 +00:00
abe6724629 Added parameter to rawContent 2019-11-05 19:16:26 +00:00
f59ea2af55 Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
Philipp Holzer
c76258c370
catching nulls for FileTag 2019-05-30 13:54:35 +02:00
ed768c71ee Remove "f=&" nonsense from network module
- Fixes wrong redirect when using the sidebar filters
2019-05-27 17:45:27 -04:00
0fadc7730c Replace deprecated string-bases Model\FileTag calls with array-based ones 2019-05-27 17:40:08 -04:00
a052b098fc
Move mod/filerm to src/Module/FilerM 2019-05-05 10:02:10 +02:00