MattArnold / tuxtrax

Penguicon Scheduling Web App
GNU General Public License v3.0
15 stars 11 forks source link

Form Cannot Be Reached From Tuxtrax.penguicon.org #122

Closed MattArnold closed 10 years ago

MattArnold commented 10 years ago

tuxtrax.penguicon.org redirects to http://gentle-tor-1515.herokuapp.com/, and from there, if you press the Submit Event button, you are just redirected to http://gentle-tor-1515.herokuapp.com/ instead of /eventform.

The only way to reach /eventform is by going to tuxtrax.org which redirects to penguicon.tuxtrax.org.

MattArnold commented 10 years ago

Kell Carnahan, a non-staff test user, gets this problem even when on penguicon.tuxtrax.org. Even if she types "penguicon.tuxtrax.org/eventform", it just reloads the homepage, not the event form.

jquesnelle commented 10 years ago

I think http://tuxtrax.penguicon.org should redirect to http://penguicon.tuxtrax.org... this in my opinion is the "authoritative" URL for the site (for example it's the only one CloudFlare is actually running on top of). We should never be redirecting to the gentle-tor URL. Can we have the DNS admin for Penguicon change this?

shcarrico commented 10 years ago

This isn't the issue.. when you tried to restrict submissions to staff only, you restricted all submissions inadvertently. fixed in related pull

jquesnelle commented 10 years ago

I fixed it in master earlier today... that previous merge from hufman hasn't been applied, it wasn't merged into master

shcarrico commented 10 years ago

i merged his into mine, and i fixed a couple other problems with the staff user vs submit and event form stuff.. open pull #127

tuxtrax.penguicon.org would need to do the same domain rules that we have for penguicon.tuxtrax.org.. it would be much easier to just straight redirect to "penguicon.tuxtrax.org" to start with. We already discussed what the base domain would be when I set up the NS records, and the consensus was to go with 'penguicon.tuxtrax.org' instead of 'tuxtrax.org'..

edit -- I agree with @jquesnelle, re the authoritative url for the site. the gentle-tor will not work correctly and will cause major problems because it bypasses the caching layer..