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 18.8 changes into trunk #17668

Merged
merged 460 commits into from
Dec 13, 2021
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
460 commits
Select commit Hold shift + click to select a range
ec6cf71
Indent cells according to comment depth
dvdchr Nov 24, 2021
6d22e70
Unified About: Add dismiss button
frosty Nov 24, 2021
e108b74
Refactor about header view
frosty Nov 24, 2021
a387db4
Hound fix
frosty Nov 24, 2021
8eac109
Adds tracking for the amp, privacy, and language fields in site settings
Nov 24, 2021
36af41c
Swap send and receive pingbacks tracking
Nov 24, 2021
0553ad6
Merge pull request #17539 from wordpress-mobile/issue/17503-add-setti…
Nov 24, 2021
3a49669
Merge branch 'develop' into issue/17420-rate-us
frosty Nov 24, 2021
604e001
Add new WPAnalyticsStat items
Nov 24, 2021
cb76a14
Add tracking when the months / weeks items are expanded on the Stats …
Nov 24, 2021
e1db2d1
Adds a unit test that surfaces a crasher we have.
diegoreymendez Nov 24, 2021
f479ca3
Add post list set posts page, and homepage tracks
Nov 24, 2021
e256458
Add tracking when you tap the set homepage item
Nov 24, 2021
6696057
Add tracking when you tap the set as posts page item
Nov 24, 2021
7dca8d7
Fixes a crashing issue with CoreData.
diegoreymendez Nov 24, 2021
33b43d9
Update Podfile.lock
Nov 24, 2021
bab9df6
Updated the release notes.
diegoreymendez Nov 24, 2021
7840959
Merge branch 'develop' into issue/17529-crash-on-like-user-update
diegoreymendez Nov 24, 2021
fac3923
Added an extra lightweight check for safety.
diegoreymendez Nov 24, 2021
32a9526
consider comments from Reader flow when checking moderation status
dvdchr Nov 24, 2021
b1e23eb
Update accessory button type when comments can be moderated
dvdchr Nov 24, 2021
96590ae
Unified About: Remove comment
frosty Nov 24, 2021
39f276e
Fixes the unit tests.
diegoreymendez Nov 24, 2021
c2de8e5
Adds some XCTAssertNoThrow() calls to make sure failing tests won't i…
diegoreymendez Nov 24, 2021
7dbf3de
Merge pull request #17553 from wordpress-mobile/issue/17503-add-pages…
Nov 24, 2021
377b596
Update WordPressShared to 1.17.0-beta.1
Nov 24, 2021
ef3827d
Merge pull request #17552 from wordpress-mobile/issue/17503-add-stats…
Nov 24, 2021
058ad66
Add comments, fix indentation.
ScoutHarris Nov 24, 2021
886fd05
Fix indentation.
ScoutHarris Nov 24, 2021
34fd2b2
Merge pull request #17546 from wordpress-mobile/feature/17511-fetch_c…
ScoutHarris Nov 24, 2021
71b3aab
Merge pull request #17548 from wordpress-mobile/feature/17511-show_al…
ScoutHarris Nov 24, 2021
fa7d94f
Unified About: Fix retain cycle
frosty Nov 24, 2021
881d602
Rolls back some unnecessary changes.
diegoreymendez Nov 24, 2021
a44e5bf
Adds some documentation comments.
diegoreymendez Nov 24, 2021
77a67d8
Refactor the discussion settings tracking
Nov 24, 2021
c598a9e
Merge pull request #17554 from wordpress-mobile/issue/17529-crash-on-…
diegoreymendez Nov 24, 2021
5d2a227
Merge pull request #17545 from wordpress-mobile/issue/17503-add-site-…
Nov 24, 2021
a3b0d93
Adds breaking unit tests for an existing issue.
diegoreymendez Nov 24, 2021
e745950
Fixes a crashing issue.
diegoreymendez Nov 24, 2021
d5545a1
Updates the release notes.
diegoreymendez Nov 24, 2021
6403d24
Removed some outdated unit tests.
diegoreymendez Nov 24, 2021
3e39057
Merge pull request #17419 from wordpress-mobile/issue/17416-add-tracks
diegoreymendez Nov 24, 2021
a093057
Actually use specified button insets.
ScoutHarris Nov 24, 2021
7b0bbfa
Set default button insets to 0.
ScoutHarris Nov 24, 2021
8567636
Specify custom button insets.
ScoutHarris Nov 24, 2021
9d80a1a
Add custom header view for detail comments table.
ScoutHarris Nov 24, 2021
3c672f5
Display comments table header with total comments count.
ScoutHarris Nov 24, 2021
672ee67
Disable scrolling on comments table.
ScoutHarris Nov 24, 2021
8b3103f
Remove unnecessary param.
ScoutHarris Nov 25, 2021
8b48f5a
Readability improvements
tiagomar Nov 25, 2021
7efda72
Merge pull request #17551 from wordpress-mobile/issue/17476-cell-inde…
dvdchr Nov 25, 2021
ac6a682
Merge pull request #17557 from wordpress-mobile/issue/17476-overflow-…
dvdchr Nov 25, 2021
31b7f3f
Fix hidden separator inset for regular size class
dvdchr Nov 25, 2021
a43ff2d
Merge branch 'develop' into issue/17475-table-separators
dvdchr Nov 25, 2021
77a6427
Merge branch 'develop' into feature/about-dismiss-button
frosty Nov 25, 2021
7a3c23d
Release script: Update gutenberg-mobile ref
Nov 25, 2021
8077f30
Merge branch 'develop' into issue/17420-rate-us
frosty Nov 25, 2021
b9a7d95
Added About screen tracking for Rate Us
frosty Nov 25, 2021
1f2fa28
Update reference to Gutenberg Mobile
Nov 25, 2021
9db22a3
Update release notes with Gutenberg changes
Nov 25, 2021
a422b0f
minor: fix docs
dvdchr Nov 25, 2021
b03f8f0
Merge pull request #17549 from wordpress-mobile/issue/17475-table-sep…
dvdchr Nov 25, 2021
71d72d0
Merge pull request #17556 from wordpress-mobile/issue/17420-rate-us
frosty Nov 25, 2021
7e03db2
Merge pull request #17550 from wordpress-mobile/feature/about-dismiss…
frosty Nov 25, 2021
dc4a1c7
Remove EpilogueSectionHeaderFooter
Oct 28, 2021
f892157
Add LoginEpilogueChooseSiteTableViewCell
Oct 28, 2021
2996b48
Adjusting UI
Oct 28, 2021
e3a3211
Updating UI
Oct 28, 2021
0447f9a
Add LoginEpilogueDividerView
Oct 29, 2021
fea658f
Add LoginEpilogueDividerView to bottomPanel
Oct 29, 2021
4aef602
Remove LoginEpilogueConnectSiteCell
Oct 29, 2021
827e9dd
Hide bottom panel if number of sites is less then 4
Oct 29, 2021
ab37fac
Fix separators
Oct 29, 2021
bcc2a99
Add LoginEpilogueCreateNewSiteCell
Oct 29, 2021
1a30276
Cleanup.
Oct 29, 2021
98f02e7
Fix: apply the correct constraints
Nov 1, 2021
bc0f96e
Refactor: define constants for LoginEpilogueCreateNewSiteCell
Nov 1, 2021
3f6e620
Refactor: define constants for divider view
Nov 1, 2021
561bcc2
Refactor: use divider muriel color
Nov 1, 2021
ca6a73e
Fix: remove seperator line on last row
Nov 1, 2021
1b0e9f4
Fix: hide Create A New Site button for Jetpack
Nov 1, 2021
ae7f0de
Refactor: define constants for choose site cell
Nov 2, 2021
0112ec7
Fix: update comment
Nov 2, 2021
94ef920
Refactor: extract condition into a bool constant
Nov 2, 2021
d658c41
Add: dismiss epilogue and navigate to My Site
Nov 2, 2021
f69c37c
Refactor: show selected blog
Nov 2, 2021
b2be93f
Refactor: rename parameter for clarity
Nov 3, 2021
1f6f023
Refactor: extract showBlogDetails to extension
Nov 3, 2021
fdd2611
Add: new quick start prompt vc
Nov 3, 2021
805ae18
Refactor: show quick start after blog is selected in epilogue
Nov 3, 2021
29dc8bd
Refactor: show My Site screen briefly before presenting Quick Start
Nov 4, 2021
2b5a91c
Refactor: extract dismissPrompt to a method
Nov 4, 2021
717ea6a
Add: user defaults extension for quick start
Nov 4, 2021
e5d9281
Add: mark quick start as dismissed if No Thanks was tapped
Nov 4, 2021
c7cbab5
Refactor: dismiss and show blog if quick start has already been dismi…
Nov 4, 2021
47d2226
Update: quick start delay
Nov 5, 2021
b3132e0
Fix: follow readable width for quick start prompt
Nov 5, 2021
3e6d60f
Fix: adjust font style
Nov 8, 2021
bf47970
Fix: adjust stackview spacing
Nov 8, 2021
309e487
Fix: constrain to contentview
Nov 8, 2021
2bb8530
Add: onCreateNewSite closure
Nov 10, 2021
d8e9b27
Add: present site creation wizard from epilogue
Nov 10, 2021
2bca277
Refactor: pass onDismissQuickStart closure
Nov 10, 2021
32cf5d0
Refactor: dismiss the fullscreen signin from the quick start prompt
Nov 11, 2021
06fb03e
Refactor: show quick start prompt instead of old quick start alert
Nov 11, 2021
6bd832a
Add: quick start settings helper class
Nov 9, 2021
2b3242e
Refactor: inject quick start settings
Nov 18, 2021
1ab0d56
Add: tests for quick start settings
Nov 9, 2021
9d915b0
Refactor: define on dismiss closure in wp auth manager
Nov 18, 2021
6f5a846
Fix: typo
Nov 18, 2021
e3a2f03
Refactor: inject quick start settings
Nov 18, 2021
1c1a42f
Refactor: extract delayed quick start execution to a method
Nov 18, 2021
e781e4f
Fix: show quick start tour after site creation via site picker
Nov 18, 2021
e11c944
Refactor: rename method to setupWithDelay and omit executeWithDelay p…
Nov 18, 2021
2f23fe0
Refactor: make QuickStartSettings non optional
Nov 18, 2021
3a7df0e
Update: copy for Customize quick start steps
Nov 17, 2021
e953c61
Update: copy for Grow quick start steps
Nov 17, 2021
daa75a1
Update: refine quick start prompt layout
Nov 17, 2021
bdaa035
Fix: create new site row display logic
Nov 17, 2021
fa75c97
Refactor: define constant for create new site row threshold
Nov 17, 2021
ec24613
Refactor: update button panel configuration
Nov 17, 2021
8f71f35
Refactor: don't show quickstart upgrade to v2 alert
Nov 18, 2021
dc8dbd3
Remove: reference to quick start v2 notice
Nov 18, 2021
a9984f6
Remove: obsolete file
Nov 18, 2021
6fb5edf
Refactor: configure LoginEpilogueChooseSiteTableViewCell based on if …
Nov 19, 2021
7d14e4a
Refactor: extract number of sites to a method
Nov 19, 2021
9dd1bdf
Refactor: Make create a new site button a subview of the button panel
Nov 22, 2021
4e2dc7d
Refactor: define two bottom constraints for tableview container view
Nov 22, 2021
fe38972
Refactor: add a skip button to the epilogue
Nov 22, 2021
b96ca20
Refactor: if there are no sites yet, then show the skip button
Nov 22, 2021
741c1ec
Refactor: configure button panel when there's no sites yet
Nov 22, 2021
cc1b871
Add: dismiss epilogue when the skip button is tapped
Nov 22, 2021
64ce3f2
Fix: when a blog is selected on the epilogue, first check if the quic…
Nov 22, 2021
9b728f4
Add: epilogue new events
Nov 25, 2021
e7b0393
Add: track site selected and creating a new site
leandroalonso Nov 23, 2021
b7e341b
Fix: track quick start prompt button actions
Nov 24, 2021
a9e5b11
Add: when switching to the quick start prompt, read the title
leandroalonso Nov 23, 2021
69991dc
Add: quick start prompt screen
Nov 24, 2021
847d008
Add: accesssibility identifier for login epilogue table
Nov 24, 2021
1e47f48
Fix: dismiss epilogue screen after adding self-hosted site via the si…
Nov 24, 2021
c8fc04f
Fix: tap on first site and dismiss quick start prompt if needed
Nov 24, 2021
9e32d77
Update: release notes for Onboarding Improvements
Nov 25, 2021
271409a
Merge beta 18.7.0.2 (#17562)
mokagio Nov 25, 2021
2a367e4
Merge pull request #17564 from wordpress-mobile/epic/onboarding-impro…
momo-ozawa Nov 25, 2021
9f46631
Merge pull request #17530 from wordpress-mobile/task/remove_empty_sta…
leandroalonso Nov 25, 2021
a0fb909
Merge pull request #17559 from wordpress-mobile/try/fix-crashing-issu…
diegoreymendez Nov 25, 2021
92e9350
Unified About: Add Automattic Family navigation
frosty Nov 25, 2021
0ed0130
Merge pull request #17568 from wordpress-mobile/feature/about-automat…
frosty Nov 25, 2021
da82fb5
Fix merge conflict in RELEASE-NOTES
Nov 25, 2021
5433068
Add missing change to RELEASE-NOTES
Nov 25, 2021
24d1e8f
Update referene to Gutenberg
Nov 25, 2021
7c2c518
Merge branch 'develop' into gutenberg/integrate_release_1.67.0
Nov 25, 2021
a6593c5
Revert accidental edit to RELEASE-NOTE item
Nov 25, 2021
3faacae
Merge branch 'gutenberg/integrate_release_1.67.0' of github.com:wordp…
Nov 25, 2021
9f0bce7
Replace LocalizedStringKey constants with AppLocalizedString calls
AliSoftware Nov 25, 2021
1e5c937
Update Fastfile to recognize AppLocalizedString as a L10n routine
AliSoftware Nov 25, 2021
85fe5c7
Update strings for localization
AliSoftware Nov 25, 2021
da86de6
Revert changes to generated .strings file
AliSoftware Nov 25, 2021
82df966
Add env vars in scheme to test the iOS14 Widget easily
AliSoftware Nov 25, 2021
27fd0ae
Move already-localized strings from Widget to App
AliSoftware Nov 25, 2021
b5be219
Better documentation for AppLocalizedString helper
AliSoftware Nov 25, 2021
d6f924e
Remove trailing newlines at end of `.strings`
AliSoftware Nov 25, 2021
c155bac
Remove trailing whitespaces
AliSoftware Nov 26, 2021
ec9cc02
Manually reorder the `widget.*` keys in `en.lproj`
AliSoftware Nov 26, 2021
6a84db6
Add some missing `widget.*` keys in `en.lproj`
AliSoftware Nov 26, 2021
40ba38f
Readability improvement to dismissPost
tiagomar Nov 26, 2021
7b677c1
Update Gutenberg Mobile ref with tag
jd-alexander Nov 26, 2021
8767363
Merge pull request #17563 from wordpress-mobile/gutenberg/integrate_r…
Nov 26, 2021
06d1b64
Unified About: Add Blog row
frosty Nov 26, 2021
cec4dcd
Merge pull request #17560 from wordpress-mobile/feature/17511-comment…
ScoutHarris Nov 26, 2021
d287238
Unified About: Switch about logic of AboutItem accessoryType
frosty Nov 26, 2021
9f913b1
Fix issue where About VC was rotating when it shouldn't
frosty Nov 26, 2021
c52ce5f
Unified About: Hide implementation details of navigation controller
frosty Nov 26, 2021
51d0e3b
Improvement wording in comments
AliSoftware Nov 26, 2021
4bc6a92
Merge changes from finalized release 18.7 (#17573)
mokagio Nov 26, 2021
2e0ad43
Updated release notes
frosty Nov 26, 2021
7f8641d
Updated About screen feature flag to available for all
frosty Nov 26, 2021
88cb0a9
Merge pull request #17574 from wordpress-mobile/feature/about-blog
frosty Nov 26, 2021
c11d354
Merge pull request #17575 from wordpress-mobile/fix/unified-about-rot…
frosty Nov 26, 2021
77e32ab
Merge pull request #17576 from wordpress-mobile/feature/expose-about-…
frosty Nov 26, 2021
a7c5357
Unified About: Fix an issue where nav bar should be hidden but wasn't
frosty Nov 26, 2021
8815a01
Merge pull request #17570 from wordpress-mobile/tooling/l10n-step2/st…
AliSoftware Nov 26, 2021
36a0cbc
Rename Unified About screen files
frosty Nov 26, 2021
76d497f
Rename new About view controller and header
frosty Nov 26, 2021
8ceb016
Merge pull request #17536 from wordpress-mobile/reader-ui-tests-clean
tiagomar Nov 26, 2021
775e270
Merge pull request #17577 from wordpress-mobile/fix/about-screen-nav-bar
frosty Nov 26, 2021
ba55ae6
Rename About Screen configuration
frosty Nov 26, 2021
19502ec
Merge branch 'develop' into feature/rename-about-screen
frosty Nov 26, 2021
c9a17ab
Revert Epilogue no sites layout variation w skip button
Nov 26, 2021
0967e3c
Refactor: always display the PSI if there's 0 blogs
Nov 26, 2021
c96b595
Delete: PostSignUpInterstitialCoordinator
Nov 26, 2021
a45cff2
Merge pull request #17455 from wordpress-mobile/bloggig-reminders-dis…
tiagomar Nov 26, 2021
702faac
Merge pull request #17580 from wordpress-mobile/feature/rename-about-…
frosty Nov 26, 2021
ddcc835
Reuse Post Sign-up Interstitial if there's no sites (#17578)
mokagio Nov 28, 2021
c9fdc73
Bump version number
mokagio Nov 28, 2021
438ee42
Update draft release notes for 18.8.
mokagio Nov 28, 2021
e55ad8a
Release Notes: add new section for next version (18.9)
mokagio Nov 28, 2021
ce978a3
Use production versions of internal pods for release 18.8
mokagio Nov 29, 2021
4251fe5
Update strings for localization
mokagio Nov 29, 2021
a201421
Manually bump build n. to start a new deployment
mokagio Nov 29, 2021
c7f10ed
Refactor: increase the low site views threshold to 3000
leandroalonso Nov 29, 2021
d4a5724
Don't set background colors in xib, don't manually set textView backg…
ScoutHarris Nov 29, 2021
39c2ccc
Increase the empty stats threshold to 3000 (#17590)
mokagio Nov 30, 2021
fd91b20
Merge pull request #17595 from wordpress-mobile/fix/reply_background
ScoutHarris Nov 30, 2021
1cc066c
Update translations
mokagio Dec 1, 2021
ef453f7
Update metadata translations
mokagio Dec 1, 2021
80ade47
Update Jetpack metadata translations
mokagio Dec 1, 2021
ff3fbe2
Bump version number
mokagio Dec 1, 2021
b351d33
Fix for Reader Detail view navigation bars on iOS 15
frosty Dec 1, 2021
a42d92a
Add: lookup a self-hosted blog
leandroalonso Nov 29, 2021
ffdddad
Refactor: change the callback to return if quick start should be pres…
leandroalonso Nov 30, 2021
2f51b89
Fix: show quick start after site creation only if the user choose to
leandroalonso Nov 30, 2021
6897ad9
Fix: for self-hosted flows ensure the blog is selected when triggerin…
leandroalonso Nov 30, 2021
7ade499
Test: fix UI tests
leandroalonso Dec 1, 2021
b0e044a
docs: add missing comment to onDismiss block
leandroalonso Dec 1, 2021
2baed73
Add: isQuickStartAvailable method
Dec 1, 2021
23b5068
Fix: check if quick start is available
Dec 1, 2021
539cd50
Add: do not show the epilogue when adding a self-hosted site
leandroalonso Nov 29, 2021
b36a4d1
Merge pull request #17611 from wordpress-mobile/fix/onboarding-improv…
leandroalonso Dec 2, 2021
f21cef5
Merge pull request #17609 from wordpress-mobile/fix/reader-header
AliSoftware Dec 2, 2021
c7e0b85
Update translations
AliSoftware Dec 2, 2021
366ef1e
Bump version number
AliSoftware Dec 2, 2021
4d328cd
Update Release Notes with Editorial'd copy
AliSoftware Dec 3, 2021
5fbb92e
Update metadata strings
AliSoftware Dec 3, 2021
8f4b6a4
Update metadata strings
AliSoftware Dec 3, 2021
2e840c8
Fix unescaped quotes in AppStoreStrings.po
AliSoftware Dec 3, 2021
7e75259
Use derived context for WeeklyRoundup background task
dvdchr Dec 8, 2021
26c4570
Unified About: Fix border around SpriteKit view on some devices
frosty Dec 8, 2021
3cc1a6d
Fix: mark the chosen site as a recent site
Dec 8, 2021
f560797
Fix: scale QS prompt labels w system font size
Dec 8, 2021
4e98794
Increase timeout duration for LikeUserHelperTests
dvdchr Dec 8, 2021
a40c20e
Merge pull request #17643 from wordpress-mobile/fix/onboarding-improv…
momo-ozawa Dec 8, 2021
9e1f130
Unified About: Improve header view dynamic type support
frosty Dec 8, 2021
5861993
Merge pull request #17642 from wordpress-mobile/fix/weekly-roundup-ba…
dvdchr Dec 8, 2021
f7393d4
Fix: show the selected site after wpcom login
Dec 8, 2021
9f6bd73
Merge pull request #17646 from wordpress-mobile/fix/about-screen-issues
frosty Dec 8, 2021
4324d24
Update translations
mokagio Dec 8, 2021
fe0bc6b
Update metadata translations
mokagio Dec 8, 2021
f366e30
Update Jetpack metadata translations
mokagio Dec 8, 2021
a5a8706
Bump version number
mokagio Dec 8, 2021
950eb0e
Merge pull request #17649 from wordpress-mobile/fix/onboarding-improv…
momo-ozawa Dec 9, 2021
d3c541d
Update translations
mokagio Dec 10, 2021
86db232
Update metadata translations
mokagio Dec 10, 2021
727bca2
Update Jetpack metadata translations
mokagio Dec 10, 2021
db05f19
Bump version number
mokagio Dec 10, 2021
d30d11b
Add: SIWA entitlements
leandroalonso Dec 13, 2021
61607f2
Add: SIWA button for Jetpack
leandroalonso Dec 13, 2021
d593fa0
Merge pull request #17671 from wordpress-mobile/task/jetpack_apple_si…
jkmassel Dec 13, 2021
ad49b3a
Update translations
jkmassel Dec 13, 2021
e92a973
Update metadata translations
jkmassel Dec 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .bundle/config
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
BUNDLE_PATH: "vendor/bundle"
BUNDLE_JOBS: "16"
BUNDLE_WITHOUT: "screenshots"
38 changes: 22 additions & 16 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
GIT
remote: [email protected]:wordpress-mobile/release-toolkit
revision: eccf5a273276e976cd42c66590af087d1654037f
branch: develop
specs:
fastlane-plugin-wpmreleasetoolkit (2.1.0)
activesupport (~> 5)
bigdecimal (~> 1.4)
chroma (= 0.2.0)
diffy (~> 3.3)
git (~> 1.3)
jsonlint (~> 0.3)
nokogiri (~> 1.11)
octokit (~> 4.18)
parallel (~> 1.14)
progress_bar (~> 1.3)
rake (>= 12.3, < 14.0)
rake-compiler (~> 1.0)

GEM
remote: https://rubygems.org/
specs:
Expand Down Expand Up @@ -165,19 +184,6 @@ GEM
trainer
xcodeproj
xctest_list (>= 1.2.1)
fastlane-plugin-wpmreleasetoolkit (2.1.0)
activesupport (~> 5)
bigdecimal (~> 1.4)
chroma (= 0.2.0)
diffy (~> 3.3)
git (~> 1.3)
jsonlint (~> 0.3)
nokogiri (~> 1.11)
octokit (~> 4.18)
parallel (~> 1.14)
progress_bar (~> 1.3)
rake (>= 12.3, < 14.0)
rake-compiler (~> 1.0)
ffi (1.15.0)
fourflusher (2.3.1)
fuzzy_match (2.0.4)
Expand Down Expand Up @@ -226,7 +232,7 @@ GEM
http-cookie (1.0.4)
domain_name (~> 0.5)
httpclient (2.8.3)
i18n (1.8.10)
i18n (1.8.11)
concurrent-ruby (~> 1.0)
jmespath (1.4.0)
json (2.5.1)
Expand Down Expand Up @@ -340,11 +346,11 @@ DEPENDENCIES
fastlane-plugin-appcenter (~> 1.8)
fastlane-plugin-sentry
fastlane-plugin-test_center
fastlane-plugin-wpmreleasetoolkit (~> 2.1)
fastlane-plugin-wpmreleasetoolkit!
octokit (~> 4.0)
rake
rmagick (~> 3.2.0)
xcpretty-travis-formatter

BUNDLED WITH
2.2.27
2.2.31
6 changes: 3 additions & 3 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ workspace 'WordPress.xcworkspace'
## ===================================
##
def wordpress_shared
pod 'WordPressShared', '~> 1.16.2'
pod 'WordPressShared', '~> 1.17.0'
#pod 'WordPressShared', :git => 'https://github.com/wordpress-mobile/WordPress-iOS-Shared.git', :tag => ''
#pod 'WordPressShared', :git => 'https://github.com/wordpress-mobile/WordPress-iOS-Shared.git', :branch => ''
#pod 'WordPressShared', :git => 'https://github.com/wordpress-mobile/WordPress-iOS-Shared.git', :commit => ''
Expand All @@ -47,7 +47,7 @@ def wordpress_ui
end

def wordpress_kit
pod 'WordPressKit', '~> 4.43.0'
pod 'WordPressKit', '~> 4.44.0'
# pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :tag => ''
# pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :branch => ''
# pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :commit => ''
Expand Down Expand Up @@ -166,7 +166,7 @@ abstract_target 'Apps' do
## Gutenberg (React Native)
## =====================
##
gutenberg :tag => 'v1.66.0'
gutenberg :tag => 'v1.67.0'

## Third party libraries
## =====================
Expand Down
200 changes: 100 additions & 100 deletions Podfile.lock

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
18.9
-----


18.8
-----
* [*] Added a new About screen, with links to rate the app, share it with others, visit our Twitter profile, view our other apps, and more. [https://github.com/orgs/wordpress-mobile/projects/107]
* [*] Editor: Show a compact notice when switching between HTML or Visual mode. [https://github.com/wordpress-mobile/WordPress-iOS/pull/17521]
* [*] Onboarding Improvements: Need a little help after login? We're here for you. We've made a few changes to the login flow that will make it easier for you to start managing your site or create a new one. [#17564]
* [***] Fixed crash where uploading image when offline crashes iOS app. [#17488]
* [***] Fixed crash that was sometimes triggered when deleting media. [#17559]
* [***] Fixes a crasher that was sometimes triggered when seeing the details for like notifications. [#17529]
* [**] Block editor: Add clipboard link suggestion to image block and button block. [https://github.com/WordPress/gutenberg/pull/35972]
* [*] Block editor: Embed block: Include link in block settings. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4189]
* [**] Block editor: Fix tab titles translation of inserter menu. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4248]
* [**] Block editor: Gallery block: When a gallery block is added, the media options are auto opened for v2 of the Gallery block. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4277]
* [*] Block editor: Media & Text block: Fix an issue where the text font size would be bigger than expected in some cases. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/4252]

18.7
-----
Expand Down
158 changes: 0 additions & 158 deletions Scripts/localize.py

This file was deleted.

1 change: 1 addition & 0 deletions WordPress/Classes/Categories/NSObject+Helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@

+ (nonnull NSString *)classNameWithoutNamespaces;

- (void)debounce:(SEL)selector afterDelay:(NSTimeInterval)timeInterval;
@end
10 changes: 10 additions & 0 deletions WordPress/Classes/Categories/NSObject+Helpers.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,14 @@ + (NSString *)classNameWithoutNamespaces
return [[NSStringFromClass(self) componentsSeparatedByString:@"."] lastObject];
}

- (void)debounce:(SEL)selector afterDelay:(NSTimeInterval)timeInterval
{
__weak __typeof(self) weakSelf = self;
[NSObject cancelPreviousPerformRequestsWithTarget:weakSelf
selector:selector
object:nil];
[weakSelf performSelector:selector
withObject:nil
afterDelay:timeInterval];
}
@end
13 changes: 13 additions & 0 deletions WordPress/Classes/Models/Blog+Lookup.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,17 @@ public extension Blog {
// assemble the predicate as in `NSPredicate("blogID == %@")`
try? lookup(withID: id.int64Value, in: context)
}

/// Lookup a Blog by WP.ORG Credentials
///
/// - Parameters:
/// - username: The username associated with the blog.
/// - xmlrpc: The xmlrpc URL address
/// - context: An NSManagedObjectContext containing the `Blog` object with the given `blogID`.
/// - Returns: The `Blog` object associated with the given `username` and `xmlrpc`, if it exists.
static func lookup(username: String, xmlrpc: String, in context: NSManagedObjectContext) -> Blog? {
let service = BlogService(managedObjectContext: context)

return service.findBlog(withXmlrpc: xmlrpc, andUsername: username)
}
}
30 changes: 30 additions & 0 deletions WordPress/Classes/Models/Comment+CoreDataClass.swift
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,42 @@ public class Comment: NSManagedObject {
/// Convenience method to check if the current user can actually moderate.
/// `canModerate` is only applicable when the site is dotcom-related (hosted or atomic). For self-hosted sites, default to true.
func allowsModeration() -> Bool {
if let _ = post as? ReaderPost {
return canModerate
}

guard let blog = blog,
(blog.isHostedAtWPcom || blog.isAtomic()) else {
return true
}
return canModerate
}

func canReply() -> Bool {
if let readerPost = post as? ReaderPost {
return readerPost.commentsOpen && ReaderHelpers.isLoggedIn()
}

return !isReadOnly()
}

// NOTE: Comment Likes could be disabled, but the API doesn't have that info yet. Let's update this once it's available.
func canLike() -> Bool {
if let _ = post as? ReaderPost {
return ReaderHelpers.isLoggedIn()
}

guard let blog = blog else {
// Disable likes feature for self-hosted sites.
return false
}

return !isReadOnly() && blog.supports(.commentLikes)
}

@objc func isTopLevelComment() -> Bool {
return depth == 0
}
}

private extension Comment {
Expand Down
17 changes: 15 additions & 2 deletions WordPress/Classes/Services/CommentService.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,25 @@ extern NSUInteger const WPTopLevelHierarchicalCommentsPerPage;
success:(void (^)(void))success
failure:(void (^)(NSError *error))failure;

// Sync a list of comments sorted by hierarchy
// Sync a list of comments sorted by hierarchy, fetched by page number.
- (void)syncHierarchicalCommentsForPost:(ReaderPost *)post
page:(NSUInteger)page
success:(void (^)(NSInteger count, BOOL hasMore))success
success:(void (^)(BOOL hasMore, NSNumber *totalComments))success
failure:(void (^)(NSError *error))failure;

// Sync a list of comments sorted by hierarchy, restricted by the specified number of _top level_ comments.
// This method is intended to get a small number of comments.
// Therefore it is restricted to page 1 only.
- (void)syncHierarchicalCommentsForPost:(ReaderPost *)post
topLevelComments:(NSUInteger)number
success:(void (^)(BOOL hasMore, NSNumber *totalComments))success
failure:(void (^)(NSError *error))failure;

// Get the specified number of top level comments for the specified post.
// This method is intended to get a small number of comments.
// Therefore it is restricted to page 1 only.
- (NSArray *)topLevelComments:(NSUInteger)number forPost:(ReaderPost *)post;

// Counts and returns the number of full pages of hierarchcial comments synced for a post.
// A partial set does not count toward the total number of pages.
- (NSInteger)numberOfHierarchicalPagesSyncedforPost:(ReaderPost *)post;
Expand Down
Loading