Plugin / Airpress

Chester McLaughlin

Changelog

Changelog

1.1.58

  • Compatibility Verification
  • Default value for apr_loop when empty: [apr_loop field=’Vendors’ default=”I’m sorry dave. there are no records”]
  • Made default filename for debug log random

1.1.54

  • Added default value option: [apr field=”Field Name” default=”Sorry… no value found so you’ll see this!”]

1.1.53

  • Added (much) better error reporting in the VirtualPost config screen. Don’t forget you can always enable the debugger to get even more debugging data.

1.1.52

  • Integrate Freemius for analytic purposes and metrics for plugin improvement purposes.

1.1.49

  • VirtualPost configurations now support Sort Direction and specifying a View (in addition to a Table).
  • Log file is now removed when logging is disabled

1.1.48

  • Trigger airpress_virtualpost_setup action even when post->AirpressCollection is empty. Enables complete override of empty or failed Collections/queries.

1.1.47

  • Title bugfix for VirtualPosts

1.1.46

  • added $query->hasErrors() and $query->getErrors() so that in critical syncing applications your code can detect and handle any non “200” HTTP response

1.1.45

  • Support the new(ish) title-tag enabled themes

1.1.44

  • Bug fix

1.1.43

  • Added attribute “condition” to [apr field=””]. Allows targeting of specific record/row when VirtualFields or VirtualPosts retrieve more than one record. Example usage would be: [apr field=”Name” condition=”Test Column|specific value”]

1.1.42

  • Removed default value for VirualPost configuration “sort” field. It was causing Airtable API requests to respond with 422 “Unprocessable Entity” response (because it was not a valid field) with created 404’s (as no records were returned). Thanks @mazoola

1.1.41

  • Removed passing arguments by reference for is_airpress_empty, is_airpress_record, is_airpress_collection because it was creating a null item in the arrayobject of some empty AirpressCollections.

1.1.40

  • Changed capabilities required to manage Airpress options from administrator to manage_options.

1.1.39

  • Added error message when attempting to use apr_populate inside an apr_loop
  • Fixed error message on Airpress->Debug Info admin page (thanks @@magisterravn)
  • Added option to completely empty cache to Airpress->Debug Info admin page
  • Added airpress_flush_cache for those who want a nuclear option. Remember that if you only want to flush the cache for requests specific to a certain page/URL, you can simply append ?fresh=true (or whatever you’ve configured) to the URL.

1.1.38

  • Fixed fatal error when using Airpress [apr] shortcode on a page without VirtualFields or VirtualPosts (no AirpressCollection). Thanks @mazoola

1.1.37

  • Added loopScope attribute to apr shortcode to reference parent loops
  • Added ability to loop and reference attachment fields with apr and apr_loop

1.1.36

  • Improve availability of sort options (thanks @frederickjansen)
  • Fixed ‘View Details’ conflict/bug on plugin list page (thanks anvi7924)
  • Fixed inability to delete Virtual Post and Virtual Field configs. (how long was THAT there… sheesh!)

1.1.35

  • Removed extra debug statement

1.1.34

  • Enabled the use of [apr field=”] inside [apr_loop].

1.1.33

  • Fixed apr_loop for attachements fields

1.1.32

  • Fixed bad debugging call (calling method on non object)

1.1.31

  • cacheImageFields will only process images for 25 seconds at a time and resume processing on the next load regardless of if ?fresh=true. The URL to Airtable’s small thumbnail will be used in place of all unprocessed images… the idea is to mimick a progressive JPG, showing a low resolution version until the correct resolution is achieved.
  • Note: 25 seconds is extremely conservative as fopen, file_get_contents, etc don’t count “againts” max_execution_time (typically 30 seconds), however the rotation of images, and the loop logic itself does count.

1.1.30

  • up to 10 nested loops now supported [apr_loop][apr_loop1][/apr_loop1][apr_loop]

1.1.29

  • fixed cacheImageFields path and cleanup debug output for rotated images

