@kaikybrofc/omnizap-system 2.3.3 → 2.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -22
- package/app/modules/stickerModule/stickerCommand.js +1 -6
- package/app/modules/stickerModule/stickerTextCommand.js +1 -6
- package/package.json +1 -1
- package/public/api-docs/index.html +3 -2
- package/public/apple-touch-icon.png +0 -0
- package/public/bot-whatsapp-para-grupo/index.html +3 -1
- package/public/bot-whatsapp-sem-programar/index.html +3 -1
- package/public/comandos/index.html +3 -2
- package/public/como-automatizar-avisos-no-whatsapp/index.html +3 -1
- package/public/como-criar-comandos-whatsapp/index.html +3 -1
- package/public/como-evitar-spam-no-whatsapp/index.html +3 -1
- package/public/como-moderar-grupo-whatsapp/index.html +3 -1
- package/public/como-organizar-comunidade-whatsapp/index.html +3 -1
- package/public/favicon-16x16.png +0 -0
- package/public/favicon-32x32.png +0 -0
- package/public/favicon.ico +0 -0
- package/public/index.html +11 -10
- package/public/js/apps/homeApp.js +22 -18
- package/public/js/apps/loginApp.js +3 -1
- package/public/js/apps/userProfileApp.js +0 -9
- package/public/licenca/index.html +3 -2
- package/public/login/index.html +3 -1
- package/public/melhor-bot-whatsapp-para-grupos/index.html +3 -1
- package/public/site.webmanifest +24 -0
- package/public/stickers/create/index.html +3 -1
- package/public/stickers/index.html +3 -1
- package/public/termos-de-uso/index.html +3 -2
- package/public/user/index.html +227 -121
- package/public/user/systemadm/index.html +3 -1
- package/server/controllers/admin/adminBanService.js +138 -0
- package/server/controllers/admin/adminPanelHandlers.js +1965 -0
- package/server/controllers/{systemAdminController.js → admin/systemAdminController.js} +2 -2
- package/server/controllers/{stickerCatalogController.js → sticker/stickerCatalogController.js} +129 -2116
- package/server/controllers/userController.js +1 -1
- package/server/routes/admin/systemAdminRouter.js +1 -1
- package/server/routes/indexRouter.js +3 -3
- package/server/routes/{stickerCatalog → sticker}/stickerApiRouter.js +1 -1
- package/server/routes/{stickerCatalog → sticker}/stickerDataRouter.js +1 -1
- package/server/routes/{stickerCatalog → sticker}/stickerSiteRouter.js +1 -1
- /package/server/controllers/{stickerCatalog → sticker}/nonCatalogHandlers.js +0 -0
- /package/server/routes/{stickerCatalog → sticker}/catalogHandlers/catalogAdminHttp.js +0 -0
- /package/server/routes/{stickerCatalog → sticker}/catalogHandlers/catalogAuthHttp.js +0 -0
- /package/server/routes/{stickerCatalog → sticker}/catalogHandlers/catalogPublicHttp.js +0 -0
- /package/server/routes/{stickerCatalog → sticker}/catalogHandlers/catalogUploadHttp.js +0 -0
- /package/server/routes/{stickerCatalog → sticker}/catalogRouter.js +0 -0
|
@@ -19,7 +19,7 @@ const USER_API_PATHS = new Set([`${STICKER_API_BASE_PATH}/auth/google/session`,
|
|
|
19
19
|
let stickerCatalogControllerPromise = null;
|
|
20
20
|
const loadStickerCatalogController = async () => {
|
|
21
21
|
if (!stickerCatalogControllerPromise) {
|
|
22
|
-
stickerCatalogControllerPromise = import('./stickerCatalogController.js');
|
|
22
|
+
stickerCatalogControllerPromise = import('./sticker/stickerCatalogController.js');
|
|
23
23
|
}
|
|
24
24
|
return stickerCatalogControllerPromise;
|
|
25
25
|
};
|
|
@@ -2,7 +2,7 @@ let systemAdminControllerPromise = null;
|
|
|
2
2
|
|
|
3
3
|
const loadSystemAdminController = async () => {
|
|
4
4
|
if (!systemAdminControllerPromise) {
|
|
5
|
-
systemAdminControllerPromise = import('../../controllers/systemAdminController.js');
|
|
5
|
+
systemAdminControllerPromise = import('../../controllers/admin/systemAdminController.js');
|
|
6
6
|
}
|
|
7
7
|
return systemAdminControllerPromise;
|
|
8
8
|
};
|
|
@@ -4,9 +4,9 @@ import { maybeHandleMetricsRequest } from './metrics/metricsRouter.js';
|
|
|
4
4
|
import { maybeHandleHealthRequest, shouldHandleHealthPath } from './health/healthRouter.js';
|
|
5
5
|
import { buildUserApiPaths, getUserRouterConfig, maybeHandleUserRequest, shouldHandleUserPath } from './user/userRouter.js';
|
|
6
6
|
import { getSystemAdminRouterConfig, maybeHandleSystemAdminRequest, shouldHandleSystemAdminPath } from './admin/systemAdminRouter.js';
|
|
7
|
-
import { getStickerSiteRouterConfig, maybeHandleStickerSiteRequest, shouldHandleStickerSitePath } from './
|
|
8
|
-
import { getStickerDataRouterConfig, maybeHandleStickerDataRequest, shouldHandleStickerDataPath } from './
|
|
9
|
-
import { getStickerApiRouterConfig, maybeHandleStickerApiRequest, shouldHandleStickerApiPath } from './
|
|
7
|
+
import { getStickerSiteRouterConfig, maybeHandleStickerSiteRequest, shouldHandleStickerSitePath } from './sticker/stickerSiteRouter.js';
|
|
8
|
+
import { getStickerDataRouterConfig, maybeHandleStickerDataRequest, shouldHandleStickerDataPath } from './sticker/stickerDataRouter.js';
|
|
9
|
+
import { getStickerApiRouterConfig, maybeHandleStickerApiRequest, shouldHandleStickerApiPath } from './sticker/stickerApiRouter.js';
|
|
10
10
|
|
|
11
11
|
const startsWithPath = (pathname, prefix) => {
|
|
12
12
|
if (!pathname || !prefix) return false;
|
|
@@ -5,7 +5,7 @@ let stickerCatalogControllerPromise = null;
|
|
|
5
5
|
|
|
6
6
|
const loadStickerCatalogController = async () => {
|
|
7
7
|
if (!stickerCatalogControllerPromise) {
|
|
8
|
-
stickerCatalogControllerPromise = import('../../controllers/stickerCatalogController.js');
|
|
8
|
+
stickerCatalogControllerPromise = import('../../controllers/sticker/stickerCatalogController.js');
|
|
9
9
|
}
|
|
10
10
|
return stickerCatalogControllerPromise;
|
|
11
11
|
};
|
|
@@ -7,7 +7,7 @@ let stickerCatalogControllerPromise = null;
|
|
|
7
7
|
|
|
8
8
|
const loadStickerCatalogController = async () => {
|
|
9
9
|
if (!stickerCatalogControllerPromise) {
|
|
10
|
-
stickerCatalogControllerPromise = import('../../controllers/stickerCatalogController.js');
|
|
10
|
+
stickerCatalogControllerPromise = import('../../controllers/sticker/stickerCatalogController.js');
|
|
11
11
|
}
|
|
12
12
|
return stickerCatalogControllerPromise;
|
|
13
13
|
};
|
|
@@ -2,7 +2,7 @@ let stickerCatalogControllerPromise = null;
|
|
|
2
2
|
|
|
3
3
|
const loadStickerCatalogController = async () => {
|
|
4
4
|
if (!stickerCatalogControllerPromise) {
|
|
5
|
-
stickerCatalogControllerPromise = import('../../controllers/stickerCatalogController.js');
|
|
5
|
+
stickerCatalogControllerPromise = import('../../controllers/sticker/stickerCatalogController.js');
|
|
6
6
|
}
|
|
7
7
|
return stickerCatalogControllerPromise;
|
|
8
8
|
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|