Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: alextselegidis/easyappointments
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: stw-on/easyappointments
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.

Commits on May 13, 2019

  1. Copy the full SHA
    68d6b14 View commit details
  2. Update to PHP 7.3

    timoschwarzer authored May 13, 2019
    Copy the full SHA
    5a412ee View commit details
  3. Copy the full SHA
    273d8a4 View commit details
  4. Copy the full SHA
    3e254aa View commit details

Commits on Jun 15, 2020

  1. Copy the full SHA
    6a83694 View commit details
  2. Copy the full SHA
    99db026 View commit details

Commits on Jun 16, 2020

  1. CI STW-ON angepasst

    mp481 committed Jun 16, 2020
    Copy the full SHA
    4199333 View commit details
  2. Copy the full SHA
    d06ef17 View commit details

Commits on Jun 17, 2020

  1. Copy the full SHA
    099c750 View commit details
  2. Merge pull request #2 from mp481/colours

    Updated colours for tooltip and textarea border.
    timoschwarzer authored Jun 17, 2020
    Copy the full SHA
    cedf4d9 View commit details

Commits on Jun 22, 2020

  1. Copy the full SHA
    9458221 View commit details
  2. Copy the full SHA
    32ac1fc View commit details
  3. Copy the full SHA
    2efe0bd View commit details

Commits on Aug 25, 2020

  1. Bemerkungen zum Pflichtfeld

    mp481 committed Aug 25, 2020
    Copy the full SHA
    6b49759 View commit details
  2. Merge pull request #3 from mp481/pflichtfeld

    Bemerkungen zum Pflichtfeld
    timoschwarzer authored Aug 25, 2020
    Copy the full SHA
    d54f73e View commit details

Commits on Oct 8, 2020

  1. Copy the full SHA
    f0f29a2 View commit details

Commits on Oct 26, 2020

  1. Hinweistext hinzugefügt.

    mp481 committed Oct 26, 2020
    Copy the full SHA
    52b9a72 View commit details
  2. Copy the full SHA
    0eb6fd2 View commit details

Commits on Aug 23, 2021

  1. Revert "Hinweistext hinzugefügt."

    This reverts commit 52b9a72.
    timoschwarzer committed Aug 23, 2021
    Copy the full SHA
    0b793b4 View commit details

Commits on Oct 5, 2021

  1. Copy the full SHA
    41fe6e8 View commit details
  2. This is insane

    timoschwarzer committed Oct 5, 2021
    Copy the full SHA
    00e9c91 View commit details
  3. insanity raises

    timoschwarzer committed Oct 5, 2021
    Copy the full SHA
    c521920 View commit details

Commits on Oct 6, 2021

  1. Hintergrundfarbe Events

    mp481 committed Oct 6, 2021
    Copy the full SHA
    b1b11cb View commit details
  2. Copy the full SHA
    2e29403 View commit details
2 changes: 1 addition & 1 deletion .env → .env.example
Original file line number Diff line number Diff line change
@@ -5,6 +5,7 @@ DB_NAME=easyapp
DB_PASSWORD=veryhardpassword

# change to your installation address
BASE_URL=http://localhost
APP_URL=localhost
APP_HOST=0.0.0.0
APP_PORT=80
@@ -16,4 +17,3 @@ SMTP_USER=user
SMTP_PASS=password
SMTP_CRYPTO=ssl
SMTP_PORT=25

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -19,3 +19,4 @@
/src/storage/uploads/*
/!src/storage/uploads/index.html
/vendor/
.env
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.0-apache
FROM php:7.3-apache

ENV PROJECT_DIR=/var/www/html \
APP_URL=localhost
3 changes: 3 additions & 0 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -6,9 +6,12 @@ createAppSettings() {
sed -i "s/DB_USERNAME = ''/DB_USERNAME = '$DB_USERNAME'/g" $PROJECT_DIR/config.php
sed -i "s/DB_PASSWORD = ''/DB_PASSWORD = '$DB_PASSWORD'/g" $PROJECT_DIR/config.php
sed -i "s/DB_NAME = ''/DB_NAME = '$DB_NAME'/g" $PROJECT_DIR/config.php
sed -i "s/LANGUAGE = 'english'/LANGUAGE = '$APP_LANGUAGE'/g" $PROJECT_DIR/config.php
sed -i "s/BASE_URL = 'http:\/\/url-to-easyappointments-directory'/BASE_URL = '$BASE_URL'/g" $PROJECT_DIR/config.php
if [ "$EMAIL_PROTOCOL" = "smtp" ]; then
echo "Setting up email..."
sed -i "s/\$config\['protocol'\] = 'mail'/\$config['protocol'] = 'smtp'/g" $PROJECT_DIR/application/config/email.php
sed -i "s/\$config\['from_email'\] = 'from@email.com'/\$config['from_email'] = '$MAIL_FROM'/g" $PROJECT_DIR/application/config/email.php
sed -i "s#// \$config\['smtp_host'\] = ''#\$config['smtp_host'] = '$SMTP_HOST'#g" $PROJECT_DIR/application/config/email.php
sed -i "s#// \$config\['smtp_user'\] = ''#\$config['smtp_user'] = '$SMTP_USER'#g" $PROJECT_DIR/application/config/email.php
sed -i "s#// \$config\['smtp_pass'\] = ''#\$config['smtp_pass'] = '$SMTP_PASS'#g" $PROJECT_DIR/application/config/email.php
6 changes: 4 additions & 2 deletions src/application/config/config.php
Original file line number Diff line number Diff line change
@@ -82,8 +82,10 @@
|
*/

$config['language'] = defined('Config::LANGUAGE') ? Config::LANGUAGE : 'english';

