Git Product home page Git Product logo

commentoplusplus's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

commentoplusplus's Issues

504 5.7.4 Unrecognized authentication type

I successfully integrated Commento PlusPlus with Ghost and Traefik on Docker, running on an AWS EC2 instance.
Everything works perfectly, with one exception: I am unable to configure SMTP using our Exchange Online account for Commento PlusPlus.
For Ghost, the SMTP configuration, using our Exchange Online account, works perfectly, without any error. The administrator is receiving confirmation mails as well as all invited staff users are getting confirmation mails.
But with Commento PlusPlus I'm not able to register, because I'm not able to receive a confirmation email at all.
I always get an error message like this:

2021/07/26 16:17:51 [ERROR] smtp_owner_confirm_hex.go:19 smtpOwnerConfirmHex(): cannot send confirmation email: 504 5.7.4 Unrecognized authentication type [LO2P123CA0073.GBRP123.PROD.OUTLOOK.COM]

My SMTP-Configuration for Ghost. It works very well!

mail__transport=SMTP
mail__options__host=smtp.office365.com
mail__options__port=587
mail__options__service=O365
mail__options__secure=false
mail__options__requireTLS=true
mail__options__auth__user=<ACCOUNT>@<DOMAIN>
mail__options__auth__pass=<PASSWORD>
mail__from=<ACCOUNT>@<DOMAIN>

My SMTP-Configuration for Commento PlusPlus. It fails, as described above.

COMMENTO_SMTP_HOST=smtp.office365.com
COMMENTO_SMTP_PORT=587
COMMENTO_SMTP_USERNAME=<ACCOUNT>@<DOMAIN>
COMMENTO_SMTP_PASSWORD=<PASSWORD>
COMMENTO_SMTP_FROM_ADDRESS=<ACCOUNT>@<DOMAIN>

Do you have an idea how to fix it?

I am happy to help with troubleshooting and testing.

Feature request: Captcha integration

For spam prevention and script based comment flooding it would be nice to have an captcha (but not recaptcha or other 3rd party services).

I know that there is akismet, but we don't use it, because we don't want to transfer anything to 3rd party services.

Make SMTP configuration optional

When using the Heroku template, the SMTP configuration is required even though it's optional with Commento. Simply using "" for the values doesn't help because it looks like Commento checks for the presence of the env var, rather than the presence of a non-empty value. I found that Commento wouldn't start up properly if I put "" in for values, but worked fine if I deleted the COMMENTO_SMTP_HOST value from the app config in Heroku.

Error if anonymous comments disabled

I've configured commento to just allow Google login. When I submit a comment, I get this error:

commento.js:formatted:424 Uncaught TypeError: Cannot read property 'value' of null
    at HTMLDivElement.E.commentNew (commento.js:formatted:424)
    at yn (commento.js:formatted:724)
    at kn (commento.js:formatted:728)
    at HTMLButtonElement.<anonymous> (commento.js:formatted:38)

The problem is at line 827 of commento.js:

      "anonName": $(ID_GUEST_DETAILS_INPUT + id).value,

$ID_GUEST_DETAILS_INPUT evaluates to null. I assume because the Guest name box is not there.

Help displaying multiple comment boxes on single page

I tried doing this:

<div class="bl-section">
    <h4>Comments</h4>
    <div class="backlinks">
      <script defer data-id-root="{{ anchorize .RelPermalink }}" data-page-id="{{ anchorize .RelPermalink }}" data-auto-init="false" src="https://cdn.commento.io/js/commento.js"></script>
      <a href="#" onclick="javascript:window.commento.main()">View/Make Comment</a>
      <div id="commento"></div>
      <div id="{{ anchorize .RelPermalink }}"></div>
    </div>
  </div>

And the right unique ids show up on my site when a new link is loaded on the same page, but only one comment box is displayed. Here's an example that loads 3 "pages" in the same page with commento forms that have different "data-id-root" values:

https://www.paretooptimal.dev/nixos/?stackedNotes=..%2Fnixos-configuration%2F&stackedNotes=..%2Fpackage-management-and-configuration-in-emacs%2F

I found the PR adding reinit and this repo from there.

If I deploy an instance to Heroku should it fix my problem or is more needed?

Edit: Maybe yes, because when I click those links the comment boxes load in the initial div. I've been debugging this for a while, so wanted some confidence before going down yet another path ๐Ÿ˜„

