These are chat archives for ushahidi/Community

26th
Sep 2017
Igor Golov
@TechnoDexx
Sep 26 2017 08:41
Hello everybody! Again your help is required. When I try to start a category in Russian, I get an error: Validation Error slug must contain only numbers, letters and dashes. As far as I can judge this happens because the Cyrillic encoding is not recognized correctly. What settings need to be proclaimed? Ushahidi 3.0 own hosting (not Ushahidi.io).
Ushbot
@ushbot
Sep 26 2017 08:43
[David Losada, Ushahidi] @ArturoQuintana please try adding the CLIENT_URL environment to the platform .env file, i.e. CLIENT_URL=“http://map.informus.us
[David Losada, Ushahidi] @TechnoDexx it may be a bug, give me a minute to test on our side
Igor Golov
@TechnoDexx
Sep 26 2017 08:44
@ushbot This bug not reproduce on ushahidi.io.
Ushbot
@ushbot
Sep 26 2017 08:46
[David Losada, Ushahidi] doesn’t it? I’m having the same trouble on .io
Igor Golov
@TechnoDexx
Sep 26 2017 08:47
@TechnoDexx Ok. What now to do with all this?
Ushbot
@ushbot
Sep 26 2017 08:48
[David Losada, Ushahidi] I’ll file a bug report and we’ll fix it as soon as possible
Igor Golov
@TechnoDexx
Sep 26 2017 08:49
@ushbot Ok. I'm looking forward to it - it's a very important feature.
Igor Golov
@TechnoDexx
Sep 26 2017 08:54
@ushbot This issue already exists in the database: ushahidi/platform#758
Ushbot
@ushbot
Sep 26 2017 08:56
[David Losada, Ushahidi] ah thanks for finding that, I think that one is actually fixed.. we filter out latin characters with punctuation when generating slugs. However, I think we have to look into our support for non-latin charsets
Ushbot
@ushbot
Sep 26 2017 09:10
[David Losada, Ushahidi] one work around you could use: create the category initially using latin characters only. i.e. if you intend to create the category “запросы“, you could first create it as “zaprosy” . Once the category is created, rename it to the name you originally intended, using c
[David Losada, Ushahidi] Cyrillic script
Igor Golov
@TechnoDexx
Sep 26 2017 09:12
@ushbot And this can not be the wrong encoding of the base itself (not utf-8)?
Ushbot
@ushbot
Sep 26 2017 09:14
[David Losada, Ushahidi] the encoding of the transmissions is fine . it’s the slug generation and validator code itself, not being designed considering the full array of languages
[David Losada, Ushahidi] standard slugs are supposed to be letters, digits and dashes only .. that’s why there are some clever workarounds to generate such slugs even from languages not using latin script (i.e. https://github.com/lovell/limax )
[David Losada, Ushahidi] we will study addressing this .. for the time being, we recommend using the workaround I described for categories
Igor Golov
@TechnoDexx
Sep 26 2017 09:22
@ushbot I did this as follows: I created the category in Latin and then renamed it into Cyrillic. At me all has turned out.
Ushbot
@ushbot
Sep 26 2017 09:22
[David Losada, Ushahidi] @doxrealm_twitter we have worked on facebook integration, but we haven’t made it public yet. Could you please contact us through our chatbox in www.ushahidi.com so we can discuss the matter?
Igor Golov
@TechnoDexx
Sep 26 2017 11:23
@ushbot CORS is very difficult...
Ushbot
@ushbot
Sep 26 2017 11:52
[David Losada, Ushahidi] sorry about that @TechnoDexx , we already have an issue about providing a sample configuration ( ushahidi/platform-release#4 ) but we haven’t had time to tackle it yet
Igor Golov
@TechnoDexx
Sep 26 2017 12:09
@ushbot I see...
Arturo
@ArturoQuintana
Sep 26 2017 14:37

Thanks Hello @davidlosada @ushbot
I did the change. I will test and I let you know.

@WillDoran @davidlosada @ushbot
we are having some issues with the inclusion of https.
the https is setup, however, the web content is not taking it (map.informus.us)
do we have to turn on something on settings?

Igor Golov
@TechnoDexx
Sep 26 2017 14:42
@ArturoQuintana Hello, Arturo. You installed the certificate with Let's Encrypt?
Ushbot
@ushbot
Sep 26 2017 14:42
[David Losada, Ushahidi] @Arturo you would need to point BACKEND_URL to a https endpoint as well, otherwise the browser will refuse to connect to the backend (security policies) It’s currently pointing at http://weblib02.fiu.edu . You should enable https for that hostname and then update the BACKEND_URL.
Arturo
@ArturoQuintana
Sep 26 2017 15:10
@davidlosada the platform is hosted in http://weblib02.fiu.edu, but the domain (informus.us) belong to an external ISP (GoDaddy). So, the dns are managed by the FIU.
Despite my explanation and structure, is it the same solution?
Ushbot
@ushbot
Sep 26 2017 15:11
[David Losada, Ushahidi] yes, there is really only one solution, whoever administers weblib02.fiu.edu should configure SSL properly for that hostname
Arturo
@ArturoQuintana
Sep 26 2017 15:13
thanks @davidlosada
Ushbot
@ushbot
Sep 26 2017 15:14
[David Losada, Ushahidi] it can be with Let’s Encrypt as TechnoDexx suggested, or using any other SSL certificates provider
Igor Golov
@TechnoDexx
Sep 26 2017 15:42
@ushbot @ArturoQuintana Simply Let's Encrypt supports automatic setting of redirects from https to https.
@ushbot @ArturoQuintana Fully automatic and very correct.
Arturo
@ArturoQuintana
Sep 26 2017 16:37
@davidlosada where should I modify the back_end url value?
Ushbot
@ushbot
Sep 26 2017 16:42
[David Losada, Ushahidi] it looks like it’s in an .env file, where you downloaded platform-client for building . Don’t forget to run gulp build again after you change it
Arturo
@ArturoQuintana
Sep 26 2017 18:18
@davidlosada I did that, and the site has crashed
how can I recover the site after a gulp build?
Arturo
@ArturoQuintana
Sep 26 2017 18:28
@davidlosada I have recovered the site, but the modification of the value BACKEND_URL with the execution of "gulp build" did not work