Skip to content

Commit

Permalink
Django v3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Rosenberg authored and Jake Rosenberg committed Oct 6, 2023
1 parent 96b577f commit 6aeca39
Show file tree
Hide file tree
Showing 44 changed files with 762 additions and 592 deletions.
2 changes: 1 addition & 1 deletion conf/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY . /designsafe/
RUN npm run build


FROM python:3.7-buster
FROM python:3.8-buster

LABEL MAINTAINER="DesignSafe-CI <[email protected]>"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "base.html" %}

{% load bootstrap3 sekizai_tags staticfiles %}
{% load bootstrap3 sekizai_tags static %}

{% block title %}Generating User Report{% endblock %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "base.html" %}

{% load bootstrap3 sekizai_tags staticfiles %}
{% load bootstrap3 sekizai_tags static %}

{% block title %}Accessing DesignSafe{% endblock %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load staticfiles %}
{% load static %}
<div class="callout callout-default">
<p class="lead">NEES Users: Accessing DesignSafe</p>
<div style="display:flex;">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "base.html" %}

{% load bootstrap3 sekizai_tags staticfiles %}
{% load bootstrap3 sekizai_tags static %}

{% block title %}Create Account{% endblock %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "base.html" %}

{% load bootstrap3 sekizai_tags staticfiles %}
{% load bootstrap3 sekizai_tags static %}

{% block title %}Create Account{% endblock %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "designsafe/apps/accounts/base.html" %}

{% load bootstrap3 sekizai_tags staticfiles %}
{% load bootstrap3 sekizai_tags static %}

{% block panel_content %}
<div class="panel panel-default">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "base.html" %}

{% load bootstrap3 sekizai_tags staticfiles %}
{% load bootstrap3 sekizai_tags static %}

{% block title %}Register for a DesignSafe-CI/TACC Account{% endblock %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "base.html" %}

{% load bootstrap3 sekizai_tags staticfiles %}
{% load bootstrap3 sekizai_tags static %}

{% block title %}Account Registration Received{% endblock %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load staticfiles sekizai_tags %}
{% load static sekizai_tags %}

<!doctype html>
<html lang="en-US">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load staticfiles sekizai_tags %}
{% load static sekizai_tags %}

<!doctype html>
<html lang="en-US">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load staticfiles sekizai_tags %}
{% load static sekizai_tags %}

<!doctype html>
<html lang="en-US">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base_angular.html" %}
{% load cms_tags staticfiles sekizai_tags%}
{% load cms_tags static sekizai_tags%}
{% block title %}Applications{% endblock %}
{% block content %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load cms_tags staticfiles sekizai_tags%}
{% load cms_tags static sekizai_tags%}
{% block title %}Applications{% endblock %}
{% block content %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load staticfiles sekizai_tags %}
{% load static sekizai_tags %}
{% block title %}Agave Session Error{% endblock %}

{% block content %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load staticfiles sekizai_tags %}
{% load static sekizai_tags %}
{% block title %}Logged Out{% endblock %}

{% block content %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load staticfiles sekizai_tags %}
{% load static sekizai_tags %}
{% block title %}Log in to DesignSafe-CI{% endblock %}

{% block content %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "base_angular.html" %}

{% load sekizai_tags staticfiles %}
{% load sekizai_tags static %}

{% block title %}{{title}}{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion designsafe/apps/data/management/commands/es_setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import logging
from django.core.management import BaseCommand, CommandError
from django.utils.six.moves import input
from six.moves import input
from django.conf import settings
import elasticsearch
import getpass
Expand Down
2 changes: 1 addition & 1 deletion designsafe/apps/data/templates/data/data_depot.j2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load cms_tags staticfiles sekizai_tags%}
{% load cms_tags static sekizai_tags%}

{% block google_citation_meta %}
<!--data/data_depot.html-->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load staticfiles sekizai_tags tz %}
{% load static sekizai_tags tz %}
{% block title %}Ticket #{{ ticket_id }}{% endblock %}

{% block breadcrumb %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load staticfiles sekizai_tags tz %}
{% load static sekizai_tags tz %}
{% block title %}My Tickets{% endblock %}

{% block breadcrumb %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load cms_tags staticfiles sekizai_tags%}
{% load cms_tags static sekizai_tags%}

{% block title %}
NHERI Facilities Scheduling Dashbaord
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load cms_tags staticfiles sekizai_tags%}
{% load cms_tags static sekizai_tags%}

{% block title %}
NHERI Facilities Scheduling Dashbaord
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class Migration(migrations.Migration):

