hackerdeen / hackhub

Membership system
4 stars 2 forks source link

spaceapi has out of date values #9

Open ormiret opened 1 year ago

ormiret commented 1 year ago

Some of the stuff we're serving in spaceapi is out of date.

Things I noticed:

Hibby commented 1 year ago

those timestamps dates are october 21, is that when we left the old space?

What generates spaceapi, hub?

ormiret commented 1 year ago

Which timestamps? The door unlock ones I make Oct 2019 - which I think would fit for moving out of last space.

$ date --date='@1570279621'
Sat  5 Oct 13:47:01 BST 2019

through

$ date --date='@1571656353'
Mon 21 Oct 12:12:33 BST 2019

Spaceapi is mostly generated by hub here https://github.com/hackerdeen/hackhub/blob/master/web.py#L33

With static values coming from here: https://github.com/hackerdeen/hackhub/blob/master/settings.py#L13

And some changes when porxied through the actual website: https://github.com/hackerdeen/website/blob/master/spaceapi.php

I've pushed an updated version to repo now. For getting that deployed: is hub still running on finzean?

Hibby commented 1 year ago

Yes, I forgot to mention 2019, I was doing a lot at once!

It's on ythan which you should have ssh key access to, I think irl was going to work on making git pull happen automatically via cron today