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

Enable post locking in Gutenberg #4217

Merged
merged 119 commits into from
Oct 4, 2018
Merged

Enable post locking in Gutenberg #4217

merged 119 commits into from
Oct 4, 2018

Commits on Jan 1, 2018

  1. Enable post locking via the heartbeat api, following core

    Adam Silverstein committed Jan 1, 2018
    Configuration menu
    Copy the full SHA
    4f38c60 View commit details
    Browse the repository at this point in the history
  2. remove interval change

    Adam Silverstein committed Jan 1, 2018
    Configuration menu
    Copy the full SHA
    8578fc7 View commit details
    Browse the repository at this point in the history
  3. Docblock updates

    Adam Silverstein committed Jan 1, 2018
    Configuration menu
    Copy the full SHA
    b370721 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2018

  1. Merge branch 'master' of github.com:WordPress/gutenberg

    Adam Silverstein committed Jul 6, 2018
    Configuration menu
    Copy the full SHA
    940f338 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' of github.com:WordPress/gutenberg

    Adam Silverstein committed Jul 6, 2018
    Configuration menu
    Copy the full SHA
    18290b2 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into feature/post-locking

    # Conflicts:
    #	editor/index.js
    Adam Silverstein committed Jul 6, 2018
    Configuration menu
    Copy the full SHA
    aa301d2 View commit details
    Browse the repository at this point in the history
  4. revert unintended changes

    Adam Silverstein committed Jul 6, 2018
    Configuration menu
    Copy the full SHA
    fbf7d08 View commit details
    Browse the repository at this point in the history
  5. remove nonce handling

    Adam Silverstein committed Jul 6, 2018
    Configuration menu
    Copy the full SHA
    e387b39 View commit details
    Browse the repository at this point in the history
  6. rename file & setup

    Adam Silverstein committed Jul 6, 2018
    Configuration menu
    Copy the full SHA
    3a3deb9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6980a89 View commit details
    Browse the repository at this point in the history
  8. Unlock the post when the window is closed or exited.

    Adam Silverstein committed Jul 6, 2018
    Configuration menu
    Copy the full SHA
    810119d View commit details
    Browse the repository at this point in the history
  9. Fixes for eslint

    Adam Silverstein committed Jul 6, 2018
    Configuration menu
    Copy the full SHA
    c510e37 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2018

  1. Merge branch 'master' into feature/post-locking

    # Conflicts:
    #	edit-post/index.js
    Adam Silverstein committed Jul 26, 2018
    Configuration menu
    Copy the full SHA
    a9d7922 View commit details
    Browse the repository at this point in the history
  2. tabs not spaces

    Adam Silverstein committed Jul 26, 2018
    Configuration menu
    Copy the full SHA
    60c6ccc View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2018

  1. post locking WIP

    Adam Silverstein committed Jul 27, 2018
    Configuration menu
    Copy the full SHA
    c611a7b View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2018

  1. Merge branch 'master' of github.com:WordPress/gutenberg

    Adam Silverstein committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    7f35914 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into feature/post-locking

    # Conflicts:
    #	packages/editor/src/store/reducer.js
    Adam Silverstein committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    ca38176 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2018

  1. modal on load first pass

    Adam Silverstein committed Aug 3, 2018
    Configuration menu
    Copy the full SHA
    a5d1764 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' of github.com:WordPress/gutenberg

    Adam Silverstein committed Aug 3, 2018
    Configuration menu
    Copy the full SHA
    fd8e941 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2018

  1. Merge branch 'master' of github.com:WordPress/gutenberg

    Adam Silverstein committed Aug 6, 2018
    Configuration menu
    Copy the full SHA
    3b500f9 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into feature/post-locking

    Adam Silverstein committed Aug 6, 2018
    Configuration menu
    Copy the full SHA
    f4aa602 View commit details
    Browse the repository at this point in the history
  3. Fixes for phpunit

    Adam Silverstein committed Aug 6, 2018
    Configuration menu
    Copy the full SHA
    2c3aecc View commit details
    Browse the repository at this point in the history
  4. Enable a Modal showCloseIcon property

    Adam Silverstein committed Aug 6, 2018
    Configuration menu
    Copy the full SHA
    68f2099 View commit details
    Browse the repository at this point in the history
  5. Add a post locked modal, first pass

    Adam Silverstein committed Aug 6, 2018
    Configuration menu
    Copy the full SHA
    0905e1a View commit details
    Browse the repository at this point in the history
  6. Add an “isPostLocked” selector

    Adam Silverstein committed Aug 6, 2018
    Configuration menu
    Copy the full SHA
    f669682 View commit details
    Browse the repository at this point in the history
  7. Add a locked reducer

    Adam Silverstein committed Aug 6, 2018
    Configuration menu
    Copy the full SHA
    5515ba1 View commit details
    Browse the repository at this point in the history
  8. action is ‘lockPost’ and takes a boolean

    Adam Silverstein committed Aug 6, 2018
    Configuration menu
    Copy the full SHA
    6fda398 View commit details
    Browse the repository at this point in the history
  9. fixes for phpunit

    Adam Silverstein committed Aug 6, 2018
    Configuration menu
    Copy the full SHA
    3157fc2 View commit details
    Browse the repository at this point in the history
  10. cleanup hearbeat post locking

    Adam Silverstein committed Aug 6, 2018
    Configuration menu
    Copy the full SHA
    413e75b View commit details
    Browse the repository at this point in the history
  11. Show the post locked modal when the post is locked

    Adam Silverstein committed Aug 6, 2018
    Configuration menu
    Copy the full SHA
    d79f3ca View commit details
    Browse the repository at this point in the history
  12. spaces for phpcs

    Adam Silverstein committed Aug 6, 2018
    Configuration menu
    Copy the full SHA
    825e0a5 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2018

  1. passed lock & user at initialization

    Adam Silverstein committed Aug 7, 2018
    Configuration menu
    Copy the full SHA
    27f45dc View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' of github.com:WordPress/gutenberg

    Adam Silverstein committed Aug 7, 2018
    Configuration menu
    Copy the full SHA
    5213a7c View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into feature/post-locking

    Adam Silverstein committed Aug 7, 2018
    Configuration menu
    Copy the full SHA
    ca04b3d View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2018

  1. Merge branch 'master' of github.com:WordPress/gutenberg

    Adam Silverstein committed Aug 8, 2018
    Configuration menu
    Copy the full SHA
    d48e0f5 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into feature/post-locking

    Adam Silverstein committed Aug 8, 2018
    Configuration menu
    Copy the full SHA
    9f8882d View commit details
    Browse the repository at this point in the history
  3. update inline docs

    Adam Silverstein committed Aug 8, 2018
    Configuration menu
    Copy the full SHA
    ad0c4ae View commit details
    Browse the repository at this point in the history
  4. pass a unlocking lockNonce to settings if the post is locked

    Adam Silverstein committed Aug 8, 2018
    Configuration menu
    Copy the full SHA
    c2e6d74 View commit details
    Browse the repository at this point in the history
  5. Lock modal actions, first pass; leverage existing PostPreviewButton

    * note previews open in a new tab, unlike classic editor where it happens in the main window
    Adam Silverstein committed Aug 8, 2018
    Configuration menu
    Copy the full SHA
    560222f View commit details
    Browse the repository at this point in the history
  6. Add some style

    Adam Silverstein committed Aug 8, 2018
    Configuration menu
    Copy the full SHA
    b5c1d48 View commit details
    Browse the repository at this point in the history
  7. improve modal string construction, nonce setup, linting fixes

    Adam Silverstein committed Aug 8, 2018
    Configuration menu
    Copy the full SHA
    1514d06 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2018

  1. better setup, fix beforeunload

    Adam Silverstein committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    ab79301 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' of github.com:WordPress/gutenberg

    Adam Silverstein committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    784d618 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into feature/post-locking

    Adam Silverstein committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    c0a7b53 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2018

  1. Merge branch 'master' of github.com:WordPress/gutenberg

    Adam Silverstein committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    e5d10d9 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into feature/post-locking

    Adam Silverstein committed Aug 15, 2018
    Configuration menu
    Copy the full SHA
    a8415e3 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2018

  1. Merge branch 'master' into feature/post-locking

    # Conflicts:
    #	edit-post/index.js
    Adam Silverstein committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    9b94b5d View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2018

  1. complete takeover action logic

    Adam Silverstein committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    3dfd55b View commit details
    Browse the repository at this point in the history
  2. update core data readme

    Adam Silverstein committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    434f9ff View commit details
    Browse the repository at this point in the history
  3. Complete takeover action, reaction

    Adam Silverstein committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    836ba7a View commit details
    Browse the repository at this point in the history
  4. alignment for eslint

    Adam Silverstein committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    28490b6 View commit details
    Browse the repository at this point in the history
  5. Add the lock details to the lockPost dispatch

    Adam Silverstein committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    e37b9d5 View commit details
    Browse the repository at this point in the history
  6. Ensure modal header can display an icon when passed its src

    Adam Silverstein committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    f168ed3 View commit details
    Browse the repository at this point in the history
  7. modal icon img styles

    Adam Silverstein committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    08f13e6 View commit details
    Browse the repository at this point in the history
  8. Improve post lock modal, improve all posts url construction

    Adam Silverstein committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    d7062a0 View commit details
    Browse the repository at this point in the history
  9. Add lockedDetails to the lockPost action

    Adam Silverstein committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    4efcff1 View commit details
    Browse the repository at this point in the history
  10. add lockDetails to the locked reducer

    Adam Silverstein committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    73c9bc5 View commit details
    Browse the repository at this point in the history
  11. new selector: getLockDetails

    Adam Silverstein committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    d2a971e View commit details
    Browse the repository at this point in the history
  12. Add avatgar data for existing locks

    Adam Silverstein committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    c15bddc View commit details
    Browse the repository at this point in the history
  13. dispatch an autosave when the post is taken over

    Adam Silverstein committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    30eb346 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2018

  1. Merge branch 'master' of github.com:WordPress/gutenberg

    Adam Silverstein committed Aug 20, 2018
    Configuration menu
    Copy the full SHA
    dcdcd5b View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into feature/post-locking

    Adam Silverstein committed Aug 20, 2018
    Configuration menu
    Copy the full SHA
    4816d72 View commit details
    Browse the repository at this point in the history
  3. Fix for phpcs, also smaller gravatar size x2 display

    Adam Silverstein committed Aug 20, 2018
    Configuration menu
    Copy the full SHA
    4d1437d View commit details
    Browse the repository at this point in the history
  4. Add docs for getLockDetails

    Adam Silverstein committed Aug 20, 2018
    Configuration menu
    Copy the full SHA
    c515d54 View commit details
    Browse the repository at this point in the history
  5. improve post locking modal style to match designs

    Adam Silverstein committed Aug 20, 2018
    Configuration menu
    Copy the full SHA
    809a86b View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2018

  1. switch ajaxurl from global to editor settings

    Adam Silverstein committed Aug 21, 2018
    Configuration menu
    Copy the full SHA
    4436ec3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b674cf7 View commit details
    Browse the repository at this point in the history
  3. import { setupHearthbeatPostLocking } from '@wordpress/editor';

    Adam Silverstein committed Aug 21, 2018
    Configuration menu
    Copy the full SHA
    31a5032 View commit details
    Browse the repository at this point in the history
  4. complete move of setupHearthbeatPostLocking to editor package

    Adam Silverstein committed Aug 21, 2018
    Configuration menu
    Copy the full SHA
    cc37e6a View commit details
    Browse the repository at this point in the history
  5. showCloseIcon -> isDismissable

    Adam Silverstein committed Aug 21, 2018
    Configuration menu
    Copy the full SHA
    6818df1 View commit details
    Browse the repository at this point in the history
  6. post lock modal - switch to withSelect

    Adam Silverstein committed Aug 21, 2018
    Configuration menu
    Copy the full SHA
    2c1fcf0 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2018

  1. Revert "post lock modal - switch to withSelect"

    This reverts commit 2c1fcf0.
    Adam Silverstein committed Aug 24, 2018
    Configuration menu
    Copy the full SHA
    7e2119e View commit details
    Browse the repository at this point in the history
  2. modal cleanup and withSelect rework

    Adam Silverstein committed Aug 24, 2018
    Configuration menu
    Copy the full SHA
    a7987b8 View commit details
    Browse the repository at this point in the history
  3. improve avatar image alignment

    Adam Silverstein committed Aug 24, 2018
    Configuration menu
    Copy the full SHA
    b9aac75 View commit details
    Browse the repository at this point in the history
  4. Use a href links instead of action handlers for buttons

    Adam Silverstein committed Aug 24, 2018
    Configuration menu
    Copy the full SHA
    b7ff092 View commit details
    Browse the repository at this point in the history
  5. no closing

    Adam Silverstein committed Aug 24, 2018
    Configuration menu
    Copy the full SHA
    0476023 View commit details
    Browse the repository at this point in the history
  6. Try moving to editor package

    Adam Silverstein committed Aug 24, 2018
    Configuration menu
    Copy the full SHA
    ca9fa60 View commit details
    Browse the repository at this point in the history
  7. Revert "Try moving to editor package"

    This reverts commit ca9fa60.
    Adam Silverstein committed Aug 24, 2018
    Configuration menu
    Copy the full SHA
    95f5f5c View commit details
    Browse the repository at this point in the history
  8. remove inner buttons, not needed

    Adam Silverstein committed Aug 24, 2018
    Configuration menu
    Copy the full SHA
    c03878f View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2018

  1. clean up modal imports

    Adam Silverstein committed Aug 26, 2018
    Configuration menu
    Copy the full SHA
    7cdb082 View commit details
    Browse the repository at this point in the history
  2. improve heartbeat post locking setup

    Adam Silverstein committed Aug 26, 2018
    Configuration menu
    Copy the full SHA
    42e45dc View commit details
    Browse the repository at this point in the history
  3. docs update

    Adam Silverstein committed Aug 26, 2018
    Configuration menu
    Copy the full SHA
    a0c57de View commit details
    Browse the repository at this point in the history
  4. more docs cleanup

    Adam Silverstein committed Aug 26, 2018
    Configuration menu
    Copy the full SHA
    aad9b92 View commit details
    Browse the repository at this point in the history
  5. Fixes for phpcs

    Adam Silverstein committed Aug 26, 2018
    Configuration menu
    Copy the full SHA
    0534539 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2018

  1. Configuration menu
    Copy the full SHA
    8d071c1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d767cb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7e60a81 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    17803ec View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6f30da2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    52cb1e6 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2018

  1. Merge branch 'master' of github.com:WordPress/gutenberg

    Adam Silverstein committed Sep 5, 2018
    Configuration menu
    Copy the full SHA
    4b633d8 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'feature/post-locking' of github.com:WordPress/gutenberg…

    … into feature/post-locking
    Adam Silverstein committed Sep 5, 2018
    Configuration menu
    Copy the full SHA
    8378bbe View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into feature/post-locking

    # Conflicts:
    #	lib/client-assets.php
    Adam Silverstein committed Sep 5, 2018
    Configuration menu
    Copy the full SHA
    f6bb6e9 View commit details
    Browse the repository at this point in the history
  4. cleanup after merge

    Adam Silverstein committed Sep 5, 2018
    Configuration menu
    Copy the full SHA
    e32ac81 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2018

  1. Merge branch 'master' of github.com:WordPress/gutenberg

    Adam Silverstein committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    72c15e3 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into feature/post-locking

    Adam Silverstein committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    8090483 View commit details
    Browse the repository at this point in the history
  3. fixes for phpcs

    Adam Silverstein committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    17a80e1 View commit details
    Browse the repository at this point in the history
  4. docs cleanup

    Adam Silverstein committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    9315785 View commit details
    Browse the repository at this point in the history
  5. cleanup after merge

    Adam Silverstein committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    6744619 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    24d9aef View commit details
    Browse the repository at this point in the history
  7. spacing

    Adam Silverstein committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    ef2a42c View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2018

  1. Merge branch 'master' of github.com:WordPress/gutenberg

    Adam Silverstein committed Sep 8, 2018
    Configuration menu
    Copy the full SHA
    dff9ec9 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into feature/post-locking

    # Conflicts:
    #	docs/data/data-core-editor.md
    Adam Silverstein committed Sep 8, 2018
    Configuration menu
    Copy the full SHA
    5a7f787 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2018

  1. Merge branch 'master' into feature/post-locking

    # Conflicts:
    #	gutenberg.php
    Adam Silverstein committed Sep 17, 2018
    Configuration menu
    Copy the full SHA
    93aa165 View commit details
    Browse the repository at this point in the history
  2. restore heartbeat settings after merge

    Adam Silverstein committed Sep 17, 2018
    Configuration menu
    Copy the full SHA
    4f3e67d View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2018

  1. Configuration menu
    Copy the full SHA
    413458c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1f53d95 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2018

  1. Revert "Add e2e tests for the post locking modal"

    This reverts commit 1f53d95.
    youknowriad committed Oct 3, 2018
    Configuration menu
    Copy the full SHA
    f6d5fc1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d22b48b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    10bd363 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    008872b View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2018

  1. Merge branch 'master' of github.com:WordPress/gutenberg

    Adam Silverstein committed Oct 4, 2018
    Configuration menu
    Copy the full SHA
    6afbc96 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'feature/post-locking' of github.com:WordPress/gutenberg…

    … into feature/post-locking
    Adam Silverstein committed Oct 4, 2018
    Configuration menu
    Copy the full SHA
    3d84894 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into feature/post-locking

    Adam Silverstein committed Oct 4, 2018
    Configuration menu
    Copy the full SHA
    9611023 View commit details
    Browse the repository at this point in the history
  4. include and use an unclock nonce

    Adam Silverstein committed Oct 4, 2018
    Configuration menu
    Copy the full SHA
    1fee125 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6bc1196 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    240f3e7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    719175b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f89696c View commit details
    Browse the repository at this point in the history