The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
Status Update 005 - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: Status Update 005 (/showthread.php?tid=687)



Status Update 005 - mudmin - 08-25-2017

This is a cumulative update of lots of stuff we've been talking about in the forums.

The DB class has been updated with PLB/Faguss' updates.
The Validate class has been updated with Karsen/Faguss' updates.
The fetchAllUsers function has been made to accept optional parameter 1 for "order by" and optionally TRUE as parameter 2 to order by DESC.
Brandin did some great work on forcing password resets.

Little other random bugfixes.

Again, this is the move fast and break things phase (although that's winding down).

PLEASE test things and PLEASE comment on the implementations.

Full diff can be found here.
https://github.com/mudmin/UserSpice43dev/commit/2e906d27c3c0dcd47c0757f5609342338f0ae56e




Status Update 005 - Brandin - 08-25-2017

There appears to be something wrong with the login page......you too or just me? I can't for the life of me get logged in, no errors, just won't login.


Status Update 005 - karsen - 08-25-2017

I did a quick test of the login form and the validation is failing but not giving any errors (the ul tags are empty). I'll see if I can find the issue real quick but I only have a few minutes available. Otherwise I can dig back into it in a few hours if no one has found it yet.


Status Update 005 - karsen - 08-25-2017

Here's a working version of the Validation class. I changed the code in the passed() method, and added a few minor changes to bypass the switch for the display and required rules.

https://paste.ee/p/fVqLg

Later today I'll play around with the other changes and see if I can break anything!


Status Update 005 - faguss - 08-25-2017

Ha ha, whoops! There should be
Code:
return empty
instead of
Code:
return !empty
. Sorry, fixed.


Status Update 005 - mudmin - 08-25-2017

Awesome. Thanks. I pushed out that last fix to get it working. We can still discuss what snippets need to be added to the Validate/DB Classes.