Code Monkey home page Code Monkey logo

freescout-calendar-module's Issues

I don't understand what the LOCK icon does

Hi,
I don't understand what the LOCK icon does. in the CSS, it's flagged as <<"tui-full-calendar-ic-private">> and in the code I found <<'isPrivate' => $this->is_private >>. but testing it, I don't realize the differences...
I tried with a logged-in user and a guest one (calling directly HTTP:\freescoutinstallation.COM\calendar).

What am I missing?

Thanks

guest user can delete calendar item

Hi,
Just found that an unlogged user can delete calendar items.
To recreate:

  1. as a logged user, create a calendar item
  2. as an guest user, go to HTTPS:\freescoutinstlalation\calendar
  3. open the previously created item
  4. click on delete

thanks

Can't add events. No error shown.

Using Freescout 1.8.119. Calendar module 1.3.17.

When I try adding an event, nothing happens. No error is shown. Nothing appears in web-server.log when I click Save. Where else can I look for the cause of this problem?

Module is in /var/www/html/Modules/LJPcCalendarModule

After unzipping it, I also ran "chown -R www-data:www-data /var/www/html/Modules/LJPcCalendarModule". Was that correct? Then I activated the module. Anything else I need to do?

How to install?

Hi,

thank you for this module.

I upload into modules folder and unzip. But it is not shown in freescout under manage > modules, so it can't be activated.

I'm quite sure, it is no problem of your module, either of freescout or my config, but maybe you can help me?

Kind regards,
Ole

calendar access control

Hi, is there a way to attach a calendar to a mailbox? If I wanted to create departmental accounts, with user permissions on the Freescout mailboxes, I can make sure that the users of the "Administration and Finance" mailbox do not see the "Logistics" mailbox and vice versa, but the calendars are visible to anyone who enters . It would be useful if, in the module settings, you could assign the calendar to the mailbox, or disable the module for certain users, for example making it visible only to administrators and not to operators.
Is such a configuration possible?
Thank you

(v1.3.5) Cannot read properties of undefined (reading 'color')

calendar-app.js:209 Uncaught TypeError: Cannot read properties of undefined (reading 'color')
at beforeCreateSchedule (calendar-app.js:209:33)
at r.invoke (tui-code-snippet.min.js:7:17459)
at r.fire (tui-code-snippet.min.js:7:17262)
at S._onBeforeCreate (tui-calendar.min.js:7:79670)
at r.invoke (tui-code-snippet.min.js:7:17459)
at r.fire (tui-code-snippet.min.js:7:17262)
at D (tui-calendar.min.js:9:28858)
at r.invoke (tui-code-snippet.min.js:7:17459)
at r.fire (tui-code-snippet.min.js:7:17262)
at f._onClickCreateSchedule (tui-calendar.min.js:7:61164)
Screenshot_1

calendar module is not authenticated

Maybe this is by design but the /calendar endpoint is not authenticated. Anyone can view, add and edit calendar entries with just the URL of a freescout instance running this module.

calendar card doesn't diplay under dasboard

Bonjour,

J'ai un soucis au niveau de l'affichage du calendrier sur la dashboard en carte. Au chargement, il se charge puis disparais.
Je ne sais oĆ¹ regarder pourriez vous m'aiguiller svp?

Merci Beaucoup.

Cdlt,

Daylight Savings Bug

Hello,

When creating a new item, Its putting it the database an hour before the time i specified.
Ie. I set an item for 12pm, and after a few seconds it changes it to 11am.
So when creating an all day item, it gets placed on the day before.
I assume this is due to daylight savings?
My timezone is Sydney GMT +10 but with daylight savings its technically +11

Calender items lock themself

Hello Lars, as you requested the key data to my problem.

I host my FreeScout in the german version over Kualo and have intiated your module via the file manager on my pristine system (no other modules et cetera, i only created some users and mailboxes with tickets to test FreeScout):
grafik

After the activation I made 3 calenders (Events, Vacation, Holidays), and wanted to create one new item on day x with x minutes duration:
grafik

Then i can keep editing it for 10 seconds, after those 10 seconds it changes to "all day" and can't edit or delete it.
grafik

This probleme occurs with every user in every appointment calendar.

limit visibility of calendars

We use the Calendar module and would like of our agents to view just their own and a general one.
It seems that currently, the calendars are all visible to all users.
Please create an access right for every calendar in the calendar section.

Problem with module activation

Hey, I tried to install the latest version of the module, according to the instructions, on my server. I am using Freescout on Docker.
I added the module to the Modules folder. The plugin correctly appeared in the Modules tab in the management panel.
I clicked Activate after which Freescout crashed.

Currently I am getting this error:

[2024-07-04 23:18:22] production.ERROR: Class "Modules\LJPcCalendarModule\Providers\LJPcCalendarModuleServiceProvider" not found {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Class "Modules\LJPcCalendarModule\Providers\LJPcCalendarModuleServiceProvider" not found at /www/html/overrides/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:279)
[stacktrace]
#0 /www/html/overrides/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(189): Illuminate\Foundation\ProviderRepository->createProvider('Modules\\LJPcCal...')
#1 /www/html/overrides/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(70): Illuminate\Foundation\ProviderRepository->compileManifest(Array)
#2 /www/html/vendor/nwidart/laravel-modules/src/Laravel/Module.php(27): Illuminate\Foundation\ProviderRepository->load(Array)
#3 /www/html/overrides/nwidart/laravel-modules/src/Module.php(279): Nwidart\Modules\Laravel\Module->registerProviders()
#4 /www/html/overrides/nwidart/laravel-modules/src/Repository.php(366): Nwidart\Modules\Module->register()
#5 /www/html/vendor/nwidart/laravel-modules/src/Providers/BootstrapServiceProvider.php(22): Nwidart\Modules\Repository->register()
#6 /www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(586): Nwidart\Modules\Providers\BootstrapServiceProvider->register()
#7 /www/html/vendor/nwidart/laravel-modules/src/ModulesServiceProvider.php(38): Illuminate\Foundation\Application->register(Object(Nwidart\Modules\Providers\BootstrapServiceProvider))
#8 /www/html/vendor/nwidart/laravel-modules/src/LaravelModulesServiceProvider.php(15): Nwidart\Modules\ModulesServiceProvider->registerModules()
#9 [internal function]: Nwidart\Modules\LaravelModulesServiceProvider->boot()
#10 /www/html/overrides/laravel/framework/src/Illuminate/Container/BoundMethod.php(28): call_user_func_array(Array, Array)
#11 /www/html/overrides/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#12 /www/html/overrides/laravel/framework/src/Illuminate/Container/BoundMethod.php(27): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#13 /www/html/overrides/laravel/framework/src/Illuminate/Container/Container.php(549): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL)
#14 /www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(792): Illuminate\Container\Container->call(Array)
#15 /www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(775): Illuminate\Foundation\Application->bootProvider(Object(Nwidart\Modules\LaravelModulesServiceProvider))
#16 [internal function]: Illuminate\Foundation\Application->Illuminate\Foundation\{closure}(Object(Nwidart\Modules\LaravelModulesServiceProvider), 23)
#17 /www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(774): array_walk(Array, Object(Closure))
#18 /www/html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\Foundation\Application->boot()
#19 /www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(213): Illuminate\Foundation\Bootstrap\BootProviders->bootstrap(Object(Illuminate\Foundation\Application))
#20 /www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(162): Illuminate\Foundation\Application->bootstrapWith(Array)
#21 /www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(146): Illuminate\Foundation\Http\Kernel->bootstrap()
#22 /www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#23 /www/html/public/index.php(82): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#24 {main}
"}

Adding an Appointment from a Ticket

Since the update to Freescout version 1.8.103 and the update of the calendar module to version 1.3.15, adding an appointment from a ticket unfortunately does not work anymore.

module not working after FreeScout update

hi, this morning we applied the FreeScout 1.8.103 update, since then the LJPcCalendar module no longer shows anything, it doesn't draw the calendar, it doesn't show the list of available calendars.

There are no errors in the logs.

You can help us?

Unexpected data found in logs

Hi, I'm trying your module but something is wrong.
When I try to create an appointment in the calendar, it seems to work and I see the event, but if I refresh the page the event disappears, as if it can't write data.
If instead I take a ticket and try to create an event in the calendar, a modal popup appears warning that there is an error in the internet connection.

In the logs I see that there are laravel errors, which I report below.

On the internet it would seem to be a problem with the date format.

Could you help me?

Thank you

Unexpected data found.

Trailing data {"userId":2,"email":"[OMISSS]","exception":"[object] (InvalidArgumentException(code: 0): Unexpected data found.
Trailing data at /var/www/FreeScout/overrides/nesbot/carbon/src/Carbon/Carbon.php:912)
[stacktrace]
#0 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(715): Carbon\\Carbon::createFromFormat()
#1 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(738): Illuminate\\Database\\Eloquent\\Model->asDateTime()
#2 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(532): Illuminate\\Database\\Eloquent\\Model->fromDateTime()
#3 /var/www/FreeScout/overrides/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1389): Illuminate\\Database\\Eloquent\\Model->setAttribute()
#4 /var/www/FreeScout/Modules/LJPcCalendarModule/Http/Controllers/LJPcCalendarModuleController.php(153): Illuminate\\Database\\Eloquent\\Model->__set()
#5 /var/www/FreeScout/Modules/LJPcCalendarModule/Http/Controllers/LJPcCalendarModuleController.php(129): Modules\\LJPcCalendarModule\\Http\\Controllers\\LJPcCalendarModuleController->createItem()
#6 [internal function]: Modules\\LJPcCalendarModule\\Http\\Controllers\\LJPcCalendarModuleController->ajax()
#7 /var/www/FreeScout/overrides/laravel/framework/src/Illuminate/Routing/Controller.php(54): call_user_func_array()
#8 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction()
#9 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/Route.php(212): Illuminate\\Routing\\ControllerDispatcher->dispatch()
#10 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/Route.php(169): Illuminate\\Routing\\Route->runController()
#11 /var/www/FreeScout/overrides/laravel/framework/src/Illuminate/Routing/Router.php(658): Illuminate\\Routing\\Route->run()
#12 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()
#13 /var/www/FreeScout/app/Http/Middleware/CustomHandle.php(22): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}()
#14 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): App\\Http\\Middleware\\CustomHandle->handle()
#15 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#16 /var/www/FreeScout/app/Http/Middleware/LogoutIfDeleted.php(28): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}()
#17 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): App\\Http\\Middleware\\LogoutIfDeleted->handle()
#18 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#19 /var/www/FreeScout/app/Http/Middleware/Localize.php(27): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}()
#20 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): App\\Http\\Middleware\\Localize->handle()
#21 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#22 /var/www/FreeScout/app/Http/Middleware/HttpsRedirect.php(49): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}()
#23 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): App\\Http\\Middleware\\HttpsRedirect->handle()
#24 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#25 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(41): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}()
#26 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()
#27 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#28 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(67): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}()
#29 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle()
#30 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#31 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}()
#32 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle()
#33 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#34 /var/www/FreeScout/app/Http/Middleware/TokenAuth.php(31): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}()
#35 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): App\\Http\\Middleware\\TokenAuth->handle()
#36 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#37 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}()
#38 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\Session\\Middleware\\StartSession->handle()
#39 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#40 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}()
#41 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()
#42 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#43 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(59): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}()
#44 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()
#45 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#46 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}()
#47 /var/www/FreeScout/overrides/laravel/framework/src/Illuminate/Routing/Router.php(660): Illuminate\\Pipeline\\Pipeline->then()
#48 /var/www/FreeScout/overrides/laravel/framework/src/Illuminate/Routing/Router.php(635): Illuminate\\Routing\\Router->runRouteWithinStack()
#49 /var/www/FreeScout/overrides/laravel/framework/src/Illuminate/Routing/Router.php(601): Illuminate\\Routing\\Router->runRoute()
#50 /var/www/FreeScout/overrides/laravel/framework/src/Illuminate/Routing/Router.php(590): Illuminate\\Routing\\Router->dispatchToRoute()
#51 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176): Illuminate\\Routing\\Router->dispatch()
#52 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()
#53 /var/www/FreeScout/app/Http/Middleware/TerminateHandler.php(12): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}()
#54 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): App\\Http\\Middleware\\TerminateHandler->handle()
#55 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#56 /var/www/FreeScout/app/Http/Middleware/ResponseHeaders.php(11): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}()
#57 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): App\\Http\\Middleware\\ResponseHeaders->handle()
#58 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#59 /var/www/FreeScout/vendor/fideloper/proxy/src/TrustProxies.php(56): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}()
#60 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Fideloper\\Proxy\\TrustProxies->handle()
#61 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#62 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(30): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}()
#63 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#64 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#65 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(30): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}()
#66 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#67 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#68 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}()
#69 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle()
#70 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#71 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(46): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}()
#72 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle()
#73 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#74 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}()
#75 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151): Illuminate\\Pipeline\\Pipeline->then()
#76 /var/www/FreeScout/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#77 /var/www/FreeScout/public/index.php(83): Illuminate\\Foundation\\Http\\Kernel->handle()
#78 {main}
"}

