GithubHelp home page GithubHelp logo

crescentrose / chat-log Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 1.0 783 KB

🎮 parse TF2 log files and extract chat messages from them

Home Page: https://logs.viora.sh

Shell 0.03% Ruby 60.62% JavaScript 0.70% SCSS 24.35% HTML 3.64% Slim 10.48% Dockerfile 0.14% Procfile 0.04%

chat-log's People

Contributors

crescentrose avatar dependabot[bot] avatar jack-avery avatar polyurethanedog avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

polyurethanedog

chat-log's Issues

Add proper permission and user management system

  • Control root user via environment variables
  • Allow root user to create roles and assign permissions to roles
  • Allow root user and users with user management permission to assign roles to users
  • Compute permissions based on the roles

Disallow editing of core role names

You should not be able to edit the Administrator and Everyone role names, because some parts of the system rely on that role being there with that name.

Collapse common messages so that they're easier to scroll through

  • implement a "common messages" list with customizable words, with defaults:
gg
ggwp
gg wp
lol
scramble
vscramble
!vscramble
votescramble
nominate
!nominate
rtv
( ͡° ͜ʖ ͡°)
***UBERED***
ok
hi
  • common messages get "collapsed" (e.g. one line saying X common messages) in the messages list

OR (easier):

  • toggle to display all vs. filtered messages in the message list

Move IP logging block to a permission

Right now we have a User::TRUSTED_USERS constant which contains the array of user IDs that are "trusted" and whose IPs won't be logged. This should be a permission on a role instead.

  • add new permission
  • add a way to add users into the system without them having to log in (limited to root users for now)
  • use steam API to fetch username, avatar and verify steam id
  • add the logic to fetch users with that permission to the log file processing service and pass the array of users to the ConnectionParserService constructor so that we don't get a bunch of database calls for every single connect/disconnect log entry line
  • delete the TRUSTED_USERS variable

This will also resolve the issue of people having to be log in once first before being granted access that they need.

Add Sentry

We can use the free version of Sentry to collect errors.

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.