From: Vik Fearing Date: Wed, 30 Jul 2025 08:38:50 +0000 (+0200) Subject: Fully rename Twitter to "Social Media" X-Git-Url: http://git.postgresql.org/gitweb/delmail?a=commitdiff_plain;h=d73bc198a9049d33e40240a6e1796fb103c4073d;p=pgeu-system.git Fully rename Twitter to "Social Media" Commit 6cad91e just renamed the button on the admin page but failed to change it throughout the entire codebase. This commit also changes the name in the documentation as well as on the model, this fixing the entire system. One thing that this does *not* do is rename the actual code as that seems like too much of an invasive change. --- diff --git a/docs/confreg/integrations.md b/docs/confreg/integrations.md index 7e7b14f3..1ba15831 100644 --- a/docs/confreg/integrations.md +++ b/docs/confreg/integrations.md @@ -5,7 +5,7 @@ system. The following terms are used when setting this system up: [Messaging Implementation](#implementation) : This is the "driver" for different types of messaging systems that - can be configured, for example "Twitter" or "Telegram". + can be configured, for example "BlueSky", "LinkedIn", or "Telegram". [Messaging Provider](#provider) : This is a configured instance of an implementation, for example @@ -54,7 +54,7 @@ The social broadcasting integration supports: ### Manually posting to social broadcasting As an administrator, the easiest way to post to social broadcasting using the -integration is to just add an entry to the table for *Twitter post +integration is to just add an entry to the table for *Social media post queue*. This button becomes available from the main dashboard of a conference once the integration has been configured. diff --git a/postgresqleu/confreg/migrations/0057_twitter_enhancement.py b/postgresqleu/confreg/migrations/0057_twitter_enhancement.py index 5d15308e..590ee26f 100644 --- a/postgresqleu/confreg/migrations/0057_twitter_enhancement.py +++ b/postgresqleu/confreg/migrations/0057_twitter_enhancement.py @@ -19,7 +19,7 @@ class Migration(migrations.Migration): operations = [ migrations.AlterModelOptions( name='conferencetweetqueue', - options={'ordering': ['sent', 'datetime'], 'verbose_name': 'Conference Tweet', 'verbose_name_plural': 'Conference Tweets'}, + options={'ordering': ['sent', 'datetime'], 'verbose_name': 'Conference Social Media Post', 'verbose_name_plural': 'Conference Social Media Posts'}, ), migrations.AddField( model_name='conferencetweetqueue', diff --git a/postgresqleu/confreg/models.py b/postgresqleu/confreg/models.py index 4819e740..ea4e877c 100644 --- a/postgresqleu/confreg/models.py +++ b/postgresqleu/confreg/models.py @@ -1693,8 +1693,8 @@ class ConferenceTweetQueue(models.Model): class Meta: ordering = ['sent', 'datetime', ] - verbose_name_plural = 'Conference Tweets' - verbose_name = 'Conference Tweet' + verbose_name_plural = 'Conference Social Media Posts' + verbose_name = 'Conference Social Media Post' indexes = [ GinIndex(name='tweetqueue_postids_idx', fields=['postids'], opclasses=['jsonb_path_ops']), GinIndex(name='tweetqueue_metadata_idx', fields=['metadata'], opclasses=['jsonb_path_ops']),