48 Commits

Author SHA1 Message Date
Mario Vavti 81ecea29c8 reflect repeats in notifications, use force flag for import_xchan_photo() in cron 2019-07-22 19:11:52 +02:00
Zot ea9925f489 clone systems apps to the extent possible, auto-configure imagick thumbnail binary during setup if possible 2019-03-18 09:35:53 +01:00
Mario Vavti 237c6eed50 fallback to url if we have not got an addr
(cherry picked from commit a3ba7f0788)
2018-12-02 11:39:04 +01:00
zotlabs c6acb6191c allow notification filtering by name or addr 2018-11-30 19:03:14 -08:00
zotlabs 4a6b45cf04 enotify::format hook for superblock 2018-11-12 11:13:36 -08:00
zotlabs 5a9e9284c2 generating random numbers too large for 32-bit systems 2018-04-25 14:10:11 -07:00
zotlabs 3be0b0925c remove recipient name from stored notifications but keep them in emails. 2018-04-12 17:55:45 -07:00
Mario Vavti fee258edbe allow to toggle visibility of likes/dislikes in notifications 2018-04-11 11:49:33 +02:00
Mario Vavti 924c8db712 missed some string for translation - update strings 2018-02-28 08:38:56 +01:00
zotlabs d2ed3a9abb provide opt-out link and text with notification emails 2018-02-25 21:40:19 -08:00
Mario Vavti 27baf46eb5 fix item link in fsprint 2018-02-13 12:33:49 +01:00
Mario Vavti d2dcb93866 match against item verb 2018-02-13 12:04:48 +01:00
Mario Vavti b7fb78245a if always_show_in_notices is set to 1 also show likes and dislikes 2018-02-12 22:48:53 +01:00
zotlabs f85c6d76de better notifications for edit post/comments which may have been originally posted long ago 2018-01-22 11:54:53 -08:00
Mario Vavti dcad9ce26a add a filter for notification to show new posts only 2017-12-01 21:00:39 +01:00
Mario Vavti 3a17225546 revert back to get the mid from enotify - otherwise we can not distinct between posts and likes 2017-11-10 20:30:55 +01:00
Mario Vavti 40a7446e3e get the path infos from pathname instead of seperate data attribute 2017-11-09 12:41:57 +01:00
Mario Vavti fc96cd3710 load notifications links to /display via ajax if we are already in /display 2017-11-09 11:34:41 +01:00
zotlabs 9abb061e71 provide short localised summary for likes that will end up in displayed notifications 2017-11-03 16:47:05 -07:00
Mario Vavti e7c8012794 no need to move $modrated check up 2017-10-06 22:25:53 +02:00
Mario Vavti 9bd30eb8bf to find out if a comment is to be moderated we need to look at the actual comment not at its parent 2017-10-06 21:32:06 +02:00
zotlabs 5f1a1db30f oopsy 2017-06-21 17:46:28 -07:00
zotlabs b0a6a5a91e minor cleanup of moderated comment feature 2017-06-18 22:51:52 -07:00
zotlabs b917cf1ecc allow moderated comments like wordpress if permissions are compatible 2017-06-18 22:25:41 -07:00
zotlabs 63dd6ad01a don't allow any null fields in notify creation 2017-04-11 23:05:56 -07:00
zotlabs a7bf4366ce use the same host macro for sender address as for reply_to address 2017-03-21 21:00:48 -07:00
zotlabs e06647b54e some preliminary work for email notification of likes - potentially destabilising so disabled until after next release 2016-12-11 17:54:03 -08:00
zotlabs a6d47ca772 notification issue 2016-11-22 14:24:38 -08:00
zotlabs 640d15dba5 don't send notification for posts/comments on old conversations that were refetched after having expired. We'll accomplish this by limiting notifications to items posted within the last month. 2016-11-12 14:09:33 -08:00
zotlabs 17091bd38c add get_photo hook to go along with get_profile_photo hook. This allows a plugin to over-ride the permissions for cover photos or insert a different photo in place of that requested 2016-10-17 22:09:41 -07:00
zotlabs daaefed61b provide text log results of email success/failure rather than 1 and 0. 2016-10-13 16:47:45 -07:00
redmatrix bad5057a74 start removing db backticks 2016-10-03 19:47:36 -07:00
redmatrix 5b10db6f91 return the email_sent status 2016-10-03 15:58:54 -07:00
Mario Vavti 816802774d another missing backslash 2016-10-02 10:47:25 +02:00
Mario Vavti b7559c1df6 missing backslash 2016-10-02 10:36:04 +02:00
redmatrix 883828c6cc change hook name and return results 2016-10-01 15:15:14 -07:00
redmatrix fa94644bcf Unify the various mail sending instance to enotify::send() and z_mail(). Both take the same arguments. z_mail() is text only, enotify::send() provides html and text. Both are pluggable using the enotfy_send hook. 2016-10-01 03:06:01 -07:00
redmatrix e48323775d add another hook 2016-09-29 22:28:23 -07:00
redmatrix 0f10fc8458 issue #127 2016-09-29 19:33:08 -07:00
redmatrix 2728cdaf23 change notify param 2016-09-29 17:54:11 -07:00
redmatrix 6586b97a54 remove the now useless url fragments from notification links 2016-09-25 23:12:45 -07:00
redmatrix 14e2a5cc39 also allow notification scroll on conversation page notifications (network and home), though we may also need some js to open comments for the thread holding the fragment (as well as the scrollto js). 2016-09-24 16:25:04 -07:00
redmatrix c04c57ea0f the rest of the backend for supporting scroll-to-comment from notifications. We still need an ajax handler as fragments are evaluated before content is loaded. 2016-09-24 16:20:25 -07:00
redmatrix b5d093e5ca finish the channel_reddress() conversion 2016-09-21 15:28:37 -07:00
redmatrix 44d945cd08 couple of minor issues with dba namespace during install and enotify::format referencing an unknown variable 2016-09-18 17:35:11 -07:00
redmatrix a9d7acda27 the rest of the schema updates - WARNING: some third party plugins may fail; e.g. embedphotos and chess. $item['object'] is now $item['obj'] and $photo['type'] is $photo['mimetype'], $photo['scale'] is $photo['imgscale'] and $photo['data'] is now $photo['content']. There are a number of other changes, but these are the ones noted to cause issues with third-party plugins. The project plugins have been updated. Please note any new issues as this effort touched a lot of code in a lot of files. 2016-06-01 21:48:54 -07:00
Mario Vavti 9d7abd58ac another typo 2016-05-26 14:37:30 +02:00
redmatrix 29ba891809 moved enotify 2016-05-24 01:25:13 -07:00