Uprev simpleid to 1.0.6
Supersedes all local compatibility changes to the code.
diff --git a/simpleid/CHANGELOG.txt b/simpleid/CHANGELOG.txt
index 815b960..3df9fe9 100644
--- a/simpleid/CHANGELOG.txt
+++ b/simpleid/CHANGELOG.txt
@@ -1,3 +1,11 @@
+SimpleID 1.0.6
+--------------
+
+- Enhancements:
+ * Update autocomplete setting for one time password fields
+- Bug fixes:
+ * #86 Further fix to compatibility with PHP 8.2
+
SimpleID 1.0.5
--------------
diff --git a/simpleid/RoboFile.php b/simpleid/RoboFile.php
index df63fab..748ae39 100644
--- a/simpleid/RoboFile.php
+++ b/simpleid/RoboFile.php
@@ -107,7 +107,7 @@
// 5. Create the release files
$main_collection->taskFileSystemStack()->mkdir("$working/$version")->copy('.sourceforge/frs/README.md', "$working/$version/README.md");
$main_collection->taskPack("$working/$version/$dist_file")->addDir('simpleid/', "$temp/simpleid");
- $main_collection->taskWriteToFile('version.txt')->line($version);
+ $main_collection->taskWriteToFile('version.txt')->text($version);
// 6. Run everything
return $main_collection->run();
diff --git a/simpleid/www/html/template.xtpl b/simpleid/www/html/template.xtpl
index 66d1aff..c51924b 100644
--- a/simpleid/www/html/template.xtpl
+++ b/simpleid/www/html/template.xtpl
@@ -239,7 +239,7 @@
<div class="form-item">
<label for="edit-otp">{otp_label}</label>
- <input type="number" maxlength="6" name="otp" id="edit-otp" size="10" value="" autocapitalize="off" autocorrect="off" class="form-text required" />
+ <input type="text" inputmode="numeric" maxlength="6" name="otp" id="edit-otp" size="10" value="" autocapitalize="off" autocorrect="off" class="form-text required" />
</div>
<input type="submit" name="op" id="edit-submit" value="{submit_button}" class="form-default" />
</form>
diff --git a/simpleid/www/lib/gettext/streams.php b/simpleid/www/lib/gettext/streams.php
index 86aaf89..00cf6cc 100644
--- a/simpleid/www/lib/gettext/streams.php
+++ b/simpleid/www/lib/gettext/streams.php
@@ -143,7 +143,7 @@
// Preloads entire file in memory first, then creates a StringReader
// over it (it assumes knowledge of StringReader internals)
class CachedFileReader extends StringReader {
- function CachedFileReader($filename) {
+ function __construct($filename) {
if (file_exists($filename)) {
$length=filesize($filename);
diff --git a/simpleid/www/version.inc.php b/simpleid/www/version.inc.php
index fb318c2..1d97917 100644
--- a/simpleid/www/version.inc.php
+++ b/simpleid/www/version.inc.php
@@ -30,5 +30,5 @@
/**
* The current version of SimpleID
*/
-define('SIMPLEID_VERSION', '1.0.5');
+define('SIMPLEID_VERSION', '1.0.6');
?>