Commit Graph

61 Commits

Author SHA1 Message Date
Gregory Schier
05b2f0ba10 Add support for YAML content type 2019-08-09 12:52:43 -04:00
Gregory Schier
8d9352aaec Revert entity loading to use model.all() (Fixes #1582) 2019-07-02 15:42:00 -04:00
Gregory Schier
8ce49bfb49 Response history now shows correct request methods (Fixes #1552) 2019-06-07 11:25:02 -04:00
Opender Singh
5d82a5ec95 Download path settings per request (#1544)
* Remove from state

* Download path to meta

* Finished?

* Fixed!

* Remove props from ResponsePane
2019-06-03 14:45:22 -04:00
Opender Singh
24a2e75fa3 Preserve property order in environment editor (#1497)
* Add json-order package

* Add propertyMap and sort properties boolean to model

* Keep property order

* Remove extra check

* Allow env editor in request group overrides to maintain order

* Add checkbox

* Order control added

* Use up to date json-order

* Rename

* Remove extra field

* Update separator

* Prevent unnecessary parse

* Move to regular dependency

* add to packedDeps

* Renames

* Remove extra code

* Removed extra state

* More fixes...

* add flowtypes for json-order

* typo

* Updated flowtypes

* Fixed?

* linting to remove unused import
2019-05-29 16:10:48 -04:00
Gregory Schier
5068cee2cd
Feature/recent requests switcher (#1491)
* Add recent requests hotkey and sort requests by most recent in switcher

* Fix a bunch of Flow errors
2019-05-09 21:18:34 -04:00
Gregory Schier
0705efa55e Change default autocomplete delay from 700ms to 1200ms 2019-05-08 16:13:42 -04:00
Gregory Schier
e24ce7f7b4 Fix tests 2019-05-08 13:59:16 -04:00
Opender Singh
c48daaea44 Support for pinned requests (#1471)
* Add pinning behavior

* add fa-thumb-tack

* Updated package-lock files

* Allow only top level request and request group to be pinned

* Prevent dnd for pinned request

* Efficiency change

* Reverted changes

* Revert changes to selectors.js

* Fixed pin and add thumbtack

* Changes

* Pin styling

* Fix overflow bug

* styling complete

* Remove additional style

* Updated package-lock.json

* Mergie

* Boolean to boolean

* allow nested requests to be pinned

* Remove unused arg

* Remove folder pinning functionality

* Remove comment

* Revert change to open tag on group

* Render separator with dsiplay: none so that sync menu is in correct place

* Don't reset parent id on request pin

* Remove extra checks

* Move pin filter to selectors to prevent duplicate childTree traversal

* Decouple pinned items from search results

* Hide pin on hover

* Pin keyboard shortcut via shift+ctrl+p

* Typo fix

* Update mac hotkey + activeRequest nullcheck

* Disable drag and drop only for items in the pinned list

* Filter to Find
2019-05-07 10:46:35 -04:00
Gregory Schier
69a4abb268 Add setting to show more data in timeline (Closes #1262) 2019-04-27 01:55:04 -07:00
Gregory Schier
dce5f320c3 Refactor settings and store timeline separately 2019-04-27 01:46:10 -07:00
Gregory Schier
34ffcfec3b
Added a request "quick create" hotkey and data migration to ensure (#1469)
new hotkeys are added to the database
2019-04-26 13:58:05 -07:00
Gregory Schier
a472443b0c Configurable response history length 2019-04-17 21:58:09 -07:00
Andrew Razumovsky
e145ca8146 Option to configure number of saved responses to history (#1378) 2019-04-17 21:29:42 -07: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
Ricky Chandra
bb8b48adc3 New data models for hotkeys and store the key bindings in settings (#1314)
* New data models for hotkeys and store the key bindings in settings

* Merge win and linux key bindings, remove generic key combinations, and add documents
2019-03-12 12:38:30 -04:00
Rafael Renan Pacheco
921a5d2b3c Option to configure autocomplete popup delay (#1323)
- Fixes #1032
2019-01-09 18:13:24 -05:00
Gregory Schier
88b0bb784f Add trailing commas to ESLint + Prettier 2018-12-12 12:36:11 -05:00
Gregory Schier
5ebc53fa13 Adjusted top-level deps 2018-12-11 18:44:34 -05:00
Ricky Chandra
f88d961748 Add clean deleted responses task on startup, and add tests (#1292)
* Add clean deleted responses task on startup, and add tests

* Bump version

* Add hookDatabaseInit() call to perform ops on DB startup

* Refactor clean responses function to fetch all from db instead of batching, move the call to db init hook, and refactor tests to use spyOn
2018-12-04 22:26:18 -05:00
Gregory Schier
8eb494dfe8 Add hookDatabaseInit() call to perform ops on DB startup 2018-12-03 13:43:43 -05:00
Gregory Schier
d09772fbdd Change ligatures default to false 2018-11-28 12:44:43 -05:00
Gregory Schier
01196cf457 Fix Prompt plugin (Closes #1063) 2018-11-06 08:52:55 -05:00
Gregory Schier
0aa842ca5f Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2018-11-05 21:48:12 -05:00
Gregory Schier
fa9ffdca24 Fix lint error 2018-11-05 21:48:00 -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
dcf12d2a4f Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2018-11-05 21:31:18 -05:00
Gregory Schier
c0f363e272 Don't allow conversion between form-data and JSON (Closes #1151) 2018-11-05 21:31:02 -05:00
artywhite
010733f86d Issue 1210: Disable update notification (#1234) 2018-11-05 20:41:42 -04:00
Timothy Lim
2b3591f6e4 Fixes #922: Clear Content-Type when selecting 'No Body' (#1214)
* Clear Content-Type when selecting 'No Body'

* Remove CONTENT_TYPE_NO_BODY and simplify filter
2018-10-20 10:24:27 -04:00
Gregory Schier
1b1c3f63d3 Updates to new font selection setting 2018-10-17 14:21:34 -04:00
Evans Y
955131472a * Implemented normal, monospace font selection and on-pff for font variant (#1213)
ligatures

* Make font-size and font-family based on CSS variables
2018-10-17 13:26:19 -04:00
Gregory Schier
99de4725fa prettier entire project 2018-10-17 12:42:33 -04:00
Masov
48dd56fe2b Allow to choose space as a indentation character (#1177) 2018-09-26 19:08:32 -04:00
tippl
26498aeaec Add bottom bar env highlight color style (#1054)
* Add bottom bar env highlight color style

Had to add this one to the grid, because border appeared outside of the
viewport.

* Use box-sizing attribute instead

* Add more environment color highlight options

* Rename env highlight color styles
2018-07-20 15:05:15 -07:00
tippl
f681d13331 Add bar color indicator for environments (#1042)
* Add bar color indicator for environments

* Fix according to code review
2018-07-12 13:38:51 -07:00
Gregory Schier
26e9b646bd
Add ability to debug OAuth 2.0 token fetch responses (#1024)
* Show OAuth 2.0 responses when failed

* Implemented for the rest of the grant types
2018-07-01 13:18:18 -07:00
Gregory Schier
8a8c4b3979 Prompt tag now only prompts once per request maximum 2018-06-27 00:58:34 -04:00
Gregory Schier
4901f03041 Add Prettier 2018-06-25 13:42:50 -04:00
Gregory Schier
deb32c0736 CRUD hooks and purge response body on delete (Closes #799) 2018-06-18 17:13:56 -04:00
Gregory Schier
b11f5a5c69
Plugin Storage API (#981)
* Add plugin storage API

* Add tests
2018-06-08 20:22:39 -07:00
Gregory Schier
fe63c23298
Sortable environments working with react-sortable-hoc (#978) 2018-06-08 13:47:49 -07:00
Gregory Schier
1d238a9005 A few UI tweaks 2018-06-07 13:55:28 -04:00
Gregory Schier
c82e163841
Add ability to view introspection request/response timeline upon error (#970)
* Add ability to view introspection request/response timeline upon error

* Fix tests
2018-06-06 13:48:14 -07:00
Gregory Schier
03b088d53b Fix sidebar renaming (Closes #947) 2018-05-24 21:44:49 -04:00
Gregory Schier
f918e647c0 Remove analytics 2018-05-23 00:28:25 -04:00
Brandon Cook
3a15aab2c4 Add support for additional claims in ASAP Auth (#822) 2018-03-28 19:27:21 -04:00
Gregory Schier
d5b75c7d32 Curl generation query params bug (Fixes #810) 2018-03-26 13:50:43 -07:00
Gregory Schier
87ccc34bad Setting for Curl's PATH_AS_IS flag (Closes #823) 2018-03-26 10:43:42 -07:00
Gregory Schier
88286bbf94 Don't restore name/folder on history change (Fixes #786) 2018-03-06 19:02:31 +13:00