Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
1aea8f8
deps: update core-cms
wesleyboar Feb 5, 2026
fc9fe28
deps: update core-styles
wesleyboar Feb 5, 2026
6c39ddd
chore: delete code replaced by TACC/Core-CMS#1033
wesleyboar Feb 5, 2026
4a0eb1b
chore: delete outdated comment
wesleyboar Feb 5, 2026
c3155ee
feat: PORTAL_STYLES assets_custom via new Core-CMS
wesleyboar Feb 5, 2026
346940b
refactor: load custom styles via PORTAL_STYLES
wesleyboar Feb 5, 2026
a012d37
chore: remove c-feed-list cuz core-styles gives it
wesleyboar Feb 5, 2026
4b189e0
refactor: hotjar tracking code → ad-hoc JS scripts
wesleyboar Feb 5, 2026
d4ba501
chore: delete breadcrumb code core-cms already has
wesleyboar Feb 5, 2026
d634f3e
chore: delete assets_custom, it matches core-cms
wesleyboar Feb 5, 2026
318ec8a
chore: delete file now from Core-CMS since:
wesleyboar Feb 5, 2026
c258281
fix: put hotjar script in head not body
wesleyboar Feb 5, 2026
a4c24c5
chore: delete unnecessary djangocms_icon override
wesleyboar Feb 6, 2026
fcff12f
test: update workflow node version to resolve error
wesleyboar Feb 6, 2026
636c01f
docs: settings comments for plugins
wesleyboar Feb 6, 2026
663392f
refactor: .logos--social styles, core-cms updates
wesleyboar Feb 6, 2026
3cda13a
fix: ensure header font does not change
wesleyboar Feb 6, 2026
9797eef
refactor: header font, do not set, will not change
wesleyboar Feb 6, 2026
cf00ab6
chore: consolidate styles, remove old comments
wesleyboar Feb 6, 2026
b8b9434
chore: delete useless style
wesleyboar Feb 6, 2026
90be726
feat: hover state on footer social media logos
wesleyboar Feb 9, 2026
00f4769
Revert "feat: hover state on footer social media logos"
wesleyboar Feb 9, 2026
1a5781a
fix: hover state on footer social media logos
wesleyboar Feb 9, 2026
5a41978
refactor: simpler hover state on footer logos
wesleyboar Feb 9, 2026
ef44753
refactor: respect <small> in footer buttons
wesleyboar Feb 9, 2026
3eae71a
chore: remove tup styles matching core-styles
wesleyboar Feb 9, 2026
725a030
chore: delete unnecessary style
wesleyboar Feb 9, 2026
b1e0d27
chore: delete outdated fix
wesleyboar Feb 9, 2026
1307a67
refactor: move logo adjustment css to ad-hoc
wesleyboar Feb 9, 2026
b557a96
fix: logo adjustment css commit hash for URL
wesleyboar Feb 9, 2026
9796eeb
chore: save new bootstrap5 links from core-styles
wesleyboar Feb 28, 2026
e3b8a2c
docs: TODO for loading bootstrap5 links
wesleyboar Feb 28, 2026
8fd6f0f
chore: CSS link to point to a specific commit
wesleyboar Feb 28, 2026
18bb968
Merge branch 'main' into feat/update-core-cms-and-core-styles
wesleyboar Mar 9, 2026
adaf981
refactor: djangocms-blog settings
wesleyboar Mar 9, 2026
2d4a7f3
refactor: DJANGOCMS_ICON_SETS settings load path
wesleyboar Mar 9, 2026
2e36738
fix: missing comma
wesleyboar Mar 9, 2026
7f57486
fix: CSS expects portal <html> ID as page-portal
wesleyboar Mar 9, 2026
bffee57
deps: update Core-CMS from v37 to v38
wesleyboar Mar 9, 2026
1892f2d
fix: login page missing styles
wesleyboar Mar 9, 2026
210bd0c
fix: portal nav not showing logged in state
wesleyboar Mar 11, 2026
bb9a5df
Revert "fix: portal nav not showing logged in state"
wesleyboar Mar 11, 2026
7a71303
Merge branch 'main' into feat/update-core-cms-and-core-styles
wesleyboar Mar 12, 2026
cc7f04b
Revert "test: update workflow node version to resolve error"
wesleyboar Mar 14, 2026
593d91d
fix: ci error
wesleyboar Mar 14, 2026
de6b56f
chore: delete outdated new window js
wesleyboar Mar 16, 2026
f20596b
fix: build error from abs static paths
wesleyboar Mar 17, 2026
56e9ef6
fix: inaccessible footer social logos colors
wesleyboar Mar 17, 2026
cfe667f
deps: taccwma/core-cms
wesleyboar Mar 17, 2026
abc0a5b
deps: taccwma/core-cms:v4.38.6-rc1
wesleyboar Mar 17, 2026
84a6fb2
fix(a11y): use improved accessible #537 c-footer
wesleyboar Mar 17, 2026
5a349ee
deps: core-cms (initial bootstrap 5 support)
wesleyboar Mar 18, 2026
b373b1e
deps: core-cms v4.39, core-styles v2.54
wesleyboar Mar 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/tup-cms/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY . /code/
RUN npx nx build tup-ui
RUN npx nx build tup-cms-react

