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

Release 2.30 #2168

Merged
merged 49 commits into from
Oct 14, 2024
Merged

Release 2.30 #2168

merged 49 commits into from
Oct 14, 2024

Conversation

mrcasual
Copy link
Collaborator

@mrcasual mrcasual commented Oct 14, 2024

This release adds the ability to change the entry creator from the Edit Entry screen, improves upload handling, fixes various bugs, and updates internal components.

🚀 Added

  • Entry creator can now be changed from the Edit Entry screen.
  • {now}, {yesterday}, and {tomorrow} relative date merge tags.

✨ Improved

  • Handling of multi-file uploads on the Edit Entry screen.

🐛 Fixed

  • Entry loading inside a lightbox did not work in some cases when BuddyPress was active.
  • Resending notifications from the Entries screen did not work when sending to all entries filtered by approval status.
  • Conflict with the Wordfence plugin caused a fatal error when redirecting users after deleting an entry.
  • Fatal error when rendering a GravityView View field with a non-existent View ID.
  • Survey field (Rating type) values were displayed in reverse order when a View was embedded inside another View.
  • Unexpected scrolling in the View editor after adding a field.
  • PHP notice when rendering a View with a field associated with an inactive add-on.

🔧 Updated

💾 Build file (337c11b).

omarkasem and others added 30 commits September 7, 2024 09:24
- Add Created By (User) field to the edit screen
- Renders the field on the entry form
- Stores the value when the user has the correct rights
- Refactored to get original user from old entry data instead of post value
@omarkasem, please play attention to these changes as we keep
repeating most of them on your code. More specifically:

1) Use Yoda conditions
2) Function description should use third-person singular verb
to describe what it does (see https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#documenting-tips)
3) Reuse variables if declared and do not declare variable if it's only used once
4) Pass only the required parameters to functions
- Fixes #1978
- Added merge tags now, yesterday and tomorrow
- Made them work with format and timestamp
- Added unit tests 

💾 [Build
file](https://www.dropbox.com/scl/fi/sc7axiegitbfq4c7vc3e4/gravityview-2.28.0-97f835136.zip?rlkey=ve9h5c8g17e8mgb291plfnuta&dl=1)
(97f8351).
…iles setting2 (#2132)

- Fixes
#2086 (comment)
- Button is disabled now after maximum files is reached
- Maximum number error message is shown if maximum files is more than 1
- Fixed an extra issue where if you have multi upload file with max 3
files, Then you upload all 3 files in the edit entry page and then after
the edit you remove one file and try to upload a different file, it
doesn't register that new file and shows a message that the maximum is
reached.

💾 [Build
file](https://www.dropbox.com/scl/fi/tg5yljzjyjjritbskillh/gravityview-2.28.0-572e0fa02.zip?rlkey=mkze7xj5om0xnq8010fzd0pt8&dl=1)
(572e0fa).
omarkasem and others added 17 commits October 9, 2024 17:49
- Fixes #2125
- The issue was only happening if a gravity forms field is put before
gravity view field
- And that was happening because of a logic inside the survey plugin
that was reversing the field choices for some reason that was being
called when a gravity form is embedded in a page so it was affecting
anything that comes after it that depend on field choices
- 

![image](https://github.com/user-attachments/assets/b51dc843-846e-4303-8971-96085e0a8095)


💾 [Build
file](https://www.dropbox.com/scl/fi/tq5b88padqzsf7rb2j5p8/gravityview-2.29-9e98a5f8c.zip?rlkey=zgkkplicdpgg2cbg5xeng5u5h&dl=1)
(9e98a5f).
@zackkatz zackkatz self-requested a review October 14, 2024 17:21
@mrcasual mrcasual merged commit 2f005f6 into main Oct 14, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants