CHANGELOG - Synet.sk & iPDF
===========================

17/07/2013
----------
- iPDF 1.2.1: bugfix - Ziadost o vypis z registra trestov - Division by zero - crashed document generation
- iPDF 1.2.1: Refactored Transfer Values - removed redundant auxiliary variable, fixed algorithm to work correctly also in admin mode
- iPDF 1.2.1: Minor fixes to some documents (multibyte string related) & CMS category (SEO description, removed outdated keywords)
- iPDF 1.2.1: Dynamic footer links for better SEO ranking

30/06/2013
----------
- iPDF 1.2.1: implemented IpdfSecurity with security rules against basic site attacks
- iPDF 1.2.1: removed unnecessary page redirect 302 on document initiation
- iPDF 1.2.1: removed unwanted loading of all ipdf forms at each ajax request - dropped memory usage and significant performance increase by 30-40%

05/2013
-------
- iPDF - refactored IpdfStudio - complete rewrite of drawing recorder to enable implementation of subtemplates
- iPDF - added support for element WYWIWYG - choosen NicEdit after long research due to low memory footprint and evolutional approach to javascript commands execution. PHP extension tidy is now required.
- iPDF - added couple of new documents - taxation formular, juristic sample texts to test well WYSIWYG usability
- iPDF - output PDF template is not required anymore. If not present, empty PDF document will be created automatically with autoPageBreak on in favour of WYSIWYG support.

04/2013
-------
- iPDF 1.2.0: - refactored exports, added support for XML format. Removed optional password encryption which is not needed - used openSSL 256-bit encryption is strong enough.
- iPDF 1.2.0: - solved lots of miscellaneous issues, e.g. printing & calculating leading zeroes in 000123, numeric float format 1111111111 turned into 1.111e+10, zero "0" field values printable versus empty etc.

12.05.2012
----------
- iPDF: pridana podpora pre dynamicke sekcie (pozri demo tlačivo Účtovná faktúra)
- iPDF: implementovany algoritmus pre automaticku optimizaciu poradia poli: pole je vyhodnotene az po vyhodnoteni vsetkych referencovanych poli.
- iPDF: podpora pre inicializáciu optimizovaných dokumentov zo shared cache - zvýšenie výkonu pri úvodnom načítaní dokumentu.
- iPDF: podpora pre vertikálne kopírovanie dokumentov
- iPDF: refactored export/import to support multiple documents and dynamic sections. Default extension changed from ".bin" to ".ipdf" to avoid conflicts with *.bin formats on windows. Changed export format from INI to native PHP var_export dump. Imports still backward compatible.

29.02.2012
----------
- iPDF: tlacivo B - opravene zaokruhlovanie stoviek centov pri prepocte prijmov v zahranici r. 92
- iPDF: tlacivo B - pri nastaveni kodu SK NACE sa automaticky vyplni skrateny nazov v poli Hlavna prevazna cinnost na r. 3
- iPDF: implementovana funkcia call(args) pre volanie metody objektu na urovni dokumentu
- iPDF: zvyseny maximalny pocet uctov na 500

20.02.2012
----------
- iPDF: tlacivo A, B - optimizacia pre tlac - odstranene zelene pozadie z PDF ramikov

19.02.2012
----------
- iPDF: tlacivo A - povolene vlozenie vlastnej sumy na r. 37
- iPDF: tlacivo A, B - pridana konverzia na veľké písmená (implementované funkcie UPPER, LOWER)

15.02.2012
----------
- iPDF: pridana podpora pre identifikaciu elementu volajuceho AJAX request (implementovana funkcia caller(property))
- iPDF: tlacivo A, B - upravene checkboxy pre danovy bonus, exkluzivne checkboxy pre vyber bud celeho roku, alebo jednotlivych mesiacov
- iPDF: tlacivo A, B - do PDF dokumentu vytlaci prijem za manzelku aj v pripade 0
- iPDF: tlacivo B - povolene zadanie vlastnej sumy nezdan. zakladu dane na r. 82
- iPDF: dalsia optimizacia javascriptov pre zvysenie vykonu v IE 7,8
- iPDF: pridana zakladna infografika

14.02.2012
----------
- iPDF: tlacivo A - povolene zadanie vlastnej sumy dan. bonusu
- iPDF: changed binding of event handlers to "on" rather than "live". Significant speed increase for IE 7,8

10.02.2012
----------
- iPDF: tlacivo A, B - ulica danovnika je nepovinna, nakolko niektore obce nemaju ulice
- iPDF: tlacivo A - opravene formatovanie output descriptora pre rodne cislo danovnika (nevytlacilo uvodnu nulu napr. v pripade 801010/0802)
- iPDF: opraveny problem s importovanim, kedy sa nenacital rok za ktore sa podava danove priznanie (export zahrnuje odteraz aj nepristupne/disabled fields)
- odstranena linka na "LIKE Facebook button" kvoli problemom s nacitanim cez HTTPS linku (Internet Explorer mixed content issue), taktiez Facebook pouziva nevalidny certifikat pri CDN (staticky content)
- zvyseny pocet volnych uctov zo 100 na 200, nezistene ziadne problemy s vykonom pri ajax requestoch pri 150 volnych uctoch.
- povolene DEMO tlacivo "Podaci listok" Slovenskej posty - prezentacia prace s PDF mikro sablonami (resp. PDF microtemplates - znie lepsie:-))
- zber statitickych udajov mozno vypnut/zapnut na urovni dokumentu (napr. nezbierame statistiku pre DEMO tlaciva)

