From e271d1bfb48ba2f23ee4f5250d50b717fec94915 Mon Sep 17 00:00:00 2001 From: Shyim Date: Wed, 25 Apr 2018 23:10:38 +0200 Subject: [PATCH] Added active flag to endpoints --- README.md | 2 +- .../ReCast/Endpoints/EditEndpoint.vue | 7 +++++- .../components/ReCast/Streams/EditStream.vue | 2 ++ .../src/components/ReCast/Streams/List.vue | 2 ++ src/Controller/Streams.php | 1 + src/Entity/Endpoint.php | 24 +++++++++++++++++++ src/Repository/StreamsRepository.php | 13 ++++++++-- 7 files changed, 47 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a4fd82e..22a106b 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ ReCast is a multi platform streaming tool written in PHP and uses nginx RTMP. Yo * Checkout this project, copy .env.dist to .env and adjust the settings * Run ```composer install --no-dev -o``` * Generate JWT Keys, following [Documentation](https://github.com/lexik/LexikJWTAuthenticationBundle/blob/HEAD/Resources/doc/index.md#installation) -* Create the database ```php bin/console doctrine:schema:create``` +* Create the database ```php bin/console doctrine:migrations:migrate``` * Go to ``public/theme``, run ``npm install`` and copy the generated files to public (``cp -R static ..``) * Create a new crontab entry which runs every minute ```php bin/console recast:cron``` * Create a new user with ```php bin/console recast:create:user``` diff --git a/public/theme/src/components/ReCast/Endpoints/EditEndpoint.vue b/public/theme/src/components/ReCast/Endpoints/EditEndpoint.vue index 8bd20fb..04a4a19 100644 --- a/public/theme/src/components/ReCast/Endpoints/EditEndpoint.vue +++ b/public/theme/src/components/ReCast/Endpoints/EditEndpoint.vue @@ -9,6 +9,10 @@ +
+ Active +
+