* 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 Freebsd as vagrant machine for development
* Ran npm audit fix
Manually added peer depenencies
* Added charset=UTF-8 to content-type
Removed reference to throttle model as is is not longer included.
* Locations API support for image
* Added manufacturers API support for image
* Added manufacturers API support for image
* Added image support for locations add/update
* Added manufacturer image upload support to controller
* General image string
* Added blade support for image uploads/delete image
* Added $request support (from Input::)
* Added image support in API transformers
* Added image to Manufacturers presenter for data table
* Migration to create image fields
* Ignore the contents of the new image directories
* Create new image upload directories
* Created components/consumables uploads directory
* Fixed missing textSearch scope from companies
* Added ignore for companies uploads directory
* Added blade support for image upload
* Fixed path to upload directory on edit
* Added company image upport to transformers, controllers
* Added image support for categories
* Added support for images in Departments
* Added support for image in Consumables
* Added image support for components
* Ignore accesories uploads
* API: Allow searching accessories by supplier id
* Adds suppliers and image upload to accessories
* Allow sorting by counts for suppliers
* Validate supplier image uploads
* Remove purchase_date from protected accessory array, it was converting it to datetime in datepicker
* Refactored AssetsTransformer
Casted all ids to int, escaped all text values,
* Added warranty_expires attribute to Asset model
$asset->warranty_expires contains a Carbon object with the warranty
expiration date. Returns null when either purchase_date or
warranty_months are not set.
* Ignoring php-cs cache files
* Restored asset tests expectations
Work in progress - tests still fail
* API controller refactoring, fixed HTTP status codes in responses
* Restored $request->get - debugging
* Added further checks in ApiAssetsCest::updateAssetWithPatch