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

Release v1.17 #1566

Merged
merged 239 commits into from
Nov 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
239 commits
Select commit Hold shift + click to select a range
3182479
Point to gutenberg master
marecar3 Sep 30, 2019
fca1431
Point to the latest well known gb master ref
marecar3 Sep 30, 2019
11299f2
Update bundle
marecar3 Sep 30, 2019
e8d7a93
Merge branch 'develop' into release/1.14.0
marecar3 Oct 1, 2019
0444ba3
Update gutenberg ref to the latest rnmobile/release-1.14.0
marecar3 Oct 1, 2019
b006c72
Update GB reference.
SergioEstevao Oct 1, 2019
c74358f
Merge branch 'develop' into release/1.14.0
marecar3 Oct 1, 2019
7a6dd6c
Merge pull request #1375 from wordpress-mobile/issue/1373_tap_links_o…
SergioEstevao Oct 1, 2019
7a412c8
Merge branch 'release/1.14.0' of https://github.com/wordpress-mobile/…
marecar3 Oct 1, 2019
27274dd
Update bundle
marecar3 Oct 1, 2019
1696ab5
Update GB reference.
SergioEstevao Oct 1, 2019
67c433e
Update bundle
marecar3 Oct 1, 2019
b84453d
Update GB reference to fix Header issues.
SergioEstevao Oct 2, 2019
b01446d
Update bundle
marecar3 Oct 3, 2019
93540d0
Android 8 only: Set View.LAYER_TYPE_SOFTWARE on mReactRootView when s…
daniloercoli Oct 3, 2019
d049940
Update release note
daniloercoli Oct 3, 2019
bb24d3f
Increment aztec versio to 1.3.31
marecar3 Oct 3, 2019
7c98591
Merge branch 'release/1.14.0' into issue/wp-android-1268_Content-is-m…
marecar3 Oct 3, 2019
9dd2b2b
Merge pull request #1401 from wordpress-mobile/issue/wp-android-1268_…
daniloercoli Oct 3, 2019
37a0c73
Update gutenberg ref
marecar3 Oct 3, 2019
ad1ad78
Update bundle
marecar3 Oct 3, 2019
9afdaad
Update gb reference
marecar3 Oct 4, 2019
4aadd63
Update bundle
marecar3 Oct 4, 2019
ba606df
Update Aztec iOS to v1.10.1
etoledom Oct 4, 2019
9113230
Update GB reference.
SergioEstevao Oct 4, 2019
a3a25d4
Merge branch 'release/1.14.0' into issue/1264_activate_pre_format_block
SergioEstevao Oct 4, 2019
62ba15e
Update Aztec.
SergioEstevao Oct 8, 2019
c6116a0
Use new functionality in Aztec to replace/update fonts
SergioEstevao Oct 8, 2019
8186064
Merge branch 'develop' into issue/1264_activate_pre_format_block
SergioEstevao Oct 8, 2019
906ea9b
Merge branch 'develop' into issue/1264_activate_pre_format_block
SergioEstevao Oct 10, 2019
2a4de98
Update GB reference.
SergioEstevao Oct 11, 2019
814db70
Merge branch 'develop' into issue/1264_activate_pre_format_block
SergioEstevao Oct 11, 2019
b19630d
Update i18n makepot scripts
mchowning Aug 13, 2019
b16724b
Update GB hash
daniloercoli Oct 28, 2019
f769ab8
Updating gutenberg reference for branch utilizing MediaPreviewActivit…
cameronvoell Oct 30, 2019
a20bcd6
Bridge code for RN bridge to call OnImageFullscreenPreviewListener on…
cameronvoell Oct 30, 2019
3ae7abd
Update GB reference.
SergioEstevao Oct 30, 2019
850cec6
Merge branch 'develop' into issue/1264_activate_pre_format_block
SergioEstevao Oct 30, 2019
817eb0f
Send backspace event to JS in more scenarios
SergioEstevao Oct 30, 2019
3740c7f
Send backspace event to JS in more scenarios
SergioEstevao Oct 30, 2019
05ce8c7
Generate a translation file for Android and iOS
Tug Oct 30, 2019
dac461b
[Aztec iOS] Cleanup white spaces.
etoledom Oct 31, 2019
d5bd76f
[Aztec iOS]: `shouldInteractWith` will return always true to avoid cr…
etoledom Oct 31, 2019
9b38f5d
Add property for android tools to ignore unused resources
Tug Oct 31, 2019
99a4f83
Rename android output
Tug Oct 31, 2019
018a11b
Update android strings file
Tug Oct 31, 2019
920e2ed
Update GB reference.
SergioEstevao Nov 1, 2019
9ed35c8
Update issue templates
SergioEstevao Nov 3, 2019
8b23ae7
Update global colors.
SergioEstevao Nov 3, 2019
2e99b2d
Update GB reference.
SergioEstevao Nov 3, 2019
cc73f4e
Signals the need to relayout view after HTML change.
SergioEstevao Nov 3, 2019
d32ef57
Prepare preformatted block for dark mode.
SergioEstevao Nov 3, 2019
b84e186
Better format colors.
SergioEstevao Nov 3, 2019
5c1d5a2
Merge pull request #1528 from wordpress-mobile/master
etoledom Nov 4, 2019
87bfbab
Merge pull request #1523 from wordpress-mobile/issue/interact-with-ur…
etoledom Nov 4, 2019
552e914
Update gutenberg ref
etoledom Nov 4, 2019
17706b5
Update gutenberg ref
etoledom Nov 4, 2019
67184d1
Merge pull request #1529 from wordpress-mobile/update-gutenberg-ref
etoledom Nov 4, 2019
9660e39
Set preformat when start typing
marecar3 Nov 4, 2019
7b752b1
Add prefromatted html block in initial html
marecar3 Nov 4, 2019
56f679b
Update GB reference.
SergioEstevao Nov 4, 2019
2403382
Implement `getOtherMediaOptions` on iOS Gutenberg brdige
etoledom Nov 4, 2019
f22ece4
Merge branch 'develop' into issue/1264_activate_pre_format_block
SergioEstevao Nov 4, 2019
4ef8d9a
Update Gutenberg hash
hypest Nov 4, 2019
f234f39
Set preformatted background color to transparent on Android native level
marecar3 Nov 4, 2019
1377814
Update Release-notes.txt
hypest Nov 4, 2019
eaf7d83
Update GB reference to support copy of url in clipboard.
SergioEstevao Nov 4, 2019
9a4f381
Merge remote-tracking branch 'origin/develop' into fix/i18n-gen-ios-a…
Tug Nov 4, 2019
3bb0fb3
Update Gutenberg hash
hypest Nov 4, 2019
b0de1fa
Update colors for preformatted blocks.
SergioEstevao Nov 4, 2019
3968a4f
Update GB reference for new preformated colors
SergioEstevao Nov 4, 2019
8017a9c
Use clear color for pre format inside Aztec.
SergioEstevao Nov 4, 2019
7cfa60d
Update issue templates
SergioEstevao Nov 4, 2019
990e8bb
Update GB reference
SergioEstevao Nov 4, 2019
ed17f05
Implement `requestOtherMediaPickFrom` bridge event
etoledom Nov 5, 2019
1fbdd65
Update Gutenberg hash
hypest Nov 5, 2019
2379ac0
Update GB reference
SergioEstevao Nov 5, 2019
8e0973b
Update Gutenberg hash
hypest Nov 5, 2019
d0d449f
Update release notes.
SergioEstevao Nov 5, 2019
e1b500c
Merge branch 'develop' into issue/fix_full_content_deletion
SergioEstevao Nov 5, 2019
245a642
Merge branch 'develop' of https://github.com/wordpress-mobile/gutenbe…
daniloercoli Nov 5, 2019
92723c1
Update GB reference.
SergioEstevao Nov 5, 2019
958f9ca
Update Gutenberg hash
hypest Nov 5, 2019
fbd2485
Update release notes.
SergioEstevao Nov 5, 2019
5a3b39c
Update Gutenberg
koke Nov 5, 2019
1d57115
Remove media-text custom template from initial content
koke Nov 5, 2019
44ef6db
Merge pull request #1517 from wordpress-mobile/issue/fix_full_content…
SergioEstevao Nov 5, 2019
feb7aa3
[iOS Bridge] Implement filters for Client-defined media sources
etoledom Nov 5, 2019
b987dec
[iOS Bridge] Small refactor
etoledom Nov 5, 2019
01ed853
Update GB reference.
SergioEstevao Nov 5, 2019
320eb67
Update GB hash
daniloercoli Nov 5, 2019
2bf210e
Update GB reference.
SergioEstevao Nov 5, 2019
5ed8fc8
Merge branch 'develop' into issue/680_link_prefill_url_from_clipboard
SergioEstevao Nov 5, 2019
38cabc1
[iOS] Update demo app with changes on Bridge
etoledom Nov 5, 2019
5078bfa
Update Gutenberg hash
hypest Nov 5, 2019
8c86a8d
Update GB reference.
SergioEstevao Nov 5, 2019
56e412b
Update release notes
hypest Nov 5, 2019
dbdb12d
Update Gutenberg ref
hypest Nov 5, 2019
0eb7264
Update release notes
hypest Nov 5, 2019
d2e7e81
Update Gutenberg hash
hypest Nov 5, 2019
3274755
Update GB reference to master after merge in GB
SergioEstevao Nov 5, 2019
0edc462
Upgrade GB hash
daniloercoli Nov 5, 2019
d8685f9
Merge pull request #1507 from wordpress-mobile/issue/AztecAndroid-Ind…
daniloercoli Nov 5, 2019
8d2bf23
Merge branch 'release/1.15.3' into develop
SergioEstevao Nov 5, 2019
ec420fc
Merge branch 'develop' into issue/680_link_prefill_url_from_clipboard
SergioEstevao Nov 5, 2019
9c141d7
Update GB reference.
SergioEstevao Nov 5, 2019
106528f
Merge branch 'develop' into issue/1264_activate_pre_format_block
SergioEstevao Nov 5, 2019
5eedd29
Update Gutenberg hash
hypest Nov 6, 2019
5746d79
Merge branch 'develop' into issue/632-add-new-block-indicator-in-appe…
hypest Nov 6, 2019
de605de
Update Gutenberg hash
hypest Nov 6, 2019
b967543
Update gutenberg ref
hypest Nov 6, 2019
443cb05
Merge branch 'develop' into issue/479-block-title-in-unsupported-block
hypest Nov 6, 2019
e49f509
Merge pull request #1537 from wordpress-mobile/issue/680_link_prefill…
hypest Nov 6, 2019
3855ffc
Update to latest version of GB master.
SergioEstevao Nov 6, 2019
158ec72
Merge pull request #1548 from wordpress-mobile/issue/update_to_latest…
hypest Nov 6, 2019
ab61350
Refactor: BottomSheet.RangeCell markup (#1471)
jbinda Nov 6, 2019
e704ae7
Update debug configuration for VSCode
koke Nov 6, 2019
b88b97a
Merge pull request #1550 from wordpress-mobile/fix/vscode-debug
koke Nov 6, 2019
0145eef
Update Gutenberg ref
hypest Nov 6, 2019
81846b8
Merge branch 'develop' into issue/632-add-new-block-indicator-in-appe…
hypest Nov 6, 2019
deaae63
Prevents selection after ZWSP character
koke Nov 6, 2019
ea4bb47
Update gutenberg ref
hypest Nov 6, 2019
8238c4d
Merge branch 'develop' into issue/479-block-title-in-unsupported-block
hypest Nov 6, 2019
7483a11
Update gutenberg ref
hypest Nov 6, 2019
f6a1488
Add item to release notes
koke Nov 6, 2019
4d45389
Update to the merged GB hash
hypest Nov 6, 2019
7085502
Merge pull request #1542 from wordpress-mobile/issue/632-add-new-bloc…
hypest Nov 6, 2019
ad8af89
Update GB reference.
SergioEstevao Nov 6, 2019
7c34244
Update GB reference
SergioEstevao Nov 6, 2019
0d1aec9
Update gutenberg ref
hypest Nov 7, 2019
e2a7c03
Merge branch 'develop' into issue/479-block-title-in-unsupported-block
hypest Nov 7, 2019
d304792
Update Gutenberg
koke Nov 7, 2019
288629a
Merge branch 'develop' into fix-media-text-placeholder
koke Nov 7, 2019
71400e9
Merge pull request #1538 from wordpress-mobile/fix-media-text-placeho…
koke Nov 7, 2019
5bdf4e2
Update gutenberg ref
hypest Nov 7, 2019
dddd005
Merge branch 'develop' into issue/479-block-title-in-unsupported-block
hypest Nov 7, 2019
5ccaf48
Use spaces for indent
Tug Nov 7, 2019
48cf12e
Update translation files
Tug Nov 7, 2019
a760eda
Update gutenberg ref
hypest Nov 7, 2019
69914b4
Fix indents for plurals
Tug Nov 7, 2019
ed4af83
Remove obsolete file
Tug Nov 7, 2019
3c92760
Fix eslint errors
Tug Nov 7, 2019
ba10f1d
Skip tidying for preformatted and quote block
marecar3 Nov 7, 2019
242332a
Fixed typo
marecar3 Nov 7, 2019
bdbe882
Merge pull request #1539 from wordpress-mobile/issue/free-medial-libr…
etoledom Nov 7, 2019
259a726
Remove quote as it's not needed
marecar3 Nov 7, 2019
6b152a6
Update Gutenberg ref
hypest Nov 7, 2019
2e273de
Update Gutenberg ref
hypest Nov 7, 2019
f4d396e
Fix variable naming
Tug Nov 8, 2019
282cc85
Clean node_modules in gutenberg repo
Tug Nov 8, 2019
382d3af
Update Gutenberg to the merged hash
hypest Nov 8, 2019
6786ed0
Remove not-needed bridge methods from the bridge.
etoledom Nov 6, 2019
c729141
Add docs to `requestMediaPicker` bridge function
etoledom Nov 6, 2019
c281b75
[iOS Bridge] Remove requestOtherMediaPick from bridge
etoledom Nov 6, 2019
53ddd20
Call correct method on the android side
marecar3 Nov 6, 2019
6f686fe
Fix typos on `requestMediaPicker` inline docs
etoledom Nov 6, 2019
aa6e425
Fix lint issue
etoledom Nov 8, 2019
348e797
Update gutenberg ref
etoledom Nov 8, 2019
af001b9
Update JS Bundles
etoledom Nov 8, 2019
05cef95
Merge pull request #1533 from wordpress-mobile/issue/479-block-title-…
hypest Nov 8, 2019
2210382
Merge remote-tracking branch 'origin/develop' into issue/remove-extra…
etoledom Nov 8, 2019
1995c3a
Add mobile Spacer component (#1436)
lukewalczak Nov 8, 2019
bf8526b
Merge branch 'develop' into issue/1264_activate_pre_format_block
SergioEstevao Nov 8, 2019
bb3deca
Exclude plural strings for ios
Tug Nov 8, 2019
24a5406
Update GutenbergNativeTranslations.swift
Tug Nov 8, 2019
5dd9708
Merge pull request #1520 from wordpress-mobile/fix/i18n-gen-ios-and-a…
Tug Nov 8, 2019
56ca1fe
Merge branch 'master' into issue/merge_master_1.6.1_to_develop
SergioEstevao Nov 8, 2019
cc4303d
Use characterToReplaceLastEmptyLine instead of harcoding to ZWSP
koke Nov 8, 2019
f44565c
Merge pull request #1558 from wordpress-mobile/issue/merge_master_1.6…
hypest Nov 8, 2019
6aba2a2
Merge branch 'develop' into fix/1530-lowercase-keyboard
koke Nov 8, 2019
63c882d
Media & Text alignment options (#1546)
lukewalczak Nov 8, 2019
27fd6c3
Merge branch 'develop' into issue/1264_activate_pre_format_block
SergioEstevao Nov 8, 2019
3bd133a
Merge pull request #1552 from wordpress-mobile/fix/1530-lowercase-key…
koke Nov 8, 2019
300d236
Update JS bundles and translations
hypest Nov 11, 2019
18f8efc
Update Gutenberg ref
hypest Nov 11, 2019
46764f1
Update Gutenberg ref
hypest Nov 11, 2019
dce526b
Update Release notes
hypest Nov 11, 2019
a680244
Bump version number
hypest Nov 11, 2019
82c9ae2
Merge branch 'release/1.17' into issue/1264_activate_pre_format_block
SergioEstevao Nov 11, 2019
07367ea
Update release notes with paragraph alignment
mchowning Oct 18, 2019
4f9c209
Fix placeholder view width on iOS
mchowning Oct 24, 2019
e78f847
Update AztecEditor-iOS to 1.12.0
mchowning Nov 11, 2019
4cb36ac
Update gutenberg ref
mchowning Nov 12, 2019
0038558
Revert Android changes that upgrade Aztec, since there are problems w…
daniloercoli Nov 12, 2019
cdb00d8
Merge branch 'issue/1264_activate_pre_format_block' of https://github…
daniloercoli Nov 12, 2019
562f3f0
Update GB reference.
SergioEstevao Nov 12, 2019
4ff6d27
Update release notes.
SergioEstevao Nov 12, 2019
f0de340
Update app bundles.
SergioEstevao Nov 12, 2019
fce0775
Update GB reference.
SergioEstevao Nov 12, 2019
b1b0f6f
Removed unnecessary media ID not required for current fullscreen impl…
cameronvoell Nov 13, 2019
3c5051c
Merge pull request #1442 from wordpress-mobile/issue/1264_activate_pr…
SergioEstevao Nov 13, 2019
52b00ab
Move media sources to bridge file
etoledom Nov 13, 2019
41ce67e
Merge remote-tracking branch 'origin/release/1.17' into issue/remove-…
etoledom Nov 13, 2019
d4c53fd
Update GB reference.
SergioEstevao Nov 13, 2019
bcd6064
Undo more changes related to PRE support
hypest Nov 13, 2019
327d950
Updating after gutenberg caught up with 1.17 release.
cameronvoell Nov 13, 2019
8d5beab
Merge branch 'release/1.17' into add/mobile-fullscreen-image-preview-…
cameronvoell Nov 13, 2019
e78e987
Added call missing from test app. Updating gutenberg reference and bu…
cameronvoell Nov 14, 2019
c0ea69a
Updating fullscreen preview parameter to better name, mediaUrl.
cameronvoell Nov 14, 2019
6c87880
Updating gutenberg ref and bundle for changes disabling image preview…
cameronvoell Nov 14, 2019
cc26d45
updated release notes for Image block native fullscreen preview on An…
cameronvoell Nov 14, 2019
4597133
Ever lesser diff
hypest Nov 14, 2019
daa3677
Update GB reference.
SergioEstevao Nov 14, 2019
5892524
Update gutenberg ref
etoledom Nov 14, 2019
7d7ffc7
Update Gutenberg ref
hypest Nov 14, 2019
8448da6
Merge branch 'release/1.17' into 1266_add_content_alignment_to_paragr…
hypest Nov 14, 2019
835ee3f
Soup up the release notes
hypest Nov 14, 2019
1b81200
Update gutenberg ref
etoledom Nov 14, 2019
e2b1b0b
Merge pull request #1578 from wordpress-mobile/try/remove-android-sid…
hypest Nov 14, 2019
7512849
Merge branch 'release/1.17' into issue/fix_paste_in_title
hypest Nov 14, 2019
c90c5b5
Merge pull request #1547 from wordpress-mobile/issue/remove-extra-med…
etoledom Nov 14, 2019
799511d
Update JS Bundles
etoledom Nov 14, 2019
ec347fb
Update the Gutenberg ref
hypest Nov 14, 2019
8dc2d84
Merge branch 'release/1.17' into issue/fix_paste_in_title
hypest Nov 14, 2019
6571305
Update Gutenberg hash
hypest Nov 14, 2019
90e10b9
Merge branch 'release/1.17' into 1266_add_content_alignment_to_paragr…
hypest Nov 14, 2019
2ef519f
Update GB reference to releae branch after merge.
SergioEstevao Nov 14, 2019
4016b94
Merge pull request #1575 from wordpress-mobile/issue/fix_paste_in_title
SergioEstevao Nov 14, 2019
b33e573
Merge branch 'release/1.17' into 1266_add_content_alignment_to_paragr…
hypest Nov 14, 2019
75c0d4e
Update Gutenberg ref to the merged one
hypest Nov 14, 2019
e1cf16c
Merge pull request #1489 from wordpress-mobile/1266_add_content_align…
hypest Nov 14, 2019
53743da
Update Gutenberg to the merged ref
hypest Nov 14, 2019
03f4537
Update gutenberg reference
mkevins Nov 14, 2019
cbad167
Merge branch 'release/1.17' into add/mobile-fullscreen-image-preview-…
hypest Nov 14, 2019
c8cee10
Restore the Gutenberg repo ref
hypest Nov 14, 2019
9ef651b
Revert JS bundles, we'll build them on the release branch
hypest Nov 14, 2019
1c0bfce
Merge pull request #1577 from wordpress-mobile/add/mobile-fullscreen-…
hypest Nov 14, 2019
58dd33e
Update JS bundles
hypest Nov 14, 2019
4d91b76
Update gutenberg ref
etoledom Nov 14, 2019
13153da
Update gutenberg ref
etoledom Nov 14, 2019
8b23e3b
Update gutenberg reference
mkevins Nov 15, 2019
bb2bec3
Merge branch 'release/1.17' into fix/media-text-capture-options
mkevins Nov 15, 2019
058fea9
Update gutenberg ref
etoledom Nov 15, 2019
a6ffdbb
Merge branch 'fix/media-text-capture-options' of https://github.com/w…
etoledom Nov 15, 2019
6c9d52e
Merge pull request #1579 from wordpress-mobile/fix/media-text-capture…
etoledom Nov 15, 2019
85a7365
Update Gutenberg hash
hypest Nov 15, 2019
2a80ab2
Update JS bundles
hypest Nov 15, 2019
77ffeea
Fix crash which occurs after deleting image or page break block (#1582)
marecar3 Nov 15, 2019
9c19f9c
Update bundle files
marecar3 Nov 15, 2019
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
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6, Pixel 4]
- OS: [e.g. iOS 8.1, Android X]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
24 changes: 2 additions & 22 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,11 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug Android",
"program": "${workspaceRoot}/.vscode/launchReactNative.js",
"type": "reactnative",
"request": "launch",
"platform": "android",
"sourceMaps": true,
"outDir": "${workspaceRoot}/.vscode/.react"
},
{
"name": "Debug iOS",
"program": "${workspaceRoot}/.vscode/launchReactNative.js",
"type": "reactnative",
"request": "launch",
"platform": "ios",
"sourceMaps": true,
"outDir": "${workspaceRoot}/.vscode/.react"
},
{
"name": "Attach to packager",
"program": "${workspaceRoot}/.vscode/launchReactNative.js",
"cwd": "${workspaceFolder}",
"type": "reactnative",
"request": "attach",
"sourceMaps": true,
"outDir": "${workspaceRoot}/.vscode/.react"
"request": "attach"
},
]
}
15 changes: 14 additions & 1 deletion RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
1.17.0
------
* Include block title in Unsupported block's UI
* Show new-block-indicator when no blocks at all and when at the last block
* Use existing links in the clipboard to prefill url field when inserting new link.
* Media & Text block alignment options
* Add alignment controls for paragraph blocks
* [iOS] Fix issue where the keyboard would not capitalize sentences correctly on some cases.
* [iOS] Support for Pexels image library
* [Android] Added native fullscreen preview when clicking image from Image Block
* [iOS] Add support for Preformatted block.
* [Android] Fix issue when removing image/page break block crashes the app

