Skip to content

Commit 67ad46e

Browse files
dalekuncedependabot[bot]Dale Kunce
authored
Modernize 2025 (#540)
* Bump addressable from 2.7.0 to 2.8.6 --- updated-dependencies: - dependency-name: addressable dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * Bump rexml from 3.2.5 to 3.2.8 Bumps [rexml](https://github.com/ruby/rexml) from 3.2.5 to 3.2.8. - [Release notes](https://github.com/ruby/rexml/releases) - [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md) - [Commits](ruby/rexml@v3.2.5...v3.2.8) --- updated-dependencies: - dependency-name: rexml dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * fix: Implement mobile navigation menu functionality - Add mobile-menu.js with touch/click event handling for mobile devices - Replace CSS-only hover behavior with JavaScript-based menu toggle - Add touch-friendly styling with proper cursor and tap highlight removal - Implement menu auto-close on outside click, escape key, and window resize - Ensure mobile menu works properly on devices where hover doesn't function - Mobile menu activates at screen width < 650px as per existing breakpoints * Remove legacy i18n code and implement Jekyll Polyglot date localization - Remove i18n_filter.rb plugin and get_locale.html include (no longer needed) - Replace all localize filter usage with Jekyll Polyglot approach - Fix blog post date localization using site.data[site.active_lang].months array - Update month data structure with null placeholder for 1-based indexing - Replace get_locale.html includes with direct locale = site.active_lang assignment - All date localization now works correctly across EN/FR/ES/CS languages - Blog posts and listings display proper localized month names - Mobile menu JavaScript functionality preserved and working * Implement multilingual blog post deduplication and language links - Add post grouping logic to avoid duplicate posts on same day - Include language links for posts available in multiple languages - Add translation strings for 'also available in' text across all languages - Style language links with professional appearance - Maintain backward compatibility with single-language posts * Ignore auto-generated files to prevent merge conflicts - Add events.json to .gitignore since it's generated during build - Add .jekyll-metadata to .gitignore since it changes on every build - Remove these files from git tracking while keeping them in working directory - This prevents merge conflicts on files that are automatically regenerated * Fix JavaScript linting errors - Auto-fix indentation, spacing, and code style issues Resolves CI build failure due to linting errors * Fix npm deprecation warnings and update dependencies - Update ESLint from 8.x to 9.x to resolve deprecation warnings - Update glob from 7.x to 10.x for better performance and security - Update js-yaml from 3.x to 4.x for latest security patches - Update node-fetch from 2.x to 3.x with dynamic import support - Replace gulp-clean with modern 'del' package to avoid rimraf issues - Remove unused glob-all dependency - Fix unused error variables in events.js for ESLint compliance - Update fetch-events.cjs to work with node-fetch v3 ESM format All builds and linting now pass without warnings * Fix ESM import error in gulpfile for del package - del package is now ESM-only and requires dynamic imports in CommonJS files * Update GitHub Actions to v5 for improved security and performance - Update actions/checkout from v4 to v5 across all workflows - Keep upload/download-artifact at v4 (v5 not yet available) * Add blog pagination with multilingual support - Configure pagination to display 15 posts per page with proper URL structure - Add pagination navigation with Previous/Next buttons and page info Closes #411 * feat: comprehensive mobile improvements across site - Improved mobile blog layout with responsive cards and pagination - Added mobile-first breakpoints (768px, 480px) throughout - Increased button touch targets - Enhanced mobile footer and landing page responsiveness - Improved mobile typography scaling and spacing - Added better mobile menu interactions and accessibility features - All components now fully responsive with touch-friendly interfaces * fix: improve French navigation URLs - Replace special characters in French URLs to prevent encoding issues * fix: resolve linting issues across JavaScript and CSS - Fix ESLint errors in mobile-menu.js: spacing and formatting * Implement GDPR compliance and fix font sizing issues - Add comprehensive GDPR compliance features: * Self-hosted fonts (Raleway, Lato, Hind) to replace Google Fonts API * Cookie consent banner with proper transparency and styling * GDPR-compliant Google Analytics implementation * Comprehensive privacy policy pages with HOT OSM-based content * Multilingual privacy policy support (EN, FR, ES, CS) * Section linking with anchor navigation for privacy policy - Fix typography and font sizing inconsistencies: * Establish proper base font-size (16px) on html element * Create consistent heading hierarchy (h1-h6) with responsive scaling * Convert all hardcoded pixel font sizes to rem units * Standardize component font sizes across blog, landing, and base styles * Implement proper rem-based typography system for better accessibility - Code organization improvements: * Move cookie consent styles to dedicated SCSS file * Organize font declarations in separate _fonts.scss * Improve SCSS architecture and maintainability Closes #387 * Resolve Dependabot security updates - Update GitHub Actions to latest versions: * actions/checkout@v5 * actions/setup-node@v5 * actions/configure-pages@v5 * actions/upload-pages-artifact@v4 * actions/download-artifact@v5 - Update npm dependencies and fix PostCSS vulnerability - Fix 3 moderate severity npm vulnerabilities - Prepare Jekyll update to 4.4.1 (pending native extension fixes) This resolves multiple Dependabot security alerts and brings dependencies up to their latest secure versions. * Complete Dependabot security updates - npm and GitHub Actions - Updated all npm dependencies to resolve 3 moderate PostCSS vulnerabilities - Upgraded all GitHub Actions workflows to v5 versions (checkout@v5, setup-node@v5, configure-pages@v5, etc.) - Fixed Gulp build compatibility with newer gulp-autoprefixer and gulp-zip ES modules using dynamic imports - Reverted Jekyll from 4.4.1 to stable 4.3.4 to avoid native extension compilation issues on macOS - Copied Foundation Sites util/ directory locally to resolve SCSS import path issues - All npm security vulnerabilities now resolved (0 vulnerabilities) - GitHub Actions deprecation warnings eliminated - Build process fully functional with updated dependencies * Fix SCSS compilation in build pipeline - Change styles function to compile main.scss entry point instead of wildcard pattern - Resolves issue where CSS files were not being generated in .tmp directory - Fixes timing issue in copyAssets where CSS files were missing - Adds comprehensive logging to copyAssets and styles functions - Creates buildAssets intermediate task for proper dependency sequencing - Ensures development server serves site with proper CSS styling * Fix formatting and indentation in Czech translation file (cs.yml) * Add workspace file to .gitignore * Update documentation: modernize README, enhance internationalization guide, streamline quick reference - README.md: Add status badges, Czech translation completion, branch info - INTERNATIONALIZATION.md: Remove outdated get_locale.html references, update to Jekyll Polyglot standards - QUICK-REFERENCE.md: Remove translation details (moved to INTERNATIONALIZATION.md), focus on dev workflow - .github/README.md: Update workflow documentation with current CI/CD processes * Fix GitHub Actions deployment workflow - Remove duplicate checkout steps in deploy job - Fix artifact download version mismatch (use @v4 consistently) - Add verification step to check for empty _site directory - Improve error handling for missing build artifacts This should resolve most recent build error * Fix deployment workflow: improve file copying and add debugging - Replace find command with more reliable bash loop for file cleanup - Add comprehensive debugging output to track deployment process - Improve error handling and verification for _site content copying - Handle hidden files properly during deployment - Add verification steps to ensure CSS and assets are properly deployed This should resolve the main.css loading issue on missingmaps.org by ensuring files are properly extracted from _site to root of master branch. * Fix deployment: use rsync for reliable file copying - Replace cp command with rsync for more reliable directory copying - Ensures all files including styles folder are properly copied to root - Add enhanced verification to check assets and main.css deployment - Should resolve CSS loading issues on missingmaps.org The rsync command is more robust than cp for CI environments and will properly copy the entire _site directory structure. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dale Kunce <[email protected]>
1 parent 3b86eef commit 67ad46e

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,13 @@ jobs:
108108
# Copy built site files to root with verification
109109
if [ -d "_site" ] && [ "$(ls -A _site)" ]; then
110110
echo "Copying _site contents to root..."
111-
cp -rv _site/* .
112-
cp -rv _site/.[^.]* . 2>/dev/null || true # Copy hidden files if they exist
111+
112+
# Use rsync for more reliable copying
113+
rsync -av --exclude='.git' _site/ .
114+
115+
# Alternative: Use find and cp for better reliability
116+
# find _site -mindepth 1 -maxdepth 1 -exec cp -r {} . \;
117+
113118
echo "Copy completed. Removing _site directory..."
114119
rm -rf _site
115120
else
@@ -120,8 +125,12 @@ jobs:
120125
# Debug: Show final directory structure
121126
echo "=== Final directory structure ==="
122127
ls -la
128+
echo "=== assets directory ==="
129+
ls -la assets/ || echo "No assets directory found"
123130
echo "=== assets/styles directory ==="
124131
ls -la assets/styles/ || echo "No assets/styles directory found"
132+
echo "=== Checking for main.css ==="
133+
find . -name "main.css" -type f || echo "main.css not found"
125134
126135
# Add and commit changes
127136
git add -A

0 commit comments

Comments
 (0)