[Mailman-Developers] Re: Using REST api to subscribe member

2020-03-11 Thread Goran Terzic
Let me first introduce myself, I'm Goran, developer whom Brian mentioned in his first message. Together with Brian, I am developing custom UI using Laravel. Mark, thank you for pointing us in the right direction. I fixed the problem by downgrading importlib_resources to 1.0.2. Would you suggest s

[Mailman-Developers] Rest API not returning members in alphabetical order

2020-03-31 Thread goran . terzic
Based on Rest API documentation I expected that list of members will be returned in alphabetical order. However, when I tried localhost:8001/3.0/lists/new.list.example.com/roster/member and localhost:8001/3.0/members/find?list_id=new.list.example.com&role=member&page=9&count=10 I got list of me

[Mailman-Developers] Re: Rest API not returning members in alphabetical order

2020-04-01 Thread Goran Terzic
Thank you everyone for looking into this. Looks like the problem is that SQLAlchemy is generating query with 'order by' part inside nested subquery, which is not supported by mariadb. https://mariadb.com/kb/en/why-is-order-by-in-a-from-subquery-ignored/ SqlAlchemy generated query for getting m

[Mailman-Developers] Using hyperkitty_import for archives downloaded from HK

2020-09-07 Thread goran . terzic
I noticed that hyperkitty_import has issues with In-Reply-To header when importing archives downloaded from Hyperkitty itself. In some cases in_reply_to field in hyperkitty_email table will have extra white space at the start. For example In-Reply-To: cafv2ywofzrhedttz3f6emnwx8sh4_ar7+jmr7xvoad

[Mailman-Developers] Re: Using hyperkitty_import for archives downloaded from HK

2020-09-07 Thread Goran Terzic
Thanks Abhilash for your quick response > You can just take a database dump and migrate that. If you are using > postgres, there is a pg_dump command that I know of. I am sure something > exists for Mysql/mariadb too. I would recommend using this method for > migrations. You can also use django'