Skip to content

v4.4.1

Compare
Choose a tag to compare
@tchapi tchapi released this 14 Jan 16:12

What's Changed

  • Timezone: add the ability to change it easily in #100
  • Allow admin auth bypass in #130

How to upgrade

There's nothing much to do, but you can:

  1. Add the (optional) APP_TIMEZONE env var if you want to enforce the timezone. By default, timezone is not enforced (which should yield the same behavior as before).

Tip

If you pass the timezone in a Docker env, take care of not including quotes " around the value of the timezone, as they will be passed down to Davis which will result in a bad timezone id. (See the example Docker env file for reference)

  1. If you use an external auth provider (such as Authelia) in front of Davis, you can now disable the baked-in auth easily with the ADMIN_AUTH_BYPASS env var (set it to true). By default, nothing changes from the previous release.

💁🏼‍♂️ Also, if you're coming from a release before 4.4.0, please do not forget to run the migration process below

Note

If you encounter the log The parameter "timezone" must be defined. when doing composer install, it means that your cache (from the previous version) is obsolete and Symfony does not manage to clear it. You can do:

rm -rf ./var/cache. # in the Davis application folder

to clean things up. The subsequent composer install will rebuild the cache from scratch and everything should work as expected.

Thanks @MuratovAS for the challenge on auth mechanisms

Full Changelog: v4.4.0...v4.4.1