Commit Graph
61 Commits
Author SHA1 Message Date
Ruben Fiszel 1956c43705 feat: add schedule to syncable resources 2023-07-16 10:47:24 +02:00
72d0d8a7f5 chore(backend): upgrade sqlx to ^0.7 (#1865)
* DRAFT chore(backend): upgrade sqlx to ^0.7

related to:
* https://github.com/windmill-labs/windmill/pull/1858
* https://github.com/launchbadge/sqlx/issues/1163#issuecomment-1627685514

* (vol. 2) in 0.7, `Transaction` can no longer implement `Executor` directly

ref: https://github.com/launchbadge/sqlx/blob/afb6b1066e61f8e3875f530d96cfb5a299f13fda/examples/postgres/transaction/src/main.rs#L14-L17

notice that I'm temporarly using my custom patch
https://github.com/mrl5/sqlx/commit/16e4c9a8f380214ad61b1744d3e1f5fa866ffbcc
it's related to https://github.com/launchbadge/sqlx/issues/2611

* post git rebase chores

* use upstream fix from 0.7.1

* fix compile

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-07-15 14:06:20 +02:00
HugoCasa 012ea2dc0a feat: generate and fix scripts using Autopilot powered by OpenAI #1827)
* feat(frontend): generate simple script from prompt

* feat(backend): add OpenAI key workspace settings

* feat(frontend): add OpenAI key workplace settings

* feat: proxy to backend + support all languages

* fix: openapi spec

* feat: ScriptGen new UI + gpt 4

* fix: openai key sqlx data

* fix: diffEditor optional

* feat: beta + minor improvements

* feat: resource type support

* feat: edit with AI

* feat: AI fix

* feat: minor improvements
content max length, format, env info

* fix: minor
2023-07-12 17:07:45 +02:00
Ruben Fiszel b45c3d1132 bun fixes 2023-07-06 22:29:00 +02:00
HugoCasaandRuben Fiszel 54cd5ce569 feat: workspace error handler (#1799)
* feat: add workspace error handler

* feat: run error handler as group

* fix: handler picker initial path

* fix(backend): separate global / workspace handlers

* fix(frontend): error handler picker tab change

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2023-07-06 21:43:15 +02:00
Ruben Fiszel 4beba96724 select + drawer fix + explicit hash 2023-07-05 10:01:07 +02:00
Ruben Fiszel c669e9940b feat: native fetch + native postgresql jobs (#1796)
* push

* test

* test

* done

* fix

* modify script lang enum

* fix tests

* update wasm

* fix tests
2023-07-04 19:39:59 +02:00
Ruben Fiszel ff942f4d06 fix: add CREATE_WORKSPACE_REQUIRE_SUPERADMIN 2023-06-29 23:06:03 +02:00
Ruben Fiszel cfc7857e6c remove warnings 2023-06-29 12:42:09 +02:00
Ruben Fiszel f096145cee improve docker-compose and email sending 2023-06-29 11:52:46 +02:00
Ruben Fiszel 7851e932ec feat: smtp support to invite users (#1777)
* email support

* everyhting

* smtp

* update

* update

* update

* setup backend test
2023-06-29 10:34:44 +02:00
Ruben Fiszel 03da1f34f2 add proto postgresql backend support as a job language 2023-06-26 18:23:14 +02:00
Ruben Fiszel 2df29a131e feat(cli): add skipSecrets, skipVariables, skipResources 2023-06-22 14:20:46 +02:00
Ruben Fiszel ac1a432bb9 feat: dev/staging/prod and deploy from web (#1733) 2023-06-17 13:57:04 +02:00
Ruben Fiszel 91ad8d0b8d rework premium workspace pricing 2023-05-28 13:00:21 +02:00
Ruben Fiszel 88e37fe0be feat: introduce backend persisted draft systems for scripts 2023-04-30 15:56:52 +02:00
Ruben Fiszel f2d3c8208b feat(backend): add instance events webhook 2023-04-11 01:45:56 +02:00
Ruben Fiszel 7f9050b285 feat(backend): lowercase all emails in relevant endpoints (#1361)
* all

* also modify invite_user
2023-04-05 11:36:17 +02:00
Ruben Fiszel 7fc97e274e only decrypt secret value 2023-03-30 07:58:51 +02:00
Ruben Fiszel 98d51e219d fix(cli): add --plain-secrets 2023-03-28 22:46:43 +02:00
Ruben Fiszel e40f16c969 minor backend fixes 2023-03-27 22:57:29 +02:00
Ruben Fiszel 6764c519b2 add more sanity checks to api 2023-03-27 21:07:34 +02:00
Ruben Fiszel ce323709a9 fix(cli): many small fixes 2023-03-11 20:16:56 +01:00
Ruben Fiszel c06311faf8 add workspace_add events 2023-02-28 19:41:01 +01:00
Ruben Fiszel ebd2e0323e fix stripe checkout 2023-02-27 08:49:36 +01:00
Ruben Fiszel df1b724626 do not create default variables on workspace creation 2023-02-23 08:07:35 +01:00
Kai Jellinghaus 81ffd49bef Remove Stripe (#1217) 2023-02-22 19:15:10 +01:00
Ruben Fiszel 4671558e6b remove extra_perms from being encoded in non-folder zip export 2023-02-22 12:55:40 +01:00
Ruben Fiszel 08519f4099 removed edited_by from zip metadata 2023-02-22 09:53:45 +01:00
Ruben Fiszel 2727699d91 remove archived from zip 2023-02-22 09:23:23 +01:00
Ruben Fiszel c280f6e798 remove metadata from zip 2023-02-22 09:12:22 +01:00
Ruben Fiszel e81f7bd723 feat: add delete flows 2023-02-22 08:40:11 +01:00
Ruben Fiszel 2213500210 remove versions from serialized apps 2023-02-22 01:13:42 +01:00
Ruben Fiszel 3d7a5a4520 v0 of cli refactor 2023-02-22 00:15:32 +01:00
Ruben Fiszel be6f052ba4 extend zip permissions 2023-02-22 00:06:22 +01:00
Kai JellinghausandRuben Fiszel 41c8ea92fe CLI fixes (#1204)
* Add default workspace URL

* R1 WIP

* Improve help docs slightly

* Rework tracking state

* WIP Rework
Remaining bug: Not returning state-only files (no local file) from *getFiles()

* Create newly found files

* Finish ZIP & new tracking code

* Fix two minor bugs

* do not consider conflict if same content

* add more logs to cli writing

* progress

* progress

* iteration

* Add most basic App support

* fix folder frontend bug

* fix folder frontend bug

* init done by default

* sqlx merge

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-02-21 10:13:21 +01:00
Kai Jellinghaus 5d109b3cd4 feat(backend): Zip Workspace Export (#1201)
* Allow different formats

* Allow Zip format in workspace export

* Fix axum error

* Use ZIP in frontend

* File ending fix

* Fix empty query
2023-02-17 19:21:06 +01:00
Ruben Fiszel c0b87cc7d7 send a webhook on new user + lazy static refactor (#1203)
* supercharge

* supercharge

* progress

* progress

* display config

* display config

* display config

* display config

* fix extensions

* fix build

* disable nsjail = false for test
2023-02-15 10:59:50 +01:00
Ruben Fiszel 42b94947c4 small flow improvements 2023-02-09 16:44:28 +01:00
Kai JellinghausandRuben Fiszel b9ac60f8bb feat: Add workspace webhook (#1158)
* Add workspace webhook

* Update SQLX

* Add webhook request histogram

* Move workspace webhook retrieval OOP

* Add removal to frontend, cache removed webhooks

* Remove WebhookUtil

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-02-03 19:50:18 +01:00
Ruben Fiszel 1efae55d36 update stripe products references 2023-01-27 20:59:05 +01:00
Ruben Fiszel 098cd96655 add stripe integration 2023-01-27 07:29:51 +01:00
Ruben Fiszel 22080312f0 description at bottom 2023-01-21 17:33:23 +01:00
Ruben Fiszel 14ebb6dc32 fix all cases where schema has been set to undefined 2023-01-18 06:56:44 +01:00
Ruben Fiszel 9b89df9ecf various fixes 2023-01-17 11:30:22 +01:00
Ruben Fiszel acff87a09f all 2023-01-17 08:09:46 +01:00
Ruben Fiszel a14623feaa feat: add 'add user to workspace' 2023-01-11 00:51:04 +01:00
Ruben Fiszel e2f2db2d7f edit operatorOnly on toggle change 2023-01-09 16:42:02 +01:00
Ruben Fiszel 6edf9b9946 feat: add archive/unarchive/delete workspace 2023-01-07 09:39:50 +01:00
Kai Jellinghaus 741646b618 feat!(cli): Folders support & Less Tarball nesting (#1040)
* Basic folder support

* Proper Folder Support + deps.ts

* Upgrade Versions

* Add folder meta to tarball

* Remove tarball folders

* Minor fixes

* Fix typo

* Remove extra_perms check

* Use new endpoint

* Use new untar location

* Fix shrinking files
2022-12-23 03:06:12 +01:00