Re: [Mailman-Developers] GSOC 2015 :Mailman Client written in Javascript
Hi Abhishek, If you are going to do this sort of development you will need to become familiar with tools for observing the traffic being sent from the web browser to the web server. What sort of operating system are you using? Right clicking in a browser window that you run your JavaScript code in will generally allow you to bring up Firebug or some similar set of developer tools. There will be a “network” option there somewhere that allows you to see what is being sent between browser and server. You will be able to observe the request headers at that point. You should also install curl and become familiar with using it to send requests to the Mailman REST API. Make sure you have a good look through the curl options because there are lots of helpful options there for looking at headers etc. If you are using Chrome there is a plugin called postman that allows you to send request to REST API’s. This is also helpful. Generally when you are trying to diagnose problems talking to the Mailman REST API you should first use the tools mentioned above to make sure your request is structured properly. Once you are certain you can execute your request properly using one of the tools above, then it is time to try to make your JavaScript code send the same request. If your code is not working, use Firebug to observe the difference between what you are sending and what you made work using the command line tools. If you are doing node.js or some other sort of server executed JavaScript you will need another tool for watching the network traffic. I presume you are running Mailman on a LInux machine. When diagnosing communications between client and server it is helopful on the Linux side to be able to see the network traffic passing to and from the Mailman REST API. To do so, I use the following Linux command: sudo ngrep -W byline -d lo port 7001 This assumes your Mailman REST API is running on port 7001 which it probably is not - I don’t know which port you are running it on - you will have to do a mailman info” command to find out. It will take you a while to become familiar with the output of ngrep and see what is being sent, but it is worth the effort as this is the most direct route to solving many problem. Finally, to solve the current issue that you have with basic authentication against the Mailman REST API you should just search google for +javascript +basic +auth +stackoverflow - surely there must be some good instructions out there somewhere for how to make basic auth work - it should be pretty straightforward. thanks as On 6 Mar 2015, at 7:20 pm, Abhishek Kumar abhi170...@gmail.com wrote: Hi, Sorry for the same last 2 mails. Last one was sent accidentally. Are there any ideas regarding the issues i mentioned in them..? Abhilash..? On Fri, Mar 6, 2015 at 2:38 AM, Abhishek Kumar abhi170...@gmail.com wrote: Hi, Thanks Aanand and Abhilash for the help and suggestions. I need further assistance: I tried to write the connection class's rough javascript code. It works if i bypass the authentication. I have encoded/decoded the authentication data correctly ( as seemed from printing them and what python client generates through b64encode(auth.encode('utf-8')).decode('utf-8') ). If authentication is allowed, the javascript client shows 401, Unauthorized. The REST API requires authentication. This happens because the request.auth on line 68 in src/mailman/rest/root.py is None (see in this http://bazaar.launchpad.net/~mailman-coders/mailman/3.0/view/head:/src/mailman/rest/root.py file) even when i am passing the authentication data in the http header . However there are no issues when i use the python client through shell and everyhing works fine. I was unable to figure out the issue. Any ideas regarding what should i do here..? The js code(uses some nodejs) can be seen here http://pastebin.com/isxPbsNk. Also i need some guidance on what should i do now towards applying for this project. Should i go on writing the javascript version by discussing it with the community..? And regarding what would go into my proposal, my current understanding stands at mainly writing javascript equivalent of everything present in _client.py(mailman client) alongwith documentation and tetsting. What more is required to be done in this project..? On Thu, Mar 5, 2015 at 12:33 PM, Abhilash Raj raj.abhila...@gmail.com wrote: Hi Abhishek, On Wednesday 04 March 2015 07:43 PM, Abhishek Kumar wrote: Hi, I was able to setup the mailman (Core, postorius, mailman.client, postorius_standalone) by downloading them individually. Also with superuser, i can create domains. I have some questions: 1) When i try to create list i get : HTTP Error 500: A server error occurred. Please contact the administrator Try to find out what error is raised, check the logs in var/logs/mailman.log . This error is very common due to the absence to
Re: [Mailman-Developers] GSOC 2015 :Mailman Client written in Javascript
Hi, Thanks for the suggestions Andrew. Using ngrep i found that i was using authentication key in header instead of authorization. After correcting it, the js client runs successfully..! :) I have tried curl in past and will see how it could be helpful to me while working on this task. Now that the authentication is resolved, i want to work forward. Some questions: 1) When we talk about the javascript version, is usage of frameworks like jquery suggested..? Till now i have experience of using javascript only in webpages. But here i am writing a client which is not supposed to run in browser. Please correct me if i am wrong. Currently postorius uses the mailman.client to talk to the rest api. How would it be able to use the client in js..? Or the development js client is for another purpose..? If yes , what's that and how the js client would integrate with the mailman which is python based. 2)I asked this in the 2nd last mail but it got hidden in the duplicate last mail. I need some guidance on what should i do now towards applying for this project. Should i go on writing the javascript version by discussing it with the community..? And regarding what would go into my proposal, my current understanding stands at mainly writing javascript equivalent of everything present in _client.py(mailman client) alongwith documentation and tetsting. What more is required to be done in this project..? On Fri, Mar 6, 2015 at 2:38 PM, Andrew Stuart andrew.stu...@supercoders.com.au wrote: Hi Abhishek, If you are going to do this sort of development you will need to become familiar with tools for observing the traffic being sent from the web browser to the web server. What sort of operating system are you using? Right clicking in a browser window that you run your JavaScript code in will generally allow you to bring up Firebug or some similar set of developer tools. There will be a “network” option there somewhere that allows you to see what is being sent between browser and server. You will be able to observe the request headers at that point. You should also install curl and become familiar with using it to send requests to the Mailman REST API. Make sure you have a good look through the curl options because there are lots of helpful options there for looking at headers etc. If you are using Chrome there is a plugin called postman that allows you to send request to REST API’s. This is also helpful. Generally when you are trying to diagnose problems talking to the Mailman REST API you should first use the tools mentioned above to make sure your request is structured properly. Once you are certain you can execute your request properly using one of the tools above, then it is time to try to make your JavaScript code send the same request. If your code is not working, use Firebug to observe the difference between what you are sending and what you made work using the command line tools. If you are doing node.js or some other sort of server executed JavaScript you will need another tool for watching the network traffic. I presume you are running Mailman on a LInux machine. When diagnosing communications between client and server it is helopful on the Linux side to be able to see the network traffic passing to and from the Mailman REST API. To do so, I use the following Linux command: sudo ngrep -W byline -d lo port 7001 This assumes your Mailman REST API is running on port 7001 which it probably is not - I don’t know which port you are running it on - you will have to do a mailman info” command to find out. It will take you a while to become familiar with the output of ngrep and see what is being sent, but it is worth the effort as this is the most direct route to solving many problem. Finally, to solve the current issue that you have with basic authentication against the Mailman REST API you should just search google for +javascript +basic +auth +stackoverflow - surely there must be some good instructions out there somewhere for how to make basic auth work - it should be pretty straightforward. thanks as On 6 Mar 2015, at 7:20 pm, Abhishek Kumar abhi170...@gmail.com wrote: Hi, Sorry for the same last 2 mails. Last one was sent accidentally. Are there any ideas regarding the issues i mentioned in them..? Abhilash..? On Fri, Mar 6, 2015 at 2:38 AM, Abhishek Kumar abhi170...@gmail.com wrote: Hi, Thanks Aanand and Abhilash for the help and suggestions. I need further assistance: I tried to write the connection class's rough javascript code. It works if i bypass the authentication. I have encoded/decoded the authentication data correctly ( as seemed from printing them and what python client generates through b64encode(auth.encode('utf-8')).decode('utf-8') ). If authentication is allowed, the javascript client shows 401, Unauthorized. The REST API requires authentication. This happens because the request.auth on line 68
Re: [Mailman-Developers] GSOC 2015 :Mailman Client written in Javascript
Hi Abhishek I suggest you find who the mentors are for your project and ask them, mentors are listed on this page: http://wiki.list.org/DEV/Google_Summer_of_Code_2015#Mailman_Client_written_in_Javascript Regarding how to build a JavaScript SDK. For inspiration perhaps you might start by looking at another JavaScript SDK such as and see how they have implemented it. Careful not to copy code from them in case there are license issues. http://aws.amazon.com/sdk-for-node-js/ as On 6 Mar 2015, at 9:05 pm, Abhishek Kumar abhi170...@gmail.com wrote: Hi, Thanks for the suggestions Andrew. Using ngrep i found that i was using authentication key in header instead of authorization. After correcting it, the js client runs successfully..! :) I have tried curl in past and will see how it could be helpful to me while working on this task. Now that the authentication is resolved, i want to work forward. Some questions: 1) When we talk about the javascript version, is usage of frameworks like jquery suggested..? Till now i have experience of using javascript only in webpages. But here i am writing a client which is not supposed to run in browser. Please correct me if i am wrong. Currently postorius uses the mailman.client to talk to the rest api. How would it be able to use the client in js..? Or the development js client is for another purpose..? If yes , what's that and how the js client would integrate with the mailman which is python based. 2)I asked this in the 2nd last mail but it got hidden in the duplicate last mail. I need some guidance on what should i do now towards applying for this project. Should i go on writing the javascript version by discussing it with the community..? And regarding what would go into my proposal, my current understanding stands at mainly writing javascript equivalent of everything present in _client.py(mailman client) alongwith documentation and tetsting. What more is required to be done in this project..? On Fri, Mar 6, 2015 at 2:38 PM, Andrew Stuart andrew.stu...@supercoders.com.au wrote: Hi Abhishek, If you are going to do this sort of development you will need to become familiar with tools for observing the traffic being sent from the web browser to the web server. What sort of operating system are you using? Right clicking in a browser window that you run your JavaScript code in will generally allow you to bring up Firebug or some similar set of developer tools. There will be a “network” option there somewhere that allows you to see what is being sent between browser and server. You will be able to observe the request headers at that point. You should also install curl and become familiar with using it to send requests to the Mailman REST API. Make sure you have a good look through the curl options because there are lots of helpful options there for looking at headers etc. If you are using Chrome there is a plugin called postman that allows you to send request to REST API’s. This is also helpful. Generally when you are trying to diagnose problems talking to the Mailman REST API you should first use the tools mentioned above to make sure your request is structured properly. Once you are certain you can execute your request properly using one of the tools above, then it is time to try to make your JavaScript code send the same request. If your code is not working, use Firebug to observe the difference between what you are sending and what you made work using the command line tools. If you are doing node.js or some other sort of server executed JavaScript you will need another tool for watching the network traffic. I presume you are running Mailman on a LInux machine. When diagnosing communications between client and server it is helopful on the Linux side to be able to see the network traffic passing to and from the Mailman REST API. To do so, I use the following Linux command: sudo ngrep -W byline -d lo port 7001 This assumes your Mailman REST API is running on port 7001 which it probably is not - I don’t know which port you are running it on - you will have to do a mailman info” command to find out. It will take you a while to become familiar with the output of ngrep and see what is being sent, but it is worth the effort as this is the most direct route to solving many problem. Finally, to solve the current issue that you have with basic authentication against the Mailman REST API you should just search google for +javascript +basic +auth +stackoverflow - surely there must be some good instructions out there somewhere for how to make basic auth work - it should be pretty straightforward. thanks as On 6 Mar 2015, at 7:20 pm, Abhishek Kumar abhi170...@gmail.com wrote: Hi, Sorry for the same last 2 mails. Last one was sent accidentally. Are there any ideas regarding the issues i mentioned in them..? Abhilash..? On Fri, Mar 6, 2015 at 2:38 AM, Abhishek Kumar abhi170...@gmail.com wrote:
Re: [Mailman-Developers] GSOC 2015 :Mailman Client written in Javascript
Hi, Sorry for the same last 2 mails. Last one was sent accidentally. Are there any ideas regarding the issues i mentioned in them..? Abhilash..? On Fri, Mar 6, 2015 at 2:38 AM, Abhishek Kumar abhi170...@gmail.com wrote: Hi, Thanks Aanand and Abhilash for the help and suggestions. I need further assistance: I tried to write the connection class's rough javascript code. It works if i bypass the authentication. I have encoded/decoded the authentication data correctly ( as seemed from printing them and what python client generates through b64encode(auth.encode('utf-8')).decode('utf-8') ). If authentication is allowed, the javascript client shows 401, Unauthorized. The REST API requires authentication. This happens because the request.auth on line 68 in src/mailman/rest/root.py is None (see in this http://bazaar.launchpad.net/~mailman-coders/mailman/3.0/view/head:/src/mailman/rest/root.py file) even when i am passing the authentication data in the http header . However there are no issues when i use the python client through shell and everyhing works fine. I was unable to figure out the issue. Any ideas regarding what should i do here..? The js code(uses some nodejs) can be seen here http://pastebin.com/isxPbsNk. Also i need some guidance on what should i do now towards applying for this project. Should i go on writing the javascript version by discussing it with the community..? And regarding what would go into my proposal, my current understanding stands at mainly writing javascript equivalent of everything present in _client.py(mailman client) alongwith documentation and tetsting. What more is required to be done in this project..? On Thu, Mar 5, 2015 at 12:33 PM, Abhilash Raj raj.abhila...@gmail.com wrote: Hi Abhishek, On Wednesday 04 March 2015 07:43 PM, Abhishek Kumar wrote: Hi, I was able to setup the mailman (Core, postorius, mailman.client, postorius_standalone) by downloading them individually. Also with superuser, i can create domains. I have some questions: 1) When i try to create list i get : HTTP Error 500: A server error occurred. Please contact the administrator Try to find out what error is raised, check the logs in var/logs/mailman.log . This error is very common due to the absence to postmap command which mailman uses to create postfix maps. Either you can set your mta to nullmta by adding the following in yout mailman.cfg in var/etc/ [mta] incoming: mailman.mta.null.NullMTA outgoing: mailman.mta.null.NullMTA or simply install postfix. 2) Though i am able to create domain using postorius ui, i am unable to do it by directly using the mailman.client. The development.rst doc says python manage.py mmclient can be used for the purpose. But after doing this no client object is created. I also tried tried the way given mailmanclient/docs/using.rst http://bazaar.launchpad.net/~mailman-coders/mailman.client/trunk/view/head:/src/mailmanclient/docs/using.rst with port 8001. This creates client , but that object is unable to talk to the rest server. Just saying that object is unable to talk to the rest server doesn't help. Make a habit of mentioning the complete traceback from logs when you have errors. Do you get a `Mailman API Error`? If yes, check that your mailman is running. If not, start it using `mailman start` command. 3) Is what i installed using lp:mailman the mailman core..? and this handles the rest requests..? Yes! 4) Is there more documentation online other than that available in the doc folders of the projects..? I searched online but didn't get any developer type documentation. No, the same documentation is available on readthedocs in a html format. 5) If i make any changes in the code, what's the best way to make them reflected in the mailman..? run python setup.py develop for that project..? You don't need to do anything if you ran `python setup.py develop` to set it up first time. If you used `python setup.py install` then you need to run that again to reflect your changes. On Wed, Mar 4, 2015 at 2:41 PM, Abhilash Raj raj.abhila...@gmail.com wrote: On Wednesday 04 March 2015 02:01 PM, Abhishek Kumar wrote: Hi, Using the viurtualenv, i was able to complete the setup guide. But i am required to login at http://localhost:8000/ and there is no option to register. So i logged in using Mozilla persona. But even after that i am not getting any options to create domains and list as described here Are you using mailman-bundler? It does not work right now! For development you'd have to download and setup each projects (Core, postorius, mailman.client, postorius_standalone) from launchpad. Also, only superuser is allowed to create domains. You can create one in django (postorius_standalone) using the command: $ python manage.py createsuperuser Then you have to login as a superuser using the login credentials
Re: [Mailman-Developers] GSOC 2015 :Mailman Client written in Javascript
Hi, Thanks Aanand and Abhilash for the help and suggestions. Issues are solve now. I need further assistance: I tried to write the connection class's rough javascript code. It works if i bypass the authentication. I have encoded/decoded the authentication data correctly ( as seemed from printing them and what python client generates through b64encode(auth.encode('utf-8')).decode('utf-8') ). If authentication is allowed, the javascript client shows 401, Unauthorized. The REST API requires authentication. This is because the request.auth on line 68 in src/mailman/rest/root.py is None (see in this http://bazaar.launchpad.net/~mailman-coders/mailman/3.0/view/head:/src/mailman/rest/root.py file) even when i am passing the authentication data in the http header . However there are no issues when i use the python client through shell and everyhing works fine. I was unable to figure out the issue. Any ideas regarding what should i do here..? The js code(uses some nodejs) can be seen here http://pastebin.com/isxPbsNk. Also i need some guidance on what should i do now towards applying for this project. Should i go on writing the javascript version by discussing it with the community..? And regarding what would go into my proposal, my current understanding stands at mainly writing javascript equivalent of everything present in _client.py(mailman client) alongwith documentation and tetsting. What more is required to be done in this project..? On Thu, Mar 5, 2015 at 12:33 PM, Abhilash Raj raj.abhila...@gmail.com wrote: Hi Abhishek, On Wednesday 04 March 2015 07:43 PM, Abhishek Kumar wrote: Hi, I was able to setup the mailman (Core, postorius, mailman.client, postorius_standalone) by downloading them individually. Also with superuser, i can create domains. I have some questions: 1) When i try to create list i get : HTTP Error 500: A server error occurred. Please contact the administrator Try to find out what error is raised, check the logs in var/logs/mailman.log . This error is very common due to the absence to postmap command which mailman uses to create postfix maps. Either you can set your mta to nullmta by adding the following in yout mailman.cfg in var/etc/ [mta] incoming: mailman.mta.null.NullMTA outgoing: mailman.mta.null.NullMTA or simply install postfix. 2) Though i am able to create domain using postorius ui, i am unable to do it by directly using the mailman.client. The development.rst doc says python manage.py mmclient can be used for the purpose. But after doing this no client object is created. I also tried tried the way given mailmanclient/docs/using.rst http://bazaar.launchpad.net/~mailman-coders/mailman.client/trunk/view/head:/src/mailmanclient/docs/using.rst with port 8001. This creates client , but that object is unable to talk to the rest server. Just saying that object is unable to talk to the rest server doesn't help. Make a habit of mentioning the complete traceback from logs when you have errors. Do you get a `Mailman API Error`? If yes, check that your mailman is running. If not, start it using `mailman start` command. 3) Is what i installed using lp:mailman the mailman core..? and this handles the rest requests..? Yes! 4) Is there more documentation online other than that available in the doc folders of the projects..? I searched online but didn't get any developer type documentation. No, the same documentation is available on readthedocs in a html format. 5) If i make any changes in the code, what's the best way to make them reflected in the mailman..? run python setup.py develop for that project..? You don't need to do anything if you ran `python setup.py develop` to set it up first time. If you used `python setup.py install` then you need to run that again to reflect your changes. On Wed, Mar 4, 2015 at 2:41 PM, Abhilash Raj raj.abhila...@gmail.com wrote: On Wednesday 04 March 2015 02:01 PM, Abhishek Kumar wrote: Hi, Using the viurtualenv, i was able to complete the setup guide. But i am required to login at http://localhost:8000/ and there is no option to register. So i logged in using Mozilla persona. But even after that i am not getting any options to create domains and list as described here Are you using mailman-bundler? It does not work right now! For development you'd have to download and setup each projects (Core, postorius, mailman.client, postorius_standalone) from launchpad. Also, only superuser is allowed to create domains. You can create one in django (postorius_standalone) using the command: $ python manage.py createsuperuser Then you have to login as a superuser using the login credentials given or through persona. -- thanks, Abhilash Raj -- thanks, Abhilash Raj -- Thanks, Abhishek Kumar ___ Mailman-Developers mailing list Mailman-Developers@python.org
Re: [Mailman-Developers] GSOC 2015 :Mailman Client written in Javascript
Hi Abhishek, On Wednesday 04 March 2015 11:35 AM, Abhishek Kumar wrote: Hi Abhilash, I am trying to setup mailman with the guide in the WebUIin5 http://gnu-mailman.readthedocs.org/en/latest/src/mailman/docs/WebUIin5.html: and i got this error on running mailman start : --- Starting Mailman's master runner /usr/bin/python3.4: can't open file '/usr/bin/master': [Errno 2] No such file or directory. Any ideas..? We don't actually install mailman globally on host as it is still in development phase. If you are working inside a virtualenv you should not be needing root permissions. What is the path of your virtualenv? -- thanks, Abhilash Raj signature.asc Description: OpenPGP digital signature ___ Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Developers] GSOC 2015 :Mailman Client written in Javascript
Hi, Using the viurtualenv, i was able to complete the setup guide. But i am required to login at http://localhost:8000/ and there is no option to register. So i logged in using Mozilla persona. But even after that i am not getting any options to create domains and list as described here http://mailman-bundler.readthedocs.org/en/latest/ . Also insatllation of mailman-bundler http://mailman-bundler.readthedocs.org/en/latest/ fails. I tried examples given in http://bazaar.launchpad.net/~mailman-coders/mailman.client/trunk/view/head:/src/mailmanclient/docs/using.rst but they also raise error. What should i do here..? Did i miss any installation or configuration step..? On Wed, Mar 4, 2015 at 12:00 PM, Amit Gupta , B.Tech., Electronics Engg., IIT (BHU), Varanasi (INDIA) amit.gupta.ec...@iitbhu.ac.in wrote: You can follow the following steps, which I used during installation:(do not work as root) sudo apt-get install virtualenv cd virtualenv py3 -p python3.4 #use can use python3 is error occurs source py3/bin/activate bzr branch lp:mailman cd mailman python setup.py install mailman start Hope this helps On Wed, Mar 4, 2015 at 11:50 AM, Amit Gupta , B.Tech., Electronics Engg., IIT (BHU), Varanasi (INDIA) amit.gupta.ec...@iitbhu.ac.in wrote: Have you used virtualenv with python 3 for mailman On Wed, Mar 4, 2015 at 11:48 AM, Abhishek Kumar abhi170...@gmail.com wrote: Hi, Also i have to run python setup.py develop with sudo. Without it, i am getting permission denied errors. On Wed, Mar 4, 2015 at 11:35 AM, Abhishek Kumar abhi170...@gmail.com wrote: Hi Abhilash, I am trying to setup mailman with the guide in the WebUIin5 http://gnu-mailman.readthedocs.org/en/latest/src/mailman/docs/WebUIin5.html : and i got this error on running mailman start : --- Starting Mailman's master runner /usr/bin/python3.4: can't open file '/usr/bin/master': [Errno 2] No such file or directory. Any ideas..? On Tue, Mar 3, 2015 at 10:20 PM, Abhilash Raj raj.abhila...@gmail.com wrote: Hi Abhishek, On Tuesday 03 March 2015 02:51 PM, Abhishek Kumar wrote: Hi, I am Abhishek and am interested in the participating in GSOC with the org. I am good at data-structures and algorithms and have worked with C, C++, Javascript, Python and PHP. I have an internship experience at Microsoft, India I took a look at the documentation of the current mailman client. So basically we want a JavaScript implementation for the examples described in the link mailmanclient /docs/using.rst http://bazaar.launchpad.net/~mailman-coders/mailman.client/trunk/view/head:/src/mailmanclient/docs/using.rst . right..? Please let me what should be my initial steps towards applying for this project. I guess i need to first collect an exhaustive list of the functionality that the new client will have. Also is there any other thing that i need to get myself acquainted with..? To get started with you should get acquainted with source code and try setting up mailman on your own. You can find links to the projects and how to set them up. In case of any doubts you can ask here or on #mailman @ freenode IRC. For the specific project you are interested in, you are right to get to the examples in mailman.client. The simplest explanation would be that we need a JavaScript port of mailman.client. The exact list of APIs that you implement would be a part of your proposal. -- thanks, Abhilash Raj -- Thanks, Abhishek Kumar -- Thanks, Abhishek Kumar ___ Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/amit.gupta.ece13%40iitbhu.ac.in Security Policy: http://wiki.list.org/x/QIA9 -- Amit Gupta , Electronics-13 IIT-Varanasi(BHU) -- Amit Gupta , Electronics-13 IIT-Varanasi(BHU) -- Thanks, Abhishek Kumar ___ Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Developers] GSOC 2015 :Mailman Client written in Javascript
On Wednesday 04 March 2015 02:01 PM, Abhishek Kumar wrote: Hi, Using the viurtualenv, i was able to complete the setup guide. But i am required to login at http://localhost:8000/ and there is no option to register. So i logged in using Mozilla persona. But even after that i am not getting any options to create domains and list as described here Are you using mailman-bundler? It does not work right now! For development you'd have to download and setup each projects (Core, postorius, mailman.client, postorius_standalone) from launchpad. Also, only superuser is allowed to create domains. You can create one in django (postorius_standalone) using the command: $ python manage.py createsuperuser Then you have to login as a superuser using the login credentials given or through persona. -- thanks, Abhilash Raj signature.asc Description: OpenPGP digital signature ___ Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Developers] GSOC 2015 :Mailman Client written in Javascript
Hi Abhishek, On Tuesday 03 March 2015 02:51 PM, Abhishek Kumar wrote: Hi, I am Abhishek and am interested in the participating in GSOC with the org. I am good at data-structures and algorithms and have worked with C, C++, Javascript, Python and PHP. I have an internship experience at Microsoft, India I took a look at the documentation of the current mailman client. So basically we want a JavaScript implementation for the examples described in the link mailmanclient /docs/using.rst http://bazaar.launchpad.net/~mailman-coders/mailman.client/trunk/view/head:/src/mailmanclient/docs/using.rst. right..? Please let me what should be my initial steps towards applying for this project. I guess i need to first collect an exhaustive list of the functionality that the new client will have. Also is there any other thing that i need to get myself acquainted with..? To get started with you should get acquainted with source code and try setting up mailman on your own. You can find links to the projects and how to set them up. In case of any doubts you can ask here or on #mailman @ freenode IRC. For the specific project you are interested in, you are right to get to the examples in mailman.client. The simplest explanation would be that we need a JavaScript port of mailman.client. The exact list of APIs that you implement would be a part of your proposal. -- thanks, Abhilash Raj signature.asc Description: OpenPGP digital signature ___ Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Developers] GSOC 2015 :Mailman Client written in Javascript
Hi Abhilash, I am trying to setup mailman with the guide in the WebUIin5 http://gnu-mailman.readthedocs.org/en/latest/src/mailman/docs/WebUIin5.html: and i got this error on running mailman start : --- Starting Mailman's master runner /usr/bin/python3.4: can't open file '/usr/bin/master': [Errno 2] No such file or directory. Any ideas..? On Tue, Mar 3, 2015 at 10:20 PM, Abhilash Raj raj.abhila...@gmail.com wrote: Hi Abhishek, On Tuesday 03 March 2015 02:51 PM, Abhishek Kumar wrote: Hi, I am Abhishek and am interested in the participating in GSOC with the org. I am good at data-structures and algorithms and have worked with C, C++, Javascript, Python and PHP. I have an internship experience at Microsoft, India I took a look at the documentation of the current mailman client. So basically we want a JavaScript implementation for the examples described in the link mailmanclient /docs/using.rst http://bazaar.launchpad.net/~mailman-coders/mailman.client/trunk/view/head:/src/mailmanclient/docs/using.rst . right..? Please let me what should be my initial steps towards applying for this project. I guess i need to first collect an exhaustive list of the functionality that the new client will have. Also is there any other thing that i need to get myself acquainted with..? To get started with you should get acquainted with source code and try setting up mailman on your own. You can find links to the projects and how to set them up. In case of any doubts you can ask here or on #mailman @ freenode IRC. For the specific project you are interested in, you are right to get to the examples in mailman.client. The simplest explanation would be that we need a JavaScript port of mailman.client. The exact list of APIs that you implement would be a part of your proposal. -- thanks, Abhilash Raj -- Thanks, Abhishek Kumar ___ Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Developers] GSOC 2015 :Mailman Client written in Javascript
Hi, Also i have to run python setup.py develop with sudo. Without it, i am getting permission denied errors. On Wed, Mar 4, 2015 at 11:35 AM, Abhishek Kumar abhi170...@gmail.com wrote: Hi Abhilash, I am trying to setup mailman with the guide in the WebUIin5 http://gnu-mailman.readthedocs.org/en/latest/src/mailman/docs/WebUIin5.html: and i got this error on running mailman start : --- Starting Mailman's master runner /usr/bin/python3.4: can't open file '/usr/bin/master': [Errno 2] No such file or directory. Any ideas..? On Tue, Mar 3, 2015 at 10:20 PM, Abhilash Raj raj.abhila...@gmail.com wrote: Hi Abhishek, On Tuesday 03 March 2015 02:51 PM, Abhishek Kumar wrote: Hi, I am Abhishek and am interested in the participating in GSOC with the org. I am good at data-structures and algorithms and have worked with C, C++, Javascript, Python and PHP. I have an internship experience at Microsoft, India I took a look at the documentation of the current mailman client. So basically we want a JavaScript implementation for the examples described in the link mailmanclient /docs/using.rst http://bazaar.launchpad.net/~mailman-coders/mailman.client/trunk/view/head:/src/mailmanclient/docs/using.rst . right..? Please let me what should be my initial steps towards applying for this project. I guess i need to first collect an exhaustive list of the functionality that the new client will have. Also is there any other thing that i need to get myself acquainted with..? To get started with you should get acquainted with source code and try setting up mailman on your own. You can find links to the projects and how to set them up. In case of any doubts you can ask here or on #mailman @ freenode IRC. For the specific project you are interested in, you are right to get to the examples in mailman.client. The simplest explanation would be that we need a JavaScript port of mailman.client. The exact list of APIs that you implement would be a part of your proposal. -- thanks, Abhilash Raj -- Thanks, Abhishek Kumar -- Thanks, Abhishek Kumar ___ Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9