ryan Posted September 18, 2020 Share Posted September 18, 2020 This week the core version remains at 3.0.166, but 3.0.167 should be ready by next week. The main reason I'm not bumping the version is just because a couple additional updates I want to get in 3.0.167 are started by not yet fully finished. Below is a look at what's been committed to the dev branch this week so far: Added custom Page class support for the Language class by implementing your own LanguagePage class that extends it (i.e. /site/classes/LanguagePage.php). Added a PR from MoritzLost with improvements to the CURL support in the WireHttp class. Added a new method to the Fieldtype interface named getMatchQuerySort() this method lets a Fieldtype module optionally manage the query when a $pages->find() requests a sort by a field/subfield handled by the Fieldtype. The first implementation of the getMatchQuerySort() method was added for FieldtypeOptions, which now lets you sort by option values or titles, despite those values and labels being in a separate table that the rest of ProcessWire doesn’t know about. Added a new getAfterLoginUrl() method to the Process module interface which lets Process modules optionally sanitize and validate request URLs to the module for a non-logged-in user. The resulting URL can be automatically redirected to once the user has logged-in. While the method has been added and implemented in several core Process modules, it is not yet used by the core after login—that will come next week in 3.0.167. Previously the only aspect of an admin URL that could survive login was an “id” integer in the query string. This week there were also several optimizations and improvements made to the PageFinder class and resolutions to 4 issue reports. Thanks for reading, have a great weekend! 18 1 Link to comment Share on other sites More sharing options...
Ivan Gretsky Posted September 18, 2020 Share Posted September 18, 2020 9 minutes ago, ryan said: ...and resolutions to 4 issue reports. Sounds like a minor thing in the end just to finish the post, unless it's your issue, your site falls apart without it being solved) Thanks! 2 1 Link to comment Share on other sites More sharing options...
MoritzLost Posted September 21, 2020 Share Posted September 21, 2020 On 9/18/2020 at 8:52 PM, ryan said: Added a PR from MoritzLost with improvements to the CURL support in the WireHttp class. Awesome, thanks @ryan! ? Now I can update my TrelloWire module so it works properly again ? 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now