Add a new param to add_integration_function
and also some info in the docblock

Signed-off-by: Suki <suki@missallsunday.com>
Create the object if requested
Also, add some inline comments

Signed-off-by: Suki <suki@missallsunday.com>
Log if hook execution failed

Signed-off-by: Suki <suki@missallsunday.com>
Add object param to Subs::remove_integration_functio()

Signed-off-by: Suki <suki@missallsunday.com>
pseudo-singleton pattern

Signed-off-by: Suki <suki@missallsunday.com>
Add debug info for instances $context['debug']['instances']

Signed-off-by: Suki <suki@missallsunday.com>
Get the correct value for filename from $hook_status

Signed-off-by: Suki <suki@missallsunday.com>
Add a legend for methods
and also use $exploded[0] rather than $function, for hooks calling methods, $function will not the the true function name and thus cannot be reliable.

Signed-off-by: Suki <suki@missallsunday.com>
Merge pull request #1123 from MissAllSunday/create_object

Create object
! So we're going to be logging fun stuff for group requests. Let's kick off with new DB goodness.

Signed-off-by: Peter Spicer <sleeping@myperch.org>
! And the upgrader for it, which is a bit more complex as it has to adjust the indexes on the table too.

Signed-off-by: Peter Spicer <sleeping@myperch.org>
! Make sure we set the request up properly and don't confuse the membership page with having multiple requests when in reality only one should be applicable.

Signed-off-by: Peter Spicer <sleeping@myperch.org>
! Don't discard the report when closing, instead update it. Principal fix for #969, everything else here is for support.

Signed-off-by: Peter Spicer <sleeping@myperch.org>
! And a token we had forgotten.

Signed-off-by: Peter Spicer <sleeping@myperch.org>
! The mod center needs to be aware of these changes too.

Signed-off-by: Peter Spicer <sleeping@myperch.org>
! And lastly we need somewhere to show off the requests. It's functional but not especially pretty.

Signed-off-by: Peter Spicer <sleeping@myperch.org>
Merge pull request #1126 from Arantor/release-2.1

Group requests should be permanently logged and accountable
Merge pull request #1127 from Oldiesmann/release-2.1

! Fix bugs related to auto-saving drafts
! There really is no good reason now not to be ORDER BY LENGTH(code) for smileys. MySQL supports it now after those rocky days when we couldn't rely on it, PGSQL and SQLite seem to support it as far as I can tell, it's also cached so the filesort isn't the killer it could necessarily be. Let's do this and fix #1091 while we're at it.

Signed-off-by: Peter Spicer <sleeping@myperch.org>
! We don't use these queries any more, don't need their query-specific replacements either.

Signed-off-by: Peter Spicer <sleeping@myperch.org>