Commit Graph

103 Commits

Author SHA1 Message Date
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