1
0
mirror of https://github.com/e107inc/e107.git synced 2025-02-21 06:52:28 +01:00

135 Commits

Author SHA1 Message Date
Cameron
2d0e52c16a
Merge pull request #4733 from Jimmi08/canonical-urls-on-topic-pages
Fixes #4712 canonical URLs for paged forum topic
2022-04-01 11:02:24 -07:00
Cameron
33d87efd20
Merge pull request #4730 from Jimmi08/master
Closes #4659 forum main admin as silent moderator
2022-04-01 10:57:58 -07:00
Cameron
025ff07aab Fixes #4737 Removal of type="text/javascript" and type="text/css" 2022-03-31 08:24:34 -07:00
Jimmi08
da7f88f644 #4712 canonical URLs for paged forum topic
CLOSES #4712
2022-03-31 12:42:35 +02:00
Jimmi08
95a6cd2a3b #4659 forum main admin as silent moderator
- without displaying in moderator list (if they are not forum moderators directly)

CLOSES #4659
2022-03-30 22:17:41 +02: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
7a04260b5f
#4299: Wrap even more potentially undefined constants
In:
* Admin-UI
* Forums
2021-07-21 20:23:06 +02:00
Cameron
6ac83d6ea4 Fixes #4399 - thread_active value missing. 2021-02-18 06:31:48 -08:00
Cameron
4a9cf379a6 PHP8 Forum code cleanup 2021-01-22 06:31:23 -08:00
Cameron
f055b49d91 PHP8 Plugin code cleanup 2021-01-21 09:38:38 -08:00
Cameron
f091709847 Issue #4352 - Canonical added for page, forum and download. Replaced some e_PAGETITLE with e107::title() 2021-01-19 09:50:02 -08:00
Cameron
e1593de8ee Removed redundant PHP closing tags. 2020-08-10 15:49:44 -07:00
Tijn Kuyper
8ff1c4cf70
Forum - pass SC vars in 'start' template (viewtopic) 2019-04-11 10:56:37 +02:00
Cameron
1dbc90143f Case cleanup toHtml() should be toHTML() 2019-02-26 12:22:36 -08:00
phibel
3848560752 ENH allow user to delete his own post, if it is the last post in the thread 2018-10-13 15:55:31 +02:00
phibel
f480064ba4 FIX allow moderators to edit posts from other users 2018-10-13 15:55:31 +02:00
Achim Ennenbach
4a313ccadf fixes #3192 strip bbcode/html in meta description 2018-08-13 20:23:29 +02:00
Cameron
3f5a18fb01 Issue #2980 Tablerender ID - Forum fixes 2018-01-16 13:53:09 -08:00
Jimako
be8ea22c08
possibility to style {THREADSTATUS} #2850 2017-11-07 13:56:24 +01:00
Cameron
aeb4f925d2 Issue #2610 Remove legacy SEF URL from forum plugin. 2017-05-02 13:47:18 -07:00
Eduardo Carísio
863e1afee0 Patch for the issue #2506 2017-03-18 23:51:07 -03:00
Cameron
721a696acb Forum: Backward compatibility fixes. 2017-01-15 09:28:20 -08:00
Cameron
33d033536c Forum now utilizes THEME_LEGACY check for template loading. 2017-01-15 09:08:50 -08:00
rica-carv
e83d756425 Update forum_viewtopic.php 2016-12-01 22:10:41 +00:00
rica-carv
956288381e Enable templating of viewtopic caption
Enable templating of viewtopic caption
2016-11-16 20:52:53 +00:00
rica-carv
e24805ecea Add files via upload 2016-06-30 15:49:00 +01:00
rica-carv
7fc3f406d9 Pull to solve missing pagination & quickreply shortcode
Pull to solve missing pagination & quickreply shortcode
2016-06-30 14:56:30 +01:00
rica-carv
fe54bd0377 Forum $fVar, $tVar removal
Forum $fVar, $tVar removal

Added also some code clean up for previous submit #1677 (forum.php & forum_shortcodes.php)
2016-06-14 13:34:52 +01:00
Cameron
ec36f1dc87 IP handler checks and fixes. 2016-05-25 15:10:00 -07:00
Cameron
0b96543a1a Forum SEF Url fixes 2016-05-24 12:39:45 -07:00
Cameron
1ad918eb65 Forum: Fix wrapper styling. More work on experimental 'split' function. 2016-05-04 09:13:46 -07:00
Cameron
16d0417b70 Third-party compatibility for forum shortcode vars. 2016-04-22 09:44:01 -07:00
Cameron
010ba14c73 Forum view-topic template wrapper fix. Custom-title styling subject to change. Default SEF-URL format now separates thread_id into 'folder'. (backward compat.) 2016-04-05 13:15:58 -07:00
Cameron
3c2def3a31 Issue #1493 : Allow tracking of topics via tracking page only (no emails). (work in progress) 2016-04-05 11:21:53 -07:00
Cameron
2dedb86ba8 Viewable By shortcode added. Forum deleted template corrected. 2016-03-26 15:17:11 -07:00
Cameron
e4436417f9 Forum: Moderators list fix. Online count fix. IMAGE_track BC Fix. 2016-03-26 11:41:52 -07:00
Cameron
cd57f1aef8 Forum notice fixes and bootstrap3 poll styling. 2016-03-23 20:13:26 -07:00
Cameron
825ab74984 Custom Forum title now respected throughout. 2016-03-23 17:25:21 -07:00
Cameron
8282802d5e Fixes #1449 - Polls failing in PHP7 and Multiple options voting not functioning. 2016-03-23 16:43:41 -07:00
Cameron
12da3187b5 Fixes #1395 - Moderator: Array issue. Fixes some BC breadcrumb links. 2016-02-28 13:08:43 -08:00
Cameron
d159763747 Search Fixes. Forum search upgraded to v2.x spec. 2016-02-01 20:29:46 -08:00
Cameron
fadc6eeb44 Issue #784 Forum: Thread tracking - enable/disable functioning correctly. Actual notification requires work. 2016-01-31 14:39:41 -08: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
7a564f639d Fixes #1290, Fixes #1279 Forum backward compatibility issues. 2016-01-13 18:09:47 -08:00
Lóna Lore
d93d27a0c2 Fixed: pagination won't show up, if forum topic has e.g 21 posts and the posts/page limit is set to 20. 2015-12-18 09:25:12 +01:00
leo
bfce62a1d6 Changed present LAN calls (+ edit +decommented) so to be able to use the translation (previous state crippled .. not finished ??) Iff i am correct on coding unsure, testing provides working.. 2015-08-22 16:40:38 +02:00
Cameron
20abcdf449 Forum: Added SEF URLs on subForums. 2015-06-27 12:07:41 -07:00
Cameron
84485c50da Forum: Fixes #1079 - broken 'move' url. 2015-06-26 10:26:47 -07:00
Cameron
240d509fd0 Fixes #1028 - Forum reporting failing. Reporting now uses 'Notify' settings. Jump to Previous and Next forums working again. Jump to other forums working. Header redirection has been minimized for improved performance. 2015-05-26 12:00:43 -07:00
Cameron
03ab8b867e Issue #1015 - Possible forum edit/view access cache issue corrected. New-Topic and Post-Reply buttons now use the new SEF urls. 2015-05-22 15:37:46 -07:00