-
Notifications
You must be signed in to change notification settings - Fork 9
[OSDEV-1347] Moderation. Implement GET api/v1/moderation-events/{moderation_id} #405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
mazursasha1990
merged 100 commits into
main
from
OSDEV-1347-implement-get-moderation-event-by-id
Nov 15, 2024
Merged
Changes from 97 commits
Commits
Show all changes
100 commits
Select commit
Hold shift + click to select a range
855a17e
Introduced infra for the mod. events pipeline
vladsha-dev d18c3cd
Updated clear_opensearch.sh.tpl file
vladsha-dev ab7e818
Create index mapping and SQL script for the moderation events pipeline
vladsha-dev af8c7ad
Create empty contributor_name Ruby filter
vladsha-dev 2b66ba6
Merge branch 'main' into OSDEV-1335-deploy-new-moderation-events-logs…
vladsha-dev 43d2105
Create Ruby filters for particular fields, update mapping
vladsha-dev b867ed8
Delete mock generator
vladsha-dev 6ee98cf
Add moderation-event GET endpoint
VadimKovalenkoSNF e91fd51
Change moderation_status to status
VadimKovalenkoSNF 78c0b55
Create index mapping and SQL script for the moderation events pipeline
vladsha-dev 3c386a2
Connect moderation-event logstash pipeline
VadimKovalenkoSNF 8a67860
Add moderation-events fixture
VadimKovalenkoSNF 89ec4d2
Merge branch 'main' into OSDEV-1346-implement-get-moderation-events
VadimKovalenkoSNF 868118f
Remove redundant code
VadimKovalenkoSNF 03a4970
Temp commit message
VadimKovalenkoSNF 9837cc8
Add boilerplate for moderation events and production locations query …
VadimKovalenkoSNF 7cccd84
Make query builder methods as protected
VadimKovalenkoSNF be6e624
Refactor modration-event and producion-locations query builder
VadimKovalenkoSNF 89f0090
Merge branch 'main' into OSDEV-1346-implement-get-moderation-events
VadimKovalenkoSNF 5c2340a
added basic functionality to retrieve method (GET)
roman-stolar 973f048
include url path
roman-stolar 648aa82
add interim changes
VadimKovalenkoSNF 16533fb
Add sorting
VadimKovalenkoSNF f830242
Merge branch 'OSDEV-1346-implement-get-moderation-events' into OSDEV-…
roman-stolar f10eb81
Add pagination using from property
VadimKovalenkoSNF 7f393c0
Update moderation status
VadimKovalenkoSNF 90f7fa3
Merge branch 'OSDEV-1346-implement-get-moderation-events' into OSDEV-…
roman-stolar b73e120
update 401 error response
roman-stolar 0f9f500
More refactoring of moderation status
VadimKovalenkoSNF fca9271
Update fixture for moderation events
VadimKovalenkoSNF 42c92af
add possibility to query search by moderation_id in opensearch
roman-stolar 2aad50b
Merge branch 'OSDEV-1346-implement-get-moderation-events' into OSDEV-…
roman-stolar e809df4
Inherit _add_terms method to production locations and moderation-events
VadimKovalenkoSNF f53f009
Merge branch 'OSDEV-1346-implement-get-moderation-events' into OSDEV-…
roman-stolar 3e07cd8
added uuid validation
roman-stolar 3bae43d
fix linter
roman-stolar 8995a5b
Refactor validators, update index mapping
VadimKovalenkoSNF bf76754
Merge branch 'main' into OSDEV-1346-implement-get-moderation-events
VadimKovalenkoSNF 4360935
remove useless code
roman-stolar df6f4d1
Merge branch 'OSDEV-1346-implement-get-moderation-events' into OSDEV-…
roman-stolar e9bc749
fix
roman-stolar de66be7
fix
roman-stolar d47fe6d
fix
roman-stolar b630f47
Add sorting for cleaned name, address and country
VadimKovalenkoSNF 5bb2ab7
Minor fix
VadimKovalenkoSNF 2a12ae5
add integration test for /api/v1/moderation-events/{moderation_id}
roman-stolar 46bdccc
Merge branch 'OSDEV-1346-implement-get-moderation-events' into OSDEV-…
roman-stolar aeda7aa
Merge branch 'main' into OSDEV-1346-implement-get-moderation-events
VadimKovalenkoSNF 775ea01
Merge branch 'OSDEV-1346-implement-get-moderation-events' into OSDEV-…
roman-stolar e0a1e03
fix import path
roman-stolar 0da071e
fix import path
roman-stolar cf7f528
Minor lint fixes
VadimKovalenkoSNF 55a3365
Merge branch 'OSDEV-1346-implement-get-moderation-events' into OSDEV-…
roman-stolar f32a0ea
fix linter
roman-stolar f8e52b8
Remove serializers for os_id and contributor_id
VadimKovalenkoSNF 0fab438
Merge branch 'OSDEV-1346-implement-get-moderation-events' into OSDEV-…
roman-stolar ae4f0f6
Add integration tests (partial impl)
VadimKovalenkoSNF 0b60f49
Add base integration tests
VadimKovalenkoSNF 2034e0c
Add integration tests and auth check
VadimKovalenkoSNF d1d63d9
Merge branch 'main' into OSDEV-1346-implement-get-moderation-events
VadimKovalenkoSNF 3e6a83f
Update release notes
VadimKovalenkoSNF 69301d0
Create new migration for moderation event table
VadimKovalenkoSNF b93efc6
Update release notes
VadimKovalenkoSNF 227aa5f
Fix minor reivew issues
VadimKovalenkoSNF 0c63b0f
Minor lint fix
VadimKovalenkoSNF 271ebde
Merge branch 'OSDEV-1346-implement-get-moderation-events' into OSDEV-…
roman-stolar 66ff008
Update types
VadimKovalenkoSNF 40a3023
Minor lint fixes
VadimKovalenkoSNF 86bc01c
Integration test fix
VadimKovalenkoSNF 4cbd2c2
Minor fix of integration test
VadimKovalenkoSNF 11129de
Remove TODOs and link them to OSDEV-1441
VadimKovalenkoSNF 150e988
Revert recent changes
VadimKovalenkoSNF e42a443
Minor fixes to check pipeline
VadimKovalenkoSNF 86c01ca
Rename test for opensearch query builder
VadimKovalenkoSNF bf896a6
Fix django import
VadimKovalenkoSNF ffdeeca
Remove django model import from integrational test
VadimKovalenkoSNF 69c9474
Merge branch 'main' into OSDEV-1346-implement-get-moderation-events
VadimKovalenkoSNF a5d6963
Rename TestOpenSearchQueryBuilder to TestProductionLocationsQueryBuilder
VadimKovalenkoSNF b46ae8a
Add unit tests for moderation-events query builder
VadimKovalenkoSNF ca99fda
Refactor track_total_hits property
VadimKovalenkoSNF 2f92ac3
Update moderation_id validation
VadimKovalenkoSNF 0aeaab3
Fix lint issues
VadimKovalenkoSNF ad2e941
Update error msg for moderation ids validation
VadimKovalenkoSNF 65354d7
Merge branch 'OSDEV-1346-implement-get-moderation-events' into OSDEV-…
roman-stolar 1f057e2
Minor fix for integration test
VadimKovalenkoSNF aa8203b
Minor improve for integration test
VadimKovalenkoSNF bfa05d2
Merge branch 'OSDEV-1346-implement-get-moderation-events' into OSDEV-…
roman-stolar d48b8b6
Fix version in release notes
VadimKovalenkoSNF 17ff064
Refactor _build_date_range method
VadimKovalenkoSNF 87da165
Make __build_number_of_workers as private in ProductionLocationsQuery…
VadimKovalenkoSNF 9adb9c9
Refactor OpenSearch query builder inheritance
VadimKovalenkoSNF c22e1fb
Inherit OpenSearchValidationInterface fron ABC
VadimKovalenkoSNF ec3b9c0
Merge branch 'OSDEV-1346-implement-get-moderation-events' into OSDEV-…
roman-stolar 73ab54a
updated Release Notes
roman-stolar 32bb09c
Merge branch 'main' into OSDEV-1347-implement-get-moderation-event-by-id
roman-stolar 5e9da3a
addressed Vadim comment
roman-stolar d009821
refactored
roman-stolar f7d65c1
fix linter
roman-stolar 0551943
Merge branch 'main' into OSDEV-1347-implement-get-moderation-event-by-id
roman-stolar f287ed1
fix patch request and prepared same naming
roman-stolar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.