/*
$config['language'] = defined('Config::LANGUAGE') ? Config::LANGUAGE : 'german';
*/
$config['language'] = 'german';
/*
|--------------------------------------------------------------------------
| Available Languages
1 change: 1 addition & 0 deletions src/application/config/email.php
Original file line number Diff line number Diff line change
@@ -7,6 +7,7 @@
$config['useragent'] = 'Easy!Appointments';
$config['protocol'] = 'mail'; // or 'smtp'
$config['mailtype'] = 'html'; // or 'text'
$config['from_email'] = 'from@email.com';
// $config['smtp_host'] = '';
// $config['smtp_user'] = '';
// $config['smtp_pass'] = '';
24 changes: 12 additions & 12 deletions src/application/language/german/translations_lang.php
Original file line number Diff line number Diff line change
@@ -19,23 +19,23 @@
$lang['address'] = 'Adresse';
$lang['city'] = 'Stadt';
$lang['zip_code'] = 'Postleitzahl';
$lang['notes'] = 'Bemerkungen';
$lang['notes'] = 'Grund für den Termin';
$lang['fields_are_required'] = 'Die Felder mit einem * sind Pflichtfelder!';
$lang['step_four_title'] = 'Bitte bestätigen Sie die Terminauswahl';
$lang['confirm'] = 'Bestätigung';
$lang['update'] = 'Aktualisierung';
$lang['cancel_appointment_hint'] = 'Bitte klicken Sie auf "Abbrechen" um den Termin aus dem Terminplan des Unternehmens zu löschen.';
$lang['cancel_appointment_hint'] = 'Bitte klicken Sie auf "Abbrechen" um den Termin aus dem Terminplan des Anbieters zu löschen.';
$lang['cancel'] = 'Abbrechen';
$lang['appointment_registered'] = 'Ihr Termin ist erfolgreich registriert worden!';
$lang['cancel_appointment_title'] = 'Termin stornieren';
$lang['appointment_cancelled'] = 'Ihr Termin ist erfolgreich storniert worden!';
$lang['appointment_cancelled_title'] = 'Termin storniert';
$lang['reason'] = 'Grund';
$lang['appointment_removed_from_schedule'] = 'Der folgende Termin wurde erfolgreich von der Terminplanung des Unternehmens storniert.';
$lang['appointment_removed_from_schedule'] = 'Der folgende Termin wurde erfolgreich in der Terminplanung des Anbieterss storniert.';
$lang['appointment_details_was_sent_to_you'] = 'Eine E-Mail mit den Termindaten ist an Sie gesendet worden.';
$lang['add_to_google_calendar'] = 'Zum Google Kalender hinzufügen';
$lang['appointment_booked'] = 'Ihr Termin ist erfolgreich gebucht worden!';
$lang['thank_you_for_appointment'] = 'Vielen Dank für die Terminauswahl mit uns. Weiter unten können Sie Ihre Termindaten sehen. Änderungen können durch klicken auf den Termin-Link durchgeführt werden.';
$lang['thank_you_for_appointment'] = 'Vielen Dank für die Terminauswahl. Weiter unten können Sie Ihre Termindaten sehen. Änderungen können durch klicken auf den Termin-Link durchgeführt werden.';
$lang['appointment_details_title'] = 'Termindaten';
$lang['customer_details_title'] = 'Kundendaten';
$lang['service'] = 'Dienstleistung';
@@ -64,7 +64,7 @@
$lang['disable_sync'] = 'Sync ausschalten';
$lang['reload'] = 'Neu laden';
$lang['appointment'] = 'Termin';
$lang['unavailable'] = 'Nicht möglich';
$lang['unavailable'] = 'Nicht verfügbar';
$lang['week'] = 'Woche';
$lang['month'] = 'Monat';
$lang['today'] = 'Heute';
@@ -82,7 +82,7 @@
$lang['manage_users_hint'] = 'Verwalten Sie die Endnutzer (Admins, Anbieter, Büropersonal).';
$lang['settings_hint'] = 'Setzen Sie das System aus Nutzereinstellungen.';
$lang['log_out_hint'] = 'Melden Sie sich vom System ab.';
$lang['unavailable_periods_hint'] = 'Über den Zeitraum nicht erhältlicher Dienstleistung werden neue Termin von den Anbietern nicht akzeptiert.';
$lang['unavailable_periods_hint'] = 'Über den Zeitraum nicht erhältlicher Dienstleistungen werden neue Termin von den Anbietern nicht akzeptiert.';
$lang['new_appointment_hint'] = 'Bestimmen Sie einen neuen Termin und sichern Sie ihn in der Datenbank.';
$lang['reload_appointments_hint'] = 'Kalendertermine neu laden.';
$lang['trigger_google_sync_hint'] = 'Starten Sie den Synchronisationsprozess von Google Kalender.';
@@ -100,7 +100,7 @@
$lang['new_appointment_title'] = 'Neuer Termin';
$lang['edit_appointment_title'] = 'Termin bearbeiten';
$lang['delete_appointment_title'] = 'Termin löschen';
$lang['write_appointment_removal_reason'] = 'Bitte nehmen Sie sich eine Minute Zeit um den Grund aufzuschreiben warum Sie den Termin löschen:';
$lang['write_appointment_removal_reason'] = 'Bitte nehmen Sie sich eine Minute Zeit um den Grund aufzuschreiben, warum Sie den Termin löschen:';
$lang['appointment_saved'] = 'Termin erfolgreich gespeichert!';
$lang['new_unavailable_title'] = 'Neuer nicht zur Verfügung stehender Zeitraum';
$lang['edit_unavailable_title'] = 'Nicht zur Verfügung stehenden Zeitraum bearbeiten';
@@ -184,12 +184,12 @@
$lang['about_app_license'] = 'Easy!Appointment ist lizensiert under der GPLv3-Lizenz. Bei Benutzung des Codes für Easy!Appointments auf irgendeine Weise stimmen Sie mit den Nutzungsbedingungen zu wie sie in folgender url aufgeführt sind:';
$lang['logout_success'] = 'Sie haben sich erfolgreich abgemeldet! Klicken sie auf einen der folgende Tasten, um auf eine andere Seite zu gelangen.';
$lang['book_appointment_title'] = 'Terminbuchung';
$lang['backend_section'] = 'Backend Sektion';
$lang['you_need_to_login'] = 'Willkommen! Sie müssen sich anmelden um die Backend-Seiten zu sehen.';
$lang['backend_section'] = 'Backend';
$lang['you_need_to_login'] = 'Willkommen! Bitte melden Sie sich am Backend an.';
$lang['enter_username_here'] = 'Geben Sie Ihren Nutzernamen hier ein ...';
$lang['enter_password_here'] = 'Geben Sie Ihr Passwort hier ein ...';
$lang['login'] = 'Anmelden';
$lang['forgot_your_password'] = 'Passowort vergessen?';
$lang['forgot_your_password'] = 'Passwort vergessen?';
$lang['login_failed'] = 'Anmeldung fehlgeschlagen, bitte geben Sie die richtigen Anmeldedaten ein und versuchen Sie es erneut.';
$lang['type_username_and_email_for_new_password'] = 'Geben Sie Ihren Nutzernamen und Ihre E-Mail-Adresse ein, um Ihr neues Passwort zu erhalten.';
$lang['enter_email_here'] = 'Geben Sie Ihre E-Mail hier ein ...';
@@ -236,7 +236,7 @@
$lang['personal_information'] = 'Persönliche Informationen';
$lang['system_login'] = 'System Login';
$lang['user_settings_are_invalid'] = 'Benutzereinstellungen sind ungültig! Bitte überprüfen Sie Ihre Einstellungen und wiederholen Sie den Vorgang.';
$lang['add_break'] = 'Interval Hinzufügen';
$lang['add_break'] = 'Intervall Hinzufügen';
$lang['january'] = 'Januar';
$lang['february'] = 'Februar';
$lang['march'] = 'März';
@@ -246,7 +246,7 @@
$lang['july'] = 'Juli';
$lang['august'] = 'August';
$lang['september'] = 'September';
$lang['october'] = 'October';
$lang['october'] = 'Oktober';
$lang['november'] = 'November';
$lang['december'] = 'Dezember';
$lang['previous'] = 'Vorherig';
17 changes: 10 additions & 7 deletions src/application/views/appointments/book.php
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">

<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">
<link rel="icon" sizes="268x50" href="<?= asset_url('assets/img/stwon_logo.svg') ?>">
</head>

<body>
@@ -27,7 +27,8 @@
<!-- FRAME TOP BAR -->

<div id="header">
<span id="company-name"><?= $company_name ?></span>
<span id="company-name">
<img src="<?= base_url('assets/img/stwon_logo.svg') ?>"></span>

<div id="steps">
<div id="step-1" class="book-step active-step" title="<?= lang('step_one_title') ?>">
@@ -60,14 +61,16 @@
</form>
</div>
</div>
<!--
<div class="booking-header-bar row">
<div class="col-xs-12 col-sm-10">
<p><?= lang('delete_personal_information_hint') ?></p>
</div>
<div class="col-xs-12 col-sm-2">
<button id="delete-personal-information" class="btn btn-danger btn-sm"><?= lang('delete') ?></button>
</div>
</div>
</div>
-->
<?php endif; ?>

<?php
@@ -242,8 +245,8 @@
<input type="text" id="zip-code" class="form-control" maxlength="120" />
</div>
<div class="form-group">
<label for="notes" class="control-label"><?= lang('notes') ?></label>
<textarea id="notes" maxlength="500" class="form-control" rows="3"></textarea>
<label for="notes" class="control-label"><?= lang('notes') ?> *</label>
<textarea id="notes" maxlength="500" class="required form-control" rows="3"></textarea>
</div>
</div>

@@ -334,7 +337,7 @@
<!-- FRAME FOOTER -->

<div id="frame-footer">
Powered By
<!-- Powered By
<a href="http://easyappointments.org" target="_blank">Easy!Appointments</a>
|
<span id="select-language" class="label label-success">
@@ -343,7 +346,7 @@
|
<a href="<?= site_url('backend'); ?>">
<?= $this->session->user_id ? lang('backend_section') : lang('login') ?>
</a>
</a> -->
</div>
</div>
</div>
10 changes: 10 additions & 0 deletions src/application/views/appointments/book_success.php
Original file line number Diff line number Diff line change
@@ -12,6 +12,16 @@

<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">
<style>
.btn {
background-color: #e3000b !important;
}
.btn-default {
color: #ffffff !important;
background-color: #ffffff;
border-color: transparent;
}
</style>
</head>
<body>
<div id="main" class="container">
4 changes: 2 additions & 2 deletions src/application/views/backend/header.php
Original file line number Diff line number Diff line change
@@ -34,8 +34,8 @@
<div class="container-fluid">
<div class="navbar-header">
<div id="header-logo" class="navbar-brand">
<img src="<?= base_url('assets/img/logo.png') ?>">
<span><?= $company_name ?></span>
<img src="<?= base_url('assets/img/stwon_logo.svg') ?>">

</div>

<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#header-menu"
11 changes: 10 additions & 1 deletion src/application/views/emails/appointment_details.php
Original file line number Diff line number Diff line change
@@ -33,6 +33,14 @@
<td class="label" style="padding: 3px;font-weight: bold;">End</td>
<td style="padding: 3px;">$appointment_end_date</td>
</tr>
<tr>
<td class="label" style="padding: 3px;font-weight: bold;">Ihre Bemerkungen</td>
<td style="padding: 3px;">$appointment_notes</td>
</tr>
<tr>
<td class="label" style="padding: 3px;font-weight: bold;">Hinweise</td>
<td style="padding: 3px;">$appointment_prov_notes</td>
</tr>
</table>
<h2>Customer Details</h2>
@@ -58,14 +66,15 @@
<h2>Appointment Link</h2>
<a href="$appointment_link" style="width: 600px;">$appointment_link</a>
</div>
<!--
<div id="footer" style="padding: 10px; text-align: center; margin-top: 10px;
border-top: 1px solid #EEE; background: #FAFAFA;">
Powered by
<a href="http://easyappointments.org" style="text-decoration: none;">Easy!Appointments</a>
|
<a href="$company_link" style="text-decoration: none;">$company_name</a>
</div>
-->
</div>
</body>
</html>
3 changes: 2 additions & 1 deletion src/application/views/emails/delete_appointment.php
Original file line number Diff line number Diff line change
@@ -58,14 +58,15 @@
<h2>Reason</h2>
<p>$reason</p>
</div>
<!--
<div id="footer" style="padding: 10px; text-align: center; margin-top: 10px;
border-top: 1px solid #EEE; background: #FAFAFA;">
Powered by
<a href="http://easyappointments.org" style="text-decoration: none;">Easy!Appointments</a>
|
<a href="$company_link" style="text-decoration: none;">$company_name</a>
</div>
-->
</div>
</body>
</html>
3 changes: 2 additions & 1 deletion src/application/views/emails/new_password.php
Original file line number Diff line number Diff line change
@@ -15,14 +15,15 @@
<h2>$email_title</h2>
<p>$email_message</p>
</div>
<!--
<div id="footer" style="padding: 10px; text-align: center; margin-top: 10px;
border-top: 1px solid #EEE; background: #FAFAFA;">
Powered by
<a href="http://easyappointments.org" style="text-decoration: none;">Easy!Appointments</a>
|
<a href="$company_link" style="text-decoration: none;">$company_name</a>
</div>
-->
</div>
</body>
</html>
7 changes: 4 additions & 3 deletions src/application/views/user/forgot_password.php
Original file line number Diff line number Diff line change
@@ -19,6 +19,7 @@

<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/bootstrap/css/bootstrap.min.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/jquery-ui/jquery-ui.min.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">

<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">

@@ -28,14 +29,14 @@
height: 100vh;
display: table-cell;
vertical-align: middle;
background-color: #CAEDF3;
background-color: #FFF;
}

#forgot-password-frame {
width: 630px;
margin: auto;
background: #FFF;
border: 1px solid #DDDADA;
border: 1px solid #e3000b;
padding: 70px;
}

@@ -104,7 +105,7 @@
</head>
<body>
<div id="forgot-password-frame" class="frame-container">
<h2><?= lang('forgot_your_password') ?></h2>
<h2><img src="<?= base_url('assets/img/stwon_logo.svg') ?>"></h2>
<p><?= lang('type_username_and_email_for_new_password') ?></p>
<hr>
<div class="alert hidden"></div>
12 changes: 7 additions & 5 deletions src/application/views/user/login.php
Original file line number Diff line number Diff line change
@@ -24,14 +24,14 @@
height: 100vh;
display: table-cell;
vertical-align: middle;
background-color: #CAEDF3;
background-color: #FFF;
}

#login-frame {
width: 630px;
margin: auto;
background: #FFF;
border: 1px solid #DDDADA;
border: 1px solid #e3000b;
padding: 70px;
}

@@ -96,7 +96,9 @@
</head>
<body>
<div id="login-frame" class="frame-container">
<h2><?= lang('backend_section') ?></h2>
<h2>
<img src="<?= base_url('assets/img/stwon_logo.svg') ?>">
</h2>
<p><?= lang('you_need_to_login') ?></p>
<hr>
<div class="alert hidden"></div>
@@ -123,10 +125,10 @@ class="form-control" />

<a href="<?= site_url('user/forgot_password') ?>" class="forgot-password">
<?= lang('forgot_your_password') ?></a>
|
<!--
<span id="select-language" class="label label-success">
<?= ucfirst($this->config->item('language')) ?>
</span>
</span> -->
</form>
</div>

Loading