diff --git a/src/bb-library/Box/Update.php b/src/bb-library/Box/Update.php
index 0c6fac346..4fc188ebd 100644
--- a/src/bb-library/Box/Update.php
+++ b/src/bb-library/Box/Update.php
@@ -59,7 +59,8 @@ class Box_Update
public function getLatestReleaseNotes()
{
if($this->getUpdateBranch() === "preview"){
- return "Release notes are not available for preview builds. You can check the latest changes on our [Github](https://github.com/FOSSBilling/FOSSBilling/commits/main)";
+ $compareLink = 'https://github.com/FOSSBilling/FOSSBilling/compare/' . $this->getLatestVersion() . '...main';
+ return "Release notes are not available for preview builds. You can check the latest changes on our [Github]($compareLink)";
}
$response = $this->_getLatestVersionInfo();
diff --git a/src/bb-modules/System/Service.php b/src/bb-modules/System/Service.php
index 12e1a6cfc..36fb24ca0 100644
--- a/src/bb-modules/System/Service.php
+++ b/src/bb-modules/System/Service.php
@@ -247,14 +247,14 @@ class Service
$disableAutoCron = $this->di['config']['disable_auto_cron'] ?? false;
if (false === $runFromTest && false === $disableAutoCron) {
if (!$last_exec) {
- $msgs['info'][] = 'Cron was never executed. FOSSBilling will automatically execute cron when you access the admin panel, but you should make sure you have setup cron the job.';
+ $msgs['info'][] = 'Cron was never executed. FOSSBilling will automatically execute cron when you access the admin panel, but you should make sure you have setup the cron job.';
$cronService = $this->di['mod_service']('cron');
- $cronService->runCrons($interval);
+ $cronService->runCrons();
} else {
$minSinceLastExec = (time() - strtotime($last_exec)) / 60;
if ($minSinceLastExec >= 15) {
$minSinceLastExec = round($minSinceLastExec, 2);
- $msgs['info'][] = 'Cron hasn\'t been executed in ' . $minSinceLastExec . ' minutes. FOSSBilling will automatically execute cron when you access the admin panel, but you should make sure you have setup cron the job.';
+ $msgs['info'][] = 'Cron hasn\'t been executed in ' . $minSinceLastExec . ' minutes. FOSSBilling will automatically execute cron when you access the admin panel, but you should make sure you have setup the cron job.';
$cronService = $this->di['mod_service']('cron');
$cronService->runCrons();
error_log("Cron hasn't been run in $minSinceLastExec minutes. Manually executing.");
diff --git a/src/bb-modules/Wysiwyg/assets/markitup/sets/default/set.js b/src/bb-modules/Wysiwyg/assets/markitup/sets/default/set.js
index b7fdf8182..fd3b3efce 100644
--- a/src/bb-modules/Wysiwyg/assets/markitup/sets/default/set.js
+++ b/src/bb-modules/Wysiwyg/assets/markitup/sets/default/set.js
@@ -9,22 +9,38 @@
// ----------------------------------------------------------------------------
// Basic set. Feel free to add more tags
// ----------------------------------------------------------------------------
-var mySettings = {
- onShiftEnter: {keepDefault:false, replaceWith:'
\n'},
- onCtrlEnter: {keepDefault:false, openWith:'\n
', closeWith:'
'}, - onTab: {keepDefault:false, replaceWith:' '}, - markupSet: [ - {name:'Bold', key:'B', openWith:'(!(|!|)!)', closeWith:'(!(|!|)!)' }, - {name:'Italic', key:'I', openWith:'(!(|!|)!)', closeWith:'(!(|!|)!)' }, - {name:'Stroke through', key:'S', openWith:'