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

Remove deprecated legacy UI #885

Merged
merged 40 commits into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
e0d2522
Add validation check flag and last password datetime change fields to…
noliveleger Jul 10, 2023
74b7c86
Remove UI and other old views
noliveleger Jul 11, 2023
61a1431
Remove superuser stats reports
noliveleger Jul 11, 2023
bff1db2
Allow only OpenRosa endpoints with untrusted passwords
noliveleger Jul 13, 2023
083f43c
Bugfix - return response when password is valid
noliveleger Jul 13, 2023
212b3a1
Allow ServiceAccountUser to update user's profile on their behalf
noliveleger Jul 13, 2023
b9f1959
Add unit tests
noliveleger Jul 13, 2023
8f6d6f6
Simplify rules for restricted middleware
noliveleger Jul 13, 2023
04a2615
Add exports to unit tests
noliveleger Jul 13, 2023
e469573
Remove synchronous data exports
noliveleger Jul 14, 2023
5c7b247
Replace get_storage_class()() with default_storage
noliveleger Jul 14, 2023
2da3561
Remove legacy media view
noliveleger Jul 17, 2023
fc2111e
Merge branch 'kobotoolbox/kpi#4475-shrink-kobocat' into kobotoolbox/k…
noliveleger Jul 17, 2023
f210aa7
Merge branch 'kobotoolbox/kpi#4475-use-default-storage' into kobotool…
noliveleger Jul 17, 2023
9b6baee
Move RestrictedAccessMiddleware to onadata.libs.utils.middleware.py
noliveleger Jul 17, 2023
e5a32f6
Fix test unique together unit test with new middleware
noliveleger Jul 17, 2023
5633ae1
Remove "password_date_changed" from UserProfile model
noliveleger Jul 18, 2023
0a36b42
Merge branch 'beta' into kobotoolbox/kpi#4475-shrink-kobocat
noliveleger Jul 24, 2023
f9d6ab4
Merge branch 'kobotoolbox/kpi#4475-shrink-kobocat' into kobotoolbox/k…
noliveleger Jul 24, 2023
2e056b3
Merge branch 'kobotoolbox/kpi#4475-use-default-storage' into kobotool…
noliveleger Jul 24, 2023
1d5ee73
Merge branch 'beta' into kobotoolbox/kpi#4475-shrink-kobocat
noliveleger Jul 25, 2023
470f585
Merge branch 'kobotoolbox/kpi#4475-shrink-kobocat' into kobotoolbox/k…
noliveleger Jul 25, 2023
f00c627
Merge branch 'kobotoolbox/kpi#4475-use-default-storage' into kobotool…
noliveleger Jul 25, 2023
632d0b1
Make URL placeholder for invalid password message
noliveleger Aug 7, 2023
c0b2afd
Fix typo in unit tests
noliveleger Aug 8, 2023
3b29430
Bump pip-tools version to 7.x.x
noliveleger Jul 25, 2023
f6f2459
Fix CI with branch name which contains #
noliveleger Aug 8, 2023
5634080
Merge branch 'kobotoolbox/kpi#4475-shrink-kobocat' into kobotoolbox/k…
noliveleger Aug 8, 2023
8224fd2
Merge branch 'kobotoolbox/kpi#4475-use-default-storage' into kobotool…
noliveleger Aug 8, 2023
14b8fd4
Remove unused imports
noliveleger Aug 16, 2023
62b908d
Merge branch 'kobotoolbox/kpi#4475-shrink-kobocat' into kobotoolbox/k…
noliveleger Aug 16, 2023
08a8d34
Merge branch 'kobotoolbox/kpi#4475-use-default-storage' into kobotool…
noliveleger Aug 16, 2023
aa15243
Merge branch 'beta' into kobotoolbox/kpi#4475-shrink-kobocat
noliveleger Aug 16, 2023
c8f6f10
Merge branch 'kobotoolbox/kpi#4475-shrink-kobocat' into kobotoolbox/k…
noliveleger Aug 16, 2023
74093af
Merge branch 'kobotoolbox/kpi#4475-use-default-storage' into kobotool…
noliveleger Aug 16, 2023
81766db
Apply requested changes
noliveleger Aug 17, 2023
2c4981e
Fix context_processor not being evaluated in restricted_access template
noliveleger Aug 18, 2023
0e7df71
Merge pull request #886 from kobotoolbox/kobotoolbox/kpi#4475-use-def…
jnm Aug 30, 2023
e9078e6
Merge pull request #887 from kobotoolbox/kobotoolbox/kpi#4475-validat…
jnm Aug 30, 2023
7cb02a2
Assert redirect location is correct; remove print
jnm Aug 30, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 5 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ build:
before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com
script:
- docker pull $CI_REGISTRY_IMAGE:${CI_COMMIT_REF_NAME//\//-} || true
- docker build --cache-from $CI_REGISTRY_IMAGE:${CI_COMMIT_REF_NAME//\//-} --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA --tag $CI_REGISTRY_IMAGE:${CI_COMMIT_REF_NAME//\//-} .
- CI_COMMIT_REF_NAME_SANITIZED=${CI_COMMIT_REF_NAME/\#/-}
- CI_COMMIT_REF_NAME_SANITIZED=${CI_COMMIT_REF_NAME_SANITIZED//\//-}
- docker pull $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME_SANITIZED || true
- docker build --cache-from $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME_SANITIZED --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME_SANITIZED .
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA
- docker push $CI_REGISTRY_IMAGE:${CI_COMMIT_REF_NAME//\//-}

- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME_SANITIZED
test:
stage: build_test
image: python:3.10
Expand Down
12 changes: 0 additions & 12 deletions kobocat-template/templates/404_xls_analyzer_error.html

This file was deleted.

109 changes: 0 additions & 109 deletions kobocat-template/templates/dashboard.html

This file was deleted.

6 changes: 0 additions & 6 deletions kobocat-template/templates/export_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
{% block before-content %}
{% load i18n %}

<div class="sub-header-bar">
noliveleger marked this conversation as resolved.
Show resolved Hide resolved
<div class="container__wide">
<a class="sub-header__back" href="{% url "show_form" xform.user.username xform.id_string %}"><i class="fa fa-chevron-left"></i> {% trans "Return to" %} {{ xform.title }}</a>
</div>
</div>

<header class="data-page__header">
<hgroup class="container">
<h1>{{ export_type_name|upper }} {% blocktrans %}Exports{% endblocktrans %}</h1>
Expand Down
81 changes: 0 additions & 81 deletions kobocat-template/templates/home.html

This file was deleted.