|
From: Alvaro d. C. <ac...@ba...> - 2001-03-13 13:59:02
Attachments:
admin.diff
|
Hi! In this message a send a patch to the admin.pl plugin that shows how we can migrate from seclev to acls control system. I use a flag, myslash, to detect if the user hs activated her myslash. If not, the user doesn't have ACLs so it can't use admin.pl. This is a thing that we need to change. I have make little modifications in editStory to add the ACL support. And I think these changes aren't neccesary if a user receives a section param when it activates the myslash. More work are needed to make it cleaner, but I think that this patch shows the ide very well. Cheers -- Alvaro =================================================== Alvaro del Castillo San Félix ac...@ba... Barrapunto.com |
|
From: Chris N. <pu...@po...> - 2001-03-13 14:16:40
|
At 14:57 +0100 2001.03.13, Alvaro del Castillo wrote: >I use a flag, myslash, to detect if the user hs activated her myslash. What is "myslash" in this example? -- Chris Nandor pu...@po... http://pudge.net/ Open Source Development Network pu...@os... http://osdn.com/ |
|
From: Alvaro d. C. <ac...@ba...> - 2001-03-13 15:12:08
|
Chris Nandor wrote: > > At 14:57 +0100 2001.03.13, Alvaro del Castillo wrote: > >I use a flag, myslash, to detect if the user hs activated her myslash. > > What is "myslash" in this example? When a user goes to the users.pl can change a check button to activate her myslash. Then, this param is put to value 1 and it shows that this user needs a more complicated interface in order to access to her myslash, to control the ACLs for it, to edit a slashbox of her myslash, to put new stories or insert stories from other sections in myslash ... all this functionality goes in a user menu bar (a simplified admin menu bar). Bye -- Alvaro > > -- > Chris Nandor pu...@po... http://pudge.net/ > Open Source Development Network pu...@os... http://osdn.com/ > > _______________________________________________ > Slashcode-development mailing list > Sla...@li... > http://lists.sourceforge.net/lists/listinfo/slashcode-development -- =================================================== Alvaro del Castillo San Félix ac...@ba... Barrapunto.com |
|
From: Eric D. <eri...@ja...> - 2001-03-13 19:08:57
|
Ok, I seemly successfully transfered my slash 1.0.9 site to Bender 1.1.5. It was not easy........and I have a few little quirks....... new stories are not showing up. I think slashd is running. Doing a ps ax reveals.... 97435 p2 I 0:00.02 -su -c TZ=GMT /usr/local/slash/sbin/slashd slash (sh) 97436 p2 I 0:32.81 /usr/bin/perl -w /usr/local/slash/sbin/slashd slash But nothing is showing up on the main page, and it's been over 2 hours, and I have shutdown the slashd and apache and restarted them, and still..........no new articles........ Anonymous users are seeing only 2 stories on the mainpage......not the like 10 they used to. Where do you fix that? How does one keep Bender updated via CVS and would that pose a problem with multiple sites? |
|
From: Chris N. <pu...@po...> - 2001-03-13 19:26:44
|
At 11:12 -0800 2001.03.13, Eric Dannewitz wrote: >Ok, I seemly successfully transfered my slash 1.0.9 site to Bender 1.1.5. It >was not easy........and I have a few little quirks....... > >new stories are not showing up. This bug has been reported and fixed. >How does one keep Bender updated via CVS and would that pose a problem with >multiple sites? I keep it in /usr/src/slash, and do `cvs update -dP`, then `make; make istall`. No worries. The caveats: * If you did not install-slashsite with symlinks in htdocs (one of the options in install-slashsite), then your .pl files, etc. will not be upgraded. * If there are any changes to httpd/slash.conf or site/sitename/sitename.conf (in install-slashsite), those will not get carried over automatically. * Your templates will not be upgraded. You need to do this by hand. What I do is dump them (using template-tool) to a directory (read the docs on template-tool), and then run something like: diff -Bu ./ /usr/local/slash/themes/slashcode/templates \ | grep -v '^Only in ' | less Then replace "/usr/local/slash/themes/slashcode/templates" with "/usr/local/slash/plugins/PLUGIN/templates", where * is Admin, Search, Ladybug, CheesyPortal, Journal, and any other plugin you've installed that has templates. Then you see what changes, and you can make changes appropriately. * After done upgrading, restart slashd and Apache. I guess those are the big things. If you installed with symlinks, then there's just two things to do: upgrade any Apache .conf changes as noted above, and upgrade your templates. -- Chris Nandor pu...@po... http://pudge.net/ Open Source Development Network pu...@os... http://osdn.com/ |
|
From: Eric D. <eri...@ja...> - 2001-03-13 19:37:35
|
Chris Nandor wrote: > At 11:12 -0800 2001.03.13, Eric Dannewitz wrote: > >Ok, I seemly successfully transfered my slash 1.0.9 site to Bender 1.1.5. It > >was not easy........and I have a few little quirks....... > > > >new stories are not showing up. > > This bug has been reported and fixed. > > >How does one keep Bender updated via CVS and would that pose a problem with > >multiple sites? > > I keep it in /usr/src/slash, and do `cvs update -dP`, then `make; make > istall`. No worries. The caveats: Ok, for those of us who don't use cvs..........cvs update-dP doesn't seem to do anything.......:-( |
|
From: Chris N. <pu...@po...> - 2001-03-13 19:43:05
|
At 11:40 -0800 2001.03.13, Eric Dannewitz wrote: >Chris Nandor wrote: > >> At 11:12 -0800 2001.03.13, Eric Dannewitz wrote: >> >Ok, I seemly successfully transfered my slash 1.0.9 site to Bender >>1.1.5. It >> >was not easy........and I have a few little quirks....... >> > >> >new stories are not showing up. >> >> This bug has been reported and fixed. >> >> >How does one keep Bender updated via CVS and would that pose a problem with >> >multiple sites? >> >> I keep it in /usr/src/slash, and do `cvs update -dP`, then `make; make >> istall`. No worries. The caveats: > >Ok, for those of us who don't use cvs..........cvs update-dP doesn't seem >to do >anything.......:-( You need to check it out first. See http://cvs.slashcode.com/. -- Chris Nandor pu...@po... http://pudge.net/ Open Source Development Network pu...@os... http://osdn.com/ |
|
From: Eric D. <eri...@ja...> - 2001-03-13 20:45:38
|
ok, that fixed it. Stories are updating. Thanks! |
|
From: Eric D. <eri...@ja...> - 2001-03-14 09:10:04
|
In the apache conf files for each site created, like /site/www.slash.com/www.slash.com.conf there is a option there to turn on PerlTransHandler Slash::Apache::IndexHandler. I decided to try that, and 9 times out of 10 if say, I was messing around in the Admin area, and clicked on HOME, I end up on a page that has NO stories and just the left blocks. If I say index.pl at the end of the path, it loads fine........ Is that a problem? Turning off all those directives killed the problem.......... |
|
From: Chris N. <pu...@po...> - 2001-03-14 12:50:17
|
At 01:13 -0800 2001.03.14, Eric Dannewitz wrote: >In the apache conf files for each site created, like >/site/www.slash.com/www.slash.com.conf there is a >option there to turn on PerlTransHandler Slash::Apache::IndexHandler. > >I decided to try that, and 9 times out of 10 if say, I was messing around >in the >Admin area, and clicked on HOME, I end up on a page that has NO stories >and just >the left blocks. If I say index.pl at the end of the path, it loads >fine........ > >Is that a problem? Turning off all those directives killed the >problem.......... Sounds like index.shtml is not being populated for you. Is slashd still running? -- Chris Nandor pu...@po... http://pudge.net/ Open Source Development Network pu...@os... http://osdn.com/ |
|
From: Eric D. <eri...@ja...> - 2001-03-14 18:17:23
|
> Sounds like index.shtml is not being populated for you. Is slashd still > running? > Thats a good question. It seems maybe there are too many slash daemons running. Here is a ps ax. I have 5 slash sites running. 76955 ?? R 0:04.56 /usr/bin/perl -w /usr/local/slash/site/www.jazz-sax.com/htdoc 29673 p0- IW 0:00.00 -su -c TZ=GMT /usr/local/slash/sbin/slashd slash (sh) 29684 p0- IW 0:00.00 -su -c TZ=GMT /usr/local/slash/sbin/slashd jazzflute (sh) 29692 p0- IW 0:00.00 -su -c TZ=GMT /usr/local/slash/sbin/slashd drumtalk (sh) 29700 p0- IW 0:00.00 -su -c TZ=GMT /usr/local/slash/sbin/slashd jazzclarinet (sh) 29701 p0- S 3:46.19 /usr/bin/perl -w /usr/local/slash/sbin/slashd slash 29709 p0- IW 0:00.00 -su -c TZ=GMT /usr/local/slash/sbin/slashd ericsrants (sh) 29710 p0- I 1:28.57 /usr/bin/perl -w /usr/local/slash/sbin/slashd jazzflute 29712 p0- I 0:38.39 /usr/bin/perl -w /usr/local/slash/sbin/slashd drumtalk 29714 p0- I 0:38.73 /usr/bin/perl -w /usr/local/slash/sbin/slashd ericsrants 29715 p0- I 0:39.20 /usr/bin/perl -w /usr/local/slash/sbin/slashd jazzclarinet and I started the slash daemon as root.............. |