Skip to content

Commit e0d49cc

Browse files
committed
Merge branch 'develop' of github.com:wordpress-mobile/WordPress-Android into update/editor-session-analytic-properties
2 parents 55d78c8 + fb0605e commit e0d49cc

File tree

431 files changed

+12637
-24114
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

431 files changed

+12637
-24114
lines changed

.bundle/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
BUNDLE_PATH: "vendor/bundle"
33
BUNDLE_RETRY: "3"
4-
BUNDLE_JOBS: "3"
4+
BUNDLE_JOBS: "16"
55
BUNDLE_WITHOUT: "screenshots"

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ jobs:
376376
timeout: 10m
377377
results-history-name: CircleCI WPUtils Connected Tests
378378
- android/save-gradle-cache
379-
strings-check:
379+
submodules-strings-check:
380380
docker:
381381
- image: circleci/ruby:2.6.4
382382
steps:
@@ -390,7 +390,7 @@ jobs:
390390
cache_key_prefix: strings-check-v2
391391
- run:
392392
name: Validate login strings
393-
command: FASTLANE_SKIP_UPDATE_CHECK=1 bundle exec fastlane validate_login_strings pr_url:$CIRCLE_PULL_REQUEST
393+
command: FASTLANE_SKIP_UPDATE_CHECK=1 bundle exec fastlane validate_submodules_strings pr_url:$CIRCLE_PULL_REQUEST
394394
translation-review-build:
395395
executor:
396396
name: android/default
@@ -440,7 +440,7 @@ workflows:
440440
- << pipeline.parameters.generate_screenshots >>
441441
- << pipeline.parameters.release_build >>
442442
jobs:
443-
- strings-check
443+
- submodules-strings-check
444444
- test
445445
- lint
446446
- Installable Build:

Gemfile.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ GEM
3535
colored2 (3.1.2)
3636
commander (4.6.0)
3737
highline (~> 2.0.0)
38-
concurrent-ruby (1.1.8)
38+
concurrent-ruby (1.1.9)
3939
declarative (0.0.20)
4040
diffy (3.4.0)
4141
digest-crc (0.6.3)
@@ -101,7 +101,7 @@ GEM
101101
xcodeproj (>= 1.13.0, < 2.0.0)
102102
xcpretty (~> 0.3.0)
103103
xcpretty-travis-formatter (>= 0.0.3)
104-
fastlane-plugin-wpmreleasetoolkit (1.0.1)
104+
fastlane-plugin-wpmreleasetoolkit (1.2.0)
105105
activesupport (~> 5)
106106
bigdecimal (~> 1.4)
107107
chroma (= 0.2.0)
@@ -175,13 +175,13 @@ GEM
175175
memoist (0.16.2)
176176
mini_magick (4.11.0)
177177
mini_mime (1.1.0)
178-
mini_portile2 (2.5.1)
178+
mini_portile2 (2.5.3)
179179
minitest (5.14.4)
180180
multi_json (1.15.0)
181181
multipart-post (2.0.0)
182182
nanaimo (0.3.0)
183183
naturally (2.2.1)
184-
nokogiri (1.11.5)
184+
nokogiri (1.11.7)
185185
mini_portile2 (~> 2.5.0)
186186
racc (~> 1.4)
187187
octokit (4.21.0)
@@ -258,9 +258,9 @@ PLATFORMS
258258

259259
DEPENDENCIES
260260
fastlane (~> 2)
261-
fastlane-plugin-wpmreleasetoolkit (~> 1.0)
261+
fastlane-plugin-wpmreleasetoolkit (~> 1.1)
262262
nokogiri
263263
rmagick (~> 4.1)
264264

265265
BUNDLED WITH
266-
2.2.16
266+
2.2.19

RELEASE-NOTES.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
*** PLEASE FOLLOW THIS FORMAT: [<priority indicator, more stars = higher priority>] <description> [<PR URL>]
22

3-
17.6
3+
17.7
44
-----
55

66

7+
17.6
8+
-----
9+
* [*] Disables the ability to open the editor for Post Pages [#14523]
10+
* [*] Block Editor: "Set as featured" button within image block settings. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/3116]
11+
* [***] Block Editor: Audio block now available on WP.com sites on the free plan. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/3523]
12+
* [*] Block Editor: Improve unsupported block message for reusable block. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/3621]
13+
714
17.5
815
-----
916
* [**] Block Editor: Audio block: Add Insert from URL functionality. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/3031]

WordPress/build.gradle

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
buildscript {
22
repositories {
3+
google()
34
jcenter()
45
maven { url 'https://plugins.gradle.org/m2/' }
56
}
67
dependencies {
78
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
8-
classpath 'com.google.gms:google-services:3.2.0'
9+
classpath 'com.google.gms:google-services:4.3.8'
910
classpath 'se.bjurr.violations:violation-comments-to-github-gradle-plugin:1.67'
10-
classpath 'io.sentry:sentry-android-gradle-plugin:1.7.28'
11+
classpath 'io.sentry:sentry-android-gradle-plugin:2.0.0'
1112
}
1213
}
1314

@@ -64,8 +65,6 @@ allOpen {
6465
annotation 'org.wordpress.android.testing.OpenClassAnnotation'
6566
}
6667

