1
0
Fork 0
mirror of synced 2024-09-18 10:20:11 +12:00
budibase/packages/server
Conor Webb 3c74d29cf6
Added the ability to disable automations (#13667)
* Added disabling functionality for automations

* Removed external trigger automations that are disabled from selectable bindings

* Added new popover option for disabling automations

* Added toggle UI Inside automation screen

* Added subtle styling to automation list for disabled functionality.

* Fixed linting error

* Removed duplicate bbui import

* Fixed store function spacing

* Fixed linting issues.

* Added the requested changes to how disable is handled.

* Fixed linting issues.

* Minor UI tweaks based on feedback.

* Added logic to prevent crons type automations from running when disabled.

* Removing webhook disable, causes trigger url to be re-generated.

* Add unit test to ensure disabled automations are filtered out of the active queue

* Fixed lint issues

* Reverted disabled unit test

* Added error throw for disabled automations

* Add test for when a disabled automation gets triggered

* Added try, catch for trigger function - error handling

* Fixed linting issues
2024-05-20 15:13:08 +01:00
..
__mocks__ Some further mock fixes. 2024-05-15 14:50:04 +01:00
build
scripts
specs
src Added the ability to disable automations (#13667) 2024-05-20 15:13:08 +01:00
.dockerignore
.gitignore
.npmignore
.yarnrc
babel.config.js
docker_run.sh
Dockerfile
jest.config.ts
LICENSE
nodemon.json
package.json Use @budibase/google-spreadsheet 2024-05-17 12:11:26 +02:00
pm2.config.js
README.md
tsconfig.build.json
tsconfig.json

Budibase server project

This project contains all the server specific logic required to run a Budibase app

App migrations

A migration system has been created in order to modify existing apps when breaking changes are added. These migrations will run on the app startup (both from the client side or the builder side), blocking the access until they are correctly applied.

Create a new migration

In order to add a new migration:

  1. Run yarn add-app-migration [title]
  2. Write your code on the newly created file