Giter Site home page Giter Site logo

tentags.io's People

Contributors

kraftman avatar oudeismetis avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

dochne

tentags.io's Issues

per filter user labels

each filter needs a list of labels, and an option for whether they are user selectable or must be given out by mods

set the required/banned thresholds to avoid trolling

need a way to stop people from adding tags deliberately to things in order to get them banned from subs. eg if someone just adds a nsfw tag straight away it will get banned from any nsfw subs, so need to set a threshold when considering tags that a filter doesnt want at a different level as tags that a filter does want

keyboard upvote/downvote

need to be able to use left and right arrows to up/downvote, hide the posts after voting, and load a new post

Basic usability cleanup

check pages redirect correctly after action
Check sidebar displays links in descriptions
check page displays errors when things do
check error messages for each missing field
check error message for sending to a user who has PMs disabled
move username / settings to top right.

add image host

allow users to upload their own images allow users to report images

add basic stats

use hyperloglogs to get stats for unique user views per filter per hour day/week/month etc track pageviews, uniques, logged in uniques, subscribers
Track user stats, add count for posts viewed/posts voted/ comments voted etc
hyperloglog sub counts per minute/hour/day

check how often updates are performed by workers

may need to move to a queue system, we dont want the workers to be sitting around doing one update every 5 seconds, and we also dont want them repeatedly updating the same posts, so we need to allow some time for repeat updates, and also do as many as need doing

fix the way tags load

currently when loading tags every single tag is loaded, and then scanned through. need to come up with something more efficient that doesnt also fill the db with thousands of tagID: tagName maps.
may be easier to remove tagIDs entirely??

add scaling system

from bitbucket: track users and allow them to add more tags/have more access once they have used the site more

de-duplicate repeated functions

There are a couple of functions that have been duplicated for testing (e.g. HashIsValid in both api and posts), need to move them out to their own class

geo redirect

need to have each cdn add its ip to redis, add geoip to redis so we know where they are.
check users ip and redirect them to the nearest edge server.
do we log users out if their session changes?

passwordless login

implement passwordless login

  • generate a unique token + time
  • store hash of token in DB
  • check unique key and time
  • create user session, and store session in the DB
  • allow invalidating sessions
  • invalidate the token when used
  • only allow token for certain time limit

How to invalidate client-side sessions?
On session creation, store:

  • ip
  • device
  • createdAt.
  • a unique sessionID

Store he new session in the db under the user info
Store client side:
session token
store server side:
everything thats currently in the cookie.

session invalidation:
session timeout (days of inactivity)
check IPs match?
add store in redis of terminated sessions, make sure all servers read from it regularly.

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.