NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Trace

data/web/inc/functions.app_passwd.inc.php

Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.

functions.app_passwd.inc.php on main
Author Date Commit Line Code
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
1
<?php
Open commit View diff
1 <?php
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
2
function app_passwd($_action, $_data = null) {
Open commit View diff
2 function app_passwd($_action, $_data = null) {
Patrik Kernstock 10 months ago 5b1b49a

Fixed password complexity check for AppPasswords

Full commit hash
5b1b49a418a711c2be040b191a4b91f7be4e7b54
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
3
  global $pdo;
Open commit View diff
3 global $pdo;
same change 5b1b49a

Fixed password complexity check for AppPasswords

Full commit hash
5b1b49a418a711c2be040b191a4b91f7be4e7b54
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
4
  global $lang;
Open commit View diff
4 global $lang;
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5
  $_data_log = $_data;
Open commit View diff
5 $_data_log = $_data;
andryyy over 6 years ago dc97d4f

[Web] Hide app passwords from logs

Full commit hash
dc97d4f36551c44f309eaa79e70bc130a553eb8f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
6
  !isset($_data_log['app_passwd']) ?: $_data_log['app_passwd'] = '*';
Open commit View diff
6 !isset($_data_log['app_passwd']) ?: $_data_log['app_passwd'] = '*';
same change dc97d4f

[Web] Hide app passwords from logs

Full commit hash
dc97d4f36551c44f309eaa79e70bc130a553eb8f
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
7
  !isset($_data_log['app_passwd2']) ?: $_data_log['app_passwd2'] = '*';
Open commit View diff
7 !isset($_data_log['app_passwd2']) ?: $_data_log['app_passwd2'] = '*';
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
8
  if (isset($_data['username']) && filter_var($_data['username'], FILTER_VALIDATE_EMAIL)) {
Open commit View diff
8 if (isset($_data['username']) && filter_var($_data['username'], FILTER_VALIDATE_EMAIL)) {
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
9
    if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data['username'])) {
Open commit View diff
9 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $_data['username'])) {
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
10
      $_SESSION['return'][] = array(
Open commit View diff
10 $_SESSION['return'][] = array(
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
11
        'type' => 'danger',
Open commit View diff
11 'type' => 'danger',
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
12
        'log' => array(__FUNCTION__, $_action, $_data_log),
Open commit View diff
12 'log' => array(__FUNCTION__, $_action, $_data_log),
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
13
        'msg' => 'access_denied'
Open commit View diff
13 'msg' => 'access_denied'
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
14
      );
Open commit View diff
14 );
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
15
      return false;
Open commit View diff
15 return false;
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
16
    }
Open commit View diff
16 }
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
17
    else {
Open commit View diff
17 else {
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
18
      $username = $_data['username'];
Open commit View diff
18 $username = $_data['username'];
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
19
    }
Open commit View diff
19 }
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
20
  }
