OSDN Git Service

Modified: Upload, Command execution
author平田健悟 <hiratakengo@hiratakengo-no-MacBook-Pro.local>
Mon, 20 Feb 2017 08:33:32 +0000 (17:33 +0900)
committer平田健悟 <hiratakengo@hiratakengo-no-MacBook-Pro.local>
Mon, 20 Feb 2017 08:33:32 +0000 (17:33 +0900)
commit7b1bc4ddf4aa062beb296ae669e08689f2c80305
tree63751ce4942996359ec9eb9c3ef57c42e47c7060
Modified: Upload, Command execution

・ファイルのアップロードをワークスペースから行えるようにした。
・Eosコマンドを正常に実行できるようにした。
・アップロードは設計どおりには実装できておらず、fileUpload.htmlからPOSTすることで対応した。
・コマンドの実行もfileidではなく、filenameをキーにしてコマンドを実行させることで対応した。
・コマンド実行後に出力ファイルをDBに登録する際、既存のファイルも登録しているため、二重に登録されている。
・existFileIdメソッドで新しいファイルのみを判定させるが未完成。
96 files changed:
.gitignore [new file with mode: 0755]
bin/zephyr [new symlink]
cli/lib/create-json-file.rb [new file with mode: 0755]
cli/lib/option.rb [new file with mode: 0755]
cli/zephyr [new file with mode: 0755]
cli/zephyr-debug [new file with mode: 0755]
cli/zephyr-parse [new file with mode: 0755]
cli/zephyr-serve [new file with mode: 0755]
docker/Dockerfile [new file with mode: 0755]
docker/Vagrantfile [new file with mode: 0755]
front-end/app/index.html [new file with mode: 0755]
front-end/app/scripts/App.ts [new file with mode: 0755]
front-end/app/scripts/controllers/Execution.ts [new file with mode: 0755]
front-end/app/scripts/controllers/History.ts [new file with mode: 0755]
front-end/app/scripts/controllers/Preview.ts [new file with mode: 0755]
front-end/app/scripts/controllers/SelectCommand.ts [new file with mode: 0755]
front-end/app/scripts/controllers/Upload.ts [new file with mode: 0644]
front-end/app/scripts/controllers/Workspace.ts [new file with mode: 0755]
front-end/app/scripts/declares.ts [new file with mode: 0755]
front-end/app/scripts/directives/Command.ts [new file with mode: 0755]
front-end/app/scripts/directives/Directory.ts [new file with mode: 0755]
front-end/app/scripts/directives/HeaderMenu.ts [new file with mode: 0755]
front-end/app/scripts/directives/Option.ts [new file with mode: 0755]
front-end/app/scripts/directives/Upload.ts [new file with mode: 0644]
front-end/app/scripts/entry.ts [new file with mode: 0755]
front-end/app/scripts/filters/Tag.ts [new file with mode: 0755]
front-end/app/scripts/reference.ts [new file with mode: 0755]
front-end/app/scripts/services/APIEndPoint.ts [new file with mode: 0755]
front-end/app/scripts/services/Console.ts [new file with mode: 0755]
front-end/app/scripts/services/MyModal.ts [new file with mode: 0755]
front-end/app/scripts/services/WebSocket.ts [new file with mode: 0755]
front-end/app/style.scss [new file with mode: 0755]
front-end/app/templates/command.html [new file with mode: 0755]
front-end/app/templates/directory.html [new file with mode: 0755]
front-end/app/templates/execution.html [new file with mode: 0755]
front-end/app/templates/header-menu.html [new file with mode: 0755]
front-end/app/templates/history.html [new file with mode: 0755]
front-end/app/templates/option.html [new file with mode: 0755]
front-end/app/templates/preview.html [new file with mode: 0755]
front-end/app/templates/select-command.html [new file with mode: 0755]
front-end/app/templates/upload.html [new file with mode: 0644]
front-end/app/templates/workspace.html [new file with mode: 0755]
front-end/dist/bundle.js [new file with mode: 0755]
front-end/dist/css/style.css [new file with mode: 0755]
front-end/dist/fonts/bootstrap/glyphicons-halflings-regular.eot [new file with mode: 0755]
front-end/dist/fonts/bootstrap/glyphicons-halflings-regular.svg [new file with mode: 0755]
front-end/dist/fonts/bootstrap/glyphicons-halflings-regular.ttf [new file with mode: 0755]
front-end/dist/fonts/bootstrap/glyphicons-halflings-regular.woff [new file with mode: 0755]
front-end/dist/fonts/bootstrap/glyphicons-halflings-regular.woff2 [new file with mode: 0755]
front-end/dist/index.html [new file with mode: 0755]
front-end/dist/templates/command.html [new file with mode: 0755]
front-end/dist/templates/directory.html [new file with mode: 0755]
front-end/dist/templates/execution.html [new file with mode: 0755]
front-end/dist/templates/header-menu.html [new file with mode: 0755]
front-end/dist/templates/history.html [new file with mode: 0755]
front-end/dist/templates/option.html [new file with mode: 0755]
front-end/dist/templates/preview.html [new file with mode: 0755]
front-end/dist/templates/select-command.html [new file with mode: 0755]
front-end/dist/templates/upload.html [new file with mode: 0644]
front-end/dist/templates/workspace.html [new file with mode: 0755]
front-end/gulpfile.js [new file with mode: 0755]
front-end/tsconfig.json [new file with mode: 0755]
front-end/tsd.json [new file with mode: 0755]
front-end/webpack.config.js [new file with mode: 0755]
package.json [new file with mode: 0755]
server/api/commandExecution/index.js [new file with mode: 0755]
server/api/commandList/index.js [new file with mode: 0755]
server/api/dirCreation/index.js [new file with mode: 0755]
server/api/dirInfo/index.js [new file with mode: 0755]
server/api/fileCreation/index.js [new file with mode: 0755]
server/api/noteCreation/index.js [new file with mode: 0755]
server/api/noteInfo/index.js [new file with mode: 0755]
server/api/optionControlFile/index.js [new file with mode: 0755]
server/api/tagList/index.js [new file with mode: 0755]
server/api/v1/all/workspace/directory/index.js [new file with mode: 0755]
server/api/v1/commandList/index.js [new file with mode: 0755]
server/api/v1/debug/index.js [new file with mode: 0755]
server/api/v1/execution/index.js [new file with mode: 0644]
server/api/v1/fileUpload/index.js [new file with mode: 0755]
server/api/v1/help/index.js [new file with mode: 0755]
server/api/v1/optionControlFile/index.js [new file with mode: 0755]
server/api/v1/tagList/index.js [new file with mode: 0755]
server/api/v1/workspace/index.js [new file with mode: 0755]
server/app.js [new file with mode: 0755]
server/class/DB.js [new file with mode: 0755]
server/class/Eos.js [new file with mode: 0755]
server/class/WebSocket.js [new file with mode: 0755]
server/class/hoge.js [new file with mode: 0755]
server/config.js [new file with mode: 0755]
server/express.js [new file with mode: 0755]
server/routes.js [new file with mode: 0755]
test/mocha/DB.test.js [new file with mode: 0755]
test/mocha/Eos.test.js [new file with mode: 0755]
test/mocha/testCommand.json [new file with mode: 0755]
test/rest/execution.test.js [new file with mode: 0755]
user-specific-files/description.txt [new file with mode: 0755]