Favicon

Re: HELP: mgd_update_article - Authentication in php?

Marcin Soltysiak wrote:
>>I want to run the "mgd_update_article" function inside a php script
>>hosted in midgard.
>> 
>>The problem is that the function results in a "Access Denied" error for
>>the article that I want to update. This is obviously because the user
>>running the script needs "write" access to the requested article. 
>> 
>>The question is how do I give an anonymous user write access to a given
>>article? The user must be anonymous because I am calling 
>>the script from a Cron job ! 
>> 
>>Alternatively I need to get the Cron to login to Midgard somehow, or
>>login as a particular user inside the php script. Can anybody help?
> 
> 
> <?
> mgd_auth_midgard("user+SG","password",0);
> $midgard=mgd_get_midgard();
> 
> do_what_you_want($with,$parameters);
> 
> ?>
> 
> But beware - this cannot be a shell script. It has to be parsed by Apache and mod_midgard so it could be wise to
restrict access to the page  to localhost only. And then call
> 
> * * * * * wget -q http://www.com/you_magic_page.html
Or
lynx -auth=user+SG:password -source http://www.com/you_magic_page.html
(Continue reading)

Marcin Soltysiak | 1 Oct 11:58
Picon
Gravatar

Re: HELP: mgd_update_article - Authentication in php?


> > * * * * * wget -q http://www.com/you_magic_page.html
> Or
> lynx -auth=user+SG:password -source http://www.com/you_magic_page.html

Providing the page is set to require authentication

Solt
Favicon

Re: HELP: mgd_update_article - Authentication in php?

Marcin Soltysiak wrote:
>>>* * * * * wget -q http://www.com/you_magic_page.html
>>
>>Or
>>lynx -auth=user+SG:password -source http://www.com/you_magic_page.html
Yes, of course. But sometimes it needed.
pp | 2 Oct 10:48

ML and PO againa and again

HI all!

I do not know how to check if xml files were updated correct for new 
features - Multilang and PageOwner.
I tried with Spider which seems to loose 50% of pages , and with Aegir
which has ~2,4MB and after update ~1,6MB.
I can log in to both applications , but this is my first installation of Aegir
and I do not know completely what is correct and what is wrong.

Sory for such brief and short explanation without any more codes for 
making updates but warm breath of customers grows up on my neck ;)

Piotras
David Schmitter | 2 Oct 15:48
Picon

Re: ML and PO againa and again

Hi Piotras

do you mean you ran package-upgrade.pl and the resulting archive was 
smaller than the original one? if so, could you send me both archives?

David

pp wrote:
> HI all!
> 
> I do not know how to check if xml files were updated correct for new 
> features - Multilang and PageOwner.
> I tried with Spider which seems to loose 50% of pages , and with Aegir
> which has ~2,4MB and after update ~1,6MB.
> I can log in to both applications , but this is my first installation of Aegir
> and I do not know completely what is correct and what is wrong.
> 
> Sory for such brief and short explanation without any more codes for 
> making updates but warm breath of customers grows up on my neck ;)
> 
> Piotras
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
> 
> 

--

-- 
(Continue reading)

dev | 2 Oct 17:29
Favicon
Gravatar

[Aegir CMS 0000576]: Failure to delete articles with attachments


A BUGNOTE has been added to this bug.
=============================================================
http://bugs.midgard-project.org/view_bug_page.php?f_id=0000576
=============================================================
Reporter:             bergie
Handler:              
=============================================================
Project:              Aegir CMS
Bug ID:               0000576
Category:             core
Reproducibility:      always
Severity:             minor
Priority:             none
Status:               new
=============================================================
Date Submitted:       26 Sep 03 09:13 CEST
Last Modified:        02 Oct 03 17:29 CEST
=============================================================
Summary:              Failure to delete articles with attachments
Description: 
Aegir fails to delete articles that have attachments stored to them with
error message "Object does not exist".

If the attachment is first deleted manually in the Attachments tab the
article can be deleted normally.

In my test case "Store images to articles" was selected for the topic.
=============================================================

