GithubHelp home page GithubHelp logo

28's People

Contributors

fcavalieri avatar matthiasbrantner avatar wcandillon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

28's Issues

No error is raised if wrong switches are given

vagrant@sausalito-devel-2-4-0:~/sausalito/portal.28.io/queries$ 28 upload test-portal -d - oyes
Overwrite: /modules/io/28/apps/config.jq (2015-04-09T12:17:56+00:00) with /modules/io/28/apps/config.jq

Listing default s3 datasource appears to be broken

Williams-MacBook-Pro:prismhr wcandillon$ 28 datasources set prismhr -c datasources.json 
Listing datasources...
Updating datasources...
Done.
Williams-MacBook-Pro:prismhr wcandillon$ 28 datasources list prismhr
Listing datasources...

Internal errors are written to the console if an operation is aborted

vagrant@sausalito-devel-2-4-0:~/sausalito/portal.28.io/queries$ 28 upload test-portal
Overwrite: /public/account-billing.jq (2015-04-09T12:08:36+00:00) with /public/account-billing.jq (2015-04-09T09:15:52.000Z)? Y/N canceled
<<<<<I pressed CTRL-C
undefined:undefined
Error: canceled
at Interface. (/usr/lib/node_modules/28/node_modules/read/lib/read.js:66:13)
at Interface.emit (events.js:92:17)
at Interface._ttyWrite (readline.js:621:16)
at ReadStream.onkeypress (readline.js:100:10)
at ReadStream.emit (events.js:98:17)
at emitKey (readline.js:1096:12)
at ReadStream.onData (readline.js:841:14)
at ReadStream.emit (events.js:95:17)
at ReadStream. (_stream_readable.js:765:14)
at ReadStream.emit (events.js:92:17)

If syntax is wrong, user is not notified

e.g:
vagrant@sausalito-devel-2-4-0:/sausalito/prismhr/queries$ 28 create project prismhr
vagrant@sausalito-devel-2-4-0:
/sausalito/prismhr/queries$

while the correct syntax is 28 projects create prismhr

28 throws an error if temporary files are found

28 crashes if temporary files are found, like so:

[{"code":"ETIMEDOUT","errno":"ETIMEDOUT","syscall":"read"},{"response":{"readable":false,"domain":null,"_maxListeners":10,"httpVersion":"1.1","complete":true,"_pendingIndex":0,"url":"","method":null,"statusCode":400,"_consuming":true,"_dumped":false,"httpVersionMajor":1,"httpVersionMinor":1,"upgrade":false,"body":"{ \"request_id\" : \"54f850f754641069a681e896\", \"context\" : \"edinet-dev.28.io\", \"description\" : \"The query path must end with \\\".jq\\\" or \\\".xq\\\".\", \"message\" : \"The ... (truncated)

It would be nice if it could just ignore files with other extensions than .jq and .xq

Local empty directories should be deleted

When deleting orphaned queries, empty folders should be removed as well.
For instance

Williams-MacBook-Air-2:test wcandillon$ ../28.io-cli/bin/28 download testbug -d
Refreshing API tokens...
Delete <local>/public/components/for-archives-and-disclosures.jq

Will result in public/components to be left as an empty directory.

Execute Queries

The cli should be able to evaluate queries just like Zorba.

Report syntax errors

e.g:
vagrant@sausalito-devel-2-4-0:/sausalito/sandbox/portal$ 28 create test-portal
vagrant@sausalito-devel-2-4-0:
/sausalito/sandbox/portal$ npm --version
1.4.28

Broken authentication

Login in the 28 CLI
Create a project not through the 28 CLI
Try to download the project
Unauthorized error

Expected behaviour: use the refresh token to refresh the token and perform the operation

Watch command

Users should be able to run a watch command that will upload queries automatically on change.

Erroneous message for project not found

Example:

Williams-MacBook-Air-2:test wcandillon$ ../28/bin/28 download lens
Refreshing API tokens...
Project undefined wasn't found.
Run '28 projects' for more information.

option to ignore files

As a 28 user
I would like to have a setting to ignore some queries/modules
such that I can filter out the lib/io/28/api modules.

truncating all queries

As a 28 user
I would like to easily be able to delete all queries from a project
such that I can start fresh and don't need to click on every query in the UI.

E.g.
28 truncate my-project

error with simulate

28 upload xbrl-msb -s

Refreshing API tokens...
Upload public/.DS_Store
Overwrite : /public/AdHocQuery.jq (2014-02-06T22:46:42.000Z) with /public/AdHocQuery.jq (2014-02-06T22:18:55.000Z)? Y/N y
undefined

download and upload don't support project names with upper case letters

Williams-MacBook-Pro:tmp wcandillon$ 28 projects create FooBarWorld
Creating Project FooBarWorld...
Refreshing Tokens...
API Tokens refreshed.
Created FooBarWorld.
Williams-MacBook-Pro:tmp wcandillon$ 28 download FooBarWorld
Refreshing Tokens...
API Tokens refreshed.
Project not found: FooBarWorld
Williams-MacBook-Pro:tmp wcandillon$ 28 download foobarworld
All done.

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.