1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

88 Commits

Author SHA1 Message Date
camer0n
9de234324c Issue #6 URLs should not be inside language files. 2025-04-11 07:23:57 -07:00
camer0n
6aa42ccad9 Closes #5373 - Bootstrap 5. 2025-01-13 11:41:57 -08:00
Cameron
d960829532 Issue #4918 - Undefined constants cleanup. 2022-12-10 07:06:47 -08:00
Cameron
22b9bd1721 Updated e107.org urls. 2022-04-04 14:46:42 -07:00
Nick Liu
f6d6d1b185 Deprecate e_parse::toJS()
`e_parse::toJS()`, documented with the description

> Convert text blocks which are to be embedded within JS

, does not protect strings from injections, which appears to be its
primary use.  Additionally, it performs multiple unrelated string
modifications:

* Replace Windows line breaks with a literal `\\n` (which would later be
  parsed as `\n` in JavaScript/JSON)
* Does not modify Unix line breaks (`\n`), which is inconsistent with
  the Windows line break behavior
* Removes HTML tags
* Replaces HTML entities as `htmlentities()` does

This method cannot be fixed because its usages are inconsistent.  Most
notably, some usages surround the method's output in single quotes while
others surround it with double quotes.  Strings cannot be JSON-encoded
without confounding quotation mark styles.

All core usages of `e_parse::toJS()` have been replaced with
alternatives, which are also documented in the method's DocBlock.

Fixes: #4546
2021-08-31 00:11:14 +02:00
Nick Liu
ccf0f037aa #4299: Wrap more potentially undefined constants
In:
* Forums
* /e107_admin/menus.php
2021-07-13 13:10:59 +02: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
21e3c3f8ab PHP warning fixes. 2020-12-29 09:48:36 -08:00
Cameron
7dfac0dcfa Issue #4299 - PHP8 compatibility fixes. 2020-12-25 10:23:56 -08:00
Cameron
601df26d51 Code optimization for speed and reduced memory usage. 2020-12-20 11:50:10 -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
0e90d4aa66 Code optimization and cleaning 2020-12-17 13:13:29 -08:00
Cameron
f80d611202 Bbcode code optimization and test. 2020-12-15 08:59:31 -08:00
Tijn Kuyper
c394560fe3 PHP warnings clean-up 2019-10-29 14:50:24 +01:00
Tijn Kuyper
104dbed53d #3622 - Fix individual deletion of broken dowload reports 2019-10-29 14:50:06 +01:00
Tijn Kuyper
30302dbbfc #3622 - Broken downloads clean-up 2019-10-27 22:28:00 +01:00
Tijn Kuyper
1b9251e75f Fixes #3622 - Reported broken downloads reworked
- Moved away from e107_admin/message.php to its own place in the Downloads admin area.
- Notification of broken downloads now controlled by e_notify (see Admin Area > Settings > Notify)
- Updated notification message
- Added e_dashboard addon to show latest status on broken download reports
2019-10-27 21:40:59 +01:00
Tijn Kuyper
abcce8639d #3622 - Get rid of old download_mail pref
No longer needed now that we have e_notify
2019-10-27 18:55:23 +01:00
Tijn Kuyper
e5f024e669 #3622 - Download plugin - moving 'Report Broken Download' to e_notify
Work in progress:
- Convert previous 'download_email' pref
- Move broken download list to download plugin admin  /e107_admin/message.php
2019-10-27 18:20:59 +01:00
Cameron
007bc184a3 Closes #3787 Download-Category event name added in admin area. 2019-04-25 16:45:13 -07:00
Cameron
3120e00270 Fixes #3379 Download admin-area "Quick View" URL. 2018-08-14 17:26:05 -07:00
Cameron
a64f4a1686 Fixes #1732 Media-Manager Category selection. 2018-08-06 13:33:38 -07:00
Tijn Kuyper
5689e8044e Fixes #1746 - Allow to set time for download item 2018-06-25 16:39:26 +02:00
Nick Liu
4af400fd75 Refactored some Downloads plugin code 2018-05-01 07:46:48 -05:00
Nick Liu
0d7f7dc543 Improved: Downloads >> Preferences >> Protection
- MOD: Refactored NGINX secure_link_md5 decorator into interface and
       class in Downloads plugin
