Giter Club home page Giter Club logo

flaggr's People

Contributors

blond11516 avatar dependabot[bot] avatar etienneboutet avatar pourliver avatar res260 avatar sytten avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

flaggr's Issues

Reword Sign in to Log in

Rationale

Using different verb make the two actions (Log in | Sign up) more distinct.

TODO

  • Reword Sign in to Log in in the app

  • Ensure consistency everywhere else (in others places in the app, in documentation, etc.)

Add logging

Right now, no logging is present on the backend of Flaggr, which poses a monitoring and potential security risk.

Flaggr should have mechanisms for proper logging of user actions (such as connections, failed logins, server errors, etc)

Remember current page in challenge administration

Currently when you edit or create a challenge, you go back to the first challenges page upon saving/cancelling. This behaviour is very annoying when editing multiple challenges as you have to navigate back to the correct page every time.

It would be very useful to remember the page you were on before selecting a challenge.

Support dependencies between challenges

Currently, all challenges are independent from each other, meaning that you can complete all challenges in whatever order you want. It would be nice to be able to create ordered tracks, or multi-level challenges, where you have to complete level 1 before attempting level 2 for example.

Fix flask heads conflict

There seems to be a head conflict when running flask db upgrade

Fix with : flask db merge heads`

Support code challenges

Code challenges are challenges where code is executed on the server, and where tests decide the score the user gets.

(more info to come)

Add consistent validation of email address in client and server

Context

During the Sign up, when the email field is validated, the message Please enter an email address. appear when there is no character before or after the @ (at) symbol.

Problem

This message don't appear when there is no . (dot) after the @ (at) symbol (aka, when a TLD is enter as the email domain).

When we press Sign up, we receive an 400 Bad Request from the server.

Validation of email address should be consistent.

Information

It is technically possible for the owner of a TLD to add MX records in the TLD zone.

Reference

https://serverfault.com/a/721929

Support pausing or stopping the event

make the frontend fetch for the event status so it can react if the event closes.

Make a decorator for routes to make sure that some are only accessible when event is not paused (ex submitting flags)

Change the UI of the toggle switch

Rationale

In the Log in - Sign up panel, it seem now that the switch represent the state of the Sign up form. The state of the Log in form is not well represented by the switch.

We can observe something similar in the Manage team panel.

Support a flag format

  • Tell an admin that their flag doesnt respect the flag format when they enter a flag
  • Show the flag format somewhere for the user

Ensure email is case-insensitive

Problem

The email field used in Log in and Sign up (maybe somewhere else?) is case sensitive.

Email address should be treated in a case-insensitive manner.

Step to reproduce

  1. Access a Flaggr instance. (e.g.: https://jdis-ia.dinf.usherbrooke.ca/1/)
  2. Sign up a new user with mixed case email address. (e.g. [email protected])
  3. Log in with the same credential, but with different case in email. (e.g. [email protected])

Access should be granted.

Warning

The password field MUST stay case sensitive.

Reference

https://stackoverflow.com/a/9808332

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.