Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Opening branch 2.0 by a complete refactor #172
Conversation
…functions to password encoder
|
Hello, i don't understand why all those changes are needed for a simple self service password application. Bringing on board symphony + npm for js package management For me all those change will mean i will stop recommanding it, npm is a show stopper for me, its not maintenable from a sysadmin point of view and is bloated. Cheers |
|
Hello @bilbo-the-hobbit, we discussed wiht @plewin some days ago, and he is building a 2.0 branch to show how create a more testable and standard PHP application. As far as I understand, npm will not be needed to run the application, but only to develop it. As always, your remarks are important and we can discuss here of what we want for the future of this tool. I'm also learning PHP modern development and I'm curious to see what it can bring to SSP. |
|
It looks pretty exciting to me. One worry I have is that with the YAML configuration files, are we still going to be able to pull in environment variables to set values? I currently import a custom PHP configuration script that uses function calls to pull in environment variables for deploying the application via Docker. I would hate to lose that functionality. |
|
Hi, As for npm, future users of ssp should not even know about it unless they want to develop or install it from source instead of packages. I do not know what is the future of SSP. Maybe it has already achieved feature perfection and no new features should be accepted. We already have self service ssh public key, maybe the tool is already doing to much for some ? I guess SSP will continue to accept new changes and if there are new changes, we need to secure our features by tests and reorganise the code to stop duplications. I wanted to use Twig, I did not want to use symfony in SSP at first. I am using symfony in SSP now mostly because it improves testability, removes the need of a homemade framework, and gives us conventions. It is not necessary but I believe it is a good move for SSP. I am not confident working with the branch master. It was easier, at least for me, to refactor and write tests for a 2.0 than testing 1.1 directly. About Docker, I would like docker to have first class support in SSP 2.0 but I would not look into it before I am confident of the rpm/deb packaging of 2.0 and that the ldapclient is tested in travis with openldap, possibly apache directory server too. About environment variables to set values in a dockerized SSP config, it is not possible right now. It is supported in symfony >= 3.2 but not in symfony 2 (not including 2 specials one APP_ENV, APP_DEBUG). And this branch use symfony 2.8 to keep php 5.4 compatibility until decided otherwise. As php 5.5 already reached end of security support since a year and a half I think it is okay to require users to use 5.6 minimum and to not allow users to use php versions considered unsecure. but I would wait to have the first rpm/deb of this branch to see how is the installation experience. I guess there is a high chance that I propose a requirement of php 5.6 and a upgrade symfony 2.8 -> 3.4.
Meaning parameters can be set in the config file and overriden by environment variables. On a side note there will surely be 2 environnement variables anyway APP_ENV & APP_DEBUG (that's how symfony works). I plan to maintain this 2.0 branch until it is ready and is accepted for merge into master (or not accepted). I will be making PRs like this one instead of pushing directly commits to explain changes being made and to discuss about them. I will merge them myself in the 2.0 to allow new PRs to come but we can still debate on them. |
|
hello, i don't understand this phrase
does this mean we will have dependancy on npm from the package system dependancy point of view ?? Seems rather strange that source install is not equal to packages install. i agreed to PHP 5.6 at least but symfony only 2.8 is supported on debian strech so for the time being a migration is not possible if we want proper support on debian stretch. Framework could be great but it means lots of install from sources and not up-to-date packaging in the distributions. i also regret that the testing of the code is not done on 1.1 who is the mainstream version everybody use, i know testing can be hard as i fight with my dev for that :) as a result i have mixed feelings for all of this Cheers |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

Major changes
Things still missing