diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..1160892 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) Christoph Rumpel + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 047b290..8aa5b90 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ With this [Nova](https://nova.laravel.com) tool: - You can overview all sent and failed notifications. -- You can send out notifications. +- You can send out notifications. (depening on the notification's dependencies) - All sent or failed notifications will be stored in the database. [![Latest Version on Packagist](https://img.shields.io/packagist/v/christophrumpel/nova-notifications.svg?style=flat-square)](https://packagist.org/packages/christophrumpel/nova-notifications) diff --git a/resources/js/components/NotificationModalFooter.vue b/resources/js/components/NotificationModalFooter.vue index b4ce781..e860863 100644 --- a/resources/js/components/NotificationModalFooter.vue +++ b/resources/js/components/NotificationModalFooter.vue @@ -21,7 +21,6 @@ }), methods: { handleSubmit: function() { - console.log(this.selectedNotification); this.$root.$emit('submitModal', this.selectedNotification.parameters, this.formObj) }, handleCancel: function() { diff --git a/resources/js/components/NotificationsSend.vue b/resources/js/components/NotificationsSend.vue index 2bcf4b8..b19052d 100644 --- a/resources/js/components/NotificationsSend.vue +++ b/resources/js/components/NotificationsSend.vue @@ -81,7 +81,6 @@ }); this.$root.$on('notifiableSelected', (event) => { - console.log(event); }) }, methods: { @@ -119,12 +118,10 @@ this.$toasted.show('Notification has been sent!', {type: 'success'}); this.selectedNotification = null; }).catch(error => { - console.log(error); this.$toasted.show('There has been an error!', {type: 'error'}); }) }, setParams(params) { - console.log(params); } } } diff --git a/src/NovaNotifications.php b/src/NovaNotifications.php index f8949e2..4088183 100644 --- a/src/NovaNotifications.php +++ b/src/NovaNotifications.php @@ -14,8 +14,8 @@ class NovaNotifications extends Tool */ public function boot() { - Nova::script('nova-notifications', __DIR__.'/../dist/js/tool.js'); - Nova::style('nova-notifications', __DIR__.'/../dist/css/tool.css'); + Nova::script('christophrumpel-nova-notifications', __DIR__.'/../dist/js/tool.js'); + Nova::style('christophrumpel-nova-notifications', __DIR__.'/../dist/css/tool.css'); } /**