1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-22 17:41:24 +02:00
Commit Graph

67 Commits

Author SHA1 Message Date
Marc Alexander
d05ce65a98 [ticket/11449] Add separate method for deleting notifications by multiple types
PHPBB3-11449
2023-07-02 09:56:10 +02:00
Marc Alexander
34eb913d5a [ticket/16955] Use runtime_exception instead of \Exception
PHPBB3-16955
2023-01-03 21:33:47 +01:00
Marc Alexander
96911b7403 [ticket/16955] Clean up variable names and docblocks in notifications
PHPBB3-16955
2022-12-28 08:37:12 +01:00
Marc Alexander
3e0f58332d Merge branch '3.3.x' 2022-01-19 21:37:32 +01:00
Marc Alexander
3103e99dc7 [ticket/16828] Adjust event to allow modifying notified_users and early return
PHPBB3-16828
2022-01-19 20:32:10 +01:00
DSR!
e5b43eabe1 [ticket/16828] Add hook event before find_users_for_notification() execute
PHPBB3-16828
2021-08-27 11:58:55 -03:00
rubencm
774c609c4a [ticket/16345] Small improvements
PHPBB3-16346
2020-08-14 08:29:06 +00:00
Dark❶
e0a7676c3f [ticket/16411] Add vars to notification core events
PHPBB3-16411
2020-04-22 10:32:29 +05:30
Dark❶
b23c4dacb9 [ticket/16406] Fix Core Event of notification
PHPBB3-16406
2020-03-15 21:10:28 +05:30
Dark❶
70513f8da4 [ticket/16370] Add core events for Notification
PHPBB3-16370
2020-03-04 01:41:37 +05:30
Dark❶
255c79a8f7 [ticket/16370] Add core events for Notification
PHPBB3-16370
2020-02-28 00:19:10 +05:30
Dark❶
5f4522e55b [ticket/16370] Add core events for Notification
PHPBB3-16370
2020-02-21 12:22:26 +05:30
Jakub Senko
175ffa869b [ticket/15850] Fix "Duplicate entry" for notification types
PHPBB3-15850
2018-10-18 18:50:17 +02:00
rxu
f8fbe37936 [ticket/14972] replace all occurrences of sizeof() with the count()
PHPBB3-14972
2018-01-01 13:56:04 +01:00
kasimi
ec2d983ab1 [ticket/15328] Disable checkbox if notification method isn't supported
PHPBB3-15328
2017-08-24 10:39:59 +02:00
rxu
5b32019ad6 [ticket/14799] Remove accidentally added whitespaces into 3.2.x and master
PHPBB3-14799
2016-10-01 02:59:17 +07:00
Tristan Darricau
737ef92a1e Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14799] purge_notifications() should not leave open transactions.
2016-09-28 20:56:51 +02:00
markshawtoronto
06c980f1ec [ticket/14799] purge_notifications() should not leave open transactions.
When running purge_notifications(), if a notification type does not exist
then a db transaction is started but never completed.

On an error in get_notification_type_id(), end the transaction.

PHPBB3-14799
2016-09-27 11:45:23 -04:00
Marc Alexander
80db259ab9 Merge branch '3.1.x' into 3.2.x
Conflicts:
	phpBB/phpbb/notification/manager.php
2016-05-27 22:13:35 +02:00
Jakub Senko
c103c42857 [ticket/11446] Make get_notification_type_ids work with string too
PHPBB3-11446
2016-05-27 12:59:30 +02:00
Jakub Senko
7e6371ea8e [ticket/11446] Use sql_in_set properly in phpbb_notification_manager
PHPBB3-11446
2016-05-23 18:13:17 +02:00
Máté Bartus
a01e3a0ffa Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14132] Use transaction for adding notifications to type table
  [ticket/14519] Skip query if all unread notifications are retrieved
  [ticket/14483] Do not send headers by default on access via controller

Conflicts:
	phpBB/phpbb/notification/manager.php
2016-03-08 22:18:42 +01:00
Máté Bartus
7c45ed0733 Merge pull request #4206 from marc1706/ticket/14519
[ticket/14519] Skip query if all unread notifications are retrieved
2016-03-08 22:09:02 +01:00
Marc Alexander
10004c4032 [ticket/14132] Use transaction for adding notifications to type table
This will prevent a race condition that might occur by two posts being
submitted at the same time with the notification type IDs not being
cached.

