Skip to content

Commit 066abd9

Browse files
committed
Bump to MT v0.3.97
1 parent ed0df18 commit 066abd9

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

components/LoginModal.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@
5959
<b-img src="~/static/signinbuttons/yahoo-logo.svg" class="social-button__image" />
6060
<span class="p-2 text--medium font-weight-bold">Continue with Yahoo</span>
6161
</b-btn>
62+
<p v-if="modtools" class="text-center">
63+
You can't log in to ModTools using Facebook, I'm afraid. If that's how you log in to Freegle, use email/password
64+
and trigger a lost password request.
65+
</p>
6266
<notice-message v-if="socialblocked" variant="warning">
6367
Social log in blocked - check your privacy settings, including any ad blockers such as
6468
Adblock Plus.
@@ -255,6 +259,10 @@ export default {
255259
// Use of this.bump means we will recompute when we need to, i.e. when the modal is shown. This is overriding
256260
// normal reactivity but that's because the SDKs we use aren't written in Vue.
257261
facebookDisabled() {
262+
if (process.env.IS_MTAPP) {
263+
console.log("facebookDisabled true")
264+
return true // MT app disabled
265+
}
258266
if (process.env.IS_APP) { // CC
259267
console.log("facebookDisabled false")
260268
return false // MT app enabled now

mobile/modtools/android/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version='1.0' encoding='utf-8'?>
2-
<widget android-versionCode="407" id="org.ilovefreegle.modtools" version="0.3.96" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
2+
<widget android-versionCode="408" id="org.ilovefreegle.modtools" version="0.3.97" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
33
<name>ModTools</name>
44
<description>Tool to help moderators of Freegle groups</description>
55
<author email="geeks@ilovefreegle.org" href="https://ilovefreegle.org">Chris Cant, Freegle Ltd</author>

mobile/modtools/ios/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version='1.0' encoding='utf-8'?>
2-
<widget id="org.ilovefreegle.modtools" ios-CFBundleVersion="401" version="0.3.96" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
2+
<widget id="org.ilovefreegle.modtools" ios-CFBundleVersion="402" version="0.3.97" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
33
<name>ModTools</name>
44
<description>Tool to help moderators of Freegle and similar groups</description>
55
<author email="geeks@ilovefreegle.org" href="https://ilovefreegle.org">

nuxt.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const SENTRY_DSN = 'https://b68903e730034a4ba3b8b2358331389e@o118493.ingest.sent
88
const YAHOO_CLIENTID =
99
'dj0yJmk9N245WTRqaDd2dnA4JmQ9WVdrOWIzTlZNMU01TjJjbWNHbzlNQS0tJnM9Y29uc3VtZXJzZWNyZXQmc3Y9MCZ4PWRh'
1010
const MOBILE_VERSION = '2.0.120'
11-
const MODTOOLS_VERSION = '0.3.96'
11+
const MODTOOLS_VERSION = '0.3.97'
1212

1313
require('dotenv').config()
1414

0 commit comments

Comments
 (0)