Marc Alexander
17c4fe6f9e
Merge branch '3.3.x'
2020-09-08 20:41:52 +02:00
William Desportes
fedfc330ef
[ticket/16587] Fix phpdoc errors reported by Doctum
...
PHPBB3-16587
2020-09-07 12:11:31 +02:00
rubencm
774c609c4a
[ticket/16345] Small improvements
...
PHPBB3-16346
2020-08-14 08:29:06 +00:00
Marc Alexander
0a4cc5d201
[ticket/9837] Apply suggested changes by CHItA
...
PHPBB3-9837
2019-11-22 09:20:18 +01:00
v12mike
8726baea9f
[ticket/9837] Display unapproved posts to their authors
...
Change code order to improve efficiency.
PHPBB3-9837
2019-11-21 13:44:22 +01:00
v12mike
15da5b108e
[ticket/9837] Display unapproved posts to their authors
...
Re-order code for efficiency
PHPBB3-9837
2019-11-21 13:44:21 +01:00
v12mike
9fff4cf253
[ticket/9837] Make unapproved posts visible to posters
...
Add tests
Tidy up code
Improve user message formatting
PHPBB3-9837
2019-11-21 13:44:21 +01:00
v12mike
1f10cd51ff
[ticket/9837] Display unapproved posts to posters
...
Add tests and improve style template
PHPBB3-9837
2019-11-21 13:44:21 +01:00
v12mike
46a189fa4c
[ticket/9837] Display unapproved posts to originator
...
Fix whitespace issues
PHPBB3-9837
2019-11-21 13:44:20 +01:00
v12mike
92362441bd
[ticket/9837] Make unapproved posts visible to posters
...
Add tests
Tidy up code
Improve user message formatting
PHPBB3-9837
2019-11-21 13:44:20 +01:00
v12mike
78a913581c
[ticket/9837] Display unapproved posts to posters
...
Add tests and improve style template
PHPBB3-9837
2019-11-21 13:44:20 +01:00
v12mike
63b7518a0f
[ticket/9837] Make unapproved posts visible to posters
...
Improvements for feature following review
PHPBB3-9837
2019-11-21 13:44:19 +01:00
Máté Bartus
01b0ec19c6
[ticket/9837] Small fixes
...
PHPBB3-9837
2019-11-21 13:44:19 +01:00
Máté Bartus
eb94fe973b
[ticket/9837] Display unapproved posts to their authors
...
Basic functionality mock up.
PHPBB3-9837
2019-11-21 13:44:19 +01:00
luzpaz
a9a28859d4
[ticket/15424] Multiple typo fixes in docs & comments
...
Fixed typos in some docs, guidelines, some non-user-facing files.
PHPBB3-15424
2019-05-08 22:20:56 +02:00
rxu
f8fbe37936
[ticket/14972] replace all occurrences of sizeof() with the count()
...
PHPBB3-14972
2018-01-01 13:56:04 +01:00
Marc Alexander
dc48f28da1
[ticket/15266] Update since, add changed, and use empty where applicable
...
PHPBB3-15266
2017-12-27 13:28:04 +01:00
javiexin
bd81af3b9e
[ticket/15266] Expand functionality of content_visibility
...
Added new function "is_visible", and replaced several immediate
uses of the above, including a single event in the new function
to handle change in all places consistently, and much simpler.
PHPBB3-15266
2017-12-27 13:27:38 +01:00
javiexin
31b93280ee
[ticket/15266] Fix events in content_visibility
...
Additional errors found. The event parameter 'timestamp' does
not exist, it is really called 'time'. Affects four events:
core.set_post_visibility_before_sql
core.set_post_visibility_after
core.set_topic_visibility_before_sql
core.set_topic_visibility_after
PHPBB3-15266
2017-07-10 15:11:22 +02:00
javiexin
d69ff96236
[ticket/15266] Fix events in content_visibility
...
Fixes core.phpbb_content_visibility_get_visibility_sql_before,
core.phpbb_content_visibility_get_forums_visibility_before,
core.phpbb_content_visibility_get_global_visibility_before
Does not modify the events, but fixes some comments, and changes
the rest of the function to allow (at least) the documented
event functionality.
PHPBB3-15266
2017-07-09 23:08:58 +02:00
Richard McGirr
b74e811496
[ticket/14581] Add core events to content_visibility
...
Events added for both changing the content visibility for both posts and topics,
executing right before and after the SQL UPDATE query for setting the
visibillity.
https://tracker.phpbb.com/browse/PHPBB3-14581
PHPBB3-14581
2016-08-10 06:49:49 -04:00
Jakub Senko
4cf666f0bc
[ticket/14631] Load truncate_string() if needed
...
PHPBB3-14631
2016-06-07 19:39:15 +02:00
Joas Schilling
c60497f009
Merge pull request #3402 from brunoais/ticket/13621
...
[ticket/13621] Prepend $where_sql and postpend closing bracket on statements with return
2015-04-06 11:13:33 +02:00
Marc Alexander
0daf148aaa
Merge pull request #3384 from brunoais/ticket/13592
...
[ticket/13592] Allow changing get_visibility_sql's result
2015-02-27 12:00:09 +01:00
Nicofuma
9b5493372d
[ticket/13644] Always type hint dispatch_interface
...
PHPBB3-13644
2015-02-22 17:01:37 +01:00
brunoais
f0850f1915
[ticket/13631] Better, more explicit comment explanation
...
PHPBB3-13631
2015-02-18 10:36:29 +00:00
brunoais
997b229723
[ticket/13631] Fix wrong variable in get_global_visibility_sql()'s event
...
I don't get this... I was positive I, at some point, had it right... I don't get
what happened...
PHPBB3-13631
2015-02-18 10:33:49 +00:00
brunoais
957b23765f
[ticket/13621] Prepend $where_sql and postpend closing parentheses on return
...
Prepend $where_sql and postpend closing parentheses on statements with return
PHPBB3-13621
2015-02-15 18:50:13 +00:00
brunoais
bf20fb03ef
[ticket/13592] The name didn't make proper sense
...
PHPBB3-13592
2015-02-11 10:56:36 +00:00
brunoais
74385b8fce
[ticket/13592] Empty line before event comment block.
...
I had forgotten this one
PHPBB3-13592
2015-02-09 11:58:35 +00:00
brunoais
6111f5fa74
[ticket/13592] Removed unwanted space in self line.
...
PHPBB3-13592
2015-02-09 11:56:53 +00:00
brunoais
bb7d294190
[ticket/13592] Allow full override of get_visibility_sql()
...
PHPBB3-13592
2015-02-09 10:44:12 +00:00
brunoais
8a4df90dac
[ticket/13592] Allow changing get_visibility_sql's result
...
PHPBB3-13592
2015-02-09 08:42:37 +00:00
brunoais
1bcce75633
[ticket/13592] Allow changing get_visibility_sql's result
...
PHPBB3-13592
2015-02-08 23:52:27 +00:00
brunoais
e0733ae435
[ticket/13147] New line before comment block
...
PHPBB3-13147
2015-01-10 17:15:54 +00:00
brunoais
ef9abd7165
[ticket/13147] Override variable name changed by request
...
PHPBB3-13147
2015-01-10 17:15:22 +00:00
brunoais
8ed5a047ec
[ticket/13147] Wrong extra new line
...
PHPBB3-13147
2015-01-10 11:48:01 +00:00
brunoais
9caec668af
[ticket/13147] Renaming content_replaced->get_global_visibility_sql_overwrite
...
Renamed content_replaced to get_global_visibility_sql_overwrite in order to
follow the convention in other events' variables that have the same basic
function
PHPBB3-13147
2015-01-10 11:44:55 +00:00
brunoais
a09c38f1cc
[ticket/13147] Removing globals and using injection
...
Using globals is NG. Using a parameter instead.
PHPBB3-13147
2015-01-10 11:44:54 +00:00
brunoais
0f6a0d820e
[ticket/13147] Using $phpbb_dispatcher global var
...
PHPBB3-13147
2015-01-10 11:44:54 +00:00
brunoais
8f5e3d5efb
[ticket/13147] Allow changing the result of calling get_global_visibility_sql
...
PHPBB3-13147
2015-01-10 11:44:52 +00:00
brunoais
cea35c486c
[ticket/13146] Removed stray empty line
...
PHPBB3-13146
2015-01-10 09:55:43 +00:00
brunoais
abc5dbcd71
[ticket/13146] Realign variables and descriptions in event
...
PHPBB3-13146
2014-12-29 08:42:13 +00:00
brunoais
59ab09273f
[ticket/13146] Improved $get_forums_visibility_sql_overwrite's clarity
...
PHPBB3-13146
2014-12-29 08:40:23 +00:00
brunoais
10a4f79135
[ticket/13146] Fixed variable name for the override
...
PHPBB3-13146
2014-12-03 14:00:00 +00:00
brunoais
ac8a4b05b4
[ticket/13146] Fixing what merging broke
...
Merging added content I didn't expect it to add. This fixes back to what it is supposed to be.
PHPBB3-13146
2014-12-03 13:55:53 +00:00
brunoais
80a7f6930c
[ticket/13146] Adding eventDispatcher to the list
...
PHPBB3-13146
2014-12-03 13:55:53 +00:00
brunoais
614f975e68
[ticket/13146] $contentReplaced -> $content_replaced
...
PHPBB3-13146
2014-12-03 13:55:52 +00:00
brunoais
df3447b725
[ticket/13146] Extra line for clarity
...
Added an extra line after the "if ($contentReplaced)" to help reading the code
PHPBB3-13146
2014-12-03 13:55:52 +00:00
brunoais
e9cb9baedb
[ticket/13146] $phpbb_dispatcher was missing
...
Added $phpbb_dispatcher to the globals list for this function.
PHPBB3-13146
2014-12-03 13:55:51 +00:00