diff --git a/README.md b/README.md index d6d15ad..6a81089 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,3 @@ -!!! TinyIB has moved to GitLab !!! -==== - -Please visit https://gitlab.com/tslocum/tinyib - ------------- - TinyIB - A Lightweight and Efficient [Image Board](https://en.wikipedia.org/wiki/Imageboard) Script ==== @@ -12,11 +5,11 @@ TinyIB - A Lightweight and Efficient [Image Board](https://en.wikipedia.org/wiki **No database? No problem.** Store posts as text files for a portable set-up capable of running on virtually any PHP host. -**Not looking for an image board script?** TinyIB is able to allow new threads without requiring an image, or even disallow images entirely. See the [Text Board Mode](https://github.com/tslocum/TinyIB/wiki/Text-Board-Mode) wiki page for instructions. +**Not looking for an image board script?** TinyIB is able to allow new threads without requiring an image, or even disallow images entirely. See the [Text Board Mode](https://gitlab.com/tslocum/tinyib/wikis/Text-Board-Mode) wiki page for instructions. -For demos see the [TinyIB Installations](https://github.com/tslocum/TinyIB/wiki) page. +For demos see the [TinyIB Installations](https://gitlab.com/tslocum/tinyib/wikis/Home) page. -**Database structure was last modified on *15th Sep 2015*.** Are you unable to create new posts? Run the SQL on [this page](https://github.com/tslocum/TinyIB/wiki/NewSQLStructure) to finish the upgrade process. +**Database structure was last modified on *15th Sep 2015*.** Are you unable to create new posts? Run the SQL on [this page](https://gitlab.com/tslocum/tinyib/wikis/NewSQLStructure) to finish the upgrade process. Features ------------ @@ -42,7 +35,7 @@ Installing - If you plan on disabling image uploads to use TinyIB as a text board only, this library is not required. 2. CD to the directory you wish to install TinyIB. 3. Run the command: - - `git clone git://github.com/tslocum/TinyIB.git ./` + - `git clone https://gitlab.com/tslocum/tinyib.git ./` 4. Copy **settings.default.php** to **settings.php** 5. Configure **settings.php** - To allow WebM upload: @@ -85,14 +78,14 @@ Updating 1. Obtain the latest release. - If you installed via Git, run the following command in TinyIB's directory: - `git pull` - - Otherwise, [download](https://github.com/tslocum/TinyIB/archive/master.zip) and extract a zipped archive. + - Otherwise, [download](https://gitlab.com/tslocum/tinyib/-/archive/master/tinyib-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 would result in different secure tripcodes. - If other files were updated, and you have made changes yourself: - - Visit [GitHub](https://github.com/tslocum/TinyIB) and review the changes made in the update. + - Visit [GitLab](https://gitlab.com/tslocum/tinyib) and review the changes made in the update. - Ensure the update does not interfere with your changes. - 3. Visit [GitHub](https://github.com/tslocum/TinyIB/wiki/NewSQLStructure) and check for new SQL queries which may be required to complete the update. + 3. Visit [GitLab](https://gitlab.com/tslocum/tinyib/wikis/NewSQLStructure) and check for new SQL queries which may be required to complete the update. Migrating ------------ @@ -120,13 +113,13 @@ Support ------------ 1. Ensure you are running the latest version of TinyIB. - 2. Review the [open issues](https://github.com/tslocum/TinyIB/issues). - 3. Open a [new issue](https://github.com/tslocum/TinyIB/issues/new). + 2. Review the [open issues](https://gitlab.com/tslocum/tinyib/issues). + 3. Open a [new issue](https://gitlab.com/tslocum/tinyib/issues/new). Contributing ------------ - 1. Read the [GitHub Forking Guide](https://help.github.com/forking/). + 1. Read the [GitLab Forking Workflow](https://docs.gitlab.com/ce/workflow/forking_workflow.html). 2. Fork TinyIB. 3. Commit code changes to your forked repository. 4. Submit a pull request describing your modifications. diff --git a/imgboard.php b/imgboard.php index d3aef17..4ef021e 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 for more information.

'; + See the README for more information.

'; } 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) { @@ -460,7 +460,7 @@ if (isset($_POST['message']) || isset($_POST['file'])) { fancyDie('Set TINYIB_DBMODE to flatfile and enter in your MySQL settings in settings.php before migrating.'); } } else { - $text .= '

This tool currently only supports migration from a flat file database to MySQL. 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 .= '

This tool currently only supports migration from a flat file database to MySQL. 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 true in settings.php to use this feature.'); diff --git a/inc/html.php b/inc/html.php index 55001bf..11adb6b 100644 --- a/inc/html.php +++ b/inc/html.php @@ -39,7 +39,7 @@ function pageFooter() { return << - - futaba + futallaby + tinyib - + - futaba + futallaby + tinyib - @@ -771,15 +771,6 @@ function manageStatus() { $info = $threads . ' ' . plural('thread', $threads) . ', ' . $bans . ' ' . plural('ban', $bans); $output = ''; - if ($isadmin) { - $output .= << - Notice -

TinyIB has moved to GitLab. If you installed via git, please run

git remote set-url origin https://gitlab.com/tslocum/tinyib.git
to continue receiving updates.

- -EOF; - } - if ($isadmin && TINYIB_DBMODE == 'mysql' && function_exists('mysqli_connect')) { // Recommend MySQLi $output .= << diff --git a/settings.default.php b/settings.default.php index f5fa3ca..ddb9211 100644 --- a/settings.default.php +++ b/settings.default.php @@ -1,9 +1,9 @@