Handling .ics files, nothing seems to happen.

Using Freescout 1.8.119, calendar 1.3.17.

I was hoping the module would be able to work with .ics files Freescout receives as attachments. Like when I receive one in Freescout, I could click on it and add it to my calendar.

It doesn't seem to do anything with them (see attached). Should it?

firefox_730.mp4

Additional screenshots and documentation

Congratulations on making a new extension and getting mentioned in the release notes!

Please add additional screenshots, documentation and/or a walkthrough Youtube video to explain more about how this works. This will help people decide if they want to be part of this project.

Specifically I was hoping to see:

  • What is the main entrypoint for getting to the calendar?
  • Can the calendar be viewed in different timezones?
  • Are calendars/calendar items created by one person viewable by other people?

Thank you!

Overlay of elements in the main page box

Hi, when a calendar item's subject is too long, the AM/PM indication goes down a row and is covered by the item's due date indication, as shown in the picture.

Immagine 2023-06-21 122547

is it possible to reduce the fonts of the object preview or take the 12/24H formatting from the system?

Thank you

No Calendar Events

It appears this module is designed to only use external calendars (not able to create a shareable calendar from within this module?)

When i create a Calendar in Google GMail and set it to shareable publicly, i then copy either the share link (no title created) or the ICS link, none of the vents from the calendar show up in the module calendar view. I am unsure how to troubleshoot this as there are no calendar logs present.

Also when i remove a link from the Module settings the shareable calendar links created by this module always remain. Is there a way to delete these?

calendar-list calendar-settings

Delete calendar items when the conversation is closed and/or provide a list.

We have a 'ping' calendar, which reminds us to ping customers. Follow up on quotes, renewals, issues or deadlines.

If the customer responds before the ping date, we often close the issue. We have no indication there is still a calendar appointment in the future set.

Can you consider either:

  • Adding the calendar entries in the sidebar or at top of the conversation.
  • automatically remove the item from the calendar when the conversation is closed (just like kanban does).

Thanks.

New install of latest version, table was not created

After installing the module I get:

[2023-05-24 11:34:09] production.ERROR: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'freescout.calendars' doesn't exist (SQL: select * from calendars) {"exception":"[object] (Illuminate\Database\QueryException(code: 42S02): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'freescout.calendars' doesn't exist (SQL: select * from calendars) at /www/ht[...]

the table can be created anyway with php artisan migrate

sudo -u nginx php artisan migrate
**************************************
*     Application In Production!     *
**************************************

 Do you really wish to run this command? (yes/no) [no]:
 > yes

Migrating: 2021_11_21_104200_create_calendars_table
Migrated:  2021_11_21_104200_create_calendars_table
Migrating: 2021_11_21_104500_create_calendar_items_table
Migrated:  2021_11_21_104500_create_calendar_items_table

Name when adding a conversation to the calendar.

In the code (Resources/views/partials/conversation_button.blade.php) I see:

<input required="required" type="text" class="form-control" id="calendar-item-title" value="{{$conversation->user? '[' . $conversation->user->getFullName() . '] ': ''}}{{$conversation->getSubject()}}">

Which I think means de FullName is only added when the conversation is assigned to a user.
I'm not sure why this is, can't you use the current user for this. If I add a conversation from another user to a calendar, it shows the name of the other user, while I'm the one adding it to the calendar.

Secondly, can we change getFullName() to getFirstName() or use initials from the user, to save some space maybe?

deleting calendars?

It's probably by design but deleting calendars (not calendar items) seems impossible, i can hide them by removing them from the list, but they still exist and their .ics can be downloaded.

Is there any way to cleanup unwanted calendars?

events move forward by an hour

Hi, despite having updated the module to version 1.3.17, when I create an appointment for 11/15/2023 which goes from 8AM to 7PM, 10 seconds after creation, the appointment in the calendar moves to an hour Before. If I open the appointment in edit, I see that it starts at 7AM and ends at 6PM.
Do you have any idea what it could be?

Thank you

Error on trying to access link

Hi,
I'm having trouble using the links to access the calendars.

I have this error in my logs.

DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated {"exception":"[object] (ErrorException(code: 0): DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated at /data/Modules/LJPcCalendarModule/External/ICalCreator/Util/DateTimeFactory.php:173)

Thanks in advance for your response.

Parse Errors coming up

Hello.
I am having an issue with the Calendar module.
All of the items have become locked and i cant work out why. Even when creating a new item, it displays for a second then becomes locked. (lock icon was unlocked when creating)

system logs show this:

Parse error: syntax error, unexpected '|', expecting ';' or '{' {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Parse error: syntax error, unexpected '|', expecting ';' or '{' at /home/wlwtnhgw/public_html/freescout/Modules/LJPcCalendarModule/External/ICalCreator/Vcalendar.php:192)
[stacktrace]
#0 [internal function]: Modules\LJPcCalendarModule\Http\Controllers\LJPcCalendarModuleController->{closure}('Vcalendar')
#1 /home/wlwtnhgw/public_html/freescout/Modules/LJPcCalendarModule/Http/Controllers/LJPcCalendarModuleController.php(90): spl_autoload_call('Kigkonsult\\Ical...')
#2 [internal function]: Modules\LJPcCalendarModule\Http\Controllers\LJPcCalendarModuleController->export('2')
#3 /home/wlwtnhgw/public_html/freescout/overrides/laravel/framework/src/Illuminate/Routing/Controller.php(54): call_user_func_array(Array, Array)
#4 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\Routing\Controller->callAction('export', Array)
#5 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Routing/Route.php(212): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Modules\LJPcCalendarModule\Http\Controllers\LJPcCalendarModuleController), 'export')
#6 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Routing/Route.php(169): Illuminate\Routing\Route->runController()
#7 /home/wlwtnhgw/public_html/freescout/overrides/laravel/framework/src/Illuminate/Routing/Router.php(658): Illuminate\Routing\Route->run()
#8 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30): Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#9 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#10 /home/wlwtnhgw/public_html/freescout/overrides/laravel/framework/src/Illuminate/Routing/Router.php(660): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#11 /home/wlwtnhgw/public_html/freescout/overrides/laravel/framework/src/Illuminate/Routing/Router.php(635): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#12 /home/wlwtnhgw/public_html/freescout/overrides/laravel/framework/src/Illuminate/Routing/Router.php(601): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))
#13 /home/wlwtnhgw/public_html/freescout/overrides/laravel/framework/src/Illuminate/Routing/Router.php(590): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#14 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#15 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#16 /home/wlwtnhgw/public_html/freescout/app/Http/Middleware/TerminateHandler.php(12): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#17 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): App\Http\Middleware\TerminateHandler->handle(Object(Illuminate\Http\Request), Object(Closure))
#18 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#19 /home/wlwtnhgw/public_html/freescout/app/Http/Middleware/ResponseHeaders.php(11): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#20 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): App\Http\Middleware\ResponseHeaders->handle(Object(Illuminate\Http\Request), Object(Closure))
#21 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#22 /home/wlwtnhgw/public_html/freescout/vendor/fideloper/proxy/src/TrustProxies.php(56): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#23 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Fideloper\Proxy\TrustProxies->handle(Object(Illuminate\Http\Request), Object(Closure))
#24 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#25 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(30): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#26 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#27 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#28 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(30): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#29 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#30 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#31 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#32 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(Object(Illuminate\Http\Request), Object(Closure))
#33 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#34 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(46): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#35 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149): Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
#36 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#37 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#38 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#39 /home/wlwtnhgw/public_html/freescout/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#40 /home/wlwtnhgw/public_html/freescout/public/index.php(83): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#41 {main}
"}

name for external calendars

Hi, is there a way to enter a name for external calendars?

when, in calendar management, I insert the link of an external calendar, such as national holidays, I cannot specify the name.
When I view the calendars, in the list of calendars on the left, I only see the colored dot relating to the holiday calendar.
Is there a syntax when entering the URL, to be able to give it a name?

image

image

thank you very much

Connecting calendar entries to tickets?

Hi there,

so far love the plugin! However, I think it would be cool to allow calendar events to be associated with tickets. E.g. to realize reminders for customer related activities (e.g. checking on an order at a later date, maintenance schedule commencing and ending etc.).

Cheers

Invalid Date - Invalid Date

Hello,

I'm utilizing a secret ICS link from Google Calendar to import schedules into Freescout. Seems that all of the entries show up as Invalid Date - Invalid Date, and end up showing every Monday forever.
Date Incorrect Screenshot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.