1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-24 11:16:22 +02:00
Commit Graph

378 Commits

Author SHA1 Message Date
camer0n
10ed5f8c95 Issue #5382 History/Revert changes. 2025-02-06 12:23:49 -08:00
camer0n
73d4e28040 Issue #5382 Database change logging for Admin-UI. More to come.. 2025-02-05 16:22:03 -08:00
camer0n
c51c2f3e77 Closes #5367 Custom sorting of admin-ui Filter and Batch drop-down menus. 2024-12-19 13:18:16 -08:00
camer0n
004da27010 Fixes #5177 Deletion issue in grid mode. 2024-02-05 13:59:52 -08:00
camer0n
af7eadb7aa Closes #5133 Admin-UI Search enhancements. Tests added. 2023-12-03 12:41:14 -08:00
camer0n
afd72ff7cb Closes #5112 New method setMetaTitle() 2023-11-22 12:18:23 -08:00
camer0n
720ea0c03d Fixes #5080 - Undefined constant. 2023-09-26 14:12:55 -07:00
Jimako
724ee1be06 fix for type checkboxes and filtering #4474
FIX #4474
2023-07-28 20:29:29 +02:00
Cameron
b57a431855 Issue #4778 - Corrected calculation of date search period. 2023-02-27 09:48:35 -08:00
Cameron
ca32c2fbcc Issue #4906 - Added option for custom list button. 2022-11-07 13:05:18 -08:00
Cameron
9c99f98940 Fixes #4792 - safestr fields were not being included in search queries. 2022-06-12 11:56:39 -07:00
Cameron
6f34dc9f29 Issue #4778 - Additional date-filter options added. 2022-05-22 13:19:21 -07: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
0d8f3e9086 PHPDoc fixes and code optimization. 2021-12-03 14:58:33 -08:00
Cameron
171cac87b1 Admin-UI type=datestamp and batch=true was producing unexpected results in the batch filter. Now provides an option for setting the current date/time. 2021-09-23 12:37:30 -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
Nick Liu
7a04260b5f #4299: Wrap even more potentially undefined constants
In:
* Admin-UI
* Forums
2021-07-21 20:23:06 +02:00
Cameron
ebe9c8cf13 Precaution to avoid fatal error with some admin-ui configurations. Fontello preload code removed. (some cases may use FA instead) 2021-07-15 17:38:39 -07:00
Cameron
5735b93d30 Issue #4299 PHP8 error 2021-03-09 06:27:05 -08:00
Cameron
b4c33735d6 Closes #4380 - Moved submit button on language file editor modal. Removed some PHP errors. 2021-02-12 14:27:21 -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
142e6be28b Collapsed admin news menu icon experiment. (modern-dark admin style/skin) 2021-02-01 09:32:12 -08:00
Cameron
0610dad19a Fix for missing menus on some admin pages. 2021-01-29 11:03:04 -08:00
Cameron
a6e341274e Admin template clean up. 2 new admin styles added. (to be improved). Left admin panel collapse improved. (still needs a cookie to 'stick' . 2021-01-29 09:27:38 -08:00
Cameron
dfddca2e24 Added Media-Manager loading indicator. Use deftrue() for checking admin area in form handler. 2021-01-25 09:35:08 -08:00
Cameron
a99300aed5 admin_icons_template.php reformatted to v2 standards. 2021-01-24 10:44:30 -08:00
Cameron
0846285277 Admin-ui: Spinning indicator during search/filter. 2021-01-24 07:15:46 -08:00
Cameron
08e0b26874 Removed 'log' plugin from repo. Now found at https://github.com/e107inc/log 2021-01-24 06:47:48 -08:00
Cameron
ab75f150f8 PHP8 Fixes. Renamed 'search' class (in search.php) to 'search_front' to avoid conflicts. 2021-01-20 12:07:29 -08:00
Cameron
e6ceafd496 Fixes #4334 - Ajax ordering on Extended User fields. 2021-01-01 07:38:24 -08:00
Cameron
21e3c3f8ab PHP warning fixes. 2020-12-29 09:48:36 -08:00
Cameron
76d72b1c08 Admin-UI: Code cleanup/optimization 2020-12-23 16:01:20 -08:00
Cameron
450e392741 Issue #3291 gSitemap table changes. Generic handling of link updates via e_gsitemap.php 2020-12-23 15:03:31 -08:00
Cameron
601df26d51 Code optimization for speed and reduced memory usage. 2020-12-20 11:50:10 -08:00
Cameron
1d080e4f9d Issue #3291 Trigger gsitemap event on admin_ui_update .
New universal adminUI events added: admin_ui_create, admin_ui_created, admin_ui_update, admin_ui_updated, admin_ui_delete, admin_ui_deleted. Event data now includes the table that was modified and the configured admin-ui $pluginName
2020-12-11 08:57:19 -08:00
Cameron
4a30f88f2c check_class() code optimization 2020-12-10 18:02:28 -08:00
Cameron
afaac88003 PHP8 Compatibility and code cleanup. 2020-12-08 12:21:12 -08:00
Cameron
80f0899771 Fix for Table alias detection failure when using more than 1 alias character. 2020-10-01 18:34:54 -07:00
Cameron
77baec4f06 Corrected typo on pre/postFilterMarkup 2020-08-14 10:20:09 -07:00
Cameron
450b35f017 Removed redundant closing tags. 2020-06-05 11:34:17 -07:00
Cameron
08260e8f6a Fixes #4183 - inline editing was not triggering events. 2020-06-01 12:34:20 -07:00
Cameron
4a25bcd414 Admin-UI: Fixed #3936 - Boolean 'invert' was failing with a fatal error in PHP7. 2020-05-15 11:31:22 -07:00
Cameron
19aaffcbcc Fixes #4121 User Column preferences were being ignored when using ajax filtering. 2020-04-11 11:28:26 -07:00
Cameron
9d383566fe Admin-UI: Unchecking all the display columns options and saving now clears the user preference and restores the coded default value found in $fieldpref 2020-04-10 08:25:33 -07:00
Cameron
428ca4ad0b Additional date filter options added for 3/6/9 months 2020-03-28 14:30:28 -07:00
Cameron
3f415f70c1 Admin-UI: Log Query, Page and Observer Methods to e_LOG when in debug mode. 2020-03-27 14:06:44 -07:00
Cameron
b431e6796c Admin-UI:Form Handler - renderTableRow() now calls a new method: renderTableCells() to generate the table cells. 2020-03-19 14:51:38 -07:00
Cameron
eb96f14fe9 Admin-UI: Added an automatic fallback. When the user does not have access to the default route the dispatcher will now look for the first available access route and display it as the default. Also, renamed checkRouteAccess() to hasRouteAccess() and renamed checkModeAccess() to hasModeAccess(). 2020-03-11 17:04:51 -07:00
Cameron
80a6655af9 Moved automatic adding of record-number to the page-title into EditObserver() method for easy overriding. 2020-03-11 14:52:34 -07:00