Closed Bug 876685 Opened 11 years ago Closed 11 years ago

set up a mofostaging.net and/or webmaker.org domain for our html sanitizer

Categories

(Webmaker Graveyard :: Thimble, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: michiel, Assigned: johns)

Details

(Whiteboard: c=thimble u=dev s=2013w23)

We currently using a RESTful Bleach endpoint on Heroku. That's a terrible idea for deployment, and even staging-testing, because heroku puts its apps to sleep after about a minute of inactivity, which makes for very long wait times if you want to publish a thimble page and the sanitizer needs to be spun up first. Can we set up a bleach.mofostaging.net or like place?

(note: htmlsanitizer is a python app, not a node app)
Yes, this is something we definitely need to do. We need to repo to bootstrap it though; should we fork/move https://github.com/brianloveswords/htmlsanitizer.org to mozilla and use that?
Can you please fill this fella out to help me scope this?

https://docs.google.com/a/mozillafoundation.org/spreadsheet/viewform?formkey=dFBONmhPUXcxVVp5TFBiS0I4OWZ1RFE6MQ#gid=0
Flags: needinfo?(pomax)
I have htmlsanitizer.org forked on my account atm, with the changes that we needed; I can reassign ownership to mozilla for that.
Flags: needinfo?(pomax)
devops request filed.
Hi Pomax!

When you move it over to the Moz repos, would you please let me know so I can update the build?

Thanks!

I'll be starting in on this kit this week.
Whiteboard: c=thimble u=dev → c=thimble u=dev s=2013w23
Hola JP! repo moved, its new moz location is https://github.com/mozilla/htmlsanitizer.org
Assignee: nobody → johns
Status: NEW → ASSIGNED
I have most of the bits written here, I'll update and get this out today
Bits written.
Things are up at bleach.mofoprod.net (thank you you clever jbuck) 
bleach.mofostaging.net

Does bugzilla support animated gifs?  What is this 1994?

Pomax, jbuck-of-little-sleep:  please QA
Flags: needinfo?(pomax)
very nice! Have env vars been updated to take advantage of this shiny non-heroku bleaching?
Flags: needinfo?(pomax)
JP, you must install bugzillaJS addon?  Then you would like see said gifs.  Much better bugzilla experience overall.
Flags: needinfo?(johns)
Pomax: configs were updated
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(johns)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.