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
14988ddf19
Replaced DI:: calls at BaseNotifications.phpt
2021-11-18 21:23:43 +01:00
Philipp
ce578a7745
Replace Module::init() with Constructors
2021-11-17 22:14:33 +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
47acb6a278
Move notify to the new paradigm
...
- Remove unused frion notify template
- Update API test
2021-10-02 18:15:42 -04:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Hypolite Petovan
561472b975
Add L10n parameter to Pager classes
2020-02-16 12:50:39 -05:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes
2020-02-09 15:45:36 +01:00
nupplaPhil
dd8d9d7c70
Fix ignore notification
2020-01-28 22:47:15 +01:00
nupplaPhil
0850fb88dd
ReWork Notification Model/Module/Object/Repository/Factory
...
- Introduce Repository for interaction with "notify" table
- Introduce Factory for read-only notification objects (they're just loosely based on notification the table!)
- Introduce Objects for type-safe usage at the presentation layer
- Reworked Model, which is now fully based on the notify table, including generated fields (cache, ..)
2020-01-25 19:58:22 +01:00
nupplaPhil
b229939c3d
rename CSS attributes notify => notification
2020-01-24 18:56:34 +01:00
nupplaPhil
16b1d3fc08
Notifies => Notifications
2020-01-24 18:34:29 +01:00
nupplaPhil
0f932ae723
Notify => Notification
...
Notifs => Notifications
2020-01-24 18:32:38 +01:00
nupplaPhil
5c4eb2b2c9
Move templates into sub-dir "notifications"
2020-01-23 00:16:34 +01:00
nupplaPhil
512b00550e
rename some variables
2020-01-22 23:37:23 +01:00
nupplaPhil
d0c153943a
Add phpdoc
2020-01-22 23:31:00 +01:00
nupplaPhil
fa6c33d3ac
Move mod/notifications to Module\Notification
2020-01-22 23:18:14 +01:00