Giter VIP home page Giter VIP logo

isaac-api's Introduction

isaac-api's People

Contributors

acr31 avatar alistairstead3408 avatar axlewin avatar bh412 avatar chrisjpurdy avatar daviesian avatar dependabot[bot] avatar donderful avatar dunderwood88 avatar giorgi-o avatar jacbn avatar jsharkey13 avatar lgtm-migrator avatar ljw21 avatar mlt47 avatar morpheu5 avatar mwtrew avatar robinmessage avatar rogersnm avatar sacummins avatar scratchcat1 avatar sjd210 avatar skyepurchase avatar wja96 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

isaac-api's Issues

Handle oauth log in failures more gracefully

If the log in fails for some reason then the user is left with some raw json output from the api endpoint (try clicking on the facebook and twitter log in buttons in quick succession to simulate a CSRF failure)

Search bar

It would be nice if the search also went through related content. Example: If you search for Newton, the concepts with Newton in it and questions which are linked to those concepts.

Change how the live version of the site is stored

Currently the initial live version of the site is stored in a config file packaged up in the war. Is is no good if we want to change the initial version of the site as it could regress if the server is restarted.

Change error message on creating new user with duplicate email

See: isaacphysics/isaac-app#276

The message that's now displayed in the front end is:
Registration Failed: Duplicate key found. An existing account may already exist with the e-mail address specified.

The string "Duplicate key found. An existing account may already exist with the e-mail address specified." comes from the API error message. I would suggest removing "Duplicate key found. " from the start of the string as this is somewhat meaningless to the average joe.

Facebook login seem to be broken

To repeat:

Sign up with Facebook, making sure you're not already in the DB.
Log out
Notice that the user object is created correctly in the DB.
Attempt to log in with Facebook. Get the following error:

{"responseCode":400,"errorMessage":"A user already exists with the e-mail address specified.","responseCodeType":"Bad Request"}

Load config files from somewhere outside of the war file

Currently security and authentication related config settings are stored in git and represent a barrier to us making this repo public.

We should move these config files in the same way that we have done for the live_version.properties file.

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.