philer wrote:@anandrkis: niggle away, that's why I asked for feedback
And yes, I've hidden any messages other then errors since I don't use autologin. But if that's a think people use I'll check it out as soon as I get to it.
philer wrote:I'd prefer folders, too. Sadly that's not how it works.
The long version: I'm using ajax requests (XMLHttpRequest) to retrieve the config files and it's curious enough that that works. Browsers are very restrictive about accessing local files, for obvious reasons. The engine behind MDM's HTML themes (webkit) is basically just a browser showing a local document. The fact that it's all local is why the request are getting through at all. However XMLHttpRequests are specifically designed to retrieve individual files from a given path (or rather a URL) so they simply cannot retrieve a directory listing. The only way to make that possible would be ton run a local webserver in the background that provides that list, which would be quite an overkill.
So yeah, you're stuck with ls -1 >> slideshow.conf.
As for the auto login, I'll take a look at it as soon as I get to it (hopefully in a few days).
+ mdm: new theme based on mdm-modern, with slideshow
philer wrote:Well that's a nice surprise
Gotta try and catch him on the IRC some time.
So I pushed an update to the github repo. It now has a countdown indicator in the top bar next to the sessions menu. It's not too fancy but should do the job.
The fact that it just resets on every keystroke confused me a little but that's just how MDM handles it. Personally I'd have expected the countdown to be stopped on first interaction.
philer wrote:Yeah, language isn't something I ever use in the login screen. I can actually only imagine very few scenarios where someone would need that to be there.
Though again, if this is gonna get more attention I can add it easy enough.
Users browsing this forum: No registered users and 2 guests