snipe-it/tests
Brady Wetherington d2b7828569 This is a squashed branch of all of the various commits that make up the new HasCustomFields trait.
This should allow us to add custom fields to just about anything we want to within Snipe-IT.

Below are the commits that have been squashed together:

Initial decoupling of custom field behavior from Assets for re-use

Add new DB columns to Custom Fields and fieldsets for 'type'

WIP: trying to figure out UI for custom fields for things other than Assets, find problematic places

Real progress towards getting to where this stuff might actually work...

Fix the table-name determining code for Custom Fields

Getting it closer to where Assets at least work

Rename the trait to it's new, even better name

Solid progress on the new Trait!

WIP: HasCustomFields, still working some stuff out

Got some basics working; creating custom fields and stuff

HasCustomFields now validates and saves

Starting to yank the other boilerplate code as things start to work (!)

Got the start of defaultValuesForCustomField() working

More progress (squash me!)

Add migrations for default_values_for_custom_fields table

WIP: more towards hasCustomFields trait

Progress cleaning up the PR, fixing FIXME's

New, passing HasCustomFieldsTrait test!

Fix date formatter helper for custom fields

Fixed more FIXME's
2024-06-06 13:35:38 +01:00
..
Feature Merge pull request #14807 from bryanlopezinc/AddTestToCheckEnvVisibility 2024-06-05 09:50:54 +01:00
Support Extract CanSkipTests trait 2024-04-22 10:32:37 -07:00
Unit This is a squashed branch of all of the various commits that make up the new HasCustomFields trait. 2024-06-06 13:35:38 +01:00
CreatesApplication.php renamed Tests to tests 2021-12-02 15:08:26 -08:00
TestCase.php Extract CanSkipTests trait 2024-04-22 10:32:37 -07:00