- NEW: Downloads plugin: Admin preferences UX improvement:
       Preferences >> Protection now shows the user a list of
       supported NGINX variables pulled from
       NginxSecureLinkMd5Decorator
2018-04-30 06:24:20 -05:00
Nick Liu
fa08c915a3 Downloads: Basic support for NGINX secure_link_md5
- NEW: "Protection" section in Downloads >> Preferences
- NEW: Basic support for NGINX secure_link_md5 in Downloads plugin
- NEW: When configured with a URL protection mode, Downloads will
       modify the direct download URL and/or the mirror download URL
       to be compatible with the implemented URL protection

Fixes: #3075
2018-04-30 05:50:19 -05:00
Cameron
b40b1916a3 Issue #2970 btn-default > btn-default btn-secondary 2018-01-10 15:06:40 -08:00
Cameron
b38183035d Download URL fixes 2017-04-13 09:43:29 -07:00
Cameron
8d077da40e DownloadsL Pagination (next/prev) fix. SEF Url methods updated. 2017-04-12 15:38:09 -07:00
Cameron
c88fbb5c9a Closes #2528 Batch SEF generation added. 2017-04-02 11:32:32 -07:00
Cameron
525a097517 Admin-ui: readParm['url'] added and other url fixes. 2017-03-30 13:53:06 -07:00
Cameron
7ab368076f Admin-ui: Additional checks for valid parent value when editing parent/child record. eg. download_category etc. 2017-03-30 08:58:02 -07:00
Cameron
a2026244a3 Issue #2487 - Category Tree fixes. 2017-03-28 15:16:27 -07:00
Cameron
f90832a9d5 Admin-ui automated tree sorting when $sortField and $sortParent are defined. 2017-03-27 16:27:08 -07:00
Cameron
0846180664 Dynamic Download URL support (using shortcodes). Quick View added to downloads admin area. 2017-03-26 16:35:06 -07:00
MikeyGMT
af17dffcaa More Duplicate LANS #6 LAN_NONE LAN_SUBMIT
More Duplicate LANS #6 LAN_NONE LAN_SUBMIT
2017-02-10 22:34:17 +00:00
Cameron
503fa926ac Downloads form element fix. 2017-02-10 08:17:57 -08:00
Cameron
30092ef372 GUI styling fixes. Theme thumbnail preview corrected on missing preview images. 2017-02-01 08:54:28 -08:00
Gábor
97c0d7ac71 Update admin.php 2017-01-22 10:16:26 +01:00
Cameron
4813a0896b Fixes #2123 - Download Media-Manager 2016-12-07 12:39:23 -08:00
Cameron
e6be1b8a2c Upgrade Fixes - Legacy Download image paths and Download Category icons. 2016-12-05 15:41:19 -08:00
Cameron
a985a6e9b1 Issue #1746 - Downloads datestamp not being saved correctly. 2016-06-30 08:50:35 -07:00
Cameron
2c2d48b902 Issue #1270 - GUI Fixes. 2016-01-25 19:20:50 -08:00
Cameron
71fff6e8d2 AdminUI: Simple SEF generation option added. Usage: writeParms='sef=sourceField'. eg. writeParms='sef=news_title'. 2016-01-16 11:56:26 -08:00
Cameron
5e008b5df4 Issue #1174 - Orphaned LANs corrected. User Profile LANs cleaned up. 2015-08-29 15:56:18 -07:00
Cameron
a26de7bc84 Issue #1138 - Bootstrap3 UI fixes. 2015-07-15 19:33:15 -07:00
Cameron
6499ff72f7 Issue #1138 Added 'btn-default' where missing. 2015-07-13 19:09:30 -07:00
MikeyGMT
dccba01f37 Replace Duplicate LANs : LAN_ID
Duplicate LANs for ID replaced with LAN_ID
Plus correct bad quotes in installer LANINS_030.
2015-07-02 13:03:03 +01:00
Cameron
720f445565 Fixes #998 - Download category creation issue when using MySQL Strict. 2015-05-08 10:20:04 -07:00