Commit Graph

61 Commits

Author SHA1 Message Date
Ruben Fiszel 039e1fa1e6 feat: implement usage tracker + quotas 2022-12-11 18:47:39 +01:00
Ruben Fiszel 7397e99e55 split states from resources on resources page 2022-12-10 18:47:43 +01:00
Ruben Fiszel 97bcdc8e3d add microsoft login 2022-12-10 12:18:40 +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
Ruben Fiszel 4c75f243b6 display account without refresh tokens as non refreshed 2022-12-09 20:17:39 +01:00
Ruben Fiszel 972387c4fb add linkedin as oauth integration 2022-12-09 19:25:12 +01:00
Ruben Fiszel 02b19ee693 add linkedin as oauth integration 2022-12-09 18:21:59 +01:00
Ruben Fiszel 4099007a9f fix list jobs 2022-12-09 14:52:49 +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 fa7e8d107b feat: add lockable version to scripts inside flows (#972)
* add it to openflow

* push

* push

* final
2022-12-06 13:11:11 +01:00
Ruben Fiszel 018f8896bc feat: add include_header to pass request headers to script 2022-12-05 23:36:31 +01:00
Kai Jellinghaus aa3a354304 fix(cli): Fix cli pull push (#985)
* Fix workspace tar

* Ignore dotfolders
2022-12-04 13:24:31 +01:00
Ruben Fiszel 4a9e3ef983 feat: refactor favorite menu 2022-12-04 13:23:29 +01:00
Ruben Fiszel 25b50f1a49 add unique path and rls to apps 2022-12-03 09:21:26 +01:00
Ruben Fiszel a3f6a810bd add resume urls at the api level 2022-12-02 22:19:15 +01:00
Kai Jellinghaus 31ac1ddf39 feat(cli): improved setup & allow workspace in base url & refactor workspaces/remotes to unify (#966)
* Setup V2 & Allow Workspace in base url

* Handle login conflict information

* Rework workspace & remote logic

* Add login logic

* Add token storage logic

* 🚀 finish refactor

* :Fix Pull

* Remove setup

* Add create-token

* Remove legacy typesc

* Fix change

* Fix warns

* fix warning

* Update README

* Switch to new workspace by default

* Update demo video

* Update Images

* remove duplicate

* Change wording

* Add to main README

* Fix main readme

* Fix videos
2022-12-01 22:56:57 +01:00
Ruben Fiszel fed2b2105d feat: unify resources under a single connect API 2022-12-01 19:28:00 +01:00
Ruben Fiszel 7d7e862672 fix list apps 2022-11-30 21:43:32 +01:00
Ruben Fiszel bc22391faa readme: nits and toc 2022-11-30 20:01:01 +01:00
Ruben Fiszel 89376e852f add favorites for app 2022-11-30 13:04:05 +01:00
Ruben Fiszel b40f9a0475 favorites on the sidebar 2022-11-30 01:47:29 +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 47853529e5 fix getting email from github 2022-11-26 15:57:55 +01:00
Ruben Fiszel e909e296cc fix getting email from github 2022-11-26 15:33:15 +01:00
Ruben Fiszel da958894ea more explicit error for login 2022-11-26 14:38:45 +01:00
Ruben Fiszel 081edba816 fix removing users 2022-11-26 14:21:42 +01:00
Ruben Fiszel 4d808966dc support for generic userinfo_url 2022-11-25 04:54:14 +01:00
Ruben Fiszel 3f234280c1 feat(backend): add configurable custom client 2022-11-24 11:40:02 +01:00
Ruben Fiszel 0d7973d230 no error message on canceling a completed job 2022-11-24 10:18:29 +01:00
Kai Jellinghaus d33d465d3a fix(backend): bash flow lock & add flow lock tests (#933)
* Fix Bash flow lock

* Tests w/ fixes

* Add Sequence privileges
2022-11-23 19:17:19 +01:00
Ruben Fiszel 3fb5c7b5c7 add COOKIE_DOMAIN to set domain of cookies 2022-11-18 09:06:10 +01:00
Ruben Fiszel 8a6d840f81 fix: support flows to be triggered by slack commands 2022-11-16 21:50:51 +01:00
Ruben Fiszel 99ec8787a8 feat: add slack_bot token on connecting workspace to slack 2022-11-16 00:27:21 +01:00
Ruben Fiszel c7b0ba43a3 fix(backend): saving bash script does not require dep job 2022-11-15 17:20:15 +01:00
Ruben Fiszel 3872b1097b menu redesign 2022-11-15 11:57:05 +01:00
Ruben Fiszel f17ef49137 fix digest for createapp 2022-11-14 18:00:51 +01:00
Faton Ramadani 31f6e47390 fix(frontend): App Editor v0 (#886) 2022-11-14 17:30:49 +01:00
Ruben Fiszel f5b78d5e57 fix listApps 2022-11-14 10:26:39 +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 5bc40f7d28 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 1cefbe263b pass workspace as query arg of every runs link 2022-11-08 10:28:06 +01:00
Jakub Kołodziejczak 7e6aac3ea8 refactor(backend): improve memory footprint related to csp (#866) 2022-11-07 01:29:37 +01:00
Ruben Fiszel 7c97fac746 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 5bee890032 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 d8d82fa12d chore(csp): fix trailing semicolon (#863) 2022-11-06 19:50:45 +01:00
Jakub Kołodziejczak 2562f98cbc 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 df1c619e25 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 de9e96ddd2 UX improvements for run script 2022-11-06 16:08:10 +01:00