Skip to content

Releases: GravityKit/GravityView

1.5.2

12 Dec 00:31
Compare
Choose a tag to compare

1.5.2 on December 11

  • Added: Possibility to show the label of Dropdown field types instead of the value (learn more)
  • Fixed: Sorting numeric columns (field type number)
  • Fixed: View entries filter for Featured Entries extension
  • Fixed: Field options showing delete entry label
  • Fixed: PHP date formatting now keeps backslashes from being stripped
  • Modified: Allow license to be defined in wp-config.php (Read how here)
  • Modified: Added $post_id parameter as the second argument for the gv_entry_link() function. This is used to define the entry's parent post ID.
  • Modified: Moved GravityView_API::get_entry_id_from_slug() to GVCommon::get_entry_id_from_slug()
  • Modified: Added second parameter to gravityview_get_entry(), which forces the ability to fetch an entry by ID, even if custom slugs are enabled and gravityview_custom_entry_slug_allow_id is false.
  • Updated Translations:

1.5.1

02 Dec 18:52
Compare
Choose a tag to compare

Apparently, forgot to tag 1.5...

1.5.1

  • Added: Delete Entry functionality!
    * - New "User Delete" setting:* allow the user who created an entry to delete it
    • Adds a "Delete" link in the Edit Entry form
    • Added a new "Delete Link" Field to the Field Picker
  • Fixed: DataTables Extension hangs when a View has Custom Content fields
  • Fixed: Search Bar - When searching on checkbox field type using multiselect input not returning results
  • Fixed: Search Bar - supports "Match Any" search mode by default (learn more)
  • Fixed: Single Entry View title when view is embedded
  • Fixed: Refresh the results cache when an entry is deleted or is approved/disapproved
  • Fixed: When users are created using the User Registration Addon, the resulting entry is now automatically assigned to them
  • Fixed: Change cache time to one day (from one week) so that Edit Link field nonces aren't invalidated
  • Fixed: Incorrect link shortening for domains when it is second-level (for example, example.co.uk or example.gov.za)
  • Fixed: Cached directory link didn't respect page numbers
  • Fixed: Edit Entry Admin Bar link wouldn't work when using Custom Entry Slug
  • Added: Textarea field now supports an option to trim the number of words shown
  • Added: Filter to alter the default behaviour of wrapping images (or image names) with a link to the content object (learn more)
  • Updated: Portuguese translation (thanks @luistinygod), Mexican translation (thanks, @jorgepelaez), Turkish translation (thanks @suhakaralar)

1.5 on November 12

  • Added: New "Edit Entry" configuration
    • Configure which fields are shown when editing an entry
    • Set visibility for the fields (Entry Creator, Administrator, etc.)
    • Set custom edit labels
  • Fixed: Single entry view now respects View settings
    • If an entry isn't included in View results, the single entry won't be available either
    • If "Show Only Approved" is enabled, prevent viewing of unapproved entries
    • Respects View filters, including those added by the Advanced Filtering extension
  • Fixed: Single entry Go back button context on Embedded Views
  • Fixed: Delete signature fields in Edit Entry (requires the Gravity Forms Signature Addon)
  • Fixed: Gravity Forms tooltip translations being overridden
  • Added: Choose to open the link from a website field in the same window (field option)
  • Updated: Spanish (Mexican) translation by @jorgepelaez, Dutch translation by @erikvanbeek and @leooosterloo, Turkish translation by @suhakaralar

1.4

12 Nov 19:59
Compare
Choose a tag to compare
1.4

1.4 on October 28

  • Added: Custom entry slug capability. Instead of /entry/123, you can now use entry values in the URL, like /entry/{company name}/ or /entry/{first name}-{last name}/. Requires some customization; learn more here
  • Fixed: GravityView auto-updater script not showing updates
  • Fixed: Edit Entry when a form has required Upload Fields
  • Fixed: "Return to Directory" link not always working for sites in subdirectories
  • Fixed: Broken links to single entries when viewing paginated results
  • Fixed: Loaded field configurations when using "Start Fresh" presets
  • Fixed: Searches ending in a space caused PHP warning
  • Fixed: Custom "Edit Link Text" settings respected
  • Fixed: Don't rely on Gravity Forms code for escaping query
  • Fixed: When multiple Views are displayed on a page, Single Entry mode displays empty templates.
  • Fixed: PHP error when displaying Post Content fields using Live Data for a post that no longer is published
  • Tweak: Search Bar "Links" Input Type
    • Make link bold when filter is active
    • Clicking on an active filter removes the filter
  • Tweak: Fixed updates for Multisite installations
  • Modified: Now you can override which post a single entry links to. For example, if a shortcode is embedded on a home page and you want single entries to link to a page with an embedded View, not the View itself, you can pass the post_id parameter. This accepts the ID of the page where the View is embedded.
  • Modified: Added $add_pagination parameter to GravityView_API::directory_link()
  • Added: Indonesian translation (thanks, @sariyanta)!
  • Updated: Swedish translation 100% translated - thanks, @adamrehal!
  • Updated: Dutch translation (thanks, @leooosterloo)!

