1
0
Fork 0
Commit graph

80 commits

Author SHA1 Message Date
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
150c0e0750 Address some PHP 8.1 deprecation notices
- Replace a strstr call by strpos in Model\APContact
- Simplify conditions in Protocol\DFRN
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1331012289
2022-11-29 21:37:41 -05:00
25e1412174 Remove related notifications when marking an item for deletion 2022-11-26 21:48:26 -05:00
3a7586e3f7 Fix wrong user table field name in Repository\Notify
- Address https://github.com/friendica/friendica/issues/11993#issuecomment-1314954594
2022-11-15 09:03:43 -05:00
cbe8d463b1 Don't create notify for deleted user accounts 2022-11-14 17:02:42 -05:00
256c8ab170 Remove RTL Override character from display names to show in notifications
- It was causing the notification message to be unreadable
2022-11-10 10:42:21 -05:00
71ab9e13f2 Flatten arbitrary contact structure in constructor of FormattedNavNotification 2022-11-10 10:41:02 -05:00
fa123bd765 Rename Repository\Notify->NotifyOnDesktop to shouldShowOnDesktop
- New name better reflect the behavior
2022-11-04 06:42:37 -04:00
0f9e2b6da4 Issue 12097: Notify for each new user registration 2022-11-03 19:59:33 +00:00
b5bc1b0844
Extend IHandleUserSessions from IHandleSessions and adapt classes 2022-10-23 20:41:17 +02:00
134f98e22e
Move DI dependency for Navigation\Notifications\Factory\Introduction class 2022-10-21 19:35:33 +02:00
a1997d73c2
Move DI dependency for Navigation\Notifications\Factory\FormattedNotify class 2022-10-21 19:35:33 +02:00
f1cbb41a60
Move DI dependency for Navigation\Notifications\Factory\FormattedNavNotification class 2022-10-21 19:35:33 +02:00
b3f9cef94a
UserSession class [3] - Refactor src/ files excluding Module/Model 2022-10-21 19:35:32 +02:00
4930737cc4 Legacy "include" fragments have been removed 2022-10-20 04:21:00 +00:00
11944dda32 old boot.php functions replaced in various places 2022-10-19 07:44:08 -04:00
da66730e4f
Rewrite:
- moved constants GRAVITY_* from boot.php to Friendica\Model\Item
- also rewrote some array initialization:

From:
````
<?php
$arr = [];
$arr['foo'] = "FOO";
````

To:
````
<?php
$arr['foo'] = "FOO";
````
- added a few type-hints
2022-10-15 00:44:06 +02:00
15d975f143 Avoid some database errors 2022-08-25 04:57:41 +00:00
88cdb695b1
Changed:
- double-quotes to single
- more space around concated strings
- removed TODO as there is sadly no IOException in PHP
2022-08-13 13:35:50 +02:00
cfa575b8e5
Changes:
- added missing type-hints
- added documentation
- removed parameter $baseURL while it can be locally get the same way but
  lesser parameter
- used ActivityNamespace::SALMON_ME
- changed double-quotes to single
2022-08-12 14:01:40 +02:00
4a885a13a6 Remove poke feature 2022-08-09 14:55:55 -04:00
ff9dc1e291 Merge remote-tracking branch 'upstream/develop' into untrusted 2022-07-27 17:56:56 +00:00
86105635ca Improved message handling / new activity relay handling 2022-07-27 17:39:00 +00:00
1b2182c43c Move system messages from boot to own class 2022-07-27 11:54:50 -04:00
a38209db1e
Changed:
- added a final check on $link_item, as it might not be initialized or no
  record was found, thanks to @AlfredSK for reporting this
- see #11632
2022-07-13 22:05:53 +02:00
fd8f4269ff
Reformatted code 2022-06-23 17:30:17 +02:00
a07e47f50c Improved handling with empty user configuration 2022-06-06 05:43:24 +00:00
62701b49e1 Use constants 2022-06-06 04:44:29 +00:00
9daeb552dd Suppress dislikes 2022-06-05 16:54:29 +00:00
24559b711b Notify about shared posts again 2022-06-05 16:26:20 +00:00
d242332aa4 Add the notify type to the notification query 2022-06-05 15:02:03 +00:00
13e216032f Use the user id instead of "local_user()" 2022-06-05 14:22:16 +00:00
57b8708425 Issue 11566: More detailled notification configuration 2022-06-05 11:41:08 +00:00
f1913b28e0 Issue 11594: Ensure to create notifications in the user language 2022-06-04 14:08:11 +00:00
7b219718c4 Fix: Use correct follow notification texts 2022-05-31 14:02:43 +00:00
1dccc31508 Issue 11469: Repect desktop notification settings 2022-05-29 09:20:06 +00:00
49c47008d1 Convert class calls into DI calls 2022-05-19 09:08:04 +00:00
5aa798b1dc Remove test logging 2022-05-18 20:10:14 +00:00
536ce232a7 Cache notifications 2022-05-18 20:05:29 +00:00
4dace46159 Fix link to post in notification 2022-03-20 19:59:35 +00:00
91905bea89 Don't create empty announce notifications 2022-03-19 17:53:41 +00:00
fb6a435a6a Avoid empty notifications / fixed link to the content 2022-03-19 15:25:00 +00:00
aef9cb9992 Moved "ignore" check to a better location 2022-03-19 09:48:50 +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
8d64cf4f9b
typo 2022-03-16 06:25:21 +01:00
07d4cdbdde Fix misleading notification message strings
- The mentioned title is from the top-level post, not the liked post
2022-03-14 22:56:46 -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
e6f745bcb1 Delete follow notification on unfollow
- Fix translation string typo
2022-03-14 07:58:39 -04:00