Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update birthday list every hour #9

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"trailingComma": "none"
}
15 changes: 0 additions & 15 deletions .release-it.json

This file was deleted.

6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

18 changes: 9 additions & 9 deletions .vscode/mmm-googlebirthdaysprovider.code-workspace
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"folders": [
{
"path": "../"
}
],
"settings": {
"files.insertFinalNewline": true,
"files.eol": "\n"
}
"folders": [
{
"path": "../"
}
],
"settings": {
"files.insertFinalNewline": true,
"files.eol": "\n"
}
}
104 changes: 52 additions & 52 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,54 +1,54 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"label": "Tests",
"script": "test",
"problemMatcher": [],
"group": {
"kind": "test",
"isDefault": true
}
},
{
"label": "Release",
"type": "shell",
"options": {
"shell": { "executable": "C:\\WINDOWS\\system32\\wsl.exe" }
},
"command": "npm run release",
"problemMatcher": []
},
{
"label": "Release alpha",
"type": "shell",
"options": {
"shell": { "executable": "C:\\WINDOWS\\system32\\wsl.exe" }
},
"command": "npm run release -- --preRelease=alpha",
"problemMatcher": []
},
{
"label": "Release beta",
"type": "shell",
"options": {
"shell": { "executable": "C:\\WINDOWS\\system32\\wsl.exe" }
},
"command": "npm run release -- --preRelease=beta",
"problemMatcher": []
},
{
"label": "Run MagicMirror",
"type": "shell",
"command": "npm run start-dev",
"options": {
"cwd": "${workspaceFolder}/../../"
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"label": "Tests",
"script": "test",
"problemMatcher": [],
"group": {
"kind": "test",
"isDefault": true
}
},
{
"label": "Release",
"type": "shell",
"options": {
"shell": { "executable": "C:\\WINDOWS\\system32\\wsl.exe" }
},
"command": "npm run release",
"problemMatcher": []
},
{
"label": "Release alpha",
"type": "shell",
"options": {
"shell": { "executable": "C:\\WINDOWS\\system32\\wsl.exe" }
},
"command": "npm run release -- --preRelease=alpha",
"problemMatcher": []
},
{
"label": "Release beta",
"type": "shell",
"options": {
"shell": { "executable": "C:\\WINDOWS\\system32\\wsl.exe" }
},
"command": "npm run release -- --preRelease=beta",
"problemMatcher": []
},
{
"label": "Run MagicMirror",
"type": "shell",
"command": "npm run start-dev",
"options": {
"cwd": "${workspaceFolder}/../../"
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
8 changes: 5 additions & 3 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
BSD 3-Clause License

Copyright (c) 2018, Jan Syring-Lingenfelder
Copyright (c) 2022, Ulrich Wisser

All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
- Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
- Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its
- Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

Expand Down
14 changes: 14 additions & 0 deletions MMM-CardDavBirthdaysProvider.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Module.register("MMM-CardDavBirthdaysProvider", {
defaults: {},
start: function () {
this.sendSocketNotification("CONFIG", this.config);
Log.info(this.name + " is started");
},
getDom: function () {
let self = this;
var wrapper = document.createElement("div");
wrapper.id = "carddav";
wrapper.style.display = "none";
return wrapper;
}
});
6 changes: 0 additions & 6 deletions MMM-GoogleBirthdaysProvider.js

This file was deleted.

Loading