1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-27 06:55:08 +01:00
BE for bae.st https://bae.st
Go to file
lain fedfe8f7d6 ActivityPub: Handle clashing nicknames for the same ap id
If we get a new user (identified by ap_id) that would have the same
nickname as an existing user, give the existing user a nickname that
is prepended with the user id, as this will never clash.

This can happen when a user switches server software and that soft-
ware generates ap ids in a different way.
2020-07-01 12:26:07 +02:00
.gitlab Use correct PostgreSQL version command in bug template 2020-06-30 03:12:30 +00:00
benchmarks Use atoms as keys in ActivityPub.fetch_* functions options 2020-06-04 21:36:26 +04:00
config Config: Reduce default preloaders to configuration endpoints. 2020-06-27 12:18:37 +02:00
docs Merge branch '1031-parent-visible' into 'develop' 2020-06-29 08:39:51 +00:00
installation Merge branch 'develop' into issue/1855 2020-06-15 15:24:55 +03:00
lib ActivityPub: Handle clashing nicknames for the same ap id 2020-07-01 12:26:07 +02:00
priv Rename user.settings column 2020-06-30 11:50:53 -05:00
rel OTP releases: only set name and distribution type if not set already 2019-11-22 19:58:39 +03:00
restarter Merge branch 'develop' into gun 2020-03-07 12:41:37 +03:00
test ActivityPub: Handle clashing nicknames for the same ap id 2020-07-01 12:26:07 +02:00
uploads
.buildpacks
.credo.exs
.dockerignore remove docs/ from .dockerignore 2019-11-20 00:09:07 +09:00
.formatter.exs HTML: Compile Scrubbers on boot 2019-12-08 20:35:41 +03:00
.gitattributes .gitattributes: use native support for elixir definitions 2020-02-17 13:27:28 +03:00
.gitignore ActivityPub actions & side-effects in transaction 2020-03-01 12:01:39 +03:00
.gitlab-ci.yml Update OTP releases to official images of 1.10.3 2020-06-17 02:27:28 +03:00
.mailmap add mailmap [ci skip] 2019-07-11 08:57:51 +00:00
AGPL-3
CC-BY-SA-4.0
CHANGELOG.md Merge branch '1031-parent-visible' into 'develop' 2020-06-29 08:39:51 +00:00
COPYING Bump copyright dates. 2020-03-26 15:37:42 +01:00
coveralls.json tests for emoji mix task 2020-04-06 11:13:59 +03:00
docker-entrypoint.sh Create docker.exs and docker-entrypoint + round out Dockerfile 2019-08-03 00:21:54 -04:00
Dockerfile Create OTP_VERSION file by mix release 2020-04-10 00:22:50 +09:00
elixir_buildpack.config Upgrade to Elixir 1.9 2020-06-16 13:18:29 +00:00
mix.exs updated swoosh 2020-06-29 16:27:01 +03:00
mix.lock updated swoosh 2020-06-29 16:27:01 +03:00
Procfile
README.md README: Add some troubleshooting info for compilation issues. 2020-06-19 15:49:34 +02:00

About

Pleroma is a microblogging server software that can federate (= exchange messages with) other servers that support ActivityPub. What that means is that you can host a server for yourself or your friends and stay in control of your online identity, but still exchange messages with people on larger servers. Pleroma will federate with all servers that implement ActivityPub, like Friendica, GNU Social, Hubzilla, Mastodon, Misskey, Peertube, and Pixelfed.

Pleroma is written in Elixir and uses PostgresSQL for data storage. It's efficient enough to be ran on low-power devices like Raspberry Pi (though we wouldn't recommend storing the database on the internal SD card ;) but can scale well when ran on more powerful hardware (albeit only single-node for now).

For clients it supports the Mastodon client API with Pleroma extensions (see the API section on https://docs-develop.pleroma.social).

Installation

If you are running Linux (glibc or musl) on x86/arm, the recommended way to install Pleroma is by using OTP releases. OTP releases are as close as you can get to binary releases with Erlang/Elixir. The release is self-contained, and provides everything needed to boot it. The installation instructions are available here.

From Source

If your platform is not supported, or you just want to be able to edit the source code easily, you may install Pleroma from source.

OS/Distro packages

Currently Pleroma is not packaged by any OS/Distros, but if you want to package it for one, we can guide you through the process on our community channels. If you want to change default options in your Pleroma package, please discuss it with us first.

Docker

While we dont provide docker files, other people have written very good ones. Take a look at https://github.com/angristan/docker-pleroma or https://glitch.sh/sn0w/pleroma-docker.

Compilation Troubleshooting

If you ever encounter compilation issues during the updating of Pleroma, you can try these commands and see if they fix things:

  • mix deps.clean --all
  • mix local.rebar
  • mix local.hex
  • rm -r _build

If you are not developing Pleroma, it is better to use the OTP release, which comes with everything precompiled.

Documentation

Community Channels