Commit graph

100 commits

Author SHA1 Message Date
0a45bdd3b7 Preparations for a moderator role 2023-08-10 21:06:08 +00:00
f984e385c8 Escape HTML in system messages
- Thanks to Laura Pîrcălăboiu for the report
2023-08-02 16:59:08 +02:00
7e322c21b3 Removed unneeded parameter 2023-07-16 16:48:24 +00:00
08dafd6d70 Use plaintext for names and titles 2023-07-16 07:26:20 +00:00
8bb33dccd1 Unified BBCode conversion, improved proxy functionality 2023-07-15 20:12:08 +00:00
3385147f25 Replace "forum" by "group" in the rest of the code 2023-06-02 13:52:41 -04:00
4f7740264e Replace "group" with "circle" in the rest of the code
- Remaining mentions already mean "forum"
2023-05-27 22:01:45 -04:00
f0c29edcde
Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
2d624e900d Suppress notifications for forum users in Module\Notifications\Ping
- The bell icon is already hidden for them but the notification number showed in the page title
2022-12-14 22:01:14 -05:00
d87585477c Delete introductions when referenced contact id doesn't exist anymore in Ping module
- Address part of https://github.com/friendica/friendica/issues/11993#issuecomment-1338134893
2022-12-10 11:42:03 -05:00
71ab9e13f2 Flatten arbitrary contact structure in constructor of FormattedNavNotification 2022-11-10 10:41:02 -05:00
0a20566199 Replace remaining occurrences of admin/users route by moderation/users 2022-11-08 04:26:11 -05:00
6c745c8522 Remove non-top-level posts from notification labels when network sort order is "received"
- These posts don't alter the network view in this sort order and so are distracting with no actionable benefits
2022-11-04 06:42:38 -04:00
8092bfe277 Remove dependency on DI in Notifications\Ping module 2022-11-04 06:42:38 -04:00
fa123bd765 Rename Repository\Notify->NotifyOnDesktop to shouldShowOnDesktop
- New name better reflect the behavior
2022-11-04 06:42:37 -04:00
2c7a60eb0e Replace remaining "follow" route instances to "contact/follow" 2022-11-01 09:41:39 -04:00
b4b9f426db
Fix missing/wrong IHandleUserSessions usages 2022-10-23 11:32:43 +02:00
eecc456e0c
UserSession class [5] - Refactor src/Module/ files with DI 2022-10-20 22:59:39 +02:00
979e226d27 Suppress repetitive "missing cache key ping:events:XX" when there are no upcoming events 2022-10-19 09:17:28 -04:00
ae6d67ed1f old boot.php functions replaced in src/module (3) 2022-10-19 09:14:24 -04:00
c9f17e1ef5 old boot.php functions replaced in src/module (2) 2022-10-19 09:06:09 -04:00
fdfa1f8630 The notice and info have been moved 2022-10-17 18:55:22 +00:00
1b2182c43c Move system messages from boot to own class 2022-07-27 11:54:50 -04:00
e57e1ba1e5 Make network counts at the group level system level configurable 2022-07-08 15:29:34 -04:00
1dccc31508 Issue 11469: Repect desktop notification settings 2022-05-29 09:20:06 +00:00
4a22034be6 Unified output via the "httpExit" function 2022-04-10 08:31:55 +00:00
e4a5094c90 Don't show double introductions 2022-03-19 18:38:59 +00:00
1fe756b5b6 Fixes for the notifications 2022-03-19 09:27:49 +00:00
04ac4841f9 Add support for notification visibility settings 2022-03-16 22:03:26 -04:00
a07f840c74 Add correct ordering for detailed notifications 2022-03-15 07:05:59 -04:00
36e85b01c6 Hide like notifications from menu again 2022-03-14 22:56:46 -04:00
73c7b88fb2 Add exception when message is empty in FormatteNavNotification::createFromNotification
- Filter out message less notifications in Ping
2022-03-14 22:56:44 -04:00
49971b1465 Switch data source from notify to notification in Module\Notifications\Ping
- Change unused FormattedNotification classes to FormattedNavNotification classes
2022-03-14 07:58:38 -04:00
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