Compare commits

...

5 Commits

Author SHA1 Message Date
Norbert Tretkowski 006dfe0d99
Merge 3ce5ae21bf into 74a3d5c6c0 2024-04-25 08:17:34 -03:00
daniel 74a3d5c6c0
Merge pull request #5056 from pixelfed/staging
Update CustomEmojiService, only return local emoji
2024-04-23 05:55:10 -06:00
Daniel Supernault 7f8bba4415
Update CustomEmojiService, only return local emoji 2024-04-23 05:54:24 -06:00
Norbert Tretkowski 3ce5ae21bf
Fix typo in .env.docker comment 2024-04-13 22:55:21 +02:00
Norbert Tretkowski bf309297d5
`version` is obsolete 2024-04-13 22:26:53 +02:00
4 changed files with 2 additions and 6 deletions

View File

@ -1034,7 +1034,7 @@ DOCKER_APP_HOST_CACHE_PATH="${DOCKER_ALL_HOST_DATA_ROOT_PATH:?error}/pixelfed/ca
# Automatically run "One-time setup tasks" commands.
#
# If you are migrating to this docker-compose setup or have manually run the "One time seutp"
# If you are migrating to this docker-compose setup or have manually run the "One time setup"
# tasks (https://docs.pixelfed.org/running-pixelfed/installation/#setting-up-services)
# you can set this to "0" to prevent them from running.
#

View File

@ -133,6 +133,7 @@ class CustomEmojiService
return CustomEmoji::when(!$pgsql, function($q, $pgsql) {
return $q->groupBy('shortcode');
})
->whereNull('uri')
->get()
->map(function($emojo) {
$url = url('storage/' . $emojo->media_path);

View File

@ -1,6 +1,4 @@
---
version: "3"
services:
migrate:
image: "servercontainers/rsync"

View File

@ -1,7 +1,4 @@
---
# Require 3.8 to ensure people use a recent version of Docker + Compose
version: "3.8"
###############################################################
# Please see docker/README.md for usage information
###############################################################