From 2aa8a8efa09c61a62c48a8acc51a09cb9afd81c6 Mon Sep 17 00:00:00 2001 From: Trevor Slocum Date: Sun, 24 Sep 2023 16:29:34 -0700 Subject: [PATCH] Migrate to code.rocket9labs.com Run the following command to ensure continued updates: git remote set-url origin https://code.rocket9labs.com/tslocum/tinyib.git --- LICENSE | 2 +- README.md | 22 +++++++++++----------- imgboard.php | 12 ++++++------ inc/html.php | 2 +- settings.default.php | 4 ++-- 5 files changed, 21 insertions(+), 21 deletions(-) diff --git a/LICENSE b/LICENSE index 7c20f89..9c4b98a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 Trevor Slocum +Copyright (c) 2023 Trevor Slocum Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index b3d6867..4db304e 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # TinyIB - Lightweight and efficient [imageboard](https://en.wikipedia.org/wiki/Imageboard) [![Translate](https://hosted.weblate.org/widgets/tinyib/-/tinyib/svg-badge.svg)](https://hosted.weblate.org/projects/tinyib/tinyib/) -[![Donate via LiberaPay](https://img.shields.io/liberapay/receives/rocketnine.space.svg?logo=liberapay)](https://liberapay.com/rocketnine.space) +[![Donate via LiberaPay](https://img.shields.io/liberapay/receives/rocket9labs.com.svg?logo=liberapay)](https://liberapay.com/rocket9labs.com) [![Donate via Patreon](https://img.shields.io/badge/dynamic/json?color=%23e85b46&label=Patreon&query=data.attributes.patron_count&suffix=%20patrons&url=https%3A%2F%2Fwww.patreon.com%2Fapi%2Fcampaigns%2F5252223)](https://www.patreon.com/rocketnine) -A [**read-only demo**](https://tinyib.rocketnine.space) is available. +A [**read-only demo**](https://tinyib.rocket9labs.com) is available. ## Features @@ -40,11 +40,11 @@ A [**read-only demo**](https://tinyib.rocketnine.space) is available. Please consider supporting the continued development of TinyIB. If you make a donation and there is a certain feature you'd like to see added to -TinyIB, send me an email. I can't +TinyIB, send me an email. I can't promise that I will implement the feature right away, however I will keep your support in mind. -- [LiberaPay](https://liberapay.com/rocketnine.space) (anonymous, no added fees) +- [LiberaPay](https://liberapay.com/rocket9labs.com) (anonymous, no added fees) - [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TEP9HT98XK7QA) ## Install @@ -58,7 +58,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.rocketnine.space/tslocum/tinyib.git ./` + - `git clone https://code.rocket9labs.com/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. @@ -107,12 +107,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.rocketnine.space/tslocum/tinyib/archive/master.zip) and extract a zipped archive. + - Otherwise, [download](https://code.rocket9labs.com/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.rocketnine.space](https://code.rocketnine.space/tslocum/tinyib) and review the changes made in the update. + - Visit [code.rocket9labs.com](https://code.rocket9labs.com/tslocum/tinyib) and review the changes made in the update. - Ensure the update does not interfere with your changes. ## Migrate @@ -136,8 +136,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.rocketnine.space/tslocum/tinyib/issues). - 3. Open a [new issue](https://code.rocketnine.space/tslocum/tinyib/issues/new). + 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). ## Translate @@ -147,6 +147,6 @@ Translation is handled [online](https://hosted.weblate.org/projects/tinyib/tinyi **Note:** Please do not submit translations via pull requests. See above. - 1. [Fork TinyIB.](https://code.rocketnine.space/repo/fork/6) + 1. [Fork TinyIB.](https://code.rocket9labs.com/repo/fork/6) 2. Commit code changes to your forked repository. - 3. [Submit a pull request.](https://code.rocketnine.space/tslocum/tinyib/pulls) + 3. [Submit a pull request.](https://code.rocket9labs.com/tslocum/tinyib/pulls) diff --git a/imgboard.php b/imgboard.php index 7e275b0..4ebfed3 100644 --- a/imgboard.php +++ b/imgboard.php @@ -1,11 +1,11 @@ +Copyright (c) 2020 Trevor Slocum Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -968,12 +968,12 @@ EOF; $text .= '
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) { @@ -1035,7 +1035,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 7aad9af..63fa84b 100644 --- a/inc/html.php +++ b/inc/html.php @@ -70,7 +70,7 @@ function pageFooter() { return << - - futaba + futallaby + tinyib - + - futaba + futallaby + tinyib - diff --git a/settings.default.php b/settings.default.php index c91b503..f59cbcf 100644 --- a/settings.default.php +++ b/settings.default.php @@ -1,10 +1,10 @@