Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +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
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
15b93b4459
"getUserNickname" is now "getLoggedInUserNickname"
2021-08-09 19:48:39 +00:00
b8fa75b2dd
Changed function name
2021-08-09 15:29:07 +00:00
fc283ab928
Remove direct calls to App->user
2021-08-08 10:14:56 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02: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
6d7362da41
Replace deprecated $a->page with DI::page()
2019-12-30 20:02:09 +01:00
e6f61c2cc7
Remove deprecated App::query_string - replace with DI::args()->getQueryString()
2019-12-29 20:17:50 +01:00
e944d7bed6
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get()
2019-12-29 20:17:48 +01:00
8e6973b774
Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect()
2019-12-29 20:17:43 +01:00
fceb4f3823
Refactor dynamic App::getConfig() to static DI::config()
2019-12-29 20:17:40 +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
aa5771cf3e
Move Login/Logout/TwoFactor to bundled submodule "Security"
2019-12-27 22:19:28 +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
f4d06ebd47
Remove useless theme session variable deletions in modules
2019-10-06 12:08:15 -04:00
dc9c9040e5
Bugfixing Home
2019-05-05 10:47:08 +02:00
35d4daa4f9
Kept the hook, ditched the init
2019-05-04 16:26:32 +02:00
708ffaff51
Move mod/home to src/Module/Home
2019-05-04 13:08:31 +02:00