GithubHelp home page GithubHelp logo

uksusoff / webtrees-reminder Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 2.0 3.63 MB

webtrees module for sending daily anniversaries list

PHP 31.89% JavaScript 56.06% HTML 7.93% SCSS 0.42% CSS 3.71%
webtrees

webtrees-reminder's People

Contributors

arbor95 avatar dependabot[bot] avatar joppla avatar uksusoff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

joppla

webtrees-reminder's Issues

Ugly text/plain part

Hi, the text/plain part of email is constructed via strip_tags, which is not bad at all, but this preserves all whitespaces and line ends, which results terrible readable text part:

    28 marca
    
                    Narodenie:
        Name Hidden

                            (1989 / 32)

This can be solved by some external library, which can be overkill. More simplest way can be to format the HTML to not have useless white spaces and line ends, for now, the HTML part (only related part)look as this:

<strong>28 marca</strong>
<br/>
                Narodenie:
    <a href="..."><span class="NAME" dir="auto" translate="no">Name <span class="SURN">Hidden</span></span></a>

                        (<span class="date">1989</span> / 32)
            <br/>
    <hr>

not receiving e-mail

Hi,
I have webtree installed on Synology NAS and is working very well. I wanted to have reminders from your module which I installed successfully (was able to see it in admin panel & cron task url etc.) When I execute the URL I dont receive e-mail - I have configured e-mail settings (SMTP server) which is working as well - just per your URL I dont get anything - I have it activated on my e-mail only.
I didnt found any record in the log.
Can you help me?

Marriage/divorce

Hi
Is there a way to stop showing marriage anniversaries for couples that are now divorced.
Cheer
Dax

Is there a precedence of a flag vs. a date

In the notifications that I received today, there is one for an anniversary for a couple who were divorced many years ago. I checked the gedcom and there is a divorce entry but there is no date associated with it.

My question is - if there is no date in the record entry, is that why the notification for this event is generated? The fact that there is a divorce entry (no date) is not enough to stop the notification?

I receive mail but another user don't

Hello, thank you for the module!
I can't understand why I receive mail about birthdays succesfully but another user don't.
The settings view:
изображение

How to make another user to receive mail?

where is the config page where the URL is located?

Hello,

I like to use webtrees-reminder. In the instructions is written:

You can find this url on module config page.

But where can I find the config page? Probably I'm searching for the wrong item, but maybe you can give me a hint how to find.

Thanks for reaction.

remind only of a registered member's ancestors

My webtrees tree has 400000 indis and abt 1800 registered editors.
Every single day, several hundreds of updates are made.
Thus, just use webtrees-reminder would rather look like spam.
But i still need a reminder to tell people their ancestors list has been updated.

I asked for such a suggestion to webtrees developpers, many webtrees users were interested buut, i'm not a developpr, i can only write an analysis to explain what funtion i'd like to implement.
Could you please have a look at https://www.webtrees.net/index.php/en/forum/9-request-for-new-feature/33563-update-alert-for-editors-paying#72123 . This is really related to webtrees-reminder and i'd like to know if you'd be willing to work on such a version of reminder ?

Not receiving email

Hi
About 2 weeks ago I all of a sudden stopped receiving reminder emails. I have checked with other members they haven't received any either.

So I uninstalled the module and removed the preferences on my site. I then downloaded the latest file (May 2022) and reinstalled. I also had Greg Roach update the Cron file.

Unfortunately I'm still not receiving any reminder emails?

Any idea what the problem could be
Cheers Frank

Webtrees site: familytree.kuilboer.id.au

Email not containing complete data

I've got the module installed and running, but I'm getting an email that is incomplete. I currently have 17 "On this day" events, but the email that I received only had 5. All of them are Birth records. None of the death or marriage records are sent. I also noticed that some of them are living individuals which from my reading in another issue that was reported, these should not be displayed.

Не отправляется письмо

Добрый день. Ссылку открываю в браузере при залогинином админе на webtrees, то письмо приходит, При разлогинивании - нет.
Дерево полностью закрыто от посетителей. Соответственно не работает Cron. В cron запуск стоит от рута.
Спасибо.

No mail sent via sendmail

I just upgraded from webtrees 1.7 to 2.0.10 and installed webtrees-reminder.
Unfortunately no mail is sent to me.
I activated it in the settings for me. There are events in one of my two trees for the actual date.
When I call the address manually, I get this:
{"success":true}

How to debug this?

Allow weekly/monthly digest

Currently this module generates daily anniversaries, which expects/requires to user read its mails daily.

Please, add another URL query argument, which will allow to generate weekly or monhtly. I consider the keywords:

  • tomorow -> for tomorrow
  • week -> from today to next 7 days
  • month -> from today to next 31 days
  • nweek -> (as next week) week from next Monday
  • nmonth -> (as next month) month from nex 1. month's day

This will allow to create weekly/monthly cron job by simple adding query argument with appropriate value, with preserving current behavior as default (missing argument).

User subscription