dependencies = [
('rapid', '0001_initial'),
('designsafe_rapid', '0001_initial'),
]

operations = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def add_group(apps, scema_editor):
class Migration(migrations.Migration):

dependencies = [
('rapid', '0002_auto_20170627_2004'),
('designsafe_rapid', '0002_auto_20170627_2004'),
]

operations = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "designsafe/apps/rapid/rapid_base.html" %}
{% load ds_filters %}
{% load bootstrap3 sekizai_tags staticfiles %}
{% load bootstrap3 sekizai_tags static %}


{% block main %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "designsafe/apps/rapid/rapid_base.html" %}
{% load ds_filters %}
{% load bootstrap3 sekizai_tags staticfiles %}
{% load bootstrap3 sekizai_tags static %}



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "designsafe/apps/rapid/rapid_base.html" %}
{% load ds_filters %}
{% load bootstrap3 sekizai_tags staticfiles %}
{% load bootstrap3 sekizai_tags static %}

{% block main %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "designsafe/apps/rapid/rapid_base.html" %}
{% load ds_filters %}
{% load bootstrap3 sekizai_tags staticfiles %}
{% load bootstrap3 sekizai_tags static %}

{% block main %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base_angular.html" %}
{% load cms_tags staticfiles sekizai_tags%}
{% load cms_tags static sekizai_tags%}
{% block title %}Tools & Applications{% endblock %}
{% block content %}

Expand Down
1 change: 1 addition & 0 deletions designsafe/settings/common_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@
}
}

X_FRAME_OPTIONS = "SAMEORIGIN"

HAYSTACK_ROUTERS = ['aldryn_search.router.LanguageRouter', ]
ALDRYN_SEARCH_DEFAULT_LANGUAGE = 'en'
Expand Down
2 changes: 1 addition & 1 deletion designsafe/templates/base.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load cms_tags staticfiles sekizai_tags menu_tags recaptcha2 %}
{% load cms_tags static sekizai_tags menu_tags recaptcha2 %}
<!DOCTYPE html>
<html lang="en-US">
<head>
Expand Down
2 changes: 1 addition & 1 deletion designsafe/templates/base_angular.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load cms_tags staticfiles sekizai_tags%}
{% load cms_tags static sekizai_tags%}

{% block scripts %}
{% endblock %}
2 changes: 1 addition & 1 deletion designsafe/templates/cms_homepage.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load cms_tags staticfiles sekizai_tags menu_tags%}
{% load cms_tags static sekizai_tags menu_tags%}
<!DOCTYPE html>
<html lang="en-US">
<head>
Expand Down
2 changes: 1 addition & 1 deletion designsafe/templates/cms_page.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "base.html" %}
{% load cms_tags staticfiles sekizai_tags menu_tags %}
{% load cms_tags static sekizai_tags menu_tags %}
{% block content %}{% placeholder "content" %}{% endblock content %}
{% block footer %}{% include 'includes/footer.html' %}{% endblock footer %}
2 changes: 1 addition & 1 deletion designsafe/templates/cms_page_no_footer.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{% extends "base.html" %}
{% load cms_tags staticfiles sekizai_tags menu_tags %}
{% load cms_tags static sekizai_tags menu_tags %}
{% block content %}{% placeholder "content" %}{% endblock content %}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load cms_tags djangocms_forms_tags i18n sekizai_tags staticfiles %}
{% load cms_tags djangocms_forms_tags i18n sekizai_tags static %}
<div class="forms" id="{{ instance.form_id }}">
{% if instance.title %}
<h3 class="title">{{ instance.title }}</h3>
Expand Down
2 changes: 1 addition & 1 deletion designsafe/templates/ef_base.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load cms_tags staticfiles sekizai_tags menu_tags%}
{% load cms_tags static sekizai_tags menu_tags%}
<!DOCTYPE html>
<html lang="en-US">

Expand Down
2 changes: 1 addition & 1 deletion designsafe/templates/ef_cms_page.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load cms_tags staticfiles sekizai_tags menu_tags%}
{% load cms_tags static sekizai_tags menu_tags%}
<!DOCTYPE html>
<html lang="en-US">
<head>
Expand Down
2 changes: 1 addition & 1 deletion designsafe/templates/includes/header.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load staticfiles %}
{% load static %}
{% load static %}
{% load auth_extras %}
{% include 'includes/branding.html' %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "base.html" %}

{% load staticfiles %}
{% load static %}
{% load i18n %}

{% block title %}{% trans 'Accept Terms and Conditions' %}{% endblock %}
Expand Down
Loading

0 comments on commit 6aeca39

Please sign in to comment.