Code Monkey home page Code Monkey logo

planetocd's People

Contributors

andersonfernandes avatar aureliengasser avatar islanena avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

planetocd's Issues

improve urls

not too short
not too long
words match page content

minify SVGs

make all SVG files as small as possible (without losing any quality)

Prevent "liking" the same article twice

This is a follow-up to #22


Set a cookie on the client side when a user likes a certain article.

Prevent the user from liking the article again by checking the presence of the cookie on the server side

Create new `/a-propos` route

Create a new /a-propos route

  • It should render the same view as the /about route
  • When the current locale I18n.locale is fr:
    • the /about URL should redirect to /a-propos (302: Temporary redirect)
    • the current links (in the header) pointing to /about should instead point to /a-propos

Add ability to filter articles by tag

Dependent on #36

Add a "filter by tag" dropdown to the main article list page (e.g. https://planetocd.org/fr/). The dropdown should list all the existing tags. Clicking a tag should tag the user to a ?tag=<tag> URL which is similar to the main article list page, except:

  • the title is " articles"
  • the list of articles is filtered by

Make sure the people clicking "like" are humans

This is a follow-up to #22


Add a challenge before submitting the "like" form.

The challenge should not be a Google recaptcha (or anything that sends requests to other domains) but instead a simple, homemade challenge, involving multiple options. Clicking on the correct option should post the "like" form.

Add a xsrf token to the "like" POST route

This is a follow-up to #22


  • Generate a HMAC for each visitor, based on their IP address and a secret stored in an environment variable
  • Render that token as a hidden input in the form element
  • When a user posts the form, check that the submitted form contains the correct token

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.