[FEATURE REQ] Show all comments via Commento UI

Hello,

atm, only comments that are visible via the UI are ones that are waiting for moderation view. Would it be possible to view all the comments in some format so we don't have to review them via DB?

tnx in advance!

RFE: Consider using an ORM to support databases other than Postgres

Happy New Year! And thanks for getting Commento development moving again! ๐Ÿ˜„

Tying Commento to Postgres limits how many people can use it. In principle, an ORM like GORM could allow a far wider audience to use Commento by making other databases an option (MySQL and SQLite in particular).

I've no idea whether anyone might be interested in doing the work to implement this, but I thought I'd file this issue on the off-chance.

Allow user connected through social login to delete all their data easily (GDPR compliance)

Hi, first, thanks for your work improving Commento,

Concerning the issue, while you have added the possibility for account to delete all their comments in the account setting page, when connected through github, google, twitter, this page is not available.

As we cannot delete an account as an admin, it should be possible for those users to do it for GDPR compliance.

Maybe by giving them access to a account setting page with just the delete option available ?

Comentoplusplus cannot initialize database properly

I have been building ARM versions of commento (plus plus) to run on my Raspberry Pi.

I built the original commento by doing git clone, make prod etc. and it works fine.
I built commentoplusplus the same way and I can run it just fine replacing the original commento in a place where the original has set up the database and registered the first user
If I use commentoplusplus to setup the database and register the first user it fails.

By doing repeated dropdb/createdb I have been able to reproduce this at will.

This is commento working

/var/log/syslog:Mar  2 11:27:26 micronetia commento[16699]: 2021/03/02 11:27:26 [INFO] version.go:13 versionPrint(): starting Commento v1.8.0-rc1-8-g84bfd64
/var/log/syslog:Mar  2 11:27:26 micronetia commento[16699]: 2021/03/02 11:27:26 [INFO] database_connect.go:20 dbConnect(): opening connection to postgres: postgres://commento:[email protected]:5432/commento?sslmode=disable
/var/log/syslog:Mar  2 11:27:26 micronetia commento[16699]: 2021/03/02 11:27:26 [INFO] database_migrate.go:47 migrateFromDir(): 0 migrations already installed, looking for more
/var/log/syslog:Mar  2 11:27:27 micronetia commento[16699]: 2021/03/02 11:27:27 [INFO] database_migrate.go:89 migrateFromDir(): 29 new migrations completed (29 total)
/var/log/syslog:Mar  2 11:27:27 micronetia commento[16699]: 2021/03/02 11:27:27 [WARNING] smtp_configure.go:17 smtpConfigure(): smtp not configured, no emails will be sent
/var/log/syslog:Mar  2 11:27:27 micronetia commento[16699]: 2021/03/02 11:27:27 [INFO] smtp_templates.go:43 smtpTemplatesLoad(): loading templates: [confirm-hex reset-hex domain-export domain-export-error]
/var/log/syslog:Mar  2 11:27:27 micronetia commento[16699]: 2021/03/02 11:27:27 [INFO] sigint.go:22 sigintCleanupSetup(): setting up SIGINT cleanup
/var/log/syslog:Mar  2 11:27:27 micronetia commento[16699]: 2021/03/02 11:27:27 [INFO] router.go:32 routesServe(): starting server on 127.0.0.1:8081

This is commentoplusplus not working

/var/log/syslog:Mar  2 11:31:37 micronetia commento[16755]: 2021/03/02 11:31:37 [INFO] version.go:13 versionPrint(): starting Commento v1.8.4-14-ga020fd6
/var/log/syslog:Mar  2 11:31:37 micronetia commento[16755]: 2021/03/02 11:31:37 [INFO] database_connect.go:20 dbConnect(): opening connection to postgres: postgres://commento:[email protected]:5432/commento?sslmode=disable
/var/log/syslog:Mar  2 11:31:37 micronetia commento[16755]: 2021/03/02 11:31:37 [INFO] database_migrate.go:47 migrateFromDir(): 0 migrations already installed, looking for more
/var/log/syslog:Mar  2 11:31:37 micronetia commento[16755]: 2021/03/02 11:31:37 [ERROR] database_migrate_email_notifications.go:18 migrateEmails(): cannot get comments: pq: relation "commenters" does not exist
/var/log/syslog:Mar  2 11:31:37 micronetia commento[16755]: 2021/03/02 11:31:37 [ERROR] database_migrate.go:78 migrateFromDir(): cannot execute Go migration associated with SQL /home/commento/commento-server/db/20190213033530-email-notifications.sql: Encountered error applying database migration.
/var/log/syslog:Mar  2 11:31:37 micronetia commento[16755]: fatal error: Encountered error applying database migration.
/var/log/syslog:Mar  2 11:31:37 micronetia systemd[1]: commento.service: Main process exited, code=exited, status=1/FAILURE
/var/log/syslog:Mar  2 11:31:37 micronetia systemd[1]: commento.service: Failed with result 'exit-code'.