67-
android.defaultConfig.javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true
68-
6968
android {
7069
useLibrary 'android.test.runner'
7170

@@ -87,9 +86,9 @@ android {
8786
if (project.hasProperty("versionName")) {
8887
versionName project.property("versionName")
8988
} else {
90-
versionName "alpha-297"
89+
versionName "alpha-300"
9190
}
92-
versionCode 1057
91+
versionCode 1064
9392
minSdkVersion rootProject.minSdkVersion
9493
targetSdkVersion rootProject.targetSdkVersion
9594

@@ -105,12 +104,15 @@ android {
105104
buildConfigField "boolean", "MY_SITE_IMPROVEMENTS", "false"
106105
buildConfigField "boolean", "SEEN_UNSEEN_WITH_COUNTER", "false"
107106
buildConfigField "boolean", "CONTACT_INFO_BLOCK_AVAILABLE", "true"
107+
buildConfigField "boolean", "LAYOUT_GRID_BLOCK_AVAILABLE", "true"
108108
buildConfigField "boolean", "LIKES_ENHANCEMENTS", "false"
109109
buildConfigField "boolean", "IS_JETPACK_APP", "false"
110110
buildConfigField "String", "TRACKS_EVENT_PREFIX", '"wpandroid_"'
111111
buildConfigField "String", "PUSH_NOTIFICATIONS_APP_KEY", '"org.wordpress.android"'
112112
buildConfigField "boolean", "UNIFIED_COMMENTS_LIST", "false"
113113
buildConfigField "boolean", "MP4_COMPOSER_VIDEO_OPTIMIZATION", "false"
114+
buildConfigField "boolean", "BLOGGING_REMINDERS", "false"
115+
buildConfigField "boolean", "MANAGE_CATEGORIES", "false"
114116

115117
manifestPlaceholders = [magicLinkScheme:"wordpress"]
116118
}
@@ -150,13 +152,14 @@ android {
150152
dimension "buildType"
151153
// Only set the release version if one isn't provided
152154
if (!project.hasProperty("versionName")) {
153-
versionName "17.5-rc-1"
155+
versionName "17.6-rc-3"
154156
}
155-
versionCode 1056
157+
versionCode 1063
156158
buildConfigField "boolean", "ME_ACTIVITY_AVAILABLE", "false"
157159
buildConfigField "long", "REMOTE_CONFIG_FETCH_INTERVAL", "3600"
158160
buildConfigField "boolean", "ENABLE_FEATURE_CONFIGURATION", "false"
159161
buildConfigField "boolean", "CONTACT_INFO_BLOCK_AVAILABLE", "true"
162+
buildConfigField "boolean", "LAYOUT_GRID_BLOCK_AVAILABLE", "false"
160163
}
161164

162165
zalpha { // alpha version - enable experimental features
@@ -203,8 +206,7 @@ android {
203206
lintOptions{
204207
checkDependencies = true
205208
checkGeneratedSources = true
206-
lintConfig file('lint.xml')
207-
baseline file("lint-baseline.xml")
209+
lintConfig file("${project.rootDir}/config/lint.xml")
208210
}
209211

210212
packagingOptions {
@@ -280,6 +282,8 @@ dependencies {
280282
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycleVersion"
281283
// ProcessLifecycleOwner
282284
implementation "androidx.lifecycle:lifecycle-process:$lifecycleVersion"
285+
// Paging Library
286+
implementation("androidx.paging:paging-runtime-ktx:$pagingVersion")
283287

284288
testImplementation("androidx.arch.core:core-testing:$androidxArchCoreVersion", {
285289
exclude group: 'com.android.support', module: 'support-compat'
@@ -299,6 +303,7 @@ dependencies {
299303
implementation 'org.wordpress:graphview:3.4.0'
300304
implementation 'org.wordpress:persistentedittext:1.0.2'
301305
implementation 'org.wordpress:emailchecker2:1.1.0'
306+
implementation "com.github.Automattic:Automattic-Tracks-Android:$tracksVersion"
302307
implementation 'com.squareup.okio:okio:2.8.0'
303308
implementation 'org.apache.commons:commons-text:1.1'
304309
implementation 'com.airbnb.android:lottie:3.4.0'
@@ -328,7 +333,11 @@ dependencies {
328333
androidTestImplementation 'org.mockito:mockito-android:3.3.3'
329334
androidTestImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:$nhaarmanMockitoVersion"
330335
androidTestImplementation 'com.squareup.okhttp:mockwebserver:2.7.5'
331-
testImplementation('org.bouncycastle:bcprov-jdk15on:1.64') { force = true }
336+
testImplementation('org.bouncycastle:bcprov-jdk15on') {
337+
version {
338+
strictly '1.64'
339+
}
340+
}
332341

333342
androidTestImplementation 'com.squareup.okio:okio:2.8.0'
334343
androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion", {
@@ -356,7 +365,7 @@ dependencies {
356365
androidTestImplementation 'tools.fastlane:screengrab:2.0.0', {
357366
exclude group: 'com.android.support.test.uiautomator', module: 'uiautomator-v18'
358367
}
359-
androidTestCompile (name:'cloudtestingscreenshotter_lib', ext:'aar') // Screenshots on Firebase Cloud Testing
368+
androidTestImplementation (name:'cloudtestingscreenshotter_lib', ext:'aar') // Screenshots on Firebase Cloud Testing
360369
androidTestImplementation "androidx.work:work-testing:$androidxWorkVersion"
361370

362371
kaptAndroidTest "com.google.dagger:dagger-compiler:$daggerVersion"
@@ -388,7 +397,8 @@ dependencies {
388397
implementation (project(path:':libs:editor:WordPressEditor')) {
389398
exclude group: 'org.wordpress', module: 'utils'
390399
}
391-
implementation (project(path:':libs:login:WordPressLoginFlow')) {
400+
401+
implementation ("$gradle.ext.loginFlowBinaryPath:$wordPressLoginVersion") {
392402
exclude group: "com.github.wordpress-mobile.WordPress-FluxC-Android", module: "fluxc"
393403
exclude group: 'com.github.bumptech.glide'
394404
exclude group: 'org.wordpress', module: 'utils'
@@ -403,10 +413,6 @@ dependencies {
403413

404414
lintChecks 'org.wordpress:lint:1.0.1'
405415

406-
// Sentry
407-
implementation 'io.sentry:sentry-android:2.1.3'
408-
implementation 'org.slf4j:slf4j-nop:1.7.25'
409-
410416
// Firebase
411417
implementation 'com.google.firebase:firebase-config:19.1.3'
412418

0 commit comments

Comments
 (0)