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

52 Commits

Author SHA1 Message Date
Cameron
bdcdf5cf27 Fixes #4933 - Cron Last-Run value missing. 2022-12-31 10:12:14 -08:00
Cameron
55980a29a8 Generated PHPDoc for all classes in e107_handlers where one was missing. toNumber() updated to always return int or float. 2022-04-04 10:54:24 -07: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
522d71d243 Reduced some memory usage. 2021-01-24 17:00:02 -08:00
Cameron
b19f9ffbc3 Frontend scripts tests. (may break some things) 2021-01-19 18:52:56 -08:00
Cameron
601df26d51 Code optimization for speed and reduced memory usage. 2020-12-20 11:50:10 -08:00
Cameron
f5153bf640 Updating of deprecated method usage. Removal of old files. Log tests added. 2020-12-18 09:39:02 -08:00
Cameron
3a78603ebd Header now loads link tags sooner. (excluding css)
Clear js/css/browser/library cache automatically after git update.
2020-12-03 11:00:53 -08:00
Cameron
38cdc473fb Removed redundant PHP tags from LAN files. 2020-08-11 09:36:21 -07:00
Cameron
0f02e9a9a2 Removed some PHP notices occurring in CLI mode. 2020-08-10 18:13:59 -07:00
Cameron
94b9f59e62 Remove .github folder after git pull. 2020-04-01 10:22:03 -07:00
Cameron
f4b4ba61d5 Clear system cache after running Git pull or sync. 2020-03-26 11:53:37 -07:00
Nick Liu
2a69227135
Exclude Composer files in GitHub sync for e107 v2 2020-02-17 10:38:47 +01:00
Cameron
8270c5cf42 Remove tests folder when doing a core github pull, unless developer mode is active. 2019-12-29 12:45:35 -08:00
Gábor
3bf6b7d32a
Update cron_class.php 2019-06-12 06:31:06 +02:00
Cameron
2337f8e678 Support for automated git sync with a theme repo. 2019-06-11 10:09:41 -07:00
Cameron
a661a75fa6 Fix for LAN issue in Schedule log. 2019-02-04 10:56:43 -08:00
Cameron
a8c39dc2b4 Schedule/Crons - updated system backup cron to use new mysql dump class's gzip option. 2019-01-28 18:49:17 -08:00
Gábor
5d78dedf88
Update cron_class.php 2018-07-25 10:32:03 +02:00
lonalore
4472766959 Refactoring for Cron Sheduler. 2017-07-21 08:31:50 +02:00
Cameron
38dae889e2 Cache Fixes. Core update-check fixed. Core-update via Scheduled Task fixed. 2016-12-22 17:59:29 -08:00
Cameron
6ef0868077 Git updates for plugins and themes when available. 2016-06-02 19:20:58 -07:00
Cameron
2c50a06517 Deprecated Function cleanup and PHP Notice removal. 2016-02-15 00:56:08 -08:00
Cameron
4e8412b16c Issue #1287 - PHP7 and SSL fixes. 2016-02-14 19:00:12 -08:00
Cameron
706e79af1f Cron Test email function updated to use new mailing method. 2016-02-07 23:35:38 -08:00
Cameron
e28997f420 Fixes for user audit log and rolling log. Removed some debug information from logs. Corrected bounce-handler line-ending encoding (could cause the following PHP error "Error in argument 1, char 3: option not found ") 2015-05-21 12:37:44 -07:00
Cameron
0a8e57863e Fixes for resend activation email. (frontend). Resend to all (backend). Fixes broken link to "resend activation" in login error messages. 2015-05-18 11:49:32 -07:00
Cameron
cc76f8e75e Check for custom-git path in e107_config.php (define('e_GIT', 'path-to-git'); ) May solve "sh: git command not found" errors. 2015-04-10 14:29:03 -07:00
Cameron
ef9bbf25f0 Correct admin navigation menu highlighting. 2015-04-08 10:35:59 -07:00
Cameron
b6dfef6b62 Scheduled Tasks: Database Backup now zips up the .sql file. 2015-04-06 13:59:15 -07:00
Cameron
9a21cad851 Code cleanup / globals removal etc. 2015-02-15 16:07:27 -08:00
Cameron
38ff75d27e Corrected email 'pause' timing on mailout cron job. 2014-10-27 20:33:35 -07:00
Cameron
96926fe0ad Correct file perms after git update. 2014-10-23 20:02:01 -07:00
Cameron
2106c37896 Reset git repo before pull. 2014-06-27 23:18:31 -07:00
Cameron
823393d56d Remove install.php after Git repo pull. 2014-05-24 20:56:32 -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
Jesse
a09404d472 This is a test.
File Changed: cron_class.php
2013-05-08 19:08:02 -04:00
Cameron
5436e861f5 Shortcode fixes and introduction of new format. {SC: get-string} eg. {MYSHORTCODE:w=100&h=50}
This is returned to the shortcode as an array('w'=>100, 'h'=>50);  Use {SETIMAGE:w=100} to set the default thumbnail width.
2013-03-11 05:11:58 -07:00
CaMer0n
cc3ede95be DB-Backup Quick memory-issue fix. 2012-07-31 08:24:21 +00:00
CaMer0n
25d7cb258d Work on override class and multi-site support. 2012-06-08 06:03:07 +00:00
CaMer0n
3b387741fd Basic implementation of a system DB backup cron added. Needs testing. 2012-06-03 09:47:00 +00:00
e107steved
6f61a7f889 Add banlist retrigger handling 2011-12-30 16:09:10 +00:00
secretr
4fecfffddd svn keywords added (v0.8) 2010-02-10 18:18:01 +00:00
CaMer0n
2ae50931ea System Crons were failing. Working again. 2009-12-24 09:59:21 +00:00
e107steved
5d3aaaa541 More mailer stuff - bug fixes, cron-driven bounce handling, timed send, notify on run complete 2009-11-27 21:42:46 +00:00
e107steved
24b8dfd54f First cut of updated bulk mail handling, including support for provision of email addresses by plugins. Still very much a work in progress, but should send some sort of email if treated nicely. 2009-11-15 17:38:05 +00:00
CaMer0n
b70c627f96 Cron "Run Now" is now functional. 2009-10-24 12:01:24 +00:00