[nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed


  • @PitaJ cool, can this plugin also support nodebb-plugin-composer-redactor?

    I'm going to use nodebb-plugin-composer-redactor for the default composer~

    👍


  • @PitaJ I just updated. Thanks. I do get notification but e-mail notification is not working (for offline user).

    Is there any way to just select certain members or group for invitation?

    Any update on reoccurring events? I would really like to drop google calendar.

  • Global Moderator Plugin & Theme Dev

    @evoixmr I don't think I have any control over what notifications get sent over email. But I'll check.

  • Global Moderator Plugin & Theme Dev

    @Jam I don't know exactly how to make it compatible with redactor, but I'll look into it.

  • Global Moderator Plugin & Theme Dev

    New version. Update to nodebb-plugin-calendar@v1.0.0-alpha.8

    npm install nodebb-plugin-calendar@latest
    

    Changes:

    • Email notifications for reminders when post email notifications enabled @evoixmr

    My next main priority will be recurring events. Then I'll work on the ACP settings page.


  • @PitaJ
    I was not able to upgrade via ACP, I have to do the upgrade on the terminal.

    ACP is showing:
    Installed 1.0.0-alpha.8 | Latest 1.0.0-alpha.7

    I have not received an e-mail notification yet. I created 2 different events to try it out and edited both twice.

    What condition applies for getting e-mail notifications? Do they have to click yes? Will they get an e-mail reminder if I just mention them? Will they get e0mail notification on mandatory?

  • Global Moderator Plugin & Theme Dev

    @evoixmr here is how reminders work:

    If the event is mandatory, all users who have permission to view it are notified. If not, notifications depend on user responses.

    A "yes" response is notified for all reminders and again when the event begins. A "maybe" response is only notified when the event begins. A "no" response, or lack of a response, is never notified.

    Email notifications are sent only if the user has email Post reply notifications enabled in their user settings. An email notification will be sent for every notification the user would normally receive.


  • @PitaJ I tried creating an event multiple times, I did not get an e-mail. Error below:

    Notifier Daemon initialized with
    interval of 300 seconds
    [plugin-calendar] Event (pid:160) saved
    [plugin-calendar] Event (pid:130) saved
    TypeError: expecting an array or an iterable object but got [object Null]
    at apiRejection (/evoixmr/node_modules/bluebird/js/release/promise.js:10:27)
    at PromiseArray.init [as _init] (/evoixmr/node_modules/bluebird/js/release/promise_array.js:62:19)
    at Promise._settlePromise (/evoixmr/node_modules/bluebird/js/release/promise.js:558:21)
    at Promise._settlePromise0 (/evoixmr/node_modules/bluebird/js/release/promise.js:606:10)
    at Promise._settlePromises (/evoixmr/node_modules/bluebird/js/release/promise.js:685:18)
    at Promise._fulfill (/evoixmr/node_modules/bluebird/js/release/promise.js:630:18)
    at /evoixmr/node_modules/bluebird/js/release/nodeback.js:42:21
    at /evoixmr/src/user/data.js:23:4
    at fireFilterHook (/evoixmr/src/plugins/hooks.js:96:11)
    at Object.Plugins.fireHook (/evoixmr/src/plugins/hooks.js:80:5)
    at modifyUserData (/evoixmr/src/user/data.js:141:11)
    at /evoixmr/src/user/data.js:68:4
    at /evoixmr/src/database/mongo/hash.js:136:4
    at handleCallback (/evoixmr/node_modules/mongodb/lib/utils.js:96:12)
    at /evoixmr/node_modules/mongodb/lib/cursor.js:839:16
    at handleCallback (/evoixmr/node_modules/mongodb-core/lib/cursor.js:159:5)
    at setCursorDeadAndNotified (/evoixmr/node_modules/mongodb-core/lib/cursor.js:501:3)
    at nextFunction (/evoixmr/node_modules/mongodb-core/lib/cursor.js:652:7)
    at Cursor.next [as _next] (/evoixmr/node_modules/mongodb-core/lib/cursor.js:693:3)
    at fetchDocs (/evoixmr/node_modules/mongodb/lib/cursor.js:835:10)
    at /evoixmr/node_modules/mongodb/lib/cursor.js:858:7
    at handleCallback (/evoixmr/node_modules/mongodb-core/lib/cursor.js:159:5)

  • Global Moderator Plugin & Theme Dev

    @evoixmr alright thanks for the report. I'll see if I can fix that.


  • @PitaJ I just notice that my forum requires reloading after restarting. with this plugin enable.

  • Global Moderator Plugin & Theme Dev

    @evoixmr Okay, soanswer some questions for me, please.

    1. Does the Calendar work at all before reloading?
    2. What about the calendar doesn't work before the reload?
    3. Are you restarting with the button in the ACP?
    4. Have you tried to see if restarting directly from the command line still requires a reload?
    5. Does the plugin work directly after manually restarting with ./nodebb stop and ./nodebb start?

    Thanks


  • @PitaJ

    1. Yes, I don't get any error message, unless I set the notification (post# 148 here)
    2. Not sure, seems to work the same before or after reload.
    3. Yes, same issue even on a fresh ./nodebb start
    4. Yes
    5. Yes
      Even when run on dev I did not see any error about the calendar.
  • Global Moderator Plugin & Theme Dev

    @evoixmr okay, so the only issue you're having is that NodeBB is telling you that a reload is necessary? It sounds like a bug in NodeBB, not an issue with my plugin.


  • @PitaJ The ACP does not require a reload if I disable the calendar. Right now I'm just ignoring the reload message as everything works.

  • Global Moderator Plugin & Theme Dev

    @evoixmr yeah. Just ignore it. If there's nothing actually going wrong, then odds are there's no problem ignoring it.


  • Hi @PitaJ thanks for you work 🙂 Just installed the Calendar plugin (Alpha 8 ) in my dev environment. Actually the Calendar ACP page is blank with just a text 'Plugin calendar stuff admin'... Nothing in the logs. Any clue?

  • Global Moderator Plugin & Theme Dev

    @azeus at the moment the ACP page is just a blank sheet. I haven't had time to actually work on it, yet. That comes after I've ironed out all the bugs, implemented recurring events, etc.

    Edit: I should probably change it at least temporarily so it tells people that it's just a stand in. Something like

    nothing's here yet

    Under Construction


  • @PitaJ said in [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed:

    mplemented recurring events, etc.

    Tks. Now I have the calendar displayed at forum.url/calendar but a lot of stuff are not working. For example once the calendar is activated, the forum behavior become random, for example sometime it's not possible to go into the chat or to publish a new topic (The click does nothing)... Also the Calendar icon in the composor does nothing...


  • @PitaJ Just installed this plugin! Looks cool, this is exactly what we need.
    One question: is there a way to make the calendar only viewable for users logged in? Meaning that People that are not registered cannot View this calendar


  • @azeus said in [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed:

    @PitaJ said in [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed:

    mplemented recurring events, etc.

    Tks. Now I have the calendar displayed at forum.url/calendar but a lot of stuff are not working. For example once the calendar is activated, the forum behavior become random, for example sometime it's not possible to go into the chat or to publish a new topic (The click does nothing)... Also the Calendar icon in the composor does nothing...

    I haven't run into some of the other weird issues... For the composer button, did you enable the create event permissions in the category?

Suggested Topics

| |