diff --git a/fiesta/apps/accounts/migrations/0018_alter_userprofile_instagram.py b/fiesta/apps/accounts/migrations/0018_alter_userprofile_instagram.py new file mode 100644 index 00000000..316323e7 --- /dev/null +++ b/fiesta/apps/accounts/migrations/0018_alter_userprofile_instagram.py @@ -0,0 +1,19 @@ +# Generated by Django 4.2.4 on 2023-10-27 17:55 + +import django.core.validators +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('accounts', '0017_alter_userprofile_instagram'), + ] + + operations = [ + migrations.AlterField( + model_name='userprofile', + name='instagram', + field=models.CharField(blank=True, validators=[django.core.validators.RegexValidator('^[\\w_.]+$')], verbose_name='instagram username'), + ), + ] diff --git a/fiesta/apps/buddy_system/migrations/0022_alter_buddyrequestmatch_note.py b/fiesta/apps/buddy_system/migrations/0022_alter_buddyrequestmatch_note.py new file mode 100644 index 00000000..1010f213 --- /dev/null +++ b/fiesta/apps/buddy_system/migrations/0022_alter_buddyrequestmatch_note.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.4 on 2023-10-27 17:55 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('buddy_system', '0021_remove_buddyrequest_issuer_note_and_more'), + ] + + operations = [ + migrations.AlterField( + model_name='buddyrequestmatch', + name='note', + field=models.TextField(blank=True, null=True, verbose_name='text from matcher'), + ), + ] diff --git a/fiesta/apps/buddy_system/migrations/0023_alter_buddyrequestmatch_note.py b/fiesta/apps/buddy_system/migrations/0023_alter_buddyrequestmatch_note.py new file mode 100644 index 00000000..80cd03c1 --- /dev/null +++ b/fiesta/apps/buddy_system/migrations/0023_alter_buddyrequestmatch_note.py @@ -0,0 +1,19 @@ +# Generated by Django 4.2.4 on 2023-10-27 17:56 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('buddy_system', '0022_alter_buddyrequestmatch_note'), + ] + + operations = [ + migrations.AlterField( + model_name='buddyrequestmatch', + name='note', + field=models.TextField(blank=True, default='', verbose_name='text from matcher'), + preserve_default=False, + ), + ] diff --git a/fiesta/apps/events/migrations/0002_alter_event_subtitle_alter_place_description_and_more.py b/fiesta/apps/events/migrations/0002_alter_event_subtitle_alter_place_description_and_more.py new file mode 100644 index 00000000..033fc2de --- /dev/null +++ b/fiesta/apps/events/migrations/0002_alter_event_subtitle_alter_place_description_and_more.py @@ -0,0 +1,33 @@ +# Generated by Django 4.2.4 on 2023-10-27 17:55 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('events', '0001_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='event', + name='subtitle', + field=models.TextField(blank=True, help_text='short description of the event', verbose_name='subtitle'), + ), + migrations.AlterField( + model_name='place', + name='description', + field=models.CharField(blank=True, help_text='Descriptions of the place or directions', max_length=256, verbose_name='description'), + ), + migrations.AlterField( + model_name='place', + name='link', + field=models.CharField(blank=True, help_text='Link to the place', max_length=256, verbose_name='webpage link'), + ), + migrations.AlterField( + model_name='place', + name='map_link', + field=models.CharField(blank=True, help_text='Link to a position to the place on a map', max_length=256, verbose_name='map link'), + ), + ] diff --git a/fiesta/apps/plugins/migrations/0015_alter_plugin_app_label.py b/fiesta/apps/plugins/migrations/0015_alter_plugin_app_label.py new file mode 100644 index 00000000..3819cdbe --- /dev/null +++ b/fiesta/apps/plugins/migrations/0015_alter_plugin_app_label.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.4 on 2023-10-27 17:55 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('plugins', '0014_alter_plugin_app_label'), + ] + + operations = [ + migrations.AlterField( + model_name='plugin', + name='app_label', + field=models.CharField(choices=[('buddy_system', 'Buddy System'), ('dashboard', 'Dashboard'), ('sections', 'ESN section'), ('esncards', 'ESNcard'), ('events', 'Events'), ('pages', 'Pages')], help_text='Defines system application, which specific plugin represents.', max_length=256, verbose_name='app label'), + ), + ] diff --git a/fiesta/fiesta/settings/auth.py b/fiesta/fiesta/settings/auth.py index 0b1789fe..00dcfe77 100644 --- a/fiesta/fiesta/settings/auth.py +++ b/fiesta/fiesta/settings/auth.py @@ -79,6 +79,8 @@ class AuthConfigMixin: SOCIALACCOUNT_ADAPTER = "apps.accounts.adapters.SocialAccountAdapter" # general django urls LOGIN_URL = "/auth/login" + # TODO: do redirect to special url with smart router, which redirects to section + # (if user has only one section) LOGIN_REDIRECT_URL = "/" # fixme: verify it