1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-10 20:44:48 +02:00
Commit Graph

5330 Commits

Author SHA1 Message Date
Cameron
ae1ba7ba2d Fixes #2981 - Removed Image srcset conflicts. Improves rendering quality of fine-lined PNGs under some conditions. 2020-04-10 09:47:17 -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
65322ee132 Issue #3058 - Tweak to avoid conflict with other boolean fields. 2020-04-09 17:42:44 -07:00
Cameron
3730254b8a Admin-UI: Issue #3058 - Made true/false icons consistent regardless of whether inline editing is enabled or disabled. 2020-04-09 17:22:10 -07:00
Cameron
bd647b1514 Improved debugging info on social login update failure. 2020-04-09 10:03:42 -07:00
Cameron
94b9f59e62 Remove .github folder after git pull. 2020-04-01 10:22:03 -07:00
Nick Liu
a04db4e2c8 Hotfix: Don't fatal error if core_image.php is corrupt 2020-03-29 15:56:33 -05:00
Cameron
4e78b5e1ad Merge pull request #4114 from e107inc/build-release
Automated Release Builds
2020-03-28 15:30:04 -07:00
Cameron
fd6c9563bd datepicker() deprecated $option['type'] and added $option['mode'] as a replacement. Provides a workaround to a conflict involving a custom 'type' in the writeParms(). 2020-03-28 15:23:38 -07:00
Cameron
428ca4ad0b Additional date filter options added for 3/6/9 months 2020-03-28 14:30:28 -07:00
Nick Liu
07f5bebab5 Code cleanup for automated release builds
Low-hanging resolutions for Code Climate
2020-03-27 21:57:51 -05:00
Nick Liu
03dfb5cce3 Implemented insecure file check in File Inspector
Bugs fixed:

* Security failure status is now prioritized in
  file_inspector::getStatusForValidationCode()
* File Inspector list view now supports filters
2020-03-27 17:06:16 -05:00
Nick Liu
b4f55049f8 File Inspector now shows the old e107 version of core files
Bugfixes related to this change:

* e_file_inspector: During validation, the checksum is now calculated,
  even if the file is old.
* e_file_inspector_json: Strip the "v" from the beginning of version
  numbers in the database to make them proper PHP-standardized versions.
2020-03-27 17:06:16 -05:00
Nick Liu
00d171473e Validation bits improvement for e_file_inspector
Now File Inspector detects old files regardless of their hash value.
2020-03-27 17:06:15 -05:00
Nick Liu
6095c94de3 Minimum viable rewrite of File Inspector frontend 2020-03-27 17:06:14 -05:00
Nick Liu
6f6556178f e_file_inspector_json_phar: Smaller core image
e_file_inspector_json_phar is an extended implementation of
e_file_inspector_json that encapsulates a JSON core image into a
gzip-compressed phar.

This results in space savings of over 60% compared to plain JSON.
2020-03-27 17:06:14 -05:00
Nick Liu
b425b4e45d CoreImage: API rework 2020-03-27 17:06:14 -05:00
Nick Liu
76bb9f6ad8 Extra performance in e_file_inspector_json
Squeezed out more performance at the cost of memory usage
2020-03-27 17:06:13 -05:00
Nick Liu
b8ed70693f Restored JSON core image generator for performance
PDO SQLite was performing unacceptably poorly.
Let's just load the entire integrity image into RAM…
2020-03-27 17:06:13 -05:00
Nick Liu
90bdc88d55 Performance of e_file_inspector_sqlphar::pathToDefaultPath()
Optimized performance of e_file_inspector_sqlphar::pathToDefaultPath()
by eliminating expensive method calls
2020-03-27 17:06:13 -05:00
Nick Liu
e10c3230f4 Bugfixes and performance optimization for e_file_inspector
- MOD: e_file_inspector::validate() will no longer bother with
       checksumming a file if the database hash is not present for the
       requested version.
- MOD: Better check for e_file_inspector::VALIDATED_DETERMINABLE
- MOD: e_file_inspector::VALIDATED_UPTODATE will now pass if there is no
       checksum in the database and no calculable checksum in the real
       file.
- FIX: Better documentation for
       e_file_inspector_interface::VALIDATED_DETERMINABLE
- FIX: Use the same bit for e_file_inspector::VALIDATED for a full
       validation check in e_file_inspector::validate()
