|
From: Seth C. <se...@eu...> - 2001-07-19 04:57:03
|
Running recent cvs snapshot.... the more I play, the more little things I like, and the more little things I think about... Some aren't important, and seem to have been discussed on the Wiki as future Suggestions, such as RegisterInterest and AppendOnly (no clue if those are valid pages, just the concept as I recall) The one real useful thing I want ASAP:: If I log in with the admin userid, it nicely changes the RecentChanges entry from being the IP (or rather the lookedup name) to my userid which if WikiWorded is a nice link... But it only works for the single admin account, not other users. According to the code, it's not complete yet, so the real question is: how long until it's finished? If all it involves is setting a cookie, what's holding it up? Seth |
|
From: Seth C. <se...@eu...> - 2001-07-20 03:09:51
|
Reini Urban wrote: > I added this experimentally but I did too much and so it doesn't work. > I also added arbitrary user events to support email notification for a > list of pages. I guess this broke things. > but the user cookie with jeff's user class works fine. > http://xarch.tu-graz.ac.at/home/rurban/acadwiki-1.3.5pre/viewsrc.php?show=li b/userauth.php#src > http://xarch.tu-graz.ac.at/home/rurban/acadwiki-1.3.6pre/viewsrc.php?show=li b/stdlib.php#src I unsuccesfully attempted to diff these with the existing userauth and stdlib files... It's clear that a lot of the changes you made are for the email and notify pieces... but when I attempted to figure out how to make just the cookie work, it didn't and it broke stuff enough that I went back to the original userauth. stdlib didn't seem to need much changing if any. Someone who understands this better than me (not hard) want to take a quick crack at it? It looks as if it isn't a major thing, just set the cookie correctly (via setprefs&userid ) and then read it back. Maybe I'm wrong, but it looks like everything else in stdlib will work so long as a valid userid is there. How much of the auth stuff needs to be there for this? Having anyone be able to sign via RecentChanges is a really nice thing... Adding a single line to UserPreferences such as [Set UserID | phpwiki:?action=setprefs&userid=40()] should be possible, right? Seth |
|
From: Seth C. <se...@eu...> - 2001-07-20 03:10:08
|
Reini Urban wrote: > I added this experimentally but I did too much and so it doesn't work. > I also added arbitrary user events to support email notification for a > list of pages. I guess this broke things. > but the user cookie with jeff's user class works fine. > http://xarch.tu-graz.ac.at/home/rurban/acadwiki-1.3.5pre/viewsrc.php?show=li b/userauth.php#src > http://xarch.tu-graz.ac.at/home/rurban/acadwiki-1.3.6pre/viewsrc.php?show=li b/stdlib.php#src I unsuccesfully attempted to diff these with the existing userauth and stdlib files... It's clear that a lot of the changes you made are for the email and notify pieces... but when I attempted to figure out how to make just the cookie work, it didn't and it broke stuff enough that I went back to the original userauth. stdlib didn't seem to need much changing if any. Someone who understands this better than me (not hard) want to take a quick crack at it? It looks as if it isn't a major thing, just set the cookie correctly (via setprefs&userid ) and then read it back. Maybe I'm wrong, but it looks like everything else in stdlib will work so long as a valid userid is there. How much of the auth stuff needs to be there for this? Having anyone be able to sign via RecentChanges is a really nice thing... Adding a single line to UserPreferences such as [Set UserID | phpwiki:?action=setprefs&userid=40()] should be possible, right? Seth |
|
From: Reini U. <ru...@x-...> - 2001-07-19 09:37:12
|
hmm, I added this experimentally but I did too much and so it doesn't work. I also added arbitrary user events to support email notification for a list of pages. I guess this broke things. but the user cookie with jeff's user class works fine. right now i'm fighting with zope to get a project finished so I cannot work much in phpwiki. http://xarch.tu-graz.ac.at/home/rurban/acadwiki-1.3.5pre/viewsrc.php?show=lib/userauth.php#src http://xarch.tu-graz.ac.at/home/rurban/acadwiki-1.3.6pre/viewsrc.php?show=lib/stdlib.php#src Seth Cohn schrieb: > Running recent cvs snapshot.... the more I play, the more little things I > like, and the more little things I think about... > Some aren't important, and seem to have been discussed on the Wiki as future > Suggestions, such as RegisterInterest > and AppendOnly (no clue if those are valid pages, just the concept as I > recall) > > The one real useful thing I want ASAP:: > > If I log in with the admin userid, it nicely changes the RecentChanges entry > from being the IP (or rather the lookedup name) to my userid which if > WikiWorded is a nice link... But it only works for the single admin > account, not other users. > > According to the code, it's not complete yet, so the real question is: how > long until it's finished? If all it involves is setting a cookie, what's > holding it up? -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |