Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo mode #299

Closed
cbellone opened this issue Jun 9, 2017 · 2 comments
Closed

Demo mode #299

cbellone opened this issue Jun 9, 2017 · 2 comments
Assignees
Labels
Milestone

Comments

@cbellone
Copy link
Member

cbellone commented Jun 9, 2017

Since we're receiving a lot of requests for that, it's time to create a demo.alf.io instance, so that people can try alf.io out without installing and configuring it.

To do that, we would need a new "demo" profile.

I would propose the following:

Admin:

Login:

  • we should display a message on the login page, something like: "this instance is in demo mode, please enter your email address, a password and click on login"
  • the login fields are: "email address", "password"
  • add a recaptcha "I'm not a robot" check (?)
  • the login process will trigger a new organization creation. Organization email = user email.

Event Creation:

  • the user can create as many events as he/she wants, but he/she cannot publish them (error from server: "cannot publish events in demo mode for privacy reasons")

Event page:

Payment:

  • stripe: we should include the link to the credit cards test numbers
  • paypal: we should specify username and password of the buyer test account
  • mollie: tbd

Reservation Flow:

  • add a warning in the confirmation email: "THIS IS A TEST"

Data cleanup:

on logout / every night at a random hour: delete user, org and events

@syjer
Copy link
Member

syjer commented Jun 23, 2017

TBD:

  • stripe link to test CC number
  • paypal: specify test user/pwd
  • reservation flow: add a this is a test in the email
  • "cleanup job"
    • disable user account after X days -> must ad 2 new column in user table, account type and creation date
    • disable events created by user->org -> add new status

@syjer
Copy link
Member

syjer commented Jun 26, 2017

can be considered implemented.

@syjer syjer closed this as completed Jun 26, 2017
syjer added a commit that referenced this issue Jun 26, 2017
cbellone added a commit that referenced this issue Jun 29, 2017
NARH pushed a commit to ui2-narita/alf.io that referenced this issue Jul 7, 2017
* develop: (24 commits)
  do not allow more than 5 connections per instance, as maximum allowed connections for mailchimp is 10
  alfio-event#299 - layout modifications
  alfio-event#299 demo mode: use user provided password
  reduce docker image size
  alfio-event#299 - add env variable for demo mode activation
  alfio-event#299 - add env variable for demo mode activation
  alfio-event#299 hide the main event page  if disabled
  alfio-event#299 misc fixes, disable users, set status disabled to event
  alfio-event#299 demo: wip jobs for cleanup
  alfio-event#299 demo mode: add job for disabling user accounts
  alfio-event#299 demo mode: add creation date / user type to user table
  alfio-event#299 demo mode: fix paypal keys, add a prefix in the subject of the emails
  alfio-event#299 demo mode: add paypal username/password
  fix alfio-event#300 - cancelled ticket must have "RELEASED" status in order to trigger waiting queue
  fix error messages
  alfio-event#299 fix recaptcha/demo mode split, add link to stripe CC in demo mode
  alfio-event#299 split demo mode and recaptcha functionality
  alfio-event#299 refactor, remove publishing of events in demo mode
  alfio-event#299 fix conf key type
  alfio-event#299 add recaptcha on demo mode (server side integration)
  ...
syjer added a commit that referenced this issue Jul 21, 2017
syjer added a commit that referenced this issue Jul 21, 2017
syjer added a commit that referenced this issue Jul 21, 2017
syjer added a commit that referenced this issue Jul 21, 2017
syjer added a commit that referenced this issue Jul 21, 2017
syjer added a commit that referenced this issue Jul 21, 2017
syjer pushed a commit that referenced this issue Jul 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants