menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Twill

Rapidly create a custom admin console that content publishers will love. Twill is an open source CMS toolkit for Laravel, crafted by AREA 17.

Channels
Team

Just released, Twill 1.2.1

March 15, 2019 at 1:34pm

Just released, Twill 1.2.1

March 15, 2019 at 1:34pm (Edited 3 years ago)
Today, we released Twill 1.2.1, a small but important update. Based on a bunch of community feedback and contribution, and after releasing several new sites using Twill, we’ve implemented many non-breaking additions, fixes, and improvements.
This release includes 2FA for CMS users, Laravel 5.8 support, Laravel Mix 4 update, and improved usability on mobile. We’ve added media library custom fields, browser fields with multiple content types, fixes for several media and file form issues, and improvements for security, internationalization, form-fields, media library, and the documentation.

May 3, 2019 at 4:18pm
Hey, can you provide us with docs on how to implement the 2FA?

May 6, 2019 at 4:45pm
Hi , for sure! In your twill.php configuration file, you can enable it in the enabled array, using 'users-2fa' => true. The php-imagick extension needs to be installed and enabled (this is to generate QR codes). You will then find a checbox in users edit form for them to enable it. If you run into any issues, first make sure your server time is accurate. On Homestead (Ubuntu) for example, you might need to:
sudo service ntp stop
sudo ntpd -gq
sudo service ntp start

May 14, 2019 at 7:33am
Hi thanks a lot for the instructions! I've set up a dockerized environment with separate containers for the server (nginx), the app (php and it's extensions), the database (mysql container) and the node scripts (node-npm-yarn container). Can you give me an insight of what these commands represent/what they are actually doing so I can implement some kind of hook into the appropriate container (I suppose that should be the app/php one) which would perform this kind of actions? Thanks a lot!

May 16, 2019 at 1:48am
Hey Stevan! Those commands synchronize the date and time of your machine/container with a remote source of truth. It is like setting automatic time sync on Windows or Mac OS preferences. See https://en.m.wikipedia.org/wiki/Network_Time_Protocol
like-fill
1
So it would need to be in your app container. Curious to know how Docker sets this up in containers locally, I assume it is just synchronized with the host clock.

August 15, 2019 at 1:54pm
can we use media fields in settings sections? I tried to use one even though the media field shows up it doesnt save the image. Any ideas?