Code Monkey home page Code Monkey logo

cms's People

Contributors

molda avatar mrazbb avatar patchwerkqwer avatar petersirka avatar snyk-bot avatar soumen1102 avatar tomee03 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cms's Issues

[Idea] Multiple admin's with customizable role names and more

The Settings for new admins is crazy awesome, but there are a few places where a little bit of advancement wouldn't hurt.
The idea is allowing the creation of user roles with custom names and permissions.
For example:

A few scenarios where this would be useful.

  • You would want a "content creator" only able to submit posts to a certain blog.
    • Role name: "Content Creator"
    • permissions: "/blog-name/"
      • Submit: true
  • You would only want the content manager for a certain blog to approve/deny posts in the blog he/she works in
    • Role name: "content manager"
    • permissions: "/blog-name/
      • ApproveDeny: true

Settings like these would help destroy any type of cms competition like Wordpress, Ghost or Jekyll.

can't create a new user

Hi there
I installed CMS 13.0.0 on the local mac os 10.14.6 Mojave computer. + Node js v13.13.0

  1. I create a new user with super administrator rights
  2. cms will be refused due to incorrect authentication data when attempting to login
  3. when I go back under the default administrator, I see that the new user has not been saved and has disappeared from the list of users on the settings page
    https://drive.google.com/file/d/15tVR5HFJ9Vhr5EY0ljn-EhFmcs6XUBFz/view?usp=sharing
    Thanks!

[Idea] Approval before posts, pages and the like.

Provide an approval of a blog post, page or anything a lower level user could create.
To be published publically an admin must click approve or deny.

A few scenarios where this would be useful.

  • You have a team of content creators that each day write blog posts,
    add pages. The content team has a manager who's an admin to the specific part of the site
    the team works in. The approval process could work like so:
    1. A content creator writes a new blog post. Once he fills out all the necessary details he clicks "Submit",
      his new post is visible on the dashboard but not on the site. Because this post is currently listed as "awaiting approval".
    2. The content manager can log in, see that this post is "awaiting approval", along with all the posts approved & published. He can click on the "awaiting approval" post and review the content. Then he can choose to either:
    • Deny: If the manager Denies the post, then the content creator will be notified along with a small message from the manager explaining why.
    • Approve: If the manager Approves the post, then the post is ready for the public. If the post is set to be published at a certain date it will do so, if not then it will publish immediately as accordingly.

I hope this feature could be considered, it would be incredibility beneficial for a load of content creators looking to switch from the large CMS's to more powerful, lightweight alternatives such as this awesome piece of software.

how to use totaljs's blogengin app in sub domain of cms

