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:
admin1@domain.com
- admin user who is a member of pi_user1_domain_eduadmin2@domain.com
- admin useruser1@domain.com
- user who is the owner of pi_user1_domain_eduuser2@domain.com
- user who is the owner of pi_user2_domain_eduuser3@domain.com
- user who is a member of pi_user1_domain_eduuser4@domain.com
- useruser5@domain.com
- user who is a member of pi_user2_domain_eduuser6@domain.com
- user who is a member of pi_user2_domain_eduuser7@domain.com
- user who has no LDAP objectuser8@domain.com
- user who has no LDAP objectuser9@domain.com
- user who has no LDAP objectuser1@domain2.com
- user who is the owner of pi_user1_domain2_eduuser2@domain2.com
- useruser3@domain2.com
- user who has no LDAP objectuser4@domain2.com
- 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.