Commit Graph

23 Commits

Author SHA1 Message Date
Opender Singh
443d6df08d
Initial pass to combine eslint and prettier (#2166) 2020-05-15 10:54:07 +12:00
Gregory Schier
a32181c4c7
Handle non-string types in filterHeaders() (#2099) 2020-05-02 11:19:18 -07:00
Gregory Schier
c6a7c4d682 Initial designer merge 2020-04-26 13:33:39 -07:00
Gregory Schier
7bc219422e
Update Babel and ESLint and fix all related errors (#2032)
* Update Babel and ESLint and fix all related errors

* Update babel-jest
2020-04-09 10:32:19 -07:00
Gregory Schier
23b4ac97bd
Add ability to generate theme plugin (#1988)
* Fix missing header name breaking sidebar render

* Global command to generate theme from JSON object

* Update packages/insomnia-app/app/ui/redux/modules/global.js

Co-Authored-By: Opender Singh <opender94@gmail.com>

Co-authored-by: Opender Singh <opender94@gmail.com>
2020-03-11 12:23:52 -07:00
Gregory Schier
d330bb5c70 Use X-HTTP-Method-Override UI to show GraphQL as well (Closes #1780) 2019-12-04 13:45:09 -05:00
Nilay Majorwar
157ccac2f8 Added display support for X-Http-Method-Override (#1744) 2019-10-31 12:46:48 -04:00
Gregory Schier
8ce49bfb49 Response history now shows correct request methods (Fixes #1552) 2019-06-07 11:25:02 -04:00
Gregory Schier
0a616fba6b
Version Control (beta) (#1439)
* VCS proof of concept underway!

* Stuff

* Some things

* Replace deprecated Electron makeSingleInstance

* Rename `window` variables so not to be confused with window object

* Don't unnecessarily update request when URL does not change

* Regenerate package-lock

* Fix tests + ESLint

* Publish

 - insomnia-app@1.0.49
 - insomnia-cookies@0.0.12
 - insomnia-httpsnippet@1.16.18
 - insomnia-importers@2.0.13
 - insomnia-libcurl@0.0.23
 - insomnia-prettify@0.1.7
 - insomnia-url@0.1.6
 - insomnia-xpath@1.0.9
 - insomnia-plugin-base64@1.0.6
 - insomnia-plugin-cookie-jar@1.0.8
 - insomnia-plugin-core-themes@1.0.5
 - insomnia-plugin-default-headers@1.1.9
 - insomnia-plugin-file@1.0.7
 - insomnia-plugin-hash@1.0.7
 - insomnia-plugin-jsonpath@1.0.12
 - insomnia-plugin-now@1.0.11
 - insomnia-plugin-os@1.0.13
 - insomnia-plugin-prompt@1.1.9
 - insomnia-plugin-request@1.0.18
 - insomnia-plugin-response@1.0.16
 - insomnia-plugin-uuid@1.0.10

* Broken but w/e

* Some tweaks

* Big refactor. Create local snapshots and push done

* POC merging and a lot of improvements

* Lots of work done on initial UI/UX

* Fix old tests

* Atomic writes and size-based batches

* Update StageEntry definition once again to be better

* Factor out GraphQL query logic

* Merge algorithm, history modal, other minor things

* Fix test

* Merge, checkout, revert w/ user changes now work

* Force UI to refresh when switching branches changes active request

* Rough draft pull() and some cleanup

* E2EE stuff and some refactoring

* Add ability to share project with team and fixed tests

* VCS now created in root component and better remote project handling

* Remove unused definition

* Publish

 - insomnia-account@0.0.2
 - insomnia-app@1.1.1
 - insomnia-cookies@0.0.14
 - insomnia-httpsnippet@1.16.20
 - insomnia-importers@2.0.15
 - insomnia-libcurl@0.0.25
 - insomnia-prettify@0.1.9
 - insomnia-sync@0.0.2
 - insomnia-url@0.1.8
 - insomnia-xpath@1.0.11
 - insomnia-plugin-base64@1.0.8
 - insomnia-plugin-cookie-jar@1.0.10
 - insomnia-plugin-core-themes@1.0.7
 - insomnia-plugin-file@1.0.9
 - insomnia-plugin-hash@1.0.9
 - insomnia-plugin-jsonpath@1.0.14
 - insomnia-plugin-now@1.0.13
 - insomnia-plugin-os@1.0.15
 - insomnia-plugin-prompt@1.1.11
 - insomnia-plugin-request@1.0.20
 - insomnia-plugin-response@1.0.18
 - insomnia-plugin-uuid@1.0.12

* Move some deps around

* Fix Flow errors

* Update package.json

* Fix eslint errors

* Fix tests

* Update deps

* bootstrap insomnia-sync

* TRy fixing appveyor

* Try something else

* Bump lerna

* try powershell

*  Try again

* Fix imports

* Fixed errors

* sync types refactor

* Show remote projects in workspace dropdown

* Improved pulling of non-local workspaces

* Loading indicators and some tweaks

* Clean up sync staging modal

* Some sync improvements:

- No longer store stage
- Upgrade Electron
- Sync UI/UX improvements

* Fix snyc tests

* Upgraded deps and hot loader tweaks (it's broken for some reason)

* Fix tests

* Branches dialog, network refactoring, some tweaks

* Fixed merging when other branch is empty

* A bunch of small fixes from real testing

* Fixed pull merge logic

* Fix tests

* Some bug fixes

* A few small tweaks

* Conflict resolution and other improvements

* Fix tests

* Add revert changes

* Deal with duplicate projects per workspace

* Some tweaks and accessibility improvements

* Tooltip accessibility

* Fix API endpoint

* Fix tests

* Remove jest dep from insomnia-importers
2019-04-17 17:50:03 -07:00
Gregory Schier
88b0bb784f Add trailing commas to ESLint + Prettier 2018-12-12 12:36:11 -05:00
Daniel O'Loughlin
37ccd12af4 Closes 1225 (#1230)
* Updated all references to use the getDataDirectory function from misc so that an environment variable can be set for the data directory.

* Did some minor code formatting cleanup

* Got rid of some unused vars

* More unused var cleanup
2018-11-05 22:39:50 -04:00
Gregory Schier
74c03e2da0 Fix XSS in variable autocomplete dropdown 2018-09-08 15:01:34 -04:00
Gregory Schier
4bc5f1b789
Revampt fuzzy sort to be much more intuitive (#1012) 2018-06-26 22:13:48 -07:00
Gregory Schier
15e230c77a Fix tests 2018-06-26 17:26:51 -04:00
Gregory Schier
4fec7fd9e8 More restrictive fuzzy search (Closes #988) 2018-06-26 16:58:03 -04:00
Gregory Schier
4901f03041 Add Prettier 2018-06-25 13:42:50 -04:00
Shawn Axsom
7ef37363bc UI for filter requests by folder, URI, method, query string (#864)
* Re-enable searching by url, request method

* Fuzzy matching UI for Quick Switch window

* Extract out a Highlight component for Quick Switch matching, and apply fuzzysort to all fuzzy matching to be consistent

* Highlighting of search results on the sidebar

* Move fuzzysort dependency into the insomnia-app package

* Move inline styling to LESS

* Update type returned by fuzzyMatch method

* Update unit tests, fix flow errors

* Updated tests reflecting changes in fuzzyMatch

* Fix lint error
2018-05-22 23:39:01 -07:00
Gregory Schier
f918e647c0 Remove analytics 2018-05-23 00:28:25 -04:00
Gregory Schier
c9402c58d0 Upgrade flow 2018-03-29 13:59:32 -04:00
Shawn Axsom
bee9973839 Filter requests by folder, URI, method, query string (#797)
* Quick Switch matching for Request URL and Method

Previously only Request Name was searched for in Quick Switch window.
This adds support for searching Request URL and Method as well.
A fuzzyMatchAll function has been added to be able to search different
fields in any
order, space delimited.

* Include request parameters in searchable fields

* Allow searching requests by folder paths

* More descriptive placeholder for Quick Switch modal search input

* Update sidebar filter to match Quick Switch, allowing URL and Query String matching

* More descriptive placeholder for sidebar search

* Unit tests for fuzzyMatch and fuzzyMatchAll

* More unit tests for fuzzyMatch and fuzzyMatchAll

* minor refactorings
2018-03-28 16:57:05 -04:00
Gregory Schier
dc0695de23 Add get/set/has/remove parameter fns to plugin API 2018-03-28 16:48:58 -04:00
Gregory Schier
e57bc871f2 Better host header handling for AWS auth (Closes #740) 2018-02-08 17:09:13 +08:00
Gregory Schier
549ce23ce8
Merge All Repositories into Monorepo for easier maintenance (#629)
* All projects into monorepo

* Update CI

* More CI updates

* Extracted a bunch of things into packages

* Publish

 - insomnia-plugin-base64@1.0.1
 - insomnia-plugin-default-headers@1.0.2
 - insomnia-plugin-file@1.0.1
 - insomnia-plugin-hash@1.0.1
 - insomnia-plugin-now@1.0.1
 - insomnia-plugin-request@1.0.1
 - insomnia-plugin-response@1.0.1
 - insomnia-plugin-uuid@1.0.1
 - insomnia-cookies@0.0.2
 - insomnia-importers@1.5.2
 - insomnia-prettify@0.0.3
 - insomnia-url@0.0.2
 - insomnia-xpath@0.0.2

* A bunch of small fixes

* Improved build script

* Fixed

* Merge dangling files

* Usability refactor

* Handle duplicate plugin names
2017-11-26 20:45:40 +00:00