# addition by GJFB in 2023-09-03 to maintain forcehistorybackflag to 1 in Archival Unit content. # addition by GJFB in 2023-10-13 to include AlmaLinux distribution - otherwise LoadModule variable is not set (used with Apache/2.4.53 (AlmaLinux)). # addition by GJFB in 2023-10-13 to turn loading of the libphp5.so module optional (plutao installation). # addition by GJFB in 2023-10-14 to let known about the error (see EnterQueue in utilities1.tcl)). # addition by GJFB in 2023-10-15 - frozencontent -> frozencontents (see cgi/displaydoccontent.tcl). # addition by GJFB in 2023-10-15 to drop the test to known if Apache is on - required because sometimes the socket works even the port is in use (new plutao) (see StartServer.tcl). # addition by GJFB in 2023-10-24 to inform the date and time of the identifier warning: Identifier not found (see doc/mirror/xxCover.tcl). # addition by GJFB in 2023-10-26 to solve an accent problem witch doesn't allow uploading files whose names contain one or more accents; 'file size testê.txt' works with patchlevel 8.5.7 but not with patchlevel 8.6.10 (testê.txt must be used instead of testê.txt) (see DirectorySize in utilities1.tcl)). # addition by GJFB in 2023-11-06 of the menu option 'Imagem por IA' (see optionTable(Image,%9) in col/dpi.inpe.br/banon/2000/01.23.20.24/doc/displayControl.tcl). # addition by GJFB in 2023-11-15 to create the @archiveFederation file in $homePath - used in urlib.net/www/2023/06.03.21.17 only (see utilitiesStart.tcl). # addition by GJFB in 2023-11-16 of the forcehistorybackflag attribute to get the green return button displayed after update (see utilitiesMirror.tcl xxUpdateSubmission.html cgi/submit.tcl cgi/mirror.tcl). # change by GJFB in 2023-11-18 from trim to trimleft in PutDocumentOnClipboard to successfully run unzip with tcl 8.6 - one cannot trimright zip file in Linux (the last five null characters are used as a end-of-file for unzip), otherwise one gets the unzip error: 'End-of-central-directory signature not found.' (see PutDocumentOnClipboard in utilities1.tcl)). # addition by GJFB in 2023-12-12 of CC version 4.0: # - repository name substitution from 3.0 to 4.0 in col/iconet.com.br/banon/2006/07.02.02.18/doc/enAdministratorPage.html and col/iconet.com.br/banon/2006/07.02.02.18/doc/cgi/script.tcl # - updating creativeCommonsRepositoryArray adding version number and repository names of version 4.0 in Get (see col/dpi.inpe.br/banon/1998/08.02.08.56/doc/cgi/get.tcl) # - updating mirror/xxCover.tcl # - updating optionTable2($item,%@copyright) adding repository names of version 4.0 in col/dpi.inpe.br/banon/2000/01.23.20.24/doc/displayControl.tcl # addition by GJFB in 2023-12-15 for changing the option doi to urn/doi (see StartServer.tcl and cgi/from.tcl) # addition by GJFB in 2023-12-16 of the query field 'ibiurl.backgroundlanguage' to ensure the Warning1 and Warning2 display in the same language as of the upper menu bar (see Get in cgi/get.tcl) # addition by GJFB in 2023-12-18 to allow the use of the browser language preference when the variable 'languagePreference' in displayControl.tcl doesn't exist or is empty (see CreatePermissionList in utilitiesStart.tcl). # change by GJFB in 2023-12-20 to display the shorttitle instead of the citationkey (see CreateOptionListForCopyright in utilities1.tcl). # change by GJFB in 2024-01-01 to solve the opening of 'Example of robust hypertext and authentic data' (QABCDSTQQW/4AEFPDB) - now GetOptimizedListOfSites is executed remotely by Execute instead of MultipleExecute (see FindURLPropertyList in utilities1.tcl). # addition by GJFB in 2024-01-04 of the cgi field name ibiurl.clientinformation.citingitem in From to turn persistent hyperlinks robust - the field value (the repository name of the citing item) transit from From (from.tcl) -> Get (cgi/get.tcl) -> Script (Archive service for IBI resolution - urlib.net/www/2014/03.16.03.40) -> AcknowledgeArchive (utilities1.tcl) -> PostponeOneClickCount (utilitiesStart.tcl) -> CountOneClick (utilitiesStart.tcl) -> UpdateCitingItemList (utilitiesStart.tcl). # addition by GJFB in 2024-01-04 of one more condition in ControlBCButtonState (see utilities2.tcl) to disable the Delete button when the file service/citingItemList exists and, in this way, to turn the persistent hyperlinks robust. # move by GJFB in 2024-01-10 of the commands set searchSite2 and set searchMirror2 to avoid the erro: can't read "searchSite2": no such variable, when the password field is empty and the + button is pressed. # addition by GJFB in 2024-01-21 of the citingitemlist field in referTables.tcl - used to search for citing itens created when activating robust hyperlinks and then removed (see DeleteRepository in utilities2.tcl). # change by GJFB in 2024-02-04 to delete searchResult.tcl if $numberOfSatisfiedSearches >= $totalNumberOfSearches (see CraeteTclPage in utilities1.tcl. # addition by GJFB in 2024-02-25 of one more condition based on the number of entries of environmentArray or of other arrays to preserve the backup array (see StoreArrayWithBackup in utilities1.tcl). # addition by GJFB in 2024-03-05 of the messageForSentinel file used in sentinel.tcl to know about the end of the posting process (see post). # addition by GJFB in 2024-03-08 of the option -s as an argument value for post. # addition by GJFB in 2024-03-09 of the procedure FileExists in utilities1.tcl. # addition by GJFB in 2024-03-10 of the variable monitoringList in cgi/mirror and pt-BRAbout.html to inform if the INPE servers have their sentinel process turned on or off. # addition by GJFB in 2024-03-12 of the option -s when calling kill-post to leave the sentinel process running (see ServeLocalCollection in StartService.tcl). # move by GJFB in 2024-03-14 of the kill and post action from ServeLocalCollection (see StartService.tcl) to KillPost in sentinel.tcl. # added by GJFB in 2024-03-19 the variable displayTable(Resume,%@creatorhistory) in col/dpi.inpe.br/banon/2000/01.23.20.24/doc/displayControl.tcl # added by GJFB in 2024-03-19 in MountHTMLPage (see displaydoccontent.tcl) the sorage of the file thisResume.html in Resume. # set by GJFB in 2024-03-19 in Submit (see submit.tcl) targetFileOption to 'disable' for Resume, otherwise displaydoccontent.cgi is not called and the Resume page is not updated. # removal by GJFB of the async option of Execute in CreateMirror (see cgi/mirror.tcl) when remotly executing TestSentinelProcess. # addition by GJFB in 2024-03-23 of the hiddenrecord parameter option for the parameterlist field to be used in Archival Unit (see UpdateBody in displaydoccontent.tcl and GetSearchResult in utilities1.tcl). # addition by GJFB in 2024-04-03 of a file delete in StoreURLContent (see utilities2.tcl) - useful when using DisplayNumberOfEntries (see utilities3.tcl). # addition by GJFB in 2024-04-04 of the option -f for ./start to force opening the main window - useful with SSH when the console becomes inactive (see start). # change by GJFB in 2024-04-05 of the place of the default accent and case value setting in MountHTMLPage (see displaydoccontent.tcl). # addition by GJFB in 2024-04-08 of a regsub command to preserve the ampersand (&) caracter in coded password (see MountSearch in col/dpi.inpe.br/banon/1999/04.21.17.06/doc/Search.tcl) - solve the access to hidden items like in id 8JMKD3MGPCW/3KDBH7S. # addition by GJFB in 2024-04-27 of the command UpdateCitingItemList in MountHTMLPage (see cgi/displaydoccontent.tcl) to remove the name of thisRepository (source) from the citing item list of repository (destination) - this is important to allow the activation of the Delete button of repository (destination). # addition by GJFB in 2024-04-27 of the removal of empty service/citingItemList (see UpdateCitingItemList in utilitiesStart.tcl). # addition by GJFB in 2024-05-02 of the removal of empty service/citingItemList (see ControlBCButtonState in utilities2.tcl) - migration measure. # addition by GJFB in 2024-05-05 of a call to Select2 to retrieve the original name of old repositories whose names contain capital letters (see FindRepositoryNameFromIBI in utilitiesMirror.tcl). # addition by GJFB in 2024-05-05 of the php_module for Apache in AlmaLinux (see CreateConfigurationFiles in StartServer.tcl). # addition by GJFB in 2024-05-06 of the command 'Set startApacheServer 1' in Script (see col/dpi.inpe.br/banon-pc@1905/2005/02.19.00.40/cgi/script.tcl) to restart the Apache Server - required, for example, when importing a bibliographical mirror repository, otherwise produces a 'mirror.cgi not found' httpd error. # removal by GJFB in 2024-05-09 of the .php listing restriction in CreateDirectoryContentList (see utitlities1.tcl) to allow remote editing of target file like index.php. # addition by GJFB in 2024-05-09 of TestContentType in InstallRepository (see CreateMainWindow.tcl) and in Script (see col/dpi.inpe.br/banon-pc@1905/2005/02.19.00.40/cgi/script.tcl) to conditionally restart the Apache Server. # removal by GJFB in 2024-05-11 of the .php deposit and unpack restriction in DDRoutine and UnPack (see DDDialog.tcl) to allow remote editing of .php file. # addition by GJFB in 2024-05-19 of an if to avoid the error message: 'CreateMirror (5): list element in braces followed by ">" instead of space' when displaying the xxAbout.html frame (see GetNumberOfReferences in utilitiesMirror.tcl). # addition by GJFB in 2024-05-25 of two lines "set siteList {}" otherwise one gets the error: can't read "siteList": no such variable, when, for example, urlib.net is down (see post). # addition by GJFB in 2024-05-26 of \\\\ (four backslashes) in CreateTclPage (see utilitties1.tcl) to preserve the input string \\documentclass in a regsub command. # change by GJFB in 2024-05-29 in makeThumbnail.py to work with python 3.12 # change by GJFB in 2024-06-01 of hyperlink - copyright repositories are in urlib.net which can be reached using relative hyperlink (see CreateFullEntry in utilitiesMirror.tcl). # addition by GJFB in 2024-06-05 of an if to capture an error message in ServeLocalCollection (see StartServer.tcl). # change by GJFB in 2024-06-08 of an absolute hyperlink to ensure the existence of the forcehistorybackflag field in the hyperlink (see UpdateBody in displaydoccontent.tcl). # change by GJFB in 2024-06-20 made in notes of Misc of bibinpe (see col/iconet.com.br/banon/2003/04.18.13.10/doc/BibINPEStylesSheet.tcl). # addition by GJFB in 2024-06-21 of short red message to comment about the restricted access (see CreateBriefEntry in utilitiesMirror.tcl). # change by GJFB in 2024-07-07 of the {out-of-date search} variable, removing the command ONCLICK="history.back()" (see mirror/xxSubmit.tcl), otherwise the search result is not updated. # change by GJFB in 2024-07-07 of the Header variable, changing from brief to briefTitleAuthorMisc (see mirror/xxCover.tcl). # change by GJFB in 2024-07-07 of the Header variable, changing from NAME=\"outputformat\" VALUE=\"$outputFormat\" to NAME=\"outputformat\" VALUE=\"NAME=\"outputformat\" VALUE=\"year-cite\"\", otherwise the Return button of the search result page doesn't return to the original Archival Unit page (see mirror/xxCover.tcl) when updating an information item. # change by GJFB in 2024-07-08 of the priority order for the resumeid and orcid presentation (see CreateBriefEntry in utilitiesMirror.tcl). # change by GJFB in 2024-07-15 from absolute to relative hyperlink of the green return button in the case of "no return path and child" to resolve IBI using the global resolver urlib.net when the IBI cannot be resolved locally, for example, when the nexthigher unit doesn't belong within the search scope of the Archive (see xxCover.tcl). # addition by GJFB in 2024-07-23 of an image file type test in DisplayDocContent (see cgi/displaydoccontent .tcl) otherwise, when the target file type is neither .bmp nor .jpg, the UpdateContentDescriptionFile doesn't create contentDescription.tcl and an error occurs when calling CreateInputList. # addition by GJFB in 2024-07-25 of the variable {not transferred} in mirror/xxSearchResult.tcl and the respective global command cgi/mirrorget.tcl - required when displaying metadata with CreateFullEntry after a search expression like 'doc transferre*'. # addition by GJFB in 2024-08-05 of an optional image header (headerBanner.png or headerBanner.jpg) and an optional image footer (footerBanner.png or footerBanner.jpg) in Resume and Archival Unit (see MountHTMLPage in cgi/displaydoccontent.tcl). Examples: sid.inpe.br/marciana/2005/01.31.09.19 and sid.inpe.br/marte2/2024/01.10.18.57 # removal by GJFB in 2024-08-08 of the parentrepositories option in the field menu of Item 8 of the Administrator Page (see Script in col/dpi.inpe.br/banon-pc@1905/2005/02.19.00.40/doc/script.cgi) - changes of parentrepositories should be made using the URLibService window. # addition by GJFB in 2024-08-12 of the use of GetServerAddressFromHTTPHost in CreateMetadataTags (see utilities1.tcl) to use serverAddress instead of localSite due to a limitation of Execute. # addition by GJFB in 2024-08-17 of a call to CallTrace for reverse engineering in EnterQueue (see utilities1.tcl). # removal by GJFB in 2024-08-17 of an unnecessary call to OpenSession in GetURLPropertyList (see utilitiesMirror.tcl) because under overloaded use (sort of Denial-of-Service attack) the OpenSession procedure doesn't return. # removal by GJFB in 2024-08-17 of an unnecessary call to CloseSession in AcknowledgeArchive (see utilities1.tcl) because there is no more urlkey open session (see GetURLPropertyList). # addition by GJFB in 2024-08-25 of a test to display or not the URL word in a Brief Entry (see CreateBriefEntry in utilitiesMirror.tcl) depending of the existence or not of an IBIp or an IBIn. # addition by GJFB in 2024-08-29 of the 'if' condition [string equal {} $documentStage] to ensure at update the permanence of the current advanced user when the documentStage value is empty (see Submit in cgi/submit.tcl). # addition by GJFB in 2024-09-02 of two http::cleanup commands in GetServerAddressFromHTTPHost (see utilities1.tcl). # addition by GJFB in 2024-09-04 of the catch command in CreateMetadata (see col/iconet.com.br/banon/2003/11.21.21.08/doc/cgi/oai.tcl) to capture the error 'can't read "metadata": no such variable'. # addition by GJFB in 2024-09-04 of the line 'set metadata {}' in CreateXMLNameValuePairs (see utilities1.tcl) - some field values might be empty (example: value of citingitemlist). # addition by GJFB in 2024-09-05 of the line 'if [string equal $site $localSite] {return $serverAddress}' in GetServerAddressFromHTTPHost (see utilities1.tcl) to speed up execution and avoid executing http::geturl http://$site/@urlibPort at installation (this command results in the error: 'connect failed connection refused' while accessing, for example, site: --gjfb:1906-- # addition by GJFB in 2024-09-13 of the catch command in post to preserve not corruped sessionList (useful when the ListRecords and ListIdentifiers of the OAI-PMH are in use). # addition by GJFB in 2024-09-18 of the catch command in SortRandomNumber (see utilities1.tcl) to reset randomSeed when, for some reason, it is corrupted or empty (otherwise displaying a bibliographic mirror produces a 500 error). # addition by GJFB in 2024-10-11 of an alert message about the lack of zip which could interrupt the submit process (see post). # addition by GJFB in 2024-10-14 of the catch command in FindInternetAddress (see utilitiesStart.tcl) - useful when, at post, ping returns 100% packet loss. # addition by GJFB in 2024-10-19 of the variable processedAbstractField to preserve the processed abstract field value for further ajust of metadataEntryList2 and metadataEntryList3 because of a split added in ProcessAbstractField (see ProcessAbstractField in utilities1.tcl and Submit in cgi/submit.tcl) - solves the problem of the creation of successive braces in abstract around special caracters that need to be coded, for example, when ~ must be coded as a tilde operator (code ∼). # addition by GJFB in 2024-10-20 of the variables timeIntervalArray(UpdateSiteList) and timeIntervalArray(ReturnConfirmation) in MultipleSubmit (see mirrorfind-.tcl) to avoid error (17a) in post. # addition by GJFB in 2024-11-20 of an 'if' to detect one line contents field in the case of the theme option. # addition by GJFB in 2024-11-26 of the return command in Search (see col/dpi.inpe.br/banon/1999/04.21.17.06/doc/Search.tcl) to avoid returning all the collection upon searches like *. # addition by GJFB in 2024-11-26 of the line 'UpdateRobotstxtFile $loBiMiRep 1 1 robotsLineList' in StartService (see utilitiesStart.tcl) to avoid the mirror access by robots and consequently the access to 'related content'. # addition by GJFB in 2024-12-05 of an 'if' to avoid to trigger the kill process in sentinel.tcl (used in Linux) during the execution of the SaveAllData procedure in post, because MultipleExecute in sentinel.tcl may not result in an OK during the execution of the SaveAllData. # addition by GJFB in 2024-12-07 of the default option to the switch command in GetEntry (see utilitiesMirror.tcl) to avoid unnecessary error message in @errorLog - It seems that Server version: Apache/2.4.57 (AlmaLinux); Server built: Feb 7 2024 00:00:00, might add a single quotation marks (') to the type value, like full'. # addition by GJFB in 2024-12-17 of the 'jpeg' option that was missing in DisplayDocContent (see cgi/displaydoccontent.tcl). # addition by GJFB in 2024-12-21 of the line 'file delete $homePath/col/$URLibServiceRepository/auxdoc/infiniteLoopMessageForSentinel' in post to avoid running again 'post' immetiately after a 'post' when executing sentinel.tcl. # addition by GJFB in 2024-12-27 of the catch command in Run-pdflatex (see utilities1.tcl) when running bibtex. # addition by GJFB in 2024-12-28 of a new 'if' condition in Run-pdflatex (see utilities1.tcl) needed to run bibtex only when there is a \bibdata command in .aux, like: \bibdata{abnt-options,./bib/referencia}. # addition by GJFB in 2025-01-01 of the array 'updateTargetFileOptionTable' in displayControl.tcl to control the targetfile field filling. # addition by GJFB in 2025-01-01 of the line 'array set updateTargetFileOptionTable {{Misc} disable}' in displayControl.tcl to be able to maintain (when using the update form of the mirror home page) the name 'mirrorHomePage.html' as a targetfile value even if the mirrorHomePage.html file has been removed in copies of the default mirror home page. # addition by GJFB in 2025-01-02 of an 'if' in FindLanguage (see utilites1.tcl) to detect the absence of a language repository and to avoid adding the default english language repository option as a parent repository for a Submission Form content type repository - ex: id 8JMKD3MGP8W/35HKRAP. # addition by GJFB in 2025-01-03 of an 'if' in FindLanguage (see utilites1.tcl) to detect the absence of a language repository and to avoid adding the default english language repository option as a parent repository for a 'mirror home page' repository - ex: id 83LX3pFwXQZ4dqvktTY/L2Qpi. # addition by GJFB in 2025-01-07 of an 'if' in DDRoutine (see DDDialog.tcl) to preserve the old target file name - useful when compiling a .tex file in a Misc repository because for such repository the targetFileOption is set to 'disable' in the default displayControl.tcl ('disable' means disable any change value of the target file name). # change by GJFB in 2025-01-10 in FindMirrorRepositoryOfSubmissionFormRepository (see utilities1.tcl) of the way to recognize that a repository is a Submission Form repository (E). Now, instead of checking if the target file value of at least one of its children is mirrorHomePage.html, the code checks if it has at least one granchild which is a Bibliographic Mirror repository (M). # removal by GJFB in 2025-01-10 in displayControl.tcl of the second addition made in 2025-01-01 in displayControl.tcl because this addition is not longer necessary when updating an empty mirror home page repository (A) after the above changes made in 2025-01-10. Addition made in 2025-01-07 is no more essential but was not removed. # change by GJFB in 2025-01-10 in an 'if' in CreateMirror (see cgi/mirror.tcl) because mirrorHomePageTargetFile value might be empty when, for example, customizing a Bibliographic Mirror to just create a meta form for conference proceedings. # addition by GJFB in 2025-01-12 the line 'encoding system utf-8' in Get (see cgi/get.tcl) to solve the accent problem in return path to the root when the encoding system is cp1252. # addition by GJFB in 2025-01-14 in CreateConfigurationFiles (see StartServer.tcl) and From (see cgi/from.tcl) the options urlib/ibi, urlib/ibi- (alternatives to ibi and ibi-) as new namespace identifiers. # addition by GJFB in 2025-01-24 '0' within an 'if' in CreateMirror (see cgi/mirror.tcl) to let displaying the Content Type field menu (the display control should continue to be defined by the content of displayControl.tcl only). # removal by GJFB in 2025-01-25 in CreateBriefEntry (see utilitiesMirror.tcl) of redundant tags . # addition by GJFB in 2025-01-25 of two lines in CreateBriefEntry (see utilitiesMirror.tcl) to get the first part of the author line fully bold when the reference type is newspaper. # change by GJFB in 2025-01-26 in CreateConfigurationFiles (see StartServer.tcl) and From (see cgi/from.tcl) the namespace identifiers from urlib/ibi, urlib/ibi- to urlib:ibi, urlib:ibi-. # change by GJFB in 2025-01-26 in CreateConfigurationFiles (see StartServer.tcl) from ')/(' to '):(' (see ScriptAliasMatch). # addition by GJFB in 2025-02-14 of an 'if' in Script (see col/urlib.net/www/2014/03.22.01.53/doc/cgi/script.tcl) to solve the case of getting an empty output when submitting the command UpdateSiteList through a closed HTTP port (ex: a closed 1905 port). # change by GJFB in 2025-02-16 of the TestSentinelProcess output from '0' to '-' (see utilities1.tcl). # removal by GJFB in 2025-02-16 of the delete command that removes the col/$URLibServiceRepository/auxdoc/sentinelPID file (see post) - this file is needed to test the sentinel state in TestSentinelProcess. # addition by GJFB in 2025-02-20 of a 'regsub -all' command in Get (see cgi/get.tcl) to solve title containing string like #BrazilBest, otherwise the query string in srcHeadder cannot be interpreted correctly - leads to an error message like: can't read "cgi(currentRep)": no such variable. # addition by GJFB in 2025-02-21 of an 'if' in FindLanguage (see utilies1.tcl) to avoid an Internal Server Error (500) when the default language version for the mirror home page has not be set has a parent repository of the mirror home page and there is a submission form repository has a parent repository of the mirror home page. # change by GJFB in 2025-02-23, in CreateBriefEntry (see utilitesMirror.tcl), of the default mirror repository in the URL to open the submission form when pointing to the word 'duplicate', otherwise one get the error message '403 - Forbidden access to the file' - the default mirror repository should be the one of the Archive containing the original item. # addition by GJFB in 2025-03-01, in CreateEnvironmentArray (see StartServer.tcl), of the line 'regsub {.$} $urlibPort {} env2(SERVER_PORT)' otherwise SERVER_PORT value displayed in info (and used to set localSite in most of the cgi scripts) is 80, even if the port is set to, for example, 1905 (observed with m22 and Apache/2.4.58 (Ubuntu), and with m12 and Apache/2.4.53 (AlmaLinux)). # addition by GJFB in 2025-03-14, in translationTable (see mirror/xxSearchResult.tcl), of one more entry 'information item without file' and of the attribute title in CreateBriefEntry (see utilitiesMirror.tcl) to display a tooltip over bleck title. # change by GPRB and GJFB in 2025-03-25, in MountSearch (see col/dpi.inpe.br/banon/1999/04.21.17.06/doc/Search.tcl), from the reserved character % to × in a split command to avoid a syntax error when using search expression like ti 2%. # addition by GJFB in 2025-04-15, in AddHeader (see col/dpi.inpe.br/banon-pc2@1905/2006/03.22.15.15/doc/addHeader.tcl), of the global variable localSite used by GetServerAddressFromHTTPHost (new version of 2019-02-22). # addition by GJFB in 2025-04-18, in post, of the post process id display at post. # duplication GJFB in 2025-04-21 of the time intevals for the procedures UpdateSiteList and ReturnConfirmation in MultipleSubmit (see cgi/mirrorfind-.tcl).