[nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed
-
@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) -
@evoixmr alright thanks for the report. I'll see if I can fix that.
-
@evoixmr Okay, soanswer some questions for me, please.
- Does the Calendar work at all before reloading?
- What about the calendar doesn't work before the reload?
- Are you restarting with the button in the ACP?
- Have you tried to see if restarting directly from the command line still requires a reload?
- Does the plugin work directly after manually restarting with
./nodebb stop
and./nodebb start
?
Thanks
-
- Yes, I don't get any error message, unless I set the notification (post# 148 here)
- Not sure, seems to work the same before or after reload.
- Yes, same issue even on a fresh ./nodebb start
- Yes
- Yes
Even when run on dev I did not see any error about the calendar.
-
@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.
-
@evoixmr yeah. Just ignore it. If there's nothing actually going wrong, then odds are there's no problem ignoring it.
-
@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?
-
@absurdsmash yeah it's possible. Can you tell me why you want to hide it, though?
-
@azeus this sounds like an issue due to a glitch somewhere. What browser are you using? Have you tried restarting NodeBB, refreshing your page, and clearing your cache?
-
@PitaJ Hm Just because I dont want other People to be able to view it. We use the forum in a selected Group of 40-50 People. We dont want to attract anyone with the forum and only use it for ourselves as a way to keep things Organized for events
-
@teh_g Yes it's done. Then the categories without the event permission didn't show the button at all
@PitaJ I used FF and Chrome on windows then Safari, FF and Chrome on MAC. Some behavior. I've done some additional tests, the issue seems to happen when I'm connected with an admin account. With normal account I can create events and see them in the calendar... I'm not sure that it's linked to the admin account as it's random. I can give you access to the log or the ACP if needed for debug, just let me know Tks
-
You can remove "read" permissions from guests, and remove the button from the navigation. I may add this feature but it'll be low priority.
-
@azeus are there any errors in the JavaScript console? I would like to have a test admin account for debug if you don't mind. Just send it to me with the chat on here.