Skip to content

Commit

Permalink
[HOTFIX] Merge pull request #533 from dfir-iris/develop
Browse files Browse the repository at this point in the history
Hotfix v2.4.9
  • Loading branch information
whikernel authored Jul 16, 2024
2 parents 602cf05 + 3d4471a commit 8156f83
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.4.8
current_version = 2.4.9
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<release>.*)-(?P<build>\d+))?
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<p align="center">
Incident Response Investigation System
<br>
<i>Current Version v2.4.8</i>
<i>Current Version v2.4.9</i>
<br>
<a href="https://v200.beta.dfir-iris.org">Online Demonstration</a>
</p>
Expand Down Expand Up @@ -52,7 +52,7 @@ git clone https://github.com/dfir-iris/iris-web.git
cd iris-web

# Checkout to the last tagged version
git checkout v2.4.8
git checkout v2.4.9

# Copy the environment file
cp .env.model .env
Expand Down
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,25 @@ services:
extends:
file: docker-compose.base.yml
service: db
image: ${DB_IMAGE_NAME:-ghcr.io/dfir-iris/iriswebapp_db}:${DB_IMAGE_TAG:-v2.4.8}
image: ${DB_IMAGE_NAME:-ghcr.io/dfir-iris/iriswebapp_db}:${DB_IMAGE_TAG:-v2.4.9}

app:
extends:
file: docker-compose.base.yml
service: app
image: ${APP_IMAGE_NAME:-ghcr.io/dfir-iris/iriswebapp_app}:${APP_IMAGE_TAG:-v2.4.8}
image: ${APP_IMAGE_NAME:-ghcr.io/dfir-iris/iriswebapp_app}:${APP_IMAGE_TAG:-v2.4.9}

worker:
extends:
file: docker-compose.base.yml
service: worker
image: ${APP_IMAGE_NAME:-ghcr.io/dfir-iris/iriswebapp_app}:${APP_IMAGE_TAG:-v2.4.8}
image: ${APP_IMAGE_NAME:-ghcr.io/dfir-iris/iriswebapp_app}:${APP_IMAGE_TAG:-v2.4.9}

nginx:
extends:
file: docker-compose.base.yml
service: nginx
image: ${NGINX_IMAGE_NAME:-ghcr.io/dfir-iris/iriswebapp_nginx}:${NGINX_IMAGE_TAG:-v2.4.8}
image: ${NGINX_IMAGE_NAME:-ghcr.io/dfir-iris/iriswebapp_nginx}:${NGINX_IMAGE_TAG:-v2.4.9}

volumes:
iris-downloads:
Expand Down
3 changes: 1 addition & 2 deletions source/app/business/notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,14 @@ def update(identifier: int = None, request_json: dict = None, case_identifier: i
if latest_version.note_title == request_data.get('note_title') and latest_version.note_content == request_data.get('note_content'):
no_changes = True
app.logger.debug(f"Note {identifier} has not changed, skipping versioning")
print(f"Note {identifier} has not changed, skipping versioning")

if not no_changes:
note_version = NoteRevisions(
note_id=note.note_id,
revision_number=revision_number,
note_title=note.note_title,
note_content=note.note_content,
note_user=note.note_user,
note_user=current_user.id,
revision_timestamp=datetime.utcnow()
)
db.session.add(note_version)
Expand Down
2 changes: 1 addition & 1 deletion source/app/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ class CeleryConfig:
# --------- APP ---------
class Config:
# Handled by bumpversion
IRIS_VERSION = "v2.4.8" # DO NOT EDIT THIS LINE MANUALLY
IRIS_VERSION = "v2.4.9" # DO NOT EDIT THIS LINE MANUALLY

if os.environ.get('IRIS_DEMO_VERSION') is not None and os.environ.get('IRIS_DEMO_VERSION') != 'None':
IRIS_VERSION = os.environ.get('IRIS_DEMO_VERSION')
Expand Down

0 comments on commit 8156f83

Please sign in to comment.