underpost 2.8.847 → 2.8.851

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.
Files changed (35) hide show
  1. package/README.md +49 -35
  2. package/cli.md +84 -84
  3. package/conf.js +1 -1
  4. package/docker-compose.yml +1 -1
  5. package/manifests/deployment/dd-template-development/deployment.yaml +2 -2
  6. package/package.json +1 -1
  7. package/src/api/user/user.service.js +9 -38
  8. package/src/cli/run.js +7 -0
  9. package/src/client/Default.index.js +6 -2
  10. package/src/client/components/core/Account.js +1 -1
  11. package/src/client/components/core/Content.js +11 -7
  12. package/src/client/components/core/Css.js +195 -15
  13. package/src/client/components/core/CssCore.js +1 -1
  14. package/src/client/components/core/Docs.js +4 -4
  15. package/src/client/components/core/Input.js +6 -1
  16. package/src/client/components/core/LoadingAnimation.js +8 -15
  17. package/src/client/components/core/LogIn.js +3 -0
  18. package/src/client/components/core/LogOut.js +1 -1
  19. package/src/client/components/core/Modal.js +21 -10
  20. package/src/client/components/core/PanelForm.js +2 -3
  21. package/src/client/components/core/Recover.js +2 -1
  22. package/src/client/components/core/Router.js +22 -23
  23. package/src/client/components/core/SignUp.js +1 -0
  24. package/src/client/components/core/SocketIo.js +3 -3
  25. package/src/client/components/core/VanillaJs.js +48 -17
  26. package/src/client/components/core/Worker.js +3 -1
  27. package/src/client/components/default/CssDefault.js +17 -3
  28. package/src/client/components/default/MenuDefault.js +243 -50
  29. package/src/client/components/default/RoutesDefault.js +8 -14
  30. package/src/client/public/default/assets/background/dark.jpg +0 -0
  31. package/src/client/public/default/assets/background/dark.svg +557 -0
  32. package/src/client/public/default/assets/logo/underpost.gif +0 -0
  33. package/src/index.js +1 -1
  34. package/src/mailer/MailerProvider.js +37 -0
  35. package/src/server/client-build.js +1 -8
@@ -333,14 +333,7 @@ const buildClient = async (options = { liveClientBuildPaths: [], instances: [] }
333
333
  minifyBuild || process.env.NODE_ENV === 'production' ? UglifyJS.minify(jsSrc).code : jsSrc,
334
334
  'utf8',
335
335
  );
336
-
337
- // const title = `${metadata && metadata.title ? metadata.title : cap(client)}${
338
- // view.title ? ` | ${view.title}` : view.path !== '/' ? ` | ${titleFormatted(view.path)}` : ''
339
- // }`;
340
-
341
- const title = `${
342
- view.title ? `${view.title} | ` : view.path !== '/' ? `${titleFormatted(view.path)} | ` : ''
343
- }${metadata && metadata.title ? metadata.title : cap(client)}`;
336
+ const title = metadata.title ? metadata.title : title;
344
337
 
345
338
  const canonicalURL = `https://${host}${path}${
346
339
  view.path === '/' ? (path === '/' ? '' : '/') : path === '/' ? `${view.path.slice(1)}/` : `${view.path}/`