Skip to content

Commit

Permalink
Remove old UI (#1964)
Browse files Browse the repository at this point in the history
* Removed outdated code

* Revert changes in .gitignore

* Fix docker build

* Remove karma + some dummy code

* Fix a type in Dockerfile.ci

* Fix swagger and remove dispatch_request.

* Update CHANGELOG.md
  • Loading branch information
nmanovic authored Aug 3, 2020
1 parent 0d0749f commit 634ca17
Show file tree
Hide file tree
Showing 100 changed files with 44 additions and 37,132 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Removed
- Removed OpenVINO and CUDA components because they are not necessary anymore (<https://github.com/opencv/cvat/pull/1767>)
- Removed the old UI code (<https://github.com/opencv/cvat/pull/1964>)

### Fixed
- Some objects aren't shown on canvas sometimes. For example after propagation on of objects is invisible (<https://github.com/opencv/cvat/pull/1834>)
Expand Down
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ COPY datumaro/ ${HOME}/datumaro

RUN python3 -m pip install --no-cache-dir -r ${HOME}/datumaro/requirements.txt

# Binary option is necessary to correctly apply the patch on Windows platform.
# https://unix.stackexchange.com/questions/239364/how-to-fix-hunk-1-failed-at-1-different-line-endings-message
RUN patch --binary -p1 < ${HOME}/cvat/apps/engine/static/engine/js/3rdparty.patch
RUN chown -R ${USER}:${USER} .

# RUN all commands below as 'django' user
Expand Down
12 changes: 1 addition & 11 deletions Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,7 @@ COPY .coveragerc .
# RUN all commands below as 'django' user
USER ${USER}

RUN mkdir -p tests && cd tests && npm install \
eslint \
eslint-detailed-reporter \
karma \
karma-chrome-launcher \
karma-coveralls \
karma-coverage \
karma-junit-reporter \
karma-qunit \
qunit; \
CI=true npm install cypress; \
RUN mkdir -p tests && cd tests && CI=true npm install cypress; \
echo "export PATH=~/tests/node_modules/.bin:${PATH}" >> ~/.bashrc;

ENTRYPOINT []
9 changes: 0 additions & 9 deletions cvat-ui/src/components/task-page/job-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,6 @@ function JobListComponent(props: Props & RouteComponentProps): JSX.Element {
>
{`Job #${id}`}
</Button>
|
<Tooltip
title='Old version of UI is deprecated and will be removed from
new versions of UI. We still recomend it only if you use
specific features from it like cuboids annotation.'
mouseLeaveDelay={0}
>
<Button type='link' href={`${baseURL}/?id=${id}`}>Old UI</Button>
</Tooltip>
</div>
),
}, {
Expand Down
28 changes: 0 additions & 28 deletions cvat/apps/authentication/api_urls.py

This file was deleted.

60 changes: 0 additions & 60 deletions cvat/apps/authentication/forms.py

This file was deleted.

5 changes: 0 additions & 5 deletions cvat/apps/authentication/migrations/__init__.py

This file was deleted.

9 changes: 0 additions & 9 deletions cvat/apps/authentication/models.py

This file was deleted.

17 changes: 0 additions & 17 deletions cvat/apps/authentication/templates/403.html

This file was deleted.

99 changes: 0 additions & 99 deletions cvat/apps/authentication/templates/auth_base.html

This file was deleted.

29 changes: 0 additions & 29 deletions cvat/apps/authentication/templates/login.html

This file was deleted.

32 changes: 0 additions & 32 deletions cvat/apps/authentication/templates/register.html

This file was deleted.

21 changes: 0 additions & 21 deletions cvat/apps/authentication/templates/user_profile.html

This file was deleted.

9 changes: 0 additions & 9 deletions cvat/apps/authentication/tests.py

This file was deleted.

Loading

0 comments on commit 634ca17

Please sign in to comment.