1.1.28

  • changed cacheImageFields from file_get_contents to “chunked” fopen for better reliability (in hindsight this probably isn’t any more reliable… not better, not worse, just different. See 1.1.31 for what is the real solution to reliably downloading images )

1.1.27

  • bugs

1.1.26

  • cacheImageFields no longer duplicates file extensions on cached full images(.jpg.jpg). Thanks @mcloone
  • VirtualPosts admin will not apply the airpress_virtualpost_query filter on save. This will keep related queries and cached images from slowing down what should be a simple test to see if a given URL will match any records.

1.1.25

  • Fixed using shortcode apr_loop when it triggered fatal error because of array_unique being used on an array of objects

1.1.24

  • Added Virtual Post configuration object to airpress_virtualpost_query filter
  • Bug fixes

1.1.23

  • cacheImageFields will no longer download the full image unless absolutely neccessary!
  • cacheImageFields will reorient images using read_exif_data when available. (I’m looking at you Pressable…)

1.1.22

  • airpress_virtualpost_query wasn’t actually applied to $query
  • cacheImageFields now works with custom sizes! Thanks @mcloone for pointing out the bug
  • cacheImageFields now politely attempts to create airpress-image-cache directory instead of simply whining about it
  • fixed issue with VirtualPost post_title when dollar sign was in the Airtable field data

1.1.21

  • Fixed bug with cacheImageFields when not saving full sized image

1.1.20

  • Changed batch size from 500 to 250 because of curl timeout when Airtable was slow
  • Removed error condition where WP Error was accessed as array

1.1.19

  • Fixed strange error when using wp cli to update plugins

1.1.18

  • Found and fixed another id => record_id instance

1.1.17

  • AirpressConnect::update() now accepts a config object or int or string just like AirpressQuery()

1.1.16

  • AirpressConnect::create() now accepts a config object or int or string just like AirpressQuery()

1.1.15

  • created cacheImageFields() to locally cache Airtable images and allow for customized thumbnail sizes.

1.1.14

  • deprecated $record->createdTime() and added $record->created_time() for consistency
  • Fixed typo in documentation

1.1.13

  • Ensured VirtualPosts still look for page-{post_name}.php template

1.1.12

  • Added action to override deferred_queries function
  • Started using connection config’s api_url
  • Added AirpressQuery->param() and ->prop for new/generic key/values

1.1.11

  • Fixed blank permalink bug
  • disambiguated record_id from id for getFieldValues and other functions
  • Fixed error when batch request was empty
  • Admin Toggle Debug link jumps to top of page now
  • Improved path handling for apr_include shortcode

1.1.10

  • Ensured populateRelatedField submits queries in batches to stay within GET request limits
  • Fixed get_permalink() for virtual pages

1.1.9

  • Added compatibility with Cornerstone page builder
  • Added ‘test url’ field for Virtual Posts configurations

1.1.8

  • Fixed Virtual Post ‘post_name’ and ‘post_title’!

1.1.7

  • Changed expandable debug message to blue

1.1.6

  • Fixed Debug option so logfile can actually be created by plugin
  • Added debug option to enable on-screen debug log as well as logfile

1.1.5

  • Added video tutorial to readme
  • fixed undefined index: filterByFormula. Thanks @gobot

1.1.4

  • multiple [apr_populate] or populateRelatedField calls are gracefully handled
  • add wrapper parameter for [apr] shortcode to compliment existing glue parameter
  • updated README with correct shortcode names

1.1.3

  • VirtualPost post_name setting field can reference fields and matches now
  • bigfix where virtualposts caught all urls

1.1.2

  • Ensured Compatibility with php 5.3

1.1.1

  • Removed getConfig()[0] notation

1.1

  • Added AirpressCollection->forget($keys)
  • Added is_airpress_force_fresh()

1.0

  • Hello world!

Ratings

4.8
8 reviews

Rating breakdown

Details Information

Version

1.1.58

First Released

16 Jan, 2017

Total Downloads

6,700

Wordpress Version

4.6 or higher

Tested up to:

5.2.4

Require PHP Version:

-

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.