1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 18:47:54 +01:00

222 Commits

Author SHA1 Message Date
Cameron
c064dcb4f0 Fixes #4621 - "Members" missing from pref dropdown. 2021-12-02 08:56:11 -08:00
Cameron
0171ab4e84 Library path fix. 2021-11-26 12:43:23 -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
d8f9a96dea Issue #4520 Possible fix for session duration. (testing needed) 2021-06-18 09:44:26 -07:00
Cameron
e5ff5f53c8 Issue #550 - Expanded filetypes.xml display in admin preferences area to include Admin and Main admin perms. Additional defaults for admin and mainadmin added to filetypes.xml during installation. 2021-04-21 16:48:04 -07:00
Cameron
5b9ecd2200 Issue #4372 Extra fields. 2021-02-16 09:22:12 -08:00
Cameron
c94b1867a3 Issue #4372 - Enhancement: Contact page info. Requires database update. 2021-02-15 10:58:49 -08:00
Cameron
aee77a102f Set profanity list limit to 1000. (Could reduce performance)
Fix for comment template. Prevent secureImage from buffering too many keys.
2021-02-14 07:02:09 -08: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
82fbeab43c Tool-tip placement options added to admin prefs. (Applies to Admin-ui areas only)
Admin styling tweaks.
2021-02-03 20:38:31 -08:00
Cameron
49b8a9690d Issue #4020 2 new prefs added. Allow default collapsing of side-bar and enable/disable labels on nav-bar.
Icon cleanup and will now try to guess the right icon based on mode/action. Styling fixes. Removed unused admin stylesheets from bootstrap3.
2021-02-03 11:46:32 -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
402d1f4126 Closes #1801 Code cleanup. Deprecated method errors added. 2020-12-22 14:48:28 -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
2f780fca69 e107 now loads 5x - 8x faster. Debug info now has consistent styling across themes. 2020-12-19 09:01:17 -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
d516986c8a Session Save Method set to 'db' as default. 2020-07-02 12:11:50 -07:00
Cameron
7439d599f8 Issue #4176 - Incremental introduction of database sessions - Experimental (work in progress) 2020-06-02 13:43:21 -07:00
Cameron
5dc45298f6 Issue #3559, Fixes #3589, Issue #2982, Issue #2927 Replace all glyphicons with FontAwesome. 2019-02-22 14:56:47 -08:00
Achim Ennenbach
a7dca60d78 fixes #3639: Added description to GDPR prefs
Added check in shortcode to disable the GDPR message in case the prefs are empty
2019-01-23 19:32:34 +01:00
Gábor
cce3a7c98c
Update prefs.php
Removed duplication lang codes.
2018-09-13 10:33:28 +02:00
Cameron
b09beceb4e
Merge pull request #3404 from SimSync/fix_3375
Fixes #3375 Added GDPR Agreement checkbox to contact form (incl. Lans)
2018-09-03 12:09:26 -07:00
Achim Ennenbach
72897dcc17 Added new pref section GPDR and moved the "privacy policy" pref to this section
Added another pref for "terms and conditions"
2018-08-28 12:28:41 +02:00
Achim Ennenbach
c165fad9f0 Added new pref for a privacy policy url in contact forms (incl. Lans) 2018-08-27 20:11:55 +02:00
Cameron
f958f66dcb Issue #2669 Incorrect FB og:image used. Issue #6 LAN modified. 2018-08-26 13:54:25 -07:00
Cameron
1f69d7cd0a Fix for file_size_decode() in PHP7. 2018-08-20 13:41:21 -07:00
Achim Ennenbach
8fea5fa53e Fixed typo in prefs.php, which resulted in an empty pref post_scripts
Added check&update for pref post_scripts in 2.1.8 update routine
2018-07-13 22:45:41 +02:00
Achim Ennenbach
c355d9c25f Fixes #2913 Applied the same visual appearance as in admin/comment.php 2018-07-12 21:17:01 +02:00
Achim Ennenbach
8c0fee4cb1 Limited allowed userclasses for 'post_script' to a smaller group:
No One, (Main-) Admins, Mods and custom groups
Added a check on opening of the prefs page to make sure, that the set
value is only one of the allowed classes. Otherwise, class "No One" will
be set and saved.
Replaced deprecated function calls with their successor...
2018-07-11 15:54:51 +02:00
Tijn Kuyper
20f35e6186
#3053 - Wrong pref for comment sorting 2018-06-25 14:26:50 +02:00
Cameron
bf9cf05b0e Renamed date handler to e_date. BC support added. 2018-05-11 14:58:04 -07:00
Cameron
43f2a70b40 Issue #6 Missing System-log LANs. Preferences page Menu caption fix. 2017-11-16 20:18:11 -08:00
Cameron
15b075b6af Issue #2846 2017-11-06 22:29:19 -08:00
Cameron
a6e2402635 Fixes #2716 - Increase profanity filter limit to 40 words. Corrected styling. 2017-07-13 11:59:51 -07:00
Gábor
db24e26578 Update prefs.php 2017-04-30 15:20:39 +02:00
Cameron
329095336e Fixes #1984 Disable CHAP when SSL is enabled or encryption method is not legacy MD5 2017-03-21 12:29:05 -07:00
Cameron
4ba577e37d Issue #2407, #2474 Remove SSL pref confusion. 2017-03-13 11:22:52 -07:00
Cameron
7a3e3d9fc7 Token fixes. 2017-03-02 12:51:03 -08:00
Cameron
a58c83acc9 Merge pull request #2371 from yesszus/patch-5
Update admin_shortcodes.php
2017-02-13 07:47:45 -08:00
Cameron
8152f6265d Upload LAN modification and switch change. 2017-02-10 09:41:22 -08:00
Gábor
048dc9ec9b Update prefs.php 2017-02-03 12:24:59 +01:00
Gábor
cc47a7ad5b Update prefs.php 2017-02-03 07:05:20 +01:00
Cameron
5d94c192b6 Styling fixes. 2017-01-31 16:39:00 -08:00
Lóna Lore
a6ccf0199c Fix for prefs page in debug mode. 2017-01-29 18:24:38 +01:00
lonalore
b0a48418d8 Auto-prepend "cdn." (when available and CDN is On). Autoload "unminified" version (if available) when debug mode is On. 2017-01-27 11:51:28 +01:00