* Revert "removes generic for Notice"
This reverts commit feade91126.
* use inference for the onChange handler argument type
* removes duplicated properties
* naming is hard
also, the elvis operator is here now so we can just use him
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
Co-authored-by: Filipe Freire <livrofubia@gmail.com>
* bump node, electron, libcurl
* bump electron-builder
* stub performance, because inso imports react
* bump @types/node
* match up builder versions
* Disable consent prompts for oidc server
* bump electron and libcurl to latest
* waitForCookies for oauth tests
* Bump NodeJS to 16.13.0
* removes node 14 hack for BufferEncoding
* Replace oidc-provider html interaction pages with a simple html form
* make document cookie wait explicit
Co-authored-by: David Marby <david@dmarby.se>
* now with 100% fat free cancellation
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
* unblock electron 15
* fix cookielist and temp fix curl types
* fix types
* fix inso
* default to verbose inso test
* implement readdata function
* fix test
* revert test changes
* isomorphic cancel
* reduce typing issues
* curl types
* turns out the tests were wrong
* handle errors
* remove unused inso mock
* remove request delay
* fix lint and add logs
* Revert "remove request delay"
This reverts commit f07d8c90a7a7279ca10f8a8de1ea0c82caa06390.
* simplify and add cancel fallback
* skip cancel test
* playwright is fast and insomnia is slow
* trailing spaces are serious yo
* cancel is flake town
* hmm
* unblock nunjucks and storeTimeline
* fix nunjucks tests
* preload writeFile
* oops forgot to remove the reload
* debugging CI takes all day, log stuff and pray
* also warn if nunjucks is being lame
* Stop using environment variables
* revert debugging logs
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
Co-authored-by: David Marby <david@dmarby.se>
* Update default electron-builder targetgs
* Allow setting a build ref
Changes the default version to `0.0.1-dev+unknown`, so that build/packaging can be easily ran locally without setting any environment variables.
* Adds recurring release workflow
New workflow that'll pre-bake artifacts when there's changes on PRs or on develop.
Artifacts can be used for all platforms to test out a PR or latest develop without the need to build locally.
Co-Authored-By: David Marby <david@dmarby.se>
* Make recurring flow independent from Test flow
Co-Authored-By: David Marby <david@dmarby.se>
* Use setup-node@v2
Co-Authored-By: David Marby <david@dmarby.se>
* Update .github/workflows/release-recurring.yml
Co-authored-by: David Marby <david@dmarby.se>
* It's always the single quotes 🙏😚
* Use bash shell
* Disable fail-fast
* Add cancel-in-progress setting to recurring releases
If someone pushes a new commit, triggering a new recurring job on a PR or develop, we cancel ongoing workflow.
Co-Authored-By: David Marby <david@dmarby.se>
* Change concurrency setting to workflow level
Co-Authored-By: David Marby <david@dmarby.se>
Co-authored-by: David Marby <david@dmarby.se>
* Move basic auth routes to a separate file
* Stop slowing requests down artificially
* Add initial oauth routes
* Mount oidc routes under /oidc
* Enable all forms of oauth that Insomnia supports
* Add oauth request collection fixture
* Update playwright config
* Use 127.0.0.1 instead of localhost
* simple oauth2 test
* Make the playwright extension work
* Move oauth tests to a separate file
* Test all oauth flows
* Mark test as slow
* Wait for load state for new pages
* Use locators consistently
* Add playwright to recommended extensions
* Add instructions for how to use the playwright extension
* update selectors and use fill
* Fix markdown lint
Co-authored-by: jackkav <jackkav@gmail.com>
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
* Enable playwright parallelism
Plus, move the cancel request test into its own separate test to reduce flakiness.
* Change num of playwright workers on GH actions back to 1
* Change 200 OK assertion
+ Add assertions to PDF canvas
+ Add assertion to Raw Data preview.
* Add assertions to response body elements
* Undo parallel suite for app.test.ts
* Remove parallelism workers from playwright.config.ts
* Code review improvements
Co-Authored-By: Jack Kavanagh <3679927+jackkav@users.noreply.github.com>
Co-Authored-By: James Gatz <jamesgatzos@gmail.com>
* Code review improvements
Co-Authored-By: Jack Kavanagh <3679927+jackkav@users.noreply.github.com>
Co-Authored-By: James Gatz <jamesgatzos@gmail.com>
Co-authored-by: Jack Kavanagh <3679927+jackkav@users.noreply.github.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>