Skip to content

Commit

Permalink
default activitypub state is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
LoanR committed Sep 11, 2024
1 parent 0d7724d commit 0d29ec3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pod/activitypub/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from .models import Follower, Following, ExternalVideo
from .tasks import task_follow, task_index_external_videos

USE_ACTIVITYPUB = getattr(settings, "USE_ACTIVITYPUB", True)
USE_ACTIVITYPUB = getattr(settings, "USE_ACTIVITYPUB", False)


@admin.register(Follower)
Expand Down
2 changes: 1 addition & 1 deletion pod/activitypub/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from django.db.models.signals import post_delete, pre_save, post_save
from django.conf import settings

USE_ACTIVITYPUB = getattr(settings, "USE_ACTIVITYPUB", True)
USE_ACTIVITYPUB = getattr(settings, "USE_ACTIVITYPUB", False)


class ActivitypubConfig(AppConfig):
Expand Down
2 changes: 1 addition & 1 deletion pod/main/configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -2238,7 +2238,7 @@
"description": {},
"settings": {
"USE_ACTIVITYPUB": {
"default_value": true,
"default_value": false,
"description": {
"en": [
""
Expand Down
2 changes: 1 addition & 1 deletion pod/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
USE_IMPORT_VIDEO = getattr(settings, "USE_IMPORT_VIDEO", True)
USE_QUIZ = getattr(settings, "USE_QUIZ", True)
USE_AI_ENHANCEMENT = getattr(settings, "USE_AI_ENHANCEMENT", False)
USE_ACTIVITYPUB = getattr(settings, "USE_ACTIVITYPUB", True)
USE_ACTIVITYPUB = getattr(settings, "USE_ACTIVITYPUB", False)

if USE_CAS:
from cas import views as cas_views
Expand Down
2 changes: 1 addition & 1 deletion pod/video/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

ACTIVE_VIDEO_COMMENT = getattr(settings, "ACTIVE_VIDEO_COMMENT", False)

USE_ACTIVITYPUB = getattr(settings, "USE_ACTIVITYPUB", True)
USE_ACTIVITYPUB = getattr(settings, "USE_ACTIVITYPUB", False)


def url_to_edit_object(obj):
Expand Down

0 comments on commit 0d29ec3

Please sign in to comment.