[Mailman-Developers] Re: Creating new Variables in the Database

2019-05-17 Thread Tanstaafl
On 5/15/2019, 4:56:22 PM, Mark Sapiro wrote: > I've seen lots of sites, mostly having to do with purchasing or donating > money that warn you that clicking whatever more than once will result in > a duplicate charge. > > If you really think this is a bug in HyperKitty rather than a bug in > your

[Mailman-Developers] Re: Creating new Variables in the Database

2019-05-16 Thread Aaryan Bhagat
>This is basic use on how fields look like in SQLAlchemy[1]. After you have >added a field, you can use Alembic to autogenerate migrations for your >changes in database schema. See [2] on how to write alembic migration >from scratch. > >You can (and should) just use alembic to autogenerate it

[Mailman-Developers] Re: Creating new Variables in the Database

2019-05-15 Thread Abhilash Raj
On Wed, May 15, 2019, at 1:30 PM, Aaryan Bhagat wrote: > As mentioned in my proposal[1] I will create new variables and modify > the schema of how we save things in the database. You probably mean attributes and not variables. Also, when using SQLAlchemy, you don't modify the database schema

[Mailman-Developers] Re: Creating new Variables in the Database

2019-05-15 Thread Mark Sapiro
On 5/15/19 1:27 PM, Aaryan Bhagat wrote: > As mentioned in my proposal[1] I will create new variables and modify the > schema of how we save things in the database. > Here I am facing issues (most probably because I am a newbie in SQL Alchemy). > I am not able to understand how to exactly

[Mailman-Developers] Re: Creating new Variables in the Database

2019-05-15 Thread Mark Sapiro
On 5/15/19 2:01 PM, Aaryan Bhagat wrote: > Mark thanks for the clarification, > I understand the principle now for this behaviour. > It would be sort of nitpicking but is it good enough to open an issue so that > this behaviour should be avoidable?( I do not know the exact way to avoid it >

[Mailman-Developers] Re: Creating new Variables in the Database

2019-05-15 Thread Mark Sapiro
On 5/15/19 1:37 PM, Aaryan Bhagat wrote: > Apparently, I think there is a minor bug in hyperkitty/postorious I suppose > > When I created the message to post into the list I accidentally clicked the > "Send" button twice and then the page loaded so there were two copies of the > exact same

[Mailman-Developers] Re: Creating new Variables in the Database

2019-05-15 Thread Aaryan Bhagat
Apparently, I think there is a minor bug in hyperkitty/postorious I suppose When I created the message to post into the list I accidentally clicked the "Send" button twice and then the page loaded so there were two copies of the exact same message, the URL is also different so I think it