Commit Graph
867 Commits
Author SHA1 Message Date
Ruben Fiszel 1eedbfaedb fix digest for createapp 2022-11-14 18:00:51 +01:00
Faton Ramadani cc5f629a7b fix(frontend): App Editor v0 (#886) 2022-11-14 17:30:49 +01:00
Ruben Fiszel c8b35a26a3 add cache dir for deno even when nsjail disabled 2022-11-14 11:43:56 +01:00
Ruben Fiszel 8fdc2ba63a fix listApps 2022-11-14 10:26:39 +01:00
Ruben Fiszel a9abd28882 fix(backend): go use windmill cache dir even if nsjail disabled 2022-11-14 09:20:09 +01:00
Kai JellinghausandRuben Fiszel 47c9ff1edc feat(backend): Flow lock (#868)
* Add lockfile information

* Allow Lockfiles to be pushed to queue

* Handle raw_lock on worker

* Flow Lock Job

* Allow RawScript path

* Simplify handle_code_execution_job

* Regenerate SQLX

* Fix tests

* fix test

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2022-11-13 18:31:08 +01:00
Ruben Fiszel 3357cffb04 feat(backend): remove go.sum from go lockfile (#891) 2022-11-13 17:36:35 +01:00
Ruben Fiszelandrubenfiszel 3189e02477 chore(main): release 1.46.2 (#890)
* chore(main): release 1.46.2

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-12 20:59:31 +01:00
Ruben Fiszel 76a6768ed9 fix(ci): sqlx offline data 2022-11-12 20:41:23 +01:00
Ruben Fiszelandrubenfiszel e13f14988a chore(main): release 1.46.1 (#889)
* chore(main): release 1.46.1

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-12 20:18:28 +01:00
Ruben Fiszel 2d9e9909da fix(backend): apps backend v0 (#888)
* progress

* post merge

* progress

* fix

* fix

* fix

* fix

* v1

* fix openapi
2022-11-12 20:17:08 +01:00
Ruben Fiszel dddba54bdc fix edit schedule 2022-11-10 16:49:16 +01:00
Ruben Fiszel 6fe5c99af4 tweak identity to extract previous_result 2022-11-10 08:48:06 +01:00
Ruben Fiszel 40183ce4e4 feat: deprecate previous_result in favor of results per id 2022-11-10 01:58:52 +01:00
Ruben Fiszel a146aa323f small UX and client fixes 2022-11-08 23:38:17 +01:00
Kai Jellinghaus 8db4d542e7 Disable Deno Lock Files unless feature flag require it(#881) 2022-11-08 16:52:45 +01:00
Ruben Fiszel 79e2865ab9 pass workspace as query arg of every runs link 2022-11-08 10:28:06 +01:00
Ruben Fiszel bd9c80d028 fix python on nsjail 2022-11-08 00:42:14 +01:00
Ruben Fiszel 8e537a80bd fix unknown type not handled and add go interface as recognizable type 2022-11-07 20:52:04 +01:00
Ruben Fiszel d9c3a1ff42 ci: trim down docker main docker image 2022-11-07 13:37:37 +01:00
Jakub Kołodziejczak e08ca0423c refactor(backend): improve memory footprint related to csp (#866) 2022-11-07 01:29:37 +01:00
Ruben Fiszel fe7bfecc0a nit: fix go-client 2022-11-06 23:57:16 +01:00
Ruben Fiszelandrubenfiszel 4899972f67 chore(main): release 1.45.0 (#855)
* chore(main): release 1.45.0

* Apply automatic changes

* Update CHANGELOG.md

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-06 23:50:19 +01:00
Ruben Fiszel 3c09275960 feat: support bash as 4th language (#865)
* bash support

* bash backend working

* frontend part

* bash backend working
2022-11-06 23:48:18 +01:00
Jakub Kołodziejczak 3333713644 chore(backend): set csp based on env var (#864)
* chore(backend): set csp based on env var

* use extension instead of reading directly from env var
2022-11-06 22:35:37 +01:00
Jakub Kołodziejczak 209dee7bd8 chore(csp): fix trailing semicolon (#863) 2022-11-06 19:50:45 +01:00
Ruben Fiszel 753a66488c nit UX on FlowPreviewContent 2022-11-06 18:16:55 +01:00
Jakub Kołodziejczak 3ba18700de fix(backend): improve csp (#861)
rationale for setting `'unsafe-inline'` is that it cannot be more void
than the lack of `script-src` but it still might add some benefits
2022-11-06 18:00:16 +01:00
Jakub Kołodziejczak 7040bbe4c9 fix(backend): tighten http security headers (#860)
* fix(backend): set http security headers (vol.1)

* (vol.2) minimal *working* content security policy

* (vol.3) set csp only if https and if hosted on cloud

* improve generics

* get CLOUD_HOSTED from extension

* remove X-XSS-Protection

rationale as per: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection

* conditionally set all security related http headers
2022-11-06 17:07:25 +01:00
Ruben Fiszel 8fd0e23c80 UX improvements for run script 2022-11-06 16:08:10 +01:00
Ruben Fiszel badc60193c feat(backend): flow duration is now computed as the sum of every child 2022-11-05 22:31:54 +01:00
Ruben Fiszel cddec6469e fix(backend): tighten security around cookies to avoid csrf (#859)
* fix(backend): tighten security around cookies to avoid csrf

* everything httponly

* sqlx

* also handle 404

* shoter Windmill v message

* fix chart
2022-11-05 21:21:13 +01:00
Ruben Fiszel 464642dac7 improve superadmin settings 2022-11-05 12:30:11 +01:00
Ruben Fiszel 6439ffc2b5 remove initial invite to demo for ruben@windmill.dev 2022-11-05 10:45:17 +01:00
Ruben Fiszel 01701882dc feat(backend): use result_by_id in branchone (#857)
* progress

* fix result by id
2022-11-04 12:06:08 +01:00
Ruben Fiszel 25c5e74d73 fix approving twice same flow 2022-11-04 00:32:55 +01:00
Ruben Fiszel 4c3009848f sqlx prepare 2022-11-03 14:41:46 +01:00
Ruben Fiszel 23a0c10b77 feat(backend): add global delete user endpoint 2022-11-03 14:06:19 +01:00
Ruben Fiszel 76e53a0139 feat(backend): add global delete user endpoint 2022-11-03 14:06:09 +01:00
Ruben Fiszelandrubenfiszel 68853f6869 chore(main): release 1.44.0 (#853)
* chore(main): release 1.44.0

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-03 13:50:34 +01:00
Kai Jellinghaus f1d658d7f3 Ignore deno lockfile if invalid (#854)
* Ignore deno lockfile if invalid

* Always write file
2022-11-03 00:47:09 +01:00
Kai Jellinghaus 5bbfb40ee1 feat(backend): Deno lock files (#851)
* Enable generating locks for deno

* Handle deno lockfile

* Fix bug with empty lockfiles

* Handle deno lockfiles

* Allow unstable features when resolving deno deps

* Ignore bad lockfiles

* Handle Deno Path

* No Color output

* Fix OsStr
2022-11-02 23:52:45 +01:00
Ruben Fiszel 59da17bff8 UX improvements 2022-11-02 21:26:52 +01:00
Ruben Fiszel 513924b043 feat: implement allowed domains for self-hosted 2022-11-02 14:52:35 +01:00
Ruben Fiszel 35868ef9bf fix(backend): capture up all lockfile issues 2022-11-02 14:04:44 +01:00
Ruben Fiszel 14c296dbb8 fix: implement require admin differently than unauthorized 2022-11-02 12:18:44 +01:00
Ruben Fiszel b830dffc20 remove tokio-console 2022-11-02 12:04:35 +01:00
Ruben Fiszelandrubenfiszel 9476e53701 chore(main): release 1.43.2 (#852)
* chore(main): release 1.43.2

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-02 11:42:45 +01:00
Ruben Fiszelandrubenfiszel 73047b2089 chore(main): release 1.43.1 (#849)
* chore(main): release 1.43.1

* Apply automatic changes

Co-authored-by: rubenfiszel <rubenfiszel@users.noreply.github.com>
2022-11-02 11:01:37 +01:00
Ruben Fiszel c049838fd2 approvers are available to the step right after approval 2022-11-02 10:43:19 +01:00