2020-03-27 17:06:12 -05:00
Nick Liu
bb1c32489c Add a version filter to e_file_inspector::getPathIterator() 2020-03-27 17:06:12 -05:00
Nick Liu
0494000356 Rewrote e_file_inspector validation constants
Now uses bit flags, as the previous approach of "overriding" the
validation code may hide information.  Previously,
e_file_inspector::VALIDATION_FAIL could be overridden by
e_file_inspector::VALIDATION_OLD.  Now, e_file_inspector::VALIDATED_HASH
and e_file_inspector::VALIDATED_UPTODATE provides information about
both.
2020-03-27 17:06:12 -05:00
Nick Liu
0e7ad8a1b0 Rewrite e_file_inspector implementation: Use SQLite phar 2020-03-27 17:06:11 -05:00
Deltik
20dbdefb77 Began work on the core_image.php reader 2020-03-27 17:06:10 -05: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
3173c9c173 Prevent e-modal conflict with other modals. (also supports data-modal-target attribute) 2020-03-26 15:30:09 -07:00
Cameron
f4b4ba61d5 Clear system cache after running Git pull or sync. 2020-03-26 11:53:37 -07:00
Cameron
a2faa04fdf Upgraded Bootstrap 3.3.7 to 3.4.1 2020-03-25 05:08:49 -07:00
Cameron
852ab5a32f Related to Issue #3741 - Incorrect encoding of a plugin language file could cause json encoding to fail. 2020-03-24 13:57:05 -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
3cfdab25e4 Admin-UI/Form Handler: Fix for auto-link generation failing in create/edit mode. 2020-03-13 18:03:51 -07:00
Cameron
5471a84746 Fixes #4111 Inconsistent results under some circumstances with e107::getDb()->retrieve(). Tests have been added to this commit. 2020-03-13 15:06:26 -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
Cameron
f23c2af8d4 Admin-UI: Allow 'search' field to be added even if 'filter' is false. 2020-03-10 11:14:59 -07:00
Cameron
17e9a34eb1 Admin-UI: Added optional 'search' attribute to fields. When true the field will be included in the "Search In Field" filter list. 2020-03-10 11:08:22 -07:00
Cameron
bd45d497d8 mediapicker() enhancements. Now accepts: resize, rename and convert $parms. See PHPDoc for details. 2020-03-09 17:30:29 -07:00
Cameron
a200d312d8 Added e107::getThumb() to get thumbnailer class. Added a test for it. Styling fix for admin-ui grid. 2020-03-09 13:41:00 -07:00
Cameron
0ef918eb59 Issue: #4097 Media Picker plugin path fix and edit button disable option. 2020-03-09 07:39:21 -07:00
Cameron
d805e5c4e9 Fixes #3461 - Removed duplicated type=hidden elements. Code Cleanup 2020-03-09 06:38:28 -07:00
Cameron
2a49e2a794 Moved renderCreateFieldset() table-row routine into new method renderCreateFieldRow(). Cleaned up other code for PHP validation. 2020-03-08 19:56:38 -07:00
Cameron
b4b649eeb6 Fixes #4079 - Corrected multiple event includes conflict. 2020-03-07 10:02:21 -08:00
Cameron
91d69898df Fix for e_form::name2id() when = and ? characters are detected is found. 2020-03-06 17:08:23 -08:00
Nick Liu
7c9df47e8e PHP bug 66773 workaround in Hybridauth
In PHP 7.0.12 and earlier, a class could not be loaded with the same
name as another class in a different namespace.  This commit patches the
Hybridauth dependency to avoid PHP bug 66773.  Unfortunately, the fix
will be rolled back any time Hybridauth is updated or overwritten.

PHP bug link: https://bugs.php.net/bug.php?id=66773
2020-03-06 18:15:04 -06:00
Deltik
94cf0cdea2 Adding Hybridauth 3.2.0 social login providers
Forgot to commit in a3d99f0d19
2020-03-06 18:14:24 -06:00
Cameron
8129d919c4 Issue #4079 - Code Cleanup. 2020-03-06 13:57:33 -08:00
Cameron
d6d178824c Admin-UI: $listGroup added for control of specific JOIN grouping when necessary. Example added to blank plugin. 2020-03-05 11:38:23 -08:00
Cameron
bb6fe3283b Fix for embedded image data causing mailing failure after upgrading PHPMailer. 2020-03-04 18:13:05 -08:00
Cameron
a3d99f0d19 HybridAuth update 2020-03-04 16:38:22 -08:00