springload / madewithwagtail

A showcase of sites and apps made with Wagtail CMS, the easy to use, open source Django content management system
http://madewithwagtail.org
MIT License
84 stars 21 forks source link

Automate submissions #70

Open tacitus opened 7 years ago

tacitus commented 7 years ago

Edit @loicteixeira: The actual proposal (scope) is linked below.


Rough plan:

thibaudcolas commented 7 years ago

On site screenshots – at the moment the site's layouts only work if the image is an annoying 1440x1200 (those exact numbers or that ratio, unsure). If we do expect third-party users to upload their own images, we should make sure that:

See https://github.com/springload/madewithwagtail/issues/31#issuecomment-285272647 for an analysis of screenshot size requirements.

loicteixeira commented 7 years ago

So users need:

As for images size, surely we can setup the image filter to crop to those dimensions? So if the user don't respect it, it might not look the best but it doesn't break the layout.

thibaudcolas commented 7 years ago

From @johnanders123's input over Slack, we will also need:

Edit: IP whitelist is easy to disable

Edit: I intend to trial this whole user registration flow manually and see what happens.

thibaudcolas commented 7 years ago

Here is the permission set up I made manually:

It doesn't take me much more time to do this once than to set up the usual pages, so I'll look for volunteers to try this out.

loicteixeira commented 6 years ago

A solution is currently being discussed and estimated at Springload, and will hopefully be resourced shortly.

tacitus commented 6 years ago

@mojeto - please speak to @loicteixeira about the current state of the solution for this one.

loicteixeira commented 6 years ago

At a high level, the work will happen in steps:

  1. Create a sign-up form so which will create a use, a developer page, a collection (for images and documents) and a group with limited permissions to those elements.
  2. Create a script which, with the old submission data (form the existing form), will try to retroactively create users, collections and groups and match them with the existing pages (as much as possible).
  3. Communicate the account to developers.

See the full proposal and estimate for more background and details.

mojeto commented 6 years ago

Current WIP solution:

Pros:

Solution discussed offline with @tacitus

mojeto commented 6 years ago

django-allauth can't be used together with Wagtail till the clash between Wagtail Site and Django Site resolved. Some work is being done, but it's a blocker currently. related issues here and here

loicteixeira commented 6 years ago

As discussed offline, we should not forget that we will need to create accounts for the developers pages which already exist so we might need to keep the email login for them.

drummonds commented 6 years ago

Thanks I have just run into this clash as I added allauth to my project.