snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Snipe-IT v5 Update: April 27, 2020

Open snipe opened this issue 6 years ago • 27 comments

I know v5 is taking a reeeeeally long time. Longer than usual, for sure. For that I'm sorry. I did want to give you some context and an update though.

The delay is partly because we've had to continue forging ahead on v4 issues the whole time while building v5, sometimes because of urgent customer requests (we have to keep the lights on, right?), sometimes because of security issues resulting from libraries we use, etc. That meant maintaining two very different codebases, which can get pretty tough, especially for a small team.

We've tried to backport some things (where feasible) into later versions of v4.x, but we're still hard at work on v5. In fact, lest you think we've been sitting on our hands this whole time, you should know we've issued 26 production v4.x releases, and several v5-RC releases since the original v5 update was posted.

We recently created an integration branch off of master, and merged that into develop, which should put us closer to actually getting this danged this live. It was a pretty messy merge though, with lots of merge conflicts, especially as it relates to CSS files and javascript.

Our current punchlist is:

  • [ ] Fix whatever happened to some of the CSS styles and javascript. Select2 looks funny and so do the boxes on the dashboard. I suspect this may be a webpack thing. I'm working on it.

    • [x] For example, they're rounded corners now, and the dropdown menus work, but they are no longer rich text - I need to fix that, tho I'm not sure exactly why its acting funny.

    • [x] There is a javascript error somewhere in the app.js that doesn't seem to be blocking other things from firing, but it's annoying. Need to track that down

    • [x] I have to check all of the speciality JS (like the password generator, default custom fields for models, etc) that don't show up on every page but only in certain circumstances. I know the dashboard chart is broken currently

    • [x] The help icon + title text + "save" button on some forms looks a little weird. I need to work on the spacing on that

  • [x] Fix the LDAP sync. Right now, the new LDAP reworking and test stuff in the Admin Settings is working great, but the sync console command isn't working anymore. Longer term, we'll be upgrading to the even newer AD/LDAP library, but we don't want to spend the time jumping right to that when a lot of the new LDAP stuff already works as expected.

  • [x] Either fix or give up on Flysystem. The way Flysystem is currently implemented in later Laravel is... suboptimal. It requires a symlink to move public files to the storage directory, and doesn't allow a lot of flexibility on where to store things in S3 - plus anyone wanting to use S3 will likely want a public bucket and a private bucket, and it's more complicated than it should be. (We've tried for weeks.) We may just try to use native Flysystem, which I assume doesn't try to have an opinion on where files are stored.

  • [x] Possible PHP 7.4 compatibility issues, if not with our own code than possibly with some of the packages we use.

None of these issues are insurmountable, but I did just want to check in and let you know we're still committed to releasing v5 soon. Once v5 is out, we already have a long list of improvements that come next (custom fields on things other than assets, improved notification preferences, etc.)

No, I cannot give you a timeline for v5. It depends how long it will take to fix these issues.

For a running list of new features and improvements that are coming in v5, please see #6287.

If anyone's interested in helping us test, you can either check out the develop branch, or just poke around in the develop demo: https://develop.snipeitapp.com (admin/password). The develop branch automatically deploys to that develop demo whenever we push/merge, so you should always be seeing the latest there.

snipe avatar Apr 28 '20 00:04 snipe

Minor one: looks like a merge issue or half edit in custom_fields/edit.blade.php:78-79 that's causing a render error on editing custom fields.

              {{ Form::select("format",$predefinedFormats, $field->getFormatType(), 
              {{ Form::select("format",\App\Helpers\Helper::predefined_formats(), $field->format, array('class'=>'format select2 form-control', 'aria-label'=>'format')) }}

mnemonicly avatar Apr 28 '20 02:04 mnemonicly

@dmeltzer fixed, thank you :)

snipe avatar Apr 28 '20 03:04 snipe

I think I mostly fixed the webpack stuff now - man that sucked. Keep that testing coming tho!

snipe avatar Apr 28 '20 05:04 snipe

You're doing great work, @snipe ! 👏 for you and all the other contributors

apizz avatar Apr 28 '20 12:04 apizz

api/DepartmentsController has two update methods that differ a little. I'm not sure which one is newer.

ForgotPasswordsController@sendResetLinkEmail has some weird code at the end of the method that errors. The comment leaves it unclear exactly what it should do.

mnemonicly avatar Apr 29 '20 14:04 mnemonicly

@dmeltzer I will take a look, thank you! (I've only just started to scratch the surface of going through and testing for weird merge stuff, so I'm not surprised to see some of these pop up.) I've been focused a lot on LDAP and Flysystem, so I appreciate the extra eyes just for clicking around

snipe avatar May 01 '20 00:05 snipe

Dumbly, with the latest MacOS upgrade, my diff client that I LOVED doesn't work anymore, so I've been stuck using Kaleidoscope, which looks much prettier, but has screwed me over a few times now. :(

snipe avatar May 01 '20 00:05 snipe

ForgotPasswordsController@sendResetLinkEmail has some weird code at the end of the method that errors. The comment leaves it unclear exactly what it should do.

That should be fixed now

snipe avatar May 01 '20 00:05 snipe

@snipe Does that mean the LDAP sync issue in current versions is not functioning correctly? I have upgraded PHP on my install and am getting some errors. I can create an issue if need be but was looking for some clarification.

itscsquared avatar May 04 '20 15:05 itscsquared

Thank you very much to the wonderful community and @snipe. I’m sure it will be an awesome release. I will try to update again to v5 in my pp environment. Anything I should be focusing on testing for feedback?

samotelf avatar May 26 '20 00:05 samotelf

Does v5 run with mysql 8? Trying to set it up to test, but running into issues and not sure if that's the problem?

troveitech avatar May 26 '20 14:05 troveitech

#7682 might be relevant for v5. Happy to contribute if this is something that would be considered.

travismiller avatar Jun 04 '20 18:06 travismiller

We're looking to adapt Snipe-IT and might be able to contribute to getting this released. Currently testing v4.9.2 and found some bugs there, will check if the are still present in the develop branch and submit pull requests from there.

tholu avatar Jun 15 '20 12:06 tholu

Is #3286 something we can look forward to?

02ms05 avatar Jun 19 '20 13:06 02ms05

Any updates on the v5 release? Will it support RHEL/CentOS 8? Documentation is still listing 7 being supported with the git installer.

yokhoe avatar Jul 08 '20 22:07 yokhoe

Any updates on implementing #5081?

fenpaws avatar Jul 09 '20 10:07 fenpaws

Can we get new information on v5's availability?

yokhoe avatar Jul 17 '20 17:07 yokhoe

Any update on a release date?

nickjmv avatar Aug 06 '20 17:08 nickjmv

Can we get an update on the progress towards release please?

WifiToaster avatar Aug 12 '20 17:08 WifiToaster

@snipe ^

yokhoe avatar Aug 22 '20 04:08 yokhoe