04.02.2012
----------
- iPDF: tlacivo B - pridana moznost zadat vlastnu sumu pre danovy bonus kvoli zmenenym vzorcom oproti roku 2010 (ak danovnik ma prijem len z prenajmu)
- iPDF: tlacivo B - policko 03 (NACE kod) je nepovinne, vyplna ho len danovnik s prijami z podnikania (§ 6 ods. 1 zákona) alebo inej samostatnej zárobkovej činnosti (§ 6 ods. 2 zákona)
- iPDF: pridany zber zakladnej statistiky (pocet vytvorenych dokumentov, pocet odoslani na email, pocet stiahnuti)

02.02.2012
----------
- CMS: refaktorovaný sociálny plugin (facebook, twitter, RSS)
- CMS: generácia stránky zohladnuje SEO keywords, description pre sucasnu kategoriu namiesto default keywords, description
- CMS: doplnene SEO meta tagy pre iPDF sekciu (keywords, description, nadpisy)

01.02.2012
----------
- iPDF: nutna reimplementacia session countera, nakolko webhosting vyuziva memcache pre ukladanie session files. Povodne exaktny counter pre otvorene ucty bol nahradeny menej presnym heuristickym modelom kvoli vykonu
- drobne upravy na tlacidlach, SEO linky vo footeri
- subor s pokynmi sa zobrazuje odteraz ako dialog window namiesto otvorenia novej URL linky
- drobne upravy v input deskriptoroch (vypnutie validacie poli pri nacitani dokumentu validateOnInit=0)

30.01.2012
----------
- iPDF: implementovane tlaciva Dan z prijmu fyzickych osob pre rok 2011, typ A, typ B vratane potvrdeni pre typ A, B
- iPDF: pridana podpora pre Export/Import hodnot z iPDF formulara s moznostou dodatocneho zvysenia bezpecnosti zadanim vlastneho hesla (export je kompresovany a zakryptovany 256-bitovym algoritmom)
- iPDF: pridana podpora pre zabezpecene spojenie HTTPS, instalovany SSL certifikat na hostingu
- iPDF: optimizovane javascript handlers (pomocny text sa zobrazi pre field onfocus, resp. parent onmouseover)
- iPDF: implementovane cachovanie helpfiles
- iPDF: refaktorovana validacia celeho dokumentu, zvyraznuje vsetkych polia obsahujuce chybu, nielen prve pole
- iPDF: refaktorovana kompilacia javascript poli pre autocomplete elementy (PSC, nazvy miest a obci, ciselnik SK NACE)
- iPDF: pridane tlacidlo pre zobrazenie zkompilovanej napovedy (help-index)
- iPDF: automaticky pokus o restart formulara pre AJAX request v pripade uplynutia platnosti session
- iPDF: optimalizacia PDF templates - znizenie velkosti PDF templates v priemere o 30-50%, fonts replaced with embedded font subsets
- iPDF: optimizovane atributy v objektoch, znizenie velkosti session files
- iPDF: autocomplete bug - trigger event on item select - aktualizuje hodnotu pola pri vybere polozky zo zoznamu
- CMS: fixed correct RSS header for Chrome
- CMS: added automatic filtered redirects to Taxation formulars 2011

01.01.2012
----------
- upgraded framework to Yii 1.1.9
- forced single language URLs for iPDF formular list. Now slovak formulars will not be displayed under english URL CMS link but rather redirected with correct SEO URL.
- added support for secure links over iPDF section, fixed HTTP/HTTPS mixed links (FaceBook, Twitter icons).
- fixed moving copied document as DOM nodes. Values won't get lost anymore.
- upgraded javascript properties handling to JQuery 1.6.1 - replaced attr() with prop().
- replaced zero-based catalog index with 1-based index in copying mode to make it more human friendly.
- introduced default iPDF empty formular with initial default settings rather than testing each value/setting.
- minor performance optimizations.

iPDF - 19.12.2011
-----------------
- implemented cache for helpfiles
- prifiling optimization - strtr proved to be app. 5x slower than str_replace(array_key, array_values, $subject)
- synchronized usage of CHttpSession object in IpdfForm and IpdfSession

NODB.CMS 1.0.5 - 18.12.2011
---------------------------
- refactored caching of results of directory scans. Gained performance boost for first-demand pages from cca 10 pps to 25-30 pps (pages per sec, no opcache installed).
- refactored add comment - links "Reply to comment" causing duplicate SEO contents are now replaced with Ajax request via separate controller. Added redirect to prevent from form resubmission.
- comments design improvement - nicer colors, added JQuery scroll animations.