Commit 9afed027 authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Minor fixes and clenaup.

parent 35cdede9
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -14,8 +14,5 @@ __pycache__/
# Data
# Data
data*
data*


# DB conf
services/webapp/db_conf.sh

# Compose
# Compose
docker-compose.yml
docker-compose.yml
+1 −1
Original line number Original line Diff line number Diff line
@@ -6,5 +6,5 @@ if [ ! -d ./services ]; then
    exit 1
    exit 1
fi
fi


rosetta/shell webapp "cd /opt/code && source /env.sh && source /db_conf.sh && BACKEND_LOG_LEVEL=ERROR python3 manage.py makemigrations"
rosetta/shell webapp "cd /opt/code && source /env.sh && BACKEND_LOG_LEVEL=ERROR python3 manage.py makemigrations"
+1 −1
Original line number Original line Diff line number Diff line
@@ -6,4 +6,4 @@ if [ ! -d ./services ]; then
    exit 1
    exit 1
fi
fi


rosetta/shell webapp "cd /opt/code && source /env.sh && source /db_conf.sh && BACKEND_LOG_LEVEL=ERROR python3 manage.py migrate"
rosetta/shell webapp "cd /opt/code && source /env.sh && BACKEND_LOG_LEVEL=ERROR python3 manage.py migrate"
+18 −0
Original line number Original line Diff line number Diff line
# Generated by Django 2.2.1 on 2023-10-07 10:52

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('core_app', '0033_auto_20220410_1531'),
    ]

    operations = [
        migrations.AlterField(
            model_name='task',
            name='requires_tcp_tunnel',
            field=models.BooleanField(verbose_name='Requires TCP tunnel'),
        ),
    ]
+1 −1
Original line number Original line Diff line number Diff line
@@ -286,7 +286,7 @@ class Task(models.Model):
    interface_port = models.IntegerField('Interface port', blank=True, null=True) 
    interface_port = models.IntegerField('Interface port', blank=True, null=True) 
    
    
    # Task access
    # Task access
    requires_tcp_tunnel = models.BooleanField('Requires a TCP tunnel')
    requires_tcp_tunnel = models.BooleanField('Requires TCP tunnel')
    tcp_tunnel_port     = models.IntegerField('TCP tunnel port', blank=True, null=True)
    tcp_tunnel_port     = models.IntegerField('TCP tunnel port', blank=True, null=True)
    requires_proxy      = models.BooleanField('Requires proxy')
    requires_proxy      = models.BooleanField('Requires proxy')
    requires_proxy_auth = models.BooleanField('Requires proxy auth')
    requires_proxy_auth = models.BooleanField('Requires proxy auth')