From karandev43 at gmail.com Mon Mar 2 12:08:56 2015 From: karandev43 at gmail.com (Karan Dev) Date: Mon, 2 Mar 2015 22:38:56 +0530 Subject: [Moin-user] GSoC 2015 aspirant: Validation of Wiki Contents Message-ID: Hi Developers, I am final year computer science engineering student from UPTU. I want to contribute to the organization by becoming a part of GSoC 2015. I know C/C++, Python, Javascript. I went through project ideas of Mailman and found "Validation of Wiki Contents" interesting. Please guide me for the next step. Thank You, Karan Dev Github: https://github.com/karan10 Blog: https://karandevjre.wordpress.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at boddie.org.uk Mon Mar 2 13:02:40 2015 From: paul at boddie.org.uk (Paul Boddie) Date: Mon, 2 Mar 2015 19:02:40 +0100 Subject: [Moin-user] GSoC 2015 aspirant: Validation of Wiki Contents In-Reply-To: References: Message-ID: <201503021902.41387.paul@boddie.org.uk> On Monday 2. March 2015 18.08.56 Karan Dev wrote: > Hi Developers, > > I am final year computer science engineering student from UPTU. I want to > contribute to the organization by becoming a part of GSoC 2015. I know > C/C++, Python, Javascript. > I went through project ideas of Mailman and found "Validation of Wiki > Contents" interesting. Please guide me for the next step. I see that you're also interested in Mailman, but given that Mailman now uses MoinMoin, we should only see that as being a good thing. ;-) I'm not involved in GSoC, but I would recommend the following things to become familiar with Moin development... Clone the Moin repositories. I'm guessing that the focus is on Moin 2.0, but the "Wiki Contents" appears to refer to the official MoinMoin Wiki (or maybe it doesn't - clarification needed!). So, having some familiarity with the Moin 1.9 code might be useful. See: https://moinmo.in/MoinMoinDownload Install Moin on your own computer and play around with it. This is easier if you've cloned the repositories because you can change the code and see the effects immediately, all within a controlled environment. With some experience with Moin content, you can now start to think about the actual GSoC task. The topic seems a bit vague to me, but having been playing with wiki content myself recently (for Mailman, in fact), it's possible to get a feel for the task by looking at how Moin stores its content, what kind of API it provides to access it, and you might get some ideas about extending these things. Anyway, I'll leave it to the mentors to give you some proper advice. :-) Paul From paul at boddie.org.uk Mon Mar 2 13:20:17 2015 From: paul at boddie.org.uk (Paul Boddie) Date: Mon, 2 Mar 2015 19:20:17 +0100 Subject: [Moin-user] Trying to understand notification behaviour in PageEdit.py In-Reply-To: References: Message-ID: <201503021920.18173.paul@boddie.org.uk> On Wednesday 25. February 2015 11.02.13 Philip Colmer wrote: > I've got a nightly script that does a lot of automated changes to > pages and I need to stop the notifications going out because of the > email overhead it is generating. > > Looking at the code for PageEditor.py, I can see that saveText accepts > the keyword notify: > > @keyword notify: if False (default: True), don't send a PageChangedEvent > > Indeed, there are calls to saveText within PageEditor.py where > notify=False is set in the call. Yes, it would seem that the intention is to silence notifications on things like renames, copies, deletions, and so on, replacing the change events with specific events. > However, similarly changing my code so that it sets notify to False > does not have the same effect. > > editor.saveText(text, 0, notify=False) still results in a notification > being sent. What is *really* weird is that if I edit the saveText code > so that the default value for notify is changed, thus: > > notify = kw.get('notify', False) > > I *still* get the notification when my script runs, but if I edit a > page manually, NO notifications are sent. So that sounds like the presence of the keyword argument is enough to cause the notify state to be true. If you hadn't written out the invocation above with the actual notify parameter specified, I might have been inclined to suggest double-checking the provided value because some people less familiar with Python than yourself might accidentally use a string value ("False") and then experience that being interpreted as a true value. But beyond this, I can only suggest introducing some trace statements to really check the value of notify and to confirm the logic. > I've only got one file on my server called PageEditor.py so I am > really bemused as to what the heck is going on here. I've trying > adding logging to the code and, again, the logging only happens when > I'm using moin via the web server. Nothing is output when my script > runs. > > Any suggestions, please? There isn't an old PageEditor.pyc file confusing the situation, is there? Other than that, I might suspect an event handler listening to PagePreSaveEvent, but that isn't a standard thing you'd get with most Moin installations. (I have an extension called ApproveChanges which handles it, though, and I see that it doesn't use notify=False when playing around with page content, but that is pretty exotic stuff.) Paul From philip.colmer at linaro.org Tue Mar 3 11:47:56 2015 From: philip.colmer at linaro.org (Philip Colmer) Date: Tue, 3 Mar 2015 16:47:56 +0000 Subject: [Moin-user] Trying to understand notification behaviour in PageEdit.py In-Reply-To: <201503021920.18173.paul@boddie.org.uk> References: <201503021920.18173.paul@boddie.org.uk> Message-ID: Thanks, Paul, for your comments. I've (finally) managed to find a way to get logging working on PageEditor.py and I've been able to confirm that notify is, indeed, set to False by my code. Upon further thinking, I suspect that the notifications are *not* being caused by my script editing the various pages but, instead, by the fact that my script refreshes attachments on each of the pages. The pages are profile pages for each employee and, as such, link to a photo of the employee. Since I don't have an easy way of checking whether or not the photo has changed, I just updated it every time the script runs. Since the attachment code causes notifications, I think that is the root cause. So I've either got to figure out a clean way of extending the attachment code so that notifications can be disabled in code, like PageEditor allows, or find a better way to handle the photos so that I don't have to keep on refreshing the attachments. Regards Philip On 2 March 2015 at 18:20, Paul Boddie wrote: > On Wednesday 25. February 2015 11.02.13 Philip Colmer wrote: >> I've got a nightly script that does a lot of automated changes to >> pages and I need to stop the notifications going out because of the >> email overhead it is generating. >> >> Looking at the code for PageEditor.py, I can see that saveText accepts >> the keyword notify: >> >> @keyword notify: if False (default: True), don't send a PageChangedEvent >> >> Indeed, there are calls to saveText within PageEditor.py where >> notify=False is set in the call. > > Yes, it would seem that the intention is to silence notifications on things > like renames, copies, deletions, and so on, replacing the change events with > specific events. > >> However, similarly changing my code so that it sets notify to False >> does not have the same effect. >> >> editor.saveText(text, 0, notify=False) still results in a notification >> being sent. What is *really* weird is that if I edit the saveText code >> so that the default value for notify is changed, thus: >> >> notify = kw.get('notify', False) >> >> I *still* get the notification when my script runs, but if I edit a >> page manually, NO notifications are sent. > > So that sounds like the presence of the keyword argument is enough to cause > the notify state to be true. If you hadn't written out the invocation above > with the actual notify parameter specified, I might have been inclined to > suggest double-checking the provided value because some people less familiar > with Python than yourself might accidentally use a string value ("False") and > then experience that being interpreted as a true value. > > But beyond this, I can only suggest introducing some trace statements to > really check the value of notify and to confirm the logic. > >> I've only got one file on my server called PageEditor.py so I am >> really bemused as to what the heck is going on here. I've trying >> adding logging to the code and, again, the logging only happens when >> I'm using moin via the web server. Nothing is output when my script >> runs. >> >> Any suggestions, please? > > There isn't an old PageEditor.pyc file confusing the situation, is there? > Other than that, I might suspect an event handler listening to > PagePreSaveEvent, but that isn't a standard thing you'd get with most Moin > installations. (I have an extension called ApproveChanges which handles it, > though, and I see that it doesn't use notify=False when playing around with > page content, but that is pretty exotic stuff.) > > Paul > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From paul at boddie.org.uk Tue Mar 3 12:28:17 2015 From: paul at boddie.org.uk (Paul Boddie) Date: Tue, 3 Mar 2015 18:28:17 +0100 Subject: [Moin-user] Trying to understand notification behaviour in PageEdit.py In-Reply-To: References: <201503021920.18173.paul@boddie.org.uk> Message-ID: <201503031828.18365.paul@boddie.org.uk> On Tuesday 3. March 2015 17.47.56 Philip Colmer wrote: > Thanks, Paul, for your comments. > > I've (finally) managed to find a way to get logging working on > PageEditor.py and I've been able to confirm that notify is, indeed, > set to False by my code. > > Upon further thinking, I suspect that the notifications are *not* > being caused by my script editing the various pages but, instead, by > the fact that my script refreshes attachments on each of the pages. Yes, I was going to suggest the attachments because the attachment mechanisms also cause events to be sent. > The pages are profile pages for each employee and, as such, link to a > photo of the employee. Since I don't have an easy way of checking > whether or not the photo has changed, I just updated it every time the > script runs. Since the attachment code causes notifications, I think > that is the root cause. I would think so, too. > So I've either got to figure out a clean way of extending the > attachment code so that notifications can be disabled in code, like > PageEditor allows, or find a better way to handle the photos so that I > don't have to keep on refreshing the attachments. It would certainly be nicer to be able to suppress notifications in the attachment API, but that would involve enhancing Moin, and I don't really know what the situation is with regard to getting patches into upstream Moin 1.x these days. An alternative might involve accessing the stored attachments and comparing a checksum of the content with the thing you're considering attaching. Paul From rohangoel0296 at gmail.com Wed Mar 4 23:49:43 2015 From: rohangoel0296 at gmail.com (Rohan Goel) Date: Thu, 5 Mar 2015 10:19:43 +0530 Subject: [Moin-user] GSoC 2015 Projects Message-ID: Hi Developers, I am new to open source coding and wanted to contribute to moin-moin in thee GSoC phase. 2 projects particularly "Improve Issue tracker" and "improve blog" interest me a lot. How do I start my work so that I get to work on these projects during the GSoC? *Thanks and Regards,* *Rohan Goel* *Under Graduate, B.E. (Hons) Computer Science Birla Institute of Technology and Science, Pilani* *K.K Birla Goa Campus* *+91 7722047225 **| rohangoel0296 at gmail.com * -------------- next part -------------- An HTML attachment was scrubbed... URL: From saurabh.kumar at techblue.co.uk Thu Mar 5 11:40:57 2015 From: saurabh.kumar at techblue.co.uk (saurabh) Date: Thu, 05 Mar 2015 22:10:57 +0530 Subject: [Moin-user] email verification for new registration Message-ID: <54F88719.2090104@techblue.co.uk> Hi All, I am new to moinmoin wiki. I have installed it and I want to send a verification mail to newly registered member. Please suggest how to do that. Thanks -- Saurabh Kumar System Admin From karandev43 at gmail.com Fri Mar 6 22:49:42 2015 From: karandev43 at gmail.com (Karan Dev) Date: Sat, 7 Mar 2015 09:19:42 +0530 Subject: [Moin-user] Moin Installation Message-ID: Hi, I am using windows, I have cloned moin 2.0 bitbucket repository to my machine. I set up he moin on my machine. But how to run the moin ? There is no wikiserver.py file in my directory. Please help. Karan Dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From crosseyedpenguin at yahoo.com Sat Mar 7 07:21:08 2015 From: crosseyedpenguin at yahoo.com (Roger Haase) Date: Sat, 7 Mar 2015 12:21:08 +0000 (UTC) Subject: [Moin-user] Moin Installation In-Reply-To: References: Message-ID: <1528324707.199550.1425730868489.JavaMail.yahoo@mail.yahoo.com> Downloading and Installing ? MoinMoin 2.0.0a0 documentation | ? | | ? | ? | ? | ? | ? | | Downloading and Installing ? MoinMoin 2.0.0a0 documentationInstalling Before you can run moin, you need to install it: Using your standard user account, run the following commandfrom the project root directory. | | | | View on moin-20.readthedocs.org | Preview by Yahoo | | | | ? | ? On Friday, March 6, 2015 8:51 PM, Karan Dev wrote: Hi,I am using windows, I have cloned moin 2.0 bitbucket repository to my machine. I set up he moin on my machine. But how to run the moin ? There is no?wikiserver.py file in my directory.Please help. Karan Dev ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From karandev43 at gmail.com Sun Mar 8 04:40:41 2015 From: karandev43 at gmail.com (Karan Dev) Date: Sun, 8 Mar 2015 14:10:41 +0530 Subject: [Moin-user] Moin Installation In-Reply-To: <1528324707.199550.1425730868489.JavaMail.yahoo@mail.yahoo.com> References: <1528324707.199550.1425730868489.JavaMail.yahoo@mail.yahoo.com> Message-ID: Hi, Initially installed the MoinMoin correctly. I was exploring MoinMoin on http://127.0.0.1:8080/ but suddenly I got the following error. [image: Inline image 1] I tried to re-install the MoinMoin but get the same error when I run the server an browse the above url. please help. On Sat, Mar 7, 2015 at 5:51 PM, Roger Haase wrote: > Downloading and Installing ? MoinMoin 2.0.0a0 documentation > > > > > > > > Downloading and Installing ? MoinMoin 2.0.0a0 documentation > > Installing Before you can run moin, you need to install it: Using your > standard user account, run the following command from the project root > directory. > View on moin-20.readthedocs.org > > Preview by Yahoo > > > > > On Friday, March 6, 2015 8:51 PM, Karan Dev > wrote: > > > Hi, > I am using windows, I have cloned moin 2.0 bitbucket repository to my > machine. I set up he moin on my machine. But how to run the moin ? There is > no wikiserver.py file in my directory. > Please help. > > Karan Dev > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 138584 bytes Desc: not available URL: From tw at waldmann-edv.de Mon Mar 9 06:17:37 2015 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Mon, 09 Mar 2015 11:17:37 +0100 Subject: [Moin-user] GSoC 2015 Projects In-Reply-To: References: Message-ID: <54FD7341.4090702@waldmann-edv.de> > I am new to open source coding and wanted to contribute to moin-moin in > thee GSoC phase. 2 projects particularly "Improve Issue tracker" and > "improve blog" interest me a lot. > How do I start my work so that I get to work on these projects during > the GSoC? Best is to join us on IRC #moin-dev (ask specific questions and be patient). On the ideas page, there are quite some linked pages with stuff to read - a lot of questions will be answered by that. Besides that, just use the software you try to improve, you likely will find more specific ideas about what could be done specifically. From tw at waldmann-edv.de Mon Mar 9 06:19:20 2015 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Mon, 09 Mar 2015 11:19:20 +0100 Subject: [Moin-user] email verification for new registration In-Reply-To: <54F88719.2090104@techblue.co.uk> References: <54F88719.2090104@techblue.co.uk> Message-ID: <54FD73A8.6060405@waldmann-edv.de> > I am new to moinmoin wiki. I have installed it and I want to send a > verification mail to newly registered member. > Please suggest how to do that. You need to configure a mail server, user name and password in your wikiconfig.py. From tw at waldmann-edv.de Mon Mar 9 06:22:10 2015 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Mon, 09 Mar 2015 11:22:10 +0100 Subject: [Moin-user] Moin Installation In-Reply-To: References: <1528324707.199550.1425730868489.JavaMail.yahoo@mail.yahoo.com> Message-ID: <54FD7452.5020406@waldmann-edv.de> > Initially installed the MoinMoin correctly. I was exploring MoinMoin on > http://127.0.0.1:8080/ but suddenly I got the following error. > > Inline image 1 That was hardly readable btw. - but I think you could try clearing the cookies for 127.0.0.1:8080 in your browser. And if you search for a bugfix you could contribute: this is it :D From karandev43 at gmail.com Mon Mar 9 13:51:37 2015 From: karandev43 at gmail.com (Karan Dev) Date: Mon, 9 Mar 2015 23:21:37 +0530 Subject: [Moin-user] GSoC 2015 aspirant: Validation of Wiki Contents In-Reply-To: <201503021902.41387.paul@boddie.org.uk> References: <201503021902.41387.paul@boddie.org.uk> Message-ID: Hi, I have set-up MoinMoin and using the software. Please guide me for the next step. What are the beginner level bugs to fix? Also I am interested in GSoC 2015 project "Validation of Wiki Contents". How should I start, need a brief overview of the project. On Mon, Mar 2, 2015 at 11:32 PM, Paul Boddie wrote: > On Monday 2. March 2015 18.08.56 Karan Dev wrote: > > Hi Developers, > > > > I am final year computer science engineering student from UPTU. I want to > > contribute to the organization by becoming a part of GSoC 2015. I know > > C/C++, Python, Javascript. > > I went through project ideas of Mailman and found "Validation of Wiki > > Contents" interesting. Please guide me for the next step. > > I see that you're also interested in Mailman, but given that Mailman now > uses > MoinMoin, we should only see that as being a good thing. ;-) > > I'm not involved in GSoC, but I would recommend the following things to > become > familiar with Moin development... > > Clone the Moin repositories. I'm guessing that the focus is on Moin 2.0, > but > the "Wiki Contents" appears to refer to the official MoinMoin Wiki (or > maybe > it doesn't - clarification needed!). So, having some familiarity with the > Moin > 1.9 code might be useful. See: https://moinmo.in/MoinMoinDownload > > Install Moin on your own computer and play around with it. This is easier > if > you've cloned the repositories because you can change the code and see the > effects immediately, all within a controlled environment. > > With some experience with Moin content, you can now start to think about > the > actual GSoC task. The topic seems a bit vague to me, but having been > playing > with wiki content myself recently (for Mailman, in fact), it's possible to > get > a feel for the task by looking at how Moin stores its content, what kind of > API it provides to access it, and you might get some ideas about extending > these things. > > Anyway, I'll leave it to the mentors to give you some proper advice. :-) > > Paul > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tw at waldmann-edv.de Mon Mar 9 14:11:06 2015 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Mon, 09 Mar 2015 19:11:06 +0100 Subject: [Moin-user] GSoC 2015 aspirant: Validation of Wiki Contents In-Reply-To: References: <201503021902.41387.paul@boddie.org.uk> Message-ID: <54FDE23A.6020102@waldmann-edv.de> > I have set-up MoinMoin and using the software. Please guide me for the > next step. What are the beginner level bugs to fix? Have a look into the issue tracker. Difficulty of some bug depends very much on domain knowledge of who is trying to solve. > Also I am interested in GSoC 2015 project "Validation of Wiki Contents". Please keep in mind that these are ideas which you can use to assemble a project. Not each idea is enough to full a GSOC. Thus, you should make a good and detailled plan (and while doing that, you will be able to project how long solving some stuff will take you). > How should I start, need a brief overview of the project. Think about it. Maybe storage.validation, storage.indexing is interesting to see what metadata we have and what can be validated.