hi dear total.js team
i use your both cms and eshop app in my local machine. everything work but in both app i can not list posts by category. here is what i do : 1- in setting page i defined some sample category eg news, tutorial ,... after saving i go to step 2- create some post in each category. but blog page only show all posts and by click on each post it show post detail. i want to do list posts buy category too, just like products on eshop app. I tried so whit no success. then decided to use totaljs blogngine as sub domain under cms ( eg: http://BlogEngineAapp.CmsApp.local) and read your documentation and sampls but again whit no sucsess. i can not undrestand how it work. is this bug? can any one help me? is there any book for total.is or related tutorial?

Security Issue - Cross Site Scripting (Stored)

Description

스크린샷 2022-02-27 15 06 08

PoC : "><img src=x onerror=alert(1)>

Hello @petersirka! I report the security issue. When the administrator creates a page, the page is created by inserting XSS PoC as the name of the page, and the script is executed when going to the page list.

Cannot login anymore

Have lost my credentials. Any advice? Already installed it new, but I have to use the old login details.
Cheers

Do you need Filipino Translation for Totaljs CMS? I can help you

Hi there,

Good day and how are you? I hope this message finds you well.

I am Joseph Buarao (https://utopian.io/@josephbuarao), who has been doing high quality Filipino and Tagalog translations for several projects.

Consider this message as my letter of application. I am a web developer by profession and an experienced Utopian translator -these are on top of being an experienced web developer with more than 6 years of experience and specialized in the following scripting languages and technologies (HTML, CSS, JS, JQUERY, PHP, WORDPRESS and CONCRETE5). This means I know which codes are to be translated, and which ones that are to remain as it is. I am a strong advocate of thought-by-thought instead of word-by-word style of doing the translations, and I am carefully strict in grammars and spellings and proper word conjugations of my languages, Filipino and Tagalog.

I hope to hear from you soon and work with you in the translations. You can count on me that I will do my job with utmost dedication. Thank you and more power to you.

Best Regards,
Joseph Buarao

There is an unauthorized vulnerability in totaljscms

Upload the 1. txt file and click download

图片1

Copy the download link for 1. txt

图片2

Replace the Google browser with an administrator account that has not been logged in for access, and successfully download the file without authorization.

图片3

"TypeError: Assignment to constant variable." while "node debug.js"

----------------------------------------------------> PID: 970 (v4.0)
TypeError: Assignment to constant variable.
    at restart (/Users/srg/Documents/dev/three/debug.js:11:2250)
    at app (/Users/srg/Documents/dev/three/debug.js:11:3687)
    at run (/Users/srg/Documents/dev/three/debug.js:11:3914)
    at Object.<anonymous> (/Users/srg/Documents/dev/three/debug.js:11:4183)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.runMain (module.js:590:10)

Total.js on Cpanel server

Hi ... First of all I want to congratulate the developers of this script for the great work contributed

I installed the script on a Cpanel server, I activate the proxy modules in apache ( WHM EA4 ) and in the installation of the cms app configure the .htaccess

Everything works perfectly, except the home page / returns 404 What can this be due to?

Thanks in advance

BEGIN SSL

RewriteEngine on RewriteCond %{HTTPS} !=on [NC] RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] # END SSL

BEGIN Total.js

RewriteEngine On RewriteRule ^(.*)$ http://%{HTTP_HOST}:8000/$1 [P,L]

More Databases

I would like to ask in reference to totaljs/cmsbundle#1

I had look up in databases.js and wouldn't making app multi DB be possible with adding dependency of TotalJS DBMS and replacing all TABLE() keywords in database.js and switching them to DBMS() keyword, based on example from TotalJS docs?

obraz

Instruction in readme.md is wrong

You write:

innstall $ npm install total.js
open cms directory $ cd cms
run it node debug.js

But there is no /cms. So erase the second line, and all will be fine :)

[Security] Stored XSS

Tested version: 8c2c8909 (latest)

Steps to reproduce the vulnerability:

  • Login in the application.
  • Set "</script><script>alert(document.domain)</script> as CDN (for jComponent Library) in settings.
  • Fill other required fields with random values and save.
  • Then just visit the admin dashboard and the alert will fire.

Each time a target will visit the dashboard the payload will fire, even if the target is not logged in! Since the wesbite redirects to /admin/ presenting the login form, but the payload is reflected also there.

In order to test this, just click logout and reload the page.

Screenshot from 2022-09-19 19-30-33

Screenshot from 2022-09-19 17-48-46

[Security] Stored XSS

Tested version: 8c2c8909 (latest)

Steps to reproduce the vulnerability:

  • Login in the application.
  • Set " <script>alert(document.domain)</script> as website name.
  • Fill other required fields with random values and save.
  • Then just visit the admin dashboard and the alert will fire.

Each time a target will visit the dashboard the payload will fire, even if the target is not logged in! Since the wesbite redirects to /admin/ presenting the login form, but the payload is reflected also there.

In order to test this, just click logout and reload the page.

Screenshot from 2022-09-19 17-48-22

Screenshot from 2022-09-19 17-48-46

How do I run CMS using my own PostgreSQL

i want to share the data wiht other service ,so i want to connect my own PostgreSQL.
but i found it was used the NOSQL in project ,so ask how to change more quickly.

Thanks

running debug.js error

node debug.js
-------------------------> DEBUG PID: 26915 (v2.9.2)
[TypeError: stream.prependListener is not a function]
======= 2018-01-31 06:54:57: TypeError: stream.prependListener is not a function TypeError: stream.prependListener is not a function
    at onFinished (/root/youpitchme/cms/node_modules/total.js/internal.js:3147:10)
    at global.WTF.global.NOBIN.global.NOCOUNTER.global.NOMEM.global.CONFIG.global.UPTODATE.global.INSTALL.global.UNINSTALL.global.RESOURCE.global.TRANSLATE.global.TRANSLATOR.global.TRACE.global.$$$.global.CREATE.global.SCRIPT.global.SINGLETON.global.FUNCTION.global.ROUTING.global.SCHEDULE.global.ROUTE.global.GROUP.global.WEBSOCKET.global.FILE.global.REDIRECT.global.CLEANUP (/root/youpitchme/cms/node_modules/total.js/index.js:436:2)
    at Database.emit.Database.removeListener.Database.$reader2 (/root/youpitchme/cms/node_modules/total.js/nosql.js:1204:3)
    at Database.emit.Database.removeListener.Database.$reader (/root/youpitchme/cms/node_modules/total.js/nosql.js:994:8)
    at Database.emit.Database.removeListener.Database.next (/root/youpitchme/cms/node_modules/total.js/nosql.js:576:8)
    at Immediate.next_operation (/root/youpitchme/cms/node_modules/total.js/nosql.js:233:7)
    at Immediate.immediate._onImmediate (timers.js:445:18)
    at processImmediate [as _immediateCallback] (timers.js:383:17)
