Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge 15.1 code freeze to master #12203

Merged
merged 988 commits into from
Jun 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
988 commits
Select commit Hold shift + click to select a range
ca78990
Use boolean flag to determine whether there is a custom empty view
planarvoid Jun 8, 2020
abad897
Use synthetic accessors in NotificationsListFragment
malinajirka Jun 9, 2020
6f5f350
End progress when the login fragment is destroyed
planarvoid Jun 8, 2020
8dc282b
Remove unnecessary null checks in NotificationsListFragment
malinajirka Jun 9, 2020
1195758
Make accountStore non-nullable
malinajirka Jun 9, 2020
c6cd519
Clear site settings when fragments are destroyed
planarvoid Jun 8, 2020
82d2a2a
Clean-up after automatic java2kotlin converter
malinajirka Jun 9, 2020
1685e97
Remove reference to notes adapter (which could survive the view being…
planarvoid Jun 8, 2020
e6b9b02
Fix checkstyle issue
planarvoid Jun 9, 2020
1f50b8f
Convert MySiteFragment.java to MySiteFragment.kt
planarvoid Jun 9, 2020
6b0ac6b
Move view setup to onViewCreated
malinajirka Jun 9, 2020
923af90
Fix maxlinelength lint issue
malinajirka Jun 9, 2020
5945d0c
Convert injected fields to lateinit vars
planarvoid Jun 9, 2020
2d68339
Remove import of R values
planarvoid Jun 9, 2020
7168210
Clean up onClick listeners and require methods
planarvoid Jun 9, 2020
996b300
End file with newline
planarvoid Jun 9, 2020
9df2b02
Use synthetic accessor for blavatar image view
planarvoid Jun 9, 2020
66bbdd1
Use synthetic accessor for avatar image view
planarvoid Jun 9, 2020
d845e96
Use synthetic accessor for blavatar progress bar view
planarvoid Jun 9, 2020
f7d6e5a
Use synthetic accessor for blog title text view
planarvoid Jun 9, 2020
eefdf0e
Use synthetic accessor for blog subtitle text view
planarvoid Jun 9, 2020
0c701d9
Use synthetic accessor for look and feel header view
planarvoid Jun 9, 2020
65ed56f
Use synthetic accessor for themes container view
planarvoid Jun 9, 2020
2e4b725
Use synthetic accessor for people view
planarvoid Jun 9, 2020
11d6855
Use synthetic accessor for page view
planarvoid Jun 9, 2020
6b4145a
Use synthetic accessor for wuick action page button container view
planarvoid Jun 9, 2020
2ecc23e
Use synthetic accessor for quick action buttons container view
planarvoid Jun 9, 2020
07872b4
Use synthetic accessor for plan container view
planarvoid Jun 9, 2020
3ebd033
Use synthetic accessor for plugins container view
planarvoid Jun 9, 2020
a07b85c
Use synthetic accessor for activity log container view
planarvoid Jun 9, 2020
6c082a3
Use synthetic accessor for quick start container view
planarvoid Jun 9, 2020
64434ca
Use synthetic accessor for configuration header view
planarvoid Jun 9, 2020
b576d30
Use synthetic accessor for settings view
planarvoid Jun 9, 2020
30edf0a
Use synthetic accessor for admin view
planarvoid Jun 9, 2020
7f3cb23
Use synthetic accessor for actionable empty view
planarvoid Jun 9, 2020
1afbf82
Use synthetic accessor for scroll view
planarvoid Jun 9, 2020
3cee1b0
Use synthetic accessor for current plan view
planarvoid Jun 9, 2020
bf9161d
Use synthetic accessor for sharing view
planarvoid Jun 9, 2020
323a849
Use synthetic accessor for quick start customize icon view
planarvoid Jun 9, 2020
3ddbf56
Use synthetic accessor for quick start customize subtitle view
planarvoid Jun 9, 2020
1e92b36
Use synthetic accessor for quick start customize title view
planarvoid Jun 9, 2020
9bf68e9
Use synthetic accessor for quick start customize view
planarvoid Jun 9, 2020
11bddb1
Use synthetic accessor for quick start grow icon view
planarvoid Jun 9, 2020
75886e2
Use synthetic accessor for quick start grow subtitle view
planarvoid Jun 9, 2020
3a3b984
Use synthetic accessor for quick start grow title view
planarvoid Jun 9, 2020
f447d8c
Use synthetic accessor for quick start grow view
planarvoid Jun 9, 2020
08a7daa
Use synthetic accessor for quick start more button view
planarvoid Jun 9, 2020
7222701
Use synthetic accessor for domain registration CTA view
planarvoid Jun 9, 2020
d9f1cf0
Use synthetic accessor for toolbar
planarvoid Jun 9, 2020
9deb079
Use synthetic accessors for click listeners and parent activity
planarvoid Jun 9, 2020
e1f50a5
Update visibility of viewpager and jetpack view on notifications tab
malinajirka Jun 9, 2020
19ebe25
Cleanup warnings
planarvoid Jun 9, 2020
b7a3488
Update release notes
malinajirka Jun 9, 2020
ef22030
Merge branch 'issue/12136-frgs-on-top-of-each-other' into convert-not…
malinajirka Jun 9, 2020
a1fee8f
Manually merge #12137
malinajirka Jun 9, 2020
2b5a6f1
Remove most of !! and replace them with safe calls
planarvoid Jun 9, 2020
5eded56
Remove unnecessary view null checks
malinajirka Jun 9, 2020
170ba23
Remove hungarian notation
planarvoid Jun 9, 2020
638627d
Use findViewById for views in the main activity
planarvoid Jun 9, 2020
ba7978c
Fix checkstyle issues
planarvoid Jun 9, 2020
d1bc7e1
Move view initialization into onViewCreated
planarvoid Jun 9, 2020
cb6bdb0
Fix crash with a nullable exception in onCredentialsValidated
planarvoid Jun 9, 2020
add893a
Merge pull request #12130 from wordpress-mobile/fix/fix-leak-in-filte…
malinajirka Jun 9, 2020
6b1c56e
Merge pull request #12132 from wordpress-mobile/fix/leak-in-site-sett…
malinajirka Jun 9, 2020
2a03e79
Merge pull request #12129 from wordpress-mobile/fix/leak-in-notificat…
malinajirka Jun 9, 2020
ec7e04c
Merge pull request #12134 from wordpress-mobile/fix/leak-in-notes-ada…
malinajirka Jun 9, 2020
be09d5c
Merge branch 'develop' into convert-notifications-to-kotlin
malinajirka Jun 9, 2020
52c761f
Manually merge #12129
malinajirka Jun 9, 2020
689b3c5
Update copy of the move trashed post to draft dialog
malinajirka Jun 9, 2020
72ed87a
Fix lint
malinajirka Jun 9, 2020
7d9ce78
Fix NPE when primary button is missing
planarvoid Jun 9, 2020
373ef82
Inline getSelectedSite getter
malinajirka Jun 9, 2020
a0ef8f5
Merge two ifs into a single if
malinajirka Jun 9, 2020
e116fff
Remove hungarian notation
malinajirka Jun 9, 2020
6d7e47f
Merge branch 'develop' into fix/convert-my-site-fragment-to-kotlin
planarvoid Jun 9, 2020
46b39ef
Merge pull request #12139 from wordpress-mobile/fix/convert-my-site-f…
planarvoid Jun 9, 2020
419d82f
Introduce helper class to find highest plan
ashiagr Jun 9, 2020
353904c
Add plan ids
ashiagr Jun 9, 2020
33e17d3
Initial attempt to find highest plan
ashiagr Jun 9, 2020
e67b954
Merge pull request #12138 from wordpress-mobile/convert-notifications…
planarvoid Jun 9, 2020
d9bcf60
Update gutenberg submodule ref
mchowning Jun 9, 2020
ae18165
Updates from tools/merge_strings_xml.py
mchowning Jun 9, 2020
907b301
Update release notes
mchowning Jun 9, 2020
1c2f972
Update RELEASE-NOTES.txt
mchowning Jun 9, 2020
4af3c4a
changed Visibility to Visibility & Status
jd-alexander Jun 9, 2020
f4a0fcd
publish tapped is only tracked for publish action
jd-alexander Jun 10, 2020
cdcc032
moved onClick from constructor to property of sealed class
jd-alexander Jun 10, 2020
dd12405
when user can't publish PENDING is the status of the new post.
jd-alexander Jun 10, 2020
96b7b42
Merge branch 'feature/prepublishing_nudges' into issue-12042/submit_f…
jd-alexander Jun 10, 2020
44eb183
if post has a future date then clear it as well.
jd-alexander Jun 10, 2020
4098e08
Updated test cases
jd-alexander Jun 10, 2020
91213ef
Removed the SCHEDULED check since it's the same as future check.
jd-alexander Jun 10, 2020
89dadc4
Updated tests to reflect the behavior with the PublishDateInFuture logic
jd-alexander Jun 10, 2020
4946653
fixed style issues.
jd-alexander Jun 10, 2020
7ea2129
Merge pull request #12131 from wordpress-mobile/fix/leak-in-login-bas…
malinajirka Jun 10, 2020
b09b917
Automatic conversion result
planarvoid Jun 10, 2020
2ebd7b7
Fix injected fields
planarvoid Jun 10, 2020
7d7cb36
Fix errors
planarvoid Jun 10, 2020
6936002
Use synthetic accessor for avatar views
planarvoid Jun 10, 2020
08dd970
Use synthetic accessor for display name view
planarvoid Jun 10, 2020
c03dc4e
Use synthetic accessor for user name view
planarvoid Jun 10, 2020
27e9e00
Use synthetic accessor for login logout view
planarvoid Jun 10, 2020
0ef66c0
Use synthetic accessor for profile view
planarvoid Jun 10, 2020
5afbba5
Use synthetic accessor for account settings view
planarvoid Jun 10, 2020
6097d7a
Use synthetic accessor for scroll view
planarvoid Jun 10, 2020
15f3c27
Use synthetic accessor for toolbar view
planarvoid Jun 10, 2020
e670c36
Remove unused toolbar title
planarvoid Jun 10, 2020
5d0f870
Stop using hungarian notation
planarvoid Jun 10, 2020
0fc94ae
Move views setup to onViewCreated method
planarvoid Jun 10, 2020
7ae858c
Cleanup
planarvoid Jun 10, 2020
771a1a7
Add free plan ids
ashiagr Jun 10, 2020
862c25e
Set plan custom field only if user has a site and highest plan is found
ashiagr Jun 10, 2020
e5822e8
Add tests
ashiagr Jun 10, 2020
c7ac872
Create view model to replace inner async task
planarvoid Jun 10, 2020
e5361c6
Add tests for MeViewModel.kt
planarvoid Jun 10, 2020
35ca0dc
Fix ktlint issue
planarvoid Jun 10, 2020
dfc07e3
Merge branch 'develop' into fix-memory-leaks-in-site-creation
malinajirka Jun 10, 2020
1300013
Use synthetic accessor for error_layout
malinajirka Jun 10, 2020
fd2fc98
Use synthetic accessor for fullscreen progress layout
malinajirka Jun 10, 2020
cecef20
Use synthetic accessor for content layout
malinajirka Jun 10, 2020
68d94cc
Use synthetic accessor for webview
malinajirka Jun 10, 2020
2c97284
Use synthetic accessor for sitePreviewWebError
malinajirka Jun 10, 2020
8646249
Use synthetic accessor for sitePreviewOkButtonContainer
malinajirka Jun 10, 2020
219c30f
Use synthetic accessor for sitePreviewWebViewShimmerLayout
malinajirka Jun 10, 2020
8a41d22
Use synthetic accessor for sitePreviewWebUrlTitle
malinajirka Jun 10, 2020
111bd9b
Fix lint issue
malinajirka Jun 10, 2020
c8e5370
Merge branch 'fix-memory-leaks-in-site-creation' into fix-leaks-in-pr…
malinajirka Jun 10, 2020
dbc7749
Fix leaking listeners after onDetach
malinajirka Jun 10, 2020
39e9f66
Fix leaking listeners in domains screen
malinajirka Jun 10, 2020
3077fb0
Fix leaking listeners in segments fragment
malinajirka Jun 10, 2020
1026e91
Merge branch 'fix-memory-leaks-in-site-creation' into fix-leaks-in-pr…
malinajirka Jun 10, 2020
27e516f
Remove invalid imports
malinajirka Jun 10, 2020
a6c243b
Fix unused import
malinajirka Jun 10, 2020
9e19728
Fix lint issues
malinajirka Jun 10, 2020
0e10277
once a user cant publish then the status is set to PENDING during upload
jd-alexander Jun 10, 2020
29b9c7d
The submit button wasn't marked as a publishPost action so it was changd
jd-alexander Jun 10, 2020
f6d0f05
Merge pull request #12146 from wordpress-mobile/issue-12145/change_vi…
jd-alexander Jun 10, 2020
bcc141d
Merge pull request #12149 from wordpress-mobile/issue-12148/clear_pri…
jd-alexander Jun 10, 2020
f4e708b
Update GB reference with fix for crashing adding media.
SergioEstevao Jun 10, 2020
05a0f26
Merge remote-tracking branch 'refs/remotes/origin/develop'
jd-alexander Jun 10, 2020
cd39df3
updated gutenberg.
jd-alexander Jun 10, 2020
16fdfda
Merge pull request #12114 from wordpress-mobile/issue/12104-fix-npe-i…
mkevins Jun 10, 2020
2a79074
Merge remote-tracking branch 'origin/develop' into feature/prepublish…
jd-alexander Jun 10, 2020
bd79366
Fixes npe - cancel animation in onstop
malinajirka Jun 11, 2020
6fe8648
Capitalize month and post status on post list rows
malinajirka Jun 11, 2020
b7bf1e2
Merge branch 'issue/11291-show-status-in-search-post-list' of github.…
malinajirka Jun 11, 2020
250c38b
Convert NotificationsListFragmentPage to kotlin
malinajirka Jun 11, 2020
fda9994
Fix injected fields in NotificationsListFragmentPage
malinajirka Jun 11, 2020
6a33afe
Use synthetic accessor for actionable_empty_view
malinajirka Jun 11, 2020
73e1524
Use synthetic accessor for notifications_list
malinajirka Jun 11, 2020
7716443
Clear SwipeToRefreshHelper onDestroyView
malinajirka Jun 11, 2020
fac945f
Use synthetic accessor for layout_new_notificatons
malinajirka Jun 11, 2020
a93bc4a
Remove LayoutManager field
malinajirka Jun 11, 2020
6178501
Fix onActivityResult data nullability
malinajirka Jun 11, 2020
75f5f5a
Cleanup
malinajirka Jun 11, 2020
a2ec612
Simplify notesAdapter getter
malinajirka Jun 11, 2020
850d6a5
Replace notesAdapter with createOrGetNotesAdapter()
malinajirka Jun 11, 2020
345490e
Remove hungarian notation
malinajirka Jun 11, 2020
6171d49
Move view initialization to onViewCreated
malinajirka Jun 11, 2020
a5bf727
Remove imports of R values
malinajirka Jun 11, 2020
05af5ad
Final cleanup
malinajirka Jun 11, 2020
b294f81
Fix missing notesAdapter initialization
malinajirka Jun 11, 2020
733216f
Log unknown plan ids to remote reporting tool
ashiagr Jun 11, 2020
6515a9f
Merge pull request #12123 from wordpress-mobile/issue/11291-show-stat…
oguzkocer Jun 11, 2020
138b5d5
Added CCPA privacy notice to app settings.
bummytime Jun 11, 2020
56e3b3f
Squashed 'libs/utils/' changes from a15de7604a..1a43e016c6
mzorz Jun 11, 2020
f18ce19
Merge pull request #12140 from wordpress-mobile/issue/12064-add-zende…
oguzkocer Jun 11, 2020
368a1ff
augmented getVideoFrameFromVideo() in ImageUtils and all related clas…
mzorz Jun 11, 2020
b868abe
Update GB reference to official tag 1.30.0
SergioEstevao Jun 11, 2020
c0e1256
Merge pull request #12141 from wordpress-mobile/gutenberg/integrate_r…
SergioEstevao Jun 11, 2020
eab53dd
Merge branch 'develop'
jd-alexander Jun 11, 2020
7774e69
updated gutenberg
jd-alexander Jun 11, 2020
2f3c340
Merge remote-tracking branch 'origin/feature/prepublishing_nudges' in…
jd-alexander Jun 11, 2020
7206cc7
used requireActivity() and viewLifecycleOwner to fix lint check failure
jd-alexander Jun 11, 2020
035165f
fixed viewLifecycleOwner in PrepublishingVisibilityFragment
jd-alexander Jun 12, 2020
97aa2a0
Merge branch 'feature/prepublishing_nudges' into issue-12042/submit_f…
jd-alexander Jun 12, 2020
adca9bb
gutenberg updated.
jd-alexander Jun 12, 2020
d81dd85
made the default label "Immediately"
jd-alexander Jun 12, 2020
ff28513
changed color for the icons to a darker variant.
jd-alexander Jun 12, 2020
7178431
changed text appearance for home ui so text is larger.
jd-alexander Jun 12, 2020
b44c395
Update WordPress/src/main/java/org/wordpress/android/ui/sitecreation/…
malinajirka Jun 12, 2020
9995be0
Update WordPress/src/main/java/org/wordpress/android/ui/sitecreation/…
malinajirka Jun 12, 2020
6a11674
Fix minor issues in site creation fragments
malinajirka Jun 12, 2020
1b76b5f
Merge pull request #12122 from wordpress-mobile/issue-12042/submit_fo…
malinajirka Jun 12, 2020
5a7d87d
Merge pull request #12174 from wordpress-mobile/issue-12169/design_re…
malinajirka Jun 12, 2020
533dda3
Move onUploadError from EditPostActivity to standalone use case
malinajirka Jun 12, 2020
8183a95
Remove unused error message
malinajirka Jun 12, 2020
c78bd44
Remove unused media type
malinajirka Jun 12, 2020
e8050a2
Rename parameter
malinajirka Jun 12, 2020
d812e14
Make HandleMediaUpload synchronous
malinajirka Jun 12, 2020
c4a2347
Simplify handleMediaUploadError
malinajirka Jun 12, 2020
06296db
Replace MutableMap with Map
malinajirka Jun 12, 2020
98cb383
Inline trackMediaUploadError
malinajirka Jun 12, 2020
365f7f3
Rename HandleMediaUploadUseCase to TrackMediaUploadUseCase
malinajirka Jun 12, 2020
c1574b6
Make TrackMediaUploadErrorUseCase asynchronous
malinajirka Jun 12, 2020
198e5b8
updated method description
mzorz Jun 12, 2020
296e400
Pass EditorMediaUploadListener to EditorMedia
malinajirka Jun 12, 2020
c370a15
Move listener from usecase to mediaEditor
malinajirka Jun 12, 2020
1938cdf
Remove unused import
malinajirka Jun 12, 2020
3bd350e
Inline the TrackMediaUploadErrorUseCase
malinajirka Jun 12, 2020
42ebf35
Remove unused getErrorMessage
malinajirka Jun 12, 2020
1085cdb
added auth headers when loading video in VideoView
mzorz Jun 12, 2020
1afcc73
udpated release notes
mzorz Jun 12, 2020
51b0d44
Fix lint issues
malinajirka Jun 12, 2020
6aa1545
Fix lint issues
malinajirka Jun 12, 2020
461ea6a
Merge pull request #12126 from wordpress-mobile/move-trashed-post-to-…
malinajirka Jun 12, 2020
f7fad3d
updated test
mzorz Jun 12, 2020
41cabe2
Merge pull request #12159 from wordpress-mobile/fix-leaks-in-preview-…
planarvoid Jun 12, 2020
a240cb2
fixed lint warrning
mzorz Jun 12, 2020
e921834
Merge pull request #12160 from wordpress-mobile/convert-notifs-list-f…
planarvoid Jun 12, 2020
d55f197
Merge pull request #12177 from wordpress-mobile/epa-refactoring-on-up…
planarvoid Jun 12, 2020
cdc41ac
bumped version name
mzorz Jun 12, 2020
f976ba4
Merge pull request #12170 from wordpress-mobile/add/ccpa-notice
bummytime Jun 12, 2020
f0d7ef3
Merge branch 'develop' into issue/12025-media-preview-private-sites
mzorz Jun 12, 2020
6a6c893
made changes to leave previous method signature as is (and not break …
mzorz Jun 12, 2020
a549da9
Merge pull request #12153 from wordpress-mobile/fix-memory-leaks-in-s…
oguzkocer Jun 12, 2020
7b565a7
Merge branch 'develop'
jd-alexander Jun 12, 2020
773e7cc
Rework Crash Logging to use DI + Add User Info
jkmassel Jun 10, 2020
3984a4f
Remove inline crash logging calls
jkmassel Jun 10, 2020
a1c4f20
Add inline documentation for CrashLogging class
jkmassel Jun 10, 2020
0292764
Fix documentation and parameter names
jkmassel Jun 11, 2020
fa6afbb
Add user data when sending the event
jkmassel Jun 11, 2020
5fc737d
Fix linter issues
jkmassel Jun 11, 2020
5457afd
Re-sync with `develop`
jkmassel Jun 12, 2020
89ec438
Fix reporting method
jkmassel Jun 12, 2020
0a03af8
Merge pull request #12189 from wordpress-mobile/merge/15.0-final-to-d…
jkmassel Jun 12, 2020
1958d96
Fix outdated test references
jkmassel Jun 12, 2020
74871ab
Merge pull request #12157 from wordpress-mobile/feature/prepublishing…
jd-alexander Jun 12, 2020
0600dad
Fixes ZendeskPlanFieldHelperTest's crash logging usage
oguzkocer Jun 13, 2020
2ec2e83
make sure to inject AuthenticationUtils in AztecVideoLoader
mzorz Jun 13, 2020
b100d6c
bumped utils to 1.25, needed for passing new auth headers in getVideo…
mzorz Jun 13, 2020
b579192
Merge branch 'develop' into issue/12025-media-preview-private-sites
mzorz Jun 13, 2020
8e55b05
Merge pull request #12178 from wordpress-mobile/issue/12025-media-pre…
oguzkocer Jun 13, 2020
b0d9421
created light and dark colors for home ui
jd-alexander Jun 13, 2020
733430c
updated disabled night color.
jd-alexander Jun 13, 2020
4c32dde
Merge branch 'develop' into issue/12026_ri_choose_interests_loading_s…
ashiagr Jun 15, 2020
cd1c6a8
Fix merge issue
ashiagr Jun 15, 2020
9630883
Merge branch 'develop' into fix/convert-me-fragment-to-kotlin
malinajirka Jun 15, 2020
e9a4bd7
Fix lint issues
malinajirka Jun 15, 2020
4713df6
Use new ui states in the fragment
ashiagr Jun 15, 2020
5685ceb
Refactor tests to have a single purpose
ashiagr Jun 15, 2020
4bd5984
Merge pull request #12152 from wordpress-mobile/fix/convert-me-fragme…
malinajirka Jun 15, 2020
becea7b
Merge pull request #12194 from wordpress-mobile/issue-12193/fix_dark_…
ashiagr Jun 15, 2020
211b289
Fix formatting
ashiagr Jun 15, 2020
e485636
Merge pull request #12113 from wordpress-mobile/issue/12026_ri_choose…
malinajirka Jun 15, 2020
387980c
Merge remote-tracking branch 'origin/develop' into add/sentry-user-data
jkmassel Jun 15, 2020
d8b4ef7
Merge pull request #12155 from wordpress-mobile/add/sentry-user-data
oguzkocer Jun 15, 2020
5298fb7
Bump version number
oguzkocer Jun 15, 2020
3e41363
Update release notes.
oguzkocer Jun 15, 2020
6366f1d
Update FluxC version to 1.6.14
oguzkocer Jun 15, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
- restore-gutenberg-bundle-cache
- run:
name: Ensure assets folder exists
command: mkdir libs/gutenberg-mobile/react-native-gutenberg-bridge/android/src/main/assets
command: mkdir -p libs/gutenberg-mobile/react-native-gutenberg-bridge/android/src/main/assets
- attach_workspace:
at: libs/gutenberg-mobile/react-native-gutenberg-bridge/android/src/main/assets
- run:
Expand All @@ -132,7 +132,7 @@ jobs:
- restore-gutenberg-bundle-cache
- run:
name: Ensure assets folder exists
command: mkdir libs/gutenberg-mobile/react-native-gutenberg-bridge/android/src/main/assets
command: mkdir -p libs/gutenberg-mobile/react-native-gutenberg-bridge/android/src/main/assets
- attach_workspace:
at: libs/gutenberg-mobile/react-native-gutenberg-bridge/android/src/main/assets
- run:
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
- restore-gutenberg-bundle-cache
- run:
name: Ensure assets folder exists
command: mkdir libs/gutenberg-mobile/react-native-gutenberg-bridge/android/src/main/assets
command: mkdir -p libs/gutenberg-mobile/react-native-gutenberg-bridge/android/src/main/assets
- attach_workspace:
at: libs/gutenberg-mobile/react-native-gutenberg-bridge/android/src/main/assets
- run:
Expand Down Expand Up @@ -224,7 +224,7 @@ jobs:
- restore-gutenberg-bundle-cache
- run:
name: Ensure assets folder exists
command: mkdir libs/gutenberg-mobile/react-native-gutenberg-bridge/android/src/main/assets
command: mkdir -p libs/gutenberg-mobile/react-native-gutenberg-bridge/android/src/main/assets
- attach_workspace:
at: libs/gutenberg-mobile/react-native-gutenberg-bridge/android/src/main/assets
- run:
Expand Down Expand Up @@ -267,7 +267,7 @@ jobs:
- restore-gutenberg-bundle-cache
- run:
name: Ensure assets folder exists
command: mkdir libs/gutenberg-mobile/react-native-gutenberg-bridge/android/src/main/assets
command: mkdir -p libs/gutenberg-mobile/react-native-gutenberg-bridge/android/src/main/assets
- attach_workspace:
at: libs/gutenberg-mobile/react-native-gutenberg-bridge/android/src/main/assets
- run:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ it on [Google Play](https://play.google.com/store/apps/details?id=org.wordpress.
Notes:

* To use WordPress.com features (login to WordPress.com, access Reader and Stats, etc) you need a WordPress.com OAuth2 ID and secret. Please read the [OAuth2 Authentication](#oauth2-authentication) section.
* While loading/building the app in Android Studio ignore the prompt to update the gradle plugin version as that will probably introduce build errors. On the other hand, feel free to update if you are planning to work on ensuring the compatibility of the newer version.


## OAuth2 Authentication ##
Expand Down
9 changes: 8 additions & 1 deletion RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
15.1
15.2
-----

15.1
-----
* Fixes issue on Notifications tab when two screens were drawn on top of each other
* [**] Fix video thumbnails, settings and preview in Media section for private sites
* [**] Block Editor: Adds editor support for theme defined colors and theme defined gradients on cover and button blocks.
* [*] Support for breaking out of captions/citation authors by pressing enter on the following blocks: image, video, gallery, quote, and pullquote.

15.0
-----
* [*] Fix wrong icon is used when a Password is visible
Expand Down
11 changes: 5 additions & 6 deletions WordPress/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ android {
if (project.hasProperty("versionName")) {
versionName project.property("versionName")
} else {
versionName "alpha-228"
versionName "alpha-229"
}
versionCode 879
versionCode 882
minSdkVersion rootProject.minSdkVersion
targetSdkVersion rootProject.targetSdkVersion

Expand Down Expand Up @@ -85,9 +85,9 @@ android {
dimension "buildType"
// Only set the release version if one isn't provided
if (!project.hasProperty("versionName")) {
versionName "15.0"
versionName "15.1-rc-1"
}
versionCode 880
versionCode 881
buildConfigField "boolean", "ME_ACTIVITY_AVAILABLE", "false"
buildConfigField "boolean", "TENOR_AVAILABLE", "false"
buildConfigField "boolean", "READER_IMPROVEMENTS_PHASE_2", "false"
Expand Down Expand Up @@ -252,8 +252,7 @@ dependencies {
exclude group: 'com.android.support', module: 'support-v4'
exclude module: 'recyclerview-v7'
}
androidTestImplementation('com.github.tomakehurst:wiremock:2.23.2') {
exclude group: 'com.fasterxml.jackson.core', module: 'jackson-core'
androidTestImplementation('com.github.tomakehurst:wiremock:2.26.3') {
exclude group: 'org.apache.httpcomponents', module: 'httpclient'
exclude group: 'org.apache.commons', module: 'commons-lang3'
exclude group: 'asm', module: 'asm'
Expand Down
12 changes: 5 additions & 7 deletions WordPress/src/main/java/org/wordpress/android/WordPress.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
import org.wordpress.android.util.AppLog.T;
import org.wordpress.android.util.AppThemeUtils;
import org.wordpress.android.util.BitmapLruCache;
import org.wordpress.android.util.CrashLoggingUtils;
import org.wordpress.android.util.CrashLogging;
import org.wordpress.android.util.DateTimeUtils;
import org.wordpress.android.util.FluxCUtils;
import org.wordpress.android.util.LocaleManager;
Expand Down Expand Up @@ -161,6 +161,7 @@ public class WordPress extends MultiDexApplication implements HasServiceInjector
@Inject ImageManager mImageManager;
@Inject PrivateAtomicCookie mPrivateAtomicCookie;
@Inject ImageEditorTracker mImageEditorTracker;
@Inject CrashLogging mCrashLogging;

// For development and production `AnalyticsTrackerNosara`, for testing a mocked `Tracker` will be injected.
@Inject Tracker mTracker;
Expand Down Expand Up @@ -230,17 +231,15 @@ public void onCreate() {
// This call needs be made before accessing any methods in android.webkit package
setWebViewDataDirectorySuffixOnAndroidP();

if (CrashLoggingUtils.shouldEnableCrashLogging(getContext())) {
CrashLoggingUtils.startCrashLogging(getContext());
}

initWellSql();

// Init Dagger
initDaggerComponent();
component().inject(this);
mDispatcher.register(this);

mCrashLogging.start(getContext());

// Init static fields from dagger injected singletons, for legacy Actions and Utilities
sRequestQueue = mRequestQueue;
sImageLoader = mImageLoader;
Expand All @@ -257,7 +256,7 @@ public void onLog(T tag, LogLevel logLevel, String message) {
StringBuffer sb = new StringBuffer();
sb.append(logLevel.toString()).append("/").append(AppLog.TAG).append("-")
.append(tag.toString()).append(": ").append(message);
CrashLoggingUtils.log(sb.toString());
mCrashLogging.log(sb.toString());
}
});
AppLog.i(T.UTILS, "WordPress.onCreate");
Expand Down Expand Up @@ -862,7 +861,6 @@ public void onAppGoesToBackground() {
AppLog.d(T.MAIN, "ConnectionChangeReceiver successfully unregistered");
} catch (IllegalArgumentException e) {
AppLog.e(T.MAIN, "ConnectionChangeReceiver was already unregistered");
CrashLoggingUtils.log(e);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import org.wordpress.android.ui.reader.models.ReaderBlogIdPostId;
import org.wordpress.android.ui.reader.models.ReaderBlogIdPostIdList;
import org.wordpress.android.util.AppLog;
import org.wordpress.android.util.CrashLoggingUtils;
import org.wordpress.android.util.SqlUtils;

import java.util.Locale;
Expand Down Expand Up @@ -1096,7 +1095,6 @@ private static ReaderPostList getPostListFromCursor(Cursor cursor) {
} while (cursor.moveToNext());
}
} catch (IllegalStateException e) {
CrashLoggingUtils.log(e);
AppLog.e(AppLog.T.READER, e);
}
return posts;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,20 @@
import org.wordpress.android.ui.posts.PostDatePickerDialogFragment;
import org.wordpress.android.ui.posts.PostListFragment;
import org.wordpress.android.ui.posts.PostNotificationScheduleTimeDialogFragment;
import org.wordpress.android.ui.posts.PostSettingsTagsActivity;
import org.wordpress.android.ui.posts.PostSettingsTagsFragment;
import org.wordpress.android.ui.posts.PostTimePickerDialogFragment;
import org.wordpress.android.ui.posts.PostsListActivity;
import org.wordpress.android.ui.posts.PrepublishingHomeAdapter;
import org.wordpress.android.ui.posts.PrepublishingHomeFragment;
import org.wordpress.android.ui.posts.PrepublishingBottomSheetFragment;
import org.wordpress.android.ui.posts.PrepublishingTagsFragment;
import org.wordpress.android.ui.posts.PublishNotificationReceiver;
import org.wordpress.android.ui.posts.SelectCategoriesActivity;
import org.wordpress.android.ui.posts.adapters.AuthorSelectionAdapter;
import org.wordpress.android.ui.posts.services.AztecVideoLoader;
import org.wordpress.android.ui.posts.prepublishing.PrepublishingPublishSettingsFragment;
import org.wordpress.android.ui.posts.prepublishing.visibility.PrepublishingVisibilityAdapter;
import org.wordpress.android.ui.posts.prepublishing.visibility.PrepublishingVisibilityFragment;
import org.wordpress.android.ui.prefs.AccountSettingsFragment;
import org.wordpress.android.ui.prefs.AppSettingsActivity;
import org.wordpress.android.ui.prefs.AppSettingsFragment;
Expand Down Expand Up @@ -131,6 +139,8 @@
import org.wordpress.android.ui.reader.adapters.ReaderCommentAdapter;
import org.wordpress.android.ui.reader.adapters.ReaderPostAdapter;
import org.wordpress.android.ui.reader.adapters.ReaderUserAdapter;
import org.wordpress.android.ui.reader.discover.interests.ReaderInterestsFragment;
import org.wordpress.android.ui.reader.discover.ReaderDiscoverFragment;
import org.wordpress.android.ui.reader.services.update.ReaderUpdateLogic;
import org.wordpress.android.ui.reader.views.ReaderLikingUsersView;
import org.wordpress.android.ui.reader.views.ReaderSiteHeaderView;
Expand Down Expand Up @@ -162,6 +172,7 @@
import org.wordpress.android.ui.uploads.UploadService;
import org.wordpress.android.ui.whatsnew.FeatureAnnouncementDialogFragment;
import org.wordpress.android.ui.whatsnew.FeatureAnnouncementListAdapter;
import org.wordpress.android.util.CrashLogging;
import org.wordpress.android.util.HtmlToSpannedConverter;
import org.wordpress.android.util.WPWebViewClient;
import org.wordpress.android.util.image.getters.WPCustomImageGetter;
Expand Down Expand Up @@ -329,8 +340,6 @@ public interface AppComponent extends AndroidInjector<WordPress> {

void inject(EditPostSettingsFragment object);

void inject(PostSettingsTagsActivity object);

void inject(PostsListActivity object);

void inject(AuthorSelectionAdapter object);
Expand Down Expand Up @@ -497,6 +506,22 @@ public interface AppComponent extends AndroidInjector<WordPress> {

void inject(PageParentSearchFragment object);

void inject(PrepublishingBottomSheetFragment object);

void inject(PrepublishingHomeFragment object);

void inject(PrepublishingHomeAdapter object);

void inject(PrepublishingTagsFragment object);

void inject(PostSettingsTagsFragment object);

void inject(PrepublishingPublishSettingsFragment object);

void inject(PrepublishingVisibilityFragment object);

void inject(PrepublishingVisibilityAdapter object);

void inject(AppSettingsActivity object);

void inject(FeatureAnnouncementDialogFragment object);
Expand All @@ -505,10 +530,18 @@ public interface AppComponent extends AndroidInjector<WordPress> {

void inject(ReaderFragment object);

void inject(ReaderDiscoverFragment object);

void inject(ReaderSearchActivity object);

void inject(ReaderInterestsFragment object);

void inject(HomepageSettingsDialog object);

void inject(CrashLogging object);

void inject(AztecVideoLoader object);

// Allows us to inject the application without having to instantiate any modules, and provides the Application
// in the app graph
@Component.Builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import org.wordpress.android.fluxc.store.AccountStore
import org.wordpress.android.fluxc.store.SiteStore
import org.wordpress.android.support.SupportHelper
import org.wordpress.android.support.ZendeskHelper
import org.wordpress.android.support.ZendeskPlanFieldHelper
import org.wordpress.android.util.CrashLogging
import javax.inject.Singleton

@Module
Expand All @@ -15,10 +17,16 @@ class SupportModule {
fun provideZendeskHelper(
accountStore: AccountStore,
siteStore: SiteStore,
supportHelper: SupportHelper
): ZendeskHelper = ZendeskHelper(accountStore, siteStore, supportHelper)
supportHelper: SupportHelper,
zendeskPlanFieldHelper: ZendeskPlanFieldHelper
): ZendeskHelper = ZendeskHelper(accountStore, siteStore, supportHelper, zendeskPlanFieldHelper)

@Singleton
@Provides
fun provideSupportHelper(): SupportHelper = SupportHelper()

@Singleton
@Provides
fun provideZendeskPlanFieldHelper(remoteLoggingUtils: CrashLogging): ZendeskPlanFieldHelper =
ZendeskPlanFieldHelper(remoteLoggingUtils)
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,20 @@

import org.wordpress.android.ui.JetpackRemoteInstallViewModel;
import org.wordpress.android.ui.domains.DomainRegistrationMainViewModel;
import org.wordpress.android.ui.main.MeViewModel;
import org.wordpress.android.ui.plans.PlansViewModel;
import org.wordpress.android.ui.posts.EditPostPublishSettingsViewModel;
import org.wordpress.android.ui.posts.PostListMainViewModel;
import org.wordpress.android.ui.posts.PrepublishingHomeViewModel;
import org.wordpress.android.ui.posts.PrepublishingTagsViewModel;
import org.wordpress.android.ui.posts.PrepublishingViewModel;
import org.wordpress.android.ui.posts.editor.StorePostViewModel;
import org.wordpress.android.ui.posts.prepublishing.PrepublishingPublishSettingsViewModel;
import org.wordpress.android.ui.posts.prepublishing.visibility.PrepublishingVisibilityViewModel;
import org.wordpress.android.ui.prefs.homepage.HomepageSettingsViewModel;
import org.wordpress.android.ui.reader.ReaderCommentListViewModel;
import org.wordpress.android.ui.reader.discover.ReaderDiscoverViewModel;
import org.wordpress.android.ui.reader.discover.interests.ReaderInterestsViewModel;
import org.wordpress.android.ui.reader.subfilter.SubFilterViewModel;
import org.wordpress.android.ui.reader.viewmodels.NewsCardViewModel;
import org.wordpress.android.ui.reader.viewmodels.ReaderPostListViewModel;
Expand Down Expand Up @@ -302,6 +310,16 @@ abstract class ViewModelModule {
@ViewModelKey(ReaderViewModel.class)
abstract ViewModel readerParentPostListViewModel(ReaderViewModel viewModel);

@Binds
@IntoMap
@ViewModelKey(ReaderDiscoverViewModel.class)
abstract ViewModel readerDiscoverViewModel(ReaderDiscoverViewModel viewModel);

@Binds
@IntoMap
@ViewModelKey(ReaderInterestsViewModel.class)
abstract ViewModel readerInterestsViewModel(ReaderInterestsViewModel viewModel);

@Binds
@IntoMap
@ViewModelKey(NewsCardViewModel.class)
Expand All @@ -312,6 +330,36 @@ abstract class ViewModelModule {
@ViewModelKey(HomepageSettingsViewModel.class)
abstract ViewModel homepageSettingsDialogViewModel(HomepageSettingsViewModel viewModel);

@Binds
@IntoMap
@ViewModelKey(PrepublishingViewModel.class)
abstract ViewModel prepublishingViewModel(PrepublishingViewModel viewModel);

@Binds
@IntoMap
@ViewModelKey(PrepublishingHomeViewModel.class)
abstract ViewModel prepublishingOptionsViewModel(PrepublishingHomeViewModel viewModel);

@Binds
@IntoMap
@ViewModelKey(PrepublishingTagsViewModel.class)
abstract ViewModel prepublishingTagsViewModel(PrepublishingTagsViewModel viewModel);

@Binds
@IntoMap
@ViewModelKey(PrepublishingPublishSettingsViewModel.class)
abstract ViewModel prepublishingPublishSettingsViewModel(PrepublishingPublishSettingsViewModel viewModel);

@Binds
@IntoMap
@ViewModelKey(PrepublishingVisibilityViewModel.class)
abstract ViewModel prepublishingVisibilityViewModel(PrepublishingVisibilityViewModel viewModel);

@Binds
@IntoMap
@ViewModelKey(MeViewModel.class)
abstract ViewModel meViewModel(MeViewModel viewModel);

@Binds
abstract ViewModelProvider.Factory provideViewModelFactory(ViewModelFactory viewModelFactory);
}
Loading