FROM taccwma/core-cms:v4.28.2
FROM taccwma/core-cms:v4.39.0

WORKDIR /code

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

{% block html_page_id %}portal{% endblock %}
{% block html_page_id %}page-portal{% endblock %}

{% block title %}User Portal{% endblock %}

{% block assets_core_project %}
{% block assets_project %}
{% include './assets.html' %}
{% endblock %}

Expand Down
4 changes: 2 additions & 2 deletions apps/tup-cms/src/apps/portal/templates/portal/portal.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{% extends "base.html" %}

{% block html_page_id %}portal{% endblock %}
{% block html_page_id %}page-portal{% endblock %}

{% block title %}User Portal{% endblock %}

{% block assets_core_project %}
{% block assets_project %}
{% include './assets.html' %}
{% endblock %}

Expand Down
12 changes: 11 additions & 1 deletion apps/tup-cms/src/taccsite_cms/custom_app_settings.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
CUSTOM_APPS = [

# TUP CMS
'apps.portal.apps.PortalConfig',
'apps.user_news',
'apps.staff_profile'
'apps.staff_profile',

# DJANGOCMS_BLOG
'parler',
'taggit',
'taggit_autosuggest',
'sortedm2m',
'djangocms_blog',

]
CUSTOM_MIDDLEWARE = []
STATICFILES_DIRS = ()
57 changes: 29 additions & 28 deletions apps/tup-cms/src/taccsite_cms/settings_custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,31 +138,27 @@
PORTAL_SOCIAL_SHARE_PLATFORMS = ['linkedin', 'bluesky', 'facebook', 'email']

########################
# DJANGOCMS_BLOG
# TACC: STYLES
########################

from taccsite_cms.settings import INSTALLED_APPS

# News must be installed BEFORE our CMS app; reason unknown
# https://github.com/TACC/Core-CMS-Resources/pull/127/commits/0b09af6cb0ae6dd630f9ca94bf36ca9e042a5d81
tacc_app_index = INSTALLED_APPS.index('taccsite_cms')
INSTALLED_APPS[tacc_app_index:tacc_app_index] = [
# 'filer', # already in Core
# 'easy_thumbnails', # already in Core
'parler',
'taggit',
'taggit_autosuggest',
# 'meta', # already in Core
'sortedm2m',
'djangocms_blog',
]
# REQ: 'taggit_autosuggest' requires the following is added to `urls.py`
"""
urlpatterns += [
# Support `taggit_autosuggest` (from `djangocms-blog`)
url(r'^taggit_autosuggest/', include('taggit_autosuggest.urls')),
PORTAL_STYLES = [
{
"is_remote": False,
"path": "tup_cms/css/tup-cms.for-core-styles.css"
},
{
"is_remote": False,
"path": "tup_cms/css/tup-cms.for-core-cms.css"
},
{
"is_remote": False,
"path": "tup_cms/css/tup-cms.for-tup-cms.css"
},
]
"""

########################
# DJANGOCMS_BLOG
########################

# Paths for alternate templates that user can choose for blog-specific plugin
# - Devs can customize core templates at `templates/djangocms_blog/`.
Expand Down Expand Up @@ -208,31 +204,36 @@


########################
# PLUGIN SETTINGS
# DJANGO_FILER
########################

# https://github.com/django-cms/django-filer/blob/2.0.2/docs/permissions.rst
FILER_ENABLE_PERMISSIONS = True

########################
# CKEDITOR
# https://github.com/django-cms/djangocms-text-ckeditor
########################

CKEDITOR_SETTINGS = {
'autoParagraph': True, # Core-CMS had set this to False
'stylesSet': 'default:/static/js/addons/ckeditor.wysiwyg.js',
'contentsCss': ['/static/djangocms_text_ckeditor/ckeditor/contents.css'],
}

# DJANGOCMS_ICON SETTINGS
########################
# DJANGOCMS_ICON
# https://github.com/django-cms/djangocms-icon
########################

from taccsite_cms.settings import DJANGOCMS_ICON_SETS as CORECMS_ICON_SETS
from taccsite_cms._settings.djangocms_plugins import DJANGOCMS_ICON_SETS as CORECMS_ICON_SETS