Multiple domain for a single project

First of all thanks for keeping it alive. I have bit of issue with my configuration. Can we have configuration for a single project base with multiple domains? rather than each domain attached to each project?

For example, if I have app.domain.com the comments would load fine. But if I deploy this on mobile app the comments would not show since origin is different. So do I have any solution for this?

Memory leak?

Over about ten to twelve days, RSS size went from around 30M to over 120M with no comments processed. I'm running a cloned copy of this repo, straight without using docker. It could be upstream's issue or yours, you're in a better position to judge I imagine, but I'm reporting it here since it is this version I'm running.

Github Action for automatically building Docker images

I noticed that the repo currently does not have some CI/CD functionality to automatically build Docker images when it is updated, or a new release comes out. Therefore the latest tag of caroga/commentoplusplus Docker image has not been updated with the newest changes.

Let me know if you think that such functionality would be useful for the repository. If so, we could implement it similar to how it is implemented in the ion-sfu repository.

cant create account

Hi, thank you for this. Been looking for a comment system i could host on heroku for a while.
Now the issue i am facing is that i can't create and account despite setting the option to true.
Did i miss something in the readme or is this an issue i have to fix.
If so kindly help me.
I didn't set the smtp options, only the domain name and changed account the option to true

Guest names even if anonymous authentication is disabled

Currently, you can only provide guest names when anonymous authentication is enabled, but I think it would be a great feature if you would have an option to make the name mandatory when writing a comment.

commento_anonymously_enabled

As it is now, you can still click the "COMMENT ANONYMOUSLY" button and therefore don't have to enter a name, but if you disable the "anonymous authentication" feature you have no name field at all.

commento_anonymously_disabled

Let me know what you think of the idea and we can further discuss the implementation detail then.

db files ending up in build/prod/db/db instead of build/prod/db?

Hi,

I had a weird issue upgrading this morning: I was running an older version (March 2021 I believe), which was installed by git clone'ing this repo.

This morning I did a git pull, followed by a make prod and a restart of the comment-server.

When checking the site, I saw that no comments were loaded, and when logging in, I noticed a few PostgreSQL errors on the console. I quickly determined that the last few migrations hadn't run.

I then noticed that the .sql migration files were placed in ~/commentoplusplus/build/prod/db/db, while the other (March) sql files where in ~/commentoplusplus/build/prod/db.

After I copied all .sql files from the db/db dir to the db dir, and kicked the server, everything ran.

How to modify SMTP configuration

Hi,

what is the receommended way to change SMTP settings?
It does not seemd to be enough to change the environment variables and restart the docker-compose setup. In the commento startup log I always see then the old SMTP data.
Only deleting the commento volume did the trick; the database got initialized then with the new values.
But I assume there is another way, too...
Thanks,
Simon

Make Websockets optional

I'd be running Commento++ behind a reverse proxy, and don't really want to let websockets through. For a commenting service it might be a bit overkill. Could this be a configurable feature? I love what you've done though, and that you are pushing Commento forward.

Delete user account

First of all, thank you for continuing Commento's development. Because of you it is possible to keep using Commento at all.
I have a few feature requests that I would be happy to see implemented if possible.

Could you please include a way for the user to delete their account? Alternatively also a possibility from the dashboard GUI for the admin. Because at the moment it's hardly possible to run Commento GDPR compliant once you enable email login.

Just want to say thanks!

Holy crap, had some issues with the original Commento branch, from avatars all the way to the github oauth issues.

Just wanted to say thanks for fixing all the issues!

Find out new comments