Is it possible, that a user himself can subscribe for a reminder?
I only have seen a checkmark in the control page of the admin.

Message classified as SPAM

Hello !

I use WT 2.0.16 with REMINDER, it worked fine, but without any intervention on my part (it seems to me), the event messages are no longer sent and in my Website logs I have this message :
MailService: Expected response code 250 but got code "550", with message "550 This message was classified as SPAM and may not be delivered"
What should I do to declare that it is not SPAM?
Thank you for your help
JLL

PHP error on WT 2.0.10

Hello.

Tried to install in /modules_v4/ but got a full error page :

Error: Class 'UksusoFF\WebtreesModules\Reminder\Http\Controllers\AdminController' not found in /home/XXX/genealogie/modules_v4/reminder/src/Modules/ReminderModule.php:68 Stack trace: #0 /home/XXX/genealogie/app/Services/ModuleService.php(858): UksusoFF\WebtreesModules\Reminder\Modules\ReminderModule->boot() #1 /home/XXX/genealogie/app/Http/Middleware/BootModules.php(60): Fisharebest\Webtrees\Services\ModuleService->bootModules(Object(Fisharebest\Webtrees\Module\WebtreesTheme)) #2 /home/XXX/genealogie/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BootModules->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #3 /home/XXX/genealogie/app/Http/Middleware/LoadRoutes.php(76): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #4 /home/XXX/genealogie/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\LoadRoutes->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #5 /home/XXX/genealogie/app/Http/Middleware/UseTransaction.php(45): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #6 /home/XXX/genealogie/vendor/illuminate/database/Concerns/ManagesTransactions.php(29): Fisharebest\Webtrees\Http\Middleware\UseTransaction::Fisharebest\Webtrees\Http\Middleware\{closure}(Object(Illuminate\Database\MySqlConnection)) #7 /home/XXX/genealogie/app/Http/Middleware/UseTransaction.php(46): Illuminate\Database\Connection->transaction(Object(Closure), 3) #8 /home/XXX/genealogie/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTransaction->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #9 /home/XXX/genealogie/app/Http/Middleware/DoHousekeeping.php(74): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #10 /home/XXX/genealogie/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\DoHousekeeping->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #11 /home/XXX/genealogie/app/Http/Middleware/UseTheme.php(70): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #12 /home/XXX/genealogie/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTheme->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #13 /home/XXX/genealogie/app/Http/Middleware/CheckForMaintenanceMode.php(51): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #14 /home/XXX/genealogie/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckForMaintenanceMode->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #15 /home/XXX/genealogie/app/Http/Middleware/UseLanguage.php(73): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #16 /home/XXX/genealogie/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseLanguage->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #17 /home/XXX/genealogie/app/Http/Middleware/UseSession.php(71): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #18 /home/XXX/genealogie/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseSession->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #19 /home/XXX/genealogie/app/Http/Middleware/UpdateDatabaseSchema.php(58): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #20 /home/XXX/genealogie/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UpdateDatabaseSchema->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #21 /home/XXX/genealogie/app/Http/Middleware/UseDebugbar.php(67): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #22 /home/XXX/genealogie/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseDebugbar->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #23 /home/XXX/genealogie/app/Http/Middleware/UseDatabase.php(117): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #24 /home/XXX/genealogie/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseDatabase->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #25 /home/XXX/genealogie/app/Http/Middleware/BadBotBlocker.php(212): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #26 /home/XXX/genealogie/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BadBotBlocker->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #27 /home/XXX/genealogie/app/Http/Middleware/RegisterFactories.php(72): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #28 /home/XXX/genealogie/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\RegisterFactories->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #29 /home/XXX/genealogie/vendor/middlewares/client-ip/src/ClientIp.php(81): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #30 /home/XXX/genealogie/app/Http/Middleware/ClientIp.php(47): Middlewares\ClientIp->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #31 /home/XXX/genealogie/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ClientIp->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #32 /home/XXX/genealogie/app/Http/Middleware/HandleExceptions.php(90): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #33 /home/XXX/genealogie/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\HandleExceptions->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #34 /home/XXX/genealogie/app/Http/Middleware/BaseUrl.php(77): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #35 /home/XXX/genealogie/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BaseUrl->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #36 /home/XXX/genealogie/app/Http/Middleware/ReadConfigIni.php(69): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #37 /home/XXX/genealogie/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ReadConfigIni->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #38 /home/XXX/genealogie/app/Http/Middleware/SecurityHeaders.php(47): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #39 /home/XXX/genealogie/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\SecurityHeaders->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #40 /home/XXX/genealogie/app/Http/Middleware/EmitResponse.php(57): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #41 /home/XXX/genealogie/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\EmitResponse->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #42 /home/XXX/genealogie/app/Http/Middleware/PhpEnvironment.php(49): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #43 /home/XXX/genealogie/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\PhpEnvironment->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #44 /home/XXX/genealogie/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #45 /home/XXX/genealogie/index.php(57): Middleland\Dispatcher->dispatch(Object(Nyholm\Psr7\ServerRequest)) #46 {main}

