thomascube / roundcube-elastic4mobile Goto Github PK
View Code? Open in Web Editor NEWElastic skin for mobile devices Roundcube plugin
Elastic skin for mobile devices Roundcube plugin
Trying to install on RC 1.4.10:
# composer require roundcube/elastic4mobile
Do not run Composer as root/super user! See https://getcomposer.org/root for details
[InvalidArgumentException]
Could not find a matching version of package roundcube/elastic4mobile. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (sta
ble).
Today I updated to roundcube-1.4-rc2 and did also a php composer update.
I use the elastic4mobile plug-in to provide the new elastic skin to mobile phone users. Default skin is not elastic.
During testing I saw a flaw that I overlooked before: After logout on a mobile device the browser first returns to the default login page. When I reload this login page it changes again to the expected elastic login page.
If we have Preferences->Mailbox view->Layout set to Desktop for larry skin, after using mobile device it is set to Widescreen.
After installing the plugin, the following error message occurs:
PHP Fatal error: Class 'Mobile_Detect' not found in mydomain.com/plugins/elastic4mobile/elastic4mobile.php on line 19
When using elastic skin (by enabling this plugin) and have the folder list of the mailbox displayed the keyword list is laid over the folder names, making them inaccessible. Screenshot will follow.
This may be a problem specific to Kolab, as I'm using Kolab Groupware. It could be an issue with the Elastic skin as well, I just can't tell.
rcmail::$default_skin
and what we do with it in kill_session()
.$rcmail->output->set_env('skin', $skin);
in the code is redundant, because set_skin()
will do this.I encountered these issues in my pwa plugin I'm working on. It also forces elastic skin in pwa mode similar to your plugin.
Maybe we could somehow improve core code to handle issue 1. and 2. more nicely. Something in plugin api that would allow to execute some code before plugin init? Also, rethink that rcmail::$default_skin
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.