1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-24 16:31:48 +02:00
Commit Graph

837 Commits

Author SHA1 Message Date
Cameron
30c5553dbd Bootstrap 4 fixes. 2019-03-02 07:47:37 -08:00
Tijn Kuyper
1897fc8f42 Tweak bootstrap check
(also take into account BS4)
2019-02-28 14:51:04 +01:00
Cameron
1dbc90143f Case cleanup toHtml() should be toHTML() 2019-02-26 12:22:36 -08:00
Cameron
5dc45298f6 Issue #3559, Fixes #3589, Issue #2982, Issue #2927 Replace all glyphicons with FontAwesome. 2019-02-22 14:56:47 -08:00
Cameron
6719a3d491 Merge pull request #3671 from SimSync/fix_3656
Issue #3656: Tinymce shows Mediamanager icons on quick-reply
2019-02-14 14:06:52 -08:00
Tijn Kuyper
99074cab54 #3521 - Tweaked forum e_url.php to prevent conflicts when using 'new' in SEF URL 2019-02-09 16:10:43 +01:00
Cameron
b2e4ce2562 Issue #3587 - thumb image (untested) 2019-02-08 11:11:36 -08:00
Achim Ennenbach
8d7a0da0dc fixes #3656: Make the mediamanager icons available in the forum 2019-02-08 13:01:38 +01:00
Tijn Kuyper
82c5c22e57 Merge pull request #3620 from SimSync/fix_3619
issue #3619: Missing moderator ids on forum move
2019-01-16 21:54:39 +01:00
Achim Ennenbach
ae822adfcc issue #3619: switched error message to LAN_NO_PERMISSIONS 2019-01-16 19:09:53 +01:00
Cameron
480de539b0 Merge pull request #3623 from SimSync/fix_3277
issue #3277: fixed conditional for user_forum_topic_created_probationary event
2019-01-16 10:03:37 -08:00
Cameron
b8b1727774 Merge pull request #3618 from arunshekher/enhancement/forum-report-event-data-enrichment
Enhance 'user_forum_post_report' event data set and Fix 'user_forum_post_report' notification email not sent bug.
2019-01-16 10:02:13 -08:00
Achim Ennenbach
e30d901259 issue #3277: fixed conditional for user_forum_topic_created_probationary event 2019-01-16 11:58:26 +01:00
Achim Ennenbach
ce4c96d193 issue #3619: check $this->post for being empty instead of being set 2019-01-16 11:44:11 +01:00
Achim Ennenbach
995702f5c6 issue #3619: Missing moderator ids on forum move
In case the post id is not set use the thread id to look
for the moderator ids
2019-01-14 12:38:01 +01:00
Arun S. Sekher
dfa8ae8ed5 Enrich 'user_forum_post_report' event data set with useful data.
Fix a bug which prevented 'user_forum_post_report' notification email being sent successfully by e107 'notify' handler.
2019-01-13 23:39:04 +04:00
Achim Ennenbach
54a46dc98c fixes #3601 legacy urls
changed legacy urls to new e107::url() method
2019-01-12 17:21:40 +01:00
Achim Ennenbach
3d57bb9947 fixes #3601 wrong user link
Removed unused vars and fixes userid extraction
2019-01-12 16:40:05 +01:00
Cameron
b22498e3e4 Merge pull request #3610 from Jimmi08/patch-10
Issue #3607 forum dropdowns partial fix.
2019-01-11 12:20:29 -08:00
Jimako
87d02d86e7 partfix #3607 forum dropdown fix 2019-01-11 11:12:10 +01:00
Jimako
c87220bcc0 partfix #3607 forum dropdowns 2019-01-11 11:03:56 +01:00
Jimako
3b158218cf Fix #3338 - marked more than one forum as read
Because $currentUser['user_plugin_forum_viewed'] is not refreshed after adding one thread,  it's still the same and only last thread is changed
2019-01-06 13:48:56 +01:00
Cameron
ffaab917c2 Issue #3512 Prevent duplicate SEF on forum. 2018-10-26 12:16:26 -07:00
phibel
e2789872a5 FIX the database was not updated when a post was deleted
Looks like someone was interrupted during work and than it was merged into the repo?
Anyway, the needed information are stored in $postInfo[] and not in $row[].
2018-10-13 15:55:31 +02: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
phibel
c644a8b9d2 FIX check moderator permissions for thread-operations
Without admin permissions (member of user class 254) it was not possible to modify threads in
the forum. This fix get the forum-moderator permissions by the threadId to modify this thread.
2018-10-13 15:55:31 +02:00
phibel
37d086c418 MNT remove debug print 2018-10-13 15:55:31 +02:00
phibel
9ca28b8fa4 FIX user can transfer his moderator permissions from one forum to an other forum
I am working further on the moderator permissions and discovered that my previous commit
692509f is a bad solution. Because the moderator submits the threadId and postID for the post
who he wants to delete. This threadId was used to check the moderator permissions of the postId.

