Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMicky-FR committed Apr 3, 2021
1 parent 4bf8aa2 commit 442d544
Show file tree
Hide file tree
Showing 11 changed files with 16,753 additions and 1,726 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
tests:
strategy:
matrix:
php-version: [7.3, 7.4, 8.0]
php-version: ['7.3', '7.4', '8.0']

name: PHP ${{ matrix.php-version }}

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Azuriom

[![Build Status](https://img.shields.io/github/workflow/status/Azuriom/Azuriom/PHP%20CI?style=flat-square)](https://github.com/Azuriom/Azuriom/actions)
[![Tests](https://img.shields.io/github/workflow/status/Azuriom/Azuriom/PHP%20CI?style=flat-square)](https://github.com/Azuriom/Azuriom/actions)
[![Code Quality](https://img.shields.io/scrutinizer/quality/g/Azuriom/Azuriom?style=flat-square)](https://scrutinizer-ci.com/g/Azuriom/Azuriom/)
[![Style](https://github.styleci.io/repos/237486333/shield)](https://github.styleci.io/repos/237486333)
[![Latest release](https://img.shields.io/github/v/release/Azuriom/Azuriom?style=flat-square&include_prereleases)](http://github.com/Azuriom/Azuriom/releases)
Expand Down
2 changes: 1 addition & 1 deletion app/Azuriom.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Azuriom
*
* @var string
*/
private const VERSION = '0.3.6';
private const VERSION = '0.3.7';

/**
* Get the current version of Azuriom CMS.
Expand Down
4 changes: 2 additions & 2 deletions app/Support/Charts.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static function aggregateByDays(Builder $query, string $function, string
$result = static::rawAggregateByDays($query, $start, $function, $group, $column);

return $result->mapWithKeys(function ($value, string $date) {
return [format_date(Carbon::createFromFormat('Y-m-d', $date)) => $value];
return [format_date(Carbon::createFromFormat('!Y-m-d', $date)) => $value];
});
}

Expand Down Expand Up @@ -90,7 +90,7 @@ public static function aggregateByMonths(Builder $query, string $function, strin
$result = static::rawAggregateByMonths($query, $start, $function, $group, $column);

return $result->mapWithKeys(function ($value, string $date) {
$carbon = Carbon::createFromFormat('Y-m', $date);
$carbon = Carbon::createFromFormat('!Y-m', $date);

return [$carbon->translatedFormat('F Y') => $value];
});
Expand Down
18,449 changes: 16,738 additions & 1,711 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions resources/lang/en/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
'settings' => 'Settings',
'global' => 'Global',
'security' => 'Security',
'performances' => 'Performances',
'performances' => 'Performance',
'seo' => 'SEO',
'auth' => 'Authentication',
'mail' => 'Mail',
Expand Down Expand Up @@ -269,7 +269,7 @@
'default' => 'Default server',
'default-info' => 'The number of players connected from the default server will be displayed on the site if the current theme supports it.',

'ping-no-commands' => 'The ping link don\'t need a plugin, but you can\'t execute command with this link.',
'ping-no-commands' => 'The ping link doesn\'t need a plugin, but you can\'t execute commands with it.',
'query-no-commands' => 'With query link, it\'s not possible to execute commands on the server.',

'query-port-info' => 'Can be empty if it\'s the same as the game port.',
Expand Down Expand Up @@ -340,7 +340,7 @@
'title-create' => 'Create user',

'fields' => [
'register-date' => 'Register at',
'register-date' => 'Registered at',
'last-login' => 'Last login at',
'email-verified' => 'Email Address verified',
'2fa' => 'Two Factor Authentication',
Expand Down Expand Up @@ -532,7 +532,7 @@
],
'installed' => 'Installed themes',
'available' => 'Available themes',
'no-enabled' => 'You don\'t have any theme enable.',
'no-enabled' => 'You don\'t have any themes enabled.',

'actions' => [
'edit-config' => 'Edit config',
Expand All @@ -541,7 +541,7 @@

'status' => [
'reloaded' => 'The themes have been reloaded.',
'no-config' => 'This theme don\'t have config.',
'no-config' => 'This theme doesn\'t have config.',
'config-updated' => 'The theme config has been updated.',
'invalid' => 'This theme is invalid (the theme folder name must be the theme id).',
'updated' => 'The theme has been updated.',
Expand Down
2 changes: 1 addition & 1 deletion resources/views/errors/layout.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@extends('layouts.app')

@section('content')
<div class="container content">
<div class="container content error-page">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/pages/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@section('description', $page->description)

@section('content')
<div class="container content">
<div class="container content page">
<div class="card shadow-sm">
<div class="card-body">
<h1>{{ $page->title }}</h1>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/posts/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@section('title', trans('messages.posts.posts'))

@section('content')
<div class="container content">
<div class="container content posts-preview">
<div class="row">
@foreach($posts as $post)
<div class="col-md-6">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/profile/2fa.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@section('title', trans('messages.profile.2fa.title'))

@section('content')
<div class="container content">
<div class="container content profile-2fa">
<div class="card mb-4">
<div class="card-header">{{ trans('messages.profile.2fa.title') }}</div>

Expand Down
2 changes: 1 addition & 1 deletion resources/views/profile/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@section('title', trans('messages.profile.title'))

@section('content')
<div class="container content">
<div class="container content profile">
<div class="card mb-4 shadow-sm">
<div class="card-header">{{ trans('messages.profile.title') }}</div>
<div class="card-body">
Expand Down

0 comments on commit 442d544

Please sign in to comment.