Jump to content

adrian

PW-Moderators
  • Posts

    11,266
  • Joined

  • Last visited

  • Days Won

    374

Everything posted by adrian

  1. Nice work @joshuag - looks like it's all sorted here!
  2. Thank you @horst for everything you have done for images in PW - you deserve way more recognition than you are getting!
  3. Glad you made friends with Tracy > My PW version is 3.0.61 That might be the problem. I would definitely recommend upgrading to the latest dev version. Many of us are using it on production sites and it will likely become 3.1 stable this week or next.
  4. Check out the PW cheatsheet - it's on there. Thanks for noting the error if no matches are returned. Not sure if @bernhard fixed that further along in that thread - I know he tweaked things quite a bit.
  5. https://caniuse.com/#search=requestAnimationFrame
  6. Glad you figured it out. Could you also reduce this down to one loop by making use of has_parent in the selector? Not sure your structure, but might be worth investigating.
  7. That's why approach I linked is so easy to work with - let PW take care of getting all the matched IDs and then getting the fields you need from that match via SQL. At least I think it helps your situation, although honestly I didn't read through this thread very thoroughly, so maybe I am not getting all the issues.
  8. You might also find this interesting: https://jsperf.com/requestanimationframe-vs-setinterval-loop/7
  9. This is where I first read about it: https://swizec.com/blog/how-to-properly-wait-for-dom-elements-to-show-up-in-modern-browsers/swizec/6663
  10. @theo - here's another approach that you might like to add to your arsenal. Note that this was just an experiment on my part and there will be an upper limit on using the results of findIDs in an SQL query like this, but if you follow the rest of the discussion on that thread you'll get an idea of the pros and cons. https://processwire.com/talk/topic/15524-preview-rockdatatables/?do=findComment&comment=158104
  11. Would requestAnimationFrame be useful here? It's become my goto method for waiting for an element to exist.
  12. Great! I just took a look at the Tracy log file scanner code and I am actually extending PW's core log file find() method which seems to have a lot of operations for chunking and limiting the number of lines read so at the moment I don't really know why it's not working efficiently. I'll keep it in mind to revisit at some point, but for now, this is definitely a good reminder for others to check this if things seem to be slowing down lots.
  13. I have actually had this happen once before - it's why I implemented the "Delete All Logs" button. It seems that when a file gets huge, it can cause problems. Maybe I can make the reading of the log files more efficient - I'll take a look.
  14. It should already do that. Here's an example showing a selector query in the Console Panel and the selector and resulting query in the Selector Queries section of the Debug panel that is on the AJAX bar. Does this work for you?
  15. To avoid anything from your template file that might be contributing, can you try this in the Tracy Console panel: d(users('roles!=foo, roles!=bar')->each("name"));
  16. @FlorianA - the roles!=foo works for me What version of PW are you running? I wonder if something was fixed in dev (assuming you are running master).
  17. Working for me - what's your code? I know you say it's not working even for one role, but remember if for negative selection you want AND and not OR for multiple roles.
  18. Thanks for those details @Gideon So - here's some more 1) What Linux distro? Just wondering if there is any Debian session stuff going on 2) After restarting apache, does CPU stay low consistently, or does it start to climb again? 3) Can you narrow it down to a specific panel? Firstly check the Panel Selector to see if any are listed as high MB. But then, please try turning off all extra panels and enable one by one to see if there is one that is the trigger. Thanks for helping out.
  19. Not sure, but let's go through a few things: 1) Is this a new thing on a version of Tracy that was fine before, or is it a new version of Tracy? 2) Same server / php version as before the issue? 3) What is the OS of the server? 4) Is it an issue on all pages of your site? 5) Does it make any difference to click the PW Info Panel > Clear Session & Cookies? 6) Does restarting apache help? 7) Does the debug bar actually load still? Does it take a long time to load? 8) Are there any huge files in site/assets/logs ? Let me know all that stuff and we'll go from there.
  20. Nice to hear - I'll match that pledge
  21. Your wish is my command I have just extended the Mail Interceptor panel to support an optional "Test Email Address". If it's left empty, it works as before, just capturing all the email output in the panel. If you enter a test email, it will still capture the mails, but also send to that test address. I think this is a nice combo.
  22. Hi everyone, I know we'd all like to see ProcessWire grow in popularity (maybe not hugely, but just enough that more people know about it which can help to convince clients to go with it). It strikes me as strange that the ProcessWire Github repo still has less than 300 stars - I'd like to see us well over a thousand which should be an easy task for the forum members to achieve. I see so many other projects with lots of stars but for some reason it doesn't seem like it is something we tend to do around here, despite being a very active, friendly, and supportive environment. I also think that starring your favorite modules doesn't hurt either - I think that will also help to increase the visibility from PW and also help out module authors a little as well. If you can show your Github project has a decent number of stars it shows that you are building things that people want which can help you land a job and helps you to convince the client that you and ProcessWire are a good mix. Anyway, if you have a minute to do some starring of PW and your favorite modules, hopefully it will benefit us all a little. Thanks!
  23. Fixed!
  24. @tpr - that's what I call service Thank you!
  25. https://modules.processwire.com/modules/mail-debugger/
×
×
  • Create New...