So if a moderator has only permissions for one forum, he could change the transmitted threadId
in an other forum to get there also moderator permisssions...

Sorry that I did not noticed this glitch before I made the previous commit. :-/
2018-10-13 15:55:31 +02:00
phibel
98213ec03c FIX check if user has moderator permissions for the thread/forum
Without admin permissions (member of user class 254) it was not possible
to delete a post in the forum. This fix add the threadId to the ajax query
and fetchs the forum-moderator for the thread which will then checked
against the user permissions/classes.

I added also an additional error message, if something goes wrong.
2018-09-30 23:21:43 +02:00
Cameron
c317515847 Merge pull request #3387 from SimSync/fix_3377
fixes #3377 Enabled "preview" button on forum post edit
2018-08-22 18:16:02 -07:00
Cameron
7058aa322d Merge pull request #3378 from SimSync/fix_1412
fixes #1412 implemented a forum image/icon which is displayed in front of the forum name
2018-08-22 18:15:46 -07:00
Achim Ennenbach
ddf7eced79 fixes #3377 Enabled "preview" button on forum post edit
disabled subject if edited post is not the first post of the thread
2018-08-17 19:12:23 +02:00
Achim Ennenbach
7ddb9a44db fixes #1412 implemented a forum image/icon which is displayed in front
of the forum name. Displaysize of the image can be defined in the
templates.
2018-08-14 13:52:39 +02:00
Cameron
64b4f9a2a1 Merge pull request #3376 from SimSync/fix_3192
fixes #3192 strip bbcode/html in meta description
2018-08-13 13:28:11 -07:00
Cameron
2429f9058e Merge pull request #3363 from SimSync/fix_3337
fixes #3337 usage of old v1 table names
2018-08-13 11:27:27 -07:00
Achim Ennenbach
4a313ccadf fixes #3192 strip bbcode/html in meta description 2018-08-13 20:23:29 +02:00
Cameron
5df7313606 Merge pull request #3370 from SimSync/fix_3245
fixes #3245 eHelper::title2sef() now strips any html or bbcode
2018-08-10 14:19:56 -07:00
Achim Ennenbach
169acdaba3 fixes #3245 eHelper::title2sef() now strips any html or bbcode
forum_admin.php: make sure to strip bbcode and html from forum_name
forum_admin.php: make sure forum_sef doesn't contain bbcode or html and is properly formatted
English_admin.php: Added FORLAN_223 = forum_name help text
2018-08-10 21:01:04 +02:00
Cameron
7403d9f59a Merge pull request #3365 from SimSync/fix_3317
fixes #3317 added bbcode template "forum"
2018-08-10 11:15:15 -07:00
Achim Ennenbach
7ff118921d fixes #3227 changed route to a "clean" sef route 2018-08-10 18:11:41 +02:00
Achim Ennenbach
c1bec2b6d7 fixes #3317 moved the forum template from core to plugin 2018-08-10 11:49:58 +02:00
Cameron
22dc8b8669 Merge pull request #3366 from SimSync/fix_3269
fixes #3269 switched v1 tables to v2
2018-08-09 15:39:14 -07:00
Achim Ennenbach
f2b3e1014b fixes #3171 moved query param p to the options/query parameter of url()
Implemented a fiy for accidentally double ampersand in the query part of the url
2018-08-09 21:05:43 +02:00
Achim Ennenbach
0afb9e67bf fixes #3269 switched v1 tables to v2
Fixed issue with null values in table (on duplicate)
2018-08-09 14:52:17 +02:00
Achim Ennenbach
a3dae1ecfd fixes #3337 usage of old v1 table names
new route /forum/?new to display new posts
2018-08-08 20:27:04 +02:00
Achim Ennenbach
181149665d fixes #3338 fixed typo and e_SELF calling itself (infinite loop) 2018-08-07 12:27:24 +02:00
Cameron
f1a3e207db Merge pull request #3342 from SimSync/fix_3277_notify
Fixes #3277 Forum notification
2018-08-06 13:47:41 -07:00
Achim Ennenbach
d838a825c8 fixes #3059 updated lans (removed html)
Renamed lan vars
Cleanup code in e_notify.php
Fixed wrong event name in forum_class.php
2018-08-06 21:50:25 +02:00
Achim Ennenbach
259b2321c4 Moved links from LANs to e_notify.
Added toHTML() to parse the post messages.
2018-08-04 20:04:51 +02:00