Hello,
Here is more a suggestion. It should be great to have a page resuming 10 (or 20, or a customisable value) last comments.
That will help a lot finding new comments, if they are made by authorized people, as we don't show them in approval.
Thanks

No analytics since swith to CommentoPLUSPLUS

Hello,
I've switched a month ago to CommentoPLUSPLUS but I don't have anymore views statistics displayed. Comments statistics are OK.
I've tried to deactivate and reactivate again, but no resolution with this.
Thanks for help.

Change account name without picture

Hello,

could you please add the possibility that the user can change his name without adding a picture? Currently, when you log in and try to change your name, a message appears that a field (the one with the image URL) is empty.

Kind regards

How to use this repo with docker-compose ?

Hi,

Sorry this it not really an issue.
I'm currently still using the official (dead) commento with the official docker-compose.yml

Is there a chance I could just replace "registry.gitlab.com/commento/commento:SET_VERSION" to an URL to this repo to make it works ?

Thanks

No email notification with multiple domains under a single Commento++ instance

Hello,

have a running Commento(++) instance for years and it's running fine without any problems.

Today I have added a new domain under the same instance, and all works (comments are presented, registered in the DB, visible in the Dashboard etc), apart from the notifications.

Am I wrong that the notifications should come via the same route as my initial domain notifications are coming from? I am using SendGrid as my smtp host, and I see no way to configure another "route" to manage another domain and its notifications?

Any info on this?

Tnx in advanced!

Web vitals errors

First, thank you for all the work on the project. That said, I have found a few bugs/problems when running a website performance test that should be addressed.

Cross origin destination unsafe

This can be fixed by adding the named parameters to the a tag in this line. I could make a PR for this if that is ok with you.

The following error could be a bit harder to debug as it has something to do with WebSockets, but it is not easily reproducible when trying manually. Let me know if you have any ideas about this.

Socket errors

Unable to register, login, or reset my password - Email dispatch failed

Hello, thank you for keeping this project going!

I've deployed Commento++ using Heroku. The first time, I didn't add any SMTP settings, and app didn't deploy properly (there was no styling on the home page, and when I clickedd on "Create an account", the page was not found).

I deleted that app and tried again with SMTP credentials from Mailersend:
Screenshot_20220214-104939

However, when I created my account, I received the error Email dispatch failed. pleasr contact support to resolve the issue.

When I tried to login, I got this error:
Screenshot_20220214-103318

When I tried to create an account with the same credentials, I got this:
Screenshot_20220214-103440

When I tried to reset my password, I got this error:
Screenshot_20220214-103234

Cannot send email

Hey, me again.
I was wondering if you are able to send out emails, e.g. the data export function.
I keep getting the following error in my log:

2021/01/02 21:56:22 [ERROR] domain_export.go:103 domainExportBegin(): error sending data export email for domain.net: Email dispatch failed. Please contact support to resolve this issue.

I've found this in the source and I've traced the configuration for SMTP settings but it should match up.
My configuration is based on IP access, therefore I do not require a smtp username/password:

      COMMENTO_SMTP_HOST: 'smtp-relay.gmail.com'
      COMMENTO_SMTP_PORT: '25' # or 587
      COMMENTO_SMTP_FROM_ADDRESS: '[email protected]'

Could you maybe confirm being able to send out emails? Also, preferable, using the docker image from my PR?

Stop / profanity words?

Hi there,

Firstly great job on this version.

I was wondering is there any way to prevent certain words being entered in comments? I was thinking of something like stop words / profanity list etc?

Can not send mails via anonymous smtp login

Thank you for fixing #27, it is now working fine.
But I have to come up with the next issue: I have problems with sending anonymous emails. The offical commento sends out the mails, but comento++ is just crashing. Here is the log:

Apr 26 12:16:48 servername commento[543680]: 2021/04/26 12:16:48 [INFO] version.go:13 versionPrint(): starting Commento v1.8.6
Apr 26 12:16:48 servername commento[543680]: 2021/04/26 12:16:48 [INFO] database_connect.go:20 dbConnect(): opening connection to postgres: postgres://commento:[email protected]:5432/commento?sslmode=disable
Apr 26 12:16:48 servername commento[543680]: 2021/04/26 12:16:48 [INFO] database_migrate.go:47 migrateFromDir(): 32 migrations already installed, looking for more
Apr 26 12:16:48 servername commento[543680]: 2021/04/26 12:16:48 [INFO] database_migrate.go:91 migrateFromDir(): none found
Apr 26 12:16:48 servername commento[543680]: 2021/04/26 12:16:48 [INFO] smtp_configure.go:28 smtpConfigure(): configuring smtp: exchange.redacted-mailserver-ip
Apr 26 12:16:48 servername commento[543680]: 2021/04/26 12:16:48 [WARNING] smtp_configure.go:30 smtpConfigure(): no SMTP username/password set, Commento will assume they aren't required
Apr 26 12:16:48 servername commento[543680]: 2021/04/26 12:16:48 [INFO] smtp_templates.go:43 smtpTemplatesLoad(): loading templates: [confirm-hex reset-hex domain-export domain-export-error]
Apr 26 12:16:48 servername commento[543680]: 2021/04/26 12:16:48 [INFO] sigint.go:22 sigintCleanupSetup(): setting up SIGINT cleanup
Apr 26 12:16:48 servername commento[543680]: 2021/04/26 12:16:48 [INFO] router.go:38 routesServe(): starting server on 127.0.0.1:37531
Apr 26 12:16:50 servername commento[543680]: 2021/04/26 12:16:50 websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
Apr 26 12:16:53 servername commento[543680]: 2021/04/26 12:16:53 websocket: the client is not using the websocket protocol: 'upgrade' token not found in 'Connection' header
Apr 26 12:16:56 servername commento[543680]: panic: runtime error: invalid memory address or nil pointer dereference
Apr 26 12:16:56 servername commento[543680]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x8ba7d2]
Apr 26 12:16:56 servername commento[543680]: goroutine 53 [running]:
Apr 26 12:16:56 servername commento[543680]: net/smtp.(*Client).Auth(0xc0002c6600, 0x0, 0x0, 0x0, 0x0)
Apr 26 12:16:56 servername commento[543680]: #11/usr/lib/go-1.13/src/net/smtp/smtp.go:204 +0xd2
Apr 26 12:16:56 servername commento[543680]: main.smtpSendMail(0xc000341250, 0xe, 0xc00036e1c0, 0x10, 0xa47027, 0x18, 0xc000169c00, 0x66, 0xc0005ac000, 0x106e, ...)
Apr 26 12:16:56 servername commento[543680]: #11/home/commento/commentoplusplus/api/smtp_send.go:61 +0x731
Apr 26 12:16:56 servername commento[543680]: main.smtpEmailNotification(0xc000341250, 0xe, 0xc00036e1c0, 0x10, 0xa4238a, 0x12, 0xc0003411d0, 0xf, 0xc00007ea20, 0x5a, ...)
Apr 26 12:16:56 servername commento[543680]: #11/home/commento/commentoplusplus/api/smtp_email_notification.go:46 +0x61b
Apr 26 12:16:56 servername commento[543680]: main.emailNotificationModerator(0xc0003411d0, 0xf, 0xc00002c840, 0x40, 0xc0003411e0, 0x8, 0x1c1badc0, 0xed7f50f85, 0xc00022fda0, 0xc0003411e8, ...)
Apr 26 12:16:56 servername commento[543680]: #11/home/commento/commentoplusplus/api/email_notification_new.go:63 +0x5ea
Apr 26 12:16:56 servername commento[543680]: main.emailNotificationNew(0xc0003411d0, 0xf, 0xc00002c840, 0x40, 0xc0003411e0, 0x8, 0x1c1badc0, 0xed7f50f85, 0xc00022fda0, 0xc0003411e8, ...)
Apr 26 12:16:56 servername commento[543680]: #11/home/commento/commentoplusplus/api/email_notification_new.go:152 +0x18f
Apr 26 12:16:56 servername commento[543680]: created by main.commentNewHandler
Apr 26 12:16:56 servername commento[543680]: #11/home/commento/commentoplusplus/api/comment_new.go:151 +0xb6f
Apr 26 12:16:56 servername systemd[1]: commento.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Apr 26 12:16:56 servername systemd[1]: commento.service: Failed with result 'exit-code'.

Do you have an idea or do you need more information?
Thank you!

Need a new release

