UNPKG

aced

Version:

php+node light FE/BE framework

138 lines (78 loc) 3.71 kB
## 0.1.2 (2017-02-28) [https://github.com/fluffybunnies/ace/compare/ddb040d062ec8ba616565d658442f67691e34efd...355359fee20660dc289e93ea3adac10e3f8fd651](diff) Features - New javascript `ace.util` utility methods: `isEmptyObject`, `removeClassWithPrefix`, `replaceAll`, `setUniqueClassVal`, `stdErrAlert` - New javascript `ace` modules: `polyfill`, `stickyFormVals` - New node `lib/ut' utility methods: `dbTime`, `flipObjKeyVals`, `isNumeric`, `pluckFromArray`, `rand`, `replaceAll` - New php `Ace` utility methods: `time`, `dbTime`, `dbTimeUtc` - `Ace::g()` now handles objects as well as arrays - Set "content-type: application/json" header for non-jsonp POST api responses - Prevents some XSS attacks - Previously only set for GET requests - Warning: this may affect POSTs through iframes in some browsers - Implemented late static binding in Ace Exceptions for extensibility Bugs - Fix "Corrupted log file" exception thrown on small log files generated by `Protect` Helper - Minor bug fixes to: `ace.tooltip` - Normalize value of php `REQUEST_METHOD` and `REQUEST_PATH` constants across common environments ## 0.1.1 (2015-07-25) [https://github.com/fluffybunnies/ace/compare/3de3fbf0e85d2737c278ced48c42806134223ae3...ddb040d062ec8ba616565d658442f67691e34efd](diff) Features - Update ace php autoloader to accomodate other custom autoloaders Bugs - Minor edge-case fixes to: `ace.highlight`, `ace.tooltip`, `ace.loader` ## 0.1.0 (2015-07-25) [https://github.com/fluffybunnies/ace/compare/519a838cce7121b766599bd529750cf1a08a5245...3de3fbf0e85d2737c278ced48c42806134223ae3](diff) Features - Bumped to 0.1.0: New API scaffolding, paving the path for v1.0.0 - Design pattern: CAO( Controller > Adapter > DAO < DTO ) - New to `\ace\Ace` - `setAssetHeadersForFilename()`, `sphericalDistance()`, date/time helpers - Codified Exceptions - Routes split by request method - New to `ace.js` - `ace.util.formatDate` - `ace.getAppVersion` - `ace.log` - `ace.loader.js` - No more finickyness re overlapping loader animations - `ace.highlight.js` - Try it, it's fun. Probably turn it into a jQ extension later - `ace.resource.js` - On-demand versioned asset loading. Think require with packs and css. - `ace.req.js` - Wrapper for calling api: `ace.req('comments','post',{msg:'sup!'})` - New shorthand: `ace.pop('Message body', 'Message header')` - Some new button stylez - Node webserver: `test_php_server.js` Bugs - Patched XSS and CSRF vulnerabilities - Fixed issue with the event bus' `ready()` implementation - Fixed tooltip y positioning when !opts.fixed ## 0.0.21 (2015-06-30) Features - +ace.utils: `isWithinViewport()`, `isFullyWithinViewport()`, `hash()`, `obfu()`, `deobfu()`, `deleteCookie()`, `padZ()` - +ace.fb.js - Improved performance for `ace.util.formatInteger()` - Reorganized libs Bugs - Fixed bug with `ace.ui.twitter` when metadata was missing from tweets ## 0.0.20 (2015-04-09) Features - Improved detail in README.md - Hyperlink media urls in Twitter feed Bugs - Fixed encoding method for Twitter OAuth ## 0.0.16 (2015-02-22) Features - + Ability to query Instagram by screename instead of numeric id Bugs - Handle missing caption in Instagram api response ## 0.0.15 (2015-02-20) Features - New helper Protect. First method preventBruteForce() provides protection against DOS or brute-force attacks against specific routes (e.g. wp-login.php for wordpress). Bugs - Helper SES was broken when sending normal emails due to lack of backwards compatibility with new AWS SDK. ## 0.0.12 (2014-12-06) Features - Option for more intelligent ace.util.capitalize when passed a proper name