(Continue reading)

dev | 2 Oct 17:32
Favicon
Gravatar

[Aegir CMS 0000449]: Upgrade to NemeinAuthentication 1.5.5


The following bug has been CLOSED
=============================================================
http://bugs.midgard-project.org/view_bug_page.php?f_id=0000449
=============================================================
Reporter:             bergie
Handler:              bergie
=============================================================
Project:              Aegir CMS
Bug ID:               0000449
Category:             core
Reproducibility:      always
Severity:             feature
Priority:             none
Status:               closed
=============================================================
Date Submitted:       22 Apr 03 13:55 CEST
Last Modified:        02 Oct 03 17:32 CEST
=============================================================
Summary:              Upgrade to NemeinAuthentication 1.5.5
Description: 
Upgrade Aegir CMS to NemeinAuthentication 1.5.5 to fix some potential auth
problems.

Removal of hack_auth_session() will need a workaround.

http://authentication.nemein.net/Download/
=============================================================

-------------------------------------------------------------
(Continue reading)

dev | 2 Oct 17:32
Favicon
Gravatar

[Aegir CMS 0000554]: login error message would be nice


The following bug has been CLOSED
=============================================================
http://bugs.midgard-project.org/view_bug_page.php?f_id=0000554
=============================================================
Reporter:             matthias
Handler:              bergie
=============================================================
Project:              Aegir CMS
Bug ID:               0000554
Category:             core
Reproducibility:      always
Severity:             feature
Priority:             none
Status:               closed
=============================================================
Date Submitted:       02 Sep 03 19:45 CEST
Last Modified:        02 Oct 03 17:32 CEST
=============================================================
Summary:              login error message would be nice
Description: 
It's hard to tell what went wrong during the login process.
=============================================================

-------------------------------------------------------------
 solt - 23 Sep 03 18:37 CEST 
-------------------------------------------------------------
ok.  Return message from NemeinAuth library is put to Login Page as GET var
names $message by aegir_logout() function. Plesa check if it is ok, if so I
will close the bug
(Continue reading)

dev | 2 Oct 17:32
Favicon
Gravatar

[Aegir CMS 0000556]: Insert image function not working in MSHTML editor


The following bug has been CLOSED
=============================================================
http://bugs.midgard-project.org/view_bug_page.php?f_id=0000556
=============================================================
Reporter:             henrik
Handler:              bergie
=============================================================
Project:              Aegir CMS
Bug ID:               0000556
Category:             core
Reproducibility:      always
Severity:             minor
Priority:             normal
Status:               closed
=============================================================
Date Submitted:       04 Sep 03 22:18 CEST
Last Modified:        02 Oct 03 17:32 CEST
=============================================================
Summary:              Insert image function not working in MSHTML editor
Description: 
Insert image function not working in MSHTML editor if Image Gallery is not
initialized.
=============================================================

-------------------------------------------------------------
 bergie - 22 Sep 03 13:21 CEST 
-------------------------------------------------------------
I haven't been able to duplicate this one

(Continue reading)

dev | 2 Oct 17:45
Favicon
Gravatar

[Aegir CMS 0000572]: Remove FQDN test from host creation


The following bug has been CLOSED
=============================================================
http://bugs.midgard-project.org/view_bug_page.php?f_id=0000572
=============================================================
Reporter:             bergie
Handler:              solt
=============================================================
Project:              Aegir CMS
Bug ID:               0000572
Category:             core
Reproducibility:      always
Severity:             feature
Priority:             none
Status:               closed
=============================================================
Date Submitted:       23 Sep 03 20:19 CEST
Last Modified:        02 Oct 03 17:45 CEST
=============================================================
Summary:              Remove FQDN test from host creation
Description: 
Would be nice if Aegir would allow to create new hosts with anyname instead
just www.domain.tld

This is needed when creating hosts to an IP address, something  like
new.domain.tld or just hostname (for Intranets).

Now you have to first create the host as www.domain.tld and then rename it
:-(
=============================================================
(Continue reading)


Gmane