[dokuwiki] Re: Hello, a couple questions. :)

  • From: Eddie Parker <eddie@xxxxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 02 Jun 2005 09:03:39 -0600

Hi Bob!

I'm currently working on allowing password changes. I had it working a while ago, but some changes to DokuWiki caused it to cease working. I've gotten it mostly working again. The user can now change their information, like address, email address, phone number, etc. The password change doesn't currently work, but I'm REALLY close. Here's my patch.

Wow! I had no idea someone was so close to implementing it. Great news!

Would you like some help with this issue, or are you OK finishing it off yourself? I'm quite interested in this change, and wouldn't have a problem helping. :)

After I get password changes working again, I had planned to create a page that 
lets people view a table of all the users and their contact info.

You can see what I've got working at http://bobbaddeley.com/wiki Just follow 
the instructions on the page.

I like the xml idea, but colons seems to be working just fine for now.



Fair enough. My idea for XML was just to make it a bit more standard - but if it's working, I'm fine with that too! :)

Bob Baddeley



P.S. Great name! :)

-------Original Message-------


From: "Eddie Parker" <eddie@xxxxxxxxxxxxxxxxx>
Subject: [dokuwiki] Hello, a couple questions. :)
Sent: Jun 01 2005 20:07:50

Hello,

I understand this to be a development centric e-mail list for DokuWiki,
so that's why I'm posing these questions here. :) Please shoo me to the
appropriate place, if this is not in fact the right one.

Anyhow, the reason I'm here is because I would like to implement some
code in DokuWiki, particularly I would like to fix issue #45
(http://bugs.splitbrain.org/?do=details&id=45): "Password Change".

To do this, I could see a good cause for refactoring a bit of the ACL
stuff, to make it a bit more generic, etc, but I wanted to see what's
preferred, since it's obviously not my code base. :)

Anyhow, the root of my change is this: I want to allow users to edit
their preferences, which at this time is just e-mail, username, and
password. Pretty trivial to do, in terms of getting the data, displaying
it, etc. No problem.

Looking a little deeper however, the ACL that's used by default
(auth_plain) stores things in just a plaintext file.

The format of the plaintext file isn't too bad, I believe it's colon
separated or some such, but I was thinking this would be a great place
to put XML in, especially since PHP has a very nifty
xml_parse_into_struct, to get what we need, and writing it out is even
simpler.

That said, I was looking into how I would either a) 'replace' auth_plain
to use this functionality, or b) create an analogue to auth_plain
(auth_xml?), and I noticed that there are no classes in use anywhere!
(Near as I could see). Out of curiousity, is that policy, or preference?
Just so I know what I should/can/can't do. :)

Also, on a similar note: what are thoughts on using PHPUnit?
(http://pear.php.net/manual/en/packages.php.phpunit.intro.php) I haven't
had much experience with PHPUnit, but I'm a huge advocate of PyUnit,
Boost::Test, JsUnit, etc, and I wouldn't mind hooking my things up to
proper unit testing.

Anyhow, this e-mail has gotten a bit out of hand. In summary:

a) Is this the place to ask questions related to dev work? (I'm pretty
sure it is. :))
b) Anybody mind if I pick up the #45 bug, if I can manage the time for it?
c) Anyone have any complaints on how I'd like to go about making the
auth_ change?
d) Can I introduce some new concepts (allowing they're not there, like I
think they're not?)? (Things like classes, PHPUnit, etc?)

Anyhow, hope I'm not asking too much. I'm eager to help this good piece
of software grow. :)

-e-
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist


-------Original Message-------



Other related posts: