Change log

v0.8.5 (2013-02-06)

  • IE bug fix: asynchronous window.open() - popup JavaScript starts before parent JavaScript block finishes. Now popup loaded routine is queued in parent’s event queue (using setTimeout()).

v0.8.4 (2013-02-04)

  • Templated messages refactored, generalized and simplified.
  • Better handling of error states in prologue phase (error messages with call to action parent window, or <parent>.vingd object unavailable).

v0.8.3 (2013-01-31)

  • A complete switch to the Vingd brand. The popup interface object but knopso() renamed to vingd(), but knopso() reference remained for backward compatibility.

v0.8.2 (2012-05-31)

  • A complete switch to the new Vingd design (design branch v3.0). The popup interaction code is fully compatible with previous versions in v0.8 branch, but popup.html must be Download-ed and updated!

v0.8.1 (2012-05-12)

  • Internationalization (popupParams.lang), support for English (lang: en) and Croatian (lang: hr, the default).

v0.8 (2012-02-27)

  • Knopso re-branded as Vingd.

v0.7.2 (2012-02-16)

  • Prologue page redesign (loading animation, instead of the title).

v0.7.1 (2012-02-01)

  • Better support for login mode (zombie messages added).
  • When in zombie mode, user auto-redirected to the recommended url if display=page; otherwise button-redirect offered.
  • siteURL now has a default value: parent page URL.

v0.7 (2012-01-27)

  • Support for vouchers and OAuth login via Knopso.
  • Prologue and epilogue page merged to a single unified html stub which is now capable of handling purchase/voucher/login/etc. scenarios in a normal and zombie mode (see popup.html). This static html file is the only thing you’ll have to host on your servers.
  • Library now hosted on our servers (minimized, uncompressed). This will enable us to continuosly upgrade it and fix bugs, while not requiring from you to periodically pull the newest version.
  • Much better error handling in zombie mode (ie. when user closes the site/parent page, but continues to interact with the popup). User is informed and the best available action is offered.
  • All user messages localized (lang parameter).
  • HTML templates for prologue/epilogue. DOM utility functions.
  • Added onInit callback which is run on prologue opened. You can generate your orders here (fetch them via AJAX). The default implementation will only redirect user to href argument (this can be the href attribute of a source A/link element, or a query argument in the popupURL).
  • Added onResult callback which is called from epilogue code after the specific result callback (onSuccess, onCancel, onError, onExpand).
  • Default onExpand callback now more generic; it opens expand_url the epilogue receives.
  • Added parameters: cdnURL, siteURL to better handle zombie scenarios.
  • Automated build (main.js and loader/popup.js).
  • Bug fixes (Safari undarken on close).

v0.6.2 (2011-12-07)

  • Epilogue extensions (covering behaviour in cases parent is closed before popup).
  • Shifting the increasing number of parameters in prologue/epilogue query (GET arguments) improves the robustness and decreases dependency on JavaScript cross-window communication (and different policies across browsers).
  • Added frontendURL parameter for local testing.
  • Knopso frontend URL change (to ‘www.knopso.com’ from ‘my.knopso.com’).
  • Bug fixes (IE opacity, scrollbars visible).

v0.5 (2011-10-27) since v0.1 (2010-09-09)

  • Support for Knopso purchase in popup.
  • The onSuccess callback verifies token (received in JSON).
  • Prologue page hosted on the site to prevent blocking of popup opening a site on different domain.
  • Epilogue page hosted on the site (the same domain) to enable communication with parent-defined callbacks.
  • onExpand callback for expanding Knopso frontend in a new browser window.
  • Screen darkener enhanced.
  • Utility functions: URL parse/unparse, browser window size/position.
  • Popup parameters storage handles multiple popup windows per page.
  • Documentation separated from code.