-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleanup old cron stuff and make cron-warning.js part of build so it c…
…an be committed Signed-off-by: Devlin Junker <[email protected]>
- Loading branch information
1 parent
a240528
commit 7c5299d
Showing
4 changed files
with
19 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Send error to Vuex State for displaying in Vue Application | ||
window.store.commit('SET_ERROR', { | ||
toString: () => t('news', 'Ajax or webcron mode detected! Your feeds will not be updated!'), | ||
links: [{ | ||
url: 'https://docs.nextcloud.org/server/latest/admin_manual/configuration_server/background_jobs_configuration.html#cron', | ||
text: t('news', 'How to set up the operating system cron'), | ||
}, { | ||
url: 'https://github.com/nextcloud/news-updater', | ||
text: t('news', 'Install and set up a faster parallel updater that uses the News app\'s update API'), | ||
}], | ||
}) |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php if ($_['warnings']['improperlyConfiguredCron']) { | ||
|
||
script('news', 'test') | ||
script('news', 'nextcloud-news-cron-warning') | ||
?> | ||
<div></div> | ||
<?php }; ?> |
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