E-Mail not send in any case of an event

Hello,
I am running webtrees on a Synology within a Docker container. So far so good.
If I use the "reminder" addin, only a information for linving people will sen even if I used the display on "my page" to show up event from already died people too. I also selected some additional informations, but here I am not sure if everything should trigger an E-Mail.
How can I configure the remider modul to send E-Mail by all events which I used on the "Events" block on my page?

I appreciate your help.

Best regards, Thomas

Stopped sending Internal Server 500

Not sure if this is with the reminder module or with webtrees itself but wanted to check here. I updated my webtrees to the latest version the other day (2.0.19) from the previous version (2.0.18). Reminders had been running fine up to that point. When I try to run from the command line, I get the message "ERROR 500: Internal Server Error.". I have not experienced any issues (so far at least) with the rest of webtrees so wanted to check if version 2.0.5 or the reminder module might have been tested with the latest webtrees version. Thanks.

Not receiving notifications

I am having a problem similiar to Joppla and have tried the suggestions in his email string.

I'm trying to get the notifications working but seem to have missed something. (I am in transition from MyHeritage and have several folks who are now receiving the daily notifications there.)

I have installed the "notifications" module and added the entry to crontab - "0 9 * * * wget -O - -q " mywebsite.duckdns.org/webtrees/index.php...key=lz5bat6RW1MXLCFQ "".

Since I am running Fedora with SELinux also checked on the type for the crontab file and per documentation it appears to have the necessary assignments - "-rwsr-xr-x. 1 root root system_u:object_r:crontab_exec_t:s0 78136 Mar 18 2019 crontab".

There was a string that indicated there would only be notifications is there were events for that day - I have checked to ensure that is the case but no notification was received. To expand on that, if I do not login, there are no events on the main page but once I login, I do see events for that day. From what I understand from the documentation for this module, it should be sending the notifications of the day that I see when I am logged in.

I did try running the URL as above and did receive an email with the events for today (June 1). Since Joppla's message indicated that he needed to allow access I checked my .htaccess files and there is no restriction's on IPs there. Also checked the Directory section in the httpd.conf file and it has access for all ("require all allow").

Is there anything else I should be checking?

P.S. - I am running webtrees 2.0.4

Add Notification of Pending Changes

When the pending changes submitted by the user are approved or rejected, Email will be sent to inform the user. So that users can receive timely notification and view.

Data for dead once

Hi,
Is it possible to get the data of death people too? would like to have this.
greets

Failure with webtrees 2.1

Hi,

Just to let you know that reminder 2.0.5 fails on webtrees 2.1-dev because all controllers have been replaced with RequestHandlers

Check key on run cron job

Hi,

  • Have just come across your module - congratulations - very nice. I've been looking to implement a CRON interface for some time and wonder if you'd mind me using your module as the basis for mine.
  • However, you don't seem to be using the key parameter, shouldn't you be checking it in CronController::run?

Can't send email

When try to send notification with url, email can't be send because module try to send email with admin's email address.
Webtrees logs:

MailService: Expected response code 354 but got code "554", with message "554 5.5.1 Error: no valid recipients "

Mail Server Logs:

NOQUEUE: reject: RCPT from hostname[ip]: 553 5.7.1 <[email protected]>: Sender address rejected: not owned by user [email protected]; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<domain.com>
NOQUEUE: reject: RCPT from hostname[ip]: 553 5.7.1 <[email protected]>: Sender address rejected: not owned by user [email protected]; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<domain.com>

It works when i give permission to send email as [email protected] to [email protected]

Not recieving email

Hello,
I like the idea of this plugin but it is not working for me. I am on Webtrees 2.0.7.
I have installed your plugin as instructed, and changed the folder and its contents to the www-data user.
I have set the cron job to run under the www-data user as well.
I have also tried to run it manually, without the -q parameter, and it says {"success":true} but I never get an email... I have BIRT events today and I would expect it to work today. I have also setup a fake BIRT event on a person for tomorrow as testing.

I do get an email in other parts of Webtrees, and when I do the email test from the control panel. So I know email is working.

I was wondering if it might be because of this line of code?
I am going to dig deeper into what this does later, but I wanted to let you know it wasn't working.

root@servername:/var/www/webtrees/modules_v4/reminder# wget -O - "https://servername.ca/index.php?route=/reminder-cron/run&key=mykey"
--2020-08-11 20:39:05--  https://servername.ca/index.php?route=/reminder-cron/run&key=mykey
Resolving servername.ca (servername.ca)... 123.123.123.123
Connecting to servername.ca (servername.ca)|123.123.123.123|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16 [application/json]
Saving to: ‘STDOUT’
-0%[  ]       0  --.-KB/s               {
-100%[  ]      16  --.-KB/s    in 0s
2020-08-11 20:39:07 (1.50 MB/s) - written to stdout [16/16]

Thank you for making this addon. I think it's an important one to have and I will work with you to get it working! 👍

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.