Skip to content

Commit

Permalink
Merge branch 'api-to-diff' into 'main'
Browse files Browse the repository at this point in the history
Send update_text events with text diff when updating text fields via API

See merge request reportcreator/reportcreator!558
  • Loading branch information
MWedl committed May 23, 2024
2 parents 1c87849 + 513e3e9 commit 6649e4d
Show file tree
Hide file tree
Showing 10 changed files with 666 additions and 549 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* Collaborative editing in project history diff views
* Project history diff views: add revert changes button to markdown editor
* Fix MDE preview layout break on zoom out
* Send update_text events with text diff when updating text fields via API instead of overwriting the whole text


## v2024.040 - 2024-05-15
Expand Down
10 changes: 6 additions & 4 deletions api/src/reportcreator_api/conf/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -666,10 +666,12 @@ def __bool__(self):
'formatter': 'default',
'class': 'logging.StreamHandler',
},
'elasticapm': {
'level': 'WARNING',
'class': 'elasticapm.contrib.django.handlers.LoggingHandler',
},
**({
'elasticapm': {
'level': 'WARNING',
'class': 'elasticapm.contrib.django.handlers.LoggingHandler',
},
} if ELASTIC_APM_ENABLED else {}),
},
'root': {
'level': 'INFO',
Expand Down
2 changes: 1 addition & 1 deletion api/src/reportcreator_api/conf/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

from reportcreator_api.api_utils.views import UtilsViewSet
from reportcreator_api.notifications.views import NotificationViewSet
from reportcreator_api.pentests.collab.channels import ConsumerHttpFallbackView
from reportcreator_api.pentests.consumers import ProjectNotesConsumer, ProjectReportingConsumer, UserNotesConsumer
from reportcreator_api.pentests.views import (
ArchivedProjectKeyPartViewSet,
Expand Down Expand Up @@ -40,7 +41,6 @@
MFAMethodViewSet,
PentestUserViewSet,
)
from reportcreator_api.utils.channels import ConsumerHttpFallbackView

router = DefaultRouter()
# Make trailing slash in URL optional to support loading images and assets by fielname
Expand Down
Empty file.
File renamed without changes.
Loading

0 comments on commit 6649e4d

Please sign in to comment.