Only SendGrid and Mandrill plugins support it at this time.
Registration email domain blacklisting
-
@julian yes it doesn't start. When I click to access the settings, nothing happens. The progress bar stops to 2/3 and the circle turns indefinitly.
-
@julian said in Registration email domain blacklisting:
@Raccoon -- we can probably take over this plugin, it seems quite popular
What's the problem with it, doesn't start?
There is this error on console, the plugin doesn't load the template
-
@Maleficent heureusement que tu as des réflexes de développeuse
-
Le plugin n'est plus à jour et donc ne suit pas les nouvelles updates
Il est testé pour nodebb 1.4.5 maximum... pour le moment
Du coup le chemin de la librairie n'est pas bon -
@Raccoon @Maleficent
The plugin is tested and seems to work fine. In your case @Maleficent, you need to run
./nodebb build
after activating the plugin.I sent over a PR to fix up a typo in the library, but that version (with the typo) was never published to npm, so the existing version on npm should still work with latest NodeBB.
-
@julian Have you tested recently with isTempMail enabled? No API token required? I was expecting to need one but seems I am missing something?
In any case, it is blocking manually added domains but does not appear to be blocking via isTempMail domains, e.g. an temp-mail.org address, and I did not find anywhere to add my isTempMail API token.
I am still on 1.12.
TIA.
-
Did a bit more investigating. Plugin is definitely broken using isTempMail API. Evidently when first coded the public api was free and did not require an api key.
{"error":"no_token","error_description":"Please add API token to your request."}
I am a freak and do not code Javascript. Given that, I do not grok anywhere in this code that generates an opportunity to provide one:
https://github.com/Annihil/nodebb-plugin-email-blacklist/blob/master/library.js
Query url needs to look like this:
https://www.istempmail.com/api/check/YOUR-isTempMail-API-KEY/example.com (or can also handle full [email protected]).
Update: I can confirm the URL string above works via manual submission, but not via simple edit of nodebb-plugin-email-blaclist/library.js's isTempMail function's path.
-
Well looks like I was an ID10T on this one. npm install pulls the original Annihil version cuz that is where package.json tells it to grab it from.
-
Manual installation of Julian's/NodeBB 3rd Party forked version, available here: https://github.com/NodeBB-Community/nodebb-plugin-email-blacklist
-
Coupled with my URL query string update above and ... voila! Now works dandy w/both manually added addresses and istempmail.org API key.
The function isTempMail's path var needs to be thusly:
path: '/api/check/Your-API-Key-Here/' + email
Or maybe I neglected the trailing slash first time around. In any event, geronimo, there ya' go.
-
-
hi @julian , will this plugin be updated to work with NodeBB 1.19.0 ?
https://github.com/NodeBB-Community/nodebb-plugin-email-blacklist
currently, it does not prevent registration addresses from the blacklisted domains...
Additionally, the original repository is gone but the broken link is in the package.json, I guess it makes sense to update that too. Thanks in advance.
-
@crazycells said in Registration email domain blacklisting:
hi @julian , will this plugin be updated to work with NodeBB 1.19.0 ?
https://github.com/NodeBB-Community/nodebb-plugin-email-blacklist
currently, it does not prevent registration addresses from the blacklisted domains...
Additionally, the original repository is gone but the broken link is in the package.json, I guess it makes sense to update that too. Thanks in advance.
Usually opencollective is used to finance the support of third-party plugins. Without such support, it is impossible for a small team to support all plugins.
Example: