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
This commit is contained in:
Trevor Slocum 2023-09-24 16:29:34 -07:00
parent 5f42b82cc0
commit 2aa8a8efa0
5 changed files with 21 additions and 21 deletions

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2020 Trevor Slocum <trevor@rocketnine.space>
Copyright (c) 2023 Trevor Slocum <trevor@rocket9labs.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -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, <a href="mailto:trevor@rocketnine.space">send me an email</a>. I can't
TinyIB, <a href="mailto:trevor@rocket9labs.com">send me an email</a>. 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)

View File

@ -1,11 +1,11 @@
<?php
/*
TinyIB
https://code.rocketnine.space/tslocum/tinyib
https://code.rocket9labs.com/tslocum/tinyib
MIT License
Copyright (c) 2020 Trevor Slocum <trevor@rocketnine.space>
Copyright (c) 2020 Trevor Slocum <trevor@rocket9labs.com>
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 .= '<blockquote class="reply" style="padding: 7px;font-size: 1.25em;">
<pre style="margin: 0;padding: 0;">Attempting update...' . "\n\n" . $git_output . '</pre>
</blockquote>
<p><b>Note:</b> If TinyIB updates and you have made custom modifications, <a href="https://code.rocketnine.space/tslocum/tinyib/commits/master" target="_blank">review the changes</a> which have been merged into your installation.
<p><b>Note:</b> If TinyIB updates and you have made custom modifications, <a href="https://code.rocket9labs.com/tslocum/tinyib/commits/master" target="_blank">review the changes</a> which have been merged into your installation.
Ensure that your modifications do not interfere with any new/modified files.
See the <a href="https://code.rocketnine.space/tslocum/tinyib/src/branch/master/README.md">README</a> <small>(<a href="README.md" target="_blank">alternate link</a>)</small> for instructions.</p>';
See the <a href="https://code.rocket9labs.com/tslocum/tinyib/src/branch/master/README.md">README</a> <small>(<a href="README.md" target="_blank">alternate link</a>)</small> for instructions.</p>';
} else {
$text .= '<p><b>TinyIB was not installed via Git.</b></p>
<p>If you installed TinyIB without Git, you must <a href="https://code.rocketnine.space/tslocum/tinyib">update manually</a>. If you did install with Git, ensure the script has read and write access to the <b>.git</b> folder.</p>';
<p>If you installed TinyIB without Git, you must <a href="https://code.rocket9labs.com/tslocum/tinyib">update manually</a>. If you did install with Git, ensure the script has read and write access to the <b>.git</b> folder.</p>';
}
} elseif (isset($_GET['dbmigrate'])) {
if (TINYIB_DBMIGRATE !== '' && TINYIB_DBMIGRATE !== false && TINYIB_DBMODE != TINYIB_DBMIGRATE) {
@ -1035,7 +1035,7 @@ EOF;
echo '<p><b>Database migration complete</b>. Set TINYIB_DBMODE to the new database mode and TINYIB_DBMIGRATE to false, then click <b>Rebuild All</b> above and ensure everything looks and works as it should.</p>';
} else {
$text .= '<p>Your original database will not be deleted. If the migration fails, disable the tool and your board will be unaffected. See the <a href="https://code.rocketnine.space/tslocum/tinyib/src/branch/master/README.md" target="_blank">README</a> <small>(<a href="README.md" target="_blank">alternate link</a>)</small> for instructions.</a><br><br><a href="?manage&dbmigrate&go"><b>Start the migration</b></a></p>';
$text .= '<p>Your original database will not be deleted. If the migration fails, disable the tool and your board will be unaffected. See the <a href="https://code.rocket9labs.com/tslocum/tinyib/src/branch/master/README.md" target="_blank">README</a> <small>(<a href="README.md" target="_blank">alternate link</a>)</small> for instructions.</a><br><br><a href="?manage&dbmigrate&go"><b>Start the migration</b></a></p>';
}
} else {
fancyDie('Set TINYIB_DBMIGRATE to the desired TINYIB_DBMODE and enter in any database related settings in settings.php before migrating.');

View File

@ -70,7 +70,7 @@ function pageFooter() {
return <<<EOF
<div class="footer">
- <a href="http://www.2chan.net" target="_blank">futaba</a> + <a href="http://www.1chan.net" target="_blank">futallaby</a> + <a href="https://code.rocketnine.space/tslocum/tinyib" target="_blank">tinyib</a> -
- <a href="http://www.2chan.net" target="_blank">futaba</a> + <a href="http://www.1chan.net" target="_blank">futallaby</a> + <a href="https://code.rocket9labs.com/tslocum/tinyib" target="_blank">tinyib</a> -
</div>
</body>
</html>

View File

@ -1,10 +1,10 @@
<?php
/*
TinyIB
https://code.rocketnine.space/tslocum/tinyib
https://code.rocket9labs.com/tslocum/tinyib
Support:
https://code.rocketnine.space/tslocum/tinyib/issues
https://code.rocket9labs.com/tslocum/tinyib/issues
See README for instructions on configuring, moderating and upgrading your board.