There have been a number of commits since the last release (https://github.com/souramoo/commentoplusplus/releases/tag/v1.8.4).

I am currently evaluating whether to use Commento or Commento++ and it would be really nice to see the "Powered by Commento" vs. "Powered by Commento++" message in the footer.

At this point, I am leaning towards Commento++. However, since I am using the Docker image produced over on GitLab, there are a number of changes -- including the updated footer message -- that are not included in the v1.8.4 image.

Would you please create a release so I can then request @Caroga to build a new version of the Docker image? Thanks...and, more importantly, thank you for all the time and effort you have invested in improving Commento.

Instructions for adding domains is incorrect

When adding a new domain, the instructions are as follows:

image

The instructions are incorrect. Prefixing your domain with %., e.g. %.example.com will not allow the variations listed. The domain name must still be prefixed with a ..

www.example.com.au and app.example.com would be allowed.
example.com would not be allowed.

To allow example.com, the domain needs to be set up as %example.com.

However, when I tried this, www.example.com was no longer recognised, so I'm not sure if it's possible to have a single domain value that recognises all sub-domains and no sub-domain.

use same comments on multiple Domains

We have a wordpress blog and for some reasons we have multiple domains (also an .onion Domain).

As there is no possibilty to set up multiple Domains for the same comments across all domains, we had to change the commento.js

I think it would be great if there is an option to add multiple Domain option for the same comments in the future.

Szenario:

maindomain.com
alternativedomain.com
oniondomaindaonfdanefnapwefnafewfenmpoin.onion

All of these Domains will load the same blog with the same content. The path behind the Domain part is the same for all domains.

By default commento.js is using parent.location.host + path to determine which comments will be loaded. This means, all Domains have to be entered in the backend and would load different comments for each domain.

At the moment we solved it by changing the commento.js:

  • Replace all "parent.location.host" to "commenthost"
  • Add the following line at the beginning from commento.js
    var commenthost = "nomatch.com"; if (parent.location.host === "maindomain.com" || parent.location.host === "alternativedoman.com" || parent.location.host === "oniondomaindaonfdanefnapwefnafewfenmpoin.onion") {commenthost = "maindomain.com";} else { commenthost = "nomatch.com";};

i18n not working: 404 not found

Hello

first, thanks a lot for developing commento further, really fantastic! Great additional features and Heroku quick deploy, much appreciated!

I ran into an issue using i18n. I use the default config part of quick deploy. Once I change my browser's language e.g. to Spanish, I receive an error:

commento.js:1 GET https://xxx.herokuapp.com/i18n/de.json 404 (Not Found)
Ke @ commento.js:1
(anonymous) @ commento.js:1
Po @ commento.js:1
Vo @ commento.js:1
(anonymous) @ commento.js:1
(anonymous) @ commento.js:1
VM188332:1 Uncaught SyntaxError: Unexpected token p in JSON at position 4
    at Object.parse (<anonymous>)
    at XMLHttpRequest.Ke.t.onload (commento.js:1)
Ke.t.onload @ commento.js:1
load (async)
Ke @ commento.js:1
(anonymous) @ commento.js:1
Po @ commento.js:1
Vo @ commento.js:1
(anonymous) @ commento.js:1
(anonymous) @ commento.js:1

If I change my language back commento++ loads successfully. The *.json files are part of my repo but don't seem to be accessible.

Looks like i18n is not part of the dockerfile?

Indeed. this was the fix - add to Dockerfile(.heroku):

COPY --from=frontend-build /commento/frontend/build/prod/i18n /commento/i18n

Commenter photo does not support png images

I tried to personalize my commenting presence on someone's blog using commentoplusplus by clicking on the settings (edit profile) link in the comments area.

I gave it a URL to a .png
image

that is valid and exists (https://micronetia.devtru.st/content/images/2021/01/micronetia-square.png )

It does not display in the comments. Instead there is a blank circle
image

and if I right click and view image I get a text message:
JPEG decode failed: invalid JPEG format: missing SOI marker

When I change the link to one that is a jpeg one (https://micronetia.devtru.st/content/images/micronetia.jpg ) it works.

The text surrounding the photo box does not mention that jpeg is the only supported format:

Photo
Use an external image hosting service such as Imgur and enter the direct link to the image here. Changes to your profile photo may take a few hours to reflect. Maximum file size allowed is 128 KiB.

No names when E-Mail login disabled

Hello :)
When you disable E-Mail login an anonymous user cannot use any name, it always reverts into "Anonymous", because the checkbox is disabled and can not be unclicked.

image

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.