esfiddle / api Goto Github PK
View Code? Open in Web Editor NEWThe ESFiddle API
Home Page: https://api.esfiddle.net/docs
The ESFiddle API
Home Page: https://api.esfiddle.net/docs
As documented in #1 - create the POST, GET, PUT and DELETE endpoints for users.
Make sure the data goes into mongodb and cannot be retrieved unless you are authenticated.
This need to interact with our frontend which will login with PassportJS
Possibly using https://elements.heroku.com/addons/blazemeter ?
2.0.6
to 2.0.7
.This version is covered by your current version range and after updating it in your project the build failed.
@types/supertest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
4.1.7
to 4.2.0
.This version is covered by your current version range and after updating it in your project the build failed.
@types/chai is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
2.6.3
to 2.7.0
.This version is covered by your current version range and after updating it in your project the build failed.
rimraf is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
3.0.1
to 3.0.2
.This version is covered by your current version range and after updating it in your project the build failed.
@types/passport-jwt is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Add travis config to run tests for the branch
PRIVATE - Get code-blocks screenshot
/Fiddles/:fiddleid/code-blocks
Return the code blocks image for a fiddle
Using the https://github.com/esfiddle/code-blocks module to do this
🚨 You need to enable Continuous Integration on all branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didn’t receive a CI status on the greenkeeper/initial
branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial
branch in this repository, and then remove and re-add this repository to the Greenkeeper App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.
Make sure all api calls are prefixed with /api/v1/
Add passportjs with github strategy
3.15.1
to 3.16.0
.This version is covered by your current version range and after updating it in your project the build failed.
helmet is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 18 commits.
123e93c
3.16.0
e9c6eab
Update changelog for 3.16.0 release
1cff218
Update ienoopen to v1.1.0
c8578fe
Minor: use xssFilter instead of noCache in readme example
09c90d2
Update changelog with a few more changes
94e92d0
Minor: reference the "drop support for Node <4" commit in the changelog
1dab41f
Fix link to CHANGELOG.md from HISTORY.md
a49cec3
Drop support for Node <4
9f13f08
Add email to bugs
field in package.json
ce70edc
Minor: add more specificity to .npmignore
3a37f1f
Update Adam Baldwin's contact information
1be1cbc
Update hsts to 2.2.0
354e80e
Update devDependencies to latest versions
b7f7359
Note that the changelog is now in Keep A Changelog format
b381760
Update changelog to match https://keepachangelog.com/ standard
There are 18 commits in total.
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
3.1.14
to 3.1.15
.This version is covered by your current version range and after updating it in your project the build failed.
@types/mongodb is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
/docs
0.4.0
to 0.4.1
.This version is covered by your current version range and after updating it in your project the build failed.
passport is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 26 commits.
42ff63c
0.4.1
0362042
Update README and LICENSE with copyright date.
e15ee93
Remove node 0.6, add node 9-13 on Travis CI.
08f57c2
Merge pull request #749 from jaredhanson/ayZagen-feat/strategy-as-object
5c288ae
Move test.
380b5c8
Stylistic edits.
4cce2f2
feat: ability to pass strategy object to authenticate
1c8ede3
Update README.
dc16cba
Add FUNDING.
882d65e
Update README.
8ea4f24
Update GitHub templates.
2327a36
Update sponsors.
e458838
Update README.
d784e17
Add GitHub templates.
0a66012
Re-enable node 0.6 on Travis CI.
There are 26 commits in total.
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
1.17.0
to 1.17.1
.This version is covered by your current version range and after updating it in your project the build failed.
@types/body-parser is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
This is the complete list of API routes that we are aiming to build. Maybe we can plan all this out with swagger and then start to build it from there. I'm sure some of this will change but this is basically what we are aiming for. It's so we can use this inside the main ESFiddle app
We need routes for the following. Not sure on the names at the minute - make suggestions!
All of these will be routed with JWT authentication or possibly 0auth because we need account based logins (with Github, Google, Twitter etc)
3.18.0
to 3.19.0
.This version is covered by your current version range and after updating it in your project the build failed.
helmet is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 8 commits.
17707ae
3.19.0
ca34982
Update changelog for 3.19.0 release
06d5bde
Update all remaining outdated dependencies
91e071c
Update helmet-crossdomain from 0.3.0 to 0.4.0
1a27ebb
Update Standard from 12.0.1 to 13.0.2
eff00ef
Bump lodash from 4.17.11 to 4.17.14
d70b5cc
Update Connect dev dependency to latest version
debb3f8
Remove useless npmignore (see "files" in package.json)
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
4.0.6
to 4.0.7
.This version is covered by your current version range and after updating it in your project the build failed.
swagger-ui-express is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 3 commits.
a3d6617
@@
1f91c69
Merge pull request #135 from kroonprins/master
eb63d83
Correct main in package.json
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Add helmetjs middleware
This will include the esfiddle web status as well as api
Update swagger.json to show that Fiddle model has a new field called 'userId' (which is the _id value in the User model) of the user that created. Value is optional as anonymous fiddles can be created
2.0.7
to 2.0.8
.This version is covered by your current version range and after updating it in your project the build failed.
@types/supertest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Use bugsnag or something
Only log errors to bugsnag if we are on development or production
Local environments should not have to setup bugsnag keys
6.1.4
to 6.2.0
.This version is covered by your current version range and after updating it in your project the build failed.
mocha is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
--file
(@gabegorelick)global
or globals
(@pascalpp)_mocha
binary (@juergba)--timeout
/--slow
string values and duplicate arguments (@boneskull, @juergba)--watch
options (@geigerzaehler)--watch
mode behavior (@geigerzaehler)runWatch
into separate module (@geigerzaehler)mocha.min.js
file to stacktrace filter (@brian-lagerman)--exclude
to --ignore
and create alias (@boneskull)mocha.css
(@DanielRuf)The new version differs by 39 commits.
bd47776
Release v6.2.0
cc595af
update CHANGELOG.md for v6.2.0 [ci skip]
59d70ee
fix: remove duplicate line-height property (#3957)
f77cac4
fix: do not redeclare variable (#3956)
6201e42
Hide stacktrace when cli args are missing (#3963)
88f45d5
Don't re-initialize grep option on watch re-run (#3960)
5d4dd98
Fix No Files error when file is passed via --files (#3942)
15b96af
Collect test files later (#3953)
ccee5f1
Base reporter store ref to console.log (#3725)
47318a7
update @mocha/contributors to v1.0.4 (#3944)
c903147
More, improved integration tests for watching (#3929)
e341ea4
Update CI config files to use Node-12.x (#3919)
3064d25
update @mocha/docdash to v2.1.1 (#3945)
9ea45e7
do not fork if no node flags present (#3827)
d02a096
modify Mocha constructor to accept options.global or options.globals (#3914)
There are 39 commits in total.
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
🚨 You need to enable Continuous Integration on Greenkeeper branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didn’t receive a CI status on the greenkeeper/initial
branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please click the 'fix repo' button on account.greenkeeper.io.
We are going to be using Mongo db so this needs taking out of the typeorm boilerplate.
Add nyc for test coverage reports and support sending those reports to codecov
> @esfiddle/[email protected] postinstall /tmp/build_e0a08ee4c6ceb931114eaa01c1752ba5
> npm run build
> @esfiddle/[email protected] build /tmp/build_e0a08ee4c6ceb931114eaa01c1752ba5
> tsc
node_modules/@types/jest/index.d.ts(24,13): error TS2300: Duplicate identifier 'beforeEach'.
node_modules/@types/jest/index.d.ts(26,13): error TS2300: Duplicate identifier 'afterEach'.
node_modules/@types/jest/index.d.ts(27,13): error TS2451: Cannot redeclare block-scoped variable 'describe'.
node_modules/@types/jest/index.d.ts(29,13): error TS2451: Cannot redeclare block-scoped variable 'xdescribe'.
node_modules/@types/jest/index.d.ts(30,13): error TS2451: Cannot redeclare block-scoped variable 'it'.
node_modules/@types/jest/index.d.ts(32,13): error TS2451: Cannot redeclare block-scoped variable 'xit'.
node_modules/@types/jest/index.d.ts(33,13): error TS2451: Cannot redeclare block-scoped variable 'test'.
node_modules/@types/mocha/index.d.ts(41,15): error TS2451: Cannot redeclare block-scoped variable 'describe'.
node_modules/@types/mocha/index.d.ts(42,15): error TS2451: Cannot redeclare block-scoped variable 'xdescribe'.
node_modules/@types/mocha/index.d.ts(47,15): error TS2451: Cannot redeclare block-scoped variable 'it'.
node_modules/@types/mocha/index.d.ts(48,15): error TS2451: Cannot redeclare block-scoped variable 'xit'.
node_modules/@types/mocha/index.d.ts(50,15): error TS2451: Cannot redeclare block-scoped variable 'test'.
node_modules/@types/mocha/index.d.ts(66,18): error TS2300: Duplicate identifier 'beforeEach'.
node_modules/@types/mocha/index.d.ts(67,18): error TS2300: Duplicate identifier 'beforeEach'.
node_modules/@types/mocha/index.d.ts(68,18): error TS2300: Duplicate identifier 'afterEach'.
node_modules/@types/mocha/index.d.ts(69,18): error TS2300: Duplicate identifier 'afterEach'.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @esfiddle/[email protected] build: `tsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @esfiddle/[email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/npmcache.zoJoQ/_logs/2018-11-14T16_14_09_534Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @esfiddle/[email protected] postinstall: `npm run build`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @esfiddle/[email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
1.7.35
to 1.7.36
.This version is covered by your current version range and after updating it in your project the build failed.
@types/morgan is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
3.1.28
to 3.1.29
.This version is covered by your current version range and after updating it in your project the build failed.
@types/mongodb is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
As documented in #1 - create the POST, GET, PUT and DELETE endpoints for fiddles.
Make sure the data goes into mongodb and cannot be retrieved unless you are authenticated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.