Commit Graph

104 Commits

Author SHA1 Message Date
Ruben Fiszel 10f4bf16c2 feat(backend): get_result_by_id do a downward pass to find node at any depth (#1249)
* downwardRec

* downwardRec

* any node

* any node

* any node
2023-03-01 11:33:48 +01:00
Ruben Fiszel d1be3192ea remove references to starter workspace' 2023-02-22 13:56:24 +01:00
Ruben Fiszel 8338301899 remove metadata from zip 2023-02-22 09:18:01 +01:00
Kai Jellinghaus 908e7e5ba2 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 64f0fe9232 Setup Experience (#1194)
* Squash

* Update SQLX
2023-02-13 02:32:29 +01:00
Ruben Fiszel 4494dbe917 fix slack command 2023-02-10 01:51:42 +01:00
Ruben Fiszel 20ea3424e0 use VmHwm mem instead of VmPeak for more accurate memory report 2023-02-05 15:30:02 +01:00
Ruben Fiszel 5ce8dc6a80 mem_peak use greatest 2023-02-05 14:59:31 +01:00
Ruben Fiszel 0ecfec2577 feat: add mem peak info 2023-02-04 20:26:15 +01:00
Kai Jellinghaus f0e3bc090e 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 e320a8cead restrict number of jobs in the queue for free users 2023-01-25 13:34:08 +01:00
Ruben Fiszel e869e40ed7 fix compile 2023-01-21 18:49:26 +01:00
Ruben Fiszel e893db6a97 fix reporting duration above 60s 2023-01-18 11:23:25 +01:00
Ruben Fiszel 40f32e644e feat(backend): add queue_limit + configurable timeout + fix timeout cancel 2023-01-18 09:02:38 +01:00
Ruben Fiszel 64d16f3eff sqlx fix 2023-01-13 22:27:18 +01:00
Ruben Fiszel 13175ffc31 various improvements 2023-01-10 11:21:16 +01:00
Ruben Fiszel 62f1956694 feat: add archive/unarchive/delete workspace 2023-01-07 09:39:50 +01:00
Ruben Fiszel bb42024556 tighten public apps security using triggerable policy 2023-01-02 18:53:10 +01:00
Ruben Fiszel 79149c2899 fix: preserver order changes for flows' schema 2023-01-02 04:43:28 +01:00
Ruben Fiszel 03e89b5911 feat: apps can be published publicly 2023-01-01 19:16:26 +01:00
Ruben Fiszel ebbc2039a2 update all clients to use update resource value 2023-01-01 10:26:11 +01:00
Ruben Fiszel a7070260d3 deprecate starters workspace by pointing resource types to admins 2023-01-01 09:00:56 +01:00
Ruben Fiszel cd435fa07c resuming suspended flows as owner is now through flow id 2022-12-24 09:44:05 +01:00
Ruben Fiszel 12979223b5 allow resuming as owner suspended job only for path owners 2022-12-23 13:44:41 +01:00
Ruben Fiszel f9b7901d8e make ownership check more consistent, expose ownership api, expose update folder api 2022-12-22 14:48:57 +01:00
Ruben Fiszel cb20d795a2 improve error message for already existing items 2022-12-20 12:52:18 +01:00
Ruben Fiszel f0527f6810 re-enable picking groups 2022-12-20 07:18:10 +01:00
Ruben Fiszel e6e7dfffac fix folders queries on RDS 2022-12-19 21:01:12 +01:00
Ruben Fiszel 48a1399362 feat: introduce folders, deprecate items owned by groups 2022-12-19 19:11:23 +01:00
Ruben Fiszel 6e2890f0f1 require ownership to move items && automatically edit schedule paths 2022-12-18 18:45:32 +01:00
Ruben Fiszel 8d7dd7359c group refactoring 2022-12-16 20:02:13 +01:00
Ruben Fiszel ec6afe07cc rework default visibility of runs of scripts not belonging to oneself 2022-12-15 18:55:30 +01:00
Ruben Fiszel a85705e8c9 feat: add operator mode 2022-12-13 20:16:57 +01:00
Ruben Fiszel db4fcfdbec feat: auto-invite from same domain 2022-12-12 20:20:17 +01:00
Ruben Fiszel 567a404355 usage tracker v3 2022-12-12 01:11:44 +01:00
Ruben Fiszel f7c5759054 usage tracker v2 2022-12-11 22:48:09 +01:00
Ruben Fiszel 039e1fa1e6 feat: implement usage tracker + quotas 2022-12-11 18:47:39 +01:00
Kai Jellinghaus b0baa07579 feat: Superadmins workspace (#1003)
* Add auto-invite superadmins workspace

* Revert "Add auto-invite superadmins workspace"

This reverts commit 768ae31857.

* Add Admin Workspace

* Show unable to delete info in UI

* Add Hub sync

* Update Migration

* Add Starter workspace

* Add workspace_key for admins workspace

* Remove schedule

* Update CI
2022-12-10 01:46:26 +01:00
Kai Jellinghaus b87fc7796a feat(backend): Input transform errors (#1006)
* Add pre run error & propagate input transforms there

* Handle pre-run errors

* Update SQLX data

* Update SQLX data
2022-12-08 23:56:49 +01:00
Ruben Fiszel b8a8400e63 sqlx update 2022-12-08 13:32:33 +01:00
Ruben Fiszel 25b50f1a49 add unique path and rls to apps 2022-12-03 09:21:26 +01:00
Ruben Fiszel 751dca0d28 feat: add favorite/star + remove flows/scripts page in favor of unified home page (#968)
* favorites

* favorites

* favorites

* feat(frontend): add favorite + refactor homepage
2022-11-30 00:15:43 +01:00
Ruben Fiszel 7c3126efc0 feat: refactor variable + resource linkage + OAuth visibility 2022-11-27 17:26:37 +01:00
Ruben Fiszel f1725c7eb9 more visibility on OAuth errors Vol 1 2022-11-27 14:00:55 +01:00
Ruben Fiszel e909e296cc fix getting email from github 2022-11-26 15:33:15 +01:00
Ruben Fiszel 635a207d3b update sqlx-info 2022-11-26 14:46:13 +01:00
Ruben Fiszel 99ec8787a8 feat: add slack_bot token on connecting workspace to slack 2022-11-16 00:27:21 +01:00
Faton Ramadani 31f6e47390 fix(frontend): App Editor v0 (#886) 2022-11-14 17:30:49 +01:00
Kai Jellinghaus 937e16c2af 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 904ec60ea6 fix(ci): sqlx offline data 2022-11-12 20:41:23 +01:00