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

RESOLVED FIXED

Status

Webmaker
Thimble
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: pomax, Assigned: jp)

Tracking

Details

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

(Reporter)

Description

4 years ago
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)

Comment 1

4 years ago
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?
(Assignee)

Comment 2

4 years ago
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)
(Reporter)

Comment 3

4 years ago
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)
(Reporter)

Comment 4

4 years ago
devops request filed.
(Assignee)

Comment 5

4 years ago
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.
(Reporter)

Updated

4 years ago
Whiteboard: c=thimble u=dev → c=thimble u=dev s=2013w23
(Reporter)

Comment 6

4 years ago
Hola JP! repo moved, its new moz location is https://github.com/mozilla/htmlsanitizer.org
(Reporter)

Updated

4 years ago
Assignee: nobody → johns
Status: NEW → ASSIGNED
(Assignee)

Comment 7

4 years ago
I have most of the bits written here, I'll update and get this out today
(Assignee)

Comment 8

4 years ago
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)
(Reporter)

Comment 9

4 years ago
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
Last Resolved: 4 years ago
Flags: needinfo?(johns)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.