[nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed
-
Hey,
I am trying this on a fresh 1.3.0 install, and it initially works, but after some time the calendar interface on "New Post" won't open. No errors in ./nodebb log, so i fired up the firefox devtools and got the following:
Translation failed: n @http://fa5a806a-bfa4-4947-88ea-c1abbcacc14d.pub.cloud.scaleway.com:4567/nodebb.min.js?343a5597-8042-49c2-a327-858c58c47838:47:16079 t.fn.datetimepicker @http://fa5a806a-bfa4-4947-88ea-c1abbcacc14d.pub.cloud.scaleway.com:4567/nodebb.min.js?343a5597-8042-49c2-a327-858c58c47838:47:16875 .each @http://fa5a806a-bfa4-4947-88ea-c1abbcacc14d.pub.cloud.scaleway.com:4567/nodebb.min.js?343a5597-8042-49c2-a327-858c58c47838:1:2988 p.prototype.each @http://fa5a806a-bfa4-4947-88ea-c1abbcacc14d.pub.cloud.scaleway.com:4567/nodebb.min.js?343a5597-8042-49c2-a327-858c58c47838:1:1077 t.fn.datetimepicker @http://fa5a806a-bfa4-4947-88ea-c1abbcacc14d.pub.cloud.scaleway.com:4567/nodebb.min.js?343a5597-8042-49c2-a327-858c58c47838:47:16740 e.show @http://fa5a806a-bfa4-4947-88ea-c1abbcacc14d.pub.cloud.scaleway.com:4567/nodebb.min.js?343a5597-8042-49c2-a327-858c58c47838:45:6130 g @http://fa5a806a-bfa4-4947-88ea-c1abbcacc14d.pub.cloud.scaleway.com:4567/nodebb.min.js?343a5597-8042-49c2-a327-858c58c47838:11:381 t @http://fa5a806a-bfa4-4947-88ea-c1abbcacc14d.pub.cloud.scaleway.com:4567/nodebb.min.js?343a5597-8042-49c2-a327-858c58c47838:50:3006 notify.run @http://fa5a806a-bfa4-4947-88ea-c1abbcacc14d.pub.cloud.scaleway.com:4567/nodebb.min.js?343a5597-8042-49c2-a327-858c58c47838 line 25 > eval:87:22 notify @http://fa5a806a-bfa4-4947-88ea-c1abbcacc14d.pub.cloud.scaleway.com:4567/nodebb.min.js?343a5597-8042-49c2-a327-858c58c47838 line 25 > eval:100:28 module.exports/flush @http://fa5a806a-bfa4-4947-88ea-c1abbcacc14d.pub.cloud.scaleway.com:4567/nodebb.min.js?343a5597-8042-49c2-a327-858c58c47838 line 17 > eval:18:9 nodebb.min.js:50:3031
Any ideas what's wrong ?
-
@Nikolai-Bochev hi, thanks for the report. can you explain a little more about the context? When did this error occur? Was it on a page with a certain event, and if so, what was the "source code" for the post? Is your site publicly available, I'd like to test it out if possible.
-
@PitaJ said in [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed:
@Nikolai-Bochev hi, thanks for the report. can you explain a little more about the context? When did this error occur? Was it on a page with a certain event, and if so, what was the "source code" for the post? Is your site publicly available, I'd like to test it out if possible.
Hey,
It is when you click on the calendar icon on new post, to create an event and the UI does not open at all. There is no other event displayed at the time.
The forum is still on testing period. It's at:http://fa5a806a-bfa4-4947-88ea-c1abbcacc14d.pub.cloud.scaleway.com:4567/
You should be able to register without email confirmation and i have allowed calendar even creation in General Discussion. If required i can give you ssh access to the VM as well.
-
@Nikolai-Bochev okay I've made a change that should fix your issue.
npm install [email protected]
Thanks for testing it out!
-
@PitaJ said in [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed:
@Nikolai-Bochev okay I've made a change that should fix your issue.
npm install [email protected]
Thanks for testing it out!
Problem solved, thanks for being so fast !
-
@evoixmr it looks like the CSS is kinda messed up. What browser are you on?
I do plan on introducing more custom repeat options.
Oh, oops. Didn't mean to show the response thing in the email.
The invite thing sounds interesting. I'd like to keep it restricted to inviting existing users.
-
@evoixmr okay I fixed the issue. Upgrade to
[email protected]
. -
@evoixmr yeah it obeys either the view or reply permission, depending on the setting in the ACP.
-
@evoixmr what version are you on? I may have accidentally introduced a regression in a previous version.
-
@PitaJ 1.0.0-alpha.21. I can not make the calendar viewable by guest, without giving guest permission to reply. I want them to be able to view the calendar but not post anything.
Can you also add an option when a certain area of the date is double clicked it will open a window to either create a post or create an event? The event can be posted on a preselected category by the admin.
-
@evoixmr okay I think I fixed your issue. Try
[email protected]
Changelog:
- Only show user's own response in the notification emails
- Calendar event view vs ajaxify fixes
- Fix guests not seeing events in calendar even with read perms
- Hide response form from guests
As for this:
option when ... the date is double clicked it will open a window to ... create an event
How about this:
- Click a
[+]
button on the selected date - Opens the popup to create an event (same one as with the composer button) with the start date prefilled
- Fill in the popup form, plus an extra category field for the topic destination
- New topic is created with the event's title in that selected category, with the event as the post contents
- After topic is created it gets opened in a new tab or something
Does that sound like it will work for you?
-
@PitaJ Your suggestion sound great, another option instead [+] button you can make the number clickable, you can also add a confimation question like "create new event/cancel". I don't think the new tab is needed, just to keep it mobile friendly, it can just redirect to the post.
On the location can make it link to google map? just add this on the link "https://www.google.com/maps/place/" before the address when it's clicked.
Any progress on member or group invite? so that mandatory only affects group.
Thank you.
-
@evoixmr I don't want to do anything special with the location field at the moment. I'd like to keep things pretty simple. It's already parsed as a post, though, so you might be able to use nodebb-plugin-embed-gmap to provide that function.
so that mandatory only affects group
Well at the moment the mandatory feature only affects people who can respond to the event, so if you were to make a category and give only those people permissions to it then it would work similarly.
I'm trying to avoid implementing systems that stray too far away from the basic NodeBB permissions and stuff. Hopefully NodeBB implements a better permissions system at some point more detached from categories, so I don't have to worry about doing it all myself.
-
Hi @PitaJ I've upgraded my sandbox to nodebb 1.4.0 with Calendar v0.22 and I have an issue. The display from the calendar view and the topic view are different:
From the calendar view:
The attendees list is empty
And if I click on "No", "Maybe" or "Yes" I have an error:
From the post view:
It's working fine, and attendees list is showing. I can click tue button without any issue