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

272 Commits

Author SHA1 Message Date
Cameron
3e52f29087
Merge pull request #4554 from Deltik/php-8.1
PHP 8.1 compatibility
2021-09-10 14:38:31 -07:00
Cameron
daf0008705 Added 'nolist' attribute to e_user.php settings() method for hiding fields within admin/users.php listing. 2021-09-06 12:13:18 -07: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
2bf5ee3909 Admin area tool tips simplified to a single location. Pref simplified to Enable/Disable. Fixed flip-switch 'e-expandit' failures in Admin > Prefs. 2021-02-12 12:19:58 -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
835e477147 Bootstrap 5 styling. (data-bs-toggle)
Signup shortcodes now automatically load the required template.
2021-01-26 15:08:58 -08:00
Cameron
04bbad449a Test admin scripts are parsing correctly. 2021-01-16 13:32:35 -08:00
Cameron
3f8e043998 Replaced e107::getAdminLog() with e107::getLog(). e107::getAdminLog() will continue as a deprecated alias. 2020-12-22 09:36:02 -08:00
Cameron
5b82c292b1 Code cleanup 2020-12-18 19:55:12 -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
42f0e902d4 Issue #4283 - Update deprecated sql method usage. Removed old code. 2020-12-17 05:52:54 -08:00
Cameron
44e260b121 Code cleanup and optimization 2020-12-14 16:21:48 -08:00
Cameron
afaac88003 PHP8 Compatibility and code cleanup. 2020-12-08 12:21:12 -08:00
Cameron
e4b5f062f1
Merge pull request #4065 from LaocheXe/master
Delete Account Option
2020-02-21 11:32:31 -08:00
Cameron
734b92c342 Fixes #4095 - Userclass selection was not being saved in "Quick Add User" due to modification for Issue #1728. Both issues now resolved. 2020-02-10 11:42:23 -08:00
LaocheXe
e01f1a4345 Delete Account Option
Delete Account Option added in admin  area. Also updated the default_install.xml to add missing core options.
2020-01-10 08:28:17 -06:00
Tijn Kuyper
8da010a070
#3969 - correct admin_user_delete event name
Should be admin_user_delete instead of admin_user_deleted
2019-10-09 11:20:23 +02:00
Tijn Kuyper
a29be0ec0e
#3969 - Add missing admin_user_deleted event trigger
testing required!
2019-10-09 10:52:12 +02:00
Cameron
5930e62c21 user batch export enabled. code cleanup. 2019-06-28 13:06:06 -07:00
Cameron
62863b4934 Issue #2146 PHP 7.3 class compatibility fix. More testing required. 2019-06-03 16:29:38 -07:00
Tijn Kuyper
184fd227cb
Fixes #1728 - Set default member class when editing user in admin 2019-05-06 10:58:14 +02:00
Deltik
1f824faa69
Renormalized all text file line endings 2019-03-29 19:13:32 -05:00
Tijn Kuyper
7aff9ff46f
Fixes #3746 - Typo caused fatal error in e107_admin/users.php 2019-03-26 16:57:07 +01:00
Cameron
ce5079b3c1 More cleanup 2019-03-19 15:45:36 -07:00
Cameron
164465e4dc Minor cleanup 2019-03-19 15:38:11 -07:00
Cameron
6c682dffae Issue #3232 Correct user search of extended fields. (set field 'data' to 'str')
Fixes #3677 Wrong message displayed.
2019-03-19 15:11:36 -07:00
Cameron
95d63cd166 Added debug info for Issue #3724 2019-03-19 12:15:23 -07:00
Cameron
1dbc90143f Case cleanup toHtml() should be toHTML() 2019-02-26 12:22:36 -08:00
Tijn Kuyper
2e9c16db99
#3694 - Typo 'perms' to 'perm' to properly check permissions 2019-02-26 14:44:13 +01:00
Cameron
5dc45298f6 Issue #3559, Fixes #3589, Issue #2982, Issue #2927 Replace all glyphicons with FontAwesome. 2019-02-22 14:56:47 -08:00
Cameron
50d86c5962 Fixes #3544 - Extended User field sorting issue. 2018-11-25 13:00:53 -08:00
Tijn Kuyper
5225b129c4
Fixes #3397 - Typo caused PHP fatal error 2018-08-23 21:20:50 +02:00
Achim Ennenbach
cf9c222879 fixes #3285 No rank images displayed in backend and on profile page 2018-07-19 17:08:55 +02:00
Cameron
bac96528fc Token fix. 2018-07-16 12:39:32 -07:00
Achim Ennenbach
a6c58f2293 Closes #2912 Typo prevents removing admin status from user 2018-07-15 12:34:19 +02:00
Cameron
ce244935c0 Issue #3175 Email confirmation and database update/delete processing added. Testing required. 2018-07-12 15:31:11 -07:00
Achim Ennenbach
bc7b801054 fixes #3126, fixes #3143 Backend used wrong field to hashword
Instead of user_loginname (as used in usersettings),
the backend used user_login and didn't escape the result.
This made the login impossible.
2018-07-03 12:24:57 +02:00
Cameron
aa53328ef0 Issue #2222 - User Ranks experimental admin area moved to stable. 2018-05-23 17:02:33 -07:00
Cameron
ed36008286 Non-standard arg_separator.output value fix. 2018-05-04 17:58:25 -07:00
Cameron
0bec81f6d7 Issue #3065 admin > users > search by IP failing to return records. 2018-03-08 16:21:51 -08:00
Cameron
0e340aa4af Closes #3005, Fixes: #2882 - password auto-fill issue. 2018-01-24 10:37:50 -08:00
Cameron
b40b1916a3 Issue #2970 btn-default > btn-default btn-secondary 2018-01-10 15:06:40 -08:00
Cameron
ecf22cb1ba Plugin perms render fix. 2017-12-02 11:57:27 -08:00
Cameron
5e4c172c2f Issue #2883 Permission fixes. 2017-12-01 17:00:02 -08:00
Cameron
7528a31ba9 Partial Fix #2862 2017-11-17 12:45:20 -08:00
Cameron
1063ffe543 Issue #2846 LAN vars cleanup 2017-11-06 17:32:00 -08:00
Cameron
70df3a3ae6 Issue #2846 LAN vars cleanup 2017-11-06 13:48:29 -08:00
Cameron
52f05cc3ed Issue #2846 lanVar Cleanup 2017-11-06 13:24:05 -08:00
Cameron
2c23bd6cd6 Quick View added to admin > users 2017-11-05 11:31:11 -08:00