Re: [Mailman-Developers] New Interface

On Jun 04, 2016, at 07:38 PM, Harshit Bansal wrote:
Would you like to keep these attributes(those which are unused and we don't want to support) or should these be removed?
For now, keep them. It would probably make sense to open an issue on gitlab listing the unused attributes to delete. We can mark that as a tech-debt issue and address it outside of the context of your work.
Yes, the ui issues are challenging. ;) I think it would be fairly easy to represent in REST.
It allows the admin to only be concerned with the attributes defined in the stylet. It can be fairly difficult otherwise to figure out what a specific stylet modifies.
Cool.
Postorius would enforce it for now. When we have the authproxy, it will do it for scripts.
That's tricky. If we weren't interfacing to a database (i.e. in pure Python),
we'd have a marker object, e.g. INHERIT = object()
but we have to worry
about database column types. I'm not sure what the right thing to do there
is.
-Barry

Hi,
On 04-Jun-2016 1:11 am, "Barry Warsaw" <barry@list.org> wrote:
How can this composability be achieved in a model? I mean that the size of a table is fixed in a model and if a style describes just a partial set of attributes then what would be stored in other attributes? Also how would this partial style be applied to a mailing list?
Problems that are blocking me for past two-three days:
Solved: 1: Getting a list of all styleable attributes. Since you have approved the new interface this problem is solved.
Unsolved: 1: How to trigger the fallback mechanism? 2: Current 'IStyle' interface allows us to define either a partial style(stylet, describing just a partial set of attributes) or a complete style. But is that possible with a model? 3: If I go for style composabiltiy as described by you then how would I represent that idea in REST and Postorius?
Thanks, Harshit Bansal

Hi,
On 04-Jun-2016 1:11 am, "Barry Warsaw" <barry@list.org> wrote:
How can this composability be achieved in a model? I mean that the size of a table is fixed in a model and if a style describes just a partial set of attributes then what would be stored in other attributes? Also how would this partial style be applied to a mailing list?
Problems that are blocking me for past two-three days:
Solved: 1: Getting a list of all styleable attributes. Since you have approved the new interface this problem is solved.
Unsolved: 1: How to trigger the fallback mechanism? 2: Current 'IStyle' interface allows us to define either a partial style(stylet, describing just a partial set of attributes) or a complete style. But is that possible with a model? 3: If I go for style composabiltiy as described by you then how would I represent that idea in REST and Postorius?
Thanks, Harshit Bansal
participants (2)
-
Barry Warsaw
-
Harshit Bansal