Commit Graph

241 Commits

Author SHA1 Message Date
Jack Kavanagh
fc5699e5f3
inso cli dx improvements (#7776)
* clean up github artifacts flow

* add console output test

* add timeline

* prepare test harness

* fix lint

* move test

* set shell to false
2024-07-30 13:29:45 +02:00
Filipe Freire
0d91f0a7eb
chore: git sync pull push test [INS-4132] (#7720)
* chore: git sync pull push test [INS-4132]

* Update packages/insomnia-smoke-test/playwright.config.ts

Co-authored-by: Jack Kavanagh <jackkav@gmail.com>

* local dx

---------

Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
2024-07-25 11:47:44 +01:00
Jack Kavanagh
44642a49e9
remove send-request (#7731)
* remove send-request

* move types

* fix type-checks

* remove pointless const

* handle react in inso unit test

* remove
2024-07-18 15:06:28 +02:00
Jack Kavanagh
b0b6c20654
feat: inso collection runner (#7700) 2024-07-17 16:23:36 +02:00
Jack Kavanagh
03581544cf
split test job into app and cli (#7685)
* split

* add build sr

* adjust timeouts

* fix test

* fix timeout

* typo
2024-07-10 10:18:12 +02:00
Jack Kavanagh
8c729ecae7
inso fifth pass (#7601)
* extract lint and export logic

* add test and update doc

* some thoughts

* add test each

* notes

* comments

* add more cases

* improve types, flatten send request

* collection runner poc

* verbose

* flatten

* add bail

* stabilise pathing

* add test

* fix type check

* improve testing experience

* fix tests

* tidy up package.json

* tidy up package and test.yml

* remove old smoke test

---------

Co-authored-by: Filipe Freire <filipe.freire@konghq.com>
2024-07-09 13:06:55 +01:00
James Gatz
9aa512ee8a
move snap and deb publish to the end (#7599) 2024-06-27 12:27:04 +02:00
Jack Kavanagh
46db2ed72f
snap store login (#7593)
* snap store login

* use v1

* fix

* Update .github/workflows/release-publish.yml

---------

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2024-06-27 09:56:51 +00:00
jackkav
272c25a605 add note about notorize fail 2024-06-26 12:36:08 +02:00
Filipe Freire
e88b313b1d
fix: windows artifact and update code signer [INS-3993][INS-3982] (#7523) 2024-06-11 12:45:18 +02:00
Jack Kavanagh
2ff059f7a2
remove oas 2 kong (#7503)
* remove oas 2 kong

* remove old test
2024-06-11 10:38:09 +01:00
jackkav
f3be333a5a bump create branch 2024-06-10 15:16:59 +02:00
Filipe Freire
bf6f6b4f04
fix: windows paths release-publish [no-ticket] (#7516) 2024-06-10 10:47:44 +02:00
jackkav
f7aa433fdf move exe to dist 2024-06-07 13:27:03 +02:00
Jack Kavanagh
ff972eedb4
auto update changelog after release (#7417)
* cool guy stuff

* Update .github/workflows/update-changelog.yml
2024-06-07 12:32:12 +02:00
Jack Kavanagh
372e25157f
verbose notarize (#7500) 2024-06-06 22:49:02 +02:00
saisatishkarra
a7fb85e808
fix glob patterns for release assets (#7501) 2024-06-05 18:32:02 +02:00
saisatishkarra
f6484158f0
fix variable names for provenance digest (#7498) 2024-06-05 17:07:37 +02:00
saisatishkarra
2033709461
fix: use base64 output file for provenance for large assets (#7496) 2024-06-05 16:04:30 +02:00
saisatishkarra
f2712204ed
fix: script to parse binary digests (#7493) 2024-06-05 13:12:05 +02:00
Jack Kavanagh
a5204cf18d
release message (#7483)
* message

* check for stable

* clearer title

* fix lint

* improve publish script dx

* [skipci] comment
2024-06-05 07:24:25 +02:00
saisatishkarra
dcbf408cf7 fix: insomnia digest variable name to avoid secret masking 2024-06-04 11:11:36 -05:00
saisatishkarra
dc29720b31 fix: fix insomnia digest variable name 2024-06-04 10:52:39 -05:00
saisatishkarra
c2cd93de73 fix: parse insomnia core artifact digest 2024-06-04 09:52:26 -05:00
saisatishkarra
527393cdcf fix: write permissions for slsa provenance 2024-06-04 09:43:20 -05:00
saisatishkarra
4508e71694 fix: permissions for slsa provenance 2024-06-04 09:41:11 -05:00
saisatishkarra
722d26899b
ci(.github)[SEC-1084]: SLSA supply chain security controls (#7479)
* ci(.github)[SEC-1084]: SLSA supply chain security controls

* fix gh review comments
2024-06-04 15:43:28 +02:00
Filipe Freire
6b45828ae8
chore: bake inso-cli on older macos [INS-3931] (#7471)
* chore: bake inso-cli on older macos [INS-3931]

* send PKG_NAME var for macos builds

* macos-13 only

* Revert "send PKG_NAME var for macos builds"

This reverts commit dcd6f2b13b.

* Update .github/workflows/release-start.yml
2024-06-04 15:31:59 +02:00
Jack Kavanagh
7062f07f7d
manual changelog and release notes docs (#7282)
* chill vibes lofi

* discard changelog job

* magic generation

* prompt
2024-04-19 10:50:44 +02:00
Filipe Freire
acc1935ac2
fix: release-start handle re-run step (#7215) 2024-03-27 14:12:01 +01:00
Filipe Freire
ac3e38ec9e
fix: release-start [no-ticket] (#7212)
* fix: release-start [no-ticket]

* fix if conditions
2024-03-27 11:41:29 +00:00
jackkav
dc3a55d972 manual start 2024-03-12 17:34:14 +01:00
Jack Kavanagh
c50e6aeb4a
fix changelog (#7159)
* cool

* seperate changelog

* should be fine

---------

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2024-03-12 16:53:41 +01:00
Filipe Freire
ef9cd3c5ee
chore: bump GH actions versions [no-ticket] (#7117) 2024-02-27 14:49:14 +00:00
Filipe Freire
ff2d14488e
fix: move changelog step to release-publish (#7114)
* comment out changelog temporarily

* move changelog to release-publish

* fix
2024-02-26 17:02:51 +00:00
Filipe Freire
98c7df6283
fix: release-start changelog step [no-ticket] (#7113) 2024-02-26 14:46:25 +00:00
Kong Team Eng Enablement Bot
fca0914d4f
Update timeout for .github/workflows/release-publish.yml (#7055)
* Update default timeouts for .github/workflows/release-publish.yml [skip ci]

* configure timeout

---------

Co-authored-by: Filipe Freire <filipe.freire@konghq.com>
2024-02-06 12:58:16 +00:00
Kong Team Eng Enablement Bot
359d7e3271
Update timeout for .github/workflows/homebrew.yml (#7052)
* Update default timeouts for .github/workflows/homebrew.yml [skip ci]

* configure timeout

---------

Co-authored-by: Filipe Freire <filipe.freire@konghq.com>
2024-02-06 12:41:09 +00:00
Kong Team Eng Enablement Bot
d113cf9ca9
Update timeout for .github/workflows/release-recurring.yml (#7053)
* Update default timeouts for .github/workflows/release-recurring.yml [skip ci]

* configure timeout

---------

Co-authored-by: Filipe Freire <filipe.freire@konghq.com>
2024-02-06 12:27:19 +00:00
Insomnia
51b9ef76e9
🚀 8.6.1 (#7014)
* Bump app version to 8.6.1

* feat(unit-tests): Unit test reordering (#7020)

* re-orderable test suites

* re-orderable tests

* fix ts

* Use db methods for sorting

* sort suites and unit tests in inso

* fix suite rename

* Fixes https://github.com/Kong/insomnia/issues/7011 (#7012)

* Fixes https://github.com/Kong/insomnia/issues/7009 (#7010)

* chore: edit changelog process [INS-3456] (#7001)

* fix(workspace): Add default name for when creating a workspace (#7046)

* Add default name for when creating a design/collection

* workspace update and creation

* fix filter history keys not being valid selectors (#7040)

* remove invalid wide css prop (#7041)

* feat(environment): update environments icons (#7050)

* update environments icons

* fix workspace name

* fix one line editor being scrollable (#7059)

* change 8.0 to 8 (#7061)

* Cleanup page containers and add hint container in the page (#7060)

* feat(pane-tabs): Consistent styles for tabs (#7062)

* response/request pane tab counts

* tab dropdown colors

* fix updates to db leading to errors in loader fetchers (#7033)

* feat(command-palette): add button to open the command palette (#7064)

* add button for quick search

* update button styles in project

* make it look good with gh stars

* fix ts issue

* changelog

---------

Co-authored-by: Jack Kavanagh <3679927+jackkav@users.noreply.github.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
Co-authored-by: Jeroen Van den Berghe <vandenberghe.jeroen@gmail.com>
Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2024-02-06 12:16:54 +00:00
Kong Team Eng Enablement Bot
89924a15b1
Update timeout for .github/workflows/release-start.yml (#7056)
* Update default timeouts for .github/workflows/release-start.yml [skip ci]

* configure timeout

---------

Co-authored-by: Filipe Freire <filipe.freire@konghq.com>
2024-02-05 16:21:39 +00:00
Kong Team Eng Enablement Bot
13fc420e5d
Update timeout for .github/workflows/release-build.yml (#7054)
* Update default timeouts for .github/workflows/release-build.yml [skip ci]

* configure timeout

---------

Co-authored-by: Filipe Freire <filipe.freire@konghq.com>
2024-02-05 15:15:58 +00:00
Kong Team Eng Enablement Bot
ab52d7a26f
Update timeout for .github/workflows/test.yml (#7051)
* Update default timeouts for .github/workflows/test.yml [skip ci]

* configure timeout

---------

Co-authored-by: Filipe Freire <filipe.freire@konghq.com>
2024-02-05 15:05:34 +00:00
Kong Team Eng Enablement Bot
85c10b148e
Update timeout for .github/workflows/sast.yml (#7058)
* Update default timeouts for .github/workflows/sast.yml [skip ci]

* configure timeout

---------

Co-authored-by: Filipe Freire <filipe.freire@konghq.com>
2024-02-05 14:04:50 +00:00
saisatishkarra
653d497763
Add SAST scanning using semgrep (#7015) 2024-01-22 19:52:56 -06:00
Filipe Freire
96a33f1bba
fix #6490 portable .exe is not actually portable (#6571)
* fix: portable .exe is not actually portable

* keep portable for release-recurring

* edit electron-builder
2023-09-27 14:58:09 +00:00
Filipe Freire
51f542e545
fix missing re-run of version (#6561) 2023-09-26 13:20:22 +01:00
Filipe Freire
9a6c3e1d29
fix release-start (#6557) 2023-09-25 00:53:25 +01:00
James Gatz
6ef9a46814
Api V2 (#6135)
* Add support for multiple remote projects per Team (#6009)

* update fetching of teams

* create and delete remote projects

* backend project sync using the new teamProjectId in the API

* indicator

* use team api to get organization data

* handle logged out state

* remove remote from duplicate modal

* remaining insomnia fetch fixes

* fix ts issues

* fix ts log issue

* fix ts error

* fix ts update

* fix tests

* remove log

* add types to insomniaFetch

* named arguments in vcs

---------

Co-authored-by: jackkav <jackkav@gmail.com>

* Project Presence (#6079)

* fix ts log issue

* fix ts update

* update fetching of teams

* create and delete remote projects

* real-time

* update api changes

* check for successful response

* get user profile

* cleanup

* update fetch

* update network status

* fix for insomniaFetch new api

* insomnia fetch from window

* fix missing stat

* fix project dropdown

* update avatar

* update presence when closing the app

* update the presence every minute

* cleanup presence

* use eventsource and improve debugging

* Cloud only projects (#6167)

* Add support for multiple remote projects per Team (#6009)

* update fetching of teams

* create and delete remote projects

* backend project sync using the new teamProjectId in the API

* indicator

* use team api to get organization data

* handle logged out state

* remove remote from duplicate modal

* remaining insomnia fetch fixes

* fix ts issues

* fix ts log issue

* fix ts error

* fix ts update

* fix tests

* remove log

* add types to insomniaFetch

* named arguments in vcs

---------

Co-authored-by: jackkav <jackkav@gmail.com>

* login routes

* cleanup logged in state

* update organizations

* fixes

* update migration

* auto init sync on workspaces without git

* fix auto init sync

* checkpoint

* update import options in empty project pane

* responsive styles

* update package-lock

* join an org in sidebar

* readability improvements

* move modals and root loader to org

* cleanup root

* expire session take 1

* cleanup default org id

* fix ts issue

---------

Co-authored-by: jackkav <jackkav@gmail.com>

* Add Scratch Pad collection (#6221)

* add scratchpad collection

* filter scratchpad from cloud migration

* disable sync for scratchpad

* update settings for scratchpad

* log in rename

* check if user is logged in or has logged in before

* use organization api

* organizations api fixes

* update urls

* move modals to root

* update org navbar links

* lint fix

* type-check

* Add form for setting up the staging env

* add autolinking

* onboarding

* remove default org id

* staging urls

* avatar styles

* update urls

* use display name for orgs

* update settings modal with dev

* proper project deletions

* fix api calls perf

* sidebar improvements

* layout styles

* disable tests for now

* fix boolean

* fix data migration

* dev settings styles

* test init

* organization names

* link styles

* improve scratchpad banner styles

* http colors

* url bar styles

* spinner styles

* breadcrumbs styles

* help and feedback links

* settings to root

* onboarding

* fetch remote projects on org nav

* update avatar styles

* use name initials in avatars

* don't allow to delete default organization project

* add scratchpad checks

* tests

* workspace settings tabs types

* export all workspaces

* fix types and personal org

* project permission checks

* continue with sso

* organization avatars

* project presence avatars

* fix privacy/terms links

* add the no-wrap classname

* update user name and email in the app

* fix delete action

* ai fetching

* generate tests in sequence to help with rate limiting

* wip testing

* wip test

* improve test and migration script

* fix ts

* local to cloud projects test

* set local-to-cloud-projects.test as slow

* fix e2e tests

* update settings tests

* update more apis that changed from teams -> organizations

* simplify remote project migration

* org.branding can be undefined

* fix imports issue in sr

* remove .only

* remove unused gql query

* fix onboarding height jump

* trust some rnd and upload artifacts on failure

* fix env vars replacement on prod

* fix constant name

* bring back checks

* fix inso test

* add temp changes

* fix inconsistent response handling

* handle bad auth code errors

* show email when logged in

* remove the concept of default_project

* cleanup auth styles

* fix: use scratchpad constants wherever needed and remove seed

* fix sentry lint error

* migrate with update

* add scratch pad fixture and typing

* refactor pushSnapshotOnInitialize to always work

* remove console.log

* remove account from preferences

* improve trail-lines styles

* fix project sidebar scroll issue

* only create diff of projects

* fix lint

* sync

* feat: add plan upgrading modal for git sync (#6516)

* feat: add plan upgrading modal for git sync

* feat: add plan upgrading modal to project git menu and grid menu

* fix: use JSON.parse for getting flag value

* update ask modal

* remove git option from workspace settings

---------

Co-authored-by: gatzjames <jamesgatzos@gmail.com>

* sort projectswith default at top

* create local copies of remotes

* update presence exit update

* renames

* fix deleting/renaming projects with remoteId

* remoteId instead of projectId

* remote-collections

* fix initializeProjectForTeam

* fix missing parentId in remote projects

* add missing billing api

* add migration page and check for migrations

* cleanup project sync logic

* fix remote projects updating

* add notes

* fix backend-project test

* fix: use features API for fetching feature list (#6538)

* members -> collaborators

* remove dev settings

* use shouldRunMigrations in onboarding

* fix empty pane styles

* remove beforeUnload for presence

* show expiry info

* better error for upgrade in new project action

* extend retry period

* fallback and control revalidate

* add pending indicator for switching organizations

* fix exports (#6553)

* Sync Organizations (#6551)

* organization cache and updates

* error handling in org sync

* sort organizations

* clean up sort

* org sort and avatar fallback

---------

Co-authored-by: jackkav <jackkav@gmail.com>

* Presence updates (#6552)

* use remoteId for presence

* use project loader for the active project

* fix in present users

* logic clean

* match remoteId checks

---------

Co-authored-by: jackkav <jackkav@gmail.com>

* add default color to loading indicator

* fix redirect loop when there are no projects

* scratchpad fallback on initial route load

* re-enable ai check

* update error in renameProject

* db query to get projects in workspace

* review fix

* comments

* remove initModelFrom magic

* fix lint issue

---------

Co-authored-by: jackkav <jackkav@gmail.com>
Co-authored-by: Mark Kim <mark.kim@konghq.com>
Co-authored-by: Filipe Freire <livrofubia@gmail.com>
Co-authored-by: Hexxa <hexxa@outlook.com>
2023-09-24 23:12:50 +00:00
Filipe Freire
df77275576
chore: Add test to check for backups on new version to critical tests (#6403)
* chore: Add test to check for backups on new version to critical tests

* check for backups folder contents

* change env var on gh actions file

* fix
2023-08-28 14:06:47 +00:00