Commit Graph

178 Commits

Author SHA1 Message Date
Gregory Schier
d3ce502c13 Load plugin from NPM (#371)
* Install plugins from npm

* A bit more

* Error handling and messaging
2017-07-21 17:55:34 -07:00
Gregory Schier
8523e67695 Minor tweak 2017-07-21 16:17:49 -07:00
Gregory Schier
dc41140556 Let modified property overwrite on update if exists 2017-07-21 16:15:57 -07:00
Gregory Schier
911315b401 Refactored test beforeeach 2017-07-19 20:36:44 -07:00
Gregory Schier
09c219fb6d More Plugin Hooks (#352)
* Playing around with pre-request hooks

* Added response hooks

* More flow types

* Flow types on wrapper.js

* Flow types on plugin folder

* Basic tests for plugin hooks

* Make DB initilize for all tests no matter what

* Touch
2017-07-19 18:55:40 -07:00
Gregory Schier
c90ea4d35a More verbose flow types 2017-07-18 19:54:03 -07:00
Gregory Schier
2322b8be39 More flow types 2017-07-18 18:55:47 -07:00
Gregory Schier
a56c6bc592 Add flow to database.js 2017-07-18 17:19:56 -07:00
Gregory Schier
9aa2833002 Better flow types for request model 2017-07-18 16:38:19 -07:00
Gregory Schier
8c58ffea60 More flow types 2017-07-18 15:10:57 -07:00
Gregory Schier
2c5ce7999e Move responses into Redux (#359) 2017-07-17 11:20:38 -07:00
Peter Lyons
d2c677c0fd Add support for AWS authentication (#347)
* Implements #344
* Multifactor authentication (MFA) not yet supported
2017-07-12 14:01:14 -07:00
Gregory Schier
5891414d0b Environment Rendering Improvements (#351)
* Pass meta through to environment renders

* Better render env failure strategy for unused vars
2017-07-10 18:05:54 -07:00
Gregory Schier
5fbfbccd2a Add prompt to export private environments (if any) (#343) 2017-07-03 13:51:55 -07:00
Gregory Schier
de610f419b Move response bodies out of DB (#338)
* Move response bodies out of DB

* Small tweak
2017-06-29 20:30:22 -07:00
Gregory Schier
0e57b40ba3 Dedicated tab for request descriptions (#317)
* Added tab for mardown descriptions

* Some fixes

* Fix dropdown menu theme

* Track description editing
2017-06-16 13:29:22 -07:00
Jens Bannmann
bca462dfed Added missing reason phrases and descriptions, made lists consistent (#307)
* Added missing status messages and descriptions, made lists consistent

* fixed syntax error
2017-06-13 10:38:02 -07:00
Gregory Schier
5597d331ed Better status messages 2017-06-12 10:33:29 -07:00
Gregory Schier
3056921fda Support multiline text in form data editors (#299)
* Support multiline text in form data editors

* Some tweaks around rendering and syntax

* Embed markdown editor
2017-06-09 14:42:19 -07:00
Gregory Schier
fd7a25e1ac New 'request' tag and a lot of improvements (#296)
* New 'request' tag and a lot of improvements

* Update request extension to render all values

* Custom value of tag editor now inherits current
2017-06-08 18:10:12 -07:00
Gregory Schier
1d7090e36c Update insomnia-importers to support Postman descriptions 2017-06-08 11:17:58 -07:00
Gregory Schier
3d63f3be4a Improved prettify when escape characters and add tests (#291) 2017-06-07 14:51:41 -07:00
Gregory Schier
c78dade7a7 Workspace duplication improvements 2017-06-06 17:07:09 -07:00
Gregory Schier
e7bc8bb860 UI/UX and tweaks to Markdown Descriptions (#279)
* Styles and editor done for requests

* Add description markdown to WOrkspace settings

* Show file icon beside request with description

* Add tracking
2017-06-01 15:58:09 -07:00
Valeria
eb94f430f0 Request description with markdown (#252)
* Updated Request & Request Group with a description field

* Button and Workspace description

* Merkdown request description text editor

* Removed useless button for now

* Fixed lock.json for npm@5

* PR #252 requested changes

* _handleValueChange->props

* Removed sanitize
2017-06-01 06:54:46 -07:00
Hiroyuki Toda
7987774f26 Add Bearer Authorization Support (#274)
* add bearer authentication support

* remove unexpected trailing comma
2017-06-01 06:18:42 -07:00
Gregory Schier
8131041701 Nunjucks Template Tag Plugins MVP (#272)
* Refactor extension format and load plugins from directory

* Added some UI around plugins

* Refactor PromptModal usage
2017-05-31 19:04:27 -07:00
Gregory Schier
e95dafcf75 Some autocomplete tweaks and added ctrl+Enter shortcut 2017-05-26 11:17:35 -07:00
Gregory Schier
d675222bdd Merge develop for 5.1.0 (#246)
* Add Slack badge to README

* Add Twitter badge

* Appveyor badge

* Fix badges again on README

* Fix Twitter badge link

* Simplify README.md

* Migrate Travis secure items to Travis project settings (#198)

* Remove docker linux build (using Travis now) (#199)

* Fix travis build

* Update Issue and PR templates (#200)

* Add template for future pull requests

* Format issue template like pull request template

* Will not clear selected file if dialog is dismissed (#202)

* #183, Body type "Text -> Other" reverts to previous body type (#193)

* ISSUE#183

* Adding condition to check mime-type to other

* Removing older changes for fixing issue.

* Save full response to a file (#207)

* Save full response to a file

* Add a new button on the response preview pane
* Save full response to file when button clicked

* Update after PR comments

* It's a Response, not a Request

* Remove file extension requirement

* Implement lazy tag rendering and some fixes (#211)

* expanding to 3 decimals (#213)

* Update PULL_REQUEST_TEMPLATE.md (#214)

* Show build info in console (#216)

* Add waiting message in dev mode while webpack compile happens

* Switch license from GPL to AGPL (#221)

* Default remote URLs to production

* Don't use Curl's cookie handling (#220)

* Some improvements to the response tag

* Add tests for XPath response queries

* Refactor conditional element syntax

* Add option to toggle Menu Bar showing for Windows/Linux (#225)

* Add option to toggle MenuBar showing on Windows/Linux

* Extract Toggling Menu Bar functionality to App Container. Default show Menu Bar. Remove tip from Response Pane.

* Finalize {% response ... %} Tag (#224)

* Some improvements to the response tag

* Add tests for XPath response queries

* Refactor conditional element syntax

* Update nunjucks-tags.js

* Better Nunjucks Tag Editor (#234)

* Helper to tokenize Nunjucks tag

* More granular types

* Add tag definitions

* Improve editor to be more WYSIWYG

* Fixed tests

* Added raw response tag

* A few improvements to tag editor enum

* fix NTLM typo (#244)

* Tweaks and fixes for next release (#245)
2017-05-24 09:25:22 -07:00
Gregory Schier
12ca38a86a Fixed spaces in JSON prettify (#171) 2017-05-09 08:18:23 -07:00
Gregory Schier
7b8d26c292 Added import from URI ability (#160)
* Added import from URI ability

* Add protocol handlers

* Fix for keymap setting on read-only mode

* Refactored some main components out

* Protocols shoudl work now
2017-05-03 10:48:23 -07:00
Gregory Schier
47e1dccebc Remove segment and fix response history (#159) 2017-04-24 15:43:42 -07:00
Gregory Schier
9e9831ad9f Less DB hits, compacted theme, sidebar styles (#157) 2017-04-20 21:30:52 -07:00
Gregory Schier
f145b968be Fix some minor bugs (#139)
* Keyboard shortcut for hotkeys

* Fixed some small bugs
2017-04-11 14:20:01 -07:00
Gregory Schier
59e396e3f3 Fixed content-length on uploads (#135) 2017-04-09 14:53:46 -07:00
Gregory Schier
62719f3201 More 5.0 Fixes and Stuff (#134)
* Fix OAuth token, new request content-type, and more

* better error messaging around invalid Curl opts

* Make XFERINFOFUNCTION an optional option

* Fix content-type change prompt and double quotes in prettify

* Don't send Expect header on file upload

* Remove dead code

* Base64 tag

* Fix HTML entities in URL clicks

* Fix curl paste
2017-04-07 11:10:15 -07:00
Gregory Schier
949e9f76d5 Better URL regex (#130) 2017-04-04 19:33:09 -07:00
Gregory Schier
c4b920c7e9 Slightly smarter preview mode selection (#125)
* Slightly smarter preview mode selection

* Tweak autocomplete stuff a bit

* Switched variable editor to <select>

* Reduced lag on nunjucks tags
2017-03-30 11:52:07 -07:00
Gregory Schier
75fbf60274 A bunch more smaller things for v5 (#124)
* Use Curl constants for info

* Extra timeline info and cookie url encoding setting

* Add warning to environment selector

* Title attribute on the autocomplete types

* Added test
2017-03-29 16:09:28 -07:00
Gregory Schier
2cdd4761c8 Remaining V5 Features (#122)
* Add digest auth and response timeline

* Some css fixes

* Fixed Button

* More auth methods, fixed URL regex, and fix gzip

* Get rid of negotiate auth

* Fix proxy

* Fixed GA tracking

* Some very small changes and fixes

* Fix content type names

* Even better auth switching and timeline syntax

* Some auth tweaks

* CSS tweaks

* Reworked toasts

* Fixed timer rounding quirk

* Request settings and render errors

* Fixed tests

* Vertical dragging and stuff

* Remove beta
2017-03-28 15:45:23 -07:00
Gregory Schier
3f5e7e2e14 First-Party OAuth 2.0 Support (#120)
* Proof of concept authorize call

* Authorize and Refresh endpoints done

* OAuth2 editor started

* Some small fixes

* Set OAuth headers on request

* Started on some OAuth tests

* Updated network logic with new OAuth API

* OAuth forms and refactor flows

* Fix grant type handling

* Moved auth handling out of render pipeline

* Fixed legacy auth header

* Fix vertical center

* Prompt user on auth type change

* Refresh tokens working (I think) and better UI

* Catch same type auth change

* POC refresh token and small refactor

* Better token handling

* LOading state to token refresh

* Show o-auth-2 errors

* Some minor updates
2017-03-23 15:10:42 -07:00
Gregory Schier
8c0d87168e libcurl network backend (#82)
* Most things are working

* Cookies and lots of improvements

* Hoist regex

* Appveyor test

* Fix appveyor file

* Remove yarn

* Test deps

* Fix

* Remove all git deps

* fix

* Fix

* Add cash rm

* Fix command

* Fix

* Production

* try

* fix

* fix?

* Done

* Remove cache

* tweak

* Shortcut

* Fix

* Attempt

* try

* Try clone depth

* Try again

* back to shallow_clone

* Some debugging

* Another try

* Try something else

* Another

* try curl only

* Another

* fix

* Update node-gyp

* Try again

* Try

* Again

* Some pruning

* Back to the start

* Again

* try config

* Reorder test

* Try without cache

* Update dep

* Try again

* remove shallow_clone

* don't run tests

* Implement CA fetching

* Fix

* Use CAs

* Fix?

* test

* Remove build dir

* Fix dir path?

* Try again

* Aagain

* Try

* Change dep

* Add comment

* Invalidate cache

* Remove yarn

* Fix cookie expiry

* fixed tests

* Some modal fixes and unrelated stuff

* Debounce autocomplete

* Got client certificates working

* Fixed binary files

* Fixed cookies

* Got proxy and debug info working

* Got CA certs working

* Update appveyor build

* Fixed cookie date parsing and overlay z-index

* Test updates

* Autocomplete to bulk header editor

* Small CSS tweak
2017-03-16 10:51:56 -07:00
Gregory Schier
e2c72987e8 Autocomplete for variables and tags (#112)
* Fixed duplication kve bug

* Autocomplete sort of works now

* Even better

* Styled autocomplete dropdown

* Minor tweaks

* Autocomplete looking pretty spiffy

* Bug fixes

* Apply dropdown to all editors

* Fixed key propagation when autocomplete open

* Fixed some modals

* Split up editor less

* Some css improvements

* Move filter help out of editor

* Fixed drag-n-drop

* Perfected autocomplete theme

* "fixed" one-line-editor hint click bug

* Better autocomplete and switch single line input on drag enter

* Don't autocomplete on Tab

* Better tag dnd

* Add constants completion API

* Autocomplete headers

* Fixed tests
2017-03-11 16:31:23 -08:00
Gregory Schier
8452e8b777 Some eslint refactoring (#109)
* Fixed duplication kve bug

* Some changes

* Add proptypes linting

* Fixed proptypes even more

* Filename linting
2017-03-07 21:52:17 -08:00
Gregory Schier
4a3787fb58 Custom HTTP Methods (#107)
* Fixed duplication kve bug

* Custom HTTP Metehods

* Even better prompt
2017-03-07 16:45:18 -08:00
Gregory Schier
f1595f7d4b Don't default protocol on empty URLs (#104)
* Fixed duplication kve bug

* Don't add protocol to empty urls
2017-03-05 19:00:43 -08:00
Gregory Schier
1d45367aa1 Added eslint and fixed all problems (#101)
* Fixed duplication kve bug

* Added semistandard and updated code

* Actually got it working

* Even better

* I think it should work on Windows now
2017-03-03 12:09:08 -08:00
Gregory Schier
c1e9e718e9 Perf/one line input hybrid (#100)
* Fixed duplication kve bug

* one-line-input now defaults to <input>

* Fixed urlbar width

* Removed all boolean flags

* Fixed some edge cases

* I think it's good

* A bunch more fixes too

* Fixed querystring with hashes
2017-03-01 13:15:56 -08:00
Gregory Schier
b198e6170b React performance sweep (#96)
* Removed some unnecessary rendering

* Only PureComponents and some other stuff

* Removed all functional components

* Only deal with nunjucks marks

* Remove ref assign functions in modals

* Lots of tweaks

* A bit snappier

* A bit snappier
2017-02-28 13:32:23 -08:00
Gregory Schier
58313a42cb Fixed '=' sign breaking querysting (#94)
* Fixed '=' sign breaking querysting

* Make sure duplication r and rg makes unique sort key
2017-02-27 14:54:56 -08:00
Gregory Schier
bb57f360e0 Environment Tags and Such (#90)
* Sort of working nunjucks editor

* Some more tweaks

* Lots of stuff

* Gettingn pretty good

* Minor tweaks and test fixes

* Minor bug fixes and stuff

* Some fixes and perf

* Refactoring

* Good for now

* Codemirror URL

* More and more fixes and improvements

* Code single-line CSS perfect!!!

* Better nj editing

* Show preview in nj edit

* Some editor updates

* All inputs now covered

* A bunch of fixes and stuff

* Don't cache node modules because it's not needed

* More stuff

* Tweak

* Style tweaks

* Pull nunjucks mode into own file

* Move codemirror click overlay to own file

* Pull nunjucks tag stuff out

* Fixed key value editor

* raw/endraw and marks improvements

* Some tweaks
2017-02-27 13:00:13 -08:00
Gregory Schier
55bfe2acb9 Templating Improvements and Response Tags (#88)
* Version bump

* Got async Nunjucks extensions working

* Got JSONPath extension working

* Swapped render function for new stuff

* Wrote custom recursive render function

* traverse -> clone

* add-module-exports

* Moved tests
2017-02-20 10:32:27 -08:00
Gregory Schier
43339dcffc Fix/cookies and urlencoding (#87)
* Version bump

* Fixed cookies on redirect and urlencoding
2017-02-16 09:38:59 -08:00
Gregory Schier
5db095f90b Add private environment support (#84)
* Add private environment support

* Add appveyor
2017-02-15 12:32:15 -08:00
Gregory Schier
ab6d4e03d6 Some stuff (#83) 2017-02-13 00:12:02 -08:00
Gregory Schier
f6f148185d Now convert escaped unicode 2017-02-10 13:17:55 -08:00
Gregory Schier
6afe3ace55 Added LINK/UNLINK and fixed response error file size 2017-02-08 16:46:12 -08:00
Gregory Schier
346a918078 Show render errors again 2017-02-07 18:39:28 -08:00
Gregory Schier
61a27b5c5f No-parse JSON prettify (#80)
* Multiple recursive rendering

* Added custom JSON prettify that doesn't require parsing to JS

* Fixed spacing issues
2017-02-07 09:13:59 -08:00
Gregory Schier
e42ba9dc56 Fix network reject, url paste 2017-02-02 07:04:51 -08:00
Gregory Schier
065a31a9a2 Add auto-download, fix curl pasting and code gen 2017-02-01 12:21:14 -08:00
Gregory Schier
883866a76a Better sidebar filtering, jsonpath, fix content-length 2017-01-31 19:01:27 -08:00
Gregory Schier
d6b88d64e6 Reduce DB compaction to 2 hours (memory leak) 2017-01-27 12:53:22 -08:00
Gregory Schier
264bb1f4dd A bunch of memory leak fix attempts (#79) 2017-01-26 17:00:27 -08:00
Gregory Schier
ae5651f01c Added some explaination for recursive render 2017-01-24 10:59:43 -08:00
Gregory Schier
0d764d4cb2 Make same-name environment variables work 2017-01-24 10:51:25 -08:00
Gregory Schier
aa36058293 Update render logic 2017-01-24 10:09:19 -08:00
Gregory Schier
9ba6e4710b Some small tweaks 2017-01-23 18:52:48 -08:00
Gregory Schier
6d8db80de6 Finish up themes 2017-01-23 14:41:31 -08:00
Gregory Schier
54ca64c49b Add ability to render same-env vars 2017-01-20 09:51:18 -08:00
Gregory Schier
3b8a73231e Fix recursive render 2017-01-13 11:21:03 -08:00
Gregory Schier
0c66afbf4b Dont encode '+' symbols and add share menu item back 2017-01-12 16:45:15 -08:00
Gregory Schier
aedaa2c8a8 Fixed host header in tests 2017-01-11 13:21:30 -08:00
Gregory Schier
d30fb88d8d Fixed host header 2017-01-11 13:11:48 -08:00
Gregory Schier
910c9baeef some fixes 2017-01-11 12:58:37 -08:00
Gregory Schier
038c3fe9bb Some small sync updates 2017-01-11 10:35:44 -08:00
Gregory Schier
9a8f7e9760 New sync features (#75)
* Started sync tests

* Simplified logic a bit and better tests

* Some more tests

* More tests yet

* A bunch of stuff
2017-01-10 19:18:15 -08:00
Gregory Schier
8efd8fc416 Add Sync Tests (#74)
* Started sync tests

* Simplified logic a bit and better tests

* Some more tests

* More tests yet
2017-01-09 13:59:52 -08:00
Gregory Schier
dfd93bd04c Quick fix 2016-12-31 11:32:50 -08:00
Gregory Schier
ac5fc055db A bunch of small fixes 2016-12-30 15:06:27 -08:00
Gregory Schier
18d11ff117 Third DNS fallback 2016-12-23 11:31:38 -08:00
Gregory Schier
d58edf1d25 Cleanup before major team features (#72)
* Started on UI makeover for teams

* Some small tweaks and fixes

* Adjusted settings
2016-12-21 15:37:48 -08:00
Gregory Schier
84e7aad183 Cleaned up response handling a bit 2016-12-08 15:47:24 -08:00
Gregory Schier
b144cf3475 Better network error handling 2016-12-08 15:29:45 -08:00
Gregory Schier
3317bb17a6 Added accept header and some small tweaks 2016-12-08 12:29:40 -08:00
Gregory Schier
2e5b28cf67 Fixed rendering potentially unsafe values 2016-12-08 10:42:45 -08:00
Gregory Schier
bb0ed87ca7 Revert all the stupid DNS stuff and do it properly (#71)
* Stuff

* Fixed tests
2016-12-08 10:19:18 -08:00
Gregory Schier
2113049fdc Fix import, robustify analytics 2016-12-08 09:20:10 -08:00
Gregory Schier
9bc4680a5f Fixed importers and now refresh app when environment hcange 2016-12-02 21:15:38 -08:00
Gregory Schier
54918b4b09 Fixed DNS fallback not passing workspace 2016-12-01 14:58:08 -08:00
Gregory Schier
5f23b7f7ff Removed stupid _schema shit 2016-12-01 10:48:49 -08:00
Gregory Schier
d8ca4a360e Fix tests 2016-12-01 09:03:33 -08:00
Gregory Schier
cfb4e02e0a Support postman env imports, and bug fixes 2016-11-30 19:54:26 -08:00
Gregory Schier
e752f81ec7 Some cleanup 2016-11-30 16:02:35 -08:00
Gregory Schier
77b3ff4a8a Fixed encoding, import, and some small things 2016-11-30 15:11:36 -08:00
Gregory Schier
3b0e0384ad Some refactoring 2016-11-29 13:28:22 -08:00
Gregory Schier
afedf8f352 Actually use client certificates 2016-11-29 12:19:21 -08:00
Gregory Schier
04ed0c9bdb More work on workspace settings 2016-11-28 19:17:28 -08:00
Gregory Schier
9a4bf6f1d1 Started on workspace settings modal 2016-11-28 12:16:07 -08:00
Gregory Schier
33579822c2 Lots, I don't even know 2016-11-27 23:12:17 -08:00