matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.85k stars 2.64k forks source link

Change GUI to save a lot vertical space #2105

Closed anonymous-matomo-user closed 13 years ago

anonymous-matomo-user commented 13 years ago

hi guys, after some customer feedback i started to rework the piwik guy. Therefore i wrote a plugin to show the idea. All code is extjs3 based but should be easily convertable to extjs4. The Sample Code runs with piwik 1.1.1. The colors are completly changeable. http://www.sencha.com/blog/an-introduction-to-theming-sencha-touch

anonymous-matomo-user commented 13 years ago

Attachment: dateselector 1.png

anonymous-matomo-user commented 13 years ago

Attachment: dashboard 2.png

anonymous-matomo-user commented 13 years ago

Attachment: other panel 3.png

anonymous-matomo-user commented 13 years ago

Attachment: integration in TYPO3 4.png

anonymous-matomo-user commented 13 years ago

i used extjs 3 because it's stable (extjs4 will be released later this year)

robocoder commented 13 years ago

Thanks for the suggestion Kay.

I think this idea can either be added to #2097 or considered a use case for the theming plugin. (I'll leave as a separate ticket in the meantime.)

re: extjs: we don't plan to add/use extjs in core because we're moving away from GPL-only JavaScript. (fdd2div and Superfish are the last two.)

anonymous-matomo-user commented 13 years ago

mhmm ok.

extjs is not GPL only - there also developer licenses for non gpl projects. http://www.sencha.com/products/extjs/license/

the big advantage would be the integrated chart support without using flash -> this way piwik could be the very first web analytics software which runs on android and IOs Hardware without flash.

which license is planned to be used for piwik if other Gpl software is removed?

robocoder commented 13 years ago

which license is planned to be used for piwik if other Gpl software isremoved?

We're only planning to remove fdd2div and superfish. Piwik will still be GPLv3 or above.

Removing the GPL-only javascript isn't a commercial vs noncommercial decision, or features of extjs vs jquery. The problem is a question of compliance for users:

1) Stallman considers the act of "serving of javascript to the browser" to be a form of conveyance covered by the GPL (not just the Affero GPL under network interaction) 2) Piwik minifies the JavaScript and license headers may be stripped

If someone offers a publicly, hosted Piwik, it can be argued (because the FSF hasn't clarified its stance) that users have to provide links and notices to the original, unminified JavaScript source, in order to be fully GPL compliant.

anonymous-matomo-user commented 13 years ago

mhmm, i've seen it in tine20.org (GPL) the compress the JS but let the comments intact. Or they use the compressed scripts which have comments and let them untouched even if the concat all the files to one.

Feel free to ask the sencha guys (owners of extjs) what they think. Probably this is a solution. With ExtJS the GUI can be blazing fast and it's much more easy to deploy extjs apps in only js, than the ugly jQuery html mix - which is of course a bit easier with jQuery UI

I don't wanna force or blame you - but there must be a reason why many complex opensource projects (e.g TYPO3, Tine20.org) use ExtJS with compression ;)

Is it possible to provide a link to Stallmans considerations? - Thanks in Advice.

robocoder commented 13 years ago

Search for Stallman's article, "The JavaScript Trap".

The definition of "conveyance" is defined in the GPL license text, and is repeated in Sencha's FAQ. (Mind you, Sencha's interpretation might be more strict, presuming a motivation to sell more commercial licenses.)

anonymous-matomo-user commented 13 years ago

he adds a convention for releasing free js programm.

http://www.gnu.org/philosophy/javascript-trap.html (end of page)

building this in the compressor should do the job with any included GPL licensed JS Code. Additionally the complete code of piwik is available through the officical piwik.org page - so I can't see a problem?

Anyway any JS which is included in Piwik is under the GPL - isn't it? - So there will be the same problem - or not?

regards Kay

robocoder commented 13 years ago

We completed an extensive licensing review, so this isn't going to change.

Piwik's overall license is GPLv3 or later. This is unchanged. Third-party components are licensed separately. We select the license that's compatible with GPLv3. The component's license is not changed by Piwik's use of the GPLv3.

Piwik-specific JS is either BSD (e.g., piwik.js) or GPLv3 by default. When these are served by the web server, we do not consider this to be conveyance because it is only a fragment of Piwik (as opposed to a verbatim copy). This is also our view for third-party JS, but some have argued that this is conveyance -- an interpretation that conflicts with ours.

anonymous-matomo-user commented 13 years ago

thanks for clearification.

That interpretation sounds strange ...especially that all other webapplications would have that problem too.

robocoder commented 13 years ago

I can't speak for the developers of other web applications. Projects should do their own due diligence.

Even if we ignored the conveyance issue, or used a workaround like a third-party CDN to serve extjs, we've already noted elsewhere that it would be too much effort to switch from jquery to another framework.

mattab commented 13 years ago

let's reopen when there is a mockup (JPG only no code needed) that would look good