1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 06:07:32 +02:00
Commit Graph

13695 Commits

Author SHA1 Message Date
Nick Liu
a4ad81dd4c Resolved e_db_mysql::db_Query() logging inconsistency
Logging change made in f34eeaf369 for e_db_pdo was not applied to e_db_mysql

This commit makes the behaviors consistent between the two implementations of e_db.
2019-12-23 17:08:01 +01:00
Nick Liu
9677db1c1c Removed bad e_LEGACY_MODE implementation
e_LEGACY_MODE caused the query results from e_db_pdo and e_db_mysql to return different styles (MYSQL_BOTH and MYSQL_ASSOC, respectively).

To resolve this inconsistency, e_LEGACY_MODE has been removed from the e107 core.
2019-12-23 16:50:33 +01:00
Nick Liu
71e7f8778c Merged e_db_mysql and e_db_pdo tests into e_db_abstractTest
- FIX: e_db::copyTable() is now an interface
- FIX: e_db_mysql now implements e_db
- FIX: Implemented missing e_db_mysql::copyTable() public method
- FIX: Implemented missing e_db_mysql::setLanguage() method
- FIX: Implemented missing e_db_mysql::getLanguage() method
- FIX: Implemented missing e_db_mysql::dropTable() method
- MOD: Merged e_db_mysqlTest and e_db_pdoTest into e_db_abstractTest
2019-12-23 16:37:48 +01:00
Nick Liu
2330f8a152 Removed hard-coded SQL database creation 2019-12-23 15:28:52 +01:00
Nick Liu
f38e6c1f6d Added a salt-ssh state to deploy an LXC dev env 2019-12-23 15:19:26 +01:00
Tijn Kuyper
fb727a0086 Closes #4046 - Add batch copy function to banner plugin 2019-12-16 17:58:48 +01:00
Tijn Kuyper
61fbc7f164 Fixes #4020 - Show menu link_text in bootstrap3 admin theme
Inadvertently got hidden when fixing #2578
2019-12-16 17:10:23 +01:00
Serios
a280ec029f Fixing an issue that with contact form sending unnecessary additional data
There is an option that dev can add additional fields to contact form, that are sent back. But GDPR field is send back too, also if using NoCaptcha ReCaptcha plugin, response token from Google is send back too.
2019-12-16 15:29:41 +02:00
Tijn Kuyper
4a0404d917 Minor fix in userclass description 2019-12-11 17:08:15 +01:00
Tijn Kuyper
b364043125 Added two userclasses, updated e_formTest and e_user_modelTest to reflect the changes
1. TestImage1 - with a FontAwesome icon
2. TestImage2 - with a png icon (TinyMCE plugin icon)

Added user to those userclasses.
2019-12-11 17:00:17 +01:00
Cameron
ef4f34d223 Fixes #4017 - "Bad File Detected" when uppercase extension used on image. 2019-12-10 11:35:08 -08:00
Gábor
cf9cf7b3c0 Update media_class.php 2019-12-09 10:14:59 +01:00
Gábor
5bf921fac3 Update lan_image.php 2019-12-09 10:10:26 +01:00
Cameron
3087826ee9 Fixes #4041 - SEF Generation confirmation 'cancel' option was being ignored. Also, confirmation will now only appear if the current sef is not empty. 2019-12-06 13:12:42 -08:00
Cameron
4bf21cbaa5 AdminUI: Fixes conflict between custom 'filter' dropdown and 'search' input. New method format added for custom search field processing independent of "Filter" processing. See handleListBanlistIpSearch() for an example. 2019-12-05 10:44:59 -08:00
Cameron
3b28884b56 Possible fixes. 2019-12-04 13:12:47 -06:00
Cameron
1ff3dd0f8d Fix for 'select' method - test validation. 2019-12-04 10:19:38 -08:00
Deltik
369142af55 Exclude tests in Code Climate 2019-12-04 11:03:29 -06:00
Deltik
4e7d76235c Removed GitLab CI 2019-12-03 23:09:28 -06:00
Deltik
5ef7777a33 Configure Codecov to comment in GitHub project 2019-12-03 22:56:32 -06:00
Tijn Kuyper
4f57c36442 #2225 - Added {USER_USERCLASS_ICON} shortcode
/**
	 * @example: {USER_USERCLASS_ICON} returns the icons of all userclasses the user belongs to, seperated by a whitespace
	 * @example: {USER_USERCLASS_ICON: amount=1} // returns only one icon
	 * @example: {USER_USERCLASS_ICON: seperator=|} // returns the icons seperated by |
	 * @param array $parm
	 * @return string
	*/
2019-12-03 15:15:21 +01:00
Tijn Kuyper
1142738397 user_shortcodes code clean-up (no functional changes)
Formatting, indentation, empty lines
2019-12-03 14:36:13 +01:00
Deltik
283d30f9c1 Added GitHub issue templates 2019-12-02 16:59:03 -06:00
Deltik
0e2f441c39 Added a GitHub pull request template
Based on: bfcb82cb54/.github/PULL_REQUEST_TEMPLATE.md
2019-12-02 16:51:49 -06:00
Cameron
972fa1a29c Fixed Multiselect dropdown so that an empty value also gets saved. 2019-12-02 14:18:25 -08:00
Cameron
5cf54d07d2 Basic per-item search engine robots handling added to News and Pages. 2019-12-02 13:32:21 -08:00
Deltik
d1657560b7 Moved CONTRIBUTING.md to ./.github/ 2019-12-02 14:50:11 -06:00
Tijn Kuyper
e1504b91c0 #4036 - Escape hyphen in regex for PHP 7.3 compatibility 2019-12-01 15:31:47 +01:00
Tijn Kuyper
2b9969d47e Fixes #4035 - {NEWSTITLE} fix PHP 7.3 compatibility 2019-12-01 15:17:40 +01:00
Deltik
8d60076054 Fail GitHub Actions build when any tests fail 2019-11-28 23:00:56 -06:00
Deltik
e8cc0fb462 Attempt to port from GitLab CI to GitHub Actions 2019-11-28 22:39:54 -06:00
Deltik
6e8c81e652 GitPreparer: Handle failed git commit test lock
Happens when the Git config does not have user.name and user.email
2019-11-28 13:40:03 -06:00
Deltik
ae9f91084b Disabled flaky and failing tests for repo migration
Related: #4030
Related: #4031
Related: #4032
Related: #4033
2019-11-27 15:49:43 -06:00
Deltik
8ed4cde9f1 Removed broken test: CaptchaCest
Related: #4028
2019-11-27 15:30:32 -06:00
Deltik
007bd04d8f Prevent directory listing of e107_tests
Also block access to e107_tests by default on Apache HTTP Server
2019-11-27 15:18:01 -06:00
Deltik
083213777f Documentation update: New paths 2019-11-27 15:00:16 -06:00
Deltik
2a3e66328a Merge branch 'master' into test-harness 2019-11-27 11:22:15 -06:00
Deltik
e49ee50d31 Preparation for merge with e107 repository
Moved all test files to e107_tests subdirectory
2019-11-27 11:18:53 -06:00
Tijn Kuyper
7c54779e36 Forum - Fix LAN when error occurred when deleting a forum post 2019-11-27 16:49:32 +01:00
Tijn Kuyper
83fe2fa097 Banner plugin - code-cleanup (no functional changes)
Comment unused code
2019-11-27 15:54:47 +01:00
Tijn Kuyper
477e0c9e5e Fixes #3998 - corporate.css fix font path glyphicons 2019-11-26 10:50:39 +01:00
Tijn Kuyper
e45a358a3a Import plugin - HTML import provider code clean-up 2019-11-26 10:17:55 +01:00
Tijn Kuyper
9102e275d4 #4027 - Move up PHP Tidy extension test 2019-11-26 10:17:35 +01:00
Tijn Kuyper
3ad316a87f #4027 - HTML import, check for PHP Tidy extension 2019-11-26 09:56:15 +01:00
Tijn Kuyper
26bc061e79 Notify - Only show debug info to admins or when developer mode is active 2019-11-06 16:28:09 +01:00
Deltik
a8887d2a5e Support NGINX $host in Downloads hotlink protection
Fixes: #4010
Related: #3111

==== Problem ====
If there are two download mirrors, `slow.example.com` and
`fast.example.com`, hotlink protection using an NGINX `secure_link_md5`
expression in the Downloads plugin cannot distinguish between these
hostnames.

This means that a user limited to `slow.example.com` can change the
download host to `fast.example.com` and download from the better mirror.

==== Solution ====
To solve this, `NginxSecureLinkMd5Decorator` needs to support the NGINX
`$host` variable.  Having this variable in the expression will lock down
the secure link to the specific download host.
2019-11-05 13:33:48 -06:00
Cameron
281db68aa2 Provide raw search query to custom method.
Issue: #4009 Support banlist filtering using wildcards.
2019-11-05 10:27:21 -08:00
Cameron
7f07f019c3 Issue #4009 - refining banlist ip search 2019-11-05 09:20:48 -08:00
Cameron
762844037f Fixes #4009 . Enhanced admin-ui to support custom filter handlers on string searches (not just drop-drop filters as was already the case) 2019-11-05 08:54:16 -08:00
Tijn Kuyper
e041e57587 Bump version - upcoming 2.2.2 is now 2.3.0 2019-11-05 17:10:28 +01:00