Nathaniel Guse
6c8c54d4d2
[ticket/11103] Inject table prefix to notifications system instead of constants
...
PHPBB3-11103
2012-11-09 08:48:41 -06:00
Nathaniel Guse
6a0f6833e6
[ticket/11103] Comment indentation
...
PHPBB3-11103
2012-11-09 07:48:18 -06:00
Nathaniel Guse
b8bdcc957b
[ticket/11103] count is reserved, do not use in a SQL query
...
PHPBB3-11103
2012-11-09 07:45:23 -06:00
Nathaniel Guse
f09ee16252
[ticket/11103] Use phpBB Container to load types/methods
...
PHPBB3-11103
2012-11-09 07:40:08 -06:00
Nathan Guse
05e74b82ac
[ticket/11103] enable/disable notifications functions
...
disable_notifications
This should be called when an extension which has notification types
is disabled so that all those notifications are hidden and do not
cause errors
enable_notifications
This should be called when an extension which has notification types
that was disabled is re-enabled so that all those notifications that
were hidden are shown again
PHPBB3-11103
2012-10-29 23:34:51 -05:00
Nathan Guse
6c213bd5fa
[ticket/11103] Make sure post/topic approved notifications are always unread
...
PHPBB3-11103
2012-10-29 23:20:59 -05:00
Nathan Guse
b1ba7b27ad
[ticket/11103] _get_avatar -> get_user_avatar
...
PHPBB3-11103
2012-10-29 18:37:07 -05:00
Nathan Guse
b60ae30b02
[ticket/11103] More cleanup
...
PHPBB3-11103
2012-10-29 18:20:07 -05:00
Nathan Guse
a811e65147
[ticket/11103] Revert an overwrite that occured on merging from develop
...
PHPBB3-11103
2012-10-29 18:18:33 -05:00
Nathan Guse
ecf6f1eb8c
[ticket/11103] Code cleanup
...
PHPBB3-11103
2012-10-29 18:15:01 -05:00
Nathan Guse
e549b7663d
[ticket/11103] Set basic notifications to be enabled by default
...
Now, if there is no row for the user in the user_notifications table,
the user will receive basic notifications. If the user wishes to not
receive notifications, a row must be added with notify = 0.
For other methods besides the basic (e.g. email, jabber) a row must
still be added with notify = 1 for them to receive notifications
PHPBB3-11103
2012-10-29 18:09:20 -05:00
Nathan Guse
4874226b6e
[ticket/11103] Re-add notify method to the UCP preferences
...
I've noticed that this is used in other areas still in phpBB, so it should
not be removed.
PHPBB3-11103
2012-10-20 22:11:41 -05:00
Nathan Guse
bc18e368c3
[ticket/11103] Correct the test case
...
Fix a bug that broke it and make sure to set the needed config/auth settings
PHPBB3-11103
2012-10-20 21:55:58 -05:00
Nathan Guse
7e6f31b51d
[ticket/11103] Correct the comments on the notification classes
...
PHPBB3-11103
2012-10-20 21:45:15 -05:00
Nathan Guse
f62e55091a
[ticket/11103] PM notifications are not available if users cannot read them
...
PHPBB3-11103
2012-10-20 21:28:37 -05:00
Nathan Guse
de7e17b732
[ticket/11103] Notifications for subscriptions/bookmarks must obey ACP options
...
If bookmarks/subscriptions are disabled, they should not be listed in the UCP
PHPBB3-11103
2012-10-20 21:22:06 -05:00
Nathan Guse
94d682f774
[ticket/11103] Use the full class name as the item_type/method
...
This is going to require you recreate the db tables.
PHPBB3-11103
2012-10-20 20:58:53 -05:00
Nathan Guse
52bb4a1bd6
[ticket/11103] Do not have empty queue in the interface
...
This is not needed as it is not public.
PHPBB3-11103
2012-10-20 19:00:37 -05:00
Nathan Guse
0ac9079d1c
[ticket/11103] Replace $email_template with get_email_template()
...
PHPBB3-11103
2012-10-20 18:55:13 -05:00
Nathan Guse
471ca5e7dc
[ticket/11103] Change is_disabled to is_enabled
...
If you're following along and would like to update your DB, you can run
the following queries to do so:
ALTER TABLE phpbb_notifications CHANGE `is_disabled` `is_enabled`
TINYINT( 1 ) NOT NULL DEFAULT '1';
UPDATE `phpbb_notifications` SET is_enabled = 1;
PHPBB3-11103
2012-10-19 15:50:32 -05:00
Nathan Guse
2c06c2bd36
[ticket/11103] Declare $ for jQuery, check for instance of, newlines at eof
...
PHPBB3-11103
2012-10-18 19:20:54 -05:00
Nathan Guse
f96dac3352
[ticket/11103] Interface docblocks
...
PHPBB3-11103
2012-10-18 19:13:47 -05:00
Nathan Guse
eb07b3ad9c
[ticket/11103] Expand class vars and use docblocks for phpBB classes
...
PHPBB3-11103
2012-10-18 18:50:04 -05:00
Nathan Guse
ae670cc87d
[ticket/11103] Remove unnecessary comments
...
Comments that are not needed because the actions are completely
self-explanatory
PHPBB3-11103
2012-10-18 18:32:13 -05:00
Nathan Guse
3f27890a5e
Merge branch 'develop' of git://github.com/phpbb/phpbb3 into ticket/11103
...
Conflicts:
phpBB/includes/functions.php
2012-10-18 18:23:22 -05:00
Andreas Fischer
b3fdf8a046
Merge remote-tracking branch 'EXreaction/ticket/8796' into develop
...
* EXreaction/ticket/8796:
[ticket/8796] Prevent setting post_time greater than time() in markread
[ticket/8796] Fix a few issues with the previous commits
[ticket/8796] Mark read links updated to include time() in url
[ticket/8796] Revert changes to $user->data['lastmark']
[ticket/8796] Make function markread obey the $post_time argument
2012-10-18 16:43:46 +02:00
Andreas Fischer
4f3f4a40d6
Merge branch 'develop-olympus' into develop
...
* develop-olympus:
[ticket/10848] Move include up.
[ticket/10848] Add phpbb_ prefix.
[ticket/10848] Redirect from adm to installer correctly.
Conflicts:
phpBB/includes/functions.php
2012-10-18 16:34:59 +02:00
Andreas Fischer
c84268d2f9
Merge remote-tracking branch 'p/ticket/10848' into develop-olympus
...
* p/ticket/10848:
[ticket/10848] Move include up.
[ticket/10848] Add phpbb_ prefix.
[ticket/10848] Redirect from adm to installer correctly.
2012-10-18 16:26:54 +02:00
Oleg Pudeyev
0a260f80af
Merge PR #918 branch 'develop-olympus' into develop
...
* develop-olympus:
[ticket/10568] adding MESSAGE_EDITED to ucp.php and compose_pm
2012-10-17 22:31:35 -04:00
Oleg Pudeyev
bd44088757
Merge PR #918 branch 'Senky/ticket/10568' into develop-olympus
...
* Senky/ticket/10568:
[ticket/10568] adding MESSAGE_EDITED to ucp.php and compose_pm
2012-10-17 22:10:49 -04:00
Oleg Pudeyev
bb09cd9c8e
[ticket/10848] Add phpbb_ prefix.
...
PHPBB3-10848
2012-10-17 15:13:35 -04:00
Oleg Pudeyev
c630480ca1
[ticket/10848] Redirect from adm to installer correctly.
...
PHPBB3-10848
2012-10-17 15:08:09 -04:00
Nathan Guse
77bc12d334
[ticket/11103] Add author name output to post/topic email templates
...
For a recent merge:
https://github.com/phpbb/phpbb3/pull/624
PHPBB3-11103
2012-10-16 23:27:49 -05:00
Oleg Pudeyev
d5325e6934
Merge PR #624 branch 'develop-olympus' into develop
...
* develop-olympus:
[ticket/8743] Include poster´s name in mail notifications
2012-10-16 21:21:03 -04:00
Oleg Pudeyev
f0544c884f
Merge PR #624 branch 'nickvergessen/ticket/8743' into develop-olympus
...
* nickvergessen/ticket/8743:
[ticket/8743] Include poster´s name in mail notifications
2012-10-16 21:20:58 -04:00
Oleg Pudeyev
ad2feb917f
Merge PR #917 branch 'develop-olympus' into develop
...
* develop-olympus:
[ticket/10967] adding $root_path to posting_get_topic_icons
2012-10-16 20:31:03 -04:00
Oleg Pudeyev
bef3f9c7e7
Merge PR #917 branch 'Senky/ticket/10967' into develop-olympus
...
* Senky/ticket/10967:
[ticket/10967] adding $root_path to posting_get_topic_icons
2012-10-16 20:30:45 -04:00
Nathan Guse
92b533aad3
[ticket/11103] Do not notify yourself when you close your own report
...
PHPBB3-11103
2012-10-16 17:49:54 -05:00
Nathan Guse
230e9d2e32
[ticket/11103] Do not send PM received notifications to the author
...
(you won't be notified if you PM yourself)
PHPBB3-11103
2012-10-16 17:47:27 -05:00
Nathan Guse
3839fe6902
[ticket/11103] Use report text for report notification, never notify reporter
...
PHPBB3-11103
2012-10-16 17:44:46 -05:00
Nathan Guse
61a1467c90
[ticket/11103] U_VIEW_ALL_NOTIFICATIONS Link
...
PHPBB3-11103
2012-10-16 16:47:18 -05:00
Nathaniel Guse
c8b66a26ef
[ticket/11103] Mark read link if notification has no URL to view it
...
Other style stuff
PHPBB3-11103
2012-10-16 10:51:07 -05:00
Nathan Guse
fa6d604016
[ticket/11103] Remove todo comments that are no longer todo
...
PHPBB3-11103
2012-10-14 12:49:09 -05:00
Nathan Guse
0d5d328c81
[ticket/11103] Spacing consistency
...
PHPBB3-11103
2012-10-14 12:42:18 -05:00
Nathan Guse
a48f090338
[ticket/11103] Make sure notifications are marked read when clicking them
...
How do we do this? If an item is unread, the URL to view that item will
be the URL to mark it as read (index.php?mark_notification=$id). When the
URL is visited it marks the item as read and redirects them to the correct
URL for the item.
If the item is read, the URL is directly to the item.
Prettify the html output
PHPBB-11103
2012-10-14 12:35:35 -05:00
Nathan Guse
c5f280351a
[ticket/11103] UCP Notification option grouping
...
Also add the ability to specify an _EXPLAIN text for the notification option
PHPBB3-11103
2012-10-13 23:52:49 -05:00
Nathan Guse
94ffbb4050
[ticket/11103] Add is_disabled column to notifications table
...
EXTENSION AUTHORS TAKE NOTE! This is to prevent errors with notifications
from extensions!
Set is_disabled to 1 for all your notifications when your extension is
disabled so they are ignored and do not cause errors.
When your extension is enabled again, set is_disabled to 0 and your
notifications will be working again.
PHPBB3-11103
2012-10-13 23:24:30 -05:00
Nathan Guse
cb93784126
[ticket/11103] UCP Notification List
...
PHPBB3-11103
2012-10-13 20:02:38 -05:00
Nathan Guse
441e389123
Merge branch 'ticket/11103' of github.com:EXreaction/phpbb3 into ticket/11103
2012-10-13 18:58:42 -05:00
Nathan Guse
6df3de2b9c
[ticket/11103] Starting work on UCP Notifications list
...
PHPBB3-11103
2012-10-13 18:58:29 -05:00