- demo notifications generator

- frontend build
This commit is contained in:
Čarodej
2022-03-11 08:40:32 +01:00
parent d02ca13197
commit 0905a0660c
10 changed files with 18 additions and 12 deletions
+6
View File
@@ -84,6 +84,12 @@ RECAPTCHA_CLIENT_SECRET=
SANCTUM_STATEFUL_DOMAINS=localhost,localhost:8000,127.0.0.1,127.0.0.1:8000,::1 SANCTUM_STATEFUL_DOMAINS=localhost,localhost:8000,127.0.0.1,127.0.0.1:8000,::1
PUSHER_APP_ID=local
PUSHER_APP_KEY=local
PUSHER_APP_SECRET=local
PUSHER_APP_CLUSTER=mt1
PUSHER_APP_HOST=
IS_ADMIN_VUEFILEMANAGER_BAR=true IS_ADMIN_VUEFILEMANAGER_BAR=true
IS_SETUP_WIZARD_DEMO=false IS_SETUP_WIZARD_DEMO=false
IS_SETUP_WIZARD_DEBUG=false IS_SETUP_WIZARD_DEBUG=false
+1 -1
View File
@@ -36,7 +36,7 @@ return [
'options' => [ 'options' => [
'cluster' => env('PUSHER_APP_CLUSTER'), 'cluster' => env('PUSHER_APP_CLUSTER'),
'encrypted' => true, 'encrypted' => true,
'host' => '192.168.1.112', 'host' => env('PUSHER_APP_HOST'),
'port' => 6001, 'port' => 6001,
'scheme' => 'http', 'scheme' => 'http',
], ],
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -15,7 +15,7 @@
"/chunks/shared/authenticate.js": "/chunks/shared/authenticate.js?id=dc1a48627066c81d", "/chunks/shared/authenticate.js": "/chunks/shared/authenticate.js?id=dc1a48627066c81d",
"/chunks/not-found.js": "/chunks/not-found.js?id=026c52609cff0249", "/chunks/not-found.js": "/chunks/not-found.js?id=026c52609cff0249",
"/chunks/temporary-unavailable.js": "/chunks/temporary-unavailable.js?id=250d923cb7001cf2", "/chunks/temporary-unavailable.js": "/chunks/temporary-unavailable.js?id=250d923cb7001cf2",
"/chunks/admin.js": "/chunks/admin.js?id=fce04ca9ae98919e", "/chunks/admin.js": "/chunks/admin.js?id=c8e3f6f896bc4c5a",
"/chunks/dashboard.js": "/chunks/dashboard.js?id=94dfb7c678309b6e", "/chunks/dashboard.js": "/chunks/dashboard.js?id=94dfb7c678309b6e",
"/chunks/invoices.js": "/chunks/invoices.js?id=0817b6e71b0da736", "/chunks/invoices.js": "/chunks/invoices.js?id=0817b6e71b0da736",
"/chunks/subscriptions.js": "/chunks/subscriptions.js?id=aa4ca6695a4c43f2", "/chunks/subscriptions.js": "/chunks/subscriptions.js?id=aa4ca6695a4c43f2",
@@ -57,12 +57,12 @@
"/chunks/sign-up.js": "/chunks/sign-up.js?id=7ef0f23926cf5303", "/chunks/sign-up.js": "/chunks/sign-up.js?id=7ef0f23926cf5303",
"/chunks/forgotten-password.js": "/chunks/forgotten-password.js?id=283220c4946806d4", "/chunks/forgotten-password.js": "/chunks/forgotten-password.js?id=283220c4946806d4",
"/chunks/create-new-password.js": "/chunks/create-new-password.js?id=59775b0f2612479a", "/chunks/create-new-password.js": "/chunks/create-new-password.js?id=59775b0f2612479a",
"/chunks/settings.js": "/chunks/settings.js?id=0bec2688576b2298", "/chunks/settings.js": "/chunks/settings.js?id=9b5d82f373afc12e",
"/chunks/profile.js": "/chunks/profile.js?id=ec621bd75eada0ee", "/chunks/profile.js": "/chunks/profile.js?id=ec621bd75eada0ee",
"/chunks/settings-password.js": "/chunks/settings-password.js?id=3e094b17498f56df", "/chunks/settings-password.js": "/chunks/settings-password.js?id=3e094b17498f56df",
"/chunks/settings-storage.js": "/chunks/settings-storage.js?id=cddf4c1f69a29992", "/chunks/settings-storage.js": "/chunks/settings-storage.js?id=cddf4c1f69a29992",
"/chunks/billing.js": "/chunks/billing.js?id=9a21ec44813c1ac7", "/chunks/billing.js": "/chunks/billing.js?id=9a21ec44813c1ac7",
"/chunks/platform.js": "/chunks/platform.js?id=6ffadcbcf86dc5ab", "/chunks/platform.js": "/chunks/platform.js?id=6f93832ae686cc4d",
"/chunks/files.js": "/chunks/files.js?id=fd71f31714a64a8b", "/chunks/files.js": "/chunks/files.js?id=fd71f31714a64a8b",
"/chunks/recent-uploads.js": "/chunks/recent-uploads.js?id=8c21be0d599d5561", "/chunks/recent-uploads.js": "/chunks/recent-uploads.js?id=8c21be0d599d5561",
"/chunks/my-shared-items.js": "/chunks/my-shared-items.js?id=4c02f15bed9ef243", "/chunks/my-shared-items.js": "/chunks/my-shared-items.js?id=4c02f15bed9ef243",
+1 -2
View File
@@ -20,11 +20,10 @@ import Echo from 'laravel-echo';
window.Pusher = require('pusher-js'); window.Pusher = require('pusher-js');
// TODO: set wshost
window.Echo = new Echo({ window.Echo = new Echo({
broadcaster: 'pusher', broadcaster: 'pusher',
key: 'local', key: 'local',
wsHost: '192.168.1.112', wsHost: config.ip,
wsPort: 6001, wsPort: 6001,
forceTLS: false forceTLS: false
}); });
@@ -1,7 +1,7 @@
<template> <template>
<article <article
class="delay-[3000ms] duration-700 transition-all relative z-20 mb-1.5 flex items-start space-x-4 rounded-xl p-2.5 dark:hover:bg-4x-dark-foreground" class="delay-[3000ms] duration-700 transition-all relative z-20 mb-1.5 flex items-start space-x-4 rounded-xl p-2.5"
:class="{'bg-light-background/80': isUnread}" :class="{'dark:bg-4x-dark-foreground bg-light-background/80': isUnread}"
> >
<user-plus-icon <user-plus-icon
v-if="notification.data.attributes.type === 'team-invitation'" v-if="notification.data.attributes.type === 'team-invitation'"
+1
View File
@@ -74,6 +74,7 @@
// todo: refactoring // todo: refactoring
let config = { let config = {
ip: '{{ request()->ip() }}',
host: '{{ url('/') }}', host: '{{ url('/') }}',
api: '{{ url('/api') }}', api: '{{ url('/api') }}',
locale: '{{ app()->getLocale() }}', locale: '{{ app()->getLocale() }}',