Commit graph

338 commits

Author SHA1 Message Date
chrisgarrity
309a47c70d
Merge pull request #308 from LLK/translations_editions-free-src-localizations-en-json--develop_pt
Translate '/editions/free/src/localizations/en.json' in 'pt' [manual sync]
2020-09-04 12:26:33 -04:00
chrisgarrity
27f33a78fd
Merge pull request #307 from LLK/translations_editions-free-src-localizations-en-json--develop_pl
Translate '/editions/free/src/localizations/en.json' in 'pl' [manual sync]
2020-09-04 12:26:09 -04:00
chrisgarrity
f03100e1f1
Merge pull request #306 from LLK/translations_editions-free-src-localizations-en-json--develop_no
Translate '/editions/free/src/localizations/en.json' in 'no' [manual sync]
2020-09-04 12:25:31 -04:00
chrisgarrity
929720c8df
Merge pull request #305 from LLK/translations_editions-free-src-localizations-en-json--develop_ja
Translate '/editions/free/src/localizations/en.json' in 'ja' [manual sync]
2020-09-04 12:24:52 -04:00
chrisgarrity
fbc5ae087a
Merge pull request #304 from LLK/translations_editions-free-src-localizations-en-json--develop_it
Translate '/editions/free/src/localizations/en.json' in 'it' [manual sync]
2020-09-04 12:24:19 -04:00
chrisgarrity
ea13cff61b
Merge pull request #303 from LLK/translations_editions-free-src-localizations-en-json--develop_el
Translate '/editions/free/src/localizations/en.json' in 'el' [manual sync]
2020-09-04 12:23:51 -04:00
chrisgarrity
5479b3a52c
Merge pull request #301 from LLK/translations_editions-free-src-localizations-en-json--develop_fr
Translate '/editions/free/src/localizations/en.json' in 'fr' [manual sync]
2020-09-04 12:22:27 -04:00
chrisgarrity
4ac90bf6ae
Merge pull request #298 from LLK/translations_editions-free-src-localizations-en-json--develop_zh_TW
Translate '/editions/free/src/localizations/en.json' in 'zh_TW' [manual sync]
2020-09-04 12:19:47 -04:00
chrisgarrity
8824bf65af
Merge pull request #297 from LLK/translations_editions-free-src-localizations-en-json--develop_zh_CN
Translate '/editions/free/src/localizations/en.json' in 'zh_CN' [manual sync]
2020-09-04 12:19:23 -04:00
chrisgarrity
187e7653c2
Merge pull request #296 from LLK/translations_editions-free-src-localizations-en-json--develop_ca
Translate '/editions/free/src/localizations/en.json' in 'ca' [manual sync]
2020-09-04 12:18:50 -04:00
transifex-integration[bot]
3df92e844c
Apply translations in pt
at least 90% reviewed for the source file '/editions/free/src/localizations/en.json'
on the 'pt' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-09-04 16:16:13 +00:00
transifex-integration[bot]
5459e64261
Apply translations in pl
at least 90% reviewed for the source file '/editions/free/src/localizations/en.json'
on the 'pl' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-09-04 16:16:07 +00:00
transifex-integration[bot]
720d04504e
Apply translations in no
at least 90% reviewed for the source file '/editions/free/src/localizations/en.json'
on the 'no' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-09-04 16:16:01 +00:00
transifex-integration[bot]
e12e459b97
Apply translations in ja
at least 90% reviewed for the source file '/editions/free/src/localizations/en.json'
on the 'ja' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-09-04 16:15:55 +00:00
transifex-integration[bot]
48359810c6
Apply translations in it
at least 90% reviewed for the source file '/editions/free/src/localizations/en.json'
on the 'it' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-09-04 16:15:49 +00:00
transifex-integration[bot]
ead2a6baae
Apply translations in el
at least 90% reviewed for the source file '/editions/free/src/localizations/en.json'
on the 'el' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-09-04 16:15:42 +00:00
transifex-integration[bot]
0665d9e74f
Apply translations in fr
at least 90% reviewed for the source file '/editions/free/src/localizations/en.json'
on the 'fr' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-09-04 16:15:30 +00:00
transifex-integration[bot]
e2b514429c
Apply translations in zh_TW
at least 90% reviewed for the source file '/editions/free/src/localizations/en.json'
on the 'zh_TW' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-09-04 16:15:13 +00:00
transifex-integration[bot]
e0cc4ddf76
Apply translations in zh_CN
at least 90% reviewed for the source file '/editions/free/src/localizations/en.json'
on the 'zh_CN' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-09-04 16:15:07 +00:00
transifex-integration[bot]
64b0b7c2e6
Apply translations in ca
at least 90% reviewed for the source file '/editions/free/src/localizations/en.json'
on the 'ca' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-09-04 16:15:01 +00:00
Benjamin Wheeler
0cb154edd6
Merge pull request #290 from LLK/custom-option-questions
add support for custom options questions at app start; refactor index.js
2020-08-24 09:15:34 -04:00
Ben Wheeler
19cb492116 localize initial options, set analytics prefs every time 2020-08-20 14:23:43 -04:00
Ben Wheeler
64019e6fd8 fix to showing/hiding logo 2020-08-19 10:25:47 -04:00
Ben Wheeler
62a651369f add support for custom options questions at app start; refactor index.js 2020-08-14 16:52:23 -04:00
Benjamin Wheeler
d73abf18b4
Merge pull request #287 from LLK/set-analytics-pref
add generic setAnalyticsPref functions for iOS and Android
2020-08-14 14:17:47 -04:00
Ben Wheeler
685389bfbd only call setAnalyticsPref with a valid key, value pair 2020-08-14 13:50:36 -04:00
Ben Wheeler
dcd4222b4c Move json stringify and parsing into interface 2020-08-14 12:14:20 -04:00
Ben Wheeler
c301a1090e add generic setAnalyticsPref functions for iOS and Android 2020-08-13 18:24:25 -04:00
chrisgarrity
d6e1a77327
Merge pull request #284 from LLK/issue/274-refactor-os-interface
Split iOS and Android interfaces
2020-08-10 16:08:12 -04:00
Chris Garrity
dd1f48f5e3 Remove dead code for real
removing dead code that was just commented in the previous commit,
2020-08-10 16:07:14 -04:00
Chris Garrity
09c52f370f Android studio changes
Android Studio added some more config files.
2020-08-10 09:22:33 -04:00
Chris Garrity
1420a5947a Split iOS and Android interfaces
Refactor the native interface in preparation for switching iOS to use WKWebview.
* Finally rename the folder for device specific interfaces as `tablet` instead of `iPad`
* Update `import` statements to use the new name
* Create new `iOS.js` and `Android.js` based on previous `iPad/iOS.js` to separate the interfaces
* Add new `OS.js` class to manage the class variables, initialize the device interface delegate methods to the correct interface.
* refactor how  `utils/lib` detects the current platform based on `navigtor.userAgent` based on https://stackoverflow.com/questions/37591279/detect-if-user-is-using-webview-for-android-ios-or-a-regular-browser. previous method relied on the Android interface being loaded or not. It can be difficult to detect the difference between in a browser and in a webview, but for now ScratchJr doesn’t need to worry about running in a browser
2020-08-10 09:11:47 -04:00
chrisgarrity
fc8fdcecf6
Merge pull request #279 from LLK/newblock-analytics
update new_block event
2020-07-09 13:42:43 -04:00
Chris Garrity
0a91deec86 update new_block event 2020-07-07 09:09:14 -04:00
Benjamin Wheeler
dc8990f9ab
Merge pull request #260 from benjiwheeler/analytics
Add more analytics events, and use action as event type
2020-06-24 14:17:45 -04:00
Chris Garrity
6e25da189d Add default templates to repo 2020-06-17 16:30:24 -04:00
chrisgarrity
272780768b
Update CONTRIBUTING.md 2020-06-16 15:33:17 -04:00
chrisgarrity
ffd1172d67
Merge pull request #270 from LLK/fix-ios-import
Fix ios import
2020-05-01 07:42:29 -04:00
Chris Garrity
be9efb1e83 Fix mismatched file types 2020-05-01 07:41:09 -04:00
chrisgarrity
31e9cb5bc2
Merge pull request #264 from chrisgarrity/fix-manifest
Avoid concatenation in AndroidManifest
2020-04-21 09:57:01 -04:00
Chris Garrity
ec9387115f Avoid concatenation in AndroidManifest
Trying to use the extension pattern this way gets an error when uploading the APK to Google Play, so just hard code the extension patters. This won’t work for PBS kids version.
2020-04-21 09:52:42 -04:00
chrisgarrity
fe2ad22efb
Merge pull request #259 from chrisgarrity/content-import-fix
Don’t export as email message, and be less strict about import requirements
2020-04-21 07:53:32 -04:00
Ben Wheeler
abd8a1bb86 added project_editor_open and _close analytics events 2020-04-20 15:18:14 -04:00
Ben Wheeler
2762cdf271 refactor toggleGrid to be clearer, only send analytics in response to user action 2020-04-20 13:40:45 -04:00
Ben Wheeler
caa7aed291 log more events to analytics 2020-04-13 22:18:59 -04:00
Ben Wheeler
9e30b90a17 ios and android log event action as event type 2020-04-13 22:11:09 -04:00
Chris Garrity
1e3d468c33 Don’t export as email message, and be less strict about import requirements
Don’t export as email message. and be less strict about import requirements.

