Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website

2018-04-27 Thread kaputtnik
The UnorderedObjectListWarning can be fixed by giving the models a default ordering. Not really complicated :-) -- https://code.launchpad.net/~widelands-dev/widelands-website/django1_11/+merge/343065 Your team Widelands Developers is subscribed to branch lp:widelands-website.

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website

2018-04-27 Thread GunChleoc
Agreed, let's have a follow-up branch. As to the UnorderedObjectListWarning, the sorting probably isn't stable when adding pagination. Is there an OrderedObjectList or something like that that we can use instead? Should make the warning go away in theory. --

[Widelands-dev] [Merge] lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website

2018-04-26 Thread noreply
The proposal to merge lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website has been updated. Status: Needs review => Merged For more details, see: https://code.launchpad.net/~widelands-dev/widelands-website/django1_11/+merge/343065 -- Your team Widelands Develop

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website

2018-04-25 Thread kaputtnik
Oh, there are some warnings about unordered lists: UnorderedObjectListWarning: Pagination may yield inconsistent results with an unordered object_list: QuerySet. UnorderedObjectListWarning: Pagination may yield inconsistent results with an unordered object_list: QuerySet.

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website

2018-04-25 Thread kaputtnik
The update is made on the productive website. I've encountered some problems in the database: When applying the migrations i got some foreign constraints error: django.db.utils.IntegrityError: (1452, 'Cannot add or update a child row: a foreign key constraint fails

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website

2018-04-21 Thread kaputtnik
alpha is shut down again. -- https://code.launchpad.net/~widelands-dev/widelands-website/django1_11/+merge/343065 Your team Widelands Developers is subscribed to branch lp:widelands-website. ___ Mailing list: https://launchpad.net/~widelands-dev Post

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website

2018-04-20 Thread GunChleoc
Shit happens. Let me know if/when you want me to do some schedule testing. -- https://code.launchpad.net/~widelands-dev/widelands-website/django1_11/+merge/343065 Your team Widelands Developers is subscribed to branch lp:widelands-website. ___ Mailing

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website

2018-04-20 Thread kaputtnik
> The scheduler is producing an error. I got the errors... My fault :-(. When switching the database i had forgotten to run the migrate command. Will try to give you moderator permissions this weekend. -- https://code.launchpad.net/~widelands-dev/widelands-website/django1_11/+merge/343065 Your

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website

2018-04-20 Thread GunChleoc
Yes, all emails look fine. I also tested image uploading. The scheduler is producing an error. I think it would be good for me to have access to moderator functions on the forums. Otherwise, you'll be the only one who can o it, since SirVer doesn't have the time any more. --

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website

2018-04-19 Thread kaputtnik
As far as i can see the Email subjects are solved. I will announce the website downtime and schedule the update for the next week. @GunChleoc: Regarding your permissions: On alpha you are set as superuser, whereas on wl.widelands you are not a superuser. Thats the difference regarding the

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website

2018-04-18 Thread kaputtnik
Review: Needs Fixing Regarding the screenshots: They old ones aren't physical there. I have tested it by adding two categories and uploaded two images to each categorie. The online_users_middleware does not work as i expected... Hitting 'log out' does not remove the user name from the list.

[Widelands-dev] [Merge] lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website

2018-04-18 Thread kaputtnik
The proposal to merge lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website has been updated. Description changed to: Major update of the website code to Django 1.11.12. I have gone through all release notes form Django 1.8 until Django 1.11. - Added migrations

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website

2018-04-18 Thread kaputtnik
Got the callback function to work. Will apply the latest change to the alpha site, so this can also be tested in production. Have to shut down and restart the alpha site again... -- https://code.launchpad.net/~widelands-dev/widelands-website/django1_11/+merge/343065 Your team Widelands

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website

2018-04-18 Thread GunChleoc
> Can you give an example for real world name containing an apostrophe? John O'Neill, Iain Mac a' Ghobhainn +1 for Unicode names, that would be really cool :) I don't think that we need to resolve the username issue in this branch though. I'll try to get some testing in this week. --

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website

2018-04-18 Thread kaputtnik
Allowing ' needs implementing an own username validator. Can you give an example for real world name containing an apostrophe? What we should consider is to allow unicode characters in usernames, so french, or polish names can be used.See

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website

2018-04-18 Thread GunChleoc
Review: Approve *waves to SirVer* Can we disallow usernames with "." or "@" in them? Allowing ' would be good, since that character is used in real-world names. I had a look at the diff as far as Launchpad will display it. Just 1 potential nit. Since the alpha site is already switched off, I

[Widelands-dev] [Merge] lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website

2018-04-16 Thread kaputtnik
The proposal to merge lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website has been updated. Description changed to: Major update of the website code to Django 1.11.12. I have gone through all release notes form Django 1.8 until Django 1.11. - Added migrations

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website

2018-04-15 Thread kaputtnik
Thanks, SirVer. Nice to hear from you :-) I assume you logged in on the alpha site, and this worked so far? I will shut down alpha tomorrow, in the morning. -- https://code.launchpad.net/~widelands-dev/widelands-website/django1_11/+merge/343065 Your team Widelands Developers is subscribed to

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website

2018-04-15 Thread SirVer
Review: Approve Thanks for this massive update and keeping our homepage alive and kicking! Drive by comment, only refering to the questions you've asked. I did not review the rest of the change - it seems massive. > Providing usernames for JS when writing PMs: This is maybe a security risk >

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website

2018-04-15 Thread kaputtnik
the proposed merge of lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website. ___ Mailing list: https://launchpad.net/~widelands-dev Post to : widelands-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~widelands-dev More

Re: [Widelands-dev] [Merge] lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website

2018-04-15 Thread kaputtnik
Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands-website/django1_11 into lp:widelands-website. ___ Mailing list: https://launchpad.net/~widelands-dev Post to : widelands-dev@lists.launchpad.net Unsubscri