Permalink
Commits on Jan 24, 2017
Commits on Jan 11, 2017
  1. Revert "Merge pull request #271 from Automattic/fix/edited-entries-re…

    …appear"
    
    This reverts commit abb18da, reversing
    changes made to b269e1e.
    
    This change also breaks things - reverting pending more testing.
    philipjohn committed Jan 11, 2017
  2. Revert "Merge pull request #270 from Automattic/fix/269-remove-delete…

    …d-entries"
    
    This reverts commit b269e1e, reversing
    changes made to e50c8da.
    
    This merge broke some things and is blocking other bug fixes. Reverting pending more testing.
    philipjohn committed Jan 11, 2017
  3. Merge pull request #285 from trepmal/contenteditable-divs

    Contenteditable divs in Chrome
    philipjohn committed on GitHub Jan 11, 2017
Commits on Jan 6, 2017
Commits on Dec 23, 2016
  1. make lineBreak use 2 br tags on shift+enter; regular enter becomes pa…

    …ragraph break with 3 br tags
    trepmal committed Dec 23, 2016
  2. whitespace

    trepmal committed Dec 23, 2016
  3. move browser detection up

    trepmal committed Dec 23, 2016
  4. Add "<br /><br />" on enter key, (but not in Firefox)

    In Chrome, new lines of text become wrapped in a div in contenteditable, but not the first line.
    Replace this with "<br /><br />" so that we get expected paragraphs after kses, not divs.
    
    Note: needs additional browser testing
    trepmal committed Dec 23, 2016
Commits on Dec 9, 2016
  1. Tested tag to 4.7

    philipjohn committed Dec 9, 2016
Commits on Dec 7, 2016
  1. Merge pull request #284 from Automattic/fix/wpcom-functions

    Add function_exists checks for WP.com functions
    mjangda committed on GitHub Dec 7, 2016
  2. Add function_exists checks for WP.com functions

    Fixes #283
    mjangda committed on GitHub Dec 7, 2016
Commits on Nov 29, 2016
  1. Merge pull request #274 from Automattic/add/cache-control

    Better Cache Control
    mjangda committed on GitHub Nov 29, 2016
Commits on Nov 24, 2016
  1. Merge pull request #281 from Automattic/fix/blackbird-pie-errors

    Fail gracefully if BlackbirdPie isn't available.
    philipjohn committed on GitHub Nov 24, 2016
  2. Fail gracefully if BlackbirdPie isn't available.

    philipjohn committed Nov 24, 2016
  3. Merge pull request #268 from Automattic/sync/wpcom-helper

    Update WPCom helper to include all modifications applied to v1.3
    philipjohn committed on GitHub Nov 24, 2016
Commits on Nov 20, 2016
  1. Merge pull request #276 from Automattic/phpcs-ci

    Setting up PHPCS checks with Travis
    philipjohn committed on GitHub Nov 20, 2016
  2. Run the sniffs and PHP syntax check

    philipjohn committed Nov 20, 2016
Commits on Nov 10, 2016
  1. Default json_return to cache response for a day

    Send `Cache-Control: max-age={int}` header for AJAX requests,
    except ones that are not cacheable (CRUD, preview, future timestamp).
    
    This enables better built-in caching behaviour (i.e. less manual
    config), especially when using something like Varnish.
    mjangda committed Nov 10, 2016
Commits on Nov 9, 2016
  1. No nocache for lazyload + single entry reqs

    No reason these shouldn't be cached.
    mjangda committed Nov 9, 2016
Commits on Oct 17, 2016
  1. Merge pull request #272 from Automattic/add-hook-to-before-the-respon…

    …se-method-call
    
    Adding the `liveblog_ajax_request` action
    emrikol committed on GitHub Oct 17, 2016
  2. Adding the `liveblog_ajax_request` action

    Some custom extensions for the Liveblog plugin might need to add special treatment for AJAX responses (eg.: inlining scripts as they can't use standard enququeing)
    
    This commit adds new `liveblog_ajax_request` action which provides the $response_method param holding the name of Liveblog's method which will be used for processing the request.
    
    This action is triggered just before the method is processed and allows developers to hook their own function calls which needs to run before the request is processed.
    david-binda committed Oct 17, 2016
Commits on Oct 4, 2016
  1. Merge pull request #271 from Automattic/fix/edited-entries-reappear

    Prevent old versions of edited entries from appearing in the feed.
    philipjohn committed on GitHub Oct 4, 2016
Commits on Sep 30, 2016
  1. Properly mark old comments as deleted.

    philipjohn committed Sep 30, 2016
  2. Prevent old versions of edited entries from appearing in the feed.

    Fixes the logic in the updating function to;
    
    * stop passing the ID when creating a new entry,
    * pass the correct ID for making a comment as a replacement,
    * stop updating the original comment with new content,
    * mark the original comment as trash so only the new content is shown.
    
    Also adds some inline commenting to describe the logic.
    philipjohn committed Sep 30, 2016
Commits on Sep 29, 2016
  1. Merge pull request #270 from Automattic/fix/269-remove-deleted-entries

    Remove deleted entries from entry query results.
    philipjohn committed on GitHub Sep 29, 2016
Commits on Sep 28, 2016
  1. Remove deleted entries from entry query results.

    When retrieving a list of Liveblog entries, don't include any entries that have been deleted. These shouldn't be shown and can cause UI bugs.
    
    Fixes #269
    philipjohn committed Sep 28, 2016
Commits on Sep 15, 2016
  1. Update WPCom helper to include all modifications applied to v1.3, som…

    …e of which WP.com systems expect for proper liveblog operation.
    ethitter committed Sep 15, 2016
Commits on Sep 13, 2016
  1. Merge pull request #265 from Automattic/fix-contenteditable-div-break…

    …ing-oembed-on-preview-and-update
    
    Fix the oEmbeddable links wrapped in div also on preview and update
    philipjohn committed on GitHub Sep 13, 2016
  2. Merge pull request #263 from Automattic/fix-instagram-oembed-preview

    Adding a new class for properly handling Instagram oembeds in previews
    philipjohn committed on GitHub Sep 13, 2016
  3. Fix the oEmbeddable links wrapped in div also on preview and update

    The original issue with oEmbeds fixed in #259 is also present during previews and updates
    
    This commit hooks the very same function to two more filters - liveblog_before_update_entry and liveblog_before_preview_entry
    david-binda committed Sep 13, 2016
  4. Improved Instagram oembed class

    This commit removes the DOM Document parsing of the oEmbed response in favour of taking advantage of `oembed_fetch_url` filter for requesting the oEmbed without the script
    david-binda committed Sep 13, 2016