From 90b1bcea8ac94041c07863a1e522b54bb515fe5c Mon Sep 17 00:00:00 2001
From: Trevor Slocum
Date: Mon, 31 Mar 2025 19:54:31 -0700
Subject: [PATCH] Migrate to codeberg.org
---
README.md | 14 +++++++-------
imgboard.php | 10 +++++-----
inc/html.php | 2 +-
settings.default.php | 4 ++--
4 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/README.md b/README.md
index c34d550..46ba8b8 100644
--- a/README.md
+++ b/README.md
@@ -57,7 +57,7 @@ support in mind.
- This is recommended, but is not strictly required except when `TINYIB_CAPTCHA` is set to `hcaptcha` or `recaptcha`.
2. CD to the directory you wish to install TinyIB.
3. Run the command:
- - `git clone https://code.rocket9labs.com/tslocum/tinyib.git ./`
+ - `git clone https://codeberg.org/tslocum/tinyib.git ./`
4. Copy **settings.default.php** to **settings.php**
5. Configure **settings.php**
- When setting ``TINYIB_DBMODE`` to ``flatfile``, note that all post, report and ban data are exposed as the database is composed of standard text files. Access to ./inc/database/flatfile/ should be denied.
@@ -106,12 +106,12 @@ support in mind.
1. Obtain the latest release.
- If you installed via Git, run the following command in TinyIB's directory:
- `git pull`
- - Otherwise, [download](https://code.rocket9labs.com/tslocum/tinyib/archive/master.zip) and extract a zipped archive.
+ - Otherwise, [download](https://codeberg.org/tslocum/tinyib/archive/master.zip) and extract a zipped archive.
2. Note which files were modified.
- If **settings.default.php** was updated, migrate the changes to **settings.php**
- Take care to not change the value of `TINYIB_TRIPSEED`, as it is used to generate secure tripcodes, hash passwords and hash IP addresses.
- If other files were updated, and you have made changes yourself:
- - Visit [code.rocket9labs.com](https://code.rocket9labs.com/tslocum/tinyib) and review the changes made in the update.
+ - Visit [codeberg.org](https://codeberg.org/tslocum/tinyib) and review the changes made in the update.
- Ensure the update does not interfere with your changes.
## Migrate
@@ -135,8 +135,8 @@ While the migration is in progress, visitors will not be able to create or delet
## Support
1. Ensure you are running the latest version of TinyIB.
- 2. Review the [open issues](https://code.rocket9labs.com/tslocum/tinyib/issues).
- 3. Open a [new issue](https://code.rocket9labs.com/tslocum/tinyib/issues/new).
+ 2. Review the [open issues](https://codeberg.org/tslocum/tinyib/issues).
+ 3. Open a [new issue](https://codeberg.org/tslocum/tinyib/issues/new).
## Translate
@@ -146,6 +146,6 @@ Translation is handled [online](https://translate.codeberg.org/projects/tinyib/t
**Note:** Please do not submit translations via pull requests. See above.
- 1. [Fork TinyIB.](https://code.rocket9labs.com/repo/fork/6)
+ 1. [Fork TinyIB.](https://codeberg.org/tslocum/tinyib/fork)
2. Commit code changes to your forked repository.
- 3. [Submit a pull request.](https://code.rocket9labs.com/tslocum/tinyib/pulls)
+ 3. [Submit a pull request.](https://codeberg.org/tslocum/tinyib/pulls)
diff --git a/imgboard.php b/imgboard.php
index 6914ac0..3e0f069 100644
--- a/imgboard.php
+++ b/imgboard.php
@@ -1,7 +1,7 @@
Attempting update...' . "\n\n" . $git_output . '
- Note: If TinyIB updates and you have made custom modifications, review the changes which have been merged into your installation.
+
Note: If TinyIB updates and you have made custom modifications, review the changes which have been merged into your installation.
Ensure that your modifications do not interfere with any new/modified files.
- See the README (alternate link) for instructions.
';
+ See the README (alternate link) for instructions.
';
} else {
$text .= 'TinyIB was not installed via Git.
- If you installed TinyIB without Git, you must update manually. If you did install with Git, ensure the script has read and write access to the .git folder.
';
+ If you installed TinyIB without Git, you must update manually. If you did install with Git, ensure the script has read and write access to the .git folder.
';
}
} elseif (isset($_GET['dbmigrate'])) {
if (TINYIB_DBMIGRATE !== '' && TINYIB_DBMIGRATE !== false && TINYIB_DBMODE != TINYIB_DBMIGRATE) {
@@ -1037,7 +1037,7 @@ EOF;
echo 'Database migration complete. Set TINYIB_DBMODE to the new database mode and TINYIB_DBMIGRATE to false, then click Rebuild All above and ensure everything looks and works as it should.
';
} else {
- $text .= 'Your original database will not be deleted. If the migration fails, disable the tool and your board will be unaffected. See the README (alternate link) for instructions.
Start the migration
';
+ $text .= 'Your original database will not be deleted. If the migration fails, disable the tool and your board will be unaffected. See the README (alternate link) for instructions.
Start the migration
';
}
} else {
fancyDie('Set TINYIB_DBMIGRATE to the desired TINYIB_DBMODE and enter in any database related settings in settings.php before migrating.');
diff --git a/inc/html.php b/inc/html.php
index 6f9cff3..8232571 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -70,7 +70,7 @@ function pageFooter() {
return <<