[RFC|Merged] Extensions
Re: [RFC|Merged] Extensions
Factor a superclass out of the template locator?
- Erik Frèrejean
- Registered User
- Posts: 207
- Joined: Thu Oct 25, 2007 2:25 pm
- Location: surfnet
- Contact:
Re: [RFC|Merged] Extensions
Per IRC.
The tracker seems to have some issues currently, so I'll post a ticket on this subject once that comes back online
Code: Select all
[10:16PM]erikfrerejean: Will authentication modules also be handled through the extension system? I'm looking into adding a new authentication module but don't want to put it in `includes/auth/`, currently however that isn't possible as they are "hard" included from that directory
[10:21PM] erikfrerejean: Apparently it should be (http://area51.phpbb.com/phpBB/viewtopic.php?f=84&t=41499) though `session.php` doesn't seem to reflect that. Or am I overlooking something?
[10:35PM]igorw: erikfrerejean: afaik auth plugins are already loadable through the ext system
[10:37PM]igorw: at least I recall naderman claiming they were
[10:37PM] igorw: however, I recall not finding anything in the phpBB source
[10:38PM] igorw: as per your comment regarding sessino.php
[10:39PM]erikfrerejean: igorw: https://github.com/phpbb/phpbb3/blob/develop/phpBB/includes/session.php#L396
[10:39PM] erikfrerejean: looks like the aren't
[10:39PM]igorw: erikfrerejean: yep, and that piece of code is all over the place
Available on .com
Support Toolkit developer
Support Toolkit developer
- Erik Frèrejean
- Registered User
- Posts: 207
- Joined: Thu Oct 25, 2007 2:25 pm
- Location: surfnet
- Contact:
- nickvergessen
- Former Team Member
- Posts: 733
- Joined: Sun Oct 07, 2007 11:54 am
- Location: Stuttgart, Germany
- Contact:
Re: [RFC|Merged] Extensions
See viewtopic.php?f=84&t=33438
I added "depends on" for your ticket.
I added "depends on" for your ticket.
Member of the Development-Team — No Support via PM
Re: [RFC|Merged] Extensions
Why does it depend on that? Auth plugins already exist and if that is not done then this still needs to be for the existing auth plugins system?nickvergessen wrote:See viewtopic.php?f=84&t=33438
I added "depends on" for your ticket.
Formerly known as Unknown Bliss
No unsolicited PMs please except for quotes.psoTFX wrote: I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"
- nickvergessen
- Former Team Member
- Posts: 733
- Joined: Sun Oct 07, 2007 11:54 am
- Location: Stuttgart, Germany
- Contact:
Re: [RFC|Merged] Extensions
Current auth plugins are function-based. So we can not autoload them from any specific files...
Member of the Development-Team — No Support via PM
- Erik Frèrejean
- Registered User
- Posts: 207
- Joined: Thu Oct 25, 2007 2:25 pm
- Location: surfnet
- Contact:
Re: [RFC|Merged] Extensions
Obviously not, and if refactoring the auth system won't be finished before 3.1 than at least it should be able to load an auth plugin from outside thenickvergessen wrote:Current auth plugins are function-based. So we can not autoload them from any specific files...
/phpBB/includes/auth/
directory. Some sort of way to set the path to the expected auth plugins, through (for example) an additional (optional) parameter in the user class constructor. If you build a system that works next to phpBB and you need to add an auth plugin then you are forced to place it in that directory, which prevents you from creating a fully stand alone package.[edit]
Or get rid of the
include_once
and check for the function.Code: Select all
$method = basename(trim($config['auth_method']));
if (!function_exists($method))
{
include($phpbb_root_path . 'includes/auth/auth_' . $method . '.' . $phpEx);
}
Available on .com
Support Toolkit developer
Support Toolkit developer
Re: [RFC|Merged] Extensions
Where can I look up progress of the extensions work? Are there specific people assigned to it or is it free for all?
- EXreaction
- Registered User
- Posts: 1555
- Joined: Sat Sep 10, 2005 2:15 am
Re: [RFC|Merged] Extensions
There are a couple of pull requests open that need a few issues fixed before a large portion of work can be merged in. A couple of people have been working on it and I've just started looking at it recently (I hope to start working on it soon too).
Are you interested in helping out? I can give you more specific information then.
Are you interested in helping out? I can give you more specific information then.