[TypeError: stream.prependListener is not a function]
======= 2018-01-31 06:54:57: TypeError: stream.prependListener is not a function TypeError: stream.prependListener is not a function
    at onFinished (/root/youpitchme/cms/node_modules/total.js/internal.js:3147:10)
    at global.WTF.global.NOBIN.global.NOCOUNTER.global.NOMEM.global.CONFIG.global.UPTODATE.global.INSTALL.global.UNINSTALL.global.RESOURCE.global.TRANSLATE.global.TRANSLATOR.global.TRACE.global.$$$.global.CREATE.global.SCRIPT.global.SINGLETON.global.FUNCTION.global.ROUTING.global.SCHEDULE.global.ROUTE.global.GROUP.global.WEBSOCKET.global.FILE.global.REDIRECT.global.CLEANUP (/root/youpitchme/cms/node_modules/total.js/index.js:436:2)
    at Database.emit.Database.removeListener.Database.$reader2 (/root/youpitchme/cms/node_modules/total.js/nosql.js:1204:3)
    at Database.emit.Database.removeListener.Database.$reader (/root/youpitchme/cms/node_modules/total.js/nosql.js:994:8)
    at Database.emit.Database.removeListener.Database.next (/root/youpitchme/cms/node_modules/total.js/nosql.js:576:8)
    at Immediate.next_operation (/root/youpitchme/cms/node_modules/total.js/nosql.js:233:7)
    at Immediate.immediate._onImmediate (timers.js:445:18)
    at processImmediate (timers.js:383:17)
    at nextTickCallbackWith0Args (node.js:419:9)
    at process._tickCallback (node.js:348:13)
[TypeError: stream.prependListener is not a function]
======= 2018-01-31 06:54:57: TypeError: stream.prependListener is not a function TypeError: stream.prependListener is not a function
    at onFinished (/root/youpitchme/cms/node_modules/total.js/internal.js:3147:10)
    at global.WTF.global.NOBIN.global.NOCOUNTER.global.NOMEM.global.CONFIG.global.UPTODATE.global.INSTALL.global.UNINSTALL.global.RESOURCE.global.TRANSLATE.global.TRANSLATOR.global.TRACE.global.$$$.global.CREATE.global.SCRIPT.global.SINGLETON.global.FUNCTION.global.ROUTING.global.SCHEDULE.global.ROUTE.global.GROUP.global.WEBSOCKET.global.FILE.global.REDIRECT.global.CLEANUP (/root/youpitchme/cms/node_modules/total.js/index.js:436:2)
    at Database.emit.Database.removeListener.Database.$reader2 (/root/youpitchme/cms/node_modules/total.js/nosql.js:1204:3)
    at Database.emit.Database.removeListener.Database.$reader (/root/youpitchme/cms/node_modules/total.js/nosql.js:994:8)
    at Database.emit.Database.removeListener.Database.next (/root/youpitchme/cms/node_modules/total.js/nosql.js:576:8)
    at Immediate.next_operation (/root/youpitchme/cms/node_modules/total.js/nosql.js:233:7)
    at Immediate.immediate._onImmediate (timers.js:445:18)
    at processImmediate (timers.js:383:17)
    at nextTickCallbackWith0Args (node.js:419:9)
    at process._tickCallback (node.js:348:13)
====================================================
PID         : 26920
Node.js     : v4.2.6
Total.js    : v2.9.2
OS          : linux 4.4.0-109-generic
====================================================
Name        : CMS
Version     : 8.0.0
Author      : Peter Širka
Date        : 2018-01-31 06:54:57
Mode        : debug
====================================================

http://0.0.0.0:8000/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.