1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

102 Commits

Author SHA1 Message Date
Cameron
d960829532 Issue #4918 - Undefined constants cleanup. 2022-12-10 07:06:47 -08:00
Cameron
9d6a9611e2 PHP 8.1 fixes. 2021-11-25 10:18:53 -08:00
Cameron
4aa66c1732 strftime() added to php_compatibility_handler.php and all references updated. README updated. dateAlternativeTest updated to pass on Windows. (TBD) 2021-11-25 08:51:32 -08:00
Nick Liu
20882920a0
Fix all PHP 8.1 test failures
* `strftime()` has been replaced with a polyfill based on `DateTime`.
* Explicit type casts/assertions added where required by PHP 8.1
* `filter_var(…, FILTER_SANITIZE_STRING)` replaced with `strip_tags()`
  or HTML entity encoding of quotation marks, depending on a guess of
  what the intended "sanitization" was
* `http_build_query()` usage type mismatches fixed
* Removed usages of the `FILE_TEXT` constant
* To avoid breaking PHP 5.6 compatibility (function return types),
  `e_session_db` no longer implements `SessionHandlerInterface`.
  Instead, the alternative non-OOP invocation of
  `session_set_save_handler()` is used instead to apply the session
  handler.
* The shim for `strptime()` still calls the native function if available
  but now suppresses the deprecation warning.

* `e_db_pdo` explicitly asks for `PDO::ATTR_STRINGIFY_FETCHES` to
  maintain consistent behavior with past versions of PHP.
* `e_db_mysql` explicitly sets `mysqli_report(MYSQLI_REPORT_OFF)` to
  maintain consistent behavior with past versions of PHP.

* Removed pointless random number generator seed from `banner` plugin
* Workaround for `COUNT(*)` SQL query in
  `validatorClass::dbValidateArray()` without a proper API for avoiding
  SQL injection
2021-09-04 15:06:19 +02:00
Cameron
2f8d880998 Only display help icon when help text is present. Cron/Schedule page styling tweak. 2021-02-05 12:57:08 -08:00
Cameron
5870fbdb84 "<div class='field-help'>" etc has been replaced by the $frm->help() method and is also used by the admin-ui. 2021-02-04 08:45:10 -08:00
Cameron
9890615761 Admin menu icons for collapsed menu. 2021-02-01 18:18:30 -08:00
Cameron
04bbad449a Test admin scripts are parsing correctly. 2021-01-16 13:32:35 -08:00
Cameron
7dfac0dcfa Issue #4299 - PHP8 compatibility fixes. 2020-12-25 10:23:56 -08:00
Cameron
d0823f1b50 Schedule task was failing when multiple tab items were selected/saved. 2020-08-12 13:24:50 -07:00
Cameron
a6a98a82ad Code cleanup. Incompatible plugin alert now links directly to uninstall page for each plugin found. 2020-06-26 13:58:59 -07:00
Cameron
2337f8e678 Support for automated git sync with a theme repo. 2019-06-11 10:09:41 -07:00
Deltik
1f824faa69
Renormalized all text file line endings 2019-03-29 19:13:32 -05:00
Cameron
1dbc90143f Case cleanup toHtml() should be toHTML() 2019-02-26 12:22:36 -08:00
Cameron
e885088830 Admin-UI: Schedule/Cron filtering was not functioning correctly. 2019-02-25 17:47:19 -08:00
Cameron
cc60ce0d68 Possible fix for cron descriptions containing single quotes not appearing in database correctly. 2018-11-07 16:32:19 -08:00
Cameron
544ff80f98 Issue #6 Cron LAN fix. 2017-04-12 16:57:47 -07:00
MikeyGMT
8dc9f1d006 More Duplicate LANS #6 in Submit News, Cron, Mailout
More Duplicate LANS #6 in Submit News, Cron, Mailout
2017-02-11 00:43:39 +00:00
Cameron
cdc23fb2d7 Admin-area navigation 2017-02-01 18:25:32 -08:00
Tijn Kuyper
347c9f9af0 Update methods to load LAN files in Admin Area
(fingers crossed there are no typo's...)
2017-01-17 01:33:03 +01:00
Cameron
e48dfd1cb9 Disable the option to delete system cron jobs. 2017-01-11 18:41:23 -08:00
MikeyGMT
9877a9eebe Text to LANS Schedule Tasks (Cron) #6 Added Help
Text to LANS Schedule Tasks (Cron) #6 Added Help

An administrator can automate tasks using e107 Schedule Tasks. [br]
In the Manage Tab, you can edit, delete and run tasks. [br]
When you edit a task you can set the minutes, hours, days, month or day
of the week you want the task to run. Use * to run for each period. Use
the Active property to Enabled the Task.[br]
Note: You are advised not to delete standard jobs.[br]
2016-12-29 16:15:25 +00:00
Lóna Lore
b060e79bea Issue #1962 - Ability to activate e_cron job automatically after plugin installation. 2016-11-01 08:49:24 +01:00
Cameron
ae85b7b4d1 Fixes #1535 - Error on User-profile in admin area. 2016-04-13 09:12:37 -07:00
Cameron
0655cb96fd PHP Notice Removal 2016-03-13 01:16:37 -08:00
Cameron
486f3d4961 Issue #1356 - PHP7 Fixes. 2016-02-14 12:15:55 -08:00
Cameron
7276be1aeb Fixes #1327 Cron Last Refresh value was being lost when cache was cleared. 2016-02-05 18:57:40 -08:00
Cameron
796f5fa95c Header location cleanup. From now, please use e107::redirect(); to redirect to the home page, or e107::redirect('admin'); to redirect to the admin start page or e107::redirect($url); 2016-01-13 19:18:12 -08:00
Cameron
d12eef2f07 Issue #1138 - Bootstrap3 theme mostly complete. 2015-07-16 01:17:21 -07:00
Cameron
c3d8cd9236 Issue #5 Language File Optimization. 2015-07-10 15:04:14 -07:00
Lóna Lore
59d3e1504d only use [x], [y], [z] replacement patterns 2015-05-07 10:57:40 +02:00
Lóna Lore
96f3332fb1 only use [x], [y], [z] replacement patterns 2015-05-07 10:55:44 +02:00
Lóna Lore
fe6e09d08d removed debug messages from LAN files 2015-05-07 10:44:11 +02:00
Lóna Lore
4b3062d0fa Issue #6: Remove and optimize (hardcoded) LANS 2015-05-02 09:55:47 +02:00
Lóna Lore
f48ca466e9 Issue #6: Remove and optimize (hardcoded) LANS 2015-05-01 12:46:46 +02:00
Cameron
6b9256c872 LAN File fixes. Hide comment status when comments are not enabled. etc. 2015-04-07 00:32:53 -07:00
Cameron
0dbb7cecdb Bounce-handling test option added. Correct path issue in perms notification. 2014-11-21 16:29:57 -08:00
Cameron
b6dac926f2 Modified cron command for compatibility with recent versions of cPanel/PHP (BC compatible) 2014-10-23 02:59:07 -07:00
Cameron
f428cc8041 Added cron/function for updating from github. (Available only if the e107 installation is a cloned repo) 2014-05-23 21:59:01 -07:00
jburns131
595efb141f Issues Addressed:
Created cron task that will check if there is a newer version of e107 available. If so, email site admin, create log entry and trigger message for site admin

Files altered:
e107_admin\cron.php
e107_handlers\cron_class.php
e107_languages\English\admin\lan_cron.php

Related to:
20cb65f539
2013-05-12 02:16:20 -04:00
Cameron
dc4b659c40 Closes #246 - broken cPanel link 2013-05-05 18:52:39 -07:00
Cameron
a5a13409d1 Styling fix 2013-04-29 21:45:45 -07:00
Cameron
8e8adcfff1 Improve display of cron-tabs on listing page. 2013-04-26 15:44:09 -07:00
Cameron
66eb7c1be7 Button styling updated to Bootstrap 'btn' 2013-04-26 13:48:23 -07:00
Cameron
46783f1f43 Admin cron help-file added. 2013-02-25 03:19:41 -08:00
Cameron
b6f45d838b Gui fixes. Restored cron pwd-generator button. 2013-02-23 05:17:03 -08:00
Cameron
5bcd54f179 Some language-file cleanup and title/breadcrumb corrections. 2013-02-22 21:34:06 -08:00
Tijn Kuyper
5290bb8ea4 More notice removal 2012-12-08 13:52:05 +01:00
Cameron
4a5d8a4a90 Detected a cPanel install and provide a link to it if crons not activated. 2012-12-05 02:11:46 -08:00
Cameron
d20af73bc5 Introduction of e_navigation class to handle all links site-wide. Large-scale cleanup of global admin links, plugin links etc. 2012-12-03 01:40:47 -08:00