* GITIGNORE: Add vagrant log and ansible retry files
This patch adds the following to the project's .gitignore file:
- Vagrant's log file
- Ansible's retry files
Signed-off-by: Mark Stenglein <mark@stengle.in>
* ANSIBLE: Add Ubuntu Ansible playbook for dev env
This patch adds an Ansible playbook to provision an Ubuntu based
development environment. This playbook is fully idempotent and
can be run multiple times without negative consequences.
Signed-off-by: Mark Stenglein <mark@stengle.in>
* VAGRANTFILE: Clean Vagrantfile
There was a lot of extra VMs being provisioned by the existing
Vagrantfile. Some of this may need to come back but I am removing
it with this commit to demonstrate that this is all that is
needed.
Signed-off-by: Mark Stenglein <mark@stengle.in>
* ANSIBLE: UBUNTU: PLAYBOOK: Add .env configuration
I missed the configuration of the .env file in the initial commit.
This patch adds these configuration steps as well as the needed
Cron job for the Artisan scheduler.
Signed-off-by: Mark Stenglein <mark@stengle.in>
* Revert "VAGRANTFILE: Clean Vagrantfile"
This reverts commit a608a30d6b.
* VAGRANTFILE: Fix Ubuntu Vagrant Development Boxes
This patch addresses problems with the existing Vagrant deployment
configurations for the Ubuntu VMs.
- The vagrant file is configuring the VMs for an incorrect bridge
interface. Fixed by changing the config to use the default
networking as well as a port-forward.
- Moves provisioning over to the Ansible-Local playbook I wrote.
Signed-off-by: Mark Stenglein <mark@stengle.in>
* Added logic to handle the CLI importer.
* Fix bug introduced with the commit previous to the regression.
* Adds a validation for variable when is null, add comments to clarify where the class variable came from.
* Add support for when variable is an instance of User class.
* LDAP and Active Directory has plenty of other [ch15504]
* removed department id from ldap sync
* removed department id from ldap sync
* Update 2021_03_18_184102_adds_several_ldap_fields.php
* remove miselading comment line
* added dedicated API endpoint for license seats
* don't display a seat name via API
it makes no sense and we don't have any particular sorting order
so the numbering would be inconsistent anyway
* reduce amount of IFs
* add sanity checks to show()
* fix goofed logging logic
* add tests for action log entries
It is better (best) practice to write configurations to sites-available and then let Apache copy the configuration to sites-enabled via 'a2ensite' command
* Add a way for a user to override the skin setting.
* Add site setting to allow user to change the skin.
* Fix skin list.
Co-authored-by: NMC <info@nmc-lab.com>
This is similar to what exists for the LDAP Import, and adds support for
setting th Import and Report max execution time and memory limits
Co-authored-by: snipe <snipe@snipe.net>
This image is built from the official Debian image as upstream, so there
is no need to do apt-get clean manually.
Ref:
- docs.docker.com/develop/develop-images/dockerfile_best-practices/#apt-get
> Official Debian and Ubuntu images automatically run apt-get clean, so
> explicit invocation is not required.
* Changed debug level on bad LDAP connection
TODO:
Unfuck all of this. It’s a mess and it really doesn’t work the way we think it does. AdLdap library strikes again. :(
Signed-off-by: snipe <snipe@snipe.net>
* Improved phrasing
Signed-off-by: snipe <snipe@snipe.net>