[nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed
-
New version. Please try out
[email protected]
Note: this version requires NodeBB v1.13.xnpm i nodebb-plugin-calendar@latest
Changelog:
- Match category text color in calendar view @mrb
- Fix teaser handling (previously teasers showed a garbled mess)
-
In case anyone is interested to make the panel darker with the night mode plugin, we have this modification to CSS
body.lights-out { #plugin-calendar-cal-event-display { .modal-header { background-color: #333 !important; } .modal-footer { background-color: #333 !important; } } }
-
New version. Please try out
[email protected]
Note: this version requires NodeBB v1.13.xnpm i nodebb-plugin-calendar@latest
Changelog:
- Fix #128: unhandled promise rejections when restoring a post without an event
-
Hi @pitaj , I think current master version (alpha.56) is not compatible with NodeBB 1.15.2?
Are we doing something wrong? or should we install:
npm i [email protected]
-
@crazycells I forgot to issue a changelog for this, but there's actually a fix for 1.15 in the latest calendar plugin version.
I'd suggest using alpha.56
If you encounter any problems please open an issue on GitHub.
-
@pitaj can you please check the error log in the link?
compatibility issue with 1.15.2 · Issue #135 · pitaj/nodebb-plugin-calendar
With NodeBB 1.15.2 , we are having these error lines in the log: 2020-11-25T03:25:53.922Z` [4568/20409] - �[33mwarn�[39m: [plugins/nodebb-plugin-calendar] The plugin.json field "library" is deprecated. Please use the package.json field "...
GitHub (github.com)
-
New version. Please try out
[email protected]
Note: this version requires NodeBB v1.15.x or laternpm i nodebb-plugin-calendar@latest
Changelog:
1.0.0-alpha.57 had the following fixes
- Fix #137: editing events in 1.16.2
I believe this version is the most stable I've even released, which is why I think it deserves to escape from alpha status.
-
Hi @PitaJ !
I'm definitely no JS coder but I had a need so I tried to build my own solution.
I ported the discord webhook notification from this project to the latest version https://github.com/fallendusk/nodebb-plugin-calendar-gaiaI'm trying to import the translator to translate the webhook message to be "functional enough" to submit a PR.
So far, I've not managed to do it without having issues. Do you have a suggestion ?Here's my edited version: https://github.com/fl4shback/nodebb-plugin-calendar/blob/0f71635085a3a5c900b745bc259a93031dc76c1a/src/lib/postSave.ts
Thanks
-
@fl4shback51 here's an example of importing the translator server side. You have to use require.main.require:
nodebb-plugin-calendar/src/lib/index.ts at 0f71635085a3a5c900b745bc259a93031dc76c1a · fl4shback/nodebb-plugin-calendar
Fully-featured calendar plugin for NodeBB. Contribute to fl4shback/nodebb-plugin-calendar development by creating an account on GitHub.
GitHub (github.com)
-
@anodetobb what version of the plugin? What version of NodeBB? What version of Node.js?
-
@anodetobb the settings there should be fine, though you may want to shorten the "Interval on which to check for upcoming events" as right now it'll only check every 3 1/2 days and you probably want it more like every few minutes (5 minutes = 300 seconds).
You add events by adding them to a post: https://github.com/pitaj/nodebb-plugin-calendar#how-event-creation-works
-
@dcook are you referring to seeing other people's responses or responding to the event yourself or both?
-
@PitaJ Hi @PitaJ , for NodeBB 1.19.1 we have this warning in the logs:
2022-02-03T04:29:12.098Z [4567/3646564] - [33mwarn[39m: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb reset -p PLUGINNAME` to disable it. [33m * [39mnodebb-plugin-calendar
But, so far I have not seen any clear problem with the plugin. FYI.
-
Currently setting up a v2.0 nodeBB Forum.
I was confused as nodebb-plugin-calendar was listed as compatible here.What am I doing wrong? Do I have to use any special branch/fork?
Installing the @latest ("nodebb-plugin-calendar": "^1.1.3") leads to this error:opt_nodebb_1 | 2022-05-20T13:13:30.946Z [4567/357] - info: Initializing NodeBB v2.0.0 *snip* opt_nodebb_1 | 2022-05-20T13:13:32.447Z [4567/357] - info: [socket.io] Restricting access to origin: *snip* opt_nodebb_1 | 2022-05-20T13:13:33.053Z [4567/357] - warn: [plugins/nodebb-plugin-calendar] The plugin.json field "library" is deprecated. Please use the package.json field "main" instead. opt_nodebb_1 | 2022-05-20T13:13:33.054Z [4567/357] - warn: [plugins] Unable to load library for: nodebb-plugin-calendar opt_nodebb_1 | 2022-05-20T13:13:33.062Z [4567/357] - error: ReferenceError: define is not defined opt_nodebb_1 | at Object.<anonymous> (/usr/src/app/public/src/modules/translator.js:5:1) opt_nodebb_1 | at Module._compile (node:internal/modules/cjs/loader:1105:14) opt_nodebb_1 | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) opt_nodebb_1 | at Module.load (node:internal/modules/cjs/loader:981:32) opt_nodebb_1 | at Function.Module._load (node:internal/modules/cjs/loader:822:12) opt_nodebb_1 | at Module.require (node:internal/modules/cjs/loader:1005:19) opt_nodebb_1 | at require (node:internal/modules/cjs/helpers:102:18) opt_nodebb_1 | at Module.require.main.require (/usr/src/app/require-main.js:8:10) opt_nodebb_1 | at Object.<anonymous> (/usr/src/app/node_modules/nodebb-plugin-calendar/src/lib/index.ts:20:38) opt_nodebb_1 | at Module._compile (node:internal/modules/cjs/loader:1105:14) opt_nodebb_1 |