Commit Graph

111 Commits

Author SHA1 Message Date
Gregory Schier
32a958ab95
View open source licenses in app (#1926)
* View opensource licenses

* Remove redundant check
2020-02-06 08:41:56 -05:00
Gregory Schier
00fd73ddd5 Add support for RGB triplets in theme colors 2020-02-04 14:46:36 -05:00
Opender Singh
7b3ae5bfd8 Enable and disable plugins! (#1855)
* Add PluginConfig type

* Update plugin loader to find PluginConfig

* Only extend with active plugins

* Toggle checkbox UI

* Show checkbox

* WIP

* WIP - add separate checkbox component

* add react-switch

* Remove toggle-switch less files

* Rename

* Move dependency to app package

* Can't bootstrap or run after moving node module to insomnia-app package hmmm

* Update packages

* Add toggle switch story

* Remove unnecessary prop

* Update story

* Renames

* Update dependencies...

* Update flow-types

* Hmmm

* Fix import?

* Update

* Update to regular component

* Fix css + remove _mounted from toggle-switch

Co-authored-by: Gregory Schier <gschier1990@gmail.com>
2020-01-23 13:43:04 -05:00
Gregory Schier
f50bcfeafb pkg-v2.1.5 2020-01-06 15:07:32 -05:00
Gregory Schier
10d7255800 pkg-v2.1.4 2020-01-06 14:19:56 -05:00
Gregory Schier
e46bf021cf pkg-v2.1.3 2020-01-06 13:51:24 -05:00
Gregory Schier
9166b028e7 Add notice-table callback for visibility toggle 2020-01-06 13:50:31 -05:00
Gregory Schier
5a92964db6
New insomnia-ui package with initial <NoticeTable/> component (#1869)
* Add insomnia-ui package with NoticeTable component and a few other examples

* Tweak icon placement and add insomnia-ui to insomnia-app package

* Add click handling and some extra styles to <NoticeTable/>

* New SvgIcon component and style tweaks

* Fix dependencies

* Fix button border

* Fix flow lint

* SvgIcon stories and lots of style updates

* Fix auto-formatting issue
2020-01-06 13:33:47 -05:00
Opender Singh
f920ba17f2 Update codemirror (#1861) 2019-12-20 15:03:44 -05:00
Gregory Schier
5c9493fa2d pkg-v2.1.2 2019-12-17 11:58:09 -05:00
Gregory Schier
a53192c229 Bump package-locks 2019-12-13 09:07:34 -05:00
Gregory Schier
e932d7e388 Prompt for name when duplicating requests and folders 2019-12-11 12:48:56 -05:00
Tomasz Dłuski
705876ace9 [Feature] Wsdl Importer with sample xml (#1675)
* new(importer): wsdl first version (without body)

* add(tests): wsdl importer - adds simple test

fixes addition test

adds comments + place to generate body

* working converter

* adds apiconnect-wsdl npm package

* resets package.json dependencies

* adds lodash and apiconnect-wsdl into importers project
2019-12-11 12:02:08 -05:00
Gregory Schier
18d011b810 package-lock 2019-11-27 11:03:26 -05:00
Gregory Schier
46d7d94296 Update some dependencies 2019-11-27 10:52:20 -05:00
Gregory Schier
42e198bf75
Add Storybook with basic components (#1807)
* Gruvbox theme

* Added Storybook for all components that don't fail in browser
2019-11-26 12:22:21 -05:00
Gregory Schier
869dffbf36 Upgrade electron-rebuild 2019-11-22 11:04:22 -05:00
kliques
58eb3eaeb7 feature: clipboard feature (#1776)
- add import from clipboard
2019-11-22 10:46:54 -05:00
Gregory Schier
a65e99fb63 Print snapcraft version 2019-10-10 14:05:40 -07:00
Gregory Schier
153b10c209
Better Github Actions builds (#1718)
* Try some things

* Try docker

* Specify bash in Dockerfile

* Fix?

* Fix dockerfile version

* Fix bootstrap.sh path

* Use GITHUB_WORKSPACE in docker script

* Fix permissions again

* Fix missing bootstrap.sh

* Try again

* Fix entrypoint.sh permissions

* Remove Linux2
2019-10-09 13:31:42 -07:00
Gregory Schier
0c53522f46 Add Apple Notarization 2019-10-08 16:31:32 -07:00
Gregory Schier
eed5672948 Bump package locks 2019-10-02 08:01:58 -07:00
Gregory Schier
09861f54b2 Fix JSONPath dependency issue (Closes #1624) 2019-08-07 12:18:14 -04:00
Gregory Schier
d3d788eb06 Fix zprint-clj version 2019-08-02 15:37:25 -04:00
Gregory Schier
8fda24ae47 Small sidebar refactor and moved ESLint to top level 2019-08-02 15:01:01 -04:00
dependabot[bot]
465f7247f6 Bump lodash from 4.17.11 to 4.17.14 (#1599)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-15 16:18:25 -07:00
Gregory Schier
67bd8570f6 Dep updates 2019-06-07 12:02:02 -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
7c77d9d2e6 Inline electron-squirrel-startup (Fixes #44)
Now the desktop icon will only be created on installation, not on
update.
2019-05-10 12:25:50 -04:00
Gregory Schier
b2ebeeea70 Fix dependencies 2019-05-07 11:48:03 -04:00
Gregory Schier
2482fd61fe Upgrade httpsnippet 2019-05-07 11:15:25 -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
d7ebe4928d
Replace font-manager with improved font-scanner module (fixes #1453) (#1463) 2019-04-25 23:29:47 -07:00
Gregory Schier
6aac1355dd Switch back to main httpsnippet module 2019-04-25 21:44:53 -07:00
Gregory Schier
d9c33417eb Merge branch 'develop' of github.com:getinsomnia/insomnia into develop 2019-04-23 10:55:06 -07:00
Opender Singh
497a708cc7 Request url tooltip overflow (#1441)
* Fixed test for win32

* Allow for a wide tag + styling to allow breaking of an otherwise unbreakable string

* reverted test

* added package-lock.json files
2019-04-22 12:26:57 -07:00
Gregory Schier
7edde1bbe0 Revert electron-builder again 2019-04-19 16:29:35 -07:00
Gregory Schier
63e39d2ae0 Actually revert Electron 2019-04-19 16:17:33 -07:00
Gregory Schier
c00fed9784 Fix build 2019-04-19 15:56:50 -07:00
Gregory Schier
b6ea8e8719 Revert to Electron 3.x because electron-builder 2019-04-19 15:31:30 -07:00
Gregory Schier
87bc180855 Actually revert electron-builder 2019-04-19 15:02:45 -07:00
Gregory Schier
06cb2f7942 Revert electron-builder 2019-04-19 14:47:39 -07:00
Gregory Schier
cb92f16848 Upgrade electron-builder 2019-04-19 14:30:53 -07:00
Gregory Schier
9208505bd9 Choose between YAML and JSON during export 2019-04-17 21:21:29 -07:00
Gregory Schier
272c2d4004 package-lock 2019-04-17 20:52:05 -07:00
Behrooz Shabani
86860e455b making exports git friendly (#1409)
As YAML supports multi line content, each line of requests' body will
appear in separate line when exported. Hence, making the exports git
friendly.
2019-04-17 20:50:23 -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
Sertaç Özercan
086f338182 add darkModeSupport (#1366) 2019-03-11 17:54:32 -04:00
Gregory Schier
10a550cdb3 More dropdown positioning work 2018-12-15 00:01:16 -05:00
Gregory Schier
bd48e3ede1 Upgrade GraphQL dependencies (Might Fix #1261) 2018-12-12 11:02:54 -05:00