PHPBB3-14132
2016-03-08 12:36:29 +01:00
Marc Alexander
9fcd0b116b [ticket/14519] Skip query if all unread notifications are retrieved
PHPBB3-14519
2016-03-08 12:15:21 +01:00
Matt Friedman
28cc98a7ac [ticket/14237] Consistent references to classes in docblocks
PHPBB3-14237
2015-10-14 01:05:34 -07:00
Matt Friedman
b64a37d451 [ticket/14237] Use $language class for notifications
PHPBB3-14237
2015-10-13 23:40:52 -07:00
Tristan Darricau
05d583bba7 [ticket/14079] Correctly mark notifications as read
PHPBB3-14079
2015-08-08 19:18:18 +02:00
Tristan Darricau
7e62b3a4b0 [ticket/14076] Fix notification settings
PHPBB3-14076
2015-08-07 16:38:53 +02:00
Tristan Darricau
fc34057f28 [ticket/11444] Update tests and cleanup types/methods
PHPBB3-11444
2015-07-13 22:41:14 +02:00
Tristan Darricau
f29b12e353 [ticket/11444] Cleanup method constructors
PHPBB3-11444
2015-07-13 22:41:14 +02:00
Tristan Darricau
06077d9970 [ticket/11444] BC layer
PHPBB3-11444
2015-07-13 22:41:14 +02:00
Nicofuma
be0d4e20d4 [ticket/11444] Moving the in-board notifications to a method class
Currently the in-board method for the notifications is hardcoded and
cannot be disabled. This method should be in his own class extending
`phpbb\notification\method\method_interface`.

It also add the possibility, for each method, to be enabled by default (ie:
no entry in the DB => notification enabled).

https://tracker.phpbb.com/browse/PHPBB3-11444
https://tracker.phpbb.com/browse/PHPBB3-11967

PHPBB3-11444
2015-07-13 22:41:13 +02:00
MateBartus
57072a1e28 [ticket/13793] Remove translation on throwing exceptions
PHPBB3-13793
2015-05-01 12:40:53 +02:00
Nicofuma
9b5493372d [ticket/13644] Always type hint dispatch_interface
PHPBB3-13644
2015-02-22 17:01:37 +01:00
brunoais
0929267e72 [ticket/13154] Wrong variable name in the comment block
PHPBB3-13154
2014-12-19 11:23:23 +00:00
brunoais
dd9c415020 [ticket/13154] space before @var
Not a tab.

PHPBB3-13154
2014-12-19 10:03:57 +00:00
brunoais
13320a08ef [ticket/13154] Forgot the $this->
PHPBB3-13154
2014-12-17 23:17:12 +00:00
brunoais
458f9cade6 [ticket/13154] Adding phpBB dispatcher to notifications manager
PHPBB3-13154
2014-12-17 23:10:54 +00:00
brunoais
7512efed9e [ticket/13154] Allow filtering the list of users to be notified
PHPBB3-13154
2014-12-17 15:17:44 +00:00
Marc Alexander
556565d072 [ticket/13337] Allow empty array passed to sql_in_set()
is_array() will evaluate to true even if the array is just an empty array.
Make sure we also expect an empty array passed to sql_in_set().

PHPBB3-13337
2014-11-14 11:08:35 +01:00
Marc Alexander
cb65cd363a [ticket/12703] Only query database for subscription types once
PHPBB3-12703
2014-10-26 13:56:34 -07:00
Tristan Darricau
fe80967535 [ticket/12990] Use the full services name for the notification's types
PHPBB3-12990
2014-08-16 21:46:03 +02:00
n-aleha
f34bc924a6 [ticket/12557] Notification fixes
PHPBB3-12557
2014-08-03 07:03:08 +03:00
Tristan Darricau
f4ef1ab6bd [ticket/12715] Add missing new line in the notification manager
PHPBB3-12715
2014-06-16 01:01:10 +02:00
Tristan Darricau
52e8359497 [ticket/12715] Cleanup comments in \phpbb\notification\*
PHPBB3-12715
2014-06-15 19:14:56 +02:00
Dhruv
f5415619eb [ticket/11445] Move get user's notification code into its own method
PHPBB3-11445
2014-06-07 01:34:20 +05:30
Dhruv
ac74dc876c [ticket/11445] Remove unused foreach key $group_name
PHPBB3-11445
2014-06-07 01:00:09 +05:30
Dhruv
572debd0e8 [ticket/11445] Optimize no of queries in get_global_subscriptions
PHPBB3-11445
2014-06-01 13:38:37 +05:30
Yuriy Rusko
a759704b39 [ticket/12594] Remove @package tags and update file headers
PHPBB3-12594
2014-05-27 20:51:13 +02:00