Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Enabled reply notifications in config

...

Code Block
languageyml
titleisso.conf
linenumberstrue
[general]
dbpath = /home/isso/comments.db
host = https://example.com/
log-file = /home/isso/log-isso.log
max-age = 15m
notify = stdout, smtp
reply-notifications = true

[server]
listen = http://localhost:<port-here>
public-endpoint = https://isso.example.com/
reload = off
profile = off

[moderation]
enabled = true
purge-after = 30d

[smtp]
username = example@example.com
password =<smtp-password-here>
host = mail.example.com
port = 465
security = ssl
to = isso-admin@example.com
from = example@example.com
timeout = 10

[guard]
enabled = true
ratelimit = 2
direct-reply = 3
reply-to-self = false
require-author = false
require-email = false

[admin]
enabled = true
password =<strong-password-here>

...

Code Block
languagejs
linenumberstrue
<script type="text/javascript">

AJS.toInit(function(){

        // place after comments section
        AJS.$('#comments-section').after('<section id="isso-thread" data-title="' + AJS.params.pageTitle + '" data-isso-id="/pages/viewpage.action?pageId=' + AJS.params.pageId + '" style="margin-top:22px"></section>');

        (function() {
            var d = document, s = d.createElement('script');
            s.type = 'text/javascript'; s.async = true;
            s.src = 'https://isso.example.com/js/embed.min.js';
            s.setAttribute('data-isso', 'https://isso.example.com');
            s.setAttribute('data-isso-reply-notifications', 'true');
            (d.head || d.body).appendChild(s);
        })();
});
</script>
<noscript>Please enable JavaScript to view comments.</noscript>

...