-
Notifications
You must be signed in to change notification settings - Fork 62
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
Version 2.21 #2013
Merged
Version 2.21 #2013
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Views were only visible when in the trash when they were embedded via shortcode or entries were embedded via oEmbed. - Only show "restore View" if the user has the ability required by WordPress to `untrash` (`delete_post`). - Add a confirmation message to make sure, since this is a constructive action. Resolves #1382
Even before adding this setting, the Lifter settings had to be saved twice
Using the shortcode fixes the CSS issue reported by Casey.
The single entry wasn't rendering because it relied on an endpoint on top of an endpoint. There were two ways to tackle this: 1. Try and register the rewrite endpoint. I started down this path using the `llms_get_endpoints` filter, considered adding extra `add_rewrite_endpoint()` calls to try and get this working. 2 Disable permalinks when rendering the View so that the entry endpoint would instead be rendered as ?entry=123 I chose number 2. I could have also chosen to modify the \GV\Entry::get_permalink() code to add a filter that would allow disabling permalinks, but I didn't feel like modifying core plugin functionality for now.
This makes sure it's translatable and easy to find all instances of the `my-forms` default.
It was always thinking that permalink_structure was empty, since…we added a filter that makes it empty!
@crbdev This should fix the CSS not printing. Good catch.
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.15.5...v1.15.6) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
- [x] Add `secret` to short code use - [x] Add copy option to short code field - [x] Make copy popup accessible - [x] Add `secret` to view block - [x] Test `gventry` tag short code. - [x] Add secret to entry block This PR fixes the Security issue of enumerating on views based on their ID. - It adds a setting to enable this for a view, with the default for new views being set to `on` ![image](https://github.com/GravityKit/GravityView/assets/529515/f3b3876e-0b75-4dd3-8ef5-67c41b156cfc) - It the possibility to copy the short code instead of just selecting it. ![copied](https://github.com/GravityKit/GravityView/assets/529515/49fe4ef0-6015-486d-9a56-79a70e427864) - It also fixes a bug where the GravityView capabilities for a role were overwritten on every admin request.
…-easily-used-in-the-view
This PR addresses #1891. It adds a CSV (or TSV) download link widget with a label and option to wrap inside a `<p>` tag. <img width="462" alt="Schermafbeelding 2024-02-26 om 16 19 01" src="https://github.com/GravityKit/GravityView/assets/529515/5f563bab-57a2-41b2-9e85-0fecb436335c"> <img width="800" alt="Schermafbeelding 2024-02-26 om 16 19 15" src="https://github.com/GravityKit/GravityView/assets/529515/9bba97aa-f8c1-49e5-adae-9436fbc3a770"> <img width="348" alt="Schermafbeelding 2024-02-26 om 16 19 23" src="https://github.com/GravityKit/GravityView/assets/529515/bdec087c-0427-40cb-9114-1a1707927034"> ![disabled](https://github.com/GravityKit/GravityView/assets/529515/cb62a001-d07a-4f37-8b0c-9d4bdc04a209)
…berg (#2012) Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/follow-redirects/follow-redirects/commit/35a517c5861d79dc8bff7db8626013d20b711b06"><code>35a517c</code></a> Release version 1.15.6 of the npm package.</li> <li><a href="https://github.com/follow-redirects/follow-redirects/commit/c4f847f85176991f95ab9c88af63b1294de8649b"><code>c4f847f</code></a> Drop Proxy-Authorization across hosts.</li> <li><a href="https://github.com/follow-redirects/follow-redirects/commit/8526b4a1b2ab3a2e4044299377df623a661caa76"><code>8526b4a</code></a> Use GitHub for disclosure.</li> <li>See full diff in <a href="https://github.com/follow-redirects/follow-redirects/compare/v1.15.5...v1.15.6">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=follow-redirects&package-manager=npm_and_yarn&previous-version=1.15.5&new-version=1.15.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/GravityKit/GravityView/network/alerts). </details>
- Views were only visible when in the trash when they were embedded via shortcode or entries were embedded via oEmbed. - Only show "restore View" if the user has the ability required by WordPress to `untrash` (`delete_post`). - Add a confirmation message to make sure, since this is a constructive action. Resolves #1382
This prevents other plugins, such as BuddyBoss Platform, from output content that breaks JSON response (#2011).
Offending classes/files: includes/widgets/search-widget/class-search-widget.php:1552 includes/widgets/search-widget/class-search-widget.php:1554 includes/widgets/search-widget/class-search-widget.php:1556 includes/widgets/search-widget/class-search-widget.php:1559 includes/widgets/search-widget/class-search-widget.php:1563 includes/widgets/search-widget/class-search-widget.php:1565 includes/widgets/search-widget/templates/widget-search.php:40
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This release enhances security, introduces support for LifterLMS, adds a new CSV/TSV export widget to the View editor along with the option to add Gravity Flow fields to the Search Bar, addresses PHP 8.2 deprecation notices, fixes a conflict with BuddyBoss Platform, and improves performance with updates to essential components.
🚀 Added
🐛 Fixed
🔐 Security
secret
attribute to shortcodes and blocks connected to Views.🔧 Updated
Developer Updates:
gk/gravityview/widget/search/clear-button/params
filter to modify the parameters of the Clear button in the search widget.