Android intent filters are really only designed to work with standard mimetypes (like ‘image/png’). Even if you can share something with a custom mime type, it’s likely to get lost somewhere along the way, from email, or Gdrive, or Files app etc.

Path matching patterns in intent filter only apply to `file` schemes, `content` scheme is likely to be some generated id in temp storage. `content` filters maintly go by mimetype, but as noted above, a custom mimetype has often gone AWOL. Generic application files are usually downloaded as `application/octet-stream`. Basically we have to trust the user not to try to load some other random file into ScratchJr. The import function will fail and give an error message if they do.

Finally, fix the way we’re sharing ScratchJr files. While the button says ‘Share by Email’ for a long time Android has shown a selection of ways to share the file. However, we were setting the mime type as an email message so the saved file would always try to open in an email client instead of ScratchJr.
2020-04-13 17:07:38 -04:00
chrisgarrity
098b2dc68a
Merge pull request #255 from LLK/require-touchscreen
Require touchscreen in the Android manifest
2020-04-07 15:09:06 -04:00
Chris Garrity
16ee3f9213 Require touchscreen in the Android manifest
Fixes #233
2020-04-07 15:06:08 -04:00
chrisgarrity
bca5f433ae
Merge pull request #206 from beskrovnykh/develop
Fix can't import .sjr
2020-04-07 15:00:10 -04:00