mirror of
				https://github.com/mail-in-a-box/mailinabox.git
				synced 2025-11-03 19:30:54 +00:00 
			
		
		
		
	Merge branch 'master' into scaleway
This commit is contained in:
		
						commit
						31a376a8dc
					
				@ -43,7 +43,7 @@ def authorized_personnel_only(viewfunc):
 | 
				
			|||||||
		except ValueError as e:
 | 
							except ValueError as e:
 | 
				
			||||||
			# Authentication failed.
 | 
								# Authentication failed.
 | 
				
			||||||
			privs = []
 | 
								privs = []
 | 
				
			||||||
			error = str(e)
 | 
								error = "Incorrect username or password"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		# Authorized to access an API view?
 | 
							# Authorized to access an API view?
 | 
				
			||||||
		if "admin" in privs:
 | 
							if "admin" in privs:
 | 
				
			||||||
@ -119,7 +119,7 @@ def me():
 | 
				
			|||||||
	except ValueError as e:
 | 
						except ValueError as e:
 | 
				
			||||||
		return json_response({
 | 
							return json_response({
 | 
				
			||||||
			"status": "invalid",
 | 
								"status": "invalid",
 | 
				
			||||||
			"reason": str(e),
 | 
								"reason": "Incorrect username or password",
 | 
				
			||||||
			})
 | 
								})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	resp = {
 | 
						resp = {
 | 
				
			||||||
 | 
				
			|||||||
@ -82,7 +82,7 @@ function show_change_web_root(elem) {
 | 
				
			|||||||
  var root = $(elem).parents('tr').attr('data-custom-web-root');
 | 
					  var root = $(elem).parents('tr').attr('data-custom-web-root');
 | 
				
			||||||
  show_modal_confirm(
 | 
					  show_modal_confirm(
 | 
				
			||||||
    'Change Root Directory for ' + domain,
 | 
					    'Change Root Directory for ' + domain,
 | 
				
			||||||
    $('<p>You can change the static directory for <tt>' + domain + '</tt> to:</p> <p><tt>' + root + '</tt></p> <p>First create this directory on the server. Then click Update to scan for the directory and update web settings.'),
 | 
					    $('<p>You can change the static directory for <tt>' + domain + '</tt> to:</p> <p><tt>' + root + '</tt></p> <p>First create this directory on the server. Then click Update to scan for the directory and update web settings.</p>'),
 | 
				
			||||||
    'Update',
 | 
					    'Update',
 | 
				
			||||||
    function() { do_web_update(); });
 | 
					    function() { do_web_update(); });
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -38,7 +38,7 @@ VERSION=1.1.4
 | 
				
			|||||||
HASH=4883c8bb39fadf8af94ffb09ee426cba9f8ef2e3
 | 
					HASH=4883c8bb39fadf8af94ffb09ee426cba9f8ef2e3
 | 
				
			||||||
VACATION_SIEVE_VERSION=91ea6f52216390073d1f5b70b5f6bea0bfaee7e5
 | 
					VACATION_SIEVE_VERSION=91ea6f52216390073d1f5b70b5f6bea0bfaee7e5
 | 
				
			||||||
PERSISTENT_LOGIN_VERSION=1e9d724476a370ce917a2fcd5b3217b0c306c24e
 | 
					PERSISTENT_LOGIN_VERSION=1e9d724476a370ce917a2fcd5b3217b0c306c24e
 | 
				
			||||||
HTML5_NOTIFIER_VERSION=046eb388dd63b1ec77a3ee485757fc25ae9e684d
 | 
					HTML5_NOTIFIER_VERSION=4b370e3cd60dabd2f428a26f45b677ad1b7118d5
 | 
				
			||||||
UPDATE_KEY=$VERSION:$VACATION_SIEVE_VERSION:$PERSISTENT_LOGIN_VERSION:$HTML5_NOTIFIER_VERSION:a
 | 
					UPDATE_KEY=$VERSION:$VACATION_SIEVE_VERSION:$PERSISTENT_LOGIN_VERSION:$HTML5_NOTIFIER_VERSION:a
 | 
				
			||||||
needs_update=0 #NODOC
 | 
					needs_update=0 #NODOC
 | 
				
			||||||
if [ ! -f /usr/local/lib/roundcubemail/version ]; then
 | 
					if [ ! -f /usr/local/lib/roundcubemail/version ]; then
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user