Open commit View diff
20 }
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
21
  else {
Open commit View diff
21 else {
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
22
    $username = $_SESSION['mailcow_cc_username'];
Open commit View diff
22 $username = $_SESSION['mailcow_cc_username'];
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
23
  }
Open commit View diff
23 }
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
24
  switch ($_action) {
Open commit View diff
24 switch ($_action) {
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
25
    case 'add':
Open commit View diff
25 case 'add':
andryyy about 5 years ago 423ccb9

[Web] Fix XSS in app password names

Full commit hash
423ccb9ba93e6d66464584f252fed9cdc1dd3eb8
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
26
      $app_name = htmlspecialchars(trim($_data['app_name']));
Open commit View diff
26 $app_name = htmlspecialchars(trim($_data['app_name']));
same change 423ccb9

[Web] Fix XSS in app password names

Full commit hash
423ccb9ba93e6d66464584f252fed9cdc1dd3eb8
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
27
      $password = $_data['app_passwd'];
Open commit View diff
27 $password = $_data['app_passwd'];
same change 423ccb9

[Web] Fix XSS in app password names

Full commit hash
423ccb9ba93e6d66464584f252fed9cdc1dd3eb8
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
28
      $password2 = $_data['app_passwd2'];
Open commit View diff
28 $password2 = $_data['app_passwd2'];
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
29
      $active = intval($_data['active']);
Open commit View diff
29 $active = intval($_data['active']);
andryyy over 4 years ago e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
30
      $protocols = (array)$_data['protocols'];
Open commit View diff
30 $protocols = (array)$_data['protocols'];
same change e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
31
      $imap_access = (in_array('imap_access', $protocols)) ? 1 : 0;
Open commit View diff
31 $imap_access = (in_array('imap_access', $protocols)) ? 1 : 0;
same change e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
32
      $dav_access = (in_array('dav_access', $protocols)) ? 1 : 0;
Open commit View diff
32 $dav_access = (in_array('dav_access', $protocols)) ? 1 : 0;
same change e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
33
      $smtp_access = (in_array('smtp_access', $protocols)) ? 1 : 0;
Open commit View diff
33 $smtp_access = (in_array('smtp_access', $protocols)) ? 1 : 0;
same change e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
34
      $eas_access = (in_array('eas_access', $protocols)) ? 1 : 0;
Open commit View diff
34 $eas_access = (in_array('eas_access', $protocols)) ? 1 : 0;
andryyy over 4 years ago 15ce95e

[Web, Dovecot] Add sieve and pop3 to protocol access for app passwords

Full commit hash
15ce95e78d262322cd65f1a6241753d686e462e3
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
35
      $pop3_access = (in_array('pop3_access', $protocols)) ? 1 : 0;
Open commit View diff
35 $pop3_access = (in_array('pop3_access', $protocols)) ? 1 : 0;
same change 15ce95e

[Web, Dovecot] Add sieve and pop3 to protocol access for app passwords

Full commit hash
15ce95e78d262322cd65f1a6241753d686e462e3
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
36
      $sieve_access = (in_array('sieve_access', $protocols)) ? 1 : 0;
Open commit View diff
36 $sieve_access = (in_array('sieve_access', $protocols)) ? 1 : 0;
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
37
      $domain = mailbox('get', 'mailbox_details', $username)['domain'];
Open commit View diff
37 $domain = mailbox('get', 'mailbox_details', $username)['domain'];
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
38
      if (empty($domain)) {
Open commit View diff
38 if (empty($domain)) {
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
39
        $_SESSION['return'][] = array(
Open commit View diff
39 $_SESSION['return'][] = array(
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
40
          'type' => 'danger',
Open commit View diff
40 'type' => 'danger',
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
41
          'log' => array(__FUNCTION__, $_action, $_data_log),
Open commit View diff
41 'log' => array(__FUNCTION__, $_action, $_data_log),
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
42
          'msg' => 'access_denied'
Open commit View diff
42 'msg' => 'access_denied'
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
43
        );
Open commit View diff
43 );
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
44
        return false;
Open commit View diff
44 return false;
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
45
      }
Open commit View diff
45 }
Patrik Kernstock 10 months ago 5b1b49a

Fixed password complexity check for AppPasswords

Full commit hash
5b1b49a418a711c2be040b191a4b91f7be4e7b54
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
46
      if (password_check($password, $password2) !== true) {
Open commit View diff
46 if (password_check($password, $password2) !== true) {
andryyy over 6 years ago 851e9c8

[Web] Fix some major errors in app passwds but disable app passwds due to a show stopper... todo: fix asap

Full commit hash
851e9c8736fff337d62eb7655ee1cf6464ca4587
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
47
        return false;
Open commit View diff
47 return false;
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
48
      }
Open commit View diff
48 }
andryyy over 6 years ago 851e9c8

[Web] Fix some major errors in app passwds but disable app passwds due to a show stopper... todo: fix asap

Full commit hash
851e9c8736fff337d62eb7655ee1cf6464ca4587
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
49
      $password_hashed = hash_password($password);
Open commit View diff
49 $password_hashed = hash_password($password);
same change 851e9c8

[Web] Fix some major errors in app passwds but disable app passwds due to a show stopper... todo: fix asap

Full commit hash
851e9c8736fff337d62eb7655ee1cf6464ca4587
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
50
      if (empty($app_name)) {
Open commit View diff
50 if (empty($app_name)) {
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
51
        $_SESSION['return'][] = array(
Open commit View diff
51 $_SESSION['return'][] = array(
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
52
          'type' => 'danger',
Open commit View diff
52 'type' => 'danger',
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
53
          'log' => array(__FUNCTION__, $_action, $_data_log),
Open commit View diff
53 'log' => array(__FUNCTION__, $_action, $_data_log),
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
54
          'msg' => 'app_name_empty'
Open commit View diff
54 'msg' => 'app_name_empty'
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
55
        );
Open commit View diff
55 );
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
56
        return false;
Open commit View diff
56 return false;
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
57
      }
Open commit View diff
57 }
andryyy over 4 years ago 15ce95e

[Web, Dovecot] Add sieve and pop3 to protocol access for app passwords

Full commit hash
15ce95e78d262322cd65f1a6241753d686e462e3
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
58
      $stmt = $pdo->prepare("INSERT INTO `app_passwd` (`name`, `mailbox`, `domain`, `password`, `imap_access`, `smtp_access`, `eas_access`, `dav_access`, `pop3_access`, `sieve_access`, `active`)
Open commit View diff
58 $stmt = $pdo->prepare("INSERT INTO `app_passwd` (`name`, `mailbox`, `domain`, `password`, `imap_access`, `smtp_access`, `eas_access`, `dav_access`, `pop3_access`, `sieve_access`, `active`)
same change 15ce95e

[Web, Dovecot] Add sieve and pop3 to protocol access for app passwords

Full commit hash
15ce95e78d262322cd65f1a6241753d686e462e3
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
59
        VALUES (:app_name, :mailbox, :domain, :password, :imap_access, :smtp_access, :eas_access, :dav_access, :pop3_access, :sieve_access, :active)");
Open commit View diff
59 VALUES (:app_name, :mailbox, :domain, :password, :imap_access, :smtp_access, :eas_access, :dav_access, :pop3_access, :sieve_access, :active)");
andryyy over 6 years ago aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
60
      $stmt->execute(array(
Open commit View diff
60 $stmt->execute(array(
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
61
        ':app_name' => $app_name,
Open commit View diff
61 ':app_name' => $app_name,
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
62
        ':mailbox' => $username,
Open commit View diff
62 ':mailbox' => $username,
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
63
        ':domain' => $domain,
Open commit View diff
63 ':domain' => $domain,
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
64
        ':password' => $password_hashed,
Open commit View diff
64 ':password' => $password_hashed,
andryyy over 4 years ago e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
65
        ':imap_access' => $imap_access,
Open commit View diff
65 ':imap_access' => $imap_access,
same change e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
66
        ':smtp_access' => $smtp_access,
Open commit View diff
66 ':smtp_access' => $smtp_access,
same change e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
67
        ':eas_access' => $eas_access,
Open commit View diff
67 ':eas_access' => $eas_access,
same change e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
68
        ':dav_access' => $dav_access,
Open commit View diff
68 ':dav_access' => $dav_access,
andryyy over 4 years ago 15ce95e

[Web, Dovecot] Add sieve and pop3 to protocol access for app passwords

Full commit hash
15ce95e78d262322cd65f1a6241753d686e462e3
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
69
        ':pop3_access' => $pop3_access,
Open commit View diff
69 ':pop3_access' => $pop3_access,
same change 15ce95e

[Web, Dovecot] Add sieve and pop3 to protocol access for app passwords

Full commit hash
15ce95e78d262322cd65f1a6241753d686e462e3
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
70
        ':sieve_access' => $sieve_access,
Open commit View diff
70 ':sieve_access' => $sieve_access,
andryyy over 6 years ago aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
71
        ':active' => $active
Open commit View diff
71 ':active' => $active
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
72
      ));
Open commit View diff
72 ));
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
73
      $_SESSION['return'][] = array(
Open commit View diff
73 $_SESSION['return'][] = array(
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
74
        'type' => 'success',
Open commit View diff
74 'type' => 'success',
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
75
        'log' => array(__FUNCTION__, $_action, $_data_log),
Open commit View diff
75 'log' => array(__FUNCTION__, $_action, $_data_log),
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
76
        'msg' => 'app_passwd_added'
Open commit View diff
76 'msg' => 'app_passwd_added'
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
77
      );
Open commit View diff
77 );
Patrik Kernstock 10 months ago 5b1b49a

Fixed password complexity check for AppPasswords

Full commit hash
5b1b49a418a711c2be040b191a4b91f7be4e7b54
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
78
      break;
Open commit View diff
78 break;
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
79
    case 'edit':
Open commit View diff
79 case 'edit':
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
80
      $ids = (array)$_data['id'];
Open commit View diff
80 $ids = (array)$_data['id'];
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
81
      foreach ($ids as $id) {
Open commit View diff
81 foreach ($ids as $id) {
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
82
        $is_now = app_passwd('details', $id);
Open commit View diff
82 $is_now = app_passwd('details', $id);
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
83
        if (!empty($is_now)) {
Open commit View diff
83 if (!empty($is_now)) {
andryyy over 6 years ago 851e9c8

[Web] Fix some major errors in app passwds but disable app passwds due to a show stopper... todo: fix asap

Full commit hash
851e9c8736fff337d62eb7655ee1cf6464ca4587
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
84
          $app_name = (!empty($_data['app_name'])) ? $_data['app_name'] : $is_now['name'];
Open commit View diff
84 $app_name = (!empty($_data['app_name'])) ? $_data['app_name'] : $is_now['name'];
Patrik Kernstock 10 months ago ce21966

Rename AppPasswds fields uniquely like 'add'

Full commit hash
ce219668cf066309cc7978613975eb3189f23cc2
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
85
          $password = (!empty($_data['app_passwd'])) ? $_data['app_passwd'] : null;
Open commit View diff
85 $password = (!empty($_data['app_passwd'])) ? $_data['app_passwd'] : null;
same change ce21966

Rename AppPasswds fields uniquely like 'add'

Full commit hash
ce219668cf066309cc7978613975eb3189f23cc2
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
86
          $password2 = (!empty($_data['app_passwd2'])) ? $_data['app_passwd2'] : null;
Open commit View diff
86 $password2 = (!empty($_data['app_passwd2'])) ? $_data['app_passwd2'] : null;
andryyy over 4 years ago e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
87
          if (isset($_data['protocols'])) {
Open commit View diff
87 if (isset($_data['protocols'])) {
same change e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
88
            $protocols = (array)$_data['protocols'];
Open commit View diff
88 $protocols = (array)$_data['protocols'];
same change e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
89
            $imap_access = (in_array('imap_access', $protocols)) ? 1 : 0;
Open commit View diff
89 $imap_access = (in_array('imap_access', $protocols)) ? 1 : 0;
same change e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
90
            $dav_access = (in_array('dav_access', $protocols)) ? 1 : 0;
Open commit View diff
90 $dav_access = (in_array('dav_access', $protocols)) ? 1 : 0;
same change e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
91
            $smtp_access = (in_array('smtp_access', $protocols)) ? 1 : 0;
Open commit View diff
91 $smtp_access = (in_array('smtp_access', $protocols)) ? 1 : 0;
same change e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
92
            $eas_access = (in_array('eas_access', $protocols)) ? 1 : 0;
Open commit View diff
92 $eas_access = (in_array('eas_access', $protocols)) ? 1 : 0;
andryyy over 4 years ago 15ce95e

[Web, Dovecot] Add sieve and pop3 to protocol access for app passwords

Full commit hash
15ce95e78d262322cd65f1a6241753d686e462e3
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
93
            $pop3_access = (in_array('pop3_access', $protocols)) ? 1 : 0;
Open commit View diff
93 $pop3_access = (in_array('pop3_access', $protocols)) ? 1 : 0;
same change 15ce95e

[Web, Dovecot] Add sieve and pop3 to protocol access for app passwords

Full commit hash
15ce95e78d262322cd65f1a6241753d686e462e3
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
94
            $sieve_access = (in_array('sieve_access', $protocols)) ? 1 : 0;
Open commit View diff
94 $sieve_access = (in_array('sieve_access', $protocols)) ? 1 : 0;
andryyy over 4 years ago e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
95
          }
Open commit View diff
95 }
same change e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
96
          else {
Open commit View diff
96 else {
same change e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
97
            $imap_access = $is_now['imap_access'];
Open commit View diff
97 $imap_access = $is_now['imap_access'];
same change e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
98
            $smtp_access = $is_now['smtp_access'];
Open commit View diff
98 $smtp_access = $is_now['smtp_access'];
same change e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
99
            $dav_access = $is_now['dav_access'];
Open commit View diff
99 $dav_access = $is_now['dav_access'];
same change e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
100
            $eas_access = $is_now['eas_access'];
Open commit View diff
100 $eas_access = $is_now['eas_access'];
andryyy over 4 years ago 15ce95e

[Web, Dovecot] Add sieve and pop3 to protocol access for app passwords

Full commit hash
15ce95e78d262322cd65f1a6241753d686e462e3
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
101
            $pop3_access = $is_now['pop3_access'];
Open commit View diff
101 $pop3_access = $is_now['pop3_access'];
same change 15ce95e

[Web, Dovecot] Add sieve and pop3 to protocol access for app passwords

Full commit hash
15ce95e78d262322cd65f1a6241753d686e462e3
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
102
            $sieve_access = $is_now['sieve_access'];
Open commit View diff
102 $sieve_access = $is_now['sieve_access'];
andryyy over 4 years ago e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
103
          }
Open commit View diff
103 }
andryyy almost 6 years ago d9b91fc

[Web] Important: Removed unnecessary *_int attributes from GET elements, _only_ returning int values now (same for all attributes which were provided as html char and int)

Full commit hash
d9b91fc04f286eaba4266ca60254a02dc5e91867
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
104
          $active = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
Open commit View diff
104 $active = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
105
        }
Open commit View diff
105 }
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
106
        else {
Open commit View diff
106 else {
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
107
          $_SESSION['return'][] = array(
Open commit View diff
107 $_SESSION['return'][] = array(
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
108
            'type' => 'danger',
Open commit View diff
108 'type' => 'danger',
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
109
            'log' => array(__FUNCTION__, $_action, $_data_log),
Open commit View diff
109 'log' => array(__FUNCTION__, $_action, $_data_log),
andryyy over 6 years ago 851e9c8

[Web] Fix some major errors in app passwds but disable app passwds due to a show stopper... todo: fix asap

Full commit hash
851e9c8736fff337d62eb7655ee1cf6464ca4587
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
110
            'msg' => array('app_passwd_id_invalid', $id)
Open commit View diff
110 'msg' => array('app_passwd_id_invalid', $id)
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
111
          );
Open commit View diff
111 );
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
112
          continue;
Open commit View diff
112 continue;
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
113
        }
Open commit View diff
113 }
andryyy about 5 years ago 423ccb9

[Web] Fix XSS in app password names

Full commit hash
423ccb9ba93e6d66464584f252fed9cdc1dd3eb8
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
114
        $app_name = htmlspecialchars(trim($app_name));
Open commit View diff
114 $app_name = htmlspecialchars(trim($app_name));
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
115
        if (!empty($password) && !empty($password2)) {
Open commit View diff
115 if (!empty($password) && !empty($password2)) {
Patrik Kernstock 10 months ago 5b1b49a

Fixed password complexity check for AppPasswords

Full commit hash
5b1b49a418a711c2be040b191a4b91f7be4e7b54
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
116
          if (password_check($password, $password2) !== true) {
Open commit View diff
116 if (password_check($password, $password2) !== true) {
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
117
            continue;
Open commit View diff
117 continue;
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
118
          }
Open commit View diff
118 }
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
119
          $password_hashed = hash_password($password);
Open commit View diff
119 $password_hashed = hash_password($password);
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
120
          $stmt = $pdo->prepare("UPDATE `app_passwd` SET
Open commit View diff
120 $stmt = $pdo->prepare("UPDATE `app_passwd` SET
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
121
              `password` = :password_hashed
Open commit View diff
121 `password` = :password_hashed
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
122
                WHERE `mailbox` = :username AND `id` = :id");
Open commit View diff
122 WHERE `mailbox` = :username AND `id` = :id");
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
123
          $stmt->execute(array(
Open commit View diff
123 $stmt->execute(array(
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
124
            ':password_hashed' => $password_hashed,
Open commit View diff
124 ':password_hashed' => $password_hashed,
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
125
            ':username' => $username,
Open commit View diff
125 ':username' => $username,
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
126
            ':id' => $id
Open commit View diff
126 ':id' => $id
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
127
          ));
Open commit View diff
127 ));
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
128
        }
Open commit View diff
128 }
andryyy over 4 years ago e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
129
Open commit View diff
129
andryyy over 6 years ago aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
130
        $stmt = $pdo->prepare("UPDATE `app_passwd` SET
Open commit View diff
130 $stmt = $pdo->prepare("UPDATE `app_passwd` SET
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
131
          `name` = :app_name,
Open commit View diff
131 `name` = :app_name,
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
132
          `mailbox` = :username,
Open commit View diff
132 `mailbox` = :username,
andryyy over 4 years ago e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
133
          `imap_access` = :imap_access,
Open commit View diff
133 `imap_access` = :imap_access,
same change e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
134
          `smtp_access` = :smtp_access,
Open commit View diff
134 `smtp_access` = :smtp_access,
same change e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
135
          `eas_access` = :eas_access,
Open commit View diff
135 `eas_access` = :eas_access,
same change e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
136
          `dav_access` = :dav_access,
Open commit View diff
136 `dav_access` = :dav_access,
andryyy over 4 years ago 15ce95e

[Web, Dovecot] Add sieve and pop3 to protocol access for app passwords

Full commit hash
15ce95e78d262322cd65f1a6241753d686e462e3
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
137
          `pop3_access` = :pop3_access,
Open commit View diff
137 `pop3_access` = :pop3_access,
same change 15ce95e

[Web, Dovecot] Add sieve and pop3 to protocol access for app passwords

Full commit hash
15ce95e78d262322cd65f1a6241753d686e462e3
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
138
          `sieve_access` = :sieve_access,
Open commit View diff
138 `sieve_access` = :sieve_access,
andryyy over 6 years ago aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
139
          `active` = :active
Open commit View diff
139 `active` = :active
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
140
            WHERE `id` = :id");
Open commit View diff
140 WHERE `id` = :id");
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
141
        $stmt->execute(array(
Open commit View diff
141 $stmt->execute(array(
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
142
          ':app_name' => $app_name,
Open commit View diff
142 ':app_name' => $app_name,
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
143
          ':username' => $username,
Open commit View diff
143 ':username' => $username,
andryyy over 4 years ago e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
144
          ':imap_access' => $imap_access,
Open commit View diff
144 ':imap_access' => $imap_access,
same change e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
145
          ':smtp_access' => $smtp_access,
Open commit View diff
145 ':smtp_access' => $smtp_access,
same change e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
146
          ':eas_access' => $eas_access,
Open commit View diff
146 ':eas_access' => $eas_access,
same change e13bc24

[Web, Dovecot] Allow to define scope of services for app passwords

Full commit hash
e13bc242a4130c1333f995c1bf02369c06e3a16d
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
147
          ':dav_access' => $dav_access,
Open commit View diff
147 ':dav_access' => $dav_access,
andryyy over 4 years ago 15ce95e

[Web, Dovecot] Add sieve and pop3 to protocol access for app passwords

Full commit hash
15ce95e78d262322cd65f1a6241753d686e462e3
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
148
          ':pop3_access' => $pop3_access,
Open commit View diff
148 ':pop3_access' => $pop3_access,
same change 15ce95e

[Web, Dovecot] Add sieve and pop3 to protocol access for app passwords

Full commit hash
15ce95e78d262322cd65f1a6241753d686e462e3
Author
andryyy <[email protected]>
Date
over 4 years ago
Selected line
149
          ':sieve_access' => $sieve_access,
Open commit View diff
149 ':sieve_access' => $sieve_access,
andryyy over 6 years ago aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
150
          ':active' => $active,
Open commit View diff
150 ':active' => $active,
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
151
          ':id' => $id
Open commit View diff
151 ':id' => $id
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
152
        ));
Open commit View diff
152 ));
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
153
        $_SESSION['return'][] = array(
Open commit View diff
153 $_SESSION['return'][] = array(
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
154
          'type' => 'success',
Open commit View diff
154 'type' => 'success',
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
155
          'log' => array(__FUNCTION__, $_action, $_data_log),
Open commit View diff
155 'log' => array(__FUNCTION__, $_action, $_data_log),
andryyy almost 5 years ago e616755

[Web] Fix app password editing, fixes #4239

Full commit hash
e6167550728e24d724d7e748eec4d007ec6580cc
Author
andryyy <[email protected]>
Date
almost 5 years ago
Selected line
156
          'msg' => array('object_modified', htmlspecialchars(implode(', ', $ids)))
Open commit View diff
156 'msg' => array('object_modified', htmlspecialchars(implode(', ', $ids)))
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
157
        );
Open commit View diff
157 );
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
158
      }
Open commit View diff
158 }
Patrik Kernstock 10 months ago 5b1b49a

Fixed password complexity check for AppPasswords

Full commit hash
5b1b49a418a711c2be040b191a4b91f7be4e7b54
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
159
      break;
Open commit View diff
159 break;
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
160
    case 'delete':
Open commit View diff
160 case 'delete':
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
161
      $ids = (array)$_data['id'];
Open commit View diff
161 $ids = (array)$_data['id'];
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
162
      foreach ($ids as $id) {
Open commit View diff
162 foreach ($ids as $id) {
andryyy over 6 years ago aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
163
        $stmt = $pdo->prepare("SELECT `mailbox` FROM `app_passwd` WHERE `id` = :id");
Open commit View diff
163 $stmt = $pdo->prepare("SELECT `mailbox` FROM `app_passwd` WHERE `id` = :id");
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
164
        $stmt->execute(array(':id' => $id));
Open commit View diff
164 $stmt->execute(array(':id' => $id));
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
165
        $mailbox = $stmt->fetch(PDO::FETCH_ASSOC)['mailbox'];
Open commit View diff
165 $mailbox = $stmt->fetch(PDO::FETCH_ASSOC)['mailbox'];
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
166
        if (empty($mailbox)) {
Open commit View diff
166 if (empty($mailbox)) {
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
167
          $_SESSION['return'][] = array(
Open commit View diff
167 $_SESSION['return'][] = array(
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
168
            'type' => 'danger',
Open commit View diff
168 'type' => 'danger',
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
169
            'log' => array(__FUNCTION__, $_action, $_data_log),
Open commit View diff
169 'log' => array(__FUNCTION__, $_action, $_data_log),
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
170
            'msg' => 'app_passwd_id_invalid'
Open commit View diff
170 'msg' => 'app_passwd_id_invalid'
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
171
          );
Open commit View diff
171 );
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
172
          return false;
Open commit View diff
172 return false;
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
173
        }
Open commit View diff
173 }
andryyy over 6 years ago aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
174
        if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $mailbox)) {
Open commit View diff
174 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $mailbox)) {
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
175
          $_SESSION['return'][] = array(
Open commit View diff
175 $_SESSION['return'][] = array(
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
176
            'type' => 'danger',
Open commit View diff
176 'type' => 'danger',
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
177
            'log' => array(__FUNCTION__, $_action, $_data_log),
Open commit View diff
177 'log' => array(__FUNCTION__, $_action, $_data_log),
andryyy over 6 years ago aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
178
            'msg' => 'access_denied'
Open commit View diff
178 'msg' => 'access_denied'
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
179
          );
Open commit View diff
179 );
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
180
          return false;
Open commit View diff
180 return false;
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
181
        }
Open commit View diff
181 }
andryyy over 6 years ago aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
182
        $stmt = $pdo->prepare("DELETE FROM `app_passwd` WHERE `id`= :id");
Open commit View diff
182 $stmt = $pdo->prepare("DELETE FROM `app_passwd` WHERE `id`= :id");
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
183
        $stmt->execute(array(':id' => $id));
Open commit View diff
183 $stmt->execute(array(':id' => $id));
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
184
        $_SESSION['return'][] = array(
Open commit View diff
184 $_SESSION['return'][] = array(
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
185
          'type' => 'success',
Open commit View diff
185 'type' => 'success',
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
186
          'log' => array(__FUNCTION__, $_action, $_data_log),
Open commit View diff
186 'log' => array(__FUNCTION__, $_action, $_data_log),
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
187
          'msg' => array('app_passwd_removed', htmlspecialchars($id))
Open commit View diff
187 'msg' => array('app_passwd_removed', htmlspecialchars($id))
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
188
        );
Open commit View diff
188 );
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
189
      }
Open commit View diff
189 }
Patrik Kernstock 10 months ago 5b1b49a

Fixed password complexity check for AppPasswords

Full commit hash
5b1b49a418a711c2be040b191a4b91f7be4e7b54
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
190
      break;
Open commit View diff
190 break;
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
191
    case 'get':
Open commit View diff
191 case 'get':
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
192
      $app_passwds = array();
Open commit View diff
192 $app_passwds = array();
André Peters over 4 years ago f4319a0

Revert "Add app-passwd list (#4281) (#4311)" (#4318)

Full commit hash
f4319a0e20ac90773628bf6a4540130ccf561634
Author
André Peters <[email protected]>
Date
over 4 years ago
Selected line
193
      $stmt = $pdo->prepare("SELECT `id`, `name` FROM `app_passwd` WHERE `mailbox` = :username");
Open commit View diff
193 $stmt = $pdo->prepare("SELECT `id`, `name` FROM `app_passwd` WHERE `mailbox` = :username");
same change f4319a0

Revert "Add app-passwd list (#4281) (#4311)" (#4318)

Full commit hash
f4319a0e20ac90773628bf6a4540130ccf561634
Author
André Peters <[email protected]>
Date
over 4 years ago
Selected line
194
      $stmt->execute(array(':username' => $username));
Open commit View diff
194 $stmt->execute(array(':username' => $username));
same change f4319a0

Revert "Add app-passwd list (#4281) (#4311)" (#4318)

Full commit hash
f4319a0e20ac90773628bf6a4540130ccf561634
Author
André Peters <[email protected]>
Date
over 4 years ago
Selected line
195
      $app_passwds = $stmt->fetchAll(PDO::FETCH_ASSOC);
Open commit View diff
195 $app_passwds = $stmt->fetchAll(PDO::FETCH_ASSOC);
same change f4319a0

Revert "Add app-passwd list (#4281) (#4311)" (#4318)

Full commit hash
f4319a0e20ac90773628bf6a4540130ccf561634
Author
André Peters <[email protected]>
Date
over 4 years ago
Selected line
196
      return $app_passwds;
Open commit View diff
196 return $app_passwds;
Patrik Kernstock 10 months ago 5b1b49a

Fixed password complexity check for AppPasswords

Full commit hash
5b1b49a418a711c2be040b191a4b91f7be4e7b54
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
197
      break;
Open commit View diff
197 break;
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
198
    case 'details':
Open commit View diff
198 case 'details':
same change 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
199
      $app_passwd_data = array();
Open commit View diff
199 $app_passwd_data = array();
Patrik Kernstock 10 months ago 5b1b49a

Fixed password complexity check for AppPasswords

Full commit hash
5b1b49a418a711c2be040b191a4b91f7be4e7b54
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
200
      $stmt = $pdo->prepare("SELECT * FROM `app_passwd` WHERE `id` = :id");
Open commit View diff
200 $stmt = $pdo->prepare("SELECT * FROM `app_passwd` WHERE `id` = :id");
andryyy almost 5 years ago e616755

[Web] Fix app password editing, fixes #4239

Full commit hash
e6167550728e24d724d7e748eec4d007ec6580cc
Author
andryyy <[email protected]>
Date
almost 5 years ago
Selected line
201
      $stmt->execute(array(':id' => $_data));
Open commit View diff
201 $stmt->execute(array(':id' => $_data));
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
202
      $app_passwd_data = $stmt->fetch(PDO::FETCH_ASSOC);
Open commit View diff
202 $app_passwd_data = $stmt->fetch(PDO::FETCH_ASSOC);
andryyy over 6 years ago aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
203
      if (empty($app_passwd_data)) {
Open commit View diff
203 if (empty($app_passwd_data)) {
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
204
        return false;
Open commit View diff
204 return false;
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
205
      }
Open commit View diff
205 }
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
206
      if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $app_passwd_data['mailbox'])) {
Open commit View diff
206 if (!hasMailboxObjectAccess($_SESSION['mailcow_cc_username'], $_SESSION['mailcow_cc_role'], $app_passwd_data['mailbox'])) {
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
207
        $app_passwd_data = array();
Open commit View diff
207 $app_passwd_data = array();
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
208
        return false;
Open commit View diff
208 return false;
same change aece255

[Web] Various fixes for app passwd functions

Full commit hash
aece2558dfebaa2eac8b70d18ead0f8717fd19b0
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
209
      }
Open commit View diff
209 }
andryyy about 5 years ago 423ccb9

[Web] Fix XSS in app password names

Full commit hash
423ccb9ba93e6d66464584f252fed9cdc1dd3eb8
Author
andryyy <[email protected]>
Date
about 5 years ago
Selected line
210
      $app_passwd_data['name'] = htmlspecialchars(trim($app_passwd_data['name']));
Open commit View diff
210 $app_passwd_data['name'] = htmlspecialchars(trim($app_passwd_data['name']));
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
211
      return $app_passwd_data;
Open commit View diff
211 return $app_passwd_data;
Patrik Kernstock 10 months ago 5b1b49a

Fixed password complexity check for AppPasswords

Full commit hash
5b1b49a418a711c2be040b191a4b91f7be4e7b54
Author
Patrik Kernstock <[email protected]>
Date
10 months ago
Selected line
212
      break;
Open commit View diff
212 break;
andryyy over 6 years ago 653c058

[Web] Feature: Allow app passwords for imap/smtp, allow to set acl permission for app passwords (domain admin [when logged in as user] and user)

Full commit hash
653c058e33039c174d5cc73b7162101c5158d150
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
213
  }
Open commit View diff
213 }
andryyy almost 5 years ago e616755

[Web] Fix app password editing, fixes #4239

Full commit hash
e6167550728e24d724d7e748eec4d007ec6580cc
Author
andryyy <[email protected]>
Date
almost 5 years ago
Selected line
214
}
Open commit View diff
214 }