[Englisch text below]
Hallo zusammen,
ich hab nun den "Webinterface javascript rewrite" in den master-branch auf schwerkraft gemerged.
Das (primär code-technisch) runderneute Webinterface sollte spätestens ab morgen auf allen einschlägigen Image-Feeds welche auf experimental basieren verfügbar sein.
Erläuterung:
Nahezu der komplette Javascript Code wurde neu geschrieben außérdem wurden diverseste Anpassungen und Optmierungen vorgenommen.
Da wir von einer nicht ganz unerheblichen Menge neu geschriebenem Code sprechen wird es eventuell noch den einen oder anderen Fehler geben.
Es wäre toll wenn ihr mir sämtliche Fehler die ihr entdeckt einfach hier reinpostet.
Natürlich ist auch jegliche Art von konstruktiver Kritik herzlich willkommen (egal ob negativ oder positiv)!
Folgend - nach dem englischen Text - das (hoffentlich halbwegs vollständige) Changelog in englischer Sprache
English:
Today I've merged the webinterface javascript rewrite into the master-branch of the schwerkraft plugin-git.
The changes should be available on all experimental-based feeds until tomorrow (assuming the image builders refresh their feeds on a daily basis).
short explanation:
Almost the whole javascript codebase has been rewritten.
As we are speaking of a significant amount of new code there will probably still be a bug here and there.
It would be great if you report the bugs you've found in this thread.
Of course, any kind of constructive criticism is welcome, too (negative and positive)!
Changelog:
Tested Browsers (issues):
* Firefox 8 (no known problems)
* Chrome/Chromium 14 (no known problems)
* Opera 11.52 (no known problems)
* Epiphany (no known problems)
* Safari (no known problems)
* IE 9 (minor layout issues)
* IE 9 in Compat mode (minor layout issues in servicelist)
* IE 8 (minor layout issues)
Untested Browsers:
* all others ;) (especially IE < 8)
* "Deep-Linking": we do now have real URLs and therefore Bookmark & Browserhistory support in almost all cases (with some exceptions e.g. when editing timers), examples:
** PowerControl: http://dm8000/#!/control/power
** The default "Favourites" Bouquet: http://dm8000/#!/tv/bouquets/1%3A7%3A1%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3AFROM%20BOUQUET%20%22userbouquet.favourites.tv%22%20ORDER%20BY%20bouquet
** Timerlist: http://192.168.2.101/#!/timer/list
** Movielist for location /hdd/movie: http://192.168.2.101/#!/movies/list/filter/%2Fhdd%2Fmovie%2F/
** et cetera
* The javscript-core of the Browser Frontend has been completely rewritten, some new features have been added
** Nice and simple overlay for "Instant Record" functionality
** Servicelist/Current Service
*** Added Progressbars
** Movielist
*** Added file size
** Timers
*** Added a separate input for end-date
*** Added datepicker
*** Nicer tag selection
** BoxControl
*** Powerstate tells you if everthing went ok
*** Fix loading of screenshots when using WebControl
** Remove Audio-Filter from Mediaplayer
** General
*** replaced some icons with new (imo better) ones, all icons are taken from a single iconset now
*** Layout tweaks
*** Workaround for IE Layout problems
** dropped Google Gears support as gears is deprecated and will no longer be available as of december 2011.
** Debugging uses console.log now instead of a proprietary popup window
* Various speedups and fixes all over the place, thx to ritzMo for helping with this (e.g. loading the movielist from within the webinterface should be twice as fast as before )
* Return a proper repsone before restarting or shutting down via /web/powerstate (fixes client-side request timeout), it may still be an issue with slower connections
* things I've probably forgotten ;)
Technical Changelog:
* Almost completley rewritten java script core
** A almost MVC-like concept with Providers (~Model, provider.js), Templates (~View, web-data/tpl/default/*, object.js -> templateEngine), Handlers & Controller-Classes (~Controller, handler.js, core.js)
** "E2WebCore" as central controlling instance (core.js)
** Hash-Based navigation using hashlib2
** dropped script.aculo.us (it's totally oversized if you just want to fade-in/out)
** All templates are being cached now
* Removed almost all inline javascript-handlers from the templates, required data is stored written into custom data-* attributes within the dom, please contact me if you want to create a custom template!
* Register DOM events from the core
* use googles closure compiler for minifing javascript libraries (web-data/libs/libs_minified.js)
* minified style.css
Alles anzeigen