1.3

21 Oct 22:58
Compare
Choose a tag to compare
1.3
  • Speed improvements - Learn more about GravityView caching
    • Added caching functionality that saves results to be displayed
    • Automatically clean up expired caches
    • Reduce number of lookups for where template files are located
    • Store the path to the permalink for future reference when rendering a View
    • Improve speed of Gravity Forms fetching field values
  • Modified: Allow {all_fields} and {pricing_fields} Merge Tags in Custom Content field. See examples of how to use these fields.
  • Fixed: Message restored when creating a new View
  • Fixed: Searching advanced input fields
  • Fixed: Merge Tags available immediately when adding a new field
  • Fixed: Issue where jQuery Cookie script wouldn't load due to mod_security issues. Learn more here
  • Fixed (hopefully): Auto-updates for WordPress Multisite
  • Fixed: Clicking overlay to close field/widget settings no longer scrolls to top of page
  • Fixed: Make sure Gravity Forms scripts are added when embedding Gravity Forms shortcodes in a Custom Field
  • Fixed: Remove double images of Floaty in the warning message when Gravity View is disabled
  • Fixed: PHP warnings related to Section field descriptions
  • Fixed: When using an advanced input as a search field in the Search Bar, the label would always show the parent field's label (Eg: "Address" when it should have shown "City")
    • Added: gravityview_search_field_label filter to allow modifying search bar labels
  • Fixed: Field label disappears on closing settings if the field title is empty
  • Fixed: Sub-fields retain label after opening field settings in the View Configuration
  • Modified: Allow passing an array of form IDs to gravityview_get_entries()
  • Tweak: If the View hasn't been configured yet, don't show embed shortcode in Publish metabox
  • Tweak: Add version info to scripts and styles to clear caches with plugin updates
  • Added: Swedish translation (thanks, @adamrehal)!
  • Updated: Spanish (Mexican) translation by, @jorgepelaez, Dutch translation by @erikvanbeek, and Turkish translation by @suhakaralar
  • Updated: Changed Turkish language code from tr to tr_TR to match WordPress locales

1.2

08 Oct 21:18
Compare
Choose a tag to compare
1.2

Wow, major update.

  • Added: New Search Bar!
    • No longer check boxes in each field to add a field to the search form
    • Add any searchable form fields, not just fields added to the View
    • Easy new drag & drop way to re-order fields
    • Horizontal and Vertical layouts
    • Choose how your search fields are displayed (if you have a checkbox field, for example, you can choose to have a drop-down, a multiselect field, checkboxes, radio buttons, or filter links)
    • Existing search settings will be migrated over on upgrade
  • Added: "Custom Content" field type
    • Insert arbitrary text or HTML in a View
    • Supports shortcodes (including Gravity Forms shortcodes)!
  • Added: Support for Gravity Forms Section & HTML field types
  • Added: Improved textarea field support. Instead of using line breaks, textareas now output with paragraphs.
    • Added new /templates/fields/textarea.php file
  • Added: A new File Upload field setting. Force uploads to be displayed as links and not visually embedded by checking the "Display as a Link" checkbox.
  • Added: Option to disable "Map It" link for the full Address field.
    • New gravityview_get_map_link() function with gravityview_map_link filter. To learn how to modify the map link, refer to this how-to article
    • The "Map It" string is now translatable
  • Added: When editing a View, there are now links in the Data Source box to easily access the Form: edit form, form entries, form settings and form preview
  • Added: Additional information in the "Add Field" or "Add Widget" picker (also get details about an item by hovering over the name in the View Configuration)
  • Added: Change Entry Creator functionality. Easily change the creator of an entry when editing the entry in the Gravity Forms Edit Entry page
    • If you're using the plugin downloaded from the how-to page, you can de-activate it
  • Modified: Changed translation textdomain to gravityview instead of gravity-view
  • Modified: Always show label by default, regardless of whether in List or Table View type
  • Modified: It's now possible to override templates on a Form ID, Post ID, and View ID basis. This allows custom layouts for a specific View, rather than site-wide. See "Template File Hierarchy" in the override documentation to learn more.
  • Modified: File Upload field output no longer run through wpautop() function
  • Modified: Audio and Video file uploads are now displayed using WordPress' built-in audio and video shortcodes (requires WordPress 3.6 or higher)
    • Additional file type support
    • Added gravityview_video_settings and gravityview_audio_settings filters to modify the parameters passed to the shortcode
  • Fixed: Shortcode attributes not overriding View defaults
  • Fixed: Uploading and deleting files works properly in Edit Entry mode
  • Fixed: Configurations get truncated when configuring Views with many fields
  • Fixed: Empty <span class="gv-field-label"> tags no longer output
    • Modified: gv_field_label() no longer returns the label with a trailing space. Instead, we use the .gv-field-label CSS class to add spacing using CSS padding.
  • Fixed: Conflict with Relevanssi plugin
  • Fixed: If a date search isn't valid, remove the search parameter so it doesn't cause an error in Gravity Forms
  • Fixed: Email field was displaying label even when email was empty.
  • Settings page improvements
    • When changing the license value and saving the form, GravityView now re-checks the license status
    • Improved error messages
    • Made license settings translatable
  • Modified: Added support for Gravity Forms "Post Image" field captions, titles, and descriptions.
  • Updated list of allowed image formats to include .bmp, .jpe, .tiff, .ico
  • Modified: /templates/fields/fileupload.php file - removed the logic for how to output the different file types and moved it to the gravityview_get_files_array() function in includes/class-api.php
  • Modified: gv_value() no longer needs the $field parameter
  • Tweak: Fixed email setting description text.
  • Tweak: Don't show Entry Link field output on single entry
  • Tweak: Improved Javascript performance in the Admin
  • Tweak: "Custom Label" is now shown as the field title in View Configuration
  • Tweak: Fixed "Left Footer" box not properly cleared
  • Tweak: Show warning if the Directory plugin is running
  • Tweak: Use icon font in Edit Entry mode for the download/delete file buttons. Now stylable using .gv-edit-entry-wrapper .dashicons CSS class.
  • Updated: Turkish translation by @suhakaralar, Dutch translation by @leooosterloo, Portuguese translation by @luistinygod

1.1.6

10 Sep 03:09
Compare
Choose a tag to compare
  • Fixed: Approve / Disapprove all entries using Gravity Forms bulk edit entries form (previously, only visible entries were affected)
  • Added: Email field settings
    • Email addresses are now encrypted by default to prevent scraping by spammers
    • Added option to display email plaintext or as a link
    • Added subject and body settings: when the link is clicked, you can choose to have these values pre-filled
  • Added: Source URL field settings, including show as a link and custom link text
  • Fixed: Empty truncated URLs no longer get shown
  • Fixed: License Activation works when No-Conflict Mode is enabled
  • Fixed: When creating a new View, "View Type" box was visible when there were no existing Gravity Forms
  • Fixed: Fields not always saving properly when adding lots of fields with the "Add All Fields" button
  • Fixed: Recognizing single entry when using WordPress "Default" Permalink setting
  • Fixed: Date Created field now respects the blog's timezone setting, instead of using UTC time
  • Fixed: Edit Entry issues
    • Fixed form validation errors when a scheduled form has expired and also when a form has reached its entry limit
    • Fixed PHP warning messages when editing entries
    • When an Edit Entry form is submitted and there are errors, the submitted values stay in the form; the user won't need to fill in the form again.
  • Fixed: Product sub-fields (Name, Quantity & Price) displayed properly
  • Fixed: Empty entry display when using Job Board preset caused by incorrect template files being loaded
  • Fixed: Files now can be deleted when a non-administrator is editing an entry
  • Fixed: PHP Notices on Admin Views screen for users without edit all entries capabilities
  • Modified: Added ability to customize and translate the Search Bar's date picker. You can now fully customize the date picker.
    • Added: Full localization for datepicker calendar (translate the days of the week, month, etc)
    • Modified: Changed year picker to +/- 5 years instead of +20/-100
  • Tweak: Enabled Merge Tags for Table view "Custom CSS Class" field settings
  • Tweak: In the Edit View screen, show a link icon when a field is being used as a link to the Single Entry mode
  • Tweak: Added helper text when a new form is created by GravityView
  • Tweak: Renamed "Description" drop zone to "Other Fields" to more accurately represent use
  • Tweak: Remove all fields from a zone by holding down the Alt key while clicking the remove icon

Developers

  • Modified: template/fields/date_created.php file
  • Added: gravityview_date_created_adjust_timezone filter to disable timezone support and use UTC (returns boolean)
  • Added: get_settings() and get_setting() methods to the GravityView_Widget class. This allows easier access to widget settings.
  • Modified: Added gravityview_js_localization filter to add Javascript localization
  • Added: gravityview_datepicker_settings filter to modify the datepicker settings using the setting names from the jQuery DatePicker options
  • Modified: gravityview_entry_class filter to modify the CSS class for each entry wrapper
  • Modified: Added gravityview_widget_search_filters filter to allow reordering search filters, so that they display in a different order in search widget
  • Modified: Addded gravityview_default_page_size filter to modify default page size for Views (25 by default)
  • Modified: Added actions to the list-body.php template file:
    • gravityview_list_body_before: Before the entry output
    • gravityview_entry_before: Inside the entry wrapper
    • gravityview_entry_title_before, gravityview_entry_title_after: Before and after the entry title and subtitle output
    • gravityview_entry_content_before, gravityview_entry_content_after: Before and after the entry content area (image and description zones)
    • gravityview_entry_footer_before, gravityview_entry_footer_after: Before and after the entry footer
    • gravityview_entry_after: Before the entry wrapper closing tag
    • gravityview_list_body_after: After entry output
  • Modified: Added gravityview_get_entry_ids() function to fetch array of entry IDs (not full entry arrays) that match a search result
  • Tweak: Removed duplicate GravityView_frontend::hide_field_check_conditions() and GravityView_frontend::filter_fields() methods
  • Modified: Added get_cap_choices() method to be used for fetching GravityView roles array

1.1.5

15 Aug 23:03
Compare
Choose a tag to compare
  • Added: "Edit" link in Gravity Forms Entries screen
  • Fixed: Show tooltips when No Conflict Mode is enabled
  • Fixed: Merge Vars for labels in Single Entry table layouts
  • Fixed: Duplicate "Edit Entry" fields in field picker
  • Fixed: Custom date formatting for Date Created field
  • Fixed: Searching full names or addresses now works as expected
  • Fixed: Custom CSS classes are now added to cells in table-based Views
  • Updated: Turkish translation by @suhakaralar
  • Tweak: Redirect to Changelog instead of Getting Started if upgrading

1.1.3

06 Aug 16:01
Compare
Choose a tag to compare
  • Fixed: Fatal error on activation when running PHP 5.2
  • Fixed: PHP notice when in No-Conflict mode

1.1.2

05 Aug 21:48
Compare
Choose a tag to compare
  • Added: Extensions framework to allow for extensions to auto-update
  • Fixed: Entries not displaying in Visual Composer plugin editor
  • Fixed: Allow using images as link to entry
  • Fixed: Updated field layout in Admin to reflect actual layout of listings (full-width title and subtitle above image)
  • Fixed: Editing entry updates the Approved status
  • Fixed: When trying to access an entry that doesn't exist (it had been permanently deleted), don't throw an error
  • Fixed: Default styles not being enqueued when embedded using the shortcode (fixes vertical pagination links)
  • Fixed: Single entry queries were being run twice
  • Fixed: Added Enhanced Display style in Edit Entry mode
  • Modified: How single entries are accessed; now allows for advanced filtering. Converted gravityview_get_entry() to use GFAPI::get_entries() instead of GFAPI::get_entry()
  • Modified: Form ID can be 0 in gravityview_get_entries()
  • Modified: Improved Edit Entry styling
  • Modified: Convert to using GravityView_View_Data::get_default_args() instead of duplicating the settings arrays. Used for tooltips, insert shortcode dialog and View metaboxes.
  • Modified: Add a check for whether a view exists in GravityView_View_Data::add_view()
  • Modified: Convert GravityView_Admin_Views::render_select_option() to use the key as the value and the value as the label instead of using associative array with value and label keys.
  • Translation updates - thank you, everyone!

1.1.1

26 Jul 06:58
Compare
Choose a tag to compare
  • We fixed license validation and auto-updates. Sorry for the inconvenience!
  • Added: View Setting to allow users to edit only entries they created.
  • Fixed: Could not edit an entry with Confirm Email fields
  • Fixed: Field setting layouts not persisting
  • Updated: Bengali translation by @tareqhi
  • Fixed: Logging re-enabled in Admin
  • Fixed: Multi-upload field button width no longer cut off
  • Tweak: Added links to View Type picker to live demos of presets.
  • Tweak: Added this "List of Changes" tab.