diff --git a/.config/ci.yml b/.config/ci.yml index fd35a7994..083d193db 100644 --- a/.config/ci.yml +++ b/.config/ci.yml @@ -1,5 +1,5 @@ #━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ -# Firefish configuration +# TrashPoss configuration #━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ # ┌─────┐ diff --git a/.config/example-docker.yml b/.config/example-docker.yml index 09062afe1..5c32accaa 100644 --- a/.config/example-docker.yml +++ b/.config/example-docker.yml @@ -1,5 +1,5 @@ #━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ -# Iceshrimp configuration +# TrashPoss configuration #━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ # After starting your server, please don't change the URL! Doing so will break federation. @@ -21,11 +21,11 @@ url: https://example.org/ #───┘ Port and TLS settings └─────────────────────────────────── # -# Iceshrimp requires a reverse proxy to support HTTPS connections. +# TrashPoss requires a reverse proxy to support HTTPS connections. # # +----- https://example.com/ ------------+ # +------+ |+-------------+ +----------------+| -# | User | ---> || Proxy (443) | ---> | Iceshrimp (3000) || +# | User | ---> || Proxy (443) | ---> | TrashPoss (3000) || # +------+ |+-------------+ +----------------+| # +---------------------------------------+ # @@ -33,7 +33,7 @@ url: https://example.org/ # An encrypted connection with HTTPS is highly recommended # because tokens may be transferred in GET requests. -# The port that your Iceshrimp server should listen on. +# The port that your TrashPoss server should listen on. port: 3000 # ┌──────────────────────────┐ @@ -212,7 +212,7 @@ reservedUsernames: [ #━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ # Congrats, you've reached the end of the config file needed for most deployments! -# Enjoy your Iceshrimp server! +# Enjoy your TrashPoss server! #━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ diff --git a/.config/example.yml b/.config/example.yml index 3ed137acd..55c51a8e9 100644 --- a/.config/example.yml +++ b/.config/example.yml @@ -1,5 +1,5 @@ #━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ -# Iceshrimp configuration +# TrashPoss configuration #━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ # After starting your server, please don't change the URL! Doing so will break federation. @@ -21,11 +21,11 @@ url: https://example.org/ #───┘ Port and TLS settings └─────────────────────────────────── # -# Iceshrimp requires a reverse proxy to support HTTPS connections. +# TrashPoss requires a reverse proxy to support HTTPS connections. # # +------- https://example.com/ ------------+ # +------+ |+-------------+ +------------------+| -# | User | ---> || Proxy (443) | ---> | Iceshrimp (3000) || +# | User | ---> || Proxy (443) | ---> | TrashPoss (3000) || # +------+ |+-------------+ +------------------+| # +-----------------------------------------+ # @@ -33,7 +33,7 @@ url: https://example.org/ # An encrypted connection with HTTPS is highly recommended # because tokens may be transferred in GET requests. -# The port that your Iceshrimp server should listen on. +# The port that your TrashPoss server should listen on. port: 3000 # ┌──────────────────────────┐ @@ -212,7 +212,7 @@ reservedUsernames: [ #━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ # Congrats, you've reached the end of the config file needed for most deployments! -# Enjoy your Iceshrimp server! +# Enjoy your TrashPoss server! #━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ diff --git a/.forgejo/workflows/test-build.yaml b/.forgejo/workflows/test-build.yaml index 40a35e831..46eb743ae 100644 --- a/.forgejo/workflows/test-build.yaml +++ b/.forgejo/workflows/test-build.yaml @@ -15,7 +15,7 @@ jobs: image: redis steps: - name: Clone repository - run: git clone https://iceshrimp.dev/iceshrimp/iceshrimp.git --branch=${{ github.ref_name }} --depth=1 /iceshrimp + run: git clone https://iceshrimp.dev/Crimekillz/trashposs.git --branch=${{ github.ref_name }} --depth=1 /iceshrimp - name: Install build dependencies run: | cd /iceshrimp diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index b5d4c0324..b9aaf8b9d 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,7 +1,7 @@ -# Iceshrimp Community Code of Conduct +# TrashPoss Community Code of Conduct -The Iceshrimp Code of Conduct is a set of guidelines that explains how our community behaves and what we value as members and project to others. This Code of Conduct is a living document and will be updated when and as deemed necessary. +The TrashPoss Code of Conduct is a set of guidelines that explains how our community behaves and what we value as members and project to others. This Code of Conduct is a living document and will be updated when and as deemed necessary. The Code of Conduct does not seek to restrict speech or penalize non-native speakers of English or any other language. Instead the Code of Conduct spells out the kinds of behaviors we, as a community, find to be acceptable and unacceptable. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7efdcc7ca..1fb635541 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,8 +1,8 @@ # Contribution guide -We're glad you're interested in contributing Iceshrimp! In this document you will find the information you need to contribute to the project. +We're glad you're interested in contributing TrashPoss! In this document you will find the information you need to contribute to the project. ## Translation (i18n) -Iceshrimp uses [Weblate](https://translate.iceshrimp.dev/) for translation and internationalization management. +TrashPoss uses [Weblate](https://translate.iceshrimp.dev/) for translation and internationalization management. If your language is not listed in Weblate, please open an issue. diff --git a/COPYING b/COPYING index f67a2cbcd..cde3f4985 100644 --- a/COPYING +++ b/COPYING @@ -2,6 +2,7 @@ Unless specified otherwise, the entirety of this repository is subject to the fo Copyright © 2014-2023 syuilo and contributors Copyright © 2022-2023 Kainoa Kanter and contributors Copyright © 2023-2023 The Iceshrimp contributors +Copyright © 2024-2024 The TrashPoss contributors And is distributed under The GNU Affero General Public License Version 3, you should have received a copy of the license file as LICENSE. @@ -13,13 +14,13 @@ These specific configuration directories: - custom/assets/ and their contents are -Copyright © 2023 The Iceshrimp contributors +Copyright © 2024 The TrashPoss contributors And are distributed under The Apache License, Version 2.0, you should have received a copy of the license file as LICENSE in each specified directory. --- -Iceshrimp includes several third-party open-source softwares and software libraries. +TrashPoss includes several third-party open-source softwares and software libraries. RsaSignature2017 implementation by Transmute Industries Inc License: MIT diff --git a/SECURITY.md b/SECURITY.md index 01f04203f..4da3914ae 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -8,4 +8,4 @@ If you discover a security issue, which is so high risk, that too much is affect This will allow us to assess the risk, and make a fix available before we add a bug report to the Codeberg repository. -Thanks for helping make Iceshrimp safe for everyone. +Thanks for helping make TrashPoss safe for everyone. diff --git a/custom/assets/LICENSE b/custom/assets/LICENSE index 79f5e9541..e8df96709 100644 --- a/custom/assets/LICENSE +++ b/custom/assets/LICENSE @@ -1,4 +1,4 @@ -Copyright 2023 The Iceshrimp contributors +Copyright 2024 The TrashPoss contributors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/docs/api-doc.md b/docs/api-doc.md index 764fd9227..8497a053a 100644 --- a/docs/api-doc.md +++ b/docs/api-doc.md @@ -1,5 +1,5 @@ # API Documentation -You can find interactive API documentation at any Iceshrimp instance. https://iceshrimp.social/api-doc +You can find interactive API documentation at any TrashPoss instance. https://iceshrimp.social/api-doc You can also find auto-generated documentation for iceshrimp-js [here](../packages/iceshrimp-js/markdown/iceshrimp-js.md). diff --git a/docs/docker-compose-install.md b/docs/docker-compose-install.md index d37ac891c..0426aa3a0 100644 --- a/docs/docker-compose-install.md +++ b/docs/docker-compose-install.md @@ -1,4 +1,4 @@ -# Installing Iceshrimp with Docker +# Installing TrashPoss with Docker This guide is based on `docker compose`/Docker Compose v2, but `docker-compose`/Docker Compose v1 should work as well. Docker 20.10+ is required for building your own images because of BuildKit usage, and Docker 20.10 users need to [enable BuildKit first](https://docs.docker.com/build/buildkit/#getting-started), or [upgrade to latest Docker](https://docs.docker.com/engine/install/#server). @@ -8,17 +8,17 @@ This guide is based on `docker compose`/Docker Compose v2, but `docker-compose`/ If you want to use the prebuilt images: ```sh -GIT_LFS_SKIP_SMUDGE=1 git clone https://iceshrimp.dev/iceshrimp/iceshrimp.git --depth=1 +GIT_LFS_SKIP_SMUDGE=1 git clone https://iceshrimp.dev/Crimekillz/trashposs.git --depth=1 ``` If you want to build your own images (make sure to install `git-lfs` and to run `git lfs install` before running the command): ```sh -git clone https://iceshrimp.dev/iceshrimp/iceshrimp.git +git clone https://iceshrimp.dev/Crimekillz/trashposs.git ``` ### docker-compose.yml -First, run `cp docs/examples/docker-compose.yml docker-compose.yml`, and edit `docker-compose.yml` if you want to build the image yourself or choose a [different tag](https://iceshrimp.dev/iceshrimp/-/packages/container/iceshrimp/versions) +First, run `cp docs/examples/docker-compose.yml docker-compose.yml`, and edit `docker-compose.yml` if you want to build the image yourself or choose a [different tag](https://iceshrimp.dev/Crimekillz/-/packages/container/trashposs/versions) ### .config @@ -27,12 +27,12 @@ Run `cp .config/example-docker.yml .config/default.yml`, and edit `.config/defau - Replace example database credentials with the ones you entered in `.config/docker.env` - Change other configuration -If you are running Iceshrimp on a system with more than one CPU thread, you might want to set the `clusterLimit` config option to about half of your thread count, depending on your system configuration. Please note that each worker requires around 10 PostgreSQL connections, so be sure to set `max_connections` appropriately. To do this with docker-compose, add `args: ["-c", "max_connections=n"]` to the `db:` section of `docker-compose.yml`, with `n` being `(10 * no_workers) + 10`. +If you are running TrashPoss on a system with more than one CPU thread, you might want to set the `clusterLimit` config option to about half of your thread count, depending on your system configuration. Please note that each worker requires around 10 PostgreSQL connections, so be sure to set `max_connections` appropriately. To do this with docker-compose, add `args: ["-c", "max_connections=n"]` to the `db:` section of `docker-compose.yml`, with `n` being `(10 * no_workers) + 10`. ## Installation and first start Choose a method, whether you chose to build the image yourself or not. -Note: Ctrl-C will shut down Iceshrimp gracefully. +Note: Ctrl-C will shut down TrashPoss gracefully. ### Pulling the image @@ -50,11 +50,11 @@ docker compose build docker compose up ``` -## Starting Iceshrimp automatically +## Starting TrashPoss automatically -Run `docker compose up -d` and Iceshrimp will start automatically on boot. +Run `docker compose up -d` and TrashPoss will start automatically on boot. -## Updating Iceshrimp +## Updating TrashPoss ### Pulling the image diff --git a/docs/docker.md b/docs/docker.md index 179c60aa6..a328ee30b 100644 --- a/docs/docker.md +++ b/docs/docker.md @@ -1,4 +1,4 @@ -# 🐳 Running a Iceshrimp server with Docker +# 🐳 Running a TrashPoss server with Docker ## Pre-built docker container [iceshrimp/iceshrimp](iceshrimp.dev/iceshrimp/iceshrimp) @@ -8,7 +8,7 @@ There is a `docker-compose.yml` in the root of the project that you can use to build the container from source - .config/docker.env (**db config settings**) -- .config/default.yml (**Iceshrimp server settings**) +- .config/default.yml (**TrashPoss server settings**) ## Configuring @@ -34,9 +34,9 @@ The [prebuilt container for iceshrimp](https://iceshrimp.dev/iceshrimp/-/package Copy `docker-compose.yml` and the `config/` to a directory, then run the **docker-compose** command: `docker-compose up -d`. -NOTE: This will take some time to come fully online, even after download and extracting the container images, and it may emit some error messages before completing successfully. Specifically, the `db` container needs to initialize and so isn't available to the `web` container right away. Only once the `db` container comes online does the `web` container start building and initializing the Iceshrimp tables. +NOTE: This will take some time to come fully online, even after download and extracting the container images, and it may emit some error messages before completing successfully. Specifically, the `db` container needs to initialize and so isn't available to the `web` container right away. Only once the `db` container comes online does the `web` container start building and initializing the TrashPoss tables. -Once the server is up you can use a web browser to access the web interface at `http://serverip:3000` (where `serverip` is the IP of the server you are running the Iceshrimp server on). +Once the server is up you can use a web browser to access the web interface at `http://serverip:3000` (where `serverip` is the IP of the server you are running the TrashPoss server on). ## Docker for development diff --git a/docs/examples/Podman (quadlet)/iceshrimp-db.container b/docs/examples/Podman (quadlet)/iceshrimp-db.container index b5a351540..c2a7999b4 100644 --- a/docs/examples/Podman (quadlet)/iceshrimp-db.container +++ b/docs/examples/Podman (quadlet)/iceshrimp-db.container @@ -1,5 +1,5 @@ [Unit] -Description=Iceshrimp PostgreSQL container +Description=TrashPoss PostgreSQL container [Container] Image=docker.io/postgres:15-alpine ContainerName=iceshrimp_db diff --git a/docs/examples/Podman (quadlet)/iceshrimp-redis.container b/docs/examples/Podman (quadlet)/iceshrimp-redis.container index 38e5015d0..0007cdd47 100644 --- a/docs/examples/Podman (quadlet)/iceshrimp-redis.container +++ b/docs/examples/Podman (quadlet)/iceshrimp-redis.container @@ -1,5 +1,5 @@ [Unit] -Description=Iceshrimp Redis container +Description=TrashPoss Redis container [Container] Image=docker.io/redis:7.0-alpine ContainerName=iceshrimp_redis diff --git a/docs/examples/Podman (quadlet)/iceshrimp-web.container b/docs/examples/Podman (quadlet)/iceshrimp-web.container index 091c4a1ea..6200e68da 100644 --- a/docs/examples/Podman (quadlet)/iceshrimp-web.container +++ b/docs/examples/Podman (quadlet)/iceshrimp-web.container @@ -1,5 +1,5 @@ [Unit] -Description=Iceshrimp container +Description=TrashPoss container [Container] Image=iceshrimp.dev/iceshrimp/iceshrimp:latest ContainerName=iceshrimp_web diff --git a/docs/examples/Podman (quadlet)/volume-dir-creation.sh b/docs/examples/Podman (quadlet)/volume-dir-creation.sh index d0877f987..b793180db 100755 --- a/docs/examples/Podman (quadlet)/volume-dir-creation.sh +++ b/docs/examples/Podman (quadlet)/volume-dir-creation.sh @@ -7,14 +7,14 @@ if [ -d $HOME/.config/containers/systemd ]; then if [ ! -f $config_dir/docker_example.env ]; then wget -O $db_env \ - https://iceshrimp.dev/iceshrimp/iceshrimp/raw/branch/dev/.config/docker_example.env; + https://iceshrimp.dev/Crimekillz/trashposs/raw/branch/dev/.config/docker_example.env; else cp -v $config_dir/docker_example.env $db_env; fi if [ ! -f $config_dir/example-docker.yml ]; then wget -O $config_dir/default.yml \ - https://iceshrimp.dev/iceshrimp/iceshrimp/raw/branch/dev/.config/example-docker.yml; + https://iceshrimp.dev/Crimekillz/trashposs/raw/branch/dev/.config/example-docker.yml; else cp $config_dir/example-docker.yml $config_dir/default.yml fi diff --git a/docs/examples/iceshrimp.service b/docs/examples/iceshrimp.service index 00ea358ee..27972a95a 100644 --- a/docs/examples/iceshrimp.service +++ b/docs/examples/iceshrimp.service @@ -1,5 +1,5 @@ [Unit] -Description=Iceshrimp daemon +Description=TrashPoss daemon [Service] Type=simple diff --git a/docs/install.md b/docs/install.md index cbe07bc5c..dc28aeeb5 100644 --- a/docs/install.md +++ b/docs/install.md @@ -1,6 +1,6 @@ -# Installing Iceshrimp +# Installing TrashPoss -This document will guide you through manual installation of Iceshrimp. We also provide prebuilt [packages](/iceshrimp/packaging) for various platforms, should you prefer those over a manual install. +This document will guide you through manual installation of TrashPoss. We also provide prebuilt [packages](/iceshrimp/packaging) for various platforms, should you prefer those over a manual install. ## Dependencies @@ -31,14 +31,14 @@ This document will guide you through manual installation of Iceshrimp. We also p Make sure you have `git-lfs` installed and have run `git lfs install` before cloning the repo, as we are using Git LFS for efficient storage of binary blobs. ```sh -git clone https://iceshrimp.dev/iceshrimp/iceshrimp.git +git clone https://iceshrimp.dev/Crimekillz/trashposs.git ``` -If you don't want to run the latest development version, pick a version from [here](https://iceshrimp.dev/iceshrimp/iceshrimp/releases) and run `git checkout ` before continuing. +If you don't want to run the latest development version, pick a version from [here](https://iceshrimp.dev/Crimekillz/trashposs/releases) and run `git checkout ` before continuing. ### Creating a new user -In case you want to run Iceshrimp as a different user, run `adduser --disabled-password --disabled-login iceshrimp` +In case you want to run TrashPoss as a different user, run `adduser --disabled-password --disabled-login iceshrimp` Following steps will require you to run them as the user you have made, so use `su - iceshrimp`, or `sudo -iu iceshrimp`, or whatever else method in order to temporarily log in as that user. ### Configuration @@ -59,7 +59,7 @@ yarn Note: If you get a lot of `The remote archive doesn't match the expected checksum` errors, please make sure you installed `git-lfs` and ran `git lfs install && git lfs pull`. -## Building Iceshrimp +## Building TrashPoss ```sh yarn build @@ -83,14 +83,14 @@ alter database iceshrimp owner to iceshrimp; ### First migration -In order for Iceshrimp to work properly, you need to initialise the database using +In order for TrashPoss to work properly, you need to initialise the database using ```bash yarn run init ``` ### Optimizing performance -If you are running Iceshrimp on a system with more than one CPU thread, you might want to set the `clusterLimit` config option to about half of your thread count, depending on your system configuration. Please note that each worker requires around 10 PostgreSQL connections, so be sure to set `max_connections` appropriately (aim for `(10 * no_workers) + 10`, if you have no other applications accessing the PostgreSQL database). +If you are running TrashPoss on a system with more than one CPU thread, you might want to set the `clusterLimit` config option to about half of your thread count, depending on your system configuration. Please note that each worker requires around 10 PostgreSQL connections, so be sure to set `max_connections` appropriately (aim for `(10 * no_workers) + 10`, if you have no other applications accessing the PostgreSQL database). For optimal database performance, it's highly recommended to configure PostgreSQL with [PGTune](https://pgtune.leopard.in.ua/) using the "Mixed type of application" profile. This is especially important should your database server use HDD instead of SATA or NVMe SSD storage. @@ -112,12 +112,12 @@ example.com { } ``` -## Running Iceshrimp +## Running TrashPoss ### Running manually -- Start Iceshrimp by running `NODE_ENV=production yarn run start`. -If this is your first run, after Iceshrimp has started successfully, you'll be able to go to the URL you have specified in `.config/default.yml` and create first user. +- Start TrashPoss by running `NODE_ENV=production yarn run start`. +If this is your first run, after TrashPoss has started successfully, you'll be able to go to the URL you have specified in `.config/default.yml` and create first user. - To stop the server, use `Ctrl-C`. ### Running using systemd @@ -125,7 +125,7 @@ If this is your first run, after Iceshrimp has started successfully, you'll be a - Run `sudo cp docs/examples/iceshrimp.service /etc/systemd/system/` - Edit `/etc/systemd/system/iceshrimp.service` with text editor, and change `User`, `WorkingDir`, `ExecStart` if necessary. - Run `sudo systemctl daemon-reload` -- Run `sudo systemctl enable --now iceshrimp` in order to enable and start Iceshrimp. +- Run `sudo systemctl enable --now iceshrimp` in order to enable and start TrashPoss. - (Optional) Check if instance is running using `sudo systemctl status iceshrimp` ### Environment variables @@ -136,11 +136,11 @@ If this is your first run, after Iceshrimp has started successfully, you'll be a Make sure you are specifying absolute paths when setting environment variables. -### Updating Iceshrimp +### Updating TrashPoss Before you start, if you cloned the iceshrimp repository before the Git LFS migration, please follow [these instructions](https://iceshrimp.dev/iceshrimp/iceshrimp/wiki/Git-LFS#fixing-up-a-preexisting-cloned-repo) to get your repository back in sync. -First, stop the Iceshrimp service and then run the following commands: +First, stop the TrashPoss service and then run the following commands: ```sh ## Run git stash commands only if you have uncommitted changes @@ -168,7 +168,7 @@ yarn build && yarn migrate Note: If you get a lot of `The remote archive doesn't match the expected checksum` errors, please make sure you installed `git-lfs` and ran `git lfs install && git lfs pull`. -Now restart the Iceshrimp service and everything should be up to date. +Now restart the TrashPoss service and everything should be up to date. ## Post-install diff --git a/docs/migrate.md b/docs/migrate.md index 11c95c70a..36206073e 100644 --- a/docs/migrate.md +++ b/docs/migrate.md @@ -1,17 +1,17 @@ -# 🚚 Migrating from Misskey/FoundKey/Firefish to Iceshrimp +# 🚚 Migrating from Misskey/FoundKey/Firefish/Iceshrimp to TrashPoss All the guides below assume you're starting in the root of the repo directory. ### Before proceeding -- **Ensure you have stopped all master and worker processes of Misskey.** +- **Ensure you have stopped all master and worker processes of TrashPoss.** - **Ensure you have backups of the database before performing any commands.** ## Misskey v12.119 and before ```sh -git remote set-url origin https://iceshrimp.dev/iceshrimp/iceshrimp.git +git remote set-url origin https://iceshrimp.dev/Crimekillz/trashposs.git git fetch git checkout v2023.11.4 # or any other tag or dev @@ -24,7 +24,7 @@ git checkout v2023.11.4 # or any other tag or dev ## FoundKey ```sh -wget -O fk.patch https://iceshrimp.dev/iceshrimp/iceshrimp/raw/branch/dev/docs/fk.patch +wget -O fk.patch https://iceshrimp.dev/Crimekillz/trashposs/raw/branch/dev/docs/fk.patch git apply fk.patch cd packages/backend ``` @@ -32,7 +32,7 @@ cd packages/backend Run `npx typeorm migration:revert -d ormconfig.js` for every migration until you see that `uniformThemecolor1652859567549` has been reverted. Command will not terminate properly after reverting, so you'll have to Ctrl-C ``` -git remote set-url origin https://iceshrimp.dev/iceshrimp/iceshrimp.git +git remote set-url origin https://iceshrimp.dev/Crimekillz/trashposs.git git fetch git checkout v2023.11.4 # or any other tag or dev @@ -53,4 +53,4 @@ If migration `IncreaseHostCharLimit1692374635734` failed to revert, please run ` ## Reverse -You ***cannot*** migrate back to Misskey from Iceshrimp due to re-hashing passwords on signin with argon2, however theoretically you should be able to migrate from Iceshrimp to Firefish. You can migrate from Iceshrimp to FoundKey, although this is not recommended due to FoundKey being end-of-life, and may have some problems with alt-text. +You ***cannot*** migrate back to Misskey from TrashPoss due to re-hashing passwords on signin with argon2, however theoretically you should be able to migrate from TrashPoss to Iceshrimp. diff --git a/docs/nix-development.md b/docs/nix-development.md index e957643ef..caf0c408a 100644 --- a/docs/nix-development.md +++ b/docs/nix-development.md @@ -1,7 +1,7 @@ -# 🌎 Iceshrimp Developer Docs +# 🌎 TrashPoss Developer Docs ## Nix Dev Environment -The Iceshrimp repo comes with a Nix-based shell environment to help make development as easy as possible! +The TrashPoss repo comes with a Nix-based shell environment to help make development as easy as possible! Please note, however, that this environment will not work on Windows outside of a WSL2 environment. @@ -11,12 +11,12 @@ Please note, however, that this environment will not work on Windows outside of - Installed [direnv](https://direnv.net/docs/installation.html) and added its hook to your shell. (package manager) - Ensured all dependencies are pulled with `git-lfs`, which also needs to be installed. -Once the repo is cloned to your computer, follow these next few steps inside the Iceshrimp folder: +Once the repo is cloned to your computer, follow these next few steps inside the TrashPoss folder: - Run `direnv allow`. This will build the environment and install all needed tools. - Run `install-deps`, then `prepare-config`, to install the node dependencies and prepare the needed config files. -- In a second terminal, run `devenv up`. This will spawn a **Redis** server, a **Postgres** server, and the **Iceshrimp** server in dev mode. -- Once you see the Iceshrimp banner printed in your second terminal, run `migrate` in the first. +- In a second terminal, run `devenv up`. This will spawn a **Redis** server, a **Postgres** server, and the **TrashPoss** server in dev mode. +- Once you see the TrashPoss banner printed in your second terminal, run `migrate` in the first. - Once migrations finish, open http://localhost:3000 in your web browser. - You should now see the admin user creation screen! diff --git a/docs/podman-install.md b/docs/podman-install.md index 97dc289d4..113a46cba 100644 --- a/docs/podman-install.md +++ b/docs/podman-install.md @@ -1,4 +1,4 @@ -# Installing Iceshrimp using Podman and Quadlet +# Installing TrashPoss using Podman and Quadlet Quadlet is a feature of Podman that is kind of like Docker Compose, but is better integrated with systemd, just like whole Podman. ## Requirements @@ -12,9 +12,9 @@ Quadlet is a feature of Podman that is kind of like Docker Compose, but is bette If you want to use prebuilt images: ```sh -GIT_LFS_SKIP_SMUDGE=1 git clone https://iceshrimp.dev/iceshrimp/iceshrimp.git --depth=1 +GIT_LFS_SKIP_SMUDGE=1 git clone https://iceshrimp.dev/Crimekillz/trashposs.git --depth=1 mkdir -p $HOME/.config/containers/systemd -cp "iceshrimp/docs/examples/Podman (quadlet)"/* $HOME/.config/containers/systemd +cp "trashposs/docs/examples/Podman (quadlet)"/* $HOME/.config/containers/systemd ``` Tweak quadlet files and change the image tag in `$HOME/.config/containers/systemd/iceshrimp-web.container` from `latest` to `dev` or `pre` if desired, and run `docs/examples/Podman\ \(quadlet\)/volume-dir-creation.sh`. @@ -23,13 +23,13 @@ If you want to build your own images: ```sh git lfs install -git clone https://iceshrimp.dev/iceshrimp/iceshrimp.git +git clone https://iceshrimp.dev/Crimekillz/trashposs.git mkdir -p $HOME/.config/containers/systemd -cp "iceshrimp/docs/examples/Podman (quadlet)"/* $HOME/.config/containers/systemd +cp "trashposs/docs/examples/Podman (quadlet)"/* $HOME/.config/containers/systemd ``` -Tweak quadlet files if needed, change content of `Image:` line in `$HOME/.config/containers/systemd/iceshrimp-web.container` to `Image: localhost/iceshrimp/iceshrimp:latest`, and run `docs/examples/Podman\ \(quadlet\)/volume-dir-creation.sh`. +Tweak quadlet files if needed, change content of `Image:` line in `$HOME/.config/containers/systemd/iceshrimp-web.container` to `Image: localhost/crimekillz/trashposs:latest`, and run `docs/examples/Podman\ \(quadlet\)/volume-dir-creation.sh`. ### .config @@ -53,7 +53,7 @@ systemctl --user start iceshrimp-web.service ### Building the image -Enter Iceshrimp repo and run: +Enter TrashPoss repo and run: ```sh podman build . -t $(grep -F "Image=" $HOME/.config/containers/systemd/iceshrimp-web.container | cut -d= -f2) --ulimit nofile=16384:16384 @@ -61,11 +61,11 @@ systemctl --user daemon-reload systemctl --user start iceshrimp-web.service ``` -## Starting Iceshrimp automatically +## Starting TrashPoss automatically -Run `sudo loginctl enable-linger [user]` and Iceshrimp will start automatically on boot. You don't need to, and in fact [cannot enable Podman-generated systemd services](https://man.archlinux.org/man/extra/podman/podman-systemd.unit.5.en#Enabling_unit_files). +Run `sudo loginctl enable-linger [user]` and TrashPoss will start automatically on boot. You don't need to, and in fact [cannot enable Podman-generated systemd services](https://man.archlinux.org/man/extra/podman/podman-systemd.unit.5.en#Enabling_unit_files). -## Updating Iceshrimp +## Updating TrashPoss ### Pulling the image @@ -87,6 +87,6 @@ systemctl --user restart iceshrimp-web.service ## Post-install -If you are running Iceshrimp on a system with more than one CPU thread, you might want to set the `clusterLimit` config option to about half of your thread count, depending on your system configuration. Please note that each worker requires around 10 PostgreSQL connections, so be sure to set `max_connections` appropriately. To do this, change `max_connections=n` line in `db/postgresql.conf`, with `n` being `(10 * no_workers) + 10`, and run `systemctl --user restart iceshrimp-db iceshrimp-web`. +If you are running TrashPoss on a system with more than one CPU thread, you might want to set the `clusterLimit` config option to about half of your thread count, depending on your system configuration. Please note that each worker requires around 10 PostgreSQL connections, so be sure to set `max_connections` appropriately. To do this, change `max_connections=n` line in `db/postgresql.conf`, with `n` being `(10 * no_workers) + 10`, and run `systemctl --user restart iceshrimp-db iceshrimp-web`. See also [post-install](post-install.md). diff --git a/docs/post-install.md b/docs/post-install.md index c7353414b..fbe24d02e 100644 --- a/docs/post-install.md +++ b/docs/post-install.md @@ -1,6 +1,6 @@ # Post-install -This document describes things you can do after successfully installing Iceshrimp. +This document describes things you can do after successfully installing TrashPoss. ## Automatic translation @@ -38,11 +38,11 @@ Recommended if using Docker - If instance is ran by a different system user: Prepend that command with `sudo -U iceshrimp`, replace `iceshrimp` with a name of that user if needed - Docker Compose users: `docker compose exec db psql -d iceshrimp -U iceshrimp`, replace both `iceshrimp` with name of your db, and username owning that db respectively, if needed - Run `UPDATE "user" SET "isAdmin" = true WHERE id='999999';`, where `999999` is the copied ID of that user -- Restart your Iceshrimp server +- Restart your TrashPoss server ### Removing admin privileges - Get ID of the user - Run `psql` the same way when adding admin - Run `UPDATE "user" SET "isAdmin" = false WHERE id='999999';`, where `999999` is the copied ID of that user -- Restart your Iceshrimp server +- Restart your TrashPoss server - Remove moderator privileges of the user diff --git a/docs/sharkey.sql b/docs/sharkey.sql index bce0f4f53..83ba14e9b 100644 --- a/docs/sharkey.sql +++ b/docs/sharkey.sql @@ -1,4 +1,4 @@ --- Sharkey 2024.3.1 to Iceshrimp 2023.12.5 migration script +-- Sharkey 2024.3.1 to TrashPoss 2023.12.5 migration script -- by @kopper@brain.d.on-t.work -- only tested with aidx, theoretical support for aid and meid. other id schemes are NOT supported. -- servers which have migrated from firefish and iceshrimp to sharkey may encounter undefined behavior, as @@ -480,10 +480,10 @@ ALTER TABLE meta ALTER COLUMN "pinnedUsers" TYPE character varying(256)[]; ALTER TABLE meta ALTER COLUMN "termsOfServiceUrl" TYPE character varying(512); ALTER TABLE meta RENAME COLUMN "termsOfServiceUrl" TO "ToSUrl"; ALTER TABLE meta ALTER COLUMN "repositoryUrl" TYPE character varying(512); -ALTER TABLE meta ALTER COLUMN "repositoryUrl" SET DEFAULT 'https://iceshrimp.dev/iceshrimp/iceshrimp'; +ALTER TABLE meta ALTER COLUMN "repositoryUrl" SET DEFAULT 'https://iceshrimp.dev/Crimekillz/trashposs'; ALTER TABLE meta ALTER COLUMN "repositoryUrl" SET NOT NULL; ALTER TABLE meta ALTER COLUMN "feedbackUrl" TYPE character varying(512); -ALTER TABLE meta ALTER COLUMN "feedbackUrl" SET DEFAULT 'https://iceshrimp.dev/iceshrimp/iceshrimp/issues/new'; +ALTER TABLE meta ALTER COLUMN "feedbackUrl" SET DEFAULT 'https://iceshrimp.dev/Crimekillz/trashposs/issues/new'; ALTER TABLE meta ALTER COLUMN "objectStorageBucket" TYPE character varying(512); ALTER TABLE meta ALTER COLUMN "objectStoragePrefix" TYPE character varying(512); ALTER TABLE meta ALTER COLUMN "objectStorageBaseUrl" TYPE character varying(512); diff --git a/flake.nix b/flake.nix index a1cffd33e..84b959158 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,5 @@ { - description = "Iceshrimp development flake"; + description = "TrashPoss development flake"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; diff --git a/packages/README.md b/packages/README.md index 670fd5a48..025a5f5ae 100644 --- a/packages/README.md +++ b/packages/README.md @@ -1,6 +1,6 @@ # 📦 Packages -This directory contains all of the packages Iceshrimp uses. +This directory contains all of the packages TrashPoss uses. - `backend`: Main backend code written in TypeScript for NodeJS - `client`: Web interface written in Vue3 and TypeScript diff --git a/packages/backend/assets/LICENSE b/packages/backend/assets/LICENSE index 79f5e9541..e8df96709 100644 --- a/packages/backend/assets/LICENSE +++ b/packages/backend/assets/LICENSE @@ -1,4 +1,4 @@ -Copyright 2023 The Iceshrimp contributors +Copyright 2024 The TrashPoss contributors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/packages/backend/assets/redoc.html b/packages/backend/assets/redoc.html index d918b10cd..3fb9c3925 100644 --- a/packages/backend/assets/redoc.html +++ b/packages/backend/assets/redoc.html @@ -1,7 +1,7 @@ - Iceshrimp API + TrashPoss API diff --git a/packages/backend/src/migration/1689965609061-iceshrimp-repo.ts b/packages/backend/src/migration/1689965609061-iceshrimp-repo.ts index c81998133..c952e0050 100644 --- a/packages/backend/src/migration/1689965609061-iceshrimp-repo.ts +++ b/packages/backend/src/migration/1689965609061-iceshrimp-repo.ts @@ -4,10 +4,10 @@ export class IceshrimpRepo1689965609061 implements MigrationInterface { async up(queryRunner: QueryRunner): Promise { await queryRunner.query( - `UPDATE meta SET "repositoryUrl" = 'https://iceshrimp.dev/iceshrimp/iceshrimp'`, + `UPDATE meta SET "repositoryUrl" = 'https://iceshrimp.dev/Crimekillz/trashposs'`, ); await queryRunner.query( - `UPDATE meta SET "feedbackUrl" = 'https://iceshrimp.dev/iceshrimp/iceshrimp/issues'`, + `UPDATE meta SET "feedbackUrl" = 'https://iceshrimp.dev/Crimekillz/trashposs/issues'`, ); } diff --git a/packages/backend/src/migration/1697289658422-resync-with-orm.ts b/packages/backend/src/migration/1697289658422-resync-with-orm.ts index aca3d8af7..c50cd1718 100644 --- a/packages/backend/src/migration/1697289658422-resync-with-orm.ts +++ b/packages/backend/src/migration/1697289658422-resync-with-orm.ts @@ -16,8 +16,8 @@ export class ResyncWithOrm1697289658422 implements MigrationInterface { await queryRunner.query(`ALTER TABLE "meta" ALTER COLUMN "privateMode" SET NOT NULL`); await queryRunner.query(`ALTER TABLE "meta" ALTER COLUMN "allowedHosts" SET NOT NULL`); await queryRunner.query(`ALTER TABLE "meta" ALTER COLUMN "pinnedPages" SET DEFAULT '{/featured,/channels,/explore,/pages,/about-iceshrimp}'`); - await queryRunner.query(`ALTER TABLE "meta" ALTER COLUMN "repositoryUrl" SET DEFAULT 'https://iceshrimp.dev/iceshrimp/iceshrimp'`); - await queryRunner.query(`ALTER TABLE "meta" ALTER COLUMN "feedbackUrl" SET DEFAULT 'https://iceshrimp.dev/iceshrimp/iceshrimp/issues/new'`); + await queryRunner.query(`ALTER TABLE "meta" ALTER COLUMN "repositoryUrl" SET DEFAULT 'https://iceshrimp.dev/Crimekillz/trashposs'`); + await queryRunner.query(`ALTER TABLE "meta" ALTER COLUMN "feedbackUrl" SET DEFAULT 'https://iceshrimp.dev/Crimekillz/trashposs/issues/new'`); await queryRunner.query(`COMMENT ON COLUMN "renote_muting"."createdAt" IS 'The created date of the Muting.'`); await queryRunner.query(`COMMENT ON COLUMN "renote_muting"."muteeId" IS 'The mutee user ID.'`); await queryRunner.query(`COMMENT ON COLUMN "renote_muting"."muterId" IS 'The muter user ID.'`); diff --git a/packages/backend/src/misc/fetch-meta.ts b/packages/backend/src/misc/fetch-meta.ts index 14372a792..0b3b2dd85 100644 --- a/packages/backend/src/misc/fetch-meta.ts +++ b/packages/backend/src/misc/fetch-meta.ts @@ -20,8 +20,8 @@ export function metaToPugArgs(meta: Meta): object { return { img: meta.bannerUrl, - title: meta.name || "Iceshrimp", - instanceName: meta.name || "Iceshrimp", + title: meta.name || "TrashPoss", + instanceName: meta.name || "TrashPoss", desc: meta.description, icon: meta.iconUrl, splashIcon: splashIconUrl, diff --git a/packages/backend/src/models/entities/meta.ts b/packages/backend/src/models/entities/meta.ts index dfebad853..ab0cc578d 100644 --- a/packages/backend/src/models/entities/meta.ts +++ b/packages/backend/src/models/entities/meta.ts @@ -375,14 +375,14 @@ export class Meta { @Column("varchar", { length: 512, - default: "https://iceshrimp.dev/iceshrimp/iceshrimp", + default: "https://iceshrimp.dev/Crimekillz/trashposs", nullable: false, }) public repositoryUrl: string; @Column("varchar", { length: 512, - default: "https://iceshrimp.dev/iceshrimp/iceshrimp/issues/new", + default: "https://iceshrimp.dev/Crimekillz/trashposs/issues/new", nullable: true, }) public feedbackUrl: string | null; diff --git a/packages/backend/src/queue/processors/webhook-deliver.ts b/packages/backend/src/queue/processors/webhook-deliver.ts index 904291da2..dd92e345b 100644 --- a/packages/backend/src/queue/processors/webhook-deliver.ts +++ b/packages/backend/src/queue/processors/webhook-deliver.ts @@ -16,10 +16,10 @@ export default async (job: Bull.Job) => { url: job.data.to, method: "POST", headers: { - "User-Agent": "Iceshrimp-Hooks", - "X-Iceshrimp-Host": config.host, - "X-Iceshrimp-Hook-Id": job.data.webhookId, - "X-Iceshrimp-Hook-Secret": job.data.secret, + "User-Agent": "TrashPoss-Hooks", + "X-TrashPoss-Host": config.host, + "X-TrashPoss-Hook-Id": job.data.webhookId, + "X-TrashPoss-Hook-Secret": job.data.secret, "Content-Type": "application/json", }, body: JSON.stringify({ diff --git a/packages/backend/src/remote/activitypub/models/image.ts b/packages/backend/src/remote/activitypub/models/image.ts index 7152a2573..f092abc87 100644 --- a/packages/backend/src/remote/activitypub/models/image.ts +++ b/packages/backend/src/remote/activitypub/models/image.ts @@ -68,8 +68,8 @@ export async function createImage( /** * Resolve Image. * - * If the target Image is registered in Iceshrimp, return it, otherwise - * Fetch from remote server, register with Iceshrimp and return it. + * If the target Image is registered in TrashPoss, return it, otherwise + * Fetch from remote server, register with TrashPoss and return it. */ export async function resolveImage( actor: CacheableRemoteUser, diff --git a/packages/backend/src/remote/activitypub/models/note.ts b/packages/backend/src/remote/activitypub/models/note.ts index 2c8752f55..65737819b 100644 --- a/packages/backend/src/remote/activitypub/models/note.ts +++ b/packages/backend/src/remote/activitypub/models/note.ts @@ -98,7 +98,7 @@ export function validateNote(object: any, uri: string) { /** * Fetch Notes. * - * If the target Note is registered in Iceshrimp, it will be returned. + * If the target Note is registered in TrashPoss, it will be returned. */ export async function fetchNote( object: string | IObject, @@ -427,8 +427,8 @@ export async function createNote( /** * Resolve Note. * - * If the target Note is registered in Iceshrimp, return it, otherwise - * Fetch from remote server, register with Iceshrimp and return it. + * If the target Note is registered in TrashPoss, return it, otherwise + * Fetch from remote server, register with TrashPoss and return it. */ export async function resolveNote( value: string | IObject, diff --git a/packages/backend/src/remote/activitypub/models/person.ts b/packages/backend/src/remote/activitypub/models/person.ts index dc2670c4c..b290bfc71 100644 --- a/packages/backend/src/remote/activitypub/models/person.ts +++ b/packages/backend/src/remote/activitypub/models/person.ts @@ -134,7 +134,7 @@ function validateActor(x: IObject, uri: string): IActor { /** * Fetch a Person. * - * If the target Person is registered in Iceshrimp, it will be returned. + * If the target Person is registered in TrashPoss, it will be returned. */ export async function fetchPerson( uri: string, @@ -455,7 +455,7 @@ export async function createPerson( /** * Update Person data from remote. - * If the target Person is not registered in Iceshrimp, it is ignored. + * If the target Person is not registered in TrashPoss, it is ignored. * @param uri URI of Person * @param resolver Resolver * @param hint Hint of Person object (If this value is a valid Person, it is used for updating without Remote resolve) @@ -661,8 +661,8 @@ export async function updatePerson( /** * Resolve Person. * - * If the target person is registered in Iceshrimp, it returns it; - * otherwise, it fetches it from the remote server, registers it in Iceshrimp, and returns it. + * If the target person is registered in TrashPoss, it returns it; + * otherwise, it fetches it from the remote server, registers it in TrashPoss, and returns it. */ export async function resolvePerson( uri: string, diff --git a/packages/backend/src/server/api/endpoints.ts b/packages/backend/src/server/api/endpoints.ts index d7e484207..f4e6436b6 100644 --- a/packages/backend/src/server/api/endpoints.ts +++ b/packages/backend/src/server/api/endpoints.ts @@ -339,7 +339,7 @@ import * as ep___admin_driveCapOverride from "./endpoints/admin/drive-capacity-o import * as ep___bites_create from "./endpoints/bites/create.js"; import * as ep___bites_show from "./endpoints/bites/show.js"; -//Iceshrimp Move +//TrashPoss Move import * as ep___i_move from "./endpoints/i/move.js"; import * as ep___i_known_as from "./endpoints/i/known-as.js"; diff --git a/packages/backend/src/server/api/endpoints/meta.ts b/packages/backend/src/server/api/endpoints/meta.ts index 834562dae..0bbefc70c 100644 --- a/packages/backend/src/server/api/endpoints/meta.ts +++ b/packages/backend/src/server/api/endpoints/meta.ts @@ -42,7 +42,7 @@ export const meta = { optional: false, nullable: false, format: "url", - example: "https://iceshrimp.example.com", + example: "https://trashposs.example.com", }, domain: { type: "string", @@ -75,13 +75,13 @@ export const meta = { type: "string", optional: false, nullable: false, - default: "https://iceshrimp.dev/iceshrimp/iceshrimp", + default: "https://iceshrimp.dev/Crimekillz/trashposs", }, feedbackUrl: { type: "string", optional: false, nullable: false, - default: "https://iceshrimp.dev/iceshrimp/iceshrimp/issues", + default: "https://iceshrimp.dev/Crimekillz/trashposs/issues", }, defaultDarkTheme: { type: "string", diff --git a/packages/backend/src/server/api/endpoints/release.ts b/packages/backend/src/server/api/endpoints/release.ts index ba03e592a..1724922e8 100644 --- a/packages/backend/src/server/api/endpoints/release.ts +++ b/packages/backend/src/server/api/endpoints/release.ts @@ -2,7 +2,7 @@ import define from "../define.js"; export const meta = { tags: ["meta"], - description: "Get release notes from Codeberg", + description: "Get release notes from GIT", requireCredential: false, requireCredentialPrivateMode: false, @@ -18,7 +18,7 @@ export default define(meta, paramDef, async () => { let release; await fetch( - "https://iceshrimp.dev/iceshrimp/iceshrimp/raw/branch/dev/release.json", + "https://iceshrimp.dev/Crimekillz/trashposs/raw/branch/dev/release.json", ) .then((response) => response.json()) .then((data) => { diff --git a/packages/backend/src/server/api/mastodon/helpers/misc.ts b/packages/backend/src/server/api/mastodon/helpers/misc.ts index aca8dd7b5..8306a25c0 100644 --- a/packages/backend/src/server/api/mastodon/helpers/misc.ts +++ b/packages/backend/src/server/api/mastodon/helpers/misc.ts @@ -39,14 +39,14 @@ export class MiscHelpers { const res = { uri: config.domain, - title: meta.name || "Iceshrimp", + title: meta.name || "TrashPoss", short_description: - meta.description?.substring(0, 50) || "This is an Iceshrimp instance. It doesn't seem to have a description.", + meta.description?.substring(0, 50) || "This is an TrashPoss instance. It doesn't seem to have a description.", description: meta.description || - "This is an Iceshrimp instance. It doesn't seem to have a description.", + "This is an TrashPoss instance. It doesn't seem to have a description.", email: meta.maintainerEmail || "", - version: `4.2.1 (compatible; Iceshrimp ${config.version})`, + version: `4.2.1 (compatible; TrashPoss ${config.version})`, urls: { streaming_api: `${config.url.replace(/^http(?=s?:\/\/)/, "ws")}`, }, diff --git a/packages/backend/src/server/api/openapi/gen-spec.ts b/packages/backend/src/server/api/openapi/gen-spec.ts index d0585d596..575be0802 100644 --- a/packages/backend/src/server/api/openapi/gen-spec.ts +++ b/packages/backend/src/server/api/openapi/gen-spec.ts @@ -9,13 +9,13 @@ export function genOpenapiSpec() { info: { version: "v1", - title: "Iceshrimp API", + title: "TrashPoss API", "x-logo": { url: "/static-assets/api-doc.png" }, }, externalDocs: { description: "Repository", - url: "https://iceshrimp.dev/iceshrimp/iceshrimp", + url: "https://iceshrimp.dev/Crimekillz/trashposs", }, servers: [ @@ -106,7 +106,7 @@ export function genOpenapiSpec() { description: desc, externalDocs: { description: "Source code", - url: `https://iceshrimp.dev/iceshrimp/iceshrimp/src/branch/dev/packages/backend/src/server/api/endpoints/${endpoint.name}.ts`, + url: `https://iceshrimp.dev/Crimekillz/trashposs/src/branch/dev/packages/backend/src/server/api/endpoints/${endpoint.name}.ts`, }, tags: endpoint.meta.tags || undefined, security, diff --git a/packages/backend/src/server/web/feed.ts b/packages/backend/src/server/web/feed.ts index f80fd5b22..bc44899c7 100644 --- a/packages/backend/src/server/web/feed.ts +++ b/packages/backend/src/server/web/feed.ts @@ -43,7 +43,7 @@ export default async function ( id: author.link, title: `${author.name} (@${user.username}@${config.domain})`, updated: notes[0].createdAt, - generator: "Iceshrimp", + generator: "TrashPoss", description: `${user.notesCount} Notes, ${ profile.ffVisibility === "public" ? user.followingCount : "?" } Following, ${ diff --git a/packages/backend/src/server/web/manifest.json b/packages/backend/src/server/web/manifest.json index 2aa7ec310..5dcd56c52 100644 --- a/packages/backend/src/server/web/manifest.json +++ b/packages/backend/src/server/web/manifest.json @@ -1,6 +1,6 @@ { - "short_name": "Iceshrimp", - "name": "Iceshrimp", + "short_name": "TrashPoss", + "name": "TrashPoss", "description": "An open source, decentralized social media platform that's free forever!", "start_url": "/", "display": "standalone", diff --git a/packages/backend/src/server/web/manifest.ts b/packages/backend/src/server/web/manifest.ts index e1bee8aae..68df05df0 100644 --- a/packages/backend/src/server/web/manifest.ts +++ b/packages/backend/src/server/web/manifest.ts @@ -9,8 +9,8 @@ export const manifestHandler = async (ctx: Koa.Context) => { const instance = await fetchMeta(true); - res.short_name = instance.name || "Iceshrimp"; - res.name = instance.name || "Iceshrimp"; + res.short_name = instance.name || "TrashPoss"; + res.name = instance.name || "TrashPoss"; if (instance.themeColor) res.theme_color = instance.themeColor; ctx.set("Cache-Control", "max-age=300"); diff --git a/packages/backend/src/server/web/views/base.pug b/packages/backend/src/server/web/views/base.pug index 8fac9499e..023a75835 100644 --- a/packages/backend/src/server/web/views/base.pug +++ b/packages/backend/src/server/web/views/base.pug @@ -7,9 +7,10 @@ doctype html // - - Thank you for using Iceshrimp! + Thank you for using TrashPoss! If you are reading this message... how about joining the development? - https://iceshrimp.dev/iceshrimp/iceshrimp + https://iceshrimp.dev/Crimekillz/trashposs + Hack the planet! Be gay, do crime! html @@ -17,13 +18,13 @@ html head meta(charset='utf-8') - meta(name='application-name' content='Iceshrimp') + meta(name='application-name' content='TrashPoss') meta(name='referrer' content='origin') meta(name='darkreader-lock' content='') meta(name='theme-color' content= themeColor || '#31748f') meta(name='theme-color-orig' content= themeColor || '#31748f') meta(property='twitter:card' content='summary') - meta(property='og:site_name' content= instanceName || 'Iceshrimp') + meta(property='og:site_name' content= instanceName || 'TrashPoss') meta(name='viewport' content='width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no') link(rel='icon' href= icon || `/favicon.ico?${ timestamp }`) link(rel='apple-touch-icon' href= icon || `/apple-touch-icon.png?${ timestamp }`) @@ -40,7 +41,7 @@ html title block title - = title || 'Iceshrimp' + = title || 'TrashPoss' block desc meta(name='description' content=desc || 'An open source, decentralized social media platform that\'s free forever! 🚀') @@ -50,7 +51,7 @@ html meta(name='robots' content='noindex') block og - meta(property='og:title' content=title || 'Iceshrimp') + meta(property='og:title' content=title || 'TrashPoss') meta(property='og:description' content=desc || 'An open source, decentralized social media platform that\'s free forever! 🚀') meta(property='og:image' content=img) meta(property='og:image:alt' content=alt || 'Pfp') diff --git a/packages/backend/src/server/web/views/bios.pug b/packages/backend/src/server/web/views/bios.pug index 5387861a9..90f2f2dc4 100644 --- a/packages/backend/src/server/web/views/bios.pug +++ b/packages/backend/src/server/web/views/bios.pug @@ -4,9 +4,9 @@ html head meta(charset='utf-8') - meta(name='application-name' content='Iceshrimp') + meta(name='application-name' content='TrashPoss') meta(name='viewport' content='width=device-width, initial-scale=1.0') - title Iceshrimp Repair Tool + title TrashPoss Repair Tool style include ../bios.css script @@ -14,7 +14,7 @@ html body header - h1 Iceshrimp Repair Tool v#{version} + h1 TrashPoss Repair Tool v#{version} main div.tabs button#ls Edit local storage diff --git a/packages/backend/src/server/web/views/cli.pug b/packages/backend/src/server/web/views/cli.pug index 98773c8bb..db475a8f4 100644 --- a/packages/backend/src/server/web/views/cli.pug +++ b/packages/backend/src/server/web/views/cli.pug @@ -4,9 +4,9 @@ html head meta(charset='utf-8') - meta(name='application-name' content='Iceshrimp') + meta(name='application-name' content='TrashPoss') meta(name='viewport' content='width=device-width, initial-scale=1.0') - title Iceshrimp Cli + title TrashPoss Cli style include ../cli.css script @@ -14,7 +14,7 @@ html body header - h1 Iceshrimp Simple Client v#{version} + h1 TrashPoss Simple Client v#{version} main div#form textarea#text diff --git a/packages/backend/src/server/web/views/flush.pug b/packages/backend/src/server/web/views/flush.pug index 537d9265e..96e652967 100644 --- a/packages/backend/src/server/web/views/flush.pug +++ b/packages/backend/src/server/web/views/flush.pug @@ -3,9 +3,9 @@ doctype html html head meta(charset='utf-8') - meta(name='application-name' content='Iceshrimp') + meta(name='application-name' content='TrashPoss') meta(name='viewport' content='width=device-width, initial-scale=1.0') - title Flush Iceshrimp + title Flush TrashPoss style. * { font-family: BIZ UDGothic, Roboto, HelveticaNeue, Arial, sans-serif; @@ -28,7 +28,7 @@ html #msg script. const msg = document.getElementById('msg'); - const successText = `\nSuccess Flush! Back to Iceshrimp\n成功しました。Iceshrimpを開き直してください。`; + const successText = `\nSuccess Flush! Back to TrashPoss\n成功しました。TrashPossを開き直してください。`; message('Start flushing.'); diff --git a/packages/backend/src/services/logger.ts b/packages/backend/src/services/logger.ts index 5a77246e2..f19fbe600 100644 --- a/packages/backend/src/services/logger.ts +++ b/packages/backend/src/services/logger.ts @@ -29,7 +29,7 @@ export default class Logger { if (config.syslog) { this.syslogClient = new SyslogPro.RFC5424({ - applacationName: "Iceshrimp", + applacationName: "TrashPoss", timestamp: true, encludeStructuredData: true, color: true, diff --git a/packages/client/src/components/MkInstanceTicker.vue b/packages/client/src/components/MkInstanceTicker.vue index d23ec39ef..5c4e0b4c4 100644 --- a/packages/client/src/components/MkInstanceTicker.vue +++ b/packages/client/src/components/MkInstanceTicker.vue @@ -35,7 +35,7 @@ const instance = props.instance ?? { 'meta[name="theme-color-orig"]', ) as HTMLMetaElement )?.content, - softwareName: Instance.softwareName || "Iceshrimp", + softwareName: Instance.softwareName || "TrashPoss", }; const capitalize = (s: string) => s && s[0].toUpperCase() + s.slice(1); diff --git a/packages/client/src/components/MkSample.vue b/packages/client/src/components/MkSample.vue index 91bdcef5b..914d0dc7b 100644 --- a/packages/client/src/components/MkSample.vue +++ b/packages/client/src/components/MkSample.vue @@ -8,7 +8,7 @@ Switch is now {{ flag ? "on" : "off" }}
- Iceshrimp + TrashPoss Mastodon Pleroma
diff --git a/packages/client/src/init.ts b/packages/client/src/init.ts index 7e2d6ebcd..f39a12ab4 100644 --- a/packages/client/src/init.ts +++ b/packages/client/src/init.ts @@ -64,7 +64,7 @@ function checkForSplash() { } (async () => { - console.info(`Iceshrimp v${version}`); + console.info(`TrashPoss v${version}`); if (_DEV_) { console.warn("Development mode!!!"); diff --git a/packages/client/src/pages/admin/index.vue b/packages/client/src/pages/admin/index.vue index 5b6ebfedc..3cfd9a4d5 100644 --- a/packages/client/src/pages/admin/index.vue +++ b/packages/client/src/pages/admin/index.vue @@ -35,7 +35,7 @@ {{ i18n.ts.updateAvailable }} {{ i18n.ts.check }} - +
-

Welcome to Iceshrimp!

+

Welcome to TrashPoss!

{{ i18n.ts.intro }}

{ - window.open("https://iceshrimp.dev/iceshrimp/iceshrimp/src/branch/dev/APPS.md", "_blank"); + window.open("https://iceshrimp.dev/Crimekillz/trashposs/src/branch/dev/APPS.md", "_blank"); }, }, { diff --git a/packages/client/src/themes/_dark.json5 b/packages/client/src/themes/_dark.json5 index ce612d27a..3a9012631 100644 --- a/packages/client/src/themes/_dark.json5 +++ b/packages/client/src/themes/_dark.json5 @@ -6,7 +6,7 @@ id: 'dark', name: 'Dark', - author: 'Iceshrimp Contributors', + author: 'TrashPoss Contributors', desc: 'Default dark theme', kind: 'dark', diff --git a/packages/client/src/themes/_light.json5 b/packages/client/src/themes/_light.json5 index fabad29bb..19a8fda3f 100644 --- a/packages/client/src/themes/_light.json5 +++ b/packages/client/src/themes/_light.json5 @@ -6,7 +6,7 @@ id: 'light', name: 'Light', - author: 'Iceshrimp Contributors', + author: 'TrashPoss Contributors', desc: 'Default light theme', kind: 'light', diff --git a/packages/client/src/themes/d-iceshrimp.json5 b/packages/client/src/themes/d-iceshrimp.json5 index 70b136325..a69b10c13 100644 --- a/packages/client/src/themes/d-iceshrimp.json5 +++ b/packages/client/src/themes/d-iceshrimp.json5 @@ -1,6 +1,6 @@ { id: '0c74bfbe-c9b9-4a42-9798-2ee030e65f1c', - name: 'Iceshrimp Dark', + name: 'TrashPoss Dark', author: '@TyrKilcat@meow.social', base: 'dark', props: { diff --git a/packages/client/src/themes/l-iceshrimp.json5 b/packages/client/src/themes/l-iceshrimp.json5 index d7eea1d93..cda3d7127 100644 --- a/packages/client/src/themes/l-iceshrimp.json5 +++ b/packages/client/src/themes/l-iceshrimp.json5 @@ -1,6 +1,6 @@ { id: '360da846-debe-40f9-9f10-5ad035afa546', - name: 'Iceshrimp Light', + name: 'TrashPoss Light', author: '@TyrKilcat@meow.social', base: 'light', props: { diff --git a/packages/client/src/ui/visitor/a.vue b/packages/client/src/ui/visitor/a.vue index 21797c4e2..675487739 100644 --- a/packages/client/src/ui/visitor/a.vue +++ b/packages/client/src/ui/visitor/a.vue @@ -64,7 +64,7 @@ Powered by IceshrimpTrashPoss
diff --git a/packages/client/src/ui/visitor/b.vue b/packages/client/src/ui/visitor/b.vue index 3a34bff4c..1b410058a 100644 --- a/packages/client/src/ui/visitor/b.vue +++ b/packages/client/src/ui/visitor/b.vue @@ -19,7 +19,7 @@ Powered by IceshrimpTrashPoss diff --git a/packages/client/src/ui/visitor/kanban.vue b/packages/client/src/ui/visitor/kanban.vue index 1f672b8be..b46527f2d 100644 --- a/packages/client/src/ui/visitor/kanban.vue +++ b/packages/client/src/ui/visitor/kanban.vue @@ -70,7 +70,7 @@ Powered by IceshrimpTrashPoss diff --git a/packages/iceshrimp-js/README.md b/packages/iceshrimp-js/README.md index b944f4196..5fb887ada 100644 --- a/packages/iceshrimp-js/README.md +++ b/packages/iceshrimp-js/README.md @@ -1,6 +1,6 @@ # iceshrimp.js -Fork of Misskey.js for Iceshrimp +Fork of Misskey.js for TrashPoss https://www.npmjs.com/package/iceshrimp-js diff --git a/packages/iceshrimp-js/package.json b/packages/iceshrimp-js/package.json index f00b5796a..cc5bf02b0 100644 --- a/packages/iceshrimp-js/package.json +++ b/packages/iceshrimp-js/package.json @@ -19,7 +19,7 @@ }, "repository": { "type": "git", - "url": "https://iceshrimp.dev/iceshrimp/iceshrimp.git" + "url": "https://iceshrimp.dev/Crimekillz/trashposs.git" }, "devDependencies": { "@microsoft/api-documenter": "^7.22.21", diff --git a/release.json b/release.json index efa26ade3..8ec61923f 100644 --- a/release.json +++ b/release.json @@ -1,5 +1,5 @@ { "version": "1.0.0", - "notes": "Welcome to Iceshrimp!", + "notes": "Welcome to TrashPoss!", "screenshots": [] }