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

[RNMobile][Monorepo] Merge gutenberg-mobile and gutenberg master #21790

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
663 commits
Select commit Hold shift + click to select a range
3ea2489
Update the padding values on the Card component to align with propose…
jameskoster Apr 7, 2020
93a78fd
Update Gutenberg Reference for RangeControl refactor
chipsnyder Apr 7, 2020
66afdac
Only scroll page for multi-selectiions (#21460)
youknowriad Apr 7, 2020
28848a4
Testing: Fail E2E when page displays warning notices (#13452)
aduth Apr 7, 2020
b3c364c
Register jetpack blocks before html parsing
cameronvoell Apr 8, 2020
8fc02a0
[RNMobile] - Layout picker - Update emoji (#21373)
Apr 8, 2020
d6b859b
Merge branch 'develop' into fix/layout-picker-emoji
Apr 8, 2020
b92e021
Update Gutenberg ref
Apr 8, 2020
5f66424
Merge pull request #2103 from wordpress-mobile/fix/layout-picker-emoji
Apr 8, 2020
c19d2d9
Use inline styles instead of CSS variables for the style attribute (#…
youknowriad Apr 8, 2020
7db547c
Declare font-size support in heading block (#21431)
nosolosw Apr 8, 2020
5018d2b
Merge pull request #2097 from wordpress-mobile/New-template-for-relea…
SergioEstevao Apr 8, 2020
e50d92e
Fix: prevent ripple effect on slider cell in BottomSheet and disable …
jbinda Apr 8, 2020
7dbc3a6
Update Gutenberg ref
Apr 8, 2020
16d4276
Align plus icon for the iOS Stepper control to the middle of it's con…
chipsnyder Apr 8, 2020
73ebfa6
Update Merged Commit from Gutenberg
chipsnyder Apr 8, 2020
3b62fb9
Merge pull request #2116 from wordpress-mobile/issue/2026-stepperIcon
Apr 8, 2020
29f8656
Add the possibility to support gradients using the experimental color…
youknowriad Apr 8, 2020
da3e674
Update and massage social links colors. (#21474)
jasmussen Apr 8, 2020
521f2c2
[RNMobile] - Layout Picker - Keyboard visibility improvements (#21463)
Apr 8, 2020
34e9035
Merge with develop
Apr 8, 2020
c8f4bbe
Update Gutenberg ref
Apr 8, 2020
aa05f36
Add gradients support to Group, columns and media & text blocks (#21375)
youknowriad Apr 8, 2020
c5d485a
Merge pull request #2123 from wordpress-mobile/feature/layout-picker-…
Apr 8, 2020
a3a06e5
fix/[#21440] Copy/cut input values copying entire block (#21457)
kirilzh Apr 8, 2020
eedd738
[RNMobile] Column block (#19013)
jbinda Apr 8, 2020
c769e80
Update Gutenberg Reference
chipsnyder Apr 8, 2020
b693f14
Accept multiple headers through OnAuthHeaderRequestedListener (#2080)
khaykov Apr 8, 2020
c6e67ce
Add radio option to ButtonGroup (#20805)
ajlende Apr 8, 2020
7aa7e36
Fix reusable block horizontal padding regression. (#21312)
jasmussen Apr 8, 2020
5572304
Framework: Add package-lock precommit check for latest NPM (#21306)
aduth Apr 8, 2020
d85ea0c
[RNMobile] - Blog layout template (#21426)
Apr 8, 2020
2e0c246
Fix Snackbar notice bottom margin. (#18858)
desaiuditd Apr 9, 2020
62953f6
Block API: Add new utility to register block types from metadata in P…
gziolo Apr 9, 2020
e8e5520
ESLint Plugin: Update ESLint and related deps to 6.8.x (#21424)
gziolo Apr 9, 2020
5eaa211
Jest Preset: Major version upgrade for Jest in all packages (#20766)
gziolo Apr 9, 2020
a429d46
Babel Preset: Update Babel version to 7.9.x (#21419)
gziolo Apr 9, 2020
98d5259
Update jetpack ref to fix inner block focus
cameronvoell Apr 9, 2020
c10a0bc
[RNMobile] Pullquote block (#20952)
ceyhun Apr 9, 2020
4457166
Blog layout template (#2114)
Apr 9, 2020
e77f071
Update gutenberg reference
mkevins Apr 9, 2020
ad97bea
Merge branch 'develop' into feature/cover-block-uploads-enable-dev-on…
mkevins Apr 9, 2020
acafff9
Document getAnchorRect prop for Popover component. (#17709)
desaiuditd Apr 9, 2020
ae8999f
Feat: Column block (#1661)
jbinda Apr 9, 2020
ce91154
Fix: `$black` background-color remains visible when there is n… (#20904)
Apr 9, 2020
bdfbb7b
[Mobile] Enable cover block uploads - dev only (#21196)
mkevins Apr 9, 2020
58419f6
Update gutenberg reference
mkevins Apr 9, 2020
aa17351
Merge branch 'develop' into feature/cover-block-uploads-enable-dev-on…
mkevins Apr 9, 2020
8ed774c
Merge pull request #2070 from wordpress-mobile/feature/cover-block-up…
mkevins Apr 9, 2020
f577fbc
Update Gutenberg reference
chipsnyder Apr 9, 2020
cee6439
Update the buttons block to use the new color support flag. (#21266)
youknowriad Apr 9, 2020
7f8c66d
Make dateI18n returns be affected by `gmt` parameter (#18982)
davilera Apr 9, 2020
69935b9
Fix Latests Posts Tests by expanding the scroll to button functionality
chipsnyder Apr 9, 2020
a7fbacd
Fix lint issue
chipsnyder Apr 9, 2020
a4896fc
Merge pull request #2148 from wordpress-mobile/automation/fixLatestPo…
Apr 9, 2020
fadd26e
Make submenus usable on mobile. (#21471)
tellthemachines Apr 9, 2020
512e390
Adding a new keyboard shortcut to toggle Fullscreen Mode. (#21436)
shaunandrews Apr 9, 2020
f56e34d
Build Tooling: Check Latest NPM: Advise additional npm install (#21521)
aduth Apr 9, 2020
bde60cd
Fix typography breakage in master
SergioEstevao Apr 9, 2020
7052c9d
Skip RTL for Separator spacing (#21525)
senadir Apr 9, 2020
2a5146f
Docs: Add section in block RFC about register_block_type_from_metadat…
gziolo Apr 10, 2020
216c6c4
Typescript: Exclude mobile files (#21491)
ockham Apr 10, 2020
2b2cf74
Enable prettier for JSX files (#21151)
a6software Apr 10, 2020
e15c312
Allow reusable block top and bottom paddings to collapse. (#21472)
jasmussen Apr 10, 2020
2611a1d
Try: Inset borders. (#21498)
jasmussen Apr 10, 2020
528c871
Update the post comments block
youknowriad Apr 10, 2020
03cd80f
Update gutenburg reference
mkevins Apr 10, 2020
eb41ebe
Merge branch 'develop' into feature/cover-block-uploads
mkevins Apr 10, 2020
225cfb5
Update gutenberg reference
mkevins Apr 10, 2020
3130e85
Rnmobile/fix font size breakage (#21527)
SergioEstevao Apr 10, 2020
e6df5b2
Update GB reference.
SergioEstevao Apr 10, 2020
58cc903
Merge branch 'develop' into issue/fix_breakage_for_font_size
SergioEstevao Apr 10, 2020
f05c952
Merge pull request #2149 from wordpress-mobile/issue/fix_breakage_for…
SergioEstevao Apr 10, 2020
319a8fc
Primitives: Add types (#21482)
ockham Apr 10, 2020
d84e220
Refactor env commands into separate files (#21353)
noahtallen Apr 10, 2020
e3580a6
ESLint Plugin: Continue considering unused variables after encounteri…
aduth Apr 10, 2020
d1d17be
Icons: Add types (#21487)
ockham Apr 10, 2020
505e310
G2 visual followup (#21476)
jasmussen Apr 13, 2020
66dee55
Fix inserter popover direction. (#21556)
jasmussen Apr 13, 2020
38244ad
Correct slider step accordingly to the platform (#21451)
lukewalczak Apr 13, 2020
8a090f2
Correct slider step value (#2119)
lukewalczak Apr 13, 2020
0463af8
Import the interface stylesheet into the widgets page (#21533)
youknowriad Apr 13, 2020
d330e79
Update gutenberg ref
chipsnyder Apr 13, 2020
c3798f1
Bump plugin version to 7.9.0-rc.1
oandregal Apr 13, 2020
9fd1c69
Update 'Welcome Guide' illustrations (#21515)
enriquesanchez Apr 13, 2020
de08554
Delete empty space (#21453)
Soean Apr 13, 2020
6bcf16a
Update the "patterns" to reflect "user interface" instead (#21562)
mapk Apr 13, 2020
ce1a4d9
Remove duplicate sentence. (#21565)
machouinard Apr 13, 2020
ba19667
Update gutenberg reference
mkevins Apr 14, 2020
aa9b5fd
Merge branch 'develop' into feature/cover-block-uploads
mkevins Apr 14, 2020
bf466de
Restore default button styles (#21572)
youknowriad Apr 14, 2020
76010c3
Improve the performance of the BlockPreview component (#21574)
youknowriad Apr 14, 2020
163e219
Update bug report template to identify the editor version better(#21564)
jorgefilipecosta Apr 14, 2020
9185073
Hide stepper arrows in cover height control (Firefox) (#21571)
nosolosw Apr 14, 2020
527e7f1
fix: [#20954] Scheduled posts display the correct url (#21410)
kirilzh Apr 14, 2020
0c6d95f
Link Format: collapse selection to end after insert (#17126)
ellatrix Apr 14, 2020
5ea1937
Add red color studio colors
mkevins Apr 15, 2020
62d94ce
Update gutenberg reference
mkevins Apr 15, 2020
f508401
Chore: Update npm dependencies that warn (#21596)
gziolo Apr 15, 2020
8ef5faf
Update changelog files
jorgefilipecosta Apr 1, 2020
026121f
Update changelog files
gziolo Apr 15, 2020
450cbd4
Bundle the block autocompleter in the block-editor package (#21534)
youknowriad Apr 15, 2020
a219649
Update changelog file for is-shalow-equal
gziolo Apr 15, 2020
08161b8
chore(release): publish
gziolo Apr 15, 2020
eb1ae56
Use captions defined in Media Library when inserting image.
SergioEstevao Apr 15, 2020
fd4121a
Use caption for Media in Android.
SergioEstevao Apr 15, 2020
b1edf9b
[RNMobile] Correct colors usage in Button (#21603)
lukewalczak Apr 15, 2020
f73151e
RNMobile - Hide video component while video is loading (#21508)
dratwas Apr 15, 2020
0c04094
Correct colors usage in Button (#2155)
lukewalczak Apr 15, 2020
5459d77
eslint-plugin: fix: Cannot find module '../utils' (#21609)
curtisbelt Apr 15, 2020
6d7d411
Update release notes.
SergioEstevao Apr 15, 2020
f4c44cd
eslint-plugin: Add CHANGELOG entry for utils file entry
aduth Apr 15, 2020
0246cb6
[FIX] Cover block background when there's a video is totally black (…
dratwas Apr 15, 2020
4924eff
Fixes overlaping column contents for embeds (#21570)
draganescu Apr 15, 2020
bf44825
Update tests to get predefined caption.
SergioEstevao Apr 15, 2020
ce92adf
Update jetpack ref
Tug Apr 15, 2020
e3818fb
Update npm-package-json-lint from 4.0.3 to 5.0.0 (#21597)
sainthkh Apr 15, 2020
c2684b2
Types: Hide element, primitives, icons declarations (#21613)
sirreal Apr 15, 2020
bf1cfb7
ESLint Plugin: Add the recommended Prettier config to enforce WP codi…
gziolo Apr 15, 2020
1462e09
Fix image tests.
SergioEstevao Apr 15, 2020
39b9509
Update changelog files
gziolo Apr 15, 2020
72faa78
chore(release): publish
gziolo Apr 15, 2020
f7363ca
Bump plugin version to 7.9.0
oandregal Apr 15, 2020
f4cfa26
[RNMobile] Adjust Range-Control to add the stepper control and allow …
chipsnyder Apr 15, 2020
17a9298
Update gutenberg reference for merged commit
chipsnyder Apr 15, 2020
d41c5ff
Merge remote-tracking branch 'origin/develop' into issue/1992-RangeCo…
chipsnyder Apr 15, 2020
e502f6c
Merge pull request #2125 from wordpress-mobile/issue/1992-RangeControl
Apr 15, 2020
064013a
Update jetpack ref
Tug Apr 15, 2020
bde826a
Create triage.md (#21350)
Apr 15, 2020
4bb8c8e
Improve URLPopover code in accordance with a review received (#21621)
jorgefilipecosta Apr 15, 2020
e6c21b9
FIx: Media Text padding on inner blocks (#21612)
jorgefilipecosta Apr 15, 2020
75da962
Find the caption element ignoring the current value set on it.
SergioEstevao Apr 15, 2020
25f9115
Make sure caption element is cleared before adding new text.
SergioEstevao Apr 15, 2020
ca78090
Fix heading test now that clear actually works.
SergioEstevao Apr 15, 2020
8547b5e
env: Expose port 3306 of MySQL container. (#21545)
ocean90 Apr 16, 2020
e83fe42
Fix/calendar focus (#21600)
jasmussen Apr 16, 2020
2f33495
Clean up instructions for remote server (#21625)
mkaz Apr 16, 2020
13f244b
elevate scrollEnabled prop to BlockList (#21505)
jbinda Apr 16, 2020
7080f02
Update cleanForSlug() to remove additional non-word characters (#21007)
earnjam Apr 16, 2020
cba9410
Replace incorrect 'label' attribute with 'aria-label' (#20540)
ocean90 Apr 16, 2020
b403d03
Template Part: Add extra validation when loading template parts (#21636)
noisysocks Apr 16, 2020
66b5777
Docs: Update triage links to new document (#21629)
mkaz Apr 16, 2020
1c4df50
Try a fixed toolbar in the navigation page (#21340)
talldan Apr 16, 2020
c519e5b
Fix panel collapsing in navigation page (#21633)
talldan Apr 16, 2020
6c1355c
Fix: Remove unrequired margins from the columns block (#21615)
jorgefilipecosta Apr 16, 2020
eb4d81f
Fix buttons styling for old markup (#21642)
youknowriad Apr 16, 2020
8aef258
Update e2e test for multi-entity saving in site editor (#21363)
Addison-Stavlo Apr 16, 2020
96d86b9
Remove unused dependency in jetpack-editor-setup
Tug Apr 16, 2020
6bfa3ab
Target final jetpack ref in master
Tug Apr 16, 2020
cb97bae
Merge remote-tracking branch 'origin/develop' into try/jetpack-native…
Tug Apr 16, 2020
0504dad
Fix: Make sidebars pinned by default. (#21645)
jorgefilipecosta Apr 16, 2020
3695f29
Merge branch 'develop' into issue/1851_insert_captions
SergioEstevao Apr 16, 2020
f0d0b84
Hide in production
Tug Apr 16, 2020
70e4c4d
Bump plugin version to 7.9.1
youknowriad Apr 16, 2020
c84a55a
Remove storyshot integration for storybook
brentswisher Apr 15, 2020
f8ba02a
Simplify Reusable Block description. (#21470)
ZebulanStanphill Apr 16, 2020
85d8a2a
[RNMobile] Correct colors usage in Button (#21603) (#21653)
pinarol Apr 16, 2020
c6e5be9
Update develop with master v1.26.0 (#2164)
pinarol Apr 16, 2020
533d43b
Add storybook story for Notice component
brentswisher Feb 28, 2020
f152a28
Docs: Add location for components style.css (#21654)
mkaz Apr 16, 2020
4f12cf3
Add storybook story for toolbar button component
brentswisher Mar 18, 2020
06b33eb
Add storybook story for DropdownMenu component
brentswisher Mar 24, 2020
5e3457f
Add the storybook story for the GradientPicker component
brentswisher Apr 14, 2020
a94e078
Add the storybook story for the CustomGradientPicker component
brentswisher Apr 15, 2020
5c56b60
Only use second column on desktop (#21638)
talldan Apr 17, 2020
fd39dd9
Merge pull request #1934 from wordpress-mobile/try/jetpack-native-blocks
cameronvoell Apr 17, 2020
10e19e0
Allow wrapping for Navigation block links (#21632)
talldan Apr 17, 2020
63f708a
Storybook: Adds FormToggle component (#18085)
enejb Apr 17, 2020
a32e961
Template Switcher: Add current theme (#21578)
ockham Apr 17, 2020
6074400
Fix the JSDoc return type for getEntityRecords (#21630)
samueljseay Apr 17, 2020
5494ff5
Move the Block Patterns UI to the inserter and redesign the inserter …
youknowriad Apr 17, 2020
0336a34
Add end to end test for pinned items (#21652)
jorgefilipecosta Apr 17, 2020
886bb15
Make useMediaQuery return the correct value on the first render (#21682)
alshakero Apr 17, 2020
cc0fdda
Block API: Add Block Context support (#21467)
aduth Apr 17, 2020
078c83b
Build Tools: Install Composer dependencies as prelint step (#21537)
aduth Apr 17, 2020
4b9a049
Build Tooling: Configure Webpack to watch only build files (#21489)
aduth Apr 17, 2020
6fb02ca
Keycodes: Test modifiers for keyboard event as exclusive set (#20733)
aduth Apr 17, 2020
bed93c8
Components: Fix focus loss for Guide Finish button in IE (#20599)
aduth Apr 17, 2020
c14ae55
ESLint Plugin: Fix no-unused-vars-before-return JSX identifier refere…
aduth Apr 17, 2020
216f0df
Fix: Legacy widgets z-index issue (#21586)
jorgefilipecosta Apr 17, 2020
768611b
Remove nested breakpoint in fullscreen-mode CSS (#21496)
sabernhardt Apr 17, 2020
8afed75
Scripts: Install Chromium on demand together with `test-e2e` (#20215)
gziolo Apr 18, 2020
e9ec75b
Add @mikehaydon to contributors (#21706)
Apr 18, 2020
fa16fa3
Change wp_make_content_images_responsive to wp_filter_content_tags (#…
johnstonphilip Apr 20, 2020
b2e8f76
Add test. (#20605)
sainthkh Apr 20, 2020
ffb290f
Use color-studio red-40 instead of red-30 and red-50
mkevins Apr 20, 2020
38068dc
Update gutenberg reference
mkevins Apr 20, 2020
a900467
Merge branch 'develop' into feature/cover-block-uploads
mkevins Apr 20, 2020
4f17612
[Mobile] Cover block uploads failure UI (#21198)
mkevins Apr 20, 2020
ee9a5f8
Update gutenberg reference
mkevins Apr 20, 2020
e7e6cce
Refactor: move `scrollEnabled` to BlockList (#2145)
jbinda Apr 20, 2020
9ce7dd3
Merge branch 'develop' into feature/cover-block-uploads
mkevins Apr 20, 2020
9fcbddb
Merge pull request #2150 from wordpress-mobile/feature/cover-block-up…
mkevins Apr 20, 2020
3ce4265
[RNMobile] Buttons block (#20191)
lukewalczak Apr 20, 2020
55ac1bd
Add Buttons block (#1933)
lukewalczak Apr 20, 2020
7488bac
Update RELEASE-NOTES after merging Buttons (#2167)
lukewalczak Apr 20, 2020
e81add5
Use media caption attribute. (#21611)
SergioEstevao Apr 20, 2020
1c7d80b
Update the index of Block API to reflect current contents (#21726)
nosolosw Apr 20, 2020
37458b0
Update GB reference.
SergioEstevao Apr 20, 2020
80c0265
Merge branch 'develop' into issue/1851_insert_captions
SergioEstevao Apr 20, 2020
6906be5
Merge branch 'develop' into issue/1851_insert_captions
SergioEstevao Apr 20, 2020
5b1fa3a
Update attribute type documentation (#21694)
ajlende Apr 20, 2020
6d7a995
Merge pull request #2156 from wordpress-mobile/issue/1851_insert_capt…
SergioEstevao Apr 20, 2020
d69aae1
Revert "Remove unnecessary try/catch" (#21690)
aduth Apr 20, 2020
0c37ba8
Latest Posts: Fix selected category on existing blocks (#21359)
ryelle Apr 20, 2020
56ae122
Update PHPCS (#21680)
Soean Apr 20, 2020
dd9f454
Chore: Move camelCaseDash to the package where it is consumed (#21736)
gziolo Apr 20, 2020
38ee09f
Merge branch 'develop' into issue/video_block_dont_force_fullscreen_o…
SergioEstevao Apr 20, 2020
d9c38d7
Update GB reference.
SergioEstevao Apr 20, 2020
4e1320c
Try: output float clearing for all centered blocks. (#21608)
jasmussen Apr 21, 2020
39423a5
Polish code editor. (#21643)
jasmussen Apr 21, 2020
e19b804
Add prop to force fullscreen preview for videos. (#20436)
SergioEstevao Apr 21, 2020
db8231f
Update GB reference.
SergioEstevao Apr 21, 2020
3a3390a
Update release notes.
SergioEstevao Apr 21, 2020
e3e6b2d
Fix: Default attribute on audio preload (#21735)
jorgefilipecosta Apr 21, 2020
0f1f5e7
Fix: Visual issue on windows with 782px (#21661)
jorgefilipecosta Apr 21, 2020
04cdf34
Fix: Gradient picker bug onToggle (#21732)
jorgefilipecosta Apr 21, 2020
dd36f68
Merge pull request #1952 from wordpress-mobile/issue/video_block_dont…
SergioEstevao Apr 21, 2020
9227301
Fix license check script to ignore sub-dependencies of ignored… (#21606)
ceyhun Apr 21, 2020
348c10f
Add some new g2-styled icons to the Icons package. #20284 (#21209)
jameskoster Apr 21, 2020
4f34caa
Add inserter previews to more blocks. (#21740)
ZebulanStanphill Apr 21, 2020
7968fcb
Adds deprecation notice to `useApiFetch` hook (#21723)
getdave Apr 21, 2020
6c01837
Fix broken links in handbook (#21686)
ajlende Apr 21, 2020
8885eec
Revert changes to Nav Block data fetching mechanics (#21721)
getdave Apr 21, 2020
8acbb4f
[RNMobile] Fixed position of `FloatingToolbar` on the bottom of the s…
jbinda Apr 22, 2020
8acfb12
Refactor: Fixed position of `FloatingToolbar` on the bottom of the sc…
jbinda Apr 22, 2020
8a22008
remove extra line in release note fo FloatingTOolbar (#2176)
jbinda Apr 22, 2020
f8e4c9c
Fix e2e tests by removing unecessary assertions & properly installing…
getdave Apr 22, 2020
f21a84b
Update react-native-video ref
ceyhun Apr 22, 2020
f34d799
Restore floated image margins. (#21500)
jasmussen Apr 22, 2020
d7a1f17
Set font styles from block appender placeholder to inherit (#21725)
Aljullu Apr 22, 2020
0482b3e
Merge pull request #2124 from wordpress-mobile/issue/remove-apache2-d…
ceyhun Apr 22, 2020
0b6ae94
Allow title and button-based appender to inherit styles. (#21749)
jasmussen Apr 22, 2020
586e216
RNMobile - Block List - Pass down scroll ref through Context for Inne…
Apr 22, 2020
df7315e
Polish RSS block. (#21773)
ZebulanStanphill Apr 22, 2020
0e75729
Reusable block: use block.json. (#21774)
ZebulanStanphill Apr 22, 2020
9002eb1
Archives block: use block.json. (#21775)
ZebulanStanphill Apr 22, 2020
74fcd4c
Rename icons, primitives tsconfig to _tsconfig (#21784)
sirreal Apr 22, 2020
a4e93da
Merge commit '0482b3ee479af8290fc96c9e22235e2c944b971d' into rnmobile…
ceyhun Apr 22, 2020
3f65ca2
Revert "Add prop to force fullscreen preview for videos. (#20436)" (#…
SergioEstevao Apr 22, 2020
d6ffe5a
Template Switcher: Add theme preview (#21768)
ockham Apr 22, 2020
13684ad
Fix lint errors
ceyhun Apr 22, 2020
5696e04
Fix android build
ceyhun Apr 22, 2020
8a18402
Merge remote-tracking branch 'origin/master' into rnmobile/monorepo-m…
ceyhun Apr 23, 2020
fe508c1
Fix native bundle
ceyhun Apr 23, 2020
2351d7b
Fix lint errors
ceyhun Apr 23, 2020
1fc5e5a
Remove flow types
ceyhun Apr 23, 2020
e4b2d82
Fix ignored folder in linter
ceyhun Apr 23, 2020
63f01b3
Fix crash about API not being supported in RN
ceyhun Apr 28, 2020
f21e620
Link react-native-get-random-values on Android
ceyhun Apr 30, 2020
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 .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ build-module
node_modules
packages/block-serialization-spec-parser/parser.js
packages/e2e-tests/plugins
packages/react-native-editor/bundle
playground/dist
vendor
wordpress
Expand Down
38 changes: 15 additions & 23 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,22 @@ module.exports = {
globals: {
wp: 'off',
},
settings: {
jsdoc: {
mode: 'typescript',
},
},
rules: {
'jest/expect-expect': 'off',
'@wordpress/dependency-group': 'error',
'@wordpress/gutenberg-phase': 'error',
'@wordpress/react-no-unsafe-timeout': 'error',
'@wordpress/i18n-text-domain': [
'error',
{
allowedTextDomain: 'default',
},
],
'no-restricted-syntax': [
'error',
// NOTE: We can't include the forward slash in our regex or
Expand All @@ -67,29 +79,6 @@ module.exports = {
message:
'Deprecated functions must be removed before releasing this version.',
},
{
selector:
'CallExpression[callee.name=/^(__|_n|_nx|_x)$/]:not([arguments.0.type=/^Literal|BinaryExpression$/])',
message:
'Translate function arguments must be string literals.',
},
{
selector:
'CallExpression[callee.name=/^(_n|_nx|_x)$/]:not([arguments.1.type=/^Literal|BinaryExpression$/])',
message:
'Translate function arguments must be string literals.',
},
{
selector:
'CallExpression[callee.name=_nx]:not([arguments.3.type=/^Literal|BinaryExpression$/])',
message:
'Translate function arguments must be string literals.',
},
{
selector:
'CallExpression[callee.name=/^(__|_x|_n|_nx)$/] Literal[value=/\\.{3}/]',
message: 'Use ellipsis character (…) in place of three dots',
},
{
selector:
'ImportDeclaration[source.value="redux"] Identifier.imported[name="combineReducers"]',
Expand Down Expand Up @@ -179,6 +168,9 @@ module.exports = {
{
files: [ 'packages/e2e-test*/**/*.js' ],
extends: [ 'plugin:@wordpress/eslint-plugin/test-e2e' ],
rules: {
'jest/expect-expect': 'off',
},
},
],
};
6 changes: 5 additions & 1 deletion .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.

**Editor version (please complete the following information):**
- WordPress version: [e.g: 5.3.2]
- Does the website has Gutenberg plugin installed, or is it using the block editor that comes by default? [e.g: "gutenberg plugin", "default"]
- If the Gutenberg plugin is installed, which version is it? [e.g., 7.6]

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
Expand All @@ -32,5 +37,4 @@ If applicable, add screenshots to help explain your problem.
- Version [e.g. 22]

**Additional context**
- Please add the version of Gutenberg you are using in the description.
- To report a security issue, please visit the WordPress HackerOne program: https://hackerone.com/wordpress.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
build
build-module
build-style
build-types
node_modules
gutenberg.zip

Expand All @@ -14,6 +15,7 @@ yarn.lock

playground/dist
.cache
*.tsbuildinfo

# Report generated from jest-junit
test/native/junit.xml
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// Import the default config file and expose it in the project root.
// Useful for editor integrations.
module.exports = require( '@wordpress/scripts/config/.prettierrc.js' );
module.exports = require( '@wordpress/prettier-config' );
49 changes: 16 additions & 33 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@ branches:

env:
global:
- PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
- WP_DEVELOP_DIR: ./wordpress
- LOCAL_SCRIPT_DEBUG: false
- INSTALL_COMPOSER: false
- INSTALL_WORDPRESS: true

# Make sure NodeGit gets the correct C libs.
Expand Down Expand Up @@ -89,10 +87,6 @@ install:
npm run env connect
npm run env cli plugin activate gutenberg
fi
- |
if [[ "$INSTALL_COMPOSER" = "true" ]]; then
npm run env docker-run -- php composer install
fi
- |
if [[ "$E2E_ROLE" = "author" ]]; then
npm run env cli -- user create author author@example.com --role=author --user_pass=authpass
Expand All @@ -114,6 +108,13 @@ jobs:
script:
- npx eslint --parser-options=ecmaVersion:5 --no-eslintrc --no-ignore ./build/**/*.js

- name: Typecheck
install:
- npm ci
script:
- npm run build:package-types


- name: Build artifacts
install:
# A "full" install is executed, since `npm ci` does not always exit
Expand Down Expand Up @@ -152,79 +153,61 @@ jobs:
- npm run test-unit:native -- --ci --maxWorkers=2 --cacheDirectory="$HOME/.jest-cache"

- name: PHP unit tests
env: INSTALL_COMPOSER=true
script:
- npm run test-php && npm run test-unit-php-multisite

- name: PHP unit tests (PHP 5.6)
env: INSTALL_COMPOSER=true LOCAL_PHP=5.6-fpm
env: LOCAL_PHP=5.6-fpm
script:
- npm run test-php && npm run test-unit-php-multisite

- name: E2E tests (Admin) (1/4)
env: FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=
env: FORCE_REDUCED_MOTION=true
script:
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 0' < ~/.jest-e2e-tests )

- name: E2E tests (Admin) (2/4)
env: FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=
env: FORCE_REDUCED_MOTION=true
script:
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 1' < ~/.jest-e2e-tests )

- name: E2E tests (Admin) (3/4)
env: FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=
env: FORCE_REDUCED_MOTION=true
script:
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 2' < ~/.jest-e2e-tests )

- name: E2E tests (Admin) (4/4)
env: FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=
env: FORCE_REDUCED_MOTION=true
script:
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 3' < ~/.jest-e2e-tests )

- name: E2E tests (Author) (1/4)
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true
script:
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 0' < ~/.jest-e2e-tests )

- name: E2E tests (Author) (2/4)
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true
script:
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 1' < ~/.jest-e2e-tests )

- name: E2E tests (Author) (3/4)
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true
script:
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 2' < ~/.jest-e2e-tests )

- name: E2E tests (Author) (4/4)
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true
script:
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 3' < ~/.jest-e2e-tests )

- stage: deploy
if: (NOT type IN (pull_request)) AND (branch = master)
name: Deploy Playground
env: INSTALL_WORDPRESS=false
install:
- npm ci
before_deploy:
- npm run storybook:build
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
keep_history: true
local_dir: playground/dist
on:
branch: master

allow_failures:
# nothing is allowed to fail at the moment
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To learn all about contributing to the Gutenberg project, see the [Contributor G

- Documentation? See the [documentation section](/docs/contributors/document.md).

- Triage? We need help reviewing existing issues to make sure they’re relevant and actionable. Triage is an important contribution because it allows us to work on the highest priority issues. To learn more, please see the [triaging issues section](docs/contributors/repository-management.md#triaging-issues).
- Triage? We need help reviewing existing issues to make sure they’re relevant and actionable. Triage is an important contribution because it allows us to work on the highest priority issues. To learn more, please see the [triaging issues section](docs/contributors/triage.md).

## Guidelines

Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,4 @@ This list is manually curated to include valuable contributions by volunteers th
| @akkspros | @passoniate |
| @anthonyledesma | @paranoia1906 |
| @richtabor | @richtabor |
| @mikehaydon | @intelliwolf |
43 changes: 43 additions & 0 deletions bin/api-docs/are-api-docs-unstaged.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#!/usr/bin/env node

/**
* Node dependencies.
*/
const { extname } = require( 'path' );
const chalk = require( 'chalk' );
const execSync = require( 'child_process' ).execSync;
const { readFile } = require( 'fs' ).promises;

const getUnstagedFiles = () =>
execSync( 'git diff --name-only', { encoding: 'utf8' } )
.split( '\n' )
.filter( Boolean );

const fileHasToken = async ( file ) =>
( await readFile( file, 'utf8' ) ).includes( '<!-- START TOKEN' );

const getUnstagedReadmes = () =>
Promise.all(
getUnstagedFiles().map(
async ( file ) =>
extname( file ) === '.md' &&
( await fileHasToken( file ) ) &&
file
)
).then( ( files ) => files.filter( Boolean ) );

( async () => {
const unstagedReadmes = await getUnstagedReadmes();
if ( unstagedReadmes.length > 0 ) {
process.exitCode = 1;
process.stdout.write(
chalk.red(
'\n',
'Some API docs may be out of date:',
unstagedReadmes.toString(),
'Either stage them or continue with --no-verify.',
'\n'
)
);
}
} )();
37 changes: 0 additions & 37 deletions bin/api-docs/are-readmes-unstaged.js

This file was deleted.

49 changes: 0 additions & 49 deletions bin/api-docs/packages.js

This file was deleted.

Loading