-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove npm Dockerfile and migrate its functionality to php Dockerfile * Refactored text area into EventGenerationTextArea component * Add restart policy to database in docker-compose files * Update backup notification email recipient * Added CACHE_STORE to GitHub workflow and .env.example
- Loading branch information
Showing
33 changed files
with
102 additions
and
676 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -208,7 +208,7 @@ | |
'notifiable' => \Spatie\Backup\Notifications\Notifiable::class, | ||
|
||
'mail' => [ | ||
'to' => '[email protected]', | ||
'to' => env('ADMIN_EMAIL', null), | ||
|
||
'from' => [ | ||
'address' => env('MAIL_FROM_ADDRESS', '[email protected]'), | ||
|
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -56,7 +56,9 @@ RUN docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \ | |
|
||
RUN curl -fsSL https://deb.nodesource.com/setup_21.x | bash - | ||
RUN apt-get install -y nodejs | ||
|
||
RUN npm install -g [email protected] && npm install -g npm-check-updates | ||
RUN chown -R ${UID}:${GID} /var/www | ||
RUN chmod 777 -R /var/www | ||
USER ${USER} | ||
|
||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer | ||
|
@@ -75,3 +77,9 @@ CMD /usr/bin/supervisord -u ${USER} -n -c /etc/supervisor/conf.d/supervisord-que | |
|
||
FROM base AS composer | ||
ENTRYPOINT ["composer"] | ||
|
||
FROM base as npm | ||
ENTRYPOINT [ "npm" ] | ||
|
||
FROM base as ncu | ||
ENTRYPOINT [ "ncu", "--interactive", "--format", "group" ] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,37 @@ | ||
<script setup lang="ts"> | ||
import { onMounted, ref } from 'vue'; | ||
import TextArea from "@/Components/TextArea.vue"; | ||
import LoadingSpinner from "@/Components/LoadingSpinner.vue"; | ||
const model = defineModel<string>({ required: true }); | ||
const props = defineProps<{ | ||
loading?: boolean; | ||
}>(); | ||
const getPlaceholder = (): string => { | ||
const placeholderTexts: string[] = [ | ||
"Note to self:\nBuy anniversary gift for Sarah\nMay 20, 2024\nDon't forget to buy flowers too!!", | ||
"Hotel Reservation Confirmation:\nGuest:\n- Name: Emily Johnson\n- Email: [email protected]\n- Phone: +1 (555) 987-6543\n\nReservation Details:\n- Check-in Date: June 20, 2024\n- Check-out Date: June 25, 2024\n- Number of Nights: 5\n- Room Type: Deluxe King Room\n- Number of Guests: 2\n- Special Requests: Non-smoking room, high floor\n\nHotel Information:\n- Hotel Name: Serenity Resort\n- Address: 123 Beachfront Avenue, Anytown, USA\n- Phone: +1 (555) 123-4567\n- Website: www.serenityresort.com", | ||
"Appointment Confirmation:\n- Name: John Smith\n- Email: [email protected]\n- Phone: +1 (555) 123-4567\n\nAppointment Details:\n- Date: June 10, 2024\n- Time: 2:00 PM\n- Location: City Hall\n- Purpose: Property Tax Rebate", | ||
"Concert Ticket Holder:\n- Name: Jane Smith\n- Email: [email protected]\n- Phone: +1 (555) 987-6543\n\nEvent Details:\n- Event: Summer Music Festival\n- Date: July 15, 2024\n- Time: 7:00 PM\n- Venue: Harmony Park Amphitheater\n- Location: Anytown, USA\n\nTicket Information:\n- Ticket Type: General Admission\n- Ticket Number: 123456789\n- Seat Number: N/A", | ||
"Flight Details:\n- Departure Date: May 25, 2024\n- Departure Time: 10:00 AM\n- Departure Airport: JFK - John F. Kennedy International Airport\n- Arrival Date: May 30, 2024\n- Arrival Time: 3:00 PM\n- Arrival Airport: LAX - Los Angeles International Airport\n- Flight Number: XYZ123\n- Seat Number: 22A\n", | ||
"Reminder to Self:\n Action: Schedule dentist appointment\nDate: May 15, 2024\nPriority: High\nLocation: Downtown Dental Clinic\nNote: Call to schedule appointment for annual check-up.", | ||
"Hey there! How about dinner on Saturday? Let's meet at The Rustic Kitchen at 7:00 PM.\nAddress: 456 Oak Street, Anytown, USA.\nCan't wait to catch up!\n\nXOXO\nFred" | ||
]; | ||
const index: number = Math.floor(Math.random() * placeholderTexts.length); | ||
return placeholderTexts[index]; | ||
} | ||
</script> | ||
|
||
<template> | ||
<div class="relative w-full h-48"> | ||
<TextArea class="h-48 w-full resize-none text-lg placeholder:text-sm" :class="props.loading ? 'blur-lg' : ''" | ||
:placeholder="getPlaceholder()" | ||
v-model="model"/> | ||
<div v-if="props.loading" | ||
role="status" class="absolute -translate-x-1/2 -translate-y-1/2 top-2/4 left-1/2"> | ||
<LoadingSpinner/> | ||
</div> | ||
</div> | ||
</template> |
Oops, something went wrong.