Bugfix/list clickup issue (#5)

Reviewed-on: #5
Co-authored-by: ISMAIL MASSERAN <ismail@koppkb.com>
Co-committed-by: ISMAIL MASSERAN <ismail@koppkb.com>
This commit was merged in pull request #5.
This commit is contained in:
2026-10-19 13:30:36 +08:00
committed by ismailmasseran
parent b1d393b1a1
commit e29a5891c8
196 changed files with 18243 additions and 19520 deletions
+5 -5
View File
@@ -173,14 +173,14 @@ return [
App\Providers\AuthServiceProvider::class,
// App\Providers\BroadcastServiceProvider::class,
App\Providers\EventServiceProvider::class,
App\Providers\HorizonServiceProvider::class,
App\Providers\RouteServiceProvider::class,
// App\Providers\TelescopeServiceProvider::class,
Barryvdh\DomPDF\ServiceProvider::class,
Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider::class,
//form
// form
Collective\Html\HtmlServiceProvider::class,
],
/*
@@ -243,9 +243,9 @@ return [
],
'api_url' => env('API_URL', 'http://localhost'),
'api_url' => env('API_URL', 'http://localhost/'),
'api_ujrah_url' => env('API_UJRAH_URL', 'http://localhost'),
'api_ujrah_url' => env('API_UJRAH_URL', 'http://localhost/'),
'wabot_api' => env('WABOT_API', 'http://localhost'),
@@ -261,7 +261,7 @@ return [
'storage_directory' => env('STORAGE_DIRECTORY', storage_path()),
'taxation' => env('TAX_AROS',true),
'taxation' => env('TAX_AROS', true),
'admin_email' => env('ADMIN_EMAIL', 'admin@example.com'),
+1 -1
View File
@@ -313,7 +313,7 @@ return [
'options' => [
'cluster' => env('REDIS_CLUSTER', 'redis'),
'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_') . '_database_'),
'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'),
],
'default' => [
+22 -23
View File
@@ -1,6 +1,6 @@
<?php
return array(
return [
/*
|--------------------------------------------------------------------------
@@ -13,7 +13,7 @@ return array(
*/
'show_warnings' => false, // Throw an Exception on warnings from dompdf
'orientation' => 'portrait',
'defines' => array(
'defines' => [
/**
* The location of the DOMPDF font directory
*
@@ -38,7 +38,7 @@ return array(
* Times-Roman, Times-Bold, Times-BoldItalic, Times-Italic,
* Symbol, ZapfDingbats.
*/
"font_dir" => storage_path('fonts/'), // advised by dompdf (https://github.com/dompdf/dompdf/pull/782)
'font_dir' => storage_path('fonts/'), // advised by dompdf (https://github.com/dompdf/dompdf/pull/782)
/**
* The location of the DOMPDF font cache directory
@@ -48,7 +48,7 @@ return array(
*
* Note: This directory must exist and be writable by the webserver process.
*/
"font_cache" => storage_path('fonts/'),
'font_cache' => storage_path('fonts/'),
/**
* The location of a temporary directory.
@@ -57,7 +57,7 @@ return array(
* The temporary directory is required to download remote images and when
* using the PFDLib back end.
*/
"temp_dir" => sys_get_temp_dir(),
'temp_dir' => sys_get_temp_dir(),
/**
* ==== IMPORTANT ====
@@ -71,20 +71,19 @@ return array(
* direct class use like:
* $dompdf = new DOMPDF(); $dompdf->load_html($htmldata); $dompdf->render(); $pdfdata = $dompdf->output();
*/
"chroot" => realpath(base_path()),
'chroot' => realpath(base_path()),
/**
* Whether to enable font subsetting or not.
*/
"enable_font_subsetting" => false,
'enable_font_subsetting' => false,
/**
* The PDF rendering backend to use
*
* Valid settings are 'PDFLib', 'CPDF' (the bundled R&OS PDF class), 'GD' and
* 'auto'. 'auto' will look for PDFLib and use it if found, or if not it will
* fall back on CPDF. 'GD' renders PDFs to graphic files. {@link
* Canvas_Factory} ultimately determines which rendering class to instantiate
* fall back on CPDF. 'GD' renders PDFs to graphic files. {@link * Canvas_Factory} ultimately determines which rendering class to instantiate
* based on this setting.
*
* Both PDFLib & CPDF rendering backends provide sufficient rendering
@@ -106,7 +105,7 @@ return array(
* @link http://www.ros.co.nz/pdf
* @link http://www.php.net/image
*/
"pdf_backend" => "CPDF",
'pdf_backend' => 'CPDF',
/**
* PDFlib license key
@@ -120,7 +119,7 @@ return array(
* If pdflib present in web server and auto or selected explicitely above,
* a real license code must exist!
*/
//"DOMPDF_PDFLIB_LICENSE" => "your license key here",
// "DOMPDF_PDFLIB_LICENSE" => "your license key here",
/**
* html target media view which should be rendered into pdf.
@@ -132,7 +131,7 @@ return array(
* the desired content might be different (e.g. screen or projection view of html file).
* Therefore allow specification of content here.
*/
"default_media_type" => "screen",
'default_media_type' => 'screen',
/**
* The default paper size.
@@ -141,15 +140,16 @@ return array(
*
* @see CPDF_Adapter::PAPER_SIZES for valid sizes ('letter', 'legal', 'A4', etc.)
*/
"default_paper_size" => "a4",
'default_paper_size' => 'a4',
/**
* The default font family
*
* Used if no suitable fonts can be found. This must exist in the font folder.
*
* @var string
*/
"default_font" => "serif",
'default_font' => 'serif',
/**
* Image DPI setting
@@ -184,7 +184,7 @@ return array(
*
* @var int
*/
"dpi" => 96,
'dpi' => 96,
/**
* Enable inline PHP
@@ -198,7 +198,7 @@ return array(
*
* @var bool
*/
"enable_php" => false,
'enable_php' => false,
/**
* Enable inline Javascript
@@ -208,7 +208,7 @@ return array(
*
* @var bool
*/
"enable_javascript" => true,
'enable_javascript' => true,
/**
* Enable remote file access
@@ -227,18 +227,17 @@ return array(
*
* @var bool
*/
"enable_remote" => true,
'enable_remote' => true,
/**
* A ratio applied to the fonts height to be more like browsers' line height
*/
"font_height_ratio" => 1.1,
'font_height_ratio' => 1.1,
/**
* Use the more-than-experimental HTML5 Lib parser
*/
"enable_html5_parser" => false,
),
'enable_html5_parser' => false,
],
);
];
+233
View File
@@ -0,0 +1,233 @@
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Horizon Domain
|--------------------------------------------------------------------------
|
| This is the subdomain where Horizon will be accessible from. If this
| setting is null, Horizon will reside under the same domain as the
| application. Otherwise, this value will serve as the subdomain.
|
*/
'domain' => env('HORIZON_DOMAIN'),
/*
|--------------------------------------------------------------------------
| Horizon Path
|--------------------------------------------------------------------------
|
| This is the URI path where Horizon will be accessible from. Feel free
| to change this path to anything you like. Note that the URI will not
| affect the paths of its internal API that aren't exposed to users.
|
*/
'path' => env('HORIZON_PATH', 'horizon'),
/*
|--------------------------------------------------------------------------
| Horizon Redis Connection
|--------------------------------------------------------------------------
|
| This is the name of the Redis connection where Horizon will store the
| meta information required for it to function. It includes the list
| of supervisors, failed jobs, job metrics, and other information.
|
*/
'use' => 'default',
/*
|--------------------------------------------------------------------------
| Horizon Redis Prefix
|--------------------------------------------------------------------------
|
| This prefix will be used when storing all Horizon data in Redis. You
| may modify the prefix when you are running multiple installations
| of Horizon on the same server so that they don't have problems.
|
*/
'prefix' => env(
'HORIZON_PREFIX',
Str::slug(env('APP_NAME', 'laravel'), '_').'_horizon:'
),
/*
|--------------------------------------------------------------------------
| Horizon Route Middleware
|--------------------------------------------------------------------------
|
| These middleware will get attached onto each Horizon route, giving you
| the chance to add your own middleware to this list or change any of
| the existing middleware. Or, you can simply stick with this list.
|
*/
'middleware' => ['web'],
/*
|--------------------------------------------------------------------------
| Queue Wait Time Thresholds
|--------------------------------------------------------------------------
|
| This option allows you to configure when the LongWaitDetected event
| will be fired. Every connection / queue combination may have its
| own, unique threshold (in seconds) before this event is fired.
|
*/
'waits' => [
'redis:default' => 60,
'redis:jana-notis' => 300,
],
/*
|--------------------------------------------------------------------------
| Job Trimming Times
|--------------------------------------------------------------------------
|
| Here you can configure for how long (in minutes) you desire Horizon to
| persist the recent and failed jobs. Typically, recent jobs are kept
| for one hour while all failed jobs are stored for an entire week.
|
*/
'trim' => [
'recent' => 60,
'pending' => 60,
'completed' => 60,
'recent_failed' => 10080,
'failed' => 10080,
'monitored' => 10080,
],
/*
|--------------------------------------------------------------------------
| Silenced Jobs
|--------------------------------------------------------------------------
|
| Silencing a job will instruct Horizon to not place the job in the list
| of completed jobs within the Horizon dashboard. This setting may be
| used to fully remove any noisy jobs from the completed jobs list.
|
*/
'silenced' => [
// App\Jobs\ExampleJob::class,
],
/*
|--------------------------------------------------------------------------
| Metrics
|--------------------------------------------------------------------------
|
| Here you can configure how many snapshots should be kept to display in
| the metrics graph. This will get used in combination with Horizon's
| `horizon:snapshot` schedule to define how long to retain metrics.
|
*/
'metrics' => [
'trim_snapshots' => [
'job' => 24,
'queue' => 24,
],
],
/*
|--------------------------------------------------------------------------
| Fast Termination
|--------------------------------------------------------------------------
|
| When this option is enabled, Horizon's "terminate" command will not
| wait on all of the workers to terminate unless the --wait option
| is provided. Fast termination can shorten deployment delay by
| allowing a new instance of Horizon to start while the last
| instance will continue to terminate each of its workers.
|
*/
'fast_termination' => false,
/*
|--------------------------------------------------------------------------
| Memory Limit (MB)
|--------------------------------------------------------------------------
|
| This value describes the maximum amount of memory the Horizon master
| supervisor may consume before it is terminated and restarted. For
| configuring these limits on your workers, see the next section.
|
*/
'memory_limit' => 128,
/*
|--------------------------------------------------------------------------
| Queue Worker Configuration
|--------------------------------------------------------------------------
|
| Here you may define the queue worker settings used by your application
| in all environments. These supervisors and settings handle all your
| queued jobs and will be provisioned by Horizon during deployment.
|
*/
'defaults' => [
'supervisor-1' => [
'connection' => 'redis',
'queue' => ['default'],
'balance' => 'auto',
'autoScalingStrategy' => 'time',
'maxProcesses' => 1,
'maxTime' => 0,
'maxJobs' => 0,
'memory' => 256,
'tries' => 1,
'timeout' => 60,
'nice' => 0,
],
'supervisor-jana-notis' => [
'connection' => 'redis',
'queue' => ['jana-notis'],
'balance' => 'simple',
'autoScalingStrategy' => 'time',
'maxProcesses' => 1,
'maxTime' => 0,
'maxJobs' => 0,
'memory' => 2048,
'tries' => 1,
'timeout' => 600,
'nice' => 0,
],
],
'environments' => [
'production' => [
'supervisor-1' => [
'maxProcesses' => 10,
'balanceMaxShift' => 1,
'balanceCooldown' => 3,
],
'supervisor-jana-notis' => [
'maxProcesses' => 1,
],
],
'local' => [
'supervisor-1' => [
'maxProcesses' => 3,
],
'supervisor-jana-notis' => [
'maxProcesses' => 1,
],
],
],
];
+1 -1
View File
@@ -15,6 +15,6 @@ return [
|
*/
'driver' => 'gd'
'driver' => 'gd',
];
+104 -104
View File
@@ -137,130 +137,130 @@ return [
// return [
/*
|--------------------------------------------------------------------------
| Default Mailer
|--------------------------------------------------------------------------
|
| This option controls the default mailer that is used to send any email
| messages sent by your application. Alternative mailers may be setup
| and used as needed; however, this mailer will be used by default.
|
*/
/*
|--------------------------------------------------------------------------
| Default Mailer
|--------------------------------------------------------------------------
|
| This option controls the default mailer that is used to send any email
| messages sent by your application. Alternative mailers may be setup
| and used as needed; however, this mailer will be used by default.
|
*/
// 'default' => env('MAIL_MAILER', 'smtp'),
// 'default' => env('MAIL_MAILER', 'smtp'),
/*
|--------------------------------------------------------------------------
| Mailer Configurations
|--------------------------------------------------------------------------
|
| Here you may configure all of the mailers used by your application plus
| their respective settings. Several examples have been configured for
| you and you are free to add your own as your application requires.
|
| Laravel supports a variety of mail "transport" drivers to be used while
| sending an e-mail. You will specify which one you are using for your
| mailers below. You are free to add additional mailers as required.
|
| Supported: "smtp", "sendmail", "mailgun", "ses",
| "postmark", "log", "array", "failover"
|
*/
/*
|--------------------------------------------------------------------------
| Mailer Configurations
|--------------------------------------------------------------------------
|
| Here you may configure all of the mailers used by your application plus
| their respective settings. Several examples have been configured for
| you and you are free to add your own as your application requires.
|
| Laravel supports a variety of mail "transport" drivers to be used while
| sending an e-mail. You will specify which one you are using for your
| mailers below. You are free to add additional mailers as required.
|
| Supported: "smtp", "sendmail", "mailgun", "ses",
| "postmark", "log", "array", "failover"
|
*/
// 'mailers' => [
// 'smtp' => [
// 'transport' => 'smtp',
// 'host' => env('MAIL_HOST', 'smtp.mailtrap.io'),
// 'port' => env('MAIL_PORT', 587),
// 'encryption' => env('MAIL_ENCRYPTION', 'tls'),
// 'username' => env('MAIL_USERNAME'),
// 'password' => env('MAIL_PASSWORD'),
// 'timeout' => null,
// 'auth_mode' => null,
// ],
// 'mailers' => [
// 'smtp' => [
// 'transport' => 'smtp',
// 'host' => env('MAIL_HOST', 'smtp.mailtrap.io'),
// 'port' => env('MAIL_PORT', 587),
// 'encryption' => env('MAIL_ENCRYPTION', 'tls'),
// 'username' => env('MAIL_USERNAME'),
// 'password' => env('MAIL_PASSWORD'),
// 'timeout' => null,
// 'auth_mode' => null,
// ],
// 'ses' => [
// 'transport' => 'ses',
// ],
// 'ses' => [
// 'transport' => 'ses',
// ],
// 'mailgun' => [
// 'transport' => 'mailgun',
// ],
// 'mailgun' => [
// 'transport' => 'mailgun',
// ],
// 'postmark' => [
// 'transport' => 'postmark',
// ],
// 'postmark' => [
// 'transport' => 'postmark',
// ],
// 'sendmail' => [
// 'transport' => 'sendmail',
// 'path' => '/usr/sbin/sendmail -bs',
// ],
// 'sendmail' => [
// 'transport' => 'sendmail',
// 'path' => '/usr/sbin/sendmail -bs',
// ],
// 'log' => [
// 'transport' => 'log',
// 'channel' => env('MAIL_LOG_CHANNEL'),
// ],
// 'log' => [
// 'transport' => 'log',
// 'channel' => env('MAIL_LOG_CHANNEL'),
// ],
// 'array' => [
// 'transport' => 'array',
// ],
// 'array' => [
// 'transport' => 'array',
// ],
// 'failover' => [
// 'transport' => 'failover',
// 'mailers' => [
// 'smtp',
// 'log',
// ],
// ],
// ],
// 'failover' => [
// 'transport' => 'failover',
// 'mailers' => [
// 'smtp',
// 'log',
// ],
// ],
// ],
/*
|--------------------------------------------------------------------------
| Global "From" Address
|--------------------------------------------------------------------------
|
| You may wish for all e-mails sent by your application to be sent from
| the same address. Here, you may specify a name and address that is
| used globally for all e-mails that are sent by your application.
|
*/
// 'stream'=>[
/*
|--------------------------------------------------------------------------
| Global "From" Address
|--------------------------------------------------------------------------
|
| You may wish for all e-mails sent by your application to be sent from
| the same address. Here, you may specify a name and address that is
| used globally for all e-mails that are sent by your application.
|
*/
// 'stream'=>[
// 'ssl'=>[
// 'ssl'=>[
// 'allow_self_signed'=>true,
// 'allow_self_signed'=>true,
// 'verify_peer'=>false,
// 'verify_peer'=>false,
// 'verify_peer_name'=>false,
// 'verify_peer_name'=>false,
// ],
// ],
// ],
// ],
// 'from' => [
// 'address' => env('MAIL_FROM_ADDRESS', 'aliaafqh44@gmail.com'),
// 'name' => env('MAIL_FROM_NAME', 'Lelong'),
// ],
// 'from' => [
// 'address' => env('MAIL_FROM_ADDRESS', 'aliaafqh44@gmail.com'),
// 'name' => env('MAIL_FROM_NAME', 'Lelong'),
// ],
/*
|--------------------------------------------------------------------------
| Markdown Mail Settings
|--------------------------------------------------------------------------
|
| If you are using Markdown based email rendering, you may configure your
| theme and component paths here, allowing you to customize the design
| of the emails. Or, you may simply stick with the Laravel defaults!
|
*/
/*
|--------------------------------------------------------------------------
| Markdown Mail Settings
|--------------------------------------------------------------------------
|
| If you are using Markdown based email rendering, you may configure your
| theme and component paths here, allowing you to customize the design
| of the emails. Or, you may simply stick with the Laravel defaults!
|
*/
// 'markdown' => [
// 'theme' => 'default',
// 'markdown' => [
// 'theme' => 'default',
// 'paths' => [
// resource_path('views/vendor/mail'),
// ],
// ],
// 'paths' => [
// resource_path('views/vendor/mail'),
// ],
// ],
// ];
+2 -2
View File
@@ -75,8 +75,8 @@ return [
/*
* Change this if you want to name the related pivots other than defaults
*/
'role_pivot_key' => null, //default 'role_id',
'permission_pivot_key' => null, //default 'permission_id',
'role_pivot_key' => null, // default 'role_id',
'permission_pivot_key' => null, // default 'permission_id',
/*
* Change this if you want to name the related model primary key other than
+1 -1
View File
@@ -66,7 +66,7 @@ return [
'driver' => 'redis',
'connection' => 'default',
'queue' => env('REDIS_QUEUE', 'default'),
'retry_after' => 90,
'retry_after' => 700,
'block_for' => null,
'after_commit' => false,
],
+1 -1
View File
@@ -30,7 +30,7 @@ return [
|
*/
'expiration' => null,
'expiration' => 60 * 2, // 2 hours
/*
|--------------------------------------------------------------------------
+19
View File
@@ -0,0 +1,19 @@
<?php
return [
'whatsapp_cloud_enabled' => env('WHATSAPP_CLOUD_ENABLED', true),
'token' => env('WHATSAPP_TOKEN'),
'phone_number_id' => env('WHATSAPP_PHONE_NUMBER_ID'),
'api_version' => env('WHATSAPP_API_VERSION', 'v25.0'),
'template' => env('WHATSAPP_TEMPLATE', 'hello_world'),
'template_lang' => env('WHATSAPP_TEMPLATE_LANG', 'en_US'),
'jana_notis_template' => env('WHATSAPP_JANA_NOTIS_TEMPLATE', env('WHATSAPP_TEMPLATE', 'hello_world')),
'jana_notis_template_lang' => env('WHATSAPP_JANA_NOTIS_TEMPLATE_LANG', env('WHATSAPP_TEMPLATE_LANG', 'en_US')),
'pemenang_template' => env('WHATSAPP_PEMENANG_TEMPLATE', env('WHATSAPP_TEMPLATE', 'hello_world')),
'pemenang_template_lang' => env('WHATSAPP_PEMENANG_TEMPLATE_LANG', env('WHATSAPP_TEMPLATE_LANG', 'en_US')),
'verify_token' => env('WHATSAPP_VERIFY_TOKEN'),
'app_secret' => env('WHATSAPP_APP_SECRET'),
];