Code Monkey home page Code Monkey logo

synco's People

Contributors

control-alt-delete15 avatar isy123 avatar luca1s avatar prealge avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

isy123

synco's Issues

Admins

const admins can be .pushed to

To Reproduce
Steps to reproduce the behavior:

  1. Enter admins.push("somebody") and check out the result

Security Major Issue

How to test

  1. Open Synco and click create story
  2. Open console and type in localStorage.name = "<whatever name>"
  3. Click create, it will now post with the modified name

How to fix

firebase.auth().onAuthStateChanged(function (user) {
  setInterval(function () {
    if (firebase.auth().currentUser) {
      if (localStorage.name !== user.email.replace("@fakeemail.com", "")) {
        signout()
      }
    }
  }, 100)
})

@TelOfLolth and @prealge This is a major security issue, place this code at Line 20 of db.js

Using custom tags

You are using a <tag> HTML tag for your stories tags. You should be using <span>, <i>,<div> or another non-custom tag. Only use a custom tag if no other solution exists (e.g. TIAPP files <ticon> tags, used for icon class and meant to be fake). If there is a specific reason (like the one above) for this, close and comment this issue!

The Box for the Stories don't seem to show.

I noticed, @prealge , that the box for Apocalypse has disappeared. I can see in db.js that it looks like you tried to set up a sysem where it displays the stories from the DataBase, but this obviously doesn't work right now. Also, could you give me access to the FireBase.

Thanks,
@coffee-media

Security Rules

What are the JSON security rules for Synco? (The Rules tab on the DB)

Posting Stories

You can't create new stories anymore. I see no error in the code, but obviously, it's either that or something with Firebase.

Saving Problem

When you type in an already published story, it automatically sets the cursor to the start It might have something to do with the following code.

document.getElementById("story-text-area").onkeyup = saveStory;

Icon System

Implementing a New Icon System
Hey, @prealge, I think it might be time to start using a new icon database. One that is already out there. Our current one, the one that you made, is fine and all, but either we're going to need to seriously update it, or we should consider my suggestion.

From,
@TelOfLolth

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.