9 Commits

Author SHA1 Message Date
f661c02fab Merge branch 'release' 2023-06-12 21:19:00 -04:00
7c900c46d4 Merge branch 'develop' into release 2023-06-12 21:15:53 -04:00
8870b6ddad v1.2.3 2022-12-01 15:38:18 -03:00
5f0679221e v1.2.2 2022-12-01 14:40:27 -03:00
375b922537 v1.2.1 2022-12-01 14:17:05 -03:00
c400020425 v1.2.0 2022-11-30 20:54:24 -03:00
a76ab77757 v1.1.1 2022-11-30 11:48:55 -03:00
db95b12985 v1.1.0 2022-11-30 10:42:48 -03:00
8648f5a62e v1.0.0 2022-11-29 11:12:35 -03:00
9 changed files with 11 additions and 23 deletions

View File

@ -20,15 +20,13 @@ return [
$arr = [
'host' => 'db',
'name' => $_ENV['MYSQL_DATABASE'],
'user' => [
'name' => $_ENV['MYSQL_USER'],
'password' => $_ENV['MYSQL_PASSWORD']
]
'username' => $_ENV['MYSQL_USER'],
'password' => $_ENV['MYSQL_PASSWORD']
];
if (isset($_ENV['MYSQL_PORT'])) {
$arr['port'] = $_ENV['MYSQL_PORT'];
}
return json_decode(json_encode($arr));
return (object) $arr;
},
'max_update_days' => 7
];

View File

@ -22,6 +22,6 @@ return [
}
$dsn []= "dbname={$database->name}";
$dsn = implode(';', $dsn);
return new PDO($dsn, $database->user->name, $database->user->password);
return new PDO($dsn, $database->username, $database->password);
},
];

Binary file not shown.

Before

Width:  |  Height:  |  Size: 513 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

View File

@ -1,3 +0,0 @@
User-agent: *
Disallow: /
Disallow: /cgi-bin/

View File

@ -27,11 +27,11 @@
$('<a></a>').attr('href', '{{$urls->base}}/emails/mailbox/' + this.id).html(this.name)
)
register.append(
$('<a></a>').attr('href', '{{$urls->base}}/emails/mailbox/' + this.id).attr('title', 'Show').append(
$('<a></a>').attr('href', '{{$urls->base}}/emails/mailbox/' + this.id).append(
$('<i></i>').addClass('ui big green check circle icon')
)
).append(
$('<button></button>').addClass('ui mini circular red icon button').attr('title', 'Remove').append(
$('<button></button>').addClass('ui mini circular red icon button').append(
$('<i></i>').addClass('remove icon')
).click(e => {
this.unregister($(e.currentTarget))
@ -163,4 +163,4 @@
mailboxes.setup()
})
</script>
@endpush
@endpush

View File

@ -48,20 +48,14 @@
this.draw().empty()
return
}
const list = $('<div></div>').addClass('ui selection divided list')
const list = $('<div></div>').addClass('ui list')
this.mailboxes.forEach(mb => {
let count = ''
if (typeof mb.last_checked !== 'undefined') {
count = ' (<i class="envelope outline icon"></i>' + mb.last_checked.count + ')'
count = ' (' + mb.last_checked.count + ')'
}
list.append(
$('<div></div>').addClass('item').append(
$('<i></i>').addClass('inbox icon')
).append(
$('<div></div>').addClass('content').append(
$('<a></a>').addClass('header').attr('href', '{{$urls->base}}/emails/mailbox/' + mb.id).html(mb.name).append(count)
)
)
$('<a></a>').addClass('item').attr('href', '{{$urls->base}}/emails/mailbox/' + mb.id).html(mb.name + count)
)
})
parent.append(list)

View File

@ -7,6 +7,5 @@
@yield('page_title')
@endif
</title>
<link type="image/png" sizes="32x32" rel="icon" href="{{$urls->base}}/images/icons8-at-sign-gradient-32.png">
@include('layout.head.styles')
</head>
</head>