1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 20:13:22 +01:00

29 Commits

Author SHA1 Message Date
Joas Schilling
46c4ff46e0 [ticket/10714] Logs are disabled for this page call only
PHPBB3-10714
2013-03-03 20:30:17 +01:00
Joas Schilling
d5d282005c [ticket/10714] Add getter for is_in_admin and use it
PHPBB3-10714
2013-01-22 16:47:05 +01:00
Joas Schilling
c2504e9300 [ticket/10714] Fix more comments
PHPBB3-10714
2013-01-22 15:56:34 +01:00
Joas Schilling
ffde887aad [ticket/10714] Cast values to integer before using them in the query
PHPBB3-10714
2013-01-22 15:46:48 +01:00
Joas Schilling
c0ab3f3ddd [ticket/10714] Fix several doc blocks and comments
PHPBB3-10714
2013-01-22 15:45:20 +01:00
Joas Schilling
786e2438d5 [ticket/10714] Use new core.adm_relative_path to create the object.
PHPBB3-10714
2013-01-16 16:23:41 +01:00
Joas Schilling
37014abd02 [ticket/10714] Fix several comments and variable names
PHPBB3-10714
2013-01-16 14:18:09 +01:00
Joas Schilling
512697341a [ticket/10714] Fix database driver class name
PHPBB3-10714
2012-12-14 18:47:22 +01:00
Joas Schilling
c7ae790d16 [ticket/10714] Remove type hinting to allow the usage of mocks in tests
PHPBB3-10714
2012-12-11 10:25:38 +01:00
Joas Schilling
83b8b65016 [ticket/10714] Use dependencies instead of globals
We use a setter for the admin root path, as it is not defined all the time.
Aswell as we added a setter for the table name, so it can still be used
for custom tables.

PHPBB3-10714
2012-12-09 23:47:46 +01:00
Joas Schilling
7f1b0eeb71 [ticket/10714] Compare log_type to false, rather then null
PHPBB3-10714
2012-12-07 16:28:46 +01:00
Joas Schilling
5213ee1829 [ticket/10714] Make attributed protected rather then private
PHPBB3-10714
2012-12-07 14:39:57 +01:00
Joas Schilling
72d1cae3f3 [ticket/10714] Remove some private functions from the log interface
PHPBB3-10714
2012-11-11 12:29:25 +01:00
Joas Schilling
35089bc013 [ticket/10714] Fix some comments
PHPBB3-10714
2012-11-11 12:18:04 +01: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
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
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
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
cf651ef81d [ticket/10714] Implement a class to add logs to the database.
PHPBB3-10714
2012-08-21 11:59:25 +02:00