syncostories / synco Goto Github PK
View Code? Open in Web Editor NEWSynco is a website for starting authors to publish their work and get it out there.
Home Page: https://synco.tk
License: BSD 3-Clause "New" or "Revised" License
Synco is a website for starting authors to publish their work and get it out there.
Home Page: https://synco.tk
License: BSD 3-Clause "New" or "Revised" License
const admins can be .pushed to
To Reproduce
Steps to reproduce the behavior:
How to test
localStorage.name = "<whatever 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
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!
What are the JSON security rules for Synco? (The Rules tab on the DB)
You can't create new stories anymore. I see no error in the code, but obviously, it's either that or something with Firebase.
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;
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.