Skip to content
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

Data validation on client and server #51

Merged
merged 6 commits into from
Sep 12, 2018
Merged

Data validation on client and server #51

merged 6 commits into from
Sep 12, 2018

Conversation

bsekachev
Copy link
Member

Resolved #49
Resolved #50

@bsekachev bsekachev added the bug Something isn't working label Sep 11, 2018
@bsekachev bsekachev added this to the Release 0.2.0 milestone Sep 11, 2018
@bsekachev bsekachev requested a review from azhavoro September 11, 2018 12:17
@bsekachev bsekachev changed the title [WIP] Data validation on client and server Data validation on client and server Sep 11, 2018
for box in path['shapes']:
if int(box['frame']) < self.start_frame:
has_boxes_on_prev_segm = True
if last_box_on_prev_segm is None or int(last_box_on_prev_segm["frame"] < box["frame"]):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

int(last_box_on_prev_segm["frame"]) < int(box["frame"]) ?

for poly_shape in path['shapes']:
if int(poly_shape['frame']) < self.start_frame:
has_shapes_on_prev_segm = True
if last_shape_on_prev_segm is None or int(last_shape_on_prev_segm["frame"] < poly_shape["frame"]):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the same

@bsekachev bsekachev merged commit 6e64bb3 into develop Sep 12, 2018
@nmanovic nmanovic deleted the bug_fixes branch September 13, 2018 07:41
nmanovic pushed a commit that referenced this pull request Sep 19, 2018
* Move function from closure to class method
* Bug has been fixed: Failed to execute 'inverse' on 'SVGMatrix': The matrix is not invertible
* Performance of frame changing has been increased due to UI containers had detached from DOM before their items were created
* Bug has been fixed: Defiant doesn't support dash (-) in xpath nodes (#53)
* Data validation on client and server (#51)
* Migration files have been added (#59)
* Big int migration file has been rewritten with Django syntax (#60)
* Some memory leaks have been fixed (#61)
@coderabbitai coderabbitai bot mentioned this pull request Aug 6, 2024
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants