Skip to content

Commit

Permalink
Merge branch 'release/3.12.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
JackMorganNZ committed Oct 11, 2022
2 parents 0865262 + bcf6e5a commit 485aa31
Show file tree
Hide file tree
Showing 49 changed files with 2,648 additions and 2,153 deletions.
5 changes: 0 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,3 @@ updates:
schedule:
interval: "daily"
open-pull-requests-limit: 999
- package-ecosystem: "npm"
directory: "/csfieldguide/static/js/modules/fsa/"
schedule:
interval: "daily"
open-pull-requests-limit: 999
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge-dependency-updates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1.3.3
uses: dependabot/fetch-metadata@v1.3.4
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/crowdin-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
uses: actions/checkout@v3

- name: Upload or update source files to Crowdin
uses: crowdin/github-action@1.4.12
uses: crowdin/github-action@1.4.14
with:
upload_sources: true

- name: Download German translations
uses: crowdin/github-action@1.4.12
uses: crowdin/github-action@1.4.14
with:
upload_sources: false
download_translations: true
Expand All @@ -42,7 +42,7 @@ jobs:
config: crowdin.yaml

- name: Download Spanish translations
uses: crowdin/github-action@1.4.12
uses: crowdin/github-action@1.4.14
with:
upload_sources: false
download_translations: true
Expand Down
2 changes: 1 addition & 1 deletion csfieldguide/config/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Module for Django system configuration."""

__version__ = "3.11.0"
__version__ = "3.12.0"
16 changes: 11 additions & 5 deletions csfieldguide/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@ const js_files_skip_optimisation = [

// Styles autoprefixing and minification
function css() {
return src(`${paths.css_source}/**/*.css`)
return src([
`${paths.css_source}/**/*.css`,
`!${paths.css_source}/**/node_modules/**/*.css`,
])
.pipe(errorHandler(catchError))
.pipe(sourcemaps.init())
.pipe(postcss(processCss))
Expand All @@ -130,14 +133,16 @@ function css() {
}

function scss() {
return src(`${paths.scss_source}/**/*.scss`, { since: lastRun(scss) })
return src([
`${paths.scss_source}/**/*.scss`,
`!${paths.scss_source}/**/node_modules/**/*.scss`,
], { since: lastRun(scss) })
.pipe(errorHandler(catchError))
.pipe(dependents())
.pipe(sourcemaps.init())
.pipe(sass({
includePaths: [
paths.bootstrap_source,
paths.scss_source
paths.bootstrap_source
],
sourceComments: !PRODUCTION,
}).on('error', sass.logError))
Expand All @@ -155,7 +160,7 @@ function js() {
const js_filter = filter(js_files_skip_optimisation, { restore: true })
return src([
`${paths.js_source}/**/*.js`,
`!${paths.js_source}/**/modules/**/*.js`
`!${paths.js_source}/**/node_modules/**/*.js`
], {since: lastRun(js)})
.pipe(js_filter)
.pipe(errorHandler(catchError))
Expand Down Expand Up @@ -196,6 +201,7 @@ function svg() {
function interactives() {
return src([
`${paths.interactives_source}/**/*`,
`!${paths.interactives_source}/**/node_modules/**/*`,
`!${paths.interactives_source}/**/*.scss`,
`!${paths.interactives_source}/**/*.js`
])
Expand Down
6 changes: 5 additions & 1 deletion csfieldguide/interactives/content/en/interactives.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,14 @@ pixel-viewer:
name: Pixel Viewer
plane-turbulence:
name: Plane Turbulence
product-code-check-digit-calculation:
name: Product Code Check Digit Calculation
python-interpreter:
name: Python Interpreter
python-syntax-error:
name: Python Syntax Error
qr-code-generator:
name: QR Code Generator
regular-expression-filter:
name: Regular Expression Filter
regular-expression-search:
Expand Down Expand Up @@ -179,7 +183,7 @@ searching-algorithms:
sha2:
name: SHA2
shannon-experiment:
name: Shannon Experiment
name: Shannon's prediction and entropy of printed text experiment
sorting-algorithm-comparison:
name: Sorting Algorithm Comparison
sorting-algorithms:
Expand Down
8 changes: 8 additions & 0 deletions csfieldguide/interactives/content/structure/interactives.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ base-calculator:
languages:
en: interactives/base-calculator.html
is_interactive: true
product-code-check-digit-calculation:
languages:
en: interactives/product-code-check-digit-calculation.html
is_interactive: true
big-number-calculator:
languages:
en: interactives/big-number-calculator.html
Expand Down Expand Up @@ -345,6 +349,10 @@ python-syntax-error:
languages:
en: interactives/python-syntax-error.html
is_interactive: false
qr-code-generator:
languages:
en: interactives/qr-code-generator.html
is_interactive: true
regular-expression-filter:
languages:
en: interactives/regular-expression-filter.html
Expand Down

0 comments on commit 485aa31

Please sign in to comment.