1.16.1
------
*[iOS] Fix tap on links bug that reappear on iOS 13.2
* [iOS] Fix tap on links bug that reappear on iOS 13.2

1.16.0
------
Expand Down
5 changes: 5 additions & 0 deletions android/app/src/main/java/com/gutenberg/MainApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ public void requestMediaPickFrom(String mediaSource, MediaUploadCallback mediaUp

}

@Override
public void requestImageFullscreenPreview(String mediaUrl) {

}

@Override
public void editorDidEmitLog(String message, LogLevel logLevel) {
switch (logLevel) {
Expand Down
72 changes: 72 additions & 0 deletions bin/po2android.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
#!/usr/bin/env node

const gettextParser = require( 'gettext-parser' ),
fs = require( 'fs' );

const indent = ' ';

function escapeResourceXML( unsafeXMLValue ) {
// See: https://tekeye.uk/android/examples/android-string-resources-gotchas
// Let's first replace XML special characters that JSON.stringify does not escape: <, > and &
// Then let's use JSON.stringify to handle pre and post spaces as well as escaping ", \, \t and \n
return JSON.stringify( unsafeXMLValue.replace( /[<>&]/g, function( character ) {
switch ( character ) {
case '<': return '&lt;';
case '>': return '&gt;';
case '&': return '&amp;';
}
} ) );
}

function po2Android( poInput ) {
const po = gettextParser.po.parse( poInput );
const translations = po.translations[ '' ];
const androidResources = Object.values( translations ).map( ( translation, id ) => {
if ( translation.msgid === '' ) {
return null;
}
const escapedValue = escapeResourceXML( translation.msgid );
const escapedValuePlural = escapeResourceXML( translation.msgid_plural || '' );
const comment = translation.comments.extracted || '';
let localizedEntry = '';
if ( comment ) {
localizedEntry += `${ indent }<!-- ${ comment.replace( '--', '—' ) } -->\n`;
}
if ( translation.msgid_plural ) {
localizedEntry += `${ indent }<plurals name="gutenberg_native_string_${ id }" tools:ignore="UnusedResources">
${ indent }${ indent }<item quantity="one">${ escapedValue }</item>
${ indent }${ indent }<item quantity="other">${ escapedValuePlural }</item>
${ indent }</plurals>
`;
} else {
localizedEntry += `${ indent }<string name="gutenberg_native_string_${ id }" tools:ignore="UnusedResources">${ escapedValue }</string>\n`;
}
return localizedEntry;
} ).filter( Boolean );
return `<?xml version="1.0" encoding="utf-8"?>\n<resources xmlns:tools="http://schemas.android.com/tools">\n${ androidResources.join( '' ) }</resources>\n`;
}

if ( require.main === module ) {
if ( process.stdin.isTTY ) {
const potFileName = process.argv[ 2 ];
const destination = process.argv[ 3 ];
const potFileContent = fs.readFileSync( potFileName );
const xmlOutput = po2Android( potFileContent, process.argv[ 3 ] );
fs.writeFileSync( destination, xmlOutput );
} else {
let inputData = '';
process.stdin.on( 'readable', function() {
const chunk = this.read();
if ( chunk !== null ) {
inputData += chunk;
}
} );
process.stdin.on( 'end', function() {
process.stdout.write( po2Android( inputData ) );
} );
}
return;
}

module.exports = po2Android;

43 changes: 43 additions & 0 deletions bin/po2swift.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#!/usr/bin/env node

const gettextParser = require( 'gettext-parser' ),
fs = require( 'fs' );

function po2Swift( poInput ) {
const po = gettextParser.po.parse( poInput );
const translations = po.translations[ '' ];
const swiftStrings = Object.values( translations ).map( ( translation, id ) => {
if ( translation.msgid === '' ) {
return null;
}
const encodedValue = JSON.stringify( translation.msgid );
const encodedComment = JSON.stringify( translation.comments.extracted || '' );
return `let string${ id } = NSLocalizedString(${ encodedValue }, comment: ${ encodedComment })`;
} ).filter( Boolean );
return swiftStrings.join( '\n' ) + '\n';
}

if ( require.main === module ) {
if ( process.stdin.isTTY ) {
const potFileName = process.argv[ 2 ];
const destination = process.argv[ 3 ];
const potFileContent = fs.readFileSync( potFileName );
const swiftOutput = po2Swift( potFileContent, process.argv[ 3 ] );
fs.writeFileSync( destination, swiftOutput );
} else {
let inputData = '';
process.stdin.on( 'readable', function() {
const chunk = this.read();
if ( chunk !== null ) {
inputData += chunk;
}
} );
process.stdin.on( 'end', function() {
process.stdout.write( po2Swift( inputData ) );
} );
}
return;
}

module.exports = po2Swift;

1,363 changes: 684 additions & 679 deletions bundle/android/App.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle/android/App.js.map

Large diffs are not rendered by default.

110 changes: 110 additions & 0 deletions bundle/android/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- translators: accessibility text for blocks with invalid content. %d: localized block title -->
<string name="gutenberg_native_string_1" tools:ignore="UnusedResources">"%s block. This block has invalid content"</string>
<string name="gutenberg_native_string_2" tools:ignore="UnusedResources">"Problem displaying block"</string>
<!-- translators: accessibility text. %s: current block position (number). -->
<string name="gutenberg_native_string_3" tools:ignore="UnusedResources">"Remove block at row %s"</string>
<string name="gutenberg_native_string_4" tools:ignore="UnusedResources">"Double tap to remove the block"</string>
<!-- translators: accessibility text. %s: block name. -->
<string name="gutenberg_native_string_5" tools:ignore="UnusedResources">"%s Block"</string>
<string name="gutenberg_native_string_6" tools:ignore="UnusedResources">"Row %d."</string>
<string name="gutenberg_native_string_7" tools:ignore="UnusedResources">"Navigate Up"</string>
<string name="gutenberg_native_string_8" tools:ignore="UnusedResources">"ADD BLOCK HERE"</string>
<!-- translators: accessibility text. %1: current block position (number). %2: next block position (number) -->
<string name="gutenberg_native_string_9" tools:ignore="UnusedResources">"Move block up from row %1$s to row %2$s"</string>
<string name="gutenberg_native_string_10" tools:ignore="UnusedResources">"Move block up"</string>
<string name="gutenberg_native_string_11" tools:ignore="UnusedResources">"Double tap to move the block up"</string>
<!-- translators: accessibility text. %1: current block position (number). %2: next block position (number) -->
<string name="gutenberg_native_string_12" tools:ignore="UnusedResources">"Move block down from row %1$s to row %2$s"</string>
<string name="gutenberg_native_string_13" tools:ignore="UnusedResources">"Move block down"</string>
<string name="gutenberg_native_string_14" tools:ignore="UnusedResources">"Double tap to move the block down"</string>
<string name="gutenberg_native_string_15" tools:ignore="UnusedResources">"Open Settings"</string>
<string name="gutenberg_native_string_16" tools:ignore="UnusedResources">"Start writing…"</string>
<string name="gutenberg_native_string_17" tools:ignore="UnusedResources">"Double tap to add a block"</string>
<string name="gutenberg_native_string_18" tools:ignore="UnusedResources">"ADD IMAGE"</string>
<string name="gutenberg_native_string_19" tools:ignore="UnusedResources">"ADD VIDEO"</string>
<string name="gutenberg_native_string_20" tools:ignore="UnusedResources">"ADD IMAGE OR VIDEO"</string>
<string name="gutenberg_native_string_21" tools:ignore="UnusedResources">"Double tap to select"</string>
<string name="gutenberg_native_string_22" tools:ignore="UnusedResources">"Double tap to select an image"</string>
<string name="gutenberg_native_string_23" tools:ignore="UnusedResources">"Double tap to select a video"</string>
<!-- translators: accessibility text for the media block empty state. %s: media type -->
<string name="gutenberg_native_string_24" tools:ignore="UnusedResources">"%s block. Empty"</string>
<string name="gutenberg_native_string_25" tools:ignore="UnusedResources">"Failed to insert media.\nPlease tap for options."</string>
<string name="gutenberg_native_string_26" tools:ignore="UnusedResources">"Take a Video"</string>
<string name="gutenberg_native_string_27" tools:ignore="UnusedResources">"Take a Photo"</string>
<string name="gutenberg_native_string_28" tools:ignore="UnusedResources">"Take a Photo or Video"</string>
<string name="gutenberg_native_string_29" tools:ignore="UnusedResources">"Choose from device"</string>
<string name="gutenberg_native_string_30" tools:ignore="UnusedResources">"WordPress Media Library"</string>
<string name="gutenberg_native_string_31" tools:ignore="UnusedResources">"Ungroup"</string>
<string name="gutenberg_native_string_32" tools:ignore="UnusedResources">"Paste URL"</string>
<string name="gutenberg_native_string_33" tools:ignore="UnusedResources">"Problem opening the video"</string>
<string name="gutenberg_native_string_34" tools:ignore="UnusedResources">"No application can handle this request. Please install a Web browser."</string>
<string name="gutenberg_native_string_35" tools:ignore="UnusedResources">"An unknown error occurred. Please try again."</string>
<!-- translators: accessibility text. %s: heading level. -->
<string name="gutenberg_native_string_36" tools:ignore="UnusedResources">"Level %s. Empty."</string>
<!-- translators: accessibility text. 1: heading level. 2: heading content. -->
<string name="gutenberg_native_string_37" tools:ignore="UnusedResources">"Level %1$s. %2$s"</string>
<string name="gutenberg_native_string_38" tools:ignore="UnusedResources">"Clear All Settings"</string>
<string name="gutenberg_native_string_39" tools:ignore="UnusedResources">"Add URL"</string>
<string name="gutenberg_native_string_40" tools:ignore="UnusedResources">"Size"</string>
<string name="gutenberg_native_string_41" tools:ignore="UnusedResources">"Alt Text"</string>
<string name="gutenberg_native_string_42" tools:ignore="UnusedResources">"Double tap and hold to edit"</string>
<!-- translators: accessibility text. %s: image caption. -->
<string name="gutenberg_native_string_43" tools:ignore="UnusedResources">"Image caption. %s"</string>
<string name="gutenberg_native_string_44" tools:ignore="UnusedResources">"Empty"</string>
<string name="gutenberg_native_string_45" tools:ignore="UnusedResources">"Help icon"</string>
<string name="gutenberg_native_string_46" tools:ignore="UnusedResources">"Tap here to show help"</string>
<!-- translators: %s: Name of the block -->
<string name="gutenberg_native_string_47" tools:ignore="UnusedResources">"'%s' isn't yet supported on WordPress for Android"</string>
<string name="gutenberg_native_string_48" tools:ignore="UnusedResources">"'%s' isn't yet supported on WordPress for iOS"</string>
<string name="gutenberg_native_string_49" tools:ignore="UnusedResources">"We are working hard to add more blocks with each release. In the meantime, you can also edit this post on the web."</string>
<string name="gutenberg_native_string_50" tools:ignore="UnusedResources">"Unsupported"</string>
<!-- translators: accessibility text. %s: Page break text. -->
<string name="gutenberg_native_string_51" tools:ignore="UnusedResources">"Page break block. %s"</string>
<!-- translators: accessibility text -->
<string name="gutenberg_native_string_52" tools:ignore="UnusedResources">"Double tap to edit this value"</string>
<string name="gutenberg_native_string_53" tools:ignore="UnusedResources">"Current value is %s"</string>
<!-- translators: accessibility text (hint for focusing a slider) -->
<string name="gutenberg_native_string_54" tools:ignore="UnusedResources">"Double tap to change the value using slider"</string>
<!-- translators: accessibility text (hint for switches) -->
<string name="gutenberg_native_string_55" tools:ignore="UnusedResources">"Double tap to toggle setting"</string>
<string name="gutenberg_native_string_56" tools:ignore="UnusedResources">"Content…"</string>
<string name="gutenberg_native_string_57" tools:ignore="UnusedResources">"Reset Block"</string>
<string name="gutenberg_native_string_58" tools:ignore="UnusedResources">"Add a description"</string>
<string name="gutenberg_native_string_59" tools:ignore="UnusedResources">"Add annotation"</string>
<string name="gutenberg_native_string_60" tools:ignore="UnusedResources">"Remove annotations"</string>
<string name="gutenberg_native_string_61" tools:ignore="UnusedResources">"Annotations Sidebar"</string>
<string name="gutenberg_native_string_62" tools:ignore="UnusedResources">"My Document Setting Panel"</string>
<string name="gutenberg_native_string_63" tools:ignore="UnusedResources">"My post status info"</string>
<string name="gutenberg_native_string_64" tools:ignore="UnusedResources">"Here is the panel content!"</string>
<string name="gutenberg_native_string_65" tools:ignore="UnusedResources">"My pre publish panel"</string>
<string name="gutenberg_native_string_66" tools:ignore="UnusedResources">"My post publish panel"</string>
<string name="gutenberg_native_string_67" tools:ignore="UnusedResources">"Title:"</string>
<string name="gutenberg_native_string_68" tools:ignore="UnusedResources">"Sidebar title plugin"</string>
<string name="gutenberg_native_string_69" tools:ignore="UnusedResources">"Double tap to undo last change"</string>
<string name="gutenberg_native_string_70" tools:ignore="UnusedResources">"Double tap to redo last change"</string>
<string name="gutenberg_native_string_71" tools:ignore="UnusedResources">"Hide keyboard"</string>
<string name="gutenberg_native_string_72" tools:ignore="UnusedResources">"Tap to hide the keyboard"</string>
<!-- translators: Checkbox toggle label -->
<string name="gutenberg_native_string_73" tools:ignore="UnusedResources">"Show section"</string>
<!-- translators: accessibility text. empty post title. -->
<string name="gutenberg_native_string_74" tools:ignore="UnusedResources">"Post title. Empty"</string>
<!-- translators: accessibility text. %s: text content of the post title. -->
<string name="gutenberg_native_string_75" tools:ignore="UnusedResources">"Post title. %s"</string>
<string name="gutenberg_native_string_76" tools:ignore="UnusedResources">"Link inserted"</string>
<string name="gutenberg_native_string_77" tools:ignore="UnusedResources">"Link text"</string>
<string name="gutenberg_native_string_78" tools:ignore="UnusedResources">"Add link text"</string>
<string name="gutenberg_native_string_79" tools:ignore="UnusedResources">"Translate"</string>
<string name="gutenberg_native_string_80" tools:ignore="UnusedResources">"hello"</string>
<plurals name="gutenberg_native_string_81" tools:ignore="UnusedResources">
<item quantity="one">"%d banana"</item>
<item quantity="other">"%d bananas"</item>
</plurals>
<string name="gutenberg_native_string_82" tools:ignore="UnusedResources">"hello %s"</string>
<string name="gutenberg_native_string_83" tools:ignore="UnusedResources">"cheeseburger"</string>
<plurals name="gutenberg_native_string_84" tools:ignore="UnusedResources">
<item quantity="one">"%d cat"</item>
<item quantity="other">"%d cats"</item>
</plurals>
</resources>
1,375 changes: 690 additions & 685 deletions bundle/ios/App.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle/ios/App.js.map

Large diffs are not rendered by default.

Loading