Skip to main content

500 Foods Website 2020.10

Submitted by Andrew Simard on
Body

Changes during the month of October, 2020.

Security

  1. Added Login and Logout Redirect by Role module. Mostly for the logout functionality - goes back to the login page. In future will tie it to the Role more specifically. IE, bloggers will land on the blog page, etc.
  2. Added Anonymous Redirect module. Helps avoid the 403 (access denied) page by simply redirecting to the login page, with the bonus that if they login, they're back to whatever they clicked on in the first place. Usually module updates of course as that's the only thing currently restricted.
  3. Added the Login Security module to better track and limit failed login attempts, as well as the Flood Control module as a catch-all for the same.
  4. Upgraded many modules and removed many unused modules in an effort to reduce the overall surface area of the site.
  5. Added Autoban and related modules for potentially banning hostile visitors.
  6. Added AllowOverride=none to Apache conf as a security and optimization step. Means that .htaccess files are now ignored and the settings previously found therein are now included in the Apache conf.
  7. Upgraded website server operating system to Ubuntu 20.04 LTS from Ubuntu 18.04 LTS. Not any specific requirement to do so other than the usual upkeep on maintenance. LTS (long-term-stable) implies that this release will continue to receive (security) updates for five years, so one less thing to be concerned about.

Performance

  1. Replaced Slick Carousel with Flexslider module. Does the same thing, but is far less fragile. Messed up Slick trying to monkey around with lazy loading and the like, only to get to the point where it couldn't be made to work again?! Anyway, Flexslider seems to do the trick. Had tried unsuccessfully to make it previously but maybe I'm more aware of how these things work now and whatever the issue was then doesn't seem to be an issue now.
  2. More PageSpeed Insight/Lighthouse tweaks to try and improve the numbers. Lighthouse is all > 90% now, so that's pretty remarkable. PageSpeed lags a bit for some reason, but is > 80% so pretty happy with that. Not likely to improve all that much.
  3. A side note that I had tinkered with setting up nginx as a reverse proxy. It wasn't all that pretty. And was considerably slower. Maybe with more time and more energy that could change, but doesn't seem to be worth the effort now. Maybe if we get to the point where load-balancing or redundancy is an issue, we'll give it another shot, but that itch has been scratched for now.
  4. Reviewd all the modules currently in use and kicked out some that weren't being used anymore. And added a few more, but overall a net reduction in modules. Stable at this point I think, not really a lot of things left that I'd want to do. At least pre-Commerce implementation. Some certainly, but not many.

Digests

  1. Digest module patch applied so that Test function is now available.
  2. Re-did the HTML formatting for the email templates (/themes/theme500/css/theme500.mail.css).
  3. Fixed criteria being used for each of the different Digests available.
  4. Emtpy digests now include header/footer so people can know what is going on, unsubscribe, etc.
  5. Added Crosswords as an included content-type for some of the Digests. No need for a separate Crossword digest though, as the DANSE subscription mechanism works just as well in this case.

Rocket.Chat

  1. Upgraded to 3.7.1.

Sitemap XML

  1. Added '/sitemap', 'sitemap.xml' and 'robots.txt' to Sitemap XML custom entries.
  2. Updated XML content types - seems some were checked but excluded rather than included.

SEO

  1. Added HREFLANG tags module based on recommendation of SEO Checklist module.
  2. Went through rest of SEO Checklist module, added various components that were recommended.

Crosswords

  1. Adjusted crossword names to be 'crossword' consistently. Some were named 'puzzle'.
  2. Added 'Published' column and removed 'Published' filter to be able to see duplicate entries.
  3. Added 2020-Wk41.
  4. Added Bonus: 1,000 News From Elsewhere Stories.
  5. New patch added for 'next clue' beside clue at top of crossword.