1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 09:34:54 +02:00

84 Commits

Author SHA1 Message Date
camer0n
bea796463e Issue #5465 Plugin language file conversion. 2025-04-11 07:23:57 -07:00
Cameron
d960829532 Issue #4918 - Undefined constants cleanup. 2022-12-10 07:06:47 -08:00
Cameron
afc0489e8c e107 Website URL updated to https. 2021-11-29 13:31:32 -08:00
Cameron
2c9afc83ee More PHP 8.1 fixes. 2021-11-26 12:36:25 -08: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
Cameron
acc1a9af0d Plugin script tests and PHP8 fixes. 2021-01-22 13:44:10 -08:00
Cameron
f055b49d91 PHP8 Plugin code cleanup 2021-01-21 09:38:38 -08:00
Cameron
3b0ff5d4ef RSS template upgraded to v2.x spec. Bootstrap 5 styling fixes. 2021-01-03 07:54:43 -08:00
Cameron
a7d8b1d41f Styling Rules Menus: btn-sm and btn-primary for primary buttons. btn-sm btn-secondary for additional buttons. 2021-01-02 09:43:54 -08:00
Cameron
402d1f4126 Closes #1801 Code cleanup. Deprecated method errors added. 2020-12-22 14:48:28 -08:00
Cameron
5b82c292b1 Code cleanup 2020-12-18 19:55:12 -08:00
Cameron
42f0e902d4 Issue #4283 - Update deprecated sql method usage. Removed old code. 2020-12-17 05:52:54 -08:00
Cameron
f80d611202 Bbcode code optimization and test. 2020-12-15 08:59:31 -08:00
Cameron
44e260b121 Code cleanup and optimization 2020-12-14 16:21:48 -08:00
Cameron
afaac88003 PHP8 Compatibility and code cleanup. 2020-12-08 12:21:12 -08:00
Cameron
09fb747374 Code cleanup 2020-12-05 14:13:18 -08:00
Cameron
e1593de8ee Removed redundant PHP closing tags. 2020-08-10 15:49:44 -07:00
Deltik
1f824faa69 Renormalized all text file line endings 2019-03-29 19:13:32 -05:00
Jimako
2bf9af81b2 newsletter plugin - missing translations
fix #3608
2019-01-11 09:28:33 +01:00
Cameron
b40b1916a3 Issue #2970 btn-default > btn-default btn-secondary 2018-01-10 15:06:40 -08:00
Cameron
70df3a3ae6 Issue #2846 LAN vars cleanup 2017-11-06 13:48:29 -08:00
Cameron
43d0211590 Code cleanup: deprecated include_lan() 2017-01-23 09:41:23 -08:00
Cameron
c4d71631d8 New parser filter added for file names. 2016-12-04 07:50:27 -08:00
Cameron
b84c3201fa Simple newsletter menu added. 2016-06-27 17:47:43 -07:00
Cameron
246116c1e2 Newsletter menu renamed to newsletter_legacy_menu.php in preparation for new menu. 2016-06-27 17:17:31 -07:00
rica-carv
071cabd4bd Added files via upload 2016-04-16 23:09:20 +01:00
Tijn Kuyper
2b12bc4132 Code clean-up on newsletter plugin 2016-03-15 12:24:20 +01:00
Cameron
870106d0d1 Fixes #1427 - Newsletter syntax error. 2016-03-14 12:07:23 -07:00
Cameron
9f96a70e76 Issue #1356 - Installation and PHP notice fixes. 2016-02-15 11:09:58 -08:00
Cameron
a469b7ca6e Deprecated function cleanup 2016-02-15 00:14:45 -08:00
Cameron
486f3d4961 Issue #1356 - PHP7 Fixes. 2016-02-14 12:15:55 -08:00
Jimmi08
5750b91b91 Issue #1309. e_BASE."user.php" replaced with SEF URL. 2016-01-27 11:56:59 +01:00
Cameron
796f5fa95c Header location cleanup. From now, please use e107::redirect(); to redirect to the home page, or e107::redirect('admin'); to redirect to the admin start page or e107::redirect($url); 2016-01-13 19:18:12 -08:00
Cameron
d12eef2f07 Issue #1138 - Bootstrap3 theme mostly complete. 2015-07-16 01:17:21 -07:00
Cameron
6499ff72f7 Issue #1138 Added 'btn-default' where missing. 2015-07-13 19:09:30 -07:00
Cameron
6b5d95388f Issue #6 Language-file standards. Wrap definitions in double-quotes. 2015-07-07 17:43:49 -07:00
Cameron
e4516a4ea7 Newsletter LAN fix 2015-05-11 14:07:38 -07:00
Cameron
9a21cad851 Code cleanup / globals removal etc. 2015-02-15 16:07:27 -08:00
Cameron
76e7a9fef2 Language-files renamed to match v2.x specifications. 2015-01-31 14:22:54 -08:00
Cameron
d4d55ac057 New 'sent' method added to e_mailout. Triggered during email queue processing. 2014-11-14 18:15:03 -08:00
Cameron
a3bb284031 Mailout bounce handling fixes. 2014-10-22 17:58:20 -07:00
Cameron
ca3be14770 More Admin->Mailout fixes and form inline fix for apostrophes. 2014-10-14 02:12:13 -07:00
Cameron
01f0751c04 Mail and progressBar fixes. 2014-10-12 18:01:19 -07:00
Moc
5e68531891 Fix fatal error in newsletter plugin, minor code cleanup (#590) 2014-05-25 00:42:15 +02:00
Cameron
f3ae51e037 Added 'btn-default' to button for Bootstrap3 compatibility. 2014-02-07 07:33:33 -08:00
Cameron
66eb7c1be7 Button styling updated to Bootstrap 'btn' 2013-04-26 13:48:23 -07:00
Moc
f65708cd5a Code clean-up (global pointers, $e107->, headers). Got rid of all $e107->this->sql and tp 2013-03-26 12:17:12 +01:00
Moc
15b6fccfe3 Newsletter admin code clean-up 2013-03-17 13:20:25 +01:00
Moc
823e813a5e More require_once clean-up (#125) 2013-03-10 15:36:45 +01:00
SteveD
c0610bfa6a Sort a few documentation comments 2013-03-02 17:59:32 +00:00