The following warnings occurred: | ||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
Status Update 025 - 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 025 (/showthread.php?tid=773) |
Status Update 025 - mudmin - 09-24-2017 New SQL dump required. This primarily focuses with updates. What I've done is created a file called users/includes/migrations.php Every time we do a db update, it will go inside that file. There is also a table called updates that lists which and when db updates were performed. users/update.php will contain EVERY db update from 4.3.0 on The great thing about this is that a user can use something like git (or even download an entirely fresh copy of userspice) and dump it on top of their existing one and all of the database changes will happen in order to get them right back up to speed. In the event that someone downloads an update and doesn't run the database update, they will be notified in the admin dashboard. I've also made the nags for recaptcha and default password only for live sites. I think that's about it. Status Update 025 - mudmin - 09-24-2017 Oh yeah. There is a sample migration that you will be asked to run when you first go to the admin panel. This will simply add a line to the updates table and tell you it is done. Status Update 025 - Brandin - 09-24-2017 We should add a logger to the apply updates while we are at it. No issues with the redirect to confirm the permissions. I don't see the user end changes we discussed tho - did you not push these? Status Update 025 - mudmin - 09-24-2017 I didn't push them because the redirect does not happen on if input exists. I was going to have to modify all the functions in the admin_pages I believe. Maybe I was missing something. Technology and I have not gotten along the last few days. I'm pretty frustrated. |