* [ADD] Added In-App notifications polling. It will show up a browser notification when there are pending notifications

* [MOD] Improved Javascript error handling
* [MOD] Code refactoring

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
This commit is contained in:
nuxsmin
2018-10-16 01:13:38 +02:00
parent 0e3c8beaf2
commit e322563a66
35 changed files with 622 additions and 386 deletions

View File

@@ -75,6 +75,8 @@ final class NotificationController extends ControllerBase implements CrudControl
* getSearchGrid
*
* @return $this
* @throws \DI\DependencyException
* @throws \DI\NotFoundException
* @throws \SP\Core\Exceptions\ConstraintException
* @throws \SP\Core\Exceptions\QueryException
*/
@@ -151,6 +153,8 @@ final class NotificationController extends ControllerBase implements CrudControl
/**
* @return bool
* @throws \DI\DependencyException
* @throws \DI\NotFoundException
* @throws \SP\Core\Exceptions\ConstraintException
* @throws \SP\Core\Exceptions\QueryException
*/
@@ -369,6 +373,8 @@ final class NotificationController extends ControllerBase implements CrudControl
}
/**
* @throws \DI\DependencyException
* @throws \DI\NotFoundException
* @throws \SP\Services\Auth\AuthException
*/
protected function initialize()