Giter VIP home page Giter VIP logo

datastructor's People

Contributors

connorbode avatar

Watchers

 avatar  avatar

datastructor's Issues

Remove jQuery

As recommended on #react, jQuery should not be necessary. Replace jQuery HTTP calls with superagent. Reduce DOM selection by adding event listeners to DOM elements.

array datastructure

Operations

  • set size
  • insert (beginning, end, middle)
  • swap
  • delete
  • search (binary or sequential)

get rid of code in the database

Well. Turns out storing the code inside the database was an absolutely shitty idea. So, it's time to eliminate that feature. The following are things that need to be done:

Tasks

  • Edit the sequence model, changing type to a string
  • Delete the operation and data-structure models
  • Delete all tasks related to operations and data structures
  • Delete the data structure endpoint
  • Remove all references to data structures from the sequences endpoints
  • Delete all references to the data structures model
  • Remove public/actions/StructureActions and references to it.
  • Modify constants/StructureConstants to contain constants referring to structure edit views, structure edit types, etc.
  • Remove public/components/views/DataStructureEdit, public/components/views/DataStructureList, public/components/views/DataStructureNew and references to them.
  • Remove public/stores/StructureStore and all references to it
  • Modify public/components/views/SequenceNew to list the types available from StructureConstants

catch unauthorized errors

If the user's session gets cancelled without the client calling SessionActions.destroy(), the client crashes.

To reproduce:

  1. Log in on the client
  2. Restart the server
  3. Refresh the client

To fix:

  1. Send 401 Unauthorized responses instead of 400 Bad Request when the server cannot validate the user.
  2. Handle 401 Unauthorized responses by calling SessionActions.destroy() on the client

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.