[Mailman-Developers] GSOC:Populating two default styles

2016-06-23 Thread Harshit Bansal
buteError: No section or category named db. It seems that the database layer hasn't got initialized by the time this event was fired. Is there any way of fixing this or any other way using which I can populate the database when mailman starts? Thanks, Harshit Bansal __

Re: [Mailman-Developers] New Interface

2016-06-04 Thread Harshit Bansal
cribed by you then how would I represent that idea in REST and Postorius? Thanks, Harshit Bansal ___ Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org

Re: [Mailman-Developers] New Interface

2016-06-04 Thread Harshit Bansal
m any other base style. In case the style inherits from some other base style then the dictionary(argument to the constructor) will contain only those attributes which the user wants to change and rest of the attributes would be taken from the parent style. Also could you suggest some default va

[Mailman-Developers] New Interface

2016-06-01 Thread Harshit Bansal
here: https://gitlab.com/_Harshit_/mailman/commit/6c94e220cd5f5ba857fa003bdc17919ca6f9217b Please provide your comments/suggestions on whether should I continue with this or not. Thanks, Harshit Bansal. ___ Mailman-Developers mailing list Mailman-Developers@python.or

[Mailman-Developers] Some Doubtful Attributes

2016-05-26 Thread Harshit Bansal
: mlist.topics_userinterest = {} But the IMailinglist doesn't contain any such attribute. Thanks, Harshit Bansal ___ Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x

[Mailman-Developers] Code Duplicacy

2016-05-24 Thread Harshit Bansal
it or is it fine? One approach that I am able to think of is to write one seperate interface containning all the styleable attributes and implement that interface both in src/model/mailinglist.py and src/model/styles.py. Thanks, Harshit Bansal. ___

Re: [Mailman-Developers] Authorization System in Core

2016-05-21 Thread Harshit Bansal
Hi Simon, This is the discussion that I was referring to: Harshit Bansal writes: > I think the "Permissions Systems" would have nothing to do with the > core. It would be related to Postorius. We will have to create a style > model separately in Postorius which would store

[Mailman-Developers] Authorization System in Core

2016-05-21 Thread Harshit Bansal
currently there is no authorisation system in the core and now I am unable to figure out that how could the permissions be enforced in the core without an authorisation system. Should I workout an authorisation system for the core first or enforce permissions in postorius only? Thanks, Harshit

[Mailman-Developers] Blog

2016-05-09 Thread Harshit Bansal
://contributingtofoss.blogspot.com/ Comments/suggestions are most welcomed. Thanks, Harshit Bansal ___ Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3

[Mailman-Developers] Rosters not using 'ISubscriptionService' Interface.

2016-03-31 Thread Harshit Bansal
Hi, I was looking at the 'rosters.py' and I am unable to understand that why are rosters not using 'ISubscriptionService' interface instead of making raw queries for finding members? Is there any reason for doing so and if no then should it be changed? Th

Re: [Mailman-Developers] Discussion On Project Idea "Preset List Settings Templates" .

2016-03-23 Thread Harshit Bansal
r list "flavor") and then apply it. This way they would be able to make their list an "open discussion list" or an "one-way announcement list" without being able to edit the bounce-settings. Regards, Harshit Bansal. ___ M

Re: [Mailman-Developers] Pushing branch to origin

2016-03-19 Thread Harshit Bansal
om:/mailmam.git)(If you want then you can copy exact SSH url from your fork's GitLab page.) 3: Push your branch to origin.(git push origin 4: Create a Merge Request. Hope it helps. Regards, Harshit Bansal. > On Sat, Mar 19, 2016 at 12:24 PM, Harshit Bansal < > harshitbansal2...@gma

Re: [Mailman-Developers] Pushing branch to origin

2016-03-19 Thread Harshit Bansal
n the guide. You can use git remote rename command to rename your remotes. You should always push to your fork and then create a merge request. Regards, Harshit Bansal. ___ Mailman-Developers mailing list Mailman-Developers@python.org https://mail.pytho

Re: [Mailman-Developers] Discussion On Project Idea "Preset List Settings Templates" .

2016-03-12 Thread Harshit Bansal
gone. > Indeed a great idea. The unused styles will garbage collected at regular intervals. Also, the way in which we now store and categorise styles has made them very much analogous to the members of a list. So, should a "roster" like functionality for searching and retrieving

Re: [Mailman-Developers] Discussion On Project Idea "Preset List Settings Templates" .

2016-03-11 Thread Harshit Bansal
e implementation details, I came across a new problem which is as follows: Suppose, we have three style A, B and C. B inherits from A and C inherits from B. Now, suppose someone decides to delete style B then how can we deal with this situation. Further comments/suggestions are welcomed. T

Re: [Mailman-Developers] Discussion On Project Idea "Preset List Settings Templates" .

2016-03-09 Thread Harshit Bansal
e them with two views, one 'simple' and another 'advanced'. The 'simple' one would show only the *frequently* (or most commonly) changed attributes while the 'advanced' one will show all the attributes. This will help them in customizing the styles. I woul

Re: [Mailman-Developers] Accessing the members of a list

2016-02-24 Thread Harshit Bansal
members_1.yaml You can also refer to ''vcrpy'' documentation for more information. Hope this helps. Regards, Harshit Bansal. On 2/24/16, Aditya Divekar wrote: > Thanks for the help Harshit! > But I realized that I framed my question improperly. I used the above > comman

Re: [Mailman-Developers] Accessing the members of a list

2016-02-23 Thread Harshit Bansal
st = List.objects.get_or_404(fqdn_listname=list_id) Then mlist.members can be used to access all the members of the mailing list. If you want to use the client then the exact url of the list would be lists/fqdn_listname. Hope this helps. Thanks and regards, Harshit Bansal HBTI, KANPUR _

Re: [Mailman-Developers] Discussion On Project Idea "Preset List Settings Templates" .

2016-02-10 Thread Harshit Bansal
be useful to have private styles.. Can you please suggest a suitable use case? Thanks, Harshit Bansal. ___ Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.l

Re: [Mailman-Developers] Discussion On Project Idea "Preset List Settings Templates" .

2016-01-30 Thread Harshit Bansal
Hi Steve, On 1/27/16, Stephen J. Turnbull wrote: > Harshit Bansal writes: > > > Figure out how to store and access the styles as some of them are > > defined in the source code and the ones created by the by users would > > have to be stored in databases? > > Y

Re: [Mailman-Developers] Discussion On Project Idea "Preset List Settings Templates" .

2016-01-26 Thread Harshit Bansal
ving it to a file. Here, I am unable to figure out that if an user creates or modifies a style using method 2 then how the mailman can be notified of the change? Thanks, Harshit Bansal IRC NICK : _Harshit_ On 1/18/16, Abhilash Raj wrote: > Hi Harshit, > > On 01/17/2016 09:22

[Mailman-Developers] Discussion On Project Idea "Preset List Settings Templates" .

2016-01-17 Thread Harshit Bansal
f I am wrong somewhere. Also,I wish to seek your views on this approach. Also tell me if I would need to develop a Command Line Interface(which I will love to develop) as well or only Web Interface would suffice? Thanks, Harshit Bansal. ___ Mailman-Develop

[Mailman-Developers] Introductory Mail

2016-01-15 Thread Harshit Bansal
Hello everybody, I am Harshit Bansal, a first year undergraduate student from Harcourt Butler Technological Institute, Kanpur, looking to contribute to the GNU Mailman project for the upcoming Google Summer of Code program. I am very proficient in C and python. I also have a good grasp over the