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.
+
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().
@@ -257,7 +257,9 @@
Version 2.3.0
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().
-
Fixed: There was a bug in the rigJWTdecode() example in chapter “JSON Web Token Helper” of the user guide.
+
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.
@@ -267,8 +269,7 @@
Version 2.2.1
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.
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.
+
Changed: Adjusted infos regarding stacks in chapter "Using Stacks" in the User Guide.
@@ -352,7 +353,7 @@
Version 2.1.4
Release Date: 2019-10-21
-
Added: Implemented the “SameSite” cookie attribute, see Cookie Helper.
+
Added: Implemented the "SameSite" cookie attribute, see Cookie Helper.
Changed: Tweaked JWT helper sample code.
@@ -430,7 +431,7 @@
Version 2.0.4
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: 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.
@@ -454,8 +455,8 @@
Version 2.0.2
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.
+
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.
@@ -487,7 +488,7 @@
General Changes
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 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".
@@ -546,12 +547,12 @@
Version 1.10.3
-
Fixed: Typo “pDeafult” in system/libraries/Jquery.lc -> rigJQpromptR().
+
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: 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.
@@ -566,7 +567,7 @@
Version 1.10.2
-
Added: Digest types “SHA-384” and “SHA-512” to the JWT helper. Complemented the User Guide accordingly.
+
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().
@@ -608,9 +609,9 @@
Version 1.9.8
-
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.
+
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: 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.
@@ -651,14 +652,14 @@
Version 1.9.6
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: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: 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().
@@ -740,7 +741,7 @@
Version 1.9.0
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: 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.
@@ -764,7 +765,7 @@
Version 1.8.3
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".
+
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.
@@ -806,7 +807,7 @@
Version 1.8
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.
+
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().
@@ -860,11 +861,11 @@
Version 1.7.2
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: 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: Modified the section “Session Variables” in system/application/config/config.lc. This is required by the new enhanced session library.
+
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.
@@ -898,7 +899,7 @@
Version 1.7.1
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: 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.
@@ -969,8 +970,8 @@
Version 1.6.22
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.
+
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:"
@@ -1178,7 +1179,7 @@
Version 1.6.8
-
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 “*”.
+
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 "*".
From 72d81bd1b4a11a24aeff2a8e6d05ad3af611c564 Mon Sep 17 00:00:00 2001
From: Ralf Bitter
Date: Mon, 22 Nov 2021 18:53:37 +0100
Subject: [PATCH 2/6] Add troubleshooting information related to log files and
CLI
---
userGuide/installation/troubleshooting.html | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/userGuide/installation/troubleshooting.html b/userGuide/installation/troubleshooting.html
index d1528e39..048fd5e2 100644
--- a/userGuide/installation/troubleshooting.html
+++ b/userGuide/installation/troubleshooting.html
@@ -95,7 +95,7 @@
Troubleshooting
-
Handler Names
+
Page Not Found and Handler Names
Make sure to put all your handler names in your controller as a comma separated list into the global
variable gControllerHandlers, otherwise you get a "Page Not Found" error.
@@ -105,6 +105,12 @@
Error Logging
If you enable error logging in application/config/config.lc make sure that the application/logs folder is writable.
+
+
Loading Controllers via the Command-Line Interface and Logging
+
+
The owner of files created while running revIgniter as a web application may be different than the one when loading controllers via the command-line interface. This means that a log file created by a web app cannot be written to by running controllers from CLI and vice versa. So, in case logging is enabled, make sure that the current log file can be written to by controllers loaded via CLI.
+
+
Search-Engine Friendly URLs
If you find that no matter what you put in your URL only your default page is loading, it might be that your server
From 54845503b55c4ab68febe1c237150a6d58668aab Mon Sep 17 00:00:00 2001
From: Ralf Bitter
Date: Wed, 24 Nov 2021 17:20:28 +0100
Subject: [PATCH 3/6] Fix issue that stack names must match stack file names
---
system/libraries/Loader.livecodescript | 37 +++++++++++++++-----------
1 file changed, 21 insertions(+), 16 deletions(-)
diff --git a/system/libraries/Loader.livecodescript b/system/libraries/Loader.livecodescript
index 313b299c..a25855c6 100644
--- a/system/libraries/Loader.livecodescript
+++ b/system/libraries/Loader.livecodescript
@@ -1485,9 +1485,9 @@ end _rigAutoloader
--| COMMAND _rigLoadStack
--|
--| Author: rabit
---| Version: 1.3
+--| Version: 1.4
--| Created: 2011-07-30
---| Last Mod: 2019-09-01
+--| Last Mod: 2021-11-24
--| Requires: rigFetchConfigItem(), rigLogMessage, rigShowError, _rigRiInitStack
--|
--| Summary: This handler loads the requested stack.
@@ -1508,7 +1508,7 @@ private command _rigLoadStack pStack pParams pPosition pModule
local tPrefix, tSubStack, tSubStackTempA, tSubStackTempB, tSubStackExists
local tBaseStack, tStackInArray, tIsDuplicate, tPathVariants, tPathVar
local tFilePath, tFilePathTempA, tFilePathTempB, tFilePathExists
- local tFileIsInArray, tPathNotSpecified
+ local tFileIsInArray, tPathNotSpecified, tBaseStackName, tStackName
if sLoaderA["riLoadedStackFiles"] is an array then
put the number of lines in the keys of sLoaderA["riLoadedStackFiles"] into tNumLoadedStacks
@@ -1631,8 +1631,10 @@ private command _rigLoadStack pStack pParams pPosition pModule
-- go stack tSubStack
# go stack IS CURRENTLY NOT WORKING PROPERLY, SO THIS
# IS A WORKAROUND UNTIL THIS HAS CHANGED
+ put the short name of stack tBaseStack into tBaseStackName
+
start using stack tSubStack
- set the defaultStack to tStackToLoad
+ set the defaultStack to tBaseStackName
else
start using stack tSubStack
end if
@@ -1640,7 +1642,7 @@ private command _rigLoadStack pStack pParams pPosition pModule
add 1 to tNumLoadedStacks
put tSubStack into sLoaderA["riLoadedStackFiles"][tNumLoadedStacks]
- _rigRiInitStack tStackToLoad, tPrefix, pParams
+ _rigRiInitStack tStackToLoad, tPrefix, pParams, tBaseStackName
exit _rigLoadStack
end if -- if there is a file tSubStack then
@@ -1711,7 +1713,9 @@ private command _rigLoadStack pStack pParams pPosition pModule
add 1 to tNumLoadedStacks
put tFilePath into sLoaderA["riLoadedStackFiles"][tNumLoadedStacks]
- _rigRiInitStack tStackToLoad, "", pParams
+ put the short name of stack tFilePath into tStackName
+
+ _rigRiInitStack tStackToLoad, "", pParams, tStackName
exit _rigLoadStack
end repeat
@@ -1899,23 +1903,24 @@ end _rigRiInitLibrary
--| COMMAND _rigRiInitStack
--|
--| Author: rabit
---| Version: 1.2
+--| Version: 1.3
--| Created: 2011-07-31
---| Last Mod: 2021-08-08
+--| Last Mod: 2021-11-24
--| Requires: --
--|
--| Summary: Load config file associated with loaded stack.
--|
--| Format: _rigRiInitStack param1, param2, param3
--|
---| Parameters: string the item that is being loaded, string , array
+--| Parameters: string the item that is being loaded, string ,
+--| array , string name of stack, not file name
--|
--| Return: empty
----------------------------------------------------------------------*/
-private command _rigRiInitStack pStack pPrefix pConfig
+private command _rigRiInitStack pStack pPrefix pConfig pStackName
local tConfigFileFound, tStacksKeyNum, tNameLower, tFirstCharUpper
- local tNameUCfirst, tPath, tStackName, tHandler
+ local tNameUCfirst, tPath, tStackFileName, tHandler
put FALSE into tConfigFileFound
@@ -1950,10 +1955,10 @@ private command _rigRiInitStack pStack pPrefix pConfig
end if
end if
- put pPrefix & pStack into tStackName
+ put pPrefix & pStack into tStackFileName
add 1 to tStacksKeyNum
- put tStackName into sLoaderA["riStacks"][tStacksKeyNum]
+ put tStackFileName into sLoaderA["riStacks"][tStacksKeyNum]
# RUN THE CONFIGURATION HANDLER IF NO CONFIGURATION FILE WAS FOUND
# OTHERWISE, THIS IS DONE BY THE CONFIGURATION FILE ITSELF
@@ -1961,11 +1966,11 @@ private command _rigRiInitStack pStack pPrefix pConfig
put "rigRunInitial" & pStack & "StackConfig" into tHandler
combine pConfig using numToCodepoint(1) and numToCodepoint(2)
- dispatch tHandler to stack pStack with pConfig
+ dispatch tHandler to stack pStackName with pConfig
if it is not "handled" then
- set the behavior of stack pStack to the long id of stack "stackBehavior"
- dispatch "rigLogLoaded" to stack pStack
+ set the behavior of stack pStackName to the long id of stack "stackBehavior"
+ dispatch "rigLogLoaded" to stack pStackName
rigLogMessage "debug", "Stack" && pStack && "has no configuration handler"
end if
end if
From a7a27657a237749b4d12fd409748294b226e63c5 Mon Sep 17 00:00:00 2001
From: Ralf Bitter
Date: Wed, 24 Nov 2021 18:52:31 +0100
Subject: [PATCH 4/6] Update User Guide and bump User Guide version number
---
userGuide/changelog.html | 15 +-
userGuide/database/active_record.html | 2 +-
userGuide/database/caching.html | 2 +-
userGuide/database/configuration.html | 2 +-
userGuide/database/connecting.html | 2 +-
userGuide/database/examples.html | 2 +-
userGuide/database/fields.html | 2 +-
userGuide/database/helpers.html | 2 +-
userGuide/database/index.html | 2 +-
userGuide/database/queries.html | 2 +-
userGuide/database/results.html | 2 +-
userGuide/database/table_data.html | 2 +-
userGuide/database/transactions.html | 2 +-
userGuide/docStyle/index.html | 2 +-
userGuide/general/autoloader.html | 2 +-
userGuide/general/caching.html | 2 +-
userGuide/general/cli.html | 2 +-
userGuide/general/common_handlers.html | 2 +-
userGuide/general/controllers.html | 2 +-
userGuide/general/core_libraries.html | 2 +-
userGuide/general/creating_libraries.html | 2 +-
userGuide/general/credits.html | 2 +-
userGuide/general/errors.html | 2 +-
userGuide/general/extensions.html | 2 +-
userGuide/general/helpers.html | 2 +-
userGuide/general/hooks.html | 2 +-
userGuide/general/libraries.html | 2 +-
userGuide/general/managing_apps.html | 2 +-
userGuide/general/models.html | 2 +-
userGuide/general/modules.html | 2 +-
userGuide/general/profiling.html | 2 +-
userGuide/general/requirements.html | 2 +-
userGuide/general/reserved_names.html | 2 +-
userGuide/general/routing.html | 2 +-
userGuide/general/scaffolding.html | 2 +-
userGuide/general/security.html | 2 +-
userGuide/general/urls.html | 2 +-
userGuide/general/using_stacks.html | 2 +-
userGuide/general/views.html | 2 +-
userGuide/helpers/array_helper.html | 2 +-
userGuide/helpers/asset_helper.html | 2 +-
userGuide/helpers/cookie_helper.html | 2 +-
userGuide/helpers/date_helper.html | 2 +-
userGuide/helpers/download_helper.html | 2 +-
userGuide/helpers/email_helper.html | 2 +-
userGuide/helpers/file_helper.html | 2 +-
userGuide/helpers/form_helper.html | 2 +-
userGuide/helpers/formmail_helper.html | 2 +-
userGuide/helpers/galleria_helper.html | 2 +-
userGuide/helpers/html_helper.html | 2 +-
userGuide/helpers/jwt_helper.html | 2 +-
userGuide/helpers/language_helper.html | 2 +-
userGuide/helpers/markdown_helper.html | 2 +-
userGuide/helpers/number_helper.html | 2 +-
userGuide/helpers/otp_helper.html | 2 +-
userGuide/helpers/querytojson_helper.html | 2 +-
userGuide/helpers/queryvalues_helper.html | 2 +-
userGuide/helpers/sitelinks_helper.html | 2 +-
userGuide/helpers/string_helper.html | 2 +-
userGuide/helpers/url_helper.html | 2 +-
userGuide/helpers/xml_helper.html | 2 +-
userGuide/index.html | 2 +-
userGuide/installation/downloads.html | 3 +-
userGuide/installation/index.html | 2 +-
userGuide/installation/troubleshooting.html | 2 +-
userGuide/installation/upgrade_1100.html | 2 +-
userGuide/installation/upgrade_1101.html | 2 +-
userGuide/installation/upgrade_1102.html | 2 +-
userGuide/installation/upgrade_1103.html | 2 +-
userGuide/installation/upgrade_1325b.html | 2 +-
userGuide/installation/upgrade_141b.html | 2 +-
userGuide/installation/upgrade_142b.html | 2 +-
userGuide/installation/upgrade_14b.html | 2 +-
userGuide/installation/upgrade_1510b.html | 2 +-
userGuide/installation/upgrade_1511b.html | 2 +-
userGuide/installation/upgrade_1512b.html | 2 +-
userGuide/installation/upgrade_1513b.html | 2 +-
userGuide/installation/upgrade_1514b.html | 2 +-
userGuide/installation/upgrade_1515b.html | 2 +-
userGuide/installation/upgrade_1516b.html | 2 +-
userGuide/installation/upgrade_1517b.html | 2 +-
userGuide/installation/upgrade_1518b.html | 2 +-
userGuide/installation/upgrade_1519b.html | 2 +-
userGuide/installation/upgrade_151b.html | 2 +-
userGuide/installation/upgrade_1520b.html | 2 +-
userGuide/installation/upgrade_1521b.html | 2 +-
userGuide/installation/upgrade_152b.html | 2 +-
userGuide/installation/upgrade_153b.html | 2 +-
userGuide/installation/upgrade_154b.html | 2 +-
userGuide/installation/upgrade_155b.html | 2 +-
userGuide/installation/upgrade_156b.html | 2 +-
userGuide/installation/upgrade_157b.html | 2 +-
userGuide/installation/upgrade_158b.html | 2 +-
userGuide/installation/upgrade_159b.html | 2 +-
userGuide/installation/upgrade_15b.html | 2 +-
userGuide/installation/upgrade_16.html | 2 +-
userGuide/installation/upgrade_161.html | 2 +-
userGuide/installation/upgrade_1610.html | 2 +-
userGuide/installation/upgrade_1611.html | 2 +-
userGuide/installation/upgrade_1612.html | 2 +-
userGuide/installation/upgrade_1613.html | 2 +-
userGuide/installation/upgrade_1614.html | 2 +-
userGuide/installation/upgrade_1615.html | 2 +-
userGuide/installation/upgrade_1616.html | 2 +-
userGuide/installation/upgrade_1617.html | 2 +-
userGuide/installation/upgrade_1618.html | 2 +-
userGuide/installation/upgrade_1619.html | 2 +-
userGuide/installation/upgrade_162.html | 2 +-
userGuide/installation/upgrade_1620.html | 2 +-
userGuide/installation/upgrade_1621.html | 2 +-
userGuide/installation/upgrade_1622.html | 2 +-
userGuide/installation/upgrade_1623.html | 2 +-
userGuide/installation/upgrade_1624.html | 2 +-
userGuide/installation/upgrade_163.html | 2 +-
userGuide/installation/upgrade_164.html | 2 +-
userGuide/installation/upgrade_165.html | 2 +-
userGuide/installation/upgrade_166.html | 2 +-
userGuide/installation/upgrade_167.html | 2 +-
userGuide/installation/upgrade_168.html | 2 +-
userGuide/installation/upgrade_169.html | 2 +-
userGuide/installation/upgrade_170.html | 2 +-
userGuide/installation/upgrade_171.html | 2 +-
userGuide/installation/upgrade_172.html | 2 +-
userGuide/installation/upgrade_173.html | 2 +-
userGuide/installation/upgrade_174.html | 2 +-
userGuide/installation/upgrade_18.html | 2 +-
userGuide/installation/upgrade_181.html | 2 +-
userGuide/installation/upgrade_182.html | 2 +-
userGuide/installation/upgrade_183.html | 2 +-
userGuide/installation/upgrade_190.html | 2 +-
userGuide/installation/upgrade_191.html | 2 +-
userGuide/installation/upgrade_192.html | 2 +-
userGuide/installation/upgrade_193.html | 2 +-
userGuide/installation/upgrade_194.html | 2 +-
userGuide/installation/upgrade_195.html | 2 +-
userGuide/installation/upgrade_196.html | 2 +-
userGuide/installation/upgrade_197.html | 2 +-
userGuide/installation/upgrade_198.html | 2 +-
userGuide/installation/upgrade_200.html | 2 +-
userGuide/installation/upgrade_201.html | 2 +-
userGuide/installation/upgrade_202.html | 2 +-
userGuide/installation/upgrade_203.html | 2 +-
userGuide/installation/upgrade_204.html | 2 +-
userGuide/installation/upgrade_205.html | 2 +-
userGuide/installation/upgrade_210.html | 2 +-
userGuide/installation/upgrade_211.html | 2 +-
userGuide/installation/upgrade_212.html | 2 +-
userGuide/installation/upgrade_213.html | 2 +-
userGuide/installation/upgrade_214.html | 2 +-
userGuide/installation/upgrade_215.html | 2 +-
userGuide/installation/upgrade_216.html | 2 +-
userGuide/installation/upgrade_217.html | 2 +-
userGuide/installation/upgrade_218.html | 2 +-
userGuide/installation/upgrade_219.html | 2 +-
userGuide/installation/upgrade_220.html | 2 +-
userGuide/installation/upgrade_221.html | 2 +-
userGuide/installation/upgrade_230.html | 2 +-
userGuide/installation/upgrade_231.html | 2 +-
userGuide/installation/upgrade_232.html | 157 ++++++++++++++++++
userGuide/installation/upgrading.html | 3 +-
.../authentication/authenticationConfig.html | 2 +-
.../authentication/authenticationEmail.html | 2 +-
.../authentication/authenticationExample.html | 2 +-
.../authentication/authenticationHooks.html | 2 +-
.../authentication/authenticationOTP.html | 2 +-
.../authenticationOverview.html | 2 +-
.../authentication/authenticationRef.html | 2 +-
.../authentication/authenticationTables.html | 2 +-
userGuide/libraries/authentication/index.html | 2 +-
userGuide/libraries/benchmark.html | 2 +-
userGuide/libraries/calendar.html | 2 +-
userGuide/libraries/captcha.html | 2 +-
userGuide/libraries/config.html | 2 +-
userGuide/libraries/csp.html | 2 +-
userGuide/libraries/email.html | 2 +-
userGuide/libraries/encryption.html | 2 +-
userGuide/libraries/file_uploading.html | 2 +-
userGuide/libraries/form_validation.html | 2 +-
userGuide/libraries/ftp.html | 2 +-
userGuide/libraries/image_lib.html | 2 +-
userGuide/libraries/input.html | 2 +-
userGuide/libraries/jquery.html | 2 +-
userGuide/libraries/language.html | 2 +-
userGuide/libraries/loader.html | 2 +-
userGuide/libraries/modules.html | 2 +-
userGuide/libraries/output.html | 2 +-
userGuide/libraries/pagination.html | 2 +-
userGuide/libraries/sessions.html | 2 +-
userGuide/libraries/table.html | 2 +-
userGuide/libraries/trackback.html | 2 +-
userGuide/libraries/uri.html | 2 +-
userGuide/libraries/user_agent.html | 2 +-
userGuide/license.html | 2 +-
userGuide/overview/appflow.html | 2 +-
userGuide/overview/at_a_glance.html | 2 +-
userGuide/overview/cheatsheets.html | 2 +-
userGuide/overview/features.html | 2 +-
userGuide/overview/getting_started.html | 2 +-
userGuide/overview/goals.html | 2 +-
userGuide/overview/hmvc.html | 2 +-
userGuide/overview/index.html | 2 +-
userGuide/overview/mvc.html | 2 +-
userGuide/toc.html | 2 +-
userGuide/tutorials/chat.html | 2 +-
204 files changed, 375 insertions(+), 203 deletions(-)
create mode 100644 userGuide/installation/upgrade_232.html
diff --git a/userGuide/changelog.html b/userGuide/changelog.html
index 526acbde..e22f4379 100644
--- a/userGuide/changelog.html
+++ b/userGuide/changelog.html
@@ -38,7 +38,7 @@
- revIgniter User Guide Version 2.3.1
+ revIgniter User Guide Version 2.3.2
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
diff --git a/userGuide/database/active_record.html b/userGuide/database/active_record.html
index 9d2538e6..75684b9a 100644
--- a/userGuide/database/active_record.html
+++ b/userGuide/database/active_record.html
@@ -38,7 +38,7 @@
- revIgniter User Guide Version 2.3.1
+ revIgniter User Guide Version 2.3.2
diff --git a/userGuide/database/caching.html b/userGuide/database/caching.html
index e21bdef1..c88dec1d 100644
--- a/userGuide/database/caching.html
+++ b/userGuide/database/caching.html
@@ -38,7 +38,7 @@
- revIgniter User Guide Version 2.3.1
+ revIgniter User Guide Version 2.3.2
diff --git a/userGuide/database/configuration.html b/userGuide/database/configuration.html
index 3a6eab8f..19408fdd 100644
--- a/userGuide/database/configuration.html
+++ b/userGuide/database/configuration.html
@@ -38,7 +38,7 @@
- revIgniter User Guide Version 2.3.1
+ revIgniter User Guide Version 2.3.2
diff --git a/userGuide/database/connecting.html b/userGuide/database/connecting.html
index e3149286..6faeea1e 100644
--- a/userGuide/database/connecting.html
+++ b/userGuide/database/connecting.html
@@ -38,7 +38,7 @@
- revIgniter User Guide Version 2.3.1
+ revIgniter User Guide Version 2.3.2
diff --git a/userGuide/database/examples.html b/userGuide/database/examples.html
index 8d07a910..4466778f 100644
--- a/userGuide/database/examples.html
+++ b/userGuide/database/examples.html
@@ -38,7 +38,7 @@
- revIgniter User Guide Version 2.3.1
+ revIgniter User Guide Version 2.3.2