Skip to content

June 2019: The One With All The Tests

Compare
Choose a tag to compare
@denny denny released this 09 Jun 07:46

Numerous changes since the last release a month ago, most notably a LOT of works on test and test infrastructure. See /t obviously, and also /bin/test for a bunch of utility scripts. Test coverage is up from around 30% to around 60% :)

There has been a potentially breaking change around admin auth, depending on how you've set your admins' roles up; higher-level admins (e.g. 'CMS Template Admin') in areas that have multiple admin levels will now need all the lower-level roles for that area checked too (i.e. 'CMS Page Editor' and 'CMS Page Admin'). This is because the authorisation has been moved to the base method for most controllers now, rather than relying on remembering to call the auth code separately in every single admin action.

In other news, this release also includes the first version of an install.sh script that can be invoked as a curl one-liner:
curl https://raw.githubusercontent.com/denny/ShinyCMS/master/bin/install.sh | SHINYCMS_DEMO=1 sh
curl https://raw.githubusercontent.com/denny/ShinyCMS/master/bin/install.sh | sh

Finally, I forgot to mention the license change in the last set of release notes; the project is now dual-licensed under the GPL and Artistic License - "the same terms as Perl itself".