1
0
Fork 0
Commit graph

66 commits

Author SHA1 Message Date
1ae7cac236 Move mod/ping to module class 2022-03-14 07:57:41 -04:00
b7cee324b0 Add legacy notification endpoint for deprecated Notify entity
- Add dependencies to Notifications\Notification module class
2022-03-14 07:56:21 -04:00
7ce97459d4 Deprecated the notify table/classes 2022-03-14 07:56:20 -04:00
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
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
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
bf0782dc6b
Rename setIgnore() to ignore() 2021-10-21 21:49:22 +02:00
a40f503fdd
Move Introduction to new depository paradigm 2021-10-21 21:49:20 +02:00
e91ba2b992 Check if the string representation of Notify->link is empty in Module\Notifications\Notification
- The property is a Url object which will always return true when tested for truthy value
2021-10-03 11:34:23 -04:00
8a1a2f658c Create new DI shorthands for notification-related factories 2021-10-02 18:15:45 -04:00
7a2d5f6a8e Move notification to the new paradigm 2021-10-02 18:15:45 -04:00
bc0734e0f1 Move notification introductions to the new paradigm 2021-10-02 18:15:45 -04:00
47acb6a278 Move notify to the new paradigm
- Remove unused frion notify template
- Update API test
2021-10-02 18:15:42 -04:00
3a5523820c Legacy DFRN transport layer is removed 2021-07-15 13:28:32 +00:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
241cd32b14 Replace obsolete calls to $APP->is_mobile in templates 2020-12-23 03:25:55 -05:00
b2666e7794 Escape user name in introduction fields help text
- HTML help text aren't escaped in the template

# Conflicts:
#	src/Module/Notifications/Introductions.php
2020-11-16 18:21:11 -05:00
8fe5da930a Only set the current notify as seen when user enabled detailed notifications 2020-11-09 11:41:21 -05:00
fb50a43ac0 New function for contact suggestions 2020-09-28 21:33:40 +00:00
61fee84c15 Functionality to add suggestions 2020-09-27 18:58:02 +00:00
0007da8630 EOL removed 2020-07-23 06:25:01 +00:00
3fc3ded750 Useless info messages removed 2020-07-23 06:11:21 +00:00
nupplaPhil
55a5e43715
Add UID as parameter for notify repository call 2020-03-01 22:24:53 +01:00
nupplaPhil
c11cfd5e48
Rename notice message. 2020-03-01 15:38:23 +01:00
nupplaPhil
c751352d60
Add Login form in case of notification links 2020-03-01 13:47:02 +01:00
3bd1f3a836 No more gender 2020-02-16 10:55:18 +00:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +01:00
557ece7d5a Remove unused translated yes/no labels in converted checkbox field definitions 2020-02-06 10:25:36 -05:00
5bbe02dcae Remove a notice about a missing variable 2020-02-05 21:40:35 +00:00
0b66970ec9 Acessibility: Improve navigation and contact approval 2020-02-05 16:14:04 +00:00
7909d9c417
Notifications cleared for a whole thread in case of one mark seen 2020-01-31 21:34:12 +01:00
d1b7bfda4b
Add System::jsonExit() 2020-01-28 23:36:28 +01:00
c2b8c65104
Merge "notification" routes 2020-01-28 23:21:24 +01:00
dd8d9d7c70
Fix ignore notification 2020-01-28 22:47:15 +01:00
0840938dff
Rename classes
- Repository/Model Notification => Notify
- Factory/Object Notification => Notification
2020-01-26 20:30:24 +01:00
b85511b00d
Improvements:
- Fix API-select
- Introduce OTYPE-constants
- Rename `IntroductionFactory` methods
2020-01-26 14:33:10 +01:00
74f3a2f90c
Fix API result, add PHPDoc and cleanup object construction
Fix missing getters
fix data array
fix missing "$" for template-variables
Remove lazy-loaded parent notification instance (for now..)
2020-01-25 21:15:01 +01:00
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
b229939c3d
rename CSS attributes notify => notification 2020-01-24 18:56:34 +01:00
b016e420fe
notify_type => str_type
str_notifytype => st_notification_type
2020-01-24 18:39:50 +01:00
0f932ae723
Notify => Notification
Notifs => Notifications
2020-01-24 18:32:38 +01:00
5c4eb2b2c9
Move templates into sub-dir "notifications" 2020-01-23 00:16:34 +01:00