GithubHelp home page GithubHelp logo

codenow / api-server Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 3.33 MB

core runnable API

Home Page: http://api.code.runnable.com

Shell 0.07% JavaScript 18.75% CoffeeScript 0.42% PHP 78.44% CSS 1.18% Python 0.44% ApacheConf 0.03% Batchfile 0.04% HTML 0.43% Makefile 0.20%

api-server's People

Contributors

anandkumarpatel avatar bkendall avatar cflynn07 avatar generalhenry avatar jkingyens avatar prafulrana avatar sandipsingh14 avatar stackexpress-shivam avatar tanmayaapyl avatar tjmehta avatar varunpalekar avatar ykumar6 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

shivamb

api-server's Issues

Create container if none found

Right now, API errors with 'no such container' in case project container for current user becomes un-available for some reason, which is not implemented on UI, directly affecting the UX.
We need to attempt container re-creation, or show proper error on UI.

Remove external integrations

Since we are not using any, lets remove any external service integration. So far I see the following:

datadog
mailchimp 
newrelic
rollbar 

tests failing on master

Excerpted from CircleCI (https://circleci.com/gh/CodeNow/api-server/2243)

[node_modules/mocha/lib/reporters/base.js:309]  1 failing

[node_modules/mocha/lib/reporters/base.js:204]  1) Channels GET /channels channel badges "before each" hook:
     Error: expected 200 "OK", got 500 "Internal Server Error"
      at Test.assert (/home/ubuntu/api-server/node_modules/supertest/lib/test.js:145:15)
      at /home/ubuntu/api-server/node_modules/supertest/lib/test.js:120:10
      at Test.Request.callback (/home/ubuntu/api-server/node_modules/supertest/node_modules/superagent/lib/node/index.js:654:30)
      at Test.<anonymous> (/home/ubuntu/api-server/node_modules/supertest/node_modules/superagent/lib/node/index.js:131:10)
      at Test.EventEmitter.emit (events.js:95:17)
      at IncomingMessage.<anonymous> (/home/ubuntu/api-server/node_modules/supertest/node_modules/superagent/lib/node/index.js:802:12)
      at IncomingMessage.EventEmitter.emit (events.js:117:20)
      at _stream_readable.js:920:16
      at process._tickDomainCallback (node.js:459:13)

need an existence check

File "/home/ubuntu/api-server/src/models/volumes.coffee", line 128 col 44 in Request._callback
if res.statusCode isnt 201 then cb error res.statusCode, res.body.message else

Long running user sessions

For long running user sessions we have to add support for recreating containers, in case start fails with 'no such container'.

moderators are not getting delist email

the email to the user is being sent, however the moderators are not getting the emails. the configs.SES.moderators is set, and it even worked on a local test, but I do not see the error that I am hitting... something just must not be set right?

Limit unverified users

Users with unverified emails will have these limitations:

  • Unverified (not Guest) users will not be allowed to do publish
  • Unverified (not Guest) users will not be allowed to change code and then run
  • Unverified (as well as Guest) users will not have access to container terminal

web task ref CodeNow/runnable-web#149

Cleanup old unregistered users

We have a bit too many entries in users table(36566066 on last count), which un-necessarily contribute to slow down the recovery process, and are just not necessary as most of them are un-registered users.

Add user forums - Discourse

For better interaction with users of the platform, we plan to implement discourse forum. This however needs Oauth2 for SSO, which is being covered in another task

Permission system

Instead of checking if the user is the owner we should check if the user has permission to view edit etc . . . so that we can inject admin privileges.

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.