DECAL_ICONFILE = os.path.join(BASE_DIR, 'taccsite_custom', 'tup_cms', 'static', 'tup_cms', 'img', 'icons', 'decals.json')
with open(DECAL_ICONFILE, 'r') as fh:
DECAL_ICONS = fh.read()

# HELP: Icon dropdown sometimes does not show active icon selected.
# The position of DECAL_ICONS in this array affects the bug.
# SEE: https://github.com/django-cms/djangocms-icon/issues/9
DJANGOCMS_ICON_SETS = [
# IMPORTANT: Load CORECMS_ICON_SETS set last
# https://github.com/TACC/Core-CMS/blob/v4.37.1/taccsite_cms/_settings/djangocms_plugins.py#L203-L210
(DECAL_ICONS, '', _('TACC Decal SVGs')),
] + CORECMS_ICON_SETS

This file was deleted.

39 changes: 0 additions & 39 deletions apps/tup-cms/src/taccsite_cms/templates/assets_custom.html

This file was deleted.

3 changes: 0 additions & 3 deletions apps/tup-cms/src/taccsite_cms/templates/plain.html

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
<link href="https://cdn.jsdelivr.net/gh/TACC/tup-ui@460405e9/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/ad-hoc/scrolling-fixes.css" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/gh/TACC/tup-ui@460405e9/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/ad-hoc/global-a11y.css" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/gh/TACC/tup-ui@460405e9/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/ad-hoc/tup-730-drop-cap-and-fix-has-blog-tag-no-drop-cap.css" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/gh/TACC/tup-ui@460405e9/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/ad-hoc/c-feed-list-tweaks.css" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/gh/TACC/tup-ui@460405e9/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/ad-hoc/navbar-width-horz-scrollbar.css" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/gh/TACC/tup-ui@460405e9/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/ad-hoc/tagged-news-uppercase-tag.css" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/gh/TACC/tup-ui@1307a676/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/css/ad-hoc/adjust-logo.css" rel="stylesheet" />
Original file line number Diff line number Diff line change
@@ -1,10 +1,26 @@
{% load sekizai_tags %}

{% comment %}
One <script> that loads script with many 'import's is faster than many <script>s.
{% endcomment %}

<script src="https://cdn.jsdelivr.net/gh/TACC/tup-ui@460405e9/apps/tup-cms/src/taccsite_custom/tup_cms/static/tup_cms/js/ad-hoc.js" type="module"></script>

{% comment %}
If this works, delete `js-prevent-ugly-urls`:
https://tacc.utexas.edu/admin/djangocms_snippet/snippet/150/change/
FAQ: Not CSS, but in Core-CMS:
- {% render_block "css" %} is in <head> (intended location)
- {% render_block "js" %} is at end of <body> (wrong place)
TODO: Add {% render_block "head" %} (and foot?) in Core-CMS
{% endcomment %}
{% addtoblock "css" %}
<script id="js-hotjar-tracking">
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:3319380,hjsv:6};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
</script>
{% endaddtoblock %}

This file was deleted.

This file was deleted.

30 changes: 0 additions & 30 deletions apps/tup-cms/src/taccsite_cms/templates/snippets/redirect.html

This file was deleted.

4 changes: 2 additions & 2 deletions apps/tup-cms/src/taccsite_cms/urls_custom.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from django.urls import path, include

from django.urls import re_path as url
from django.urls import re_path
from apps.user_news.urls import urls as user_news_urls
from django.views.generic.base import RedirectView

Expand All @@ -14,5 +14,5 @@
path(user_news_urls['legacy']['base'], include('apps.user_news.urls', namespace='user_news_legacy')),

# To support `taggit_autosuggest` (from `djangocms-blog`)
url(r'^taggit_autosuggest/', include('taggit_autosuggest.urls')),
re_path(r'^taggit_autosuggest/', include('taggit_autosuggest.urls')),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* To align first CMS nav with "Dashbaord" heading in Portal */
.s-header .navbar-brand {
flex-basis: 138px;
}
/* To give CMS nav more room by reducing size of logo */
.portal-logo {
height: 30px;
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,3 @@
display: none;
}
}
/* To align first CMS nav with "Dashbaord" heading in Portal */
.s-header .navbar-brand {
flex-basis: 138px;
}
/* To give CMS nav more room by reducing size of logo */
.portal-logo {
height: 30px;
}
/* To vertically center the logo which was shrunk */
.s-header .navbar-brand {
display: grid;
align-items: center;
}
/* To reduce width of social media icon links */
.c-footer .logos--social a {
padding: 0.5em;
}


/* TO MAKE HEADER FONT CONSISTENT ON CMS & PORTAL */

/* TODO: Remove after TACC/Core-CMS#v4.25.1 */
.s-header {
font-family: var(--global-font-family--sans--portal);
}
Loading
Loading