Each release version has its own branch. Once that version is released, the branch is locked.
When submitting pull requests, the pull request should be made to the version you are targetting, assuming it is not already released.
This code base is currently using PHP version 7.4. All files are required to be linted with PSR-12 standard. This repository will automatically check PRs for linting compliance.
- Download and install docker desktop for your appropriate OS.
- In
tools/docker-dev
Run the build script:./build.sh
(mac os/linux) or./build.bat
(windows) - Run the environment:
./run.sh
(mac os/linux) or./run.bat
(windows). PressCTRL+C
to exit.
While the environment is running, the following is accessible:
- http://127.0.0.1:8000 - Web Portal
- http://127.0.0.1:8010 - PHPLDAPAdmin Portal
- http://127.0.0.1:8020 - PHPMyAdmin Portal
- http://127.0.0.1:8030 - Mailcatcher Portal
The test environment ships with a number of users that can be used for testing. When accessing locked down portions of the portal, you will be asked for a username and password. The password is always password
.
The following users are available for testing:
[email protected]
- admin user who is a member of pi_user1_domain_edu[email protected]
- admin user[email protected]
- user who is the owner of pi_user1_domain_edu[email protected]
- user who is the owner of pi_user2_domain_edu[email protected]
- user who is a member of pi_user1_domain_edu[email protected]
- user[email protected]
- user who is a member of pi_user2_domain_edu[email protected]
- user who is a member of pi_user2_domain_edu[email protected]
- user who has no LDAP object[email protected]
- user who has no LDAP object[email protected]
- user who has no LDAP object[email protected]
- user who is the owner of pi_user1_domain2_edu[email protected]
- user[email protected]
- user who has no LDAP object[email protected]
- user who has no LDAP object
Should the default schema of the web portal change, the ldap/bootstrap.ldif
and sql/bootstrap.sql
must be updated for the LDAP server and the MySQL server, respectively.