-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* FileManager - Only show tenant bucket * WIP - Lang * WIP - Lang latest * Initial Zora implementation - Add some sample translations to use as a base * WIP latest translations * Updated readme * WIP - Lang latest changes * Translations * WIP - translations + new course page * WIP - new translations + changed website course page * WIP latest with FAQ * Show refund message + footer component * feat: Implement BE that allows for CMS pages to be created with course(s) attached * Added auth translations * WIP - New footer changes for landing page * WIP - Remove unnecessary route * Logic for Email to sign up after purchase * feat(course-template-fe): Add FE for course pages * feat(course-template-fe): Add FE for course pages * Changes to landing page * Clean up * Fix for organisation unit creator * Fix for organisation units edit * Fix for side menu icon * Implement organisation unit cms field * Org updates - Add snap and tiktok - Fix email required - Update twitter/x label * Org updates - Add snap and tiktok - Fix email required - Update twitter/x label * Add page-meta to page show and course template * Latest * remove unused import * Add keywords metadata * WIP * Show section files in all lectures for student * Implement theme settings - Add new color vars to support theming - Add UI/UX to set colours in admin - Update Course FE components to use theme * Yarn prod & zora generate * Implement repeater functionality into faqs section - Fix repeater CMS selector - Ensure course template uses the repeater data * Updates for course show template * Updates for course show template * yarn prod * yarn prod * yarn prod * yarn prod * yarn prod * yarn prod * yarn prod * yarn prod * Commit * Commit * Allow super users to manually create student accounts * ignition in core deps * ignition in core deps * Composer * Composer * Updated img links * Basic Page/Layout FE * Basic Page/Layout FE * yarn prod * Fixes * Remove unused script * Latest changes and text next to video * Translations * Adjustments to payments * VAT message for Lei * Add settings to landlord * UX changes to footer and improvements * Clean up * UX changes * Fixes and improv * Only load theme for tenants * Only load theme for tenants * Handle the redemption/mail outside of commit to ensure data persists * Implement GTM support - Add Setting for GTM ID - Refactor head to allow for tenant head data to be set, including GTM script - Add dataLayer.push event for navigation * Implement filter to hide decimals for whole numbers * Add logic for ignoring stripe events * Ensure only active pages are shown on the website * Migrate from Laravel Mix to Vite (#72) * Add npm dependencies * Update build scripts * Configure Vite * Remove `webpack.mix.js` * Use ES modules * Rename ENV variables * Add PostCSS configuration for Tailwind * Use new `@vite` Blade directive * Add `.vue` extension to Vue imports * Ignore build assets * PostCSS Setup --------- Co-authored-by: Shift <[email protected]> * Implement CMS Redirects (#73) * Fix for dayjs locale (#74) Fix for landlord web middleware Add inertia head Fix inertia versioning Bump inertia php version * Add form column for submit button text * Refactor course components to sit within website/course/ * yarb prod * yarn prod * refactor course components * Implement course interest form for non-published courses (#75) * Small changes and improvements * Call to Action section * Latest * Changes to UX + wip animations * minor chore: Style cleanups (#79) * minor chore: Style cleanups - Remove styles from base / create anime.css - Remove usages of style="" - Add in missing en translations * yarn prod * Ignore Stripe Checkout Session Expired requests. * Fix tenant scheduled commands * Test commit for scheduled commandfs * Test commit for scheduled commands * Prod commit to enable scheduled jobs * Changes for logo and small impro * WIP * Yt field on org unit * WIP * Student video show updates * Add GTM dataLayer push on course purchase (#83) * Fix vue-cookie issue (#84) * - Allow '/' for page URLs - Allow non-'/' urls for redirect to's * - Allow '/' for page URLs - Allow non-'/' urls for redirect to's * - Revert slugify changes - was working as expected - Refactor sticky-menu css * - Revert slugify changes - was working as expected - Refactor sticky-menu css * Email updates * Fix * Fix * Fix * Fix * Locale for checkout * Multiple updates for live: - Sort purchases by newest first - Student admin FE= - Student course - show latest incomplete course when loading the page - Minimise toggled sections on mobile by default * Add date to purchases Remove hard coded redirect from home page * Fix course purchase date * Template update * Template update * Quick changes + yarn prod * Revert format change * Fixed conflict * Add third party mailer setting and config bootstrapper (#86) * Add third party mailer setting and config bootstrapper * Tenancy bootstrapper fix * Fixes * Updates with test mail and correct config handling * Add comment * Yarn prod * Yarn prod * Yarn prod * Add internal notifications for form submissions (#80) * WIP commit for initial notificaiton email and preview * Send internal mail notification on form submission * Remove hard coded "Minducate" reference in mails (#89) - Implement helper to allow us to us the theme to get the tenant_name as needed * yarn prod * Add domain to tenant store action * Add xdebug support * Add dignostics route * Fix tenant migrations running on artisan migrate * Initial fix for tests (#90) - Tests still take too long to run per test but can at least test! * Fix EDU summary length check causing error when no summary is set * Removed unwanted sign up button * Yarn prod --------- Co-authored-by: dorusomcutean <[email protected]> Co-authored-by: dorusomcutean <[email protected]> Co-authored-by: Shift <[email protected]>
- Loading branch information
1 parent
ee58ef8
commit 1e6d21a
Showing
491 changed files
with
11,643 additions
and
5,893 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Adding new tabler icons | ||
|
||
The default icon set for this project is [TablerIcons](https://tablericons.com). | ||
|
||
They should all be stored inside `./resources/js/components/core/icons/Icon{IconName}.vue` | ||
as this will allow them to be automatically imported and usable within the application via `<icon-icon-name />`. | ||
|
||
## Step by step | ||
|
||
1. Find the icon you want to use on [TablerIcons](https://tablericons.com) | ||
2. Click it to copy the SVG | ||
1. Make note of the name e.g. `arrows-shuffle` | ||
3. Copy an existing icon, using pascal case prefixed with `Icon` e.g. `IconArrowsShuffle.vue` | ||
1. Alternatively use the icon template below | ||
4. Inside the existing `<svg>` tag, paste the copied SVG | ||
5. Remove the opening and closing `<svg ...>` that were pasted, so only the outer tag remains | ||
6. Update the name to the pascal case icon name e.g. `IconArrowsShuffle` | ||
7. Use the icon wherever needed via kebab case e.g. `<icon-arrows-shuffle />` | ||
|
||
The resulting vue file should look similar to the following: | ||
```vue | ||
<template> | ||
<!-- Part of the tabler icon set: https://github.com/tabler/tabler-icons --> | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
width="24" | ||
height="24" | ||
viewBox="0 0 24 24" | ||
stroke-width="2" | ||
stroke="currentColor" | ||
fill="none" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
> | ||
<path d="M18 4l3 3l-3 3" /> | ||
<path d="M18 20l3 -3l-3 -3" /> | ||
<path d="M3 7h3a5 5 0 0 1 5 5a5 5 0 0 0 5 5h5" /> | ||
<path d="M21 7h-5a4.978 4.978 0 0 0 -3 1m-4 8a4.984 4.984 0 0 1 -3 1h-3" /> | ||
</svg> | ||
</template> | ||
<script> | ||
export default { | ||
name: "IconArrowsShuffle", | ||
} | ||
</script> | ||
``` | ||
|
||
## Icon Template | ||
```vue | ||
<template> | ||
<!-- Part of the tabler icon set: https://github.com/tabler/tabler-icons --> | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
width="24" | ||
height="24" | ||
viewBox="0 0 24 24" | ||
stroke-width="2" | ||
stroke="currentColor" | ||
fill="none" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
> | ||
</svg> | ||
</template> | ||
<script> | ||
export default { | ||
name: "IconArrowsShuffle", | ||
} | ||
</script> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
|
||
namespace App\Actions\CMS\Redirect; | ||
|
||
use App\Actions\AbstractQueryAction; | ||
use App\Models\CMS\Redirect; | ||
use App\Models\CMS\Template; | ||
use Illuminate\Database\Eloquent\Builder; | ||
use Illuminate\Support\Arr; | ||
use Illuminate\Support\Str; | ||
|
||
class RedirectQueryAction extends AbstractQueryAction | ||
{ | ||
protected array $searchable_fields_equals = [ | ||
'is_enabled' => 'redirect_is_enabled', | ||
'is_permanent' => 'redirect_is_permanent' | ||
]; | ||
|
||
protected array $searchable_fields_likes = [ | ||
'url_from' => 'redirect_url_from', | ||
'url_to' => 'redirect_url_to', | ||
]; | ||
|
||
protected string $order_by = 'url_from'; | ||
|
||
|
||
protected function getQueryBuilder(): Builder | ||
{ | ||
return Redirect::query(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
namespace App\Actions\CMS\Redirect; | ||
|
||
|
||
use App\Models\CMS\Redirect; | ||
|
||
class RedirectStoreAction | ||
{ | ||
public function handle(array $redirect_data): Redirect | ||
{ | ||
return Redirect::create($redirect_data); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
namespace App\Actions\CMS\Redirect; | ||
|
||
use App\Models\CMS\Redirect; | ||
|
||
class RedirectUpdateAction | ||
{ | ||
public function handle(Redirect $redirect, array $redirect_data, bool $refresh = false): Redirect | ||
{ | ||
$redirect->update($redirect_data); | ||
|
||
if ($refresh) { | ||
$redirect->refresh(); | ||
} | ||
|
||
return $redirect; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
namespace App\Actions\Setting; | ||
|
||
use App\Http\Requests\AdminApi\Setting\MailerSettingTestRequest; | ||
use App\Mail\Setting\MailerTest; | ||
use App\Traits\Base\ManagesTenancyMailer; | ||
use Illuminate\Support\Arr; | ||
use Illuminate\Support\Facades\Mail; | ||
|
||
class MailerSettingTestAction | ||
{ | ||
use ManagesTenancyMailer; | ||
|
||
public function handle(MailerSettingTestRequest $request): void | ||
{ | ||
$mailerSettings = Arr::except($request->validated(), 'recipient'); | ||
|
||
$this->setMailConfigForTenant(tenant(), $mailerSettings); | ||
|
||
Mail::to($request->get('recipient')) | ||
->send(new MailerTest($mailerSettings)); | ||
|
||
$this->setMailConfigDefaults(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.