ZeusWPI / Gandalf

You Shall Not Pass - An advanced e-ticket system for student clubs -
http://event.fkgent.be
MIT License
10 stars 7 forks source link

Dustoff #566

Closed mcbloch closed 4 years ago

mcbloch commented 4 years ago

Todo:

redfast00 commented 4 years ago

Is this a development or production Dockerfile?

mcbloch commented 4 years ago

At the moment only development. It's there atm to ensure it works in an isolated environment and not only on my pc.

redfast00 commented 4 years ago

Using the letter_opener gem, you can now preview mails in development: they will be opened in the browser

redfast00 commented 4 years ago

I was also going to make barcodes non-transparent, but it seems that switching to the Barby gem automatically fixed this

redfast00 commented 4 years ago

Just checked CAS-login, this seems to work.

redfast00 commented 4 years ago

We do need the default_url_options and :sendmail delivery method (the partner mail has a link in it, and we need to know the base domain when sending the mail since the mail does not have the context of a Host header). Sendmail is the way to send mails on the server, since local SMTP does not work (yet?). @Silox probably had a reason to remove these config options though, what was it?

TomNaessens commented 4 years ago

@redfast00 The upgrade replaced the files (so threw away the lines) and I was wondering if we needed them any longer on development as the mails locally seemed to work fine. I couldn't test on production if we needed those though.

redfast00 commented 4 years ago

Alright, then I think this PR is good to merge, what do you think @mcbloch?

mcbloch commented 4 years ago

De login-dev knop werkt niet meer na het seeden. Het seeden importeert namelijk de zeus vereniging uit de dsa api en dat clasht met Club.find_or_create_by(internal_name: 'zeus', full_name: 'Zeus WPI', display_name: 'Zeus <3')

Validation failed: Internal name has already been taken