Jordan Rogers
73cd044f5c
[ticket/11066] Remove debug code error_reporting(E_ALL) from mssqlnative.php
...
For some reason, all errors are just flipped on before connecting to the
database, despite the system as a whole having a different setting for
displayable errors. Had to add & ~E_STRICT in PHP 5.4.5 to suppress Strict
Standards messages, but I would assume that the db piece shouldn't be involved
with setting error_reporting at all.
PHPBB3-11066
2012-08-23 15:41:57 +02:00
David King
e67b010846
[feature/add_events] Put globals on one line
...
PHPBB3-9550
2012-08-22 10:41:59 -04:00
David King
575980cba9
[feature/add_events] Remove $allow_bbcode and $allow_smilies
...
Upon testing it was discovered that these did not work as originally intended.
PHPBB3-9550
2012-08-22 09:37:47 -04:00
David King
46597be1a3
[feature/add_events] Globalize event dispatcher object in some functions
...
PHPBB3-9550
2012-08-22 08:37:33 -04:00
David King
4f6f0c0897
[feature/add_events] Event to modify the data array for when a user is added
...
PHPBB3-9550
2012-08-21 17:04:16 -04:00
David King
0358db2184
[feature/add_events] Before and after events for generate_text_for_* functions
...
PHPBB3-9550
2012-08-21 16:42:30 -04:00
David King
1e29f064e8
[feature/add_events] Added events for modifying generate_text_for_display()
...
The events allow you to perform extra functions on the text before nad/or
after it has been parsed for BBCode and Smilies.
PHPBB3-9550
2012-08-21 12:55:16 -04:00
David King
05755e1b37
[feature/add_events] Fixed docs, added _profile_cache to event parameters
...
PHPBB3-9550
2012-08-21 11:31:18 -04:00
David King
c0cd1fcb4f
[feature/add_events] Change alter -> modify in event name
...
PHPBB3-9550
2012-08-21 11:27:28 -04:00
David King
6c6b179dd4
[feature/add_events] Rename override to overwrite, made docs 79 chars/line
...
PHPBB3-9550
2012-08-21 11:25:52 -04:00
Joas Schilling
d289bc13ac
[ticket/10714] Remove dependency injection and use global instead
...
This avoids loading functions_admin.php globally and was suggested by naderman
PHPBB3-10714
2012-08-21 16:49:08 +02:00
Joas Schilling
2afbec5ac4
[ticket/10714] Always try to trigger events on phpbb_dispatcher
...
We may add the if () later again, if we decide to do that.
PHPBB3-10714
2012-08-21 15:50:46 +02:00
Joas Schilling
151346c6e0
[ticket/10714] Remove event core.function_add_log, add_log should be used instead
...
PHPBB3-10714
2012-08-21 13:25:26 +02:00
Joas Schilling
7010524815
[ticket/10714] Enable event core.get_logs_get_additional_data
...
PHPBB3-10714
2012-08-21 13:19:13 +02:00
Joas Schilling
cf095dd393
[ticket/10714] Enable event core.get_logs_modify_entry_data
...
PHPBB3-10714
2012-08-21 13:12:50 +02:00
Joas Schilling
0bb4af90a4
[ticket/10714] Fix core.add_log event
...
PHPBB3-10714
2012-08-21 13:07:11 +02:00
Joas Schilling
bd6dfee23e
[ticket/10714] Add event core.get_logs_modify_type
...
core.get_logs_switch_mode is superseded by this one and therefor removed
PHPBB3-10714
2012-08-21 13:06:43 +02:00
Joas Schilling
0fcbb40a0e
[ticket/10714] Enable core.add_log event and remove superseded add_log_case
...
PHPBB3-10714
2012-08-21 12:40:55 +02:00
Joas Schilling
3170845a50
[ticket/10714] Refactor disable mechanism to only disable certain types
...
Only disable admin log when adding multiple users, so critical errors are still
logged.
PHPBB3-10714
2012-08-21 12:12:41 +02:00
Joas Schilling
2c7f498c1b
[ticket/10714] Change $phpbb_dispatcher calls to the new layout
...
PHPBB3-10714
2012-08-21 12:12:40 +02:00
Joas Schilling
97290647fa
[ticket/10714] Use phpbb_log class in view_log()
...
PHPBB3-10714
2012-08-21 12:12:37 +02:00
Joas Schilling
55b94af82e
[ticket/10714] Implement get_logs() based on view_log()
...
I moved some stuff into its own function to make the code a bit clearer.
PHPBB3-10714
2012-08-21 11:59:37 +02:00
Joas Schilling
9248b9b25f
[ticket/10714] Add doc block for view_log function
...
PHPBB3-10714
2012-08-21 11:59:36 +02:00
Joas Schilling
f5063a6eda
[ticket/10714] Add incorrect offset calculation in view_log function
...
PHPBB3-10714
2012-08-21 11:59:35 +02:00
Joas Schilling
91384d8395
[ticket/10714] Add casts to integer values.
...
PHPBB3-10714
2012-08-21 11:59:35 +02:00
Joas Schilling
a0b35f8e4e
[ticket/10714] Use {@inheritDoc} instead of repeating the doc-block
...
PHPBB3-10714
2012-08-21 11:59:32 +02:00
Joas Schilling
61cbabb120
[ticket/10714] Add missing log_operation to events in phpbb_log
...
PHPBB3-10714
2012-08-21 11:59:32 +02:00
Joas Schilling
b9b08cf765
[ticket/10714] Add return null to phpbb_log and add param to constructor
...
PHPBB3-10714
2012-08-21 11:59:31 +02:00
Joas Schilling
cff15ec307
[ticket/10714] Use keys for the log data instead of requiring a special order
...
PHPBB3-10714
2012-08-21 11:59:30 +02:00
Joas Schilling
1539ad7ebe
[ticket/10714] Add @return null to doc blocks
...
PHPBB3-10714
2012-08-21 11:59:30 +02:00
Joas Schilling
34ce2561a0
[ticket/10714] Remove the dirty global hack to disable the log.
...
PHPBB3-10714
2012-08-21 11:59:26 +02:00
Joas Schilling
3fbac076ce
[ticket/10714] Use new phpbb_log class in add_log function
...
PHPBB3-10714
2012-08-21 11:59:26 +02:00
Joas Schilling
cf651ef81d
[ticket/10714] Implement a class to add logs to the database.
...
PHPBB3-10714
2012-08-21 11:59:25 +02:00
Joas Schilling
c20179db72
[ticket/10876] Update regex to a version which still matches our tests
...
PHPBB3-10876
2012-08-21 11:41:27 +02:00
David King
0ba755f1bd
[feature/add_events] Rename core.append_sid_override to just core.append_sid
...
Also, I added the hook back in below the event for backwards compatibility.
PHPBB3-9550
2012-08-20 20:45:09 -04:00
David King
e80e3809b9
[feature/add_events] Add event core.alter_username_string to change username
...
PHPBB3-9550
2012-08-20 12:21:44 -04:00
David King
808af65819
[feature/add_events] Globalize the event dispatcher object
...
PHPBB3-9550
2012-08-20 12:01:08 -04:00
David King
abc0ee753d
[feature/add_events] Return the correct variable
...
PHPBB3-9550
2012-08-20 11:57:43 -04:00
David King
fbdc956a1c
[feature/add_events] Replaced current append_sid() hook with new event
...
The new event, core.append_sid_override can either supplement or override
the append_sid() function.
PHPBB3-9550
2012-08-20 11:52:06 -04:00
David King
310c906932
Merge remote-tracking branch 'nickvergessen/feature/php-events-4' into develop
2012-08-20 09:09:53 -04:00
Joas Schilling
365d95c1fe
[feature/php-events] Fix doc of core.user_set_default_group
...
PHPBB3-9550
2012-08-20 10:11:52 +02:00
Joas Schilling
01db8144d4
[feature/php-events] Fix doc of core.generate_smilies_after
...
PHPBB3-9550
2012-08-20 10:10:52 +02:00
Joas Schilling
48b54ed1e0
[feature/php-events] Fix doc of core.delete_user_after
...
PHPBB3-9550
2012-08-20 10:09:29 +02:00
Joas Schilling
74d9ef0bec
[feature/php-events] Fix doc of core.delete_user_before
...
PHPBB3-9550
2012-08-20 10:08:59 +02:00
Joas Schilling
aea60f9323
[feature/php-events] Fix doc of core.update_username
...
PHPBB3-9550
2012-08-20 10:08:28 +02:00
Fyorl
e9bdca7a8b
[ticket/10970] Added newline in docblock
...
PHPBB3-10970
2012-08-19 17:12:08 +08:00
Oleg Pudeyev
89d334ee6a
Merge PR #954 branch 'dhruvgoel92/ticket/11032' into develop
...
* dhruvgoel92/ticket/11032:
[ticket/11032] fix language of error displayed
2012-08-18 22:26:58 -04:00
Joas Schilling
90ed6e734d
[feature/php-events] Fix acp_manage_forums_update_data_before and is_new_forum
...
PHPBB3-9550
2012-08-18 20:32:58 +02:00
Joas Schilling
b32d5a3edf
[feature/php-events] Fix core.acp_manage_forums_update_data_after vars
...
PHPBB3-9550
2012-08-18 20:25:11 +02:00
Fyorl
53aadd60a6
[feature/attach-dl] Renamed $post_id to $post_msg_id
...
PHPBB3-11042
2012-08-17 16:16:02 +01:00