Commit Graph

63 Commits

Author SHA1 Message Date
James Gatz
7cb1cbef0d
Prevent opening new windows in the app (#3874)
* Force auxclick (middle-click) events to be handled as click events

* Prevent opening new windows

* Formatting: Remove parentheses from arrow fn
2021-08-10 12:28:12 +03:00
Dimitri Mitropoulos
0178533e52
Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
Opender Singh
fcd546b005
clear models (#3830) 2021-07-22 12:21:41 +00:00
John Chadwick
b07cd1cf16
Upgrade Electron to 11.2.3. (#3798)
* Upgrade Electron from 9.3.5 to 11.2.3.

* bump version

* update preid to alpha

* version packages lib@2.3.1-alpha.0

* Downgrade electron-builder to 22.11.3.

We tried to upgrade electron-builder to 22.11.7, but this fails
because electron-builder 22.11.4 introduces imports into fs/promises.
This module is only available in Node 14+, so we have to stick to
22.11.3 until we update to Electron 12.

* Revert npm script changes from alpha release.

Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-07-16 13:35:32 -07:00
Johan Hammar
60ef1a83f9
Add menu separators in view and help menus (#3802) 2021-07-11 19:28:35 +12:00
Dimitri Mitropoulos
9f3705a8a8
adds eslint rule for requiring default case statements (#3779) 2021-07-01 20:47:10 +00:00
Opender Singh
d7b630f17b
Add formatting ESLint rules (#3425)
* add rules

* run lint:fix

* quick manual fix for lint errors

* indent fix

* add jsx prop multiline

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-05-27 14:00:32 -04:00
Dimitri Mitropoulos
6e073c8a38
use same array-type rule, project-wide (#3395) 2021-05-19 08:32:18 +12:00
Dimitri Mitropoulos
9faf0b3fbb
sanitize all electron.shell.openExternal calls (#3336)
* sanitize all electron.shell.openExternal calls

* adds lint rule to disallow future usage of `openExternal`

* updates to use URL constructor per review feedback
2021-05-12 16:20:52 -04:00
Dimitri Mitropoulos
5f4c19da35
[TypeScript] Phase 1 & 2 (#3370)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-05-12 18:35:00 +12:00
AlexNaga
c4d72a21d1
fix: use insomnia default dark color during initial startup (#3303)
Co-authored-by: Alex <alex.naga@postnord.com>
2021-04-20 13:33:46 +12:00
David Marby
f445034738
Portable windows builds (#3125)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-02-28 15:54:18 +01:00
Opender Singh
5e31295174
Update onboarding flow (#3101) 2021-02-26 09:13:37 +13:00
Opender Singh
26fb78ab99
Remove Core and Designer specific cases (#3034) 2021-02-03 12:19:22 +13:00
Opender Singh
f27cd5f630
Support template tags with gRPC (#2926) 2020-12-18 00:38:21 +13:00
Johan Hammar
07f9fa676e
Remove redundant help menu item (#2797)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2020-11-19 13:52:34 +13:00
Opender Singh
0b58a748af
Support for server and bidi streaming (#2814) 2020-11-17 11:59:02 +13:00
Opender Singh
5c1885a540
Support reuploading a proto file (#2832) 2020-11-17 11:01:50 +13:00
Opender Singh
f858b6625d
gRPC state management (#2813) 2020-11-12 11:44:03 +13:00
Opender Singh
d18ba8e6d8
Support for gRPC Unary and Client streaming (#2809) 2020-11-10 13:30:27 +13:00
Mike Ellan
c081fd2003
Insomnia core & designer app iconography (#2766)
App window logo updates and fix.
2020-10-22 16:43:00 -04:00
Emanuele Concas
29ff23343b
Add Show App Logs Folder to help (#2728)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-10-21 00:01:47 +13:00
Opender Singh
61b27ae3c4
Add release date to about menu (#2505) 2020-08-13 08:59:30 +12:00
Ken
b6aaa4d82b
Copy info to clipboard (#2480)
Co-authored-by: Opender Singh <opender94@gmail.com>
Co-authored-by: John <john_v@outlook.co.nz>
2020-08-11 09:14:11 +12:00
Gregory Schier
93c91ebdbe
Upgrade Electron (#2403)
* Upgrade Electron to 8, bump Node version, fix font-manager

* Specify nodeIntegration as true

* Get <webview> working again

* Get <webview> working again

* Electron 9.0

* Escape parens in plugin install exec path (newer Electron added them)

* Bump versions for first alpha

* Electron 9.1

* Convert all Electron APIs that switched from callback to Promise

* Fix send-and-download feature

* Remove user-agent override hack for OAuth 2 login window

* Bump alpha version

* Fix issue regarding chokidar

* Add package-lock.json

* Upgrade chokidar because @babel/cli uses an older incompatible version of fsevents

* Fix source maps

* Read .nvmrc in GitHub actions

* Address remaining PR feedback
2020-07-27 22:18:26 -07:00
Gregory Schier
05b2e7d345 Fix devtools hotkey 2020-06-30 14:00:58 -07:00
Nicholas Raphael
d4c475fa57
Feature: Show Dev Tools with hotkeys (#2309)
* add key combinations for dev tools hotkey

* add Dev Tools accelerator to View menu remove from Develop menu

* remove changes from hotkey.js

Co-authored-by: Gregory Schier <gschier1990@gmail.com>
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-06-29 11:48:53 -07:00
Gregory Schier
4387381fd1
Upgrade node-libcurl (#2223)
* deps: bump node-libcurl to latest prerelease version

* Add .npmrc, bump Electron to 3.1.13, remove electron-rebuild

* Minor tweaks

* package locks

* Bump version

* Switch to font-manager and fix fsevents rimraf

* Try generating npmrc inside build/

* Try uninstall of fsevents instead

* Bump

* Try npm env vars

* Extra .npmrc

* Try npm env vars in all CI

* Fix insomnia-cookies dependencies

* Fix typo

* Loosen nvmrc version

* Remove npm uninstalls

* Build outside of Docker

* Remove Docker, build all on GH Actions

* Bump Core version

* Disable Snapcraft for now

* Bump

* Disable snap for Designer too

* Update product name for Core

* Update test.yml

* Remove Travis file

* Make userData folder explicit and add Curl types

* Remove old Kong icon

* Remove curl.js adapter

* Revert productName

* Fix release date

* Try remove windows build tools from CI

* Add comment about Snap deploys

* Remove the pane border on Windows (no longer necessary)

Co-authored-by: Jonathan Cardoso Machado <me@jonathancardoso.com>
2020-05-28 10:09:51 -07:00
Opender Singh
08534699e7
Fix GitLab sync (#2162)
* Down with hardcoded slugs

* Type the error modal

* Set username

* Update

* Update

* add username

* Revert .flowconfig

* Address comments

* Simplify

Co-authored-by: Gregory Schier <gschier1990@gmail.com>
2020-05-15 14:11:06 +12:00
Opender Singh
443d6df08d
Initial pass to combine eslint and prettier (#2166) 2020-05-15 10:54:07 +12:00
Gregory Schier
58fed78d06
Flatten insomnia-libcurl package (#2081)
* Remove unnecessary insomnia-libcurl package to flatter installation dirs

* Remove empty test folder

* Fix inlc mock
2020-04-29 12:59:46 -07:00
Gregory Schier
4cb8e34aef Rename some old things 2020-04-26 14:08:50 -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
7aae21154a
Remove About tab from settings and link to OSS license (#1996) 2020-03-12 15:57:46 -07:00
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
5f2f319e5b Sidebar toggle hotkey now configurable (Closes #1715) 2019-12-13 23:11:13 -05:00
Gregory Schier
1092e44fda Add Quit shortcut back to app (Closes #1446) 2019-12-13 16:26:37 -05:00
Gregory Schier
384c65bd37 Reset window bounds if not within bounds of any display (Closes #1702) 2019-10-07 12:37:38 -07:00
Gregory Schier
c27140648a Send app ID to auto-update server 2019-09-18 12:07:09 -07:00
Gregory Schier
32a45ac8bf Consider min x/y when clamping initial window (Fixes #1255) 2019-08-21 10:43:54 -07:00
Opender Singh
4bfb6eb200 Add back View > Toggle Sidebar item (#1548)
* Add View > Toggle Sidebar item back

* Remove from _globalKeyMap to prevent double toggle

* Remove sidebar toggle hotkeys
2019-08-05 14:38:19 -04:00
Gregory Schier
b6889d199e Fix squirrel startup logic 2019-05-15 18:34:12 -04:00
Gregory Schier
ec60e2128e Refactor Squirrel startup code 2019-05-10 15:20:07 -04:00
Gregory Schier
b70018a9aa Fix squirrel startup check 2019-05-10 12:30:20 -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
46483fd23e Fix unnecessary navigation interception 2019-05-08 16:32:28 -04:00
Gregory Schier
2640b4ba48 Open all links in external browser (Fixes #1473) 2019-05-08 16:13:26 -04:00
Gregory Schier
6f98da7df8 Hide quit menu item on non-Mac (Closes #1446) 2019-04-23 15:38:53 -07:00
Gregory Schier
7f17494520 Fix Vim escape blocke 2019-04-18 11:34:48 -07:00