NethServer / dev

NethServer issue tracker
https://github.com/NethServer/dev/issues
63 stars 18 forks source link

Imapsync: cron files are not deleted #7036

Open stephdl opened 3 weeks ago

stephdl commented 3 weeks ago

When deleting a task, the cron files associated with imapsync are not automatically removed. Additionally, the current cron UI is not ideal, offering limited settings for scheduling synchronization times. A more flexible approach, such as implementing a slider or input box, would allow system administrators to configure synchronization times more easily.

Furthermore, we discovered that some users have modified the default synchronization settings in getmail, using values not originally available in its UI. Although these custom settings are successfully migrated to ns8-imapsync, the list-tasks feature fails to display the available tasks due to a strict JSON validator. As a result, while the tasks are still functional, the ns8-imapsync UI appears broken.

Steps to reproduce

After installing ns8-imapsync with the mail and account provider:

Expected behavior

I expect the task, along with all associated files required for its creation, to be fully removed.

Actual behavior

When a task is deleted, the task files are successfully removed, but the associated cron files remain. These cron files can still be found using the command: find /home/imapsync1 -iname *idOfTheTask.cron.

Additionally, the current UI for configuring cron settings is not user-friendly. The limited options make it difficult to customize sync times effectively. Introducing a slider or more intuitive input could significantly improve the user experience for configuring these settings.

Components ns8-imapsync 1.0.3

See also

https://community.nethserver.org/t/in-imapsync-it-fails-to-show-me-tasks/24572/8


thank Nick Sardelianos

stephdl commented 3 weeks ago

QA

test1

test 2

stephdl commented 3 weeks ago

help for the verification asked there to the community

stephdl commented 1 week ago

verification seems good

https://community.nethserver.org/t/in-imapsync-it-fails-to-show-me-tasks/24572/13