zooniverse / scribeAPI

scribe API
MIT License
79 stars 25 forks source link

Whaling: https images #567

Open adammcmaster opened 8 years ago

adammcmaster commented 8 years ago

I'm testing loading our sites over https: https://whaling.oldweather.org/#/

Whaling produces the following warnings. Could we update those URLs to use https instead?

[Warning] The page at https://whaling.oldweather.org/#/ was allowed to display insecure content from http://whaling-data.oldweather.org/images/Horatio_KWM104.jpg.

[Warning] The page at https://whaling.oldweather.org/#/ was allowed to display insecure content from http://whaling-data.oldweather.org/images/Milo_rightmost_ODHS_147.jpg.

[Warning] The page at https://whaling.oldweather.org/#/ was allowed to display insecure content from http://whaling-data.oldweather.org/images/Progress_ODHS_938B.jpg.

[Warning] The page at https://whaling.oldweather.org/#/ was allowed to display insecure content from http://whaling-data.oldweather.org/images/Helen_Snow_ODHS_6.jpg.

[Warning] The page at https://whaling.oldweather.org/#/ was allowed to display insecure content from http://whaling-data.oldweather.org/images/Rosario_ODHS_654B.jpg.

[Warning] The page at https://whaling.oldweather.org/#/ was allowed to display insecure content from http://whaling-data.oldweather.org/images/Herman_ODHS958.jpg.

[Warning] The page at https://whaling.oldweather.org/#/ was allowed to display insecure content from http://whaling-data.oldweather.org/images/placeholder.jpg.

[Warning] The page at https://whaling.oldweather.org/#/ was allowed to display insecure content from http://whaling-data.oldweather.org/images/William_Baylies_ODHS955.jpg.

[Warning] The page at https://whaling.oldweather.org/#/ was allowed to display insecure content from http://whaling-data.oldweather.org/images/Saratoga_KWM180.jpg.

[Warning] The page at https://whaling.oldweather.org/#/ was allowed to display insecure content from http://whaling-data.oldweather.org/images/placeholder.jpg. (x3)

[Warning] The page at https://whaling.oldweather.org/#/ was allowed to display insecure content from http://whaling-data.oldweather.org/images/John_Wells_leftmost_ship_ODHS_769.jpg.

[Warning] The page at https://whaling.oldweather.org/#/ was allowed to display insecure content from http://whaling-data.oldweather.org/images/Grampus_ODHS948.jpg. (x2)

[Warning] The page at https://whaling.oldweather.org/#/ was allowed to display insecure content from http://whaling-data.oldweather.org/images/Mary_D_Hume_ODHS_949.jpg.

[Warning] The page at https://whaling.oldweather.org/#/ was allowed to display insecure content from http://whaling-data.oldweather.org/images/Newport_ODHS_950.jpg.

[Warning] The page at https://whaling.oldweather.org/#/ was allowed to display insecure content from http://whaling-data.oldweather.org/images/Herman_ODHS958.jpg.

[Warning] The page at https://whaling.oldweather.org/#/ was allowed to display insecure content from http://whaling-data.oldweather.org/images/Beluga_ODHS951.jpg.

[Warning] The page at https://whaling.oldweather.org/#/ was allowed to display insecure content from http://whaling-data.oldweather.org/images/William_Baylies_ODHS955.jpg. (x2)

[Warning] The page at https://whaling.oldweather.org/#/ was allowed to display insecure content from http://whaling-data.oldweather.org/images/Eliza_Adams_KWM74.jpg.
adammcmaster commented 8 years ago

@simensta @saschaishikawa Do these URLs just need to be updated in the CSV files in this repo? Or are they also going to be stored in the database somewhere?

saschaishikawa commented 8 years ago

@astopy, they're just routed in as rails assets from /projects/whale_tales/assets/images so no CSV

adammcmaster commented 8 years ago

@saschaishikawa OK then in that case I can't figure out where these URLs are actually coming from or how to fix them. On the home page they're in an inline style:

style="background-image:url(http://whaling-data.oldweather.org/images/Horatio_KWM104.jpg);"

Can you update those to use https please?