Change Log
- Version 2.4.3
- Version 2.4.2
- Version 2.4.1
- Version 2.4.0
- Version 2.3.4
- Version 2.3.3
- Version 2.3.2
- Version 2.3.1
- Version 2.3.0
- Version 2.2.1
- Version 2.2.0
- Version 2.1.9
- Version 2.1.8
- Version 2.1.7
- Version 2.1.6
- Version 2.1.5
- Version 2.1.4
- Version 2.1.3
- Version 2.1.2
- Version 2.1.1
- Version 2.1.0
- Version 2.0.5
- Version 2.0.4
- Version 2.0.3
- Version 2.0.2
- Version 2.0.1
- Version 2.0.0
- Version 1.10.3
- Version 1.10.2
- Version 1.10.1
- Version 1.10.0
- Version 1.9.8
- Version 1.9.7
- Version 1.9.6
- Version 1.9.5
- Version 1.9.4
- Version 1.9.3
- Version 1.9.2
- Version 1.9.1
- Version 1.9.0
- Version 1.8.3
- Version 1.8.2
- Version 1.8.1
- Version 1.8
- Version 1.7.4
- Version 1.7.3
- Version 1.7.2
- Version 1.7.1
- Version 1.7.0
- Version 1.6.24
- Version 1.6.23
- Version 1.6.22
- Version 1.6.21
- Version 1.6.20
- Version 1.6.19
- Version 1.6.18
- Version 1.6.17
- Version 1.6.16
- Version 1.6.15
- Version 1.6.14
- Version 1.6.13
- Version 1.6.12
- Version 1.6.11
- Version 1.6.10
- Version 1.6.9
- Version 1.6.8
- Version 1.6.7
- Version 1.6.6
- Version 1.6.5
- Version 1.6.4
- Version 1.6.3
- Version 1.6.2
- Version 1.6.1
- Version 1.6
- Version Beta 1.5.21
- Version Beta 1.5.20
- Version Beta 1.5.19
- Version Beta 1.5.18
- Version Beta 1.5.17
- Version Beta 1.5.16
- Version Beta 1.5.15
- Version Beta 1.5.14
- Version Beta 1.5.13
- Version Beta 1.5.12
- Version Beta 1.5.11
- Version Beta 1.5.10
- Version Beta 1.5.9
- Version Beta 1.5.8
- Version Beta 1.5.7
- Version Beta 1.5.6
- Version Beta 1.5.5
- Version Beta 1.5.4
- Version Beta 1.5.3
- Version Beta 1.5.2
- Version Beta 1.5.1
- Version Beta 1.5
- Version Beta 1.4.2
- Version Beta 1.4.1
- Version Beta 1.4
- Version Beta 1.3.25
- Version Beta 1.3.24
- Version Beta 1.3.23
- Version Beta 1.3.22
- Version Beta 1.3.21
- Version Beta 1.3.20
- Version Beta 1.3.19
- Version Beta 1.3.18
- Version Beta 1.3.17
- Version Beta 1.3.16
- Version Beta 1.3.15
- Version Beta 1.3.14
- Version Beta 1.3.13
- Version Beta 1.3.12
- Version Beta 1.3.11
- Version Beta 1.3.10
- Version Beta 1.3.9
- Version Beta 1.3.8
- Version Beta 1.3.7
- Version Beta 1.3.6
- Version Beta 1.3.5
- Version Beta 1.3.4
- Version Beta 1.3.3
- Version Beta 1.3.2
- Version Beta 1.3.1
- Version Beta 1.3
- Version Beta 1.2.1
- Version Beta 1.2
- Version Beta 1.1
- Version Beta 1.0.1
- Version Beta 1.0
- Version Alpha 0.9.6
- Version Alpha 0.9.5
- Version Alpha 0.9.4
- Version Alpha 0.9.3
- Version Alpha 0.9.2
- Version Alpha 0.9.1
- Version Alpha 0.9
Version 2.4.3
Release Date: 2024-10-01
- Changed: Tweaked the rigFormOpen() function so that it applies action attributes.
- Added: a new array key "isCreate" to the global variable gRigA[], a boolean that indicates whether the engine used is LC Create.
- Added: the new LC Create JSON encode and decode function calls to the JWT helper and the Asynergy library.
- Added: the latest version of the ASYNergy framework.
Version 2.4.2
Release Date: 2023-08-29
- Changed: Adapted the Pagination library so that it can be used with ASYNergy.
- Changed: Tweaked pagination explanations in chapter Pagination Library of the User Guide and added information about using ASYNergy for pagination.
- Changed: Replaced the ASYNergy application script with the latest version (0.2.0).
- Added: ASYNergy execution time to debug log.
Version 2.4.1
Release Date: 2023-07-07
- Added: information about function rigFormValidRun() in Chapter “Form Validation” of the User Guide.
- Fixed: missing parameter in function declaration in system/libraries/Formvalidation.livecodescript -> rigFormValidRun().
Version 2.4.0
Release Date: 2023-06-29
- Added: ASYNergy library.
- Added: ASYNergy JavaScript file to assets/js/ASYNergy.
- Added: Chapter ASYNergy to the User Guide.
- Added: 3 new tutorials to the User Guide.
- Added: SQLite database “tutorials.sqlite” to application/db. This database can be used for the 3 new tutorials.
- Added: key “dbGroup” to the authentication configuration array. You can now specify the database group name and override the active group setting in the database configuration file.
- Added: Group name setting info to the auth config table in the User Guide.
- Changed: Tweaked the rigRawURLdecode function in system/revigniter/Common.livecodescript.
- Changed: Adapted the input library to the requirements of ASYNergy.
- Changed: Adapted the form validation library to the requirements of ASYNergy.
- Changed: Adapted the form helper to the requirements of ASYNergy.
- Changed: Redirected call to legacy command rigEncodeRevTags in libraries/Formvalidation.livecodescript -> rigEncodeRevTags.
- Changed: The JQuery library is no longer supported.
Version 2.3.4
Release Date: 2022-12-26
- Fixed: error that occurs when default controllers are located in subfolders, in system/libraries/Router.livecodescript -> _rigValidateRequest().
- Fixed: handling of submitted JSON data in system/libraries/Input.livecodescript -> _rigSanitizeGlobals.
- Fixed: information regarding the ajax model in the JQuery tutorial.
- Changed: Tweaked merging of pseudo variables in system/libraries/Output.livecodescript -> rigCacheVarsMerged().
- Changed: Tweaked pagination example in chapter "Pagination Library" of User Guide.
Version 2.3.3
Release Date: 2021-12-21
- Changed: The JWT helper has been revised. JSON Web Tokens can now be signed with an asymmetric signing algorithm using RSA public/private key pairs. Please see the JSON Web Token Helper section of the User Guide.
- Changed: The restrictions on posting LC arrays and JSON data to revIgniter have been removed. This means that LC arrays can now be posted without having to use the libURLFormData() function. Also, JSON data can be posted using libURLFormData(), which was as yet not possible. Please see the Input Library section of the User Guide.
- Fixed: missing extension name in log message of loaded extensions.
Version 2.3.2
Release Date: 2021-11-24
- Added: troubleshooting information related to loading controllers via the command-line interface and logging.
- Fixed: There was an issue related to custom stacks. It turned out that stack names must match stack file names. This was unintentionally introduced in version 2.2.1 and is fixed in system/libraries/Loader.livecodescript -> _rigLoadStack and _rigRiInitStack.
- Fixed: change log.
Version 2.3.1
Release Date: 2021-11-18
- Changed: Added flag to prevent automatic creation of nonce values in system/libraries/Contentsecuritypolicy.livecodescript. This is useful because
'unsafe-inline' is ignored if a nonce value is present in the source list. Check out the extended list of CSP settings in chapter Content Security Policy of the User Guide. - Fixed: There was an issue with bot detection in cases where the $_POST array did not contain a honeypot key, see system/libraries/Input.livecodescript -> _rigHoneypotBotDetection.
- Fixed: issue with font preloading in system/helpers/htmlHelper.livecodescript -> rigHtmlLinkTag().
Version 2.3.0
Release Date: 2021-11-13
- Added: There is a new Content Security Policy library system/libraries/Contentsecuritypolicy.livecodesript.
- Added: The Input library system/libraries/Input.livecodesript now includes bot detection.
- Changed: The script tag of JavaScript pagination code generated by function system/libraries/Pagination.livecodescript -> rigAjaxPaginationCode() now includes a nonce in case the Content Security Policy library is loaded.
- Changed: Script tags of JavaScript code generated by system/helpers/assetHelper.livecodescript -> rigJsAsset() now include a nonce in case the Content Security Policy library is loaded.
- Changed: Output data now optionally includes Content Security Policy HTTP headers. There are two new globals g_StyleNonce_ and g_ScriptNonce_. See system/libraries/Output.livecodescript.
- Changed: Galleria helper JavaScript script tags now include a nonce in case the Content Security Policy library is loaded. See system/helpers/galleriaHelper.livecodescript -> rigGalleriaData() and rigDynamicGalleriaData().
- Changed: The script tag of JavaScript code generated by system/helpers/urlHelper.livecodescript -> rigSafeMailToLink() got a Content Security Policy nonce.
- Changed: The JavaScript script tags of code generated by the JQuery library now include nonces in case the Content Security Policy library is loaded. See system/libraries/Jquery.livecodescript -> rigJQueryOpen and _rigJsScriptOpen().
- Changed: Captcha CSS now provides an optional Content Security Policy nonce. Changed system/libraries/Captcha.livecodesript -> rigInitCaptcha and rigCaptchaStyle().
- Changed: The settings in application/config/config.lc have been extended with bot detection settings.
- Changed: system/helpers/formHelper.livecodescript -> rigFormOpen() now generates an optional honeypot input field for bot detection.
- Fixed: There was a bug in the rigJWTdecode() example in chapter "JSON Web Token Helper" of the User Guide.
Version 2.2.1
Release Date: 2021-08-16
- Changed: Adding configuration and debugging code to custom stacks is now optional. Modified system/revigniter/RevIgniter.lc and handler _rigRiInitStack in system/libraries/Loader.livecodescript.
- Added: File system/revigniter/stackBehavior.livecodescript
- Changed: Adjusted infos regarding stacks in chapter "Using Stacks" in the User Guide.
Version 2.2.0
Release Date: 2021-06-28
- Added: Number helper, used for working with numeric data respecting country-specific number formats.
Version 2.1.9
Release Date: 2021-05-26
- Changed: Pagination XMLHTTP requests are now recognized using an X-Requested-With header. Modified command rigAjaxPagination and function rigAjaxPaginationCode() in system/libraries/Pagination.livecodescript.
- Changed: HTTP headers are now converted to all uppercase letters in function system/revigniter/Common.livecodescript -> rigGetHTTPheader().
- Changed: Added crossorigin parameter to function system/helpers/htmlHelper.livecodescript -> rigHtmlLinkTag().
Version 2.1.8
Release Date: 2020-10-19
- Changed: Handlers system/helpers/otpHelper.livecodescript -> rigOTPgenerate, rigOTPcompareKeys and rigOTPqrCode() now accept an array as parameter.
- Changed: Tweaked handler _rigSanitizeGlobals in system/libraries/Input.livecodescript. While checking POST data this handler now checks for JSON feed as well.
- Changed: The encryption key is now encoded to binary in system/libraries/Encrypt.livecodescript -> _rigGetEncryptionKey() and in system/libraries/Encrypt.livecodescript -> rigSetEncryptionKey.
- Added: JSON feed 1.1 MIME type to application/config/mimes.lc.
- Fixed: Browser version check in system/libraries/Useragent.livecodescript -> rigSetBrowser().
Version 2.1.7
Release Date: 2020-07-20
- Changed: Tweaked the JQuery tutorial in the User Guide taking enabled CSRF protection into account.
- Changed: Widened the conditions which determine if text area input fields should be used in scaffolding forms. See system/scaffolding/views/add.lc.
- Fixed: Removed superfluous slash in scaffolding links in system/scaffolding/Scaffolding.livecodescript -> rigScaffolding.
- Fixed: Length of "session_id" in table field definitions in chapter Session Library of the User Guide.
- Fixed: User Guide stylesheet.
Version 2.1.6
Release Date: 2020-03-11
- Added: Controllers can now be run via the command-line interface. Please see the Running revIgniter via the CLI section of the User Guide.
- Added: Info regarding CSRF protection errors in userGuide/installation/troubleshooting.html.
- Changed: Increased the default life time of CSRF cookies in application/config.config.lc.
- Changed: Removed LC server version 8 sample records and added authentication library database connection info in userGuide/libraries/authentication/authenticationTables.html.
- Changed: Tweaked retrieval of database settings in system/database/DBdriver.livecodescript -> rigFetchDBdriverSetting(), system/database/drivers/mysql/mysqlDriver.livecodescript -> rigDBconnect(), system/database/drivers/postgre/postgreDriver.livecodescript -> rigDBconnect() and in system/database/drivers/sqlite/sqliteDriver.livecodescript -> rigDBconnect().
- Changed: Streamlined error pages error404.lc, errorDB.lc and errorGeneral.lc in application/errors.
- Changed: Rephrased the 404 error message in system/libraries/Exceptions.livecodescript -> rigShow404Page.
- Fixed: Info on welcome page.
Version 2.1.5
Release Date: 2020-01-18
- Changed: Added a CSP (Content Security Policy) nonce parameter to function system/libraries/Pagination.livecodescript -> rigAjaxPaginationCode(), see Pagination Library.
- Changed: Tweaked function system/libraries/Pagination.livecodescript -> rigCreatePaginationLinks().
- Changed: Added a CSP nonce parameter to function system/helpers/assetHelper.livecodescript -> rigJsAsset(), see Asset Helper.
- Changed: Removed the redundant type attribute from script tags in function system/helpers/assetHelper.livecodescript -> rigJsAsset().
- Changed: Added a CSP nonce parameter to JavaScript script tags in function system/helpers/galleriaHelper.livecodescript -> rigGalleriaData() and rigDynamicGalleriaData(), see Galleria Helper.
- Changed: Finally bidding farewell to Google. Replaced the Google search bar with a privacy-friendly search bar in the User Guide.
Version 2.1.4
Release Date: 2019-10-21
- Added: Implemented the "SameSite" cookie attribute, see Cookie Helper.
- Changed: Tweaked JWT helper sample code.
Version 2.1.3
Release Date: 2019-09-23
- Fixed: Bug in function system/libraries/Authentication.livecodescript -> _rigAuthRegisterUser() which prevented new users to be registered.
Version 2.1.2
Release Date: 2019-09-12
- Changed: Empty data is now removed in function system/database/DBactiveRec.livecodescript -> rigDbValuesSet() before invoking database insert or update queries, i.e. inserts and updates no longer set table fields to empty if the corresponding array element passed to the active record library is empty. These fields are now left untouched pretty much as if the corresponding array element was absent. Keep this in mind if your current code depends on distinguishing e.g. NULL from empty. From now on using the active record library there is no way to turn NULL (or whatever the default value is) or any other field value to empty. This goes conform to how empty values passed to the active record library are treated to construct where clauses.
- Changed: Added library file name as passed to the loader library to the list of allowed name variants in handler system/libraries/Loader.livecodescript -> _rigLoadLibrary. So, restrictions regarding library names no longer exist with one exception: Don't use hyphens.
- Changed: Added stack name as passed to the loader library to the list of allowed name variants in handler system/libraries/Loader.livecodescript -> _rigLoadStack. So, restrictions regarding stack names no longer exist with one exception: Don't use hyphens.
- Changed: Changed: Tweaked code of handler _rigLoadLibrary in system/libraries/Loader.livecodescript.
Version 2.1.1
Release Date: 2019-08-28
- Added: Implemented an extra variant to retrieve URI strings. This may serve those who develop web apps using XAMPP.
- Added: URL decoding function rigUrlDecodeRFC() conforming to RFC 3986 (see system/revigniter/Common.livecodescript).
- Changed: Renamed function urlEncodeRFC() to rigUrlEncodeRFC() in system/revigniter/Common.livecodescript.
- Fixed: Issue which occurred when parameter pTimeStep was empty in system/helpers/otpHelper.livecodescript -> rigOTPgenerate (thanks Andrés).
Version 2.1.0
Release Date: 2019-06-28
- Added: One-time password helper used for two-factor authentication.
- Added: Two-factor authentication integrated in system/libraries/Authentication.livecodescript.
- Added: OTP options to the authentication settings in application/config/authentication.lc.
- Added: urlEncodeRFC function to system/revigniter/Common.livecodescript.
- Changed: Function rigAuthLoggedIn() in systen/libraries/Authentication.livecodescript. The function now conforms to the needs of two-factor authentication.
- Changed: Added license to pagination JS code in system/libraries/Pagination.livecodescript -> rigAjaxPaginationCode.
- Fixed: Processing form elements missing id or class name in system/libraries/Jquery.livecodescript -> rigJQajaxForm. This is especially important when CSRF protection is set to TRUE, because the hidden field has a name and no id or class name.
- Fixed: Replaced calls to deprecated handlers in system/libraries/Jquery.livecodescript -> rigRunInitialJqueryConfig.
Version 2.0.5
Release Date: 2019-05-07
- Changed: Added parameters to set values of custom and module config items in system/libraries/Config.livecodescript -> rigSetConfigItem.
- Fixed: Wrong file extension in file paths of sublibraries in system/revigniter/Common.livecodescript -> rigLoadLibrary.
Version 2.0.4
Release Date: 2019-04-21
- Added: Flag to system/database/DBactiveRec.livecodescript -> rigDbGet() to return the active record query string without processing the query.
- Changed: Replaced highlight.js with a custom version of version 9.15.6. in the User Guide.
- Changed: Removed redundant code in system/revigniter/Common.livecodescript -> rigFileSize().
- Fixed: Issue with tracking table name aliases in system/database/DBactiveRec.livecodescript -> _rigTrackAliases(). So far the function _rigTrackAliases stored every table name in the sActiveRecord["aliasedtables"] array.
- Fixed: Code example in chapter "Creating Libraries" of the User Guide.
- Fixed: Info about required server engine version in User Guide. Rephrased the server requirements info.
Version 2.0.3
Release Date: 2019-03-01
- Fixed: Wrong path to cache folder in system/libraries/Output.livecodescript -> _rigWriteCache.
- Fixed: Wrong path to application folder in case an absolute path was set for gRigA["applicationFolder"] in index.lc.
- Added: Handler which generates path to 404 error file in index.lc.
- Added: Workaround for unreliable server variables in system/libraries/URI.livecodescript -> _rigExplodeSegments.
Version 2.0.2
Release Date: 2019-02-26
- Fixed: Wrong path to Common.livecodescript in system/revigniter/RevIgniter.lc.
- Fixed: Info about server bug 15514 in chapter "Troubleshooting" of the User Guide.
- Fixed: Upgrade info for version 2.0.0 in chapter "Upgrading from 1.10.3 to 2.0.0" of the User Guide.
Version 2.0.1
Release Date: 2019-02-18
- Fixed: Missing variable declaration in application/config/autoload.lc and in application/modules/modulesample/config/autoload.lc.
Version 2.0.0
Release Date: 2019-02-16
General Changes
- Changed: revIgniter now requires LiveCode server engine version 9.0 or higher.
- Changed: Converted Libraries, Helpers, Plugins (now Helpers) and Drivers to script only stacks.
- Changed: Models and Hooks need to be script only stacks too from now on. Note: Use the .livecodescript file extension for your own script only stacks.
- Changed: Most libraries provide a getter function and a setter command so that native library script variables can be accessed. Read about library getters and setters in chapter "Creating Libraries".
- Changed: Within script only stacks the constants in application/config/constants.lc need to be accessed using the rigConstant() function.
- Changed: All Plugins have been converted to Helpers. Legacy rigLoadPlugin calls will be redirected to handler rigLoadHelper.
- Changed: The application folder has been moved outside the system folder. If you don't like this you can move it back without changing any script.
- Changed: Moved the system/cache directory to the application directory.
- Changed: Moved the system/logs directory to the application directory.
- Changed: The global variables gSystemFolder, gEXT, gFCPATH, gSELF, gBASEPATH, gAPPPATH, gErrorData, gDocTypes, gController, gHandler, gModule, gDatabaseID, gCOOKIE, gSegments, gRSegments, gApplicationFolder, gActiveRecord are all combined into one single global array variable called gRigA. So, for example gSystemFolder becomes gRigA["systemFolder"], gEXT becomes gRigA["EXT"] etc. This reduces the number of reserved names considerably.
- Changed: Replaced gActiveRecord with gRigA["activeRecord"] in config/database.lc.
- Changed: Replaced fetchValidationConf() with rigFetchValidationConf() used in form validation files.
- Changed: Updated list of user agents in application/config/useragents.lc.
- Changed: Replaced gConfig array index name "methodTrigger" with "handlerTrigger".
- Added: "Copy" buttons to User Guide code examples where appropriate.
- Changed: Replaced code to check direct file access in all files.
- Changed: Replaced gErrorData with gRigA["errorData”] in error pages.
- Changed: Replaced gDocTypes with gRigA["docTypes"] in application/config/doctypes.lc.
- Changed: Replaced all occurrences of gHooks with gHooksA.
- Changed: Replaced all occurrences of rigCeil() with the LC ceil() function. rigCeil() is now deprecated.
- Changed: Removed all defaultFolder switching, files([targetFolder]) or folders([targetFolder]) is used instead (requires LC ≥ 8.1).
- Changed: Replaced all occurrences of "<?rev" with "<?lc".
Libraries
- Changed: Removed Loader LC 8 patch LoaderLC8patch.lc in system/libraries.
- Changed: Removed Plugin related code in Loader.livecodescript. rigLoadPlugin calls are now redirected to rigLoadHelper.
- Changed: Replaced all occurrences of gConfig["methodTrigger"] with gConfig["handlerTrigger"].
- Changed: Set the default path to the cache directory to application/cache in Output.livecodescript -> _rigWriteCache and _rigOutDisplayCache(). Adjusted application/config/config.lc accordingly.
- Changed: Set the default path to the logs directory to application/logs in Log.livecodescript -> _rigSetDefaultValues. Adjusted application/config/config.lc accordingly.
- Changed: Removed shell call "uuidgen" from Session.livecodescript -> rigSessCreate and rigSessUpdate.
- Changed: Adjusted function Session.livecodescript -> rigSessRead() to respect the modification of the revigniter -> rigHexDigest() function.
- Changed: Authentication.livecodescript -> rigAuthRememberUser now uses messageDigest() in a LC server 9 environment to generate a salt.
- Changed: Removed shell call "uuidgen" from Common.ivecodescript -> rigUniqid().
- Changed: Common.ivecodescript -> rigHexDigest() now uses messageDigest() in a LC server 9 environment to generate a salt.
- Added: Function rigDefaultCharset() to the Common.ivecodescript library.
- Added: Function rigIsAbsolutePath() to the Common.ivecodescript library.
- Changed: Removed all handlers formerly introduced to go conform with the Unicode support of LiveCode 7 and up in Common.ivecodescript.
- Changed: Handler rigMailAttach in library Email.livecodescript now verifies that parameter pFilename is an absolute path.
- Changed: Removed deprecated (mail protocol) _rigSendWithMail handler in Email.livecodescript, modified function _rigSpoolEmail() accordingly. Mail was deprecated.
- Changed: Replaced handler rigSet_sAltMessage with handler rigSet_altMessage in Email.livecodescript. Calls to legacy rigSet_sAltMessage will be redirected to rigSet_altMessage.
Helpers
- Changed: Removed deprecated function rigArrayMerge() in arrayHelper.livecodescript.
- Changed: Session drivers handler _rigInitializeSessFilesDriver now verifies that gSessionA["sess_save_location"] is an absolute path.
Bug Fixes for 2.0.0
- Fixed: Replaced "exit" with "next repeat" in system/libraries/Loader.livecodescript -> rigLoadHelper and rigLoadExtension.
- Fixed: Function rigSendEmail() in system/helpers/emailHelper.livecodescript, removed escaping of shell characters in message body as it is taken from a file.
- Fixed: Set the correct item delimiter in handler _rigCreateSessionFolder of session drivers.
Version 1.10.3
Release Date: 2019-01-04
- Fixed: Typo "pDeafult" in system/libraries/Jquery.lc -> rigJQpromptR().
- Fixed: Added missing header to error page in system/database/DBdriver.lc -> rigDbDisplayError.
- Fixed: Issues in system/libraries/Email.lc -> _rigSendSmtpCommand, _rigDataFromSmtpSocket and rigUnwrappedWrapMarkersString.
- Fixed: Missing quotation marks in system/libraries/Formvalidation.lc -> _rigFormValidExecute.
- Fixed: Missing quotation marks in system/libraries/FTP.lc -> rigFtpLisFiles, rigFtpUpload, rigFtpDownload, rigFtpDoRawCommands and _rigFtpPrepareTransfer.
- Fixed: Added "sHooksfiles" to local variables in system/libraries/Hooks.lc.
- Fixed: Missing quotation marks in system/libraries/Loader.lc -> _rigPrepareExtensionsArray.
- Fixed: Ambiguous variable names (tExt) in system/libraries/Upload.lc -> _rigPrepFilename(), rigIsAllowedFileType(), rigGetImageSize() and rigLimitFilenameLength().
- Fixed: List of reserved names in the User Guide.
Version 1.10.2
Release Date: 2018-11-12
- Added: Digest types "SHA-384" and "SHA-512" to the JWT helper. Complemented the User Guide accordingly.
- Added: SHA3 prepping handler to form validation in system/libraries/Formvalidation.lc -> rigSha3. Complemented the User Guide accordingly.
- Fixed: Incorrect status code sent on routing to a custom 404 error page. See system/libraries/Router.lc -> _rigValidateRequest.
- Fixed: Version check used incorrect item delimiter in system/libraries/Encrypt.lc -> rigSetHash and rigHash().
Version 1.10.1
Release Date: 2018-10-29
- Added: Function to generate a nonce as used by CSP (Content Security Policy) headers. See system/revigniter/Common.lc -> rigNonce().
- Added: Info regarding the new parameter "pNonce" for rigCaptchaStyle() in User Guide, see Captcha Library.
- Added: Info regarding function rigNonce() to the User Guide, see Captcha Library.
- Changed: Added optional nonce to captcha style tags in system/libraries/Captcha.lc -> rigCaptchaStyle().
- Changed: Added LC built-in function uuid() to system/revigniter/Common.lc -> rigUniqid() as an option to generate a unique identifier.
- Changed: Modified code to generate an UUID in system/libraries/Input.lc -> _rigCSRFsetHash and in system/helpers/stringHelper.lc -> rigRandomString().
- Changed: Set the default value for sess_expire_on_close in system/application/config/config.lc to TRUE.
- Fixed: Bug in system/libraries/Output.lc -> _rigDisplay caused authentication auto-login to fail.
Version 1.10.0
Release Date: 2018-09-24
- Added: FTP library. Note: This library requires the tsNet LiveCode external. Asynchronous SFTP and SFTP using public key authentication need LC Business Edition.
- Added: Link to a real-world example of a HMVC module to the "Modules" chapter of the User Guide. The module can be found at https://gitlab.com/rabitt/revigniter-jsonfeed-module.
Version 1.9.8
Release Date: 2018-06-24
- Changed: Modified DB handlers system/database/DBresult.lc -> rigDBresult(), _rigFetchResultArray() and system/database/DBdriver.lc -> rigDBquery() so that "SELECT IF" and "SELECT GREATEST" queries work as expected as long as you don’t use rigDBrow() to retrieve result data. Use something like tQueryResult["resultarray"][1][1] instead. Actually this is a fix for an issue of LiveCode’s built in database handlers.
- Fixed: Formatting of dates in system/helpers/dateHelper.lc -> rigTranslateDateItem(), added format RFC2822.
- Fixed: Date formats in chapter "Date Helper" of the User Guide.
- Fixed: Bug in system/revigniter/Common.lc -> rigStripHTML().
- Fixed: Documentation bug regarding sockets. Write to socket does not work on Mac OS X, Linux is not affected by LC server bug 15514.
Version 1.9.7
Release Date: 2018-04-12
- Added: Contributing guidelines Markdown file
- Added: Pull request and issue templates
- Added: Markdown documentation template. See userGuide/docStyle/index.html
- Added: Info to the User Guide regarding the new Markdown documentation template. See userGuide/docStyle/index.html
- Changed: Removed html and type tags from JS asset locations in system/helpers/assetHelper.lc -> rigJsAssetURL() and rigJsAsset()
- Changed: Added info regarding broken socket callback messages to the User Guide. See section Troubleshooting of the User Guide
- Changed: system/libraries/Loader.lc and system/libraries/LoaderLC8patch.lc. An extension resource path can now be specified by appending a path (relative to the extensions folder path) to the extension folder name. See section Extensions of the User Guide
- Changed: Adjusted User Guide info regarding loading extensions
- Fixed: Issue which affected custom libraries in system/libraries/Loader.lc -> _rigLoadLibrary
- Fixed: Made comparing form fields case sensitive in libraries/Formvalidation.lc -> rigMatchesR
- Fixed: Made password validation case sensitive in libraries/Authentication.lc -> rigAuthValidatePassword()
- Fixed: Documentation bug in chapter "Authentication" of the User Guide
Version 1.9.6
Release Date: 2017-06-27
- Added: Hash type preference to system/application/config/authentication.lc.
- Added: Instructions to the User Guide for handler rigSetHash of the encryption library.
- Changed: Minor tweaks in system/helpers/jwtHelper.lc -> rigJWTencode() and _rigJWTverifySig().
- Changed: system/libraries/Encrypt.lc, implemented new digest types introduced in server 9.0.0 DP7.
- Changed: system/libraries/Authentication.lc, implemented new digest types introduced in server 9.0.0 DP7. Added a key "hashType" to the sAuthentification Array in system/application/config/authentication.lc.
- Changed: Adjusted matchText() calls to requirements of LC version > 8.1.4 and LC version > 9.0.0dp7. Since LC version 8.1.5 and 9.0.0 dp 7 variables in the "foundTextVarsList" must be declared before calling the matchText() function. Affected files: DBactiveRec.lc, DBdriver.lc, mysqlDriver.lc, postgreDriver.lc, sqliteDriver.lc, emailHelper.lc, fileHelper.lc, urlHelper.lc, Calendar.lc, Config.lc, Email.lc, Formvalidation.lc, Input.lc, Jquery.lc, Loader.lc, Output.lc, Profile.lc, Router.lc, Trackback.lc, Upload.lc and Useragent.lc.
- Changed: Moved handler _rigFetchAssoc from DB drivers to system/database/DBresult.lc -> _rigFetchResultArray, thanks Bob.
- Changed: system/libraries/Session.lc and system/application/config/config.lc, implemented new digest types introduced in server 9.0.0 DP7.
- Fixed: Redundant line of code in system/Database/DBdriver.lc -> rigDBquery() and rigCompileBinds().
- Fixed: Description of function rigListFiles() in system/helpers/fileHelper.lc.
- Fixed: Removed unused handler rigUrlDecodeStr in system/libraries/Formvalidation.lc.
- Fixed: Upper and lower case of file name "myForm.lc" in chapter "Form Validation" of the User Guide.
- Fixed: Regular expression used to remove unwanted characters in system/revigniter/Common.lc -> rigTrim().
Version 1.9.5
Release Date: 2017-01-23
- Fixed: system/revigniter/Common.lc -> rigCeil() didn’t work for negative numbers.
- Fixed: Bug in system/helpers/assetHelper.lc -> rigJsAsset() which prevented Google Apis CDN libraries to be served over https.
- Fixed: system/libraries/Authentication.lc -> rigAuthAddToGroup, this handler added users to groups even if the user was already a member of the group.
Version 1.9.4
Release Date: 2016-11-05
- Fixed: Bug in system/libraries/Output.lc -> _rigDisplay. Content-Type headers sent to the browser using rigSetHeader were overwritten in case gConfig["charset"] in config.lc was not empty.
Version 1.9.3
Release Date: 2016-10-18
- Fixed: system/revigniter/Common.lc -> _rigStrToArray(), this bug potentially affected the use of the email library, the authentication library and the JWT helper.
Version 1.9.2
Release Date: 2016-10-08
- Changed: Added recursion to system/helpers/arrayHelper.lc -> rigElementsList() to support multidimensional arrays.
- Changed: Now union is used to merge arrays in system/helpers/arrayHelper.lc -> rigArrayMerge(). Actually this function exists for backward compatibility reasons and is not mentioned anymore in the User Guide as it is deprecated.
- Changed: Revised the troubleshooting section of the User Guide. Added info regarding error logs and access permissions for system/logs. Added info regarding cookies not being sent.
- Fixed: CSRF protection in system/libraries/Input.lc -> rigCSRFverify.
- Fixed: Updated links to the new home of Galleria in chapter "Galleria Plugin" of the User Guide.
Version 1.9.1
Release Date: 2016-08-07
- Added: The upload library now supports uploading multiple files. Complemented the User Guide accordingly. Please read about uploading directories (multiple files) in chapter "File Uploading Library".
- Added: sort option to system/helpers/formHelper.lc -> rigFormDropDown() and a sort handler to system/revigniter/Common.lc. Complemented the User Guide accordingly. Please read about sorting drop-down field options in chapter "Form Helper".
- Changed: Removed errorsList.txt, the scriptExecutionErrors is now used to get the errors list of the currently running server engine. So, the list is always up to date and handling execution errors is faster.
Version 1.9.0
Release Date: 2016-07-19
- Added: JSON Web Token helper. Thanks to the wonderful work of the late Mark Smith revIgniter now handles JSON Web Tokens. Please read about the JWT helper in chapter "JWT Helper".
- Added: chapter "JSON Web Token Helper" to User Guide.
- Added: LiveCode Builder (library) extensions can now be loaded using the Loader library. Modified system/libraries/Loader.lc, system/application/config/autoload.lc and system/application/modules/moduleSample/config/autoload.lc. Added an extensions folder to system, to system/application and to system/application/modules/moduleSample. Please read about loading LiveCode Builder extensions in chapter "Extensions".
- Added: info to User Guide regarding loading LiveCode Builder (library) extensions. Added chapter "Extensions" to User Guide.
- Added: system/libraries/LoaderLC8patch.lc, this file includes code which is compatible with engine version 8 or higher only and is externalized for backward compatibility reasons.
- Added: Cookie values can be arrays.
- Changed: Complemented the User Guide regarding settings for session cookies and added hint that arrays can optionally be used as cookie value.
- Changed: Added parameter defining the number of bytes used for calculation in system/libraries/Input.lc -> rigXssHash().
- Changed: Tweaked function system/revigniter/Common.lc -> _rigStrToArray() so that strings can now be converted to associative arrays too.
- Changed: Tweaked User Guide regarding infos for helpers, plugins and libraries.
- Fixed: chapter "Troubleshooting" of the User Guide.
Version 1.8.3
Release Date: 2016-06-30
- Changed: Added leading zeros to umask constants in system/application/config/constants.lc
- Fixed: Set the convertOctals to true before setting the umask in system/database/DBcache.lc -> rigWriteSQLcache().
- Fixed: There was an issue with modules autoloading helpers / plugins. Modules autoloading helpers / plugins yielded an error in case the helper / plugin in question was already loaded.
- Fixed: Missing User Guide entry for function rigSqlDateTimeToIntDate() in chapter "Database Library" section "Query Helpers".
- Changed: Tweaked rigSiteLinks() function in system/plugins/sitelinksPi.lc. Now the paragraph selector can be optionally different from the div selector.
Version 1.8.2
Release Date: 2016-06-19
- Changed: Increased font sizes of the User Guide (thanks to Bob Hall for providing the modifications).
- Fixed: Issue with multipart/form-data and empty $_POST. This addresses engine bug 17160 which is fixed since LiveCode version 7.1.4 RC-1.
- Changed: Tweaked instructions and code of the sample chat app in the User Guide.
- Changed: Removed "http:" from JQuery URL in system/libraries/Jquery.lc -> rigJQuerySource(). This will use http or htps, whichever protocol a page was requested with.
- Changed: Tweaked info in system/application/config/database.lc.
- Changed: Tweaked generation of anchors in rigAutoLink() and rigAnchorPopUp(). This addresses security issues of _blank targets. Windows opened using JavaScript or target="_blank" have access, even though limited, to the parent window. Unfortunately, the solution provided by rigAnchorPopUp() does not work for Safari. So, think carefully before using rigAnchorPopUp() for anything that requires high security, especially if you are dealing with user-generated content.
Version 1.8.1
Release Date: 2016-03-09
- Fixed: Missing scaffolding language file error. Modified system/libraries/Language.lc -> rigLangLoadLang() and system/libraries/Loader.lc -> rigLoadScaffoldingLanguage(). This bug was introduced with the implementation of modules and affected scaffolding only.
Version 1.8
Release Date: 2016-01-04
- Added: HMVC functionality. revIgniter now supports modules and widgets / view partials. Added system/libraries/Modules.lc. Modified system/libraries/Config.lc, system/libraries/Language.lc, system/libraries/Loader.lc, system/libraries/Router.lc and system/revigniter/RevIgniter.lc. Please read about HMVC - Extending the Model-View-Controller Pattern, Modules and the Modules Library in the User Guide.
- Fixed: Missing commas in SQL query string produced by using rigDbDelete() in combination with rigDbWhereIn. Fixed in system/database/drivers/mysql/mysqlDriver.lc ->_rigDelete(), system/database/drivers/postgre/postgreDriver.lc ->_rigDelete() and system/database/drivers/sqlite/sqliteDriver.lc ->_rigDelete().
- Fixed: Verification of URI segments in system/libraries/URI.lc -> _rigFilterUri().
- Fixed: Bug in Jquery.lc -> rigJQuerySource() which affected those installations using "index.lc" in URIs.
- Changed: Tweaked loops in system/libraries/URI.lc -> _rigExplodeSegments and _rigUriToAssoc(), in system/libraries/URI.lc -> _rigUriToAssoc().
Version 1.7.4
Release Date: 2015-11-15
- Changed: Modified regular expression in system/database/DBdriver.lc -> _rigHasOperator(). This modification is needed for subqueries.
- Added: subquery functionality to the active record library. Modified rigDbWhere and rigDbGet() in system/database/DBactiveRec.lc.
- Added: User Guide, added info about subqueries.
Version 1.7.3
Release Date: 2015-10-21
- Fixed: issue regarding escaping wildcard characters in system/database/drivers/postgre/postgreDriver.lc -> rigEscapeStr() and in system/database/drivers/sqlite/sqliteDriver.lc -> rigEscapeStr(). Statements used to replace wildcard characters were in the wrong order.
- Changed: Rolled back workaround of version 1.7.2 for engine bug 15946. This bug is fixed since LiveCode version 8.0.0 DP 7 and 7.1.1 RC 1.
Version 1.7.2
Release Date: 2015-10-02
- Added: handlers rigAddValidationGrp and rigAddValidationRules to system/libraries/Formvalidation.lc to reduce the amount of code needed to prepare a form validation array variable in system/application/config/validation.lc (thanks Alex). Please see the Saving Sets of Validation Rules to a Config File section of the User Guide.
- Added: session driver files system/libraries/sessionDrivers/sessionFilesDriver.lc and system/libraries/sessionDrivers/sessionDatabaseDriver.lc. These are required by the enhanced session library.
- Changed: User Guide, info about the SMTP protocol (see Email library) on Linux.
- Changed: User Guide, info about requirements for the Trackback library on Linux.
- Changed: Set Sendmail to the default mail protocol in system/libraries/Email.lc. Adjusted the UserGuide accordingly.
- Changed: Tweaked security measures regarding the do command, _rigDo respectively in system/revigniter/RevIgniter.lc.
- Changed: Renamed the rigFetchControllerMethods function and the sControllerMethods variable in system/libraries/Controller.lc and system/revigniter/RevIgniter.lc.
- Changed: Tweaked system/RevIgniter/common.lc -> _rigExceptionHandler to speed up handler execution.
- Changed: Added brackets to regex in system/library/Input.lc -> _rigCleanInputKeys() to address an issue with $_POST key names in server 7 and up.
- Changed: Modified system/library/Input.lc -> _rigSanitizeGlobals to address an issue related to $_POST_RAW key value pairs and server ≥ 7. Using server 7 and up $_POST_RAW key value pairs of form checkboxes are not converted to arrays In $_POST.
- Changed: Tweaked checking for field names being arrays in system/libraries/Formvalidation.lc -> rigSetRules.
- Changed: Replaced "include" with "require" in system/database/DB.lc, system/database/DBdriver.lc, system/helpers/downloadHelper.lc, system/helpers/fileHelper.lc, system/helpers/htmlHelper.lc, system/libraries/Authentication.lc, system/libraries/Config.lc, system/libraries/Formvalidation.lc, system/libraries/Hooks.lc, system/libraries/Language.lc, system/libraries/Router.lc, system/libraries/Useragent.lc and system/revigniter/Common.lc.
- Changed: Made revIgniter Windows friendly. So far construction of the server path did not account for Windows environments.
- Changed: Removed needless code in system/libraries/Session.lc -> rigUnsetSessUserdata.
- Changed: Tweaked system/libraries/Session.lc -> _rigFlashdataMark.
- Changed: Modified the section "Session Variables" in system/application/config/config.lc. This is required by the new enhanced session library.
- Changed: Revised the session library. Transfered relevant code to the new session driver files. Added handlers to enhance the current library and to address the requirements for session temp data items. Session data can now be stored in plain text files. Please read about the new Session Library in the User Guide.
- Fixed: User Guide, revised MySQL prototype of session database table to address IPv6 requirements.
- Fixed: system/libraries/Input.lc -> rigVarPost() should return FALSE instead of empty in case $_POST is empty.
- Fixed: bug in system/libraries/Authentication.lc -> _rigAuthRegisterUser() which takes effect in case the user name is used to identify a user and there are multiple users with the same email address (thanks Alex).
- Fixed: variable name in system/helpers/fileHelper.lc -> rigFilterDots().
- Fixed: type of data the function system/database/DBdriver.lc -> rigDbVersion() returns. This function now returns a string as proposed primarily instead of an array.
- Fixed: Removed needless "then" keyword in system/libraries/Input.lc -> _rigValid_ipv4(). This was overlooked because server engine versions prior to 8 were forgiving and didn't complain. Engine 8 yields an error.
Version 1.7.1
Release Date: 2015-08-10
- Added: Parameter for async and / or defer attribute to system/helpers/assetHelper.lc -> rigJsAsset().
- Added: Info about new parameter for asset helper function rigJsAsset() in User Guide.
- Added: Parameter for https to system/helpers/urlHelper.lc -> rigUrlPrep(). Adjusted the User Guide accordingly.
- Added: Info about new parameter for url helper function rigUrlPrep() in User Guide.
- Added: Extended the list of platforms, browsers, mobiles and robots in system/application/config/useragents.lc.
- Added: Extended the list of mime types in system/application/config/mimes.lc.
- Added: "-" and "_" as valid separators to system/helpers/urlHelper.lc -> rigUrlTitle().
- Added: Optional third parameter to system/helpers/formHelper.lc -> rigSetValue(), allowing to turn off HTML escaping of the value.
- Added: Extra SQL operators to check for in system/database/DBdriver.lc -> _rigHasOperator().
- Added: Support for rigDbJoin with multiple conditions, added function _rigDbJoinConditionsArray() to split multiple conditions to system/database/DBactiveRec.lc.
- Added: Optional fourth parameter to system/database/DBactiveRec.lc -> rgDbJoin which allows to prevent protecting field and table names with backticks.
- Added: Info regarding modifications to system/database/DBactiveRec.lc -> rgDbJoin in User Guide.
- Changed: Tweaked User Guide instructions regarding the Trackback library.
- Changed: Tweaked info about server version 7 and SQLite in the troubleshooting section of the User Guide.
- Fixed: Case where URL passed to system/helpers/urlHelper.lc -> rigUrlPrep() already starts with "http://".
- Fixed: Bug in system/helpers/urlHelper.lc -> rigUrlTitle() which affected those using server version ≥ 7.
Version 1.7.0
Release Date: 2015-06-17
- Added: New! Trackback library.
- Added: Function system/revigniter/Common.lc -> rigConvertEncoding() which is needed by the trackback library.
- Added: Extended the User Guide with instructions regarding the new Trackback library.
- Added: User Guide comment regarding failure to connect to a SQLite database on Linux.
- Changed: system/libraries/Router.lc -> _rigParseURL(), URLs missing username and password are now fully parsed too.
- Changed: User Guide, info about the SMTP protocol (see Email library) on Linux.
- Changed: Revised the troubleshooting page of the User Guide.
- Fixed: Removed info in the User Guide about script limits which don’t apply anymore since LiveCode went open source.
- Fixed: Function system/revigniter/Common.lc -> rigCodePointToNum().
Version 1.6.24
Release Date: 2015-05-11
- Changed: Completed LiveCode tags to check for in system/libraries/Input.lc -> rigXssClean().
- Fixed: The base URL was wrong in case none was provided through config.lc and the URI segments included spaces. See system/libraries/config.lc -> _setBaseURL.
- Added: Function rigURLstripSpace() in system/helpers/urlHelper.lc. Used to remove or replace whitespace in URLs. Added related info to the User Guide.
Version 1.6.23
Release Date: 2015-05-04
- Fixed: system/libraries/Captcha.lc -> rigCaptchaCode. The captcha library now works with LiveCode 7.
- Changed: Removed CDATA tag in system/helpers/urlHelper.lc -> rigSafeMailToLink().
- Changed: Made the pSender parameter in system/helpers/emailHelper.lc -> rigSendEmail() optional to address the fact that the behavior of double dash in shell commands used to send emails has changed. Adjusted the User Guide accordingly. Note: The number of parameters for rigSendMail() has changed. If you used this function with previous revIgniter versions you should make adjustments accordingly.
- Changed: Converted less than signs in mail debugging data to entities so that email addresses are not interpreted as tags (see system/libraries/Email.lc -> rigPrintMailDebugger().
- Changed: Made the sender address optional for sending mail using the default protocol setting to send emails through the command line (see system/libraries/Email.lc -> _rigSendWithMail()). Adjusted the User Guide accordingly. Since the behavior of double dash in shell commands used to send emails has changed it is preferred to not set the sender address if you use the default protocol setting (mail). Using this setting the sender field appears as "<username@domain.com>" in default configurations. It's the account name and host name of the sending user.
- Changed: Updated highlight.pack.js used for code highlighting in the User Guide.
Version 1.6.22
Release Date: 2015-04-23
- Changed: AJAX code in pagination library. The click event target is now switched to parent node if the event target node name is not "A".
- Changed: Added ARIA labels to pagination links in system/libraries/Pagination.lc -> rigCreatePaginationLinks().
- Added: Info about the "ajaxrequest" segment added to pagination links by the AJAX pagination script. See section "Pagination Library" of the User Guide.
- Added: Comments regarding rigAuthAddToGroup. See section "Authentication Library" of the User Guide.
- Fixed: Typo in value of sPagLastLink variable of the pagination library.
- Fixed: Missing slash in base URL of assets in case none is provided in config.lc and cache busting is enabled.
- Fixed: Missing parenthesis in system/libraries/Input.lc -> _rigHtmlEntityDecode(). On MacOS the result of put URL "binfile:/path/to/file" (without using parethesis) is "invalid URL: binfile:"
Version 1.6.21
Release Date: 2015-02-24
- Fixed: Encrypted sample password in database tables of the authentication section of the User Guide.
- Fixed: Info about encryption key in system/application/config/authentication.lc.
- Added: Info about placing the system and application folder above web root. See section Installation Instructions of the User Guide.
Version 1.6.20
Release Date: 2015-02-14
- Fixed bug in system/libraries/Encrypt.lc -> rigGetEncryptionKey().
- Revised info regarding encryption in the User Guide.
- Fixed bug in system/libraries/Email.lc -> _ricSmtpConnect which prevented custom port numbers to be used.
- Fixed bug in system/libraries/Email.lc -> _rigSendSmtpData which caused this handler to wait for ever.
- Revised info regarding the implementation of the SMTP protocol.
Version 1.6.19
Release Date: 2015-02-02
- Improved security regarding file uploads. Modified system/libraries/Upload.lc -> rigDoUpload. Added handler _rigFileMimeType to detect mime types of uploaded files using a shell command.
- There is no need to declare globals gControllerHandlers and gData in your controllers anymore. Moved declaration of these variables from controllers to system/revigniter/RevIgniter.lc. Adjusted the User Guide accordingly.
- Modified system/revigniter/Common.lc -> rigFile_get_contents() and _rigExceptionHandler(), system/database/DBcache-lc -> rigReadSQLcache(), system/Helpers/assetHelper.lc -> rigDynamicCssAsset(), system/helpers/fileHelper.lc -> rigReadFile() and rigReadBinFile(), system/helpers/formmailHelper.lc -> rigFormMail(), system/libraries/Exceptions.lc -> rigShowErrorPage(), system/libraries/Input.lc -> _rigHtmlEntityDecode(), system/libraries/Loader.lc -> _rigLoad(), system/libraries/Log.lc -> rigWriteLog, system/libraries/Output.lc -> rigWriteCache and system/plugins/galleriaPi.lc -> rigGalleriaData().
These handlers now check the result of file reads and log sysError() values on failure. - Modified system/database/DBcache.lc -> rigWriteSQLcache(), system/database/drivers/postgre/postgreResult.lc -> rigFieldData(), system/Helpers/assetHelper.lc -> rigDynamicCssAsset(), system/Helpers/emailHelper.lc -> rigSendEmail(), system/libraries/Email.lc -> _rigSendWithMail(), system/libraries/Output.lc -> rigWriteCache and systems/plugins/markdownPi.lc -> rigMarkdown().
These handlers now check the result of file writes and log sysError() values on failure. - Fixed bug in system/libraries/Input.lc -> rigCSRFshowError which caused a server error in case a CSRF verification failed.
- Revised the chat tutorial in the User Guide.
Version 1.6.18
Release Date: 2015-01-23
- Bug fix in system/database/drivers/sqlite/sqliteDriver.lc. Adjusted rigEscapeStr() to comply with the requirements of SQLite.
Version 1.6.17
Release Date: 2015-01-13
- Made adjustments to address a change in the binary string returned by arrayEncode() in LiveCode 7. Modified in this respect system/helpers/cookieHelper.lc, system/libraries/Input.lc and system/libraries/Session.lc.
- Changed info in chapter "Input Library" of the User Guide regarding LiveCode Arrays in POST data. To send LiveCode arrays to revIgniter using POST you should use base64Encode(arrayEncode(myArray)) instead of urlEncode(arrayEncode(myArray)).
Version 1.6.16
Release Date: 2015-01-09
- Added default character set setting used by handlers that require a character set to be provided in system/application/config/config.lc.
- Added functions rigNumToCodepoint(), rigNumToNativeChar(), rigCodepointToNum(), rigNativeCharToNum() and rigTextDecode() to system/revigniter/Common.lc to address the Unicode support of LiveCode 7 while maintaining backward compatibility.
These functions will be obsolete and therefor removed some day in the future when backward compatibility for server versions prior to 7 will be dispensable. - Made adjustments to go conform with the Unicode support of LiveCode 7 in system/libraries/Input.lc -> _rigHtmlEntityDecode(). This function now respects the new charset setting in system/application/config/config.lc.
- Made lots of other modifications to support LiveCode 7, too many to be listed in detail here. Please check the GitHub repo for details.
- Modified function _rigGetMessageID() in system/libraries/Email.lc so that the mail message-id is always shown in mail debugger.
- Fixed bug in system/libraries/Email.lc -> rigWord_wrap() which affected newline standardization.
- Fixed misuse of "repeat for each" control structure in system/revigniter/common.lc -> rigUcwords(). This function failed in LiveCode 7.
- Added SQLite version of authentication tables to chapter "Authentication Library" of the User Guide.
Version 1.6.15
Release Date: December 21, 2014
- Fixed bug in system/database/DBactiveRec.lc -> rigDbSelect and _rigCompileSelect which could have caused wrong order of database field names under certain circumstances.
Version 1.6.14
Release Date: December 04, 2014
- DBdriver: Fixed false substitution of bind markers > :9 in system/database/DBdriver.lc -> rigCompileBinds().
- Replaced do commands in system/revigniter/RevIgniter.lc with new handler _rigDo. In LiveCode server version 7 the do command does not work outside of handler context anymore.
- Removed setting in config.lc for temporary file path. The system's temp file path is used instead.
- Revised prototypes of session database tables in the User Guide, added a SQLite version.
Version 1.6.13
Release Date: May 28, 2014
- Fixed bug in system/database/DB.lc -> rigDB() which caused an error if a database connection was made manually by passing an array.
- Adjusted system/database/DBdriver.lc -> rigDbListFields function to support SQLite.
- Fixed missing error logs in rigNumRows of all database drivers.
- Various User Guide improvements.
- Modified system/database/drivers/sqlite/sqliteDriver.lc -> rigDbConnect() so that this function is now backward compatible with server engine versions prior to 6.6.0.
Version 1.6.12
Release Date: April 16, 2014
- Fixed bug in system/application/config/database.lc. The database group name for SQLite options was wrong.
Version 1.6.11
Release Date: April 16, 2014
- Added support for SQLite.
- Made adjustments such that revIgniter goes conform with the Unicode support of LiveCode 7.0
Version 1.6.10
Release Date: March 03, 2014
- Revised the Pagination.lc library. Pagination now optionally works with AJAX.
- Complemented the User Guide accordingly, revised the pagination preferences section and added a more comprehensive pagination example.
Version 1.6.9
Release Date: February 16, 2014
- Added a completely ImageMagick free stack file version of the Image.lc library. This version requires server engine 6.5.0 or higher and, in case the Linux server engine is used, PangoFT2 and Glib.
- The Upload.lc library is no longer dependent on ImageMagick.
- Added field numbers array, containing field names as keys and field numbers as values, to database query result data. Please see the Query Results section of the User Guide.
- Fixed bug in system/libraries/Image.lc -> rigDisplayImgErrors() which prevented to display error messages while processing images.
Version 1.6.8
Release Date: February 02, 2014
- Fixed bug in system/libraries/Upload.lc -> rigUploadMimesTypes. Due to engine changes this function didn't work anymore in case "AllowedTypes" was set to anything other than "*".
Version 1.6.7
Release Date: January 17, 2014
- Bug fix in index.lc. Renaming and relocating the application folder and / or the system folder now works as expected.
- Added more info about renaming and relocating the application folder and system folder to chapter "Managing Applications" of the User Guide.
- Minor tweaks and enhancements to the User Guide.
Version 1.6.6
Release Date: November 02, 2013
- The User Guide is now responsive.
- Fixed bug in system/database/DBdriver.lc -> rigCompileBinds. This fix applies to database query bindings using values containing commas.
- Set the http only parameter for CSRF cookies to true in system/libraries/Input.lc -> rigCSRFsetCookie.
- Added missing rules to the sRuleNames rules list of the form validation library.
- Fixed bug regarding missing output data in case of nested views (thanks Alex). File changed: system/libraries/Loader.lc -> _rigLoad.
Version 1.6.5
Release Date: September 07, 2013
- Added HttpOnly flag to cookie parameters. Modified rigSetCookie in system/helpers/cookieHelper.lc. Modified _rigInputSetCookie in system/libraries/Input.lc.
- Replaced uuidgen shell calls with LiveCodes's uuid() function (this applies to server version ≥ 6.1 only).
- User Guide: Added instructions on how to implement the Quartam PDF Library stack.
- Fixed bug regarding nested views being limited to 2 levels (thanks Alex). Files changed: system/libraries/Loader.lc -> _rigLoad and system/libraries/Output.lc -> _rigDisplay
- Fixed bug in system/libraries/Loader.lc -> _rigLoad whiched caused in some circumstances a variable to be over-written in case of nested views (thanks Alex).
Version 1.6.4
Release Date: July 01, 2013
- The Input.lc library now handles compressed and uncompressed LiveCode arrays as well as JSON data. Please see the Input and Security Library section of the User Guide
- Fixed bug in system/helpers/downloadHelper.lc -> rigForceDownload. Now rigForceDownload respects rigFetchMimeType() (in system/application/config/mimes.lc) returning FALSE.
Version 1.6.3
Release Date: June 20, 2013
- Added syntax highlighting to User Guide.
Version 1.6.2
Release Date: May 07, 2013
- Modified the database library (system/database/DBactiveRec.lc, system/database/DBdriver.lc and system/application/config/database.lc). Now the database settings allow you to specify a local URI used for redirects in case a database error occurs. Please see the Database Configuration section of the User Guide and search for "dbRedirectOnError".
- Modified system/libraries/Authentication.lc -> rigAuthRegister() and rigAuthForgottenPassword(). Now you can specify custom URI segments used to process user activation and forgotten password requests. Please see the Authentication Handler Reference section of the User Guide and search for "rigAuthRegister" and "rigAuthForgottenPassword".
- Modified the structure of the PostgreSQL table "users_groups" in the "Authentication" section of the User Guide.
- Fixed bug in system/libraries/Session.lc -> rigSessDestroy which caused a database error on calling rigAuthLogout while sessions were set to store data in a database.
Version 1.6.1
Release Date: March 05, 2013
- Fixed bug in system/database/drivers/postgre/postgreDriver.lc -> _rigLimit().
- Fixed (thanks Jörg) and modified PostgreSQL statements in the Authentication section of the User Guide. These statements are now compatible with PostgreSQL versions prior to 8.2. Changed table names.
- Changed table names in system/application/config/authentication.lc.
- Fixed bug in system/libraries/Authentication.lc -> rigAuthRegister(), rigAuthClearForgottenPasswordCode(), rigAuthResetPassword(), rigAuthChangePassword(), rigAuthUpdate(), rigAuthDeleteUser().
Version 1.6
Release Date: March 01, 2013
- Added an authentication library. Please see the Authentication section of the User Guide.
- Finally removed the beta label given that revIgniter has been thoroughly tested long enough since the first alpha release and given that many websites have been successfully built with revIgniter including the presumably largest Hindu website in existence. So, this is the first general release.
Version Beta 1.5.21
Release Date: February 20, 2013
- Modified system/libraries/Session.lc -> rigSessRead(), system/libraries/Session.lc -> rigSessCreate and system/libraries/Session.lc -> rigSessUpdate. LiveCode fails under certain circumstances at array decoding an url decoded ip-address. This should be fixed now.
- Fixed bug in system/libraries/Output,lc -> _rigDisplay which may have caused a replacement of CSRF cookies in case the Session.lc library was used.
- Fixed bug related to HTML eMail quoted printable preparation in system/libraries/Email.lc -> _rigPrepQuotedPrintable().
- User Guide, chapter Database Query Results: Added info about how to retrieve table field names.
- User Guide, chapter Session Library: Added info about creating new sessions.
Version Beta 1.5.20
Release Date: February 1, 2013
- Fixed bug in system/plugins/galleriaPi.lc which affected dynamically created slideshows including videos.
- Fixed bug in system/libraries/Session.lc -> _rigSetCookie. Setting gConfig["sess_expire_on_close"] in config.lc now works as expected.
Version Beta 1.5.19
Release Date: December 1, 2012
- Added a routing rule so that the standard revigniter 404 error page can be overridden. This way you can set up your own 404 error handling using controllers, views, models etc. Please see the URI Routing section of the User Guide. Modified files and handlers: system/applications/config/routes.lc, system/libraries/Router.lc -> _rigValidateRequest(), system/revigniter/RevIgniter.lc.
Version Beta 1.5.18
Release Date: November 20, 2012
- Extended the functionality of the Active Record library so that parentheses can be added to SELECT queries. Please see the Active Record section of the User Guide
- Fixed bug in system/plugins/querytojsonPi.lc -> rigQueryToJSON(). This function sent an invalid parameter to a helper function. Thanks Jörg.
- Fixed bug in system/plugins/queryvaluesPi.lc -> rigQueryValues(). This function sent an invalid parameter to a helper function.
- Fixed bug in system/helpers/arrayHelper.lc -> rigImplode(). The sort order of the array values was screwed if numbered arrays were processed. Thanks Andre.
Version Beta 1.5.17
Release Date: October 03, 2012
- Added handler "_setBaseURL" to system/libraries/Config.lc. Now the base URL is set automatically if none is provided in system/application/config.lc. This comes in handy when you use secure URLs (https) along with normal URLs (http).
- Added rigSha1 prepping handler to the Formvalidation.lc library.
- Added code to remove whitespace from gControllerHandlers list in system/revigniter/RevIgniter.lc. This prevents 404 errors if the list of controller handlers contains whitespace.
- Improved and moved function _rigStrToArray() from system/libraries/Email.lc to system/revigniter/Common.lc
- Improved system/libraries/Formvalidation.lc -> rigEncodeRevTags.
Version Beta 1.5.16
Release Date: August 25, 2012
- Modified system/plugins/queryvaluesPi.lc -> rigQueryValues(). Added additional optional parameter used to display field names as keys instead of numbers.
- User Guide, chapter Scaffolding: Added info about new configuration setting related to the number of records displayed.
- Fixed bug in system/libraries/URI.lc -> _rigUriToAssoc. Key value pairs of the segments array got screwed when the URI involved more than 9 segments (thanks Andre).
- Fixed bug which caused a 404 error in case the particular controller did not include a handler named after the controller name (thanks Jim).
Version Beta 1.5.15
Release Date: August 05, 2012
- Modified system/scaffolding/Scaffolding.lc -> rigScaffView. Added default value for config variable "scaffNumRecords".
- Fixed bug in system/scaffolding/Scaffolding.lc -> rigScaffolding which caused an error if index.lc was not removed from URLs (using mod_rewrite).
- Fixed bug in system/libraries/Table.lc -> rigGenerateTable. Columns are now ordered correctly.
- Fixed bug in system/plugins/queryvaluesPi.lc -> rigQueryValues(). The key value pairs are now ordered as expected.
- Fixed bug in system/plugins/querytojsonPi.lc -> rigQueryToJSON(). The key value pairs are now ordered as expected.
Version Beta 1.5.14
Release Date: August 03, 2012
- Added variable to system/application/config.lc for number of records to be displayed in a Scaffolding table.
- Added Scaffolding "nodata" view to be loaded in case there is no table data yet.
- Modified system/scaffolding/Scaffoldding.lc -> rigScaffView.
- Modified system/scaffolding/Scaffoldding.lc -> rigScaffDelete.
- Fixed bug in system/scaffolding/views/view.lc
- Modified system/scaffolding/views/edit.lc. Added primary key to the form data.
- Fixed bug in system/scaffolding/views/add.lc.
- Fixed bug in system/database/DBdriver.lc -> rigPrimary.
- Fixed bug in system/database/drivers/mysql/mysqlResult.lc -> rigFieldData(). Defaults were not determined correctly.
Version Beta 1.5.13
Release Date: August 02, 2012
- Fixed bug in system/scaffolding/Scaffolding.lc -> rigScaffDoDelete. The redirect works now.
- Fixed bug in system/scaffolding/views/view.lc. Moved parts of code to Scaffolding.lc -> rigScaffView.
- Fixed bug in system/database/DBactiveRec.lc -> rigDbValuesSet() which affected database inserts and updates in case Cross Site Request Forgery protection was set to true.
Version Beta 1.5.12
Release Date: July 16, 2012
- Added CSRF (Cross-site Reference Forgery) protection to the Input library (system/libraries/Input.lc). Complemented the User Guide accordingly.
- Modified rigFormOpen() in system/helpers/formHelper.lc. If CSRF protection is enabled, rigFormOpen() will automatically insert it as a hidden field.
- Added CSRF settings to system/application/config/config.lc.
- Added "cookie_secure" to cookie settings in system/application/config/config.lc.
- Added "secure" parameter to rigSetCookie in system/helpers/cookieHelper.lc. Adjusted the User Guide accordingly.
- Added "cookie_secure" parameter to system/libraries/Session.lc.
- Moved code for setting cookies to the Input library, rigSetCookie is still available through the cookie helper.
- Moved code for getting the current time to system/revigniter/Common.lc, rigNow() is still available through the date helper.
- Expiration time values for cookies, session cookies and CSRF cookies are now calculated while respecting the time reference setting in the configuration file.
- Added function rigSanitizeFilename() to system/libraries/Input.lc.
Version Beta 1.5.11
Release Date: July 05, 2012
- Modified rigValidIP() and added _rigValid_ipv4 and _rigValid_ipv6 to system/libraries/Input.lc. The Input Library now supports IPv6.
- Modified rigValidIpR in system/libraries/Formvalidation.lc. The Form Validation Library now supports IP format parameters.
- Modified function rigFormOpen() in system/helpers/formHelper.lc. The action parameter is now optional. If no action parameter is provided then the current URL is set.
- Modified function _rigAttributesToString() in system/helpers/formHelper.lc. Now rigFormOpen() will always add the attribute accept-charset based on the Output Charset value in your config file. This attribute defaults to "UTF-8".
- Added config item "sess_expire_on_close" to system/libraries/Session.lc and to system/application/config/config.lc. Sessions auto-expire when the browser window is closed if this item is set to true.
- Added decimalR, greaterThanR and lessThanR rules to system/libraries/Formvalidation.lc.
- Added entries for decimalR, lessThanR and greaterThanR to system/language/<language>/formvalidationLang.lc.
- Modified system/plugins/galleriaPi.lc. Now you can submit an associative array in the first parameter containing all values.
- Added "application/x-csv" and "application/x-gzip-compressed" to system/application/config/mimes.lc.
- Fixed support for docx, xlsx files in system/application/config/mimes.lc.
Version Beta 1.5.10
Release Date: May 20, 2012
- Thumbnail creation is optimized for shrinking very large images to small thumbnails. Setting the "createThumb" preference to TRUE is now the recommended way to resize large images for thumbnail creation. This applies to processed images written to disk as well as to output in form of an irev file.
- There is a new preference "cropToFit" for processing images. This preference specifies whether the new image should be cropped if the target width/height is not in correct proportion with the source.
Version Beta 1.5.9
Release Date: April 24, 2012
- Fixed bug regarding controllers which do not return any data in system/libraries/Output.lc -> _rigDisplay.
- Added application/octet-stream ipa and text/xml plist to mime types in system/application/config/mimes.lc.
Version Beta 1.5.8
Release Date: April 17, 2012
- Modified the Galleria plugin. The plugin now conforms to version 1.2.7 of Galleria. Slash, backslash and quotes in your image data properties are now escaped.
- Modified revIgniter profiler library. Added total elapsed time regarding database queries to benchmark results.
- Completed the form validation prepping reference in the User Guide.
Version Beta 1.5.7
Release Date: February 25, 2012
- Modified system/database/DBactiveRec.lc -> rigDbInsert(). The function can now return the last automatically generated ID value of an AUTO_INCREMENT column. Please see the Active Record section of the User Guide
- Added function _rigDbLastInsertID() to system/database/drivers/mysql/mysqlResult.lc. This function is used by rigDbInsert() in DBactiveRec.lc.
- Added function _rigDbLastInsertID() to system/database/drivers/postgresql/postgresqlResult.lc. This function is used by rigDbInsert() in DBactiveRec.lc.
- Fixed bug in system/database/database/drivers/mysql/mysqlResult.lc -> rigFieldData().
- Fixed bug in system/database/database/drivers/postgresql/postgreResult.lc -> rigFieldData().
Version Beta 1.5.6
Release Date: February 12, 2012
- Added a Markdown plugin contributed by Andre Garzia. This plugin is a wrapper for the Markdown engine to convert plain text to structurally valid XHTML (or HTML).
- Modified the Galleria plugin. Now image data properties file names must have a ".tsv" (tab-separated-values) suffix. Adjusted the User Guide accordingly.
- Fixed bug in system/database/drivers/mysql/mysqlDriver.lc -> _rigPrepQuery.
- Modified system/helpers/assetHelper.lc -> rigJsAsset(). This function now includes a fallback solution for Google Libraries Api requests. Please see the Asset Helper section of the User Guide.
- Modified system/helpers/formHelper.lc -> rigFormDropDown(). Now you can add as many attributes to the <option> tag as you like. Compiemented the User Guide accordingly.
- Fixed bug in system/database/DBactiveRec.lc -> _rigLike.
Version Beta 1.5.5
Release Date: January 05, 2012
- Modified system/plugins/galleriaPi.lc -> rigGalleriaData(). There is an additional parameter which determines whether the plugin should return a file reference or the Galleria data itself.
- Modified system/libraries/Output.lc -> _rigDisplay. Now, if there is no view to be displayed _rigDisplay does not send anything to the browser.
Version Beta 1.5.4
Release Date: December 28, 2011
- Added a new function rigDynamicGalleriaData() to system/plugins/galleriaPi.lc. The Galleria plugin can now be used with dynamically built gallery meta data too.
Version Beta 1.5.3
Release Date: December 22, 2011
- Fixed bug in system/plugins/galleriaPi.lc -> rigGalleriaData(). The sort order of gallery images is now as expected.
Version Beta 1.5.2
Release Date: December 18, 2011
- Added plugin galleriaPi.lc which supports Galleria, a JavaScript image gallery framework.
- Added rigWriteManifest command to system/helpers/assetHelper.lc. This command automates the generation of manifest files. In this context a minor modification of system/helpers/assetHelper.lc -> _rigCbName was required.
- Added an error statement to the controller check in system/revigniter/RevIgniter.lc
- Added hint to User Guide section URL Helper for rigRedirect and rigAnchor() that external URLs are supported too.
- Added hint to the User Guide section Views that LiveCode's scriptLimits apply to the merge function used to build pages.
- Fixed bug in system/helpers/dateHelper.lc -> rigStandardDate(). The RFC 850 date is now formated correctly.
- Fixed bug in system/helpers/htmlHelper.lc -> rigHtmlLinkTag(). The title attribute was missing.
- Fixed bug in User Guide section Reserved Names. Added missing reserved prefix "flash".
Version Beta 1.5.1
Release Date: September 9, 2011
- Added a wildcard option "*" to the AllowedTypes preference of the file uploading library.
- Fixed bug in system/database/DBresult.lc -> rigDbRowArray(). (Thanks Andre!)
Version Beta 1.5
Release Date: September 8, 2011
- Added a file uploading library. Please read about the Upload library in the User Guide.
Version Beta 1.4.2
Release Date: September 6, 2011
- Due to engine changes in server version 4.6.4 it was necessary to move global declarations gController and gHandler from system/libraries/Router.lc to system/revigniter/RevIgniter.lc. Note: Older versions of revIgniter do not work with server version 4.6.4.
- Fixed bug in system/revigniter/Common.lc -> rigTrim().
- Modified system/language/english/uploadLang.lc, system/language/french/uploadLang.lc, system/language/spanish/uploadLang.lc and system/language/german/uploadLang.lc.
- Fixed bug in system/language/english/imglibLang.lc, system/language/french/imglibLang.lc, system/language/spanish/imglibLang.lc and system/language/german/imglibLang.lc.
- Modified system/revigniter/Common.lc. Added rigUniqueid() function.
- Fixed bad link in update instructions for version 1.4b.
Version Beta 1.4.1
Release Date: August 16, 2011
- Changed extension of all files to .lc so that from now on revIgniter is compatible with the latest server engine (4.6.3) on On-Rev.
- Implemented stack functionality, please read about revIgniter and stacks in the Using Stacks section of the User Guide.
- Fixed bug in system/libraries/Loader.lc -> rigLoaderLoadLibrary which caused an error if libraries were loaded using arrays.
- Modified the Loader library. Added system/libraries/Loader.lc -> rigLoadStack, system/libraries/Loader.lc -> _rigLoadStack and system/libraries/Loader.lc -> rigRiInitStack. Modified system/libraries/Loader.lc -> _rigAutoloader
- Modified system/application/config/autoload.lc to provide auto loading for stacks.
- Replaced ".irev" with global variable gEXT in system/libraries/Formvalidation.lc -> _rigFormValidExecute.lc, in system/libraries/Hooks.lc -> _rigInitHooksPrefs, in system/libraries/Hooks.lc -> rigImageSourceFile, in system/revigniter/Revigniter.lc
- Fixed bug in system/libraries/Email.lc. This is only relevant for SMTP in the future when the engine will provide a working open socket command.
- Fixed bug in system/libraries/Loader.lc -> _rigLoadLibrary which may have caused problems using lower case library names.
Version Beta 1.4
Release Date: July 19, 2011
- This is the first version which respects the latest engine changes (LiveCode server version 4.6.3). Therefore revIgniter version 1.4b or higher is not compatible with revServer (LiveCode server prior version 4.6.3). If you use revServer please download revIgniter 1.3.25b.
- Removed gPOST and gGET globals. These are obsolete as $_GET and $_POST variables are since engine version 4.6.3 no longer read-only.
- Added output charset setting to system/config/config.irev. This setting can be used to override the charset header sent by the engine which represents the native text encoding for the platform.
- Now the optional controller handler named after the controller itself, as described in the Controllers / Good Practice section of the User Guide, no longer needs to be called in the controller script. If the handler is present it is called automatically by the front controller.
- Revised the whole Encrypt library considering the latest engine changes. revIgniter's encryption scheme should now provide a very high degree of security.
- Added rigSetCipher command to the Encrypt library.
- Lots of further adjustments related to the engine changes.
Version Beta 1.3.25
Release Date: July 15, 2011
- Fixed bug in system/libraries/URI.irev -> _rigFetchUriString. The URI protocol "AUTO" setting in the config file now works as expected in environments where revIgniter is located in a user's home directory.
Version Beta 1.3.24
Release Date: June 29, 2011
- Improved rigMinifyOutput handler in system/application/hooks/overrideOutput.irev.
Version Beta 1.3.23
Release Date: June 11, 2011
- Added a really simple CSS preprocessor to the asset helper. So, cache busting can now be applied even to images referenced in CSS files. Please see the Asset Helper section of the User Guide.
- Added a short tutorial to the Views section of the User Guide which demonstrates how to embed views within other views.
Version Beta 1.3.22
Release Date: May 26, 2011
- Fixed bug in system/libraries/Email.irev -> rigWord_wrap and in system/revIgniter/Common.irev -> rigStripHTML. Alternative mail messages in header strings of HTML formatted emails are now generated as expected.
Version Beta 1.3.21
Release Date: May 15, 2011
- Modified system/libraries/Output.irev -> _rigDisplay.
- Added an example to the Hooks section of the User Guide which describes how to make revIgniter automatically minify output just before it is displayed.
- Added file overrideOutput.irev to system/application/hooks which is needed by the Hooks example.
- Added an example to the Creating Libraries section of the User Guide which describes how to integrate the Quartam PDF Library.
Version Beta 1.3.20
Release Date: May 10, 2011
- Fixed bug in system/libraries/Log.irev -> rigWriteLog which caused an error if in rigLogMessage the parameter to display an error message was set to TRUE.
Version Beta 1.3.19
Release Date: May 09, 2011
- Fixed bug in system/database/drivers/mysql/mysqlDriver.irev -> _rigUpdate() and in system/database/drivers/postgre/postgreDriver.irev -> _rigUpdate(). These functions will no longer replace commas with commas followed by a space in array values contained in the update data. (Thanks Andre!)
Version Beta 1.3.18
Release Date: May 08, 2011
- The Captcha library now provides two flavors of captchas. In it's first form the library enables you to display a barrier-free captcha in the form of digits composed of non breaking spaces. In it's second form the library generates a random math problem by using either 4 or 2 randomly chosen arithmetic operations. Please read about the Captcha library in the User Guide.
- Added a new command "rigSetPrefilledValues" to system/libraries/Formvalidation.irev. This is needed if you use any prefilled form fields in combination with the rigRequiredR validation rule. Please read about the Formvalidation library in the User Guide.
- Modified system/plugins/sitelinksPi.irev. Now you can use images instead of text for your navigation links. Please read about the sitelinks plugin in the User Guide.
- Added three form validation rules to system/libraries/Formvalidation.irev regarding accented characters.
- Fixed bug in system/libraries/Loader.irev -> rigLoadModel. Model file names are no longer restricted to lowercase letters.
- Fixed bug in system/libraries/Email.irev -> _rigGetMessageID. The at symbol was missing in the message id. This could have caused spamfilters to identify revIgniter emails as spam.
Version Beta 1.3.17
Release Date: March 14, 2011
- Fixed bug in system/scaffolding/Scaffolding.irev -> rigScaffolding which caused an error when dealing with multiple applications using a single revIgniter installation.
- Added detailed explanations on how to manage multiple applications using a single revIgniter installation to the "Managing applications" section in the User Guide.
Version Beta 1.3.16
Release Date: March 04, 2011
- Fixed bug in system/libraries/URI.irev which caused under certain circumstances a 404 error when dealing with multiple sets of applications that share a single revIgniter installation.
- Revised User Guide regarding managing multiple applications using a single revIgniter installation.
Version Beta 1.3.15
Release Date: February 18, 2011
- Phased out deprecated set of handler names (those without "rig" as prefix) as announced in version 1.3.2b. If you still use those names please read about the revIgniter Naming Convention and replace them before upgrading.
- Removed redundant code in system/application/config/doctypes.irev.
- Modified system/libraries/Loader.irev -> _rigLoad(). Now the irev extension doesn't need to be specified on loading view files even if relative paths containing dots are used.
- Changed body text color of User Guide from #888 to #6E6E6E (it is a bit darker now).
Version Beta 1.3.14
Release Date: January 31, 2011
- Fixed Profiler bug. The Profiler table now includes the loading time for the base libraries. It includes the total execution time too, so there is no need to call the rigElapsedTime() function. Modified system/revigniter/RevIgniter.irev, system/libraries/Benchmark.irev and system/libraries/Output.irev. Extended the user agents array in system/application/config/useragents.irev and the mime types array in system/application/config/mimes.irev
Version Beta 1.3.13
Release Date: January 22, 2011
- Fixed bug in system/libraries/Loader.irev -> _rigLoadLibrary. Entries for auto-loading libraries in system/application/config/autoload.irev are no longer case sensitive.
Version Beta 1.3.12
Release Date: December 31, 2010
- Fixed bug in system/libraries/Email.irev -> rigWord_wrap. Line breaks in the mail message are no longer removed when the preference "wordwrap" is set to TRUE.
Version Beta 1.3.11
Release Date: December 2, 2010
- Modified system/helpers/assetHelper.irev -> rigJsAsset. Now, if you want to use the Google Apis CDN to serve one of the most popular open-source JavaScript libraries, you can do so by naming the asset (the first parameter) like: jsGoogleapis-<name>-<version>. Examples: rigJsAsset("jsGoogleapis-jquery-1.4.2"), rigJsAsset("jsGoogleapis-dojo-1.5") etc.
Version Beta 1.3.10
Release Date: September 20, 2010
- Added French/Spanish language files.
- Fixed bug in system/database/DBresult.irev -> rigDbRowArray. rigDbRow() values did not match the correct field names when more than 7 table columns were selected.
- Modified system/libraries/Input.irev -> _rigSanitizeGlobals and -> rigVarPost(). This addresses an engine issue where the $_POST variable of an Ajax request is empty so that rigVarPost() failed when run more than once.
- Added a note in userGuide/general/urls.html related to removing the index.irev file.
- Modified the User Guide to clarify that for escaping database queries revIgniter is responsible, not the server engine.
Version Beta 1.3.9
Release Date: July 30, 2010
- Fixed bug in system/libraries/Formvalidation.irev -> _rigFormvalidExecute. Under certain circumstances line feeds in form field data were replaced with "__return__" when validation failed.
- Fixed bug in system/libraries/Formvalidation.irev -> _rigFormvalidExecute which caused an error when trim was used as a validation rule for text areas having one return at the end of the text and no other.
Version Beta 1.3.8
Release Date: July 24, 2010
- Fixed a bug in system/libraries/Email.irev that caused an error when the Email library and the Table library were loaded at the same time.
- Fixed a bug in system/libraries/Email.irev that caused an error when the Email library was loaded without using a configuration file to set email preferences.
Version Beta 1.3.7
Release Date: July 21, 2010
- Added plugin querytojsonPi.irev which allows for conversion of database query result arrays to the JSON format. Please read about the QueryToJSON plugin in the User Guide.
- Added function rigJQeachCloseR() to system/libraries/Jquery.irev. Please read here about the JQuery library.
- Added "Vary: Accept-Encoding" header to compressed output in system/libraries/Output.irev -> _rigDisplay to prevent compressed content from being sent to a client that will not understand it.
- Modified system/helpers/assetHelper.irev -> _rigCbName. Cache busting now works with assets nested in folders too.
- Modified system/helpers/htmlHelper.irev -> rigHtmlLinkTag. Now "apple-touch-startup-image", "apple-touch-icon" and "apple-touch-icon-precomposed" relations are fully respected.
- Fixed bug in system/libraries/Jquery.irev -> rigJQvarR() to prevent errors when parameters containing more than 1 comma are used.
Version Beta 1.3.6
Release Date: July 12, 2010
- Added cache busting capabilities to the Asset Helper. Modified system/helpers/assetHelper.irev. Please read here about Cache Busting.
- Modified application/config/config.irev. Added setting for cache busters.
Version Beta 1.3.5
Release Date: July 10, 2010
- Modified system/libraries/Output.irev -> _rigDisplay. Added Gzip output compression for faster page loads.
- Modified application/config/config.irev. Added Gzip output compression for faster page loads.
Version Beta 1.3.4
Release Date: July 4, 2010
- Fixed bug in system/database/DBactiveRec.irev -> rigDbJoin. This addresses an issue regarding multiple joins.
- Fixed bug in system/revigniter/RevIgniter.irev, which caused a database error under certain circumstances.
- The "scaffoldingTrigger" in system/config/routes.irev was misleadingly marked as currently not implemented - removed the inaccurate comment.
Version Beta 1.3.3
Release Date: July 1, 2010
- Fixed bug in system/libraries/Input.irev -> rigXssClean.
- Fixed bug in system/libraries/Input.irev -> rigXssHash.
- Fixed bug in system/revigniter/Common.irev -> rigRandomNum.
- Added new function rigRawURLdecode to system/revigniter/Common.irev.
- Modified system/helpers/cookieHelper.irev -> rigGetCookie.
- Modified system/libraries/Input.irev -> _rigFetchFromArray.
- Modified system/libraries/Input.irev -> _rigVarCookie.
- Modified system/libraries/Input.irev -> _rigCleanInputData.
- Modified system/libraries/Input.irev -> _rigSanitizeGlobals.
- Updated system/libraries/Loader.irev -> _rigRInitLibrary regarding the new handler names with a "rig" prefix.
Version Beta 1.3.2
Release Date: May 25, 2010
- revIgniter now follows a simple, easy to memorize, naming convention to reduce potential name conflicts to a minimum. While maintaining the deprecated set of handler names it will be phased out in a later version, so all users are asked to replace those names over time. Please read here about Reserved Names.
- Fixed bug in system/revigniter/Common.irev -> rigPregReplace.
- Fixed bug in system/libraries/Formvalidation.irev -> _rigFormValidExecute.
- Fixed bug in system/helpers/formmailHelper.irev -> rigFormMailReplace.
Version Beta 1.3.1
Release Date: May 16, 2010
- Added function _varPostFallback() to system/libraries/Input.irev to address an engine issue where the $_POST variable of an Ajax request is not present / is empty if FireFox is used. Modified in this context system/libraries/Input.irev -> varPost(). The jQuery library can now be used without restrictions.
Version Beta 1.3
Release Date: May 01, 2010
- Added a jQuery library, complemented the user guide accordingly.
- Added new helper dateHelper.irev, complemented the user guide accordingly.
- Added a comprehensive tutorial demonstrating how to build dynamic web pages with revIgniter on the basis of a chat application. Please read here about building a Simple Chat Application.
- Modified the setTableHeading handler in system/libraries/Table.irev. Now there is an additional parameter to uppercase the first character of table headings. Comes in handy when you use lowercase database table field names as heading.
- Modified application/language/english/dateLang.irev and application/language/german/dateLang.irev.
- Added iPad to the user agents data in system/application/config/useragents.irev.
- Minor fix in application/libraries/Useragent.irev -> _setMobile().
- Minor fix in application/libraries/Session.irev -> _getTime().
Version Beta 1.2.1
Release Date: March 06, 2010
- Removed invalid first line of system/application/errors/error404.irev.
- Fixed bug in system/revigniter/Common.irev -> pregReplace(). This bug should not have caused any problem so far.
- Fixed bug in system/libraries/Formvalidation.irev -> _formValidExecute(), which affected validation of multiline and quoted form input data.
- Added new helper formMailHelper.irev, complemented the user guide accordingly.
- Added function nl2br() to system/revigniter/Common.irev.
- Revised User Guide entry for Captcha Library.
Version Beta 1.2
Release Date: January 30, 2010
- Added a profiler library, complemented the user guide accordingly. Please read here about Profiling Your Application.
- Scaffolding implemented, please read here about Scaffolding.
- Adjusted libraries/Output.irev for profiling.
- Adjusted libraries/Benchmark.irev for profiling.
- Added function ucwords() to system/revIgniter/Common.irev.
- Modified system/language/english/profilerLang.irev and system/language/german/profilerLang.irev.
- Modified libraries/Output.irev -> enableProfiler and libraries/Output.irev -> _display.
- Modified libraries/Session.irev -> runInitialSessionConfig.
- Modified libraries/Controller.irev, added command _riScaffolding.
- Modified revigniter/RevIgniter.irev for scaffolding.
- Modified libraries/Loader.irev for scaffolding.
- Fixed bug in libraries/Loader.irev -> loadScaffoldingLanguage() and in libraries/Loader.irev -> loadLanguage, which caused an error on autoloading language files.
- Fixed bug in system/database/DBactiveRec.irev -> dbFrom and system/database/DBactiveRec.irev -> dbUpdate().
- Revised User Guide entry for Active Record Library -> dbGet() and for Generating Query Results.
- Modified system/database/drivers/mysql/mysqlResult.irev -> fieldData() and system/database/drivers/postgre/postgreResult.irev -> fieldData(). Now you can retrieve a fields default value.
Version Beta 1.1
Release Date: January 20, 2010
- Added a calendar library, complemented the user guide accordingly.
- Modified libraries/Router.irev -> _setRouting, libraries/Router.irev -> _setRequest and libraries/Router.irev -> _parseRoutes and adjusted the User Guide.
- Modified application/config/routes.irev. The gRoutes array now needs to be numbered. Routes will now run in the order of the keys of the gRoutes array. Please read here about URI Routing.
Version Beta 1.0.1
Release Date: January 18, 2010
- Fixed typo in index.irev, which caused a 500 internal server error.
Version Beta 1.0
Release Date: January 17, 2010
- Added image library! Complemented the user guide accordingly.
- Cheatsheets are finally included.
Version Alpha 0.9.6
Release Date: January 3, 2010
- Fixed bug in Benchmark -> elapsedTime().
- Fixed bug in Table.irev -> setEmptyCellVal.
- Fixed bug in URI.irev -> fetchRsegment().
- Fixed bug in URI.irev -> uriToAssoc().
- Fixed bug in Loader.irev -> _riInitLibrary.
- Fixed bug in Useragent.irev -> _setMobile().
- Modified arrayHelper.irev -> arrayElement() and adjusted the User Guide accordingly.
- Fixed bug in arrayHelper.irev -> arrayMerge().
- Fixed bug in fileHelper.irev -> listFiles() and in fileHelper.irev -> listFilesWithPaths().
- Fixed bug in fileHelper.irev -> getFileInf().
- Fixed bug in htmlHelper.irev -> htmlImg().
- Fixed bug in htmlHelper.irev -> _htmlList(), in htmlHelper.irev -> htmlUL() and in htmlHelper.irev -> htmlOL(). Generating HTML Lists now works as expected.
- Fixed bug in languageHelper.irev -> langLine().
- Fixed bug in stringHelper -> reduceDoubleSlashes().
- Fixed bug in Common.irev -> trim().
- Fixed bug in urlHelper.irev -> anchorPopUp().
- Fixed bug in urlHelper.irev -> autoLink().
- Fixed bug in xmlHelper.irev -> xmlConvert().
Version Alpha 0.9.5
Release Date: January 3, 2010
- Modified sample in application/config/hooks.irev. Array variable should be global. Adjusted userGuide/general/hooks.html accordingly.
- Fixed bug in Hooks.irev -> _callHook().
- Fixed bug in Hooks.irev -> _runHook(). Hooks should now work as described in the User Guide.
Version Alpha 0.9.4
Release Date: January 2, 2010
- Fixed bug in Email.irev -> _buildHeaders, which prevented some email headers to be written.
- Fixed bug in mysqlDriver.irev -> escapeStr and postgreDriver.irev -> escapeStr, which caused the input string to get escaped twice.
- Fixed bug in DBdriver.irev -> dbQuery and DBdriver.irev -> compileBinds. Bindings work now as expected.
- Fixed bug in DBactiveRec.irev -> _compileSelect. Command dbSelect now works as expected.
- Fixed bug in DBactiveRec.irev -> dbJoin, in DBdriver.irev -> _protectIdentifiers(), in DBactiveRec.irev -> _compileSelect. Active record JOIN queries and GROUP BY queries now work as expected.
- Fixed bug in DBactiveRec.irev -> _whereIn, in DBactiveRec.irev -> dbWhereIn, in DBactiveRec.irev -> dbOrWhereIn, in DBactiveRec.irev -> dbWhereNotIn, in DBactiveRec.irev -> dbOrWhereNotIn. All active record WHERE queries now work as expected.
- Fixed bug in DBactiveRec.irev -> _like. Active record LIKE queries now work as expected.
- Fixed bug in DBactiveRec.irev -> dbHaving and in DBactiveRec.irev -> _having. Active record HAVING queries now work as expected.
- Fixed bug in DBactiveRec.irev -> dbInsert.
- Fixed bug in DBactiveRec.irev -> _MergeCache and in DBactiveRec.irev -> _ARarrayMerge. Active record caching now works as expected.
- Fixed bug in DBdriver.irev -> dbFieldData(), in mysqlResult.irev -> fieldData() and in postgreResult.irev -> fieldData(). Function dbFieldData() now works as expected. Adjusted User Guide information regarding Field Data.
- fileHelper.irev -> deleFiles was defined as function by mistake, it is a command now. Adjusted DBcache.irev -> deleteDBcacheFiles and DBcache.irev -> deleteAllDBcacheFiles accordingly.
- Fixed bug in fileHelper.irev -> listFilesWithPaths() and in fileHelper.irev -> listFoldersWithPaths(). Modified fileHelper.irev -> deleteFiles, DBdriver -> dbCacheDeleteAll and DBcache.irev -> deleteAllDBcacheFiles.
- Fixed bug in DBcache.irev -> deleteDBcacheFiles. Database query caching now works as expected.
- Fixed bug in postgreDriver.irev -> transCommit and in mysqlDriver.irev -> transCommit.
- Fixed bug in postgreDriver.irev -> _dbExecute() and in mysqlDriver.irev -> _dbExecute().
- Modified and fixed bug in DBdriver.irev -> transComplete().
- Modified mysqlDriver.irev -> transBegin() and postgreDriver.irev -> transBegin().
- Modified DBdriver.irev -> dbTransStart.
- Fixed bug in postgreDriver.irev -> transRollback and in mysqlDriver.irev -> transRollback. Database queries using transactions now work as expected.
Version Alpha 0.9.3
Release Date: December 16, 2009
- Changed file name generation for log files in library Log.irev -> writeLog.
- Fixed bug in mysqlDriver.irev -> dbErrorMessage(), which affected database error display in database write situations.
- Fixed bug in mysqlDriver.irev -> transRollback, which affected database error display in database write situations.
- Fixed bug in postgreDriver.irev -> dbErrorMessage(), which affected database error display in database write situations.
- Fixed bug in postgreDriver.irev -> transRollback, which affected database error display in database write situations.
- Added missing master time reference pref in config file and adjusted library Session.irev accordingly.
- Fixed bug in mysqlDriver.irev -> fetchDriverSpecificSetting(), which affected some active record handlers.
- Fixed bug in postgreDriver.irev -> fetchDriverSpecificSetting(), which affected some active record handlers.
- Changed library Table.irev -> generateTable() and Table.irev -> _setTableData. Now rows are ordered according to the results of database queries.
- Added function isNumberedArray() to Common.irev. This is a helper function for the modified library Table.irev.
- Added a new plugin queryvaluesPi.irev.
Version Alpha 0.9.2
Release Date: December 8, 2009
- Fixed Bug in helper urlHelper -> function urlTitle.
- Adjusted user guide informations related to captchas.
Version Alpha 0.9.1
Release Date: November 27, 2009
- Changed library Log -> writeLog. Now the handler gets the requested segments on a 404 error.
- Fixed bug in library Router -> _validateRequest, URI is now logged on a 404 error.
- Fixed a bug in library URI -> _fetchUriString. revIgniter can now be placed in a subfolder of root.
- Added a function uriAdjusted in library URI, needed to fix the subfolder bug.
- Changed userGuide/general/urls.html.
Version Alpha 0.9
Release Date: November 24, 2009
Be warned, this is an alpha release. This version is definitely not bug free. So don't expect too much, but be assured, a stable release will follow.
Things you should keep in mind:
- The SMTP protocol is implemented, but, as long as the open socket command is not working in the server engine, it is not available. Sending mail using Mail or Sendmail should work.
- BCC batch processing needs to be tested.
- Sha1 hashes are currently not implemented (only md5).
- The database functionality needs more testing.
- There may be bugs related more or less to unordered arrays.
- Currently you can connect to databases only one at a time.
- Hooks need more testing.
- The $_GET and $_POST variables are currently read-only. That's why you should use revIgniter's global gGET and gPOST variables and call the Input Library rigVarGet() and rigVarPost() functions.
- Although scheduled, there are still missing features.
Nonetheless, have fun!