Skip to content

Commit

Permalink
1.3.6 Fix load_init_data and api perf improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
MaKyOtOx committed Dec 19, 2024
1 parent 2c7017b commit ffa704c
Show file tree
Hide file tree
Showing 14 changed files with 200 additions and 141 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM python:3.7-slim
LABEL Name="PatrowlHears" Version="1.3.5"
LABEL Name="PatrowlHears" Version="1.3.6"

ENV PYTHONUNBUFFERED 1
RUN mkdir -p /opt/patrowl-hears/
Expand All @@ -17,6 +17,7 @@ RUN apt-get update -yq \
gcc \
git \
wget \
jq \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.5 // Community Edition
1.3.6 // Community Edition
2 changes: 1 addition & 1 deletion backend_app/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.5
1.3.6
18 changes: 9 additions & 9 deletions backend_app/cves/migrations/0017_auto_20240209_1012.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
class Migration(migrations.Migration):

dependencies = [
('cves', '0016_auto_20230118_1701'),
("cves", "0016_auto_20230118_1701"),
]

operations = [
# migrations.AlterField(
# model_name='historicalproduct',
# name='name',
# field=models.TextField(db_index=True, default='-', max_length=250),
# ),
migrations.AlterField(
model_name='historicalproduct',
name='name',
field=models.TextField(db_index=True, default='-', max_length=250),
),
migrations.AlterField(
model_name='product',
name='name',
field=models.TextField(db_index=True, default='-', max_length=250),
model_name="product",
name="name",
field=models.TextField(db_index=True, default="-", max_length=250),
),
]
28 changes: 16 additions & 12 deletions backend_app/cves/migrations/0019_auto_20240209_1448.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,25 @@
class Migration(migrations.Migration):

dependencies = [
('cves', '0018_auto_20240209_1016'),
("cves", "0018_auto_20240209_1016"),
]

operations = [
migrations.RemoveField(
model_name='historicalproduct',
name='versions',
),
migrations.RemoveField(
model_name='product',
name='versions',
),
# migrations.RemoveField(
# model_name='historicalproduct',
# name='versions',
# ),
# migrations.RemoveField(
# model_name="product",
# name="versions",
# ),
migrations.AlterField(
model_name='productversion',
name='product',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='pversions', to='cves.product'),
model_name="productversion",
name="product",
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="pversions",
to="cves.product",
),
),
]
32 changes: 32 additions & 0 deletions backend_app/cves/migrations/0020_auto_20241218_1601.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Generated by Django 3.1.14 on 2024-12-18 16:01

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
("cves", "0019_auto_20240209_1448"),
]

operations = [
# migrations.RemoveField(
# model_name='historicalproduct',
# name='versions',
# ),
# migrations.AlterField(
# model_name="historicalproduct",
# name="name",
# field=models.TextField(db_index=True, default="-", max_length=250),
# ),
migrations.AlterField(
model_name="productversion",
name="product",
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="versions",
to="cves.product",
),
),
]
Loading

0 comments on commit ffa704c

Please sign in to comment.