mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Merge branch 'dev' into beta
This commit is contained in:
		@@ -10,6 +10,11 @@ class Migration(migrations.Migration):
 | 
				
			|||||||
    ]
 | 
					    ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    operations = [
 | 
					    operations = [
 | 
				
			||||||
 | 
					        migrations.AlterField(
 | 
				
			||||||
 | 
					            model_name="mailaccount",
 | 
				
			||||||
 | 
					            name="password",
 | 
				
			||||||
 | 
					            field=models.CharField(max_length=3072, verbose_name="password"),
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
        migrations.AddField(
 | 
					        migrations.AddField(
 | 
				
			||||||
            model_name="mailaccount",
 | 
					            model_name="mailaccount",
 | 
				
			||||||
            name="expiration",
 | 
					            name="expiration",
 | 
				
			||||||
@@ -35,7 +40,7 @@ class Migration(migrations.Migration):
 | 
				
			|||||||
            field=models.CharField(
 | 
					            field=models.CharField(
 | 
				
			||||||
                blank=True,
 | 
					                blank=True,
 | 
				
			||||||
                help_text="The refresh token to use for token authentication e.g. with oauth2.",
 | 
					                help_text="The refresh token to use for token authentication e.g. with oauth2.",
 | 
				
			||||||
                max_length=2048,
 | 
					                max_length=3072,
 | 
				
			||||||
                null=True,
 | 
					                null=True,
 | 
				
			||||||
                verbose_name="refresh token",
 | 
					                verbose_name="refresh token",
 | 
				
			||||||
            ),
 | 
					            ),
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -42,7 +42,7 @@ class MailAccount(document_models.ModelWithOwner):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    username = models.CharField(_("username"), max_length=256)
 | 
					    username = models.CharField(_("username"), max_length=256)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    password = models.CharField(_("password"), max_length=2048)
 | 
					    password = models.CharField(_("password"), max_length=3072)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    is_token = models.BooleanField(_("Is token authentication"), default=False)
 | 
					    is_token = models.BooleanField(_("Is token authentication"), default=False)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -64,7 +64,7 @@ class MailAccount(document_models.ModelWithOwner):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    refresh_token = models.CharField(
 | 
					    refresh_token = models.CharField(
 | 
				
			||||||
        _("refresh token"),
 | 
					        _("refresh token"),
 | 
				
			||||||
        max_length=2048,
 | 
					        max_length=3072,
 | 
				
			||||||
        blank=True,
 | 
					        blank=True,
 | 
				
			||||||
        null=True,
 | 
					        null=True,
 | 
				
			||||||
        help_text=_(
 | 
					        help_text=_(
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user