Jump to content

matjazp

Members
  • Posts

    686
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by matjazp

  1. https://github.com/jquery/jquery-migrate/blob/main/warnings.md
  2. I didn't test on frontend, but here in admin it works. Of course I cound't test everything, so it's quite possible that there is some odd bug in the latest version of Uikit (likely 3.16.15 in a few days).
  3. I'm testing with $config->debug="dev" and there are no major issues. Thanks for the update, @ryan I found these js files that might need some updates for the lastest jQuery (deprecations): /wire/templates-admin/scripts/install.js /wire/templates-admin/scripts/inputfields.js (focus) /wire/modules/AdminTheme/AdminThemeDefault/scripts/install.js /wire/modules/AdminTheme/AdminThemeDefault/scripts/main.js /wire/modules/AdminTheme/AdminThemeReno/scripts/main.js /wire/modules/System/SystemNotifications/Notifications.js /wire/modules/Process/ProcessRole/ProcessRole.js /wire/modules/Process/ProcessProfile/ProcessProfile.js /wire/modules/Process/ProcessPageEditLink/ProcessPageEditLink.js /wire/modules/Process/ProcessCommentsManager/ProcessCommentsManager.js /wire/modules/Inputfield/InputfieldDatetime/timepicker/jquery-ui-sliderAccess.js (upgrade to 1.6.3) /wire/modules/Inputfield/InputfieldDatetime/timepicker/jquery-ui-timepicker-addon.js (upgrade to 1.6.3) /wire/modules/Inputfield/InputfieldPageTable/InputfieldPageTable.js /wire/modules/Inputfield/InputfieldSelector/InputfieldSelector.js /wire/modules/Inputfield/InputfieldPageAutocomplete/InputfieldPageAutocomplete.js /wire/modules/Jquery/JqueryWireTabs/JqueryWireTabs.js (eq) /wire/modules/LanguageSupport/LanguageTabs.js /wire/modules/Jquery/JqueryTableSorter/widgets.js /wire/modules/Jquery/JqueryTableSorter/JqueryTableSorter.js (new version 2.31.3 also has issues with deprecated function calls) /wire/modules/AdminTheme/AdminThemeUikit/layout/source/stable/plugins/jquery.layout.buttons.js I would also update ckeditor to v4.21.0 and uikit to v3.16.14. EDIT: Ryan, I tested with this forked version of JqueryTableSorter: https://github.com/DavidAnderson684/tablesorter and there are no deprecations in the lastest version of jQuery. I'm attaching a zip file with the files to be replaced in /wire/modules/Jquery/JqueryTableSorter/ JqueryTableSorter.zip
  4. I can confirm. I fixed it by adding if(typeof str == "undefined") return ""; at the top of parseValue() function in inputfields.js.
  5. I can enter info@gourmets-for-nature.de without problems.
  6. What is your advice? I've read an article long time ago but forget what conclusions were made...
  7. https://github.com/processwire/processwire-issues/issues/1707
  8. Sorry for not being clear. CURLOPT_SSL_VERIFYPEER is an option for curl that verify the peer's SSL certificate. When CURLOPT_SSL_VERIFYPEER is enabled, and the verification fails to prove that the certificate is authentic, the connection fails. When the option is zero, the peer certificate verification succeeds regardless. I added this in OpenAi.php, which is used to make HTTP requests to ChatGPT. We could use wireHttp class for that too. Disabling this option is not a way to go, so this was a quick fix to get the response from ChatGPT. Regarding "ChatGPT is offline" error, I couldn't log into my account from my work PC yesterday but could log in from my home PC. It happens from time to time. Try from another computer.
  9. Hm, I can't make it work. curl_getinfo($curl, CURLINFO_HTTP_CODE) in OpenAi.php returns 0. I can manually curl just fine, so it's not GPT. Edit: aha, curl_error($curl) gives 'SSL certificate problem: unable to get local issuer certificate'. ok, not exactly recommended, but as a quick fix CURLOPT_SSL_VERIFYPEER => false, or download curl cert and add it to php.ini
  10. Most likely this commit in ProcessField.module (now) at line 2562 - $value = $sanitizer->words($value); + $value = $sanitizer->getTextTools()->strtolower($sanitizer->words($value));
  11. @szabesz you are right, it's not considered as a bug (I might disagree), see https://github.com/processwire/processwire-issues/issues/1322 @saschapi I've forked tpr's repo and amended some changes, https://github.com/matjazpotocnik/FrontEndEditLightbox
  12. $page->editable() is returning false. PagePermissions.module: // if the current process is something other than ProcessUser, they don't have permission if($processName !== 'ProcessUser' && (!$process instanceof ProcessPageList) && (!$process instanceof ProcessPageLister)) { return false; } Maybe this is not the correct way of testing. Not sure what would be the right way ? For others who might help: Current user has user-admin-all permission and can edit this user, but since the process is ProcessPageView and not ProcessUser, $p->editable() return false. Is this a bug?
  13. Even superuser can't add user. I commented && $page->template != 'admin' part and then I could add new user.
  14. private function _isPageAllowed($page) { return ($page instanceof Page && $page->editable() && $page->template != 'admin' && $this->wire('user')->isLoggedin()); } As you can see, page with admin template is not allowed.
  15. It should stay open as browser is sending ajax requests.
  16. It's different; I posted it on the issues repository, so Ryan has it all in one place. Edit: already fixed, available in the (upcoming) latest dev 3.0.212
  17. Yes, already reported here https://github.com/processwire/processwire-issues/issues/1467#issuecomment-1425013391 will be fixed in PW 3.0.212
  18. I'm evaluating this handy addition, but it looks like it's not working as intended. I hid the page, and I left all checkboxes unchecked. As expected, the hidden page is not shown in the page list. Then I checked the "System in debug mode" checkbox and expected to see the hidden page again, as the site is in debug mode. But it's not the case; the hidden page is not shown in the page list. Am I doing something wrong?
  19. Hm, https://github.com/processwire/processwire/commit/6667caa1d0cbbfb9b2b197f1d0b6380121cdc714#diff-6b6f4dd400a365df19a1abcdb0d7aae1d378f38753d0a95d1b4a78197c7a6b92L2289 made me think it should work, at least it does here.
  20. What's previous PW version you upgraded from? Multibyte support (mb_internal_encoding) is enabled?
  21. If that's of any help... I haven't tested newer versions since then. Also https://github.com/processwire/processwire-issues/issues/769
  22. Looks like it happens whn there is only one template that could be used for a new page. Can you try and add another template that doesn't have multilang disbaled?
×
×
  • Create New...