Brady Wetherington
71e745d966
Clean up this migration so it runs forwards and backwards OK
2023-09-14 21:14:26 +01:00
Brady Wetherington
a3a786f2af
Merge branch 'develop' into has_custom_fields_trait_rebase
2023-09-14 20:27:06 +01:00
Godfrey Martinez
a26b96185b
Merge branch 'develop' into asset-model-notifs
2023-09-11 09:37:22 -07:00
snipe
a62e2f092b
Merge pull request #13498 from marcusmoore/feature/add-checkin-date-range-filter-to-custom-asset-report
...
Added last check in column and filter to custom asset report
2023-09-05 13:22:15 +01:00
Brady Wetherington
8902145288
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
2023-08-28 13:07:33 +01:00
Godfrey M
8ebb9afedd
adds min_amt to asset model edit, index, and table
2023-08-24 10:30:07 -07:00
snipe
ea37325806
Remove trans() from default values
...
Signed-off-by: snipe <snipe@snipe.net >
2023-08-23 08:19:05 +01:00
snipe
749002b768
Added migration to add name order to settings
...
Signed-off-by: snipe <snipe@snipe.net >
2023-08-21 20:09:48 +01:00
Marcus Moore
8b2716d2b7
Fix update statement
2023-08-17 18:33:01 -07:00
Marcus Moore
56fb45f1ea
WIP: Add last_checkin to assets table
2023-08-17 18:01:26 -07:00
snipe
e41368daac
Merge pull request #12050 from cram42/develop
...
New Label Engine
2023-08-15 17:58:57 +01:00
snipe
c56f664811
Merge pull request #13442 from Robert-Azelis/Robert-Azelis-patch-add_email_to_companies
...
Add email to companies
2023-08-15 13:26:20 +01:00
Robert-Azelis
1e43d88e06
Create 2023_08_13_172600_add_email_to_companies.php
2023-08-13 17:25:33 +02:00
Marcus Moore
5b86c02366
Set permissions to empty object in user factory
2023-08-10 16:55:44 -07:00
Marcus Moore
41479b1ec7
Allow permissions in the user factory to be chained
2023-08-10 16:35:10 -07:00
Marcus Moore
1405e17251
Add simple test around custom asset report response
2023-08-08 17:10:36 -07:00
Godfrey M
7560afb8c4
changes webhook_endpoint var to a text
2023-08-01 10:45:39 -07:00
Grant Le Roux
b1464e028c
Merge branch 'develop' into develop
2023-07-31 07:57:29 +08:00
snipe
18e2ec4dad
Merge pull request #13310 from marcusmoore/bug/sc-23478
...
Fixed the inability to load location select when editing profile
2023-07-18 13:26:30 +01:00
snipe
3078cab7ee
Added ability to show/hide custom fields in list views by default
...
Signed-off-by: snipe <snipe@snipe.net >
2023-07-14 09:09:43 +01:00
Marcus Moore
346ace9444
Allow users that have permission to edit their own location to see locations in select list
2023-07-13 17:37:46 -07:00
snipe
14c61e4c17
Added phone, fax to departments, locations, companies
...
Signed-off-by: snipe <snipe@snipe.net >
2023-07-10 19:44:21 +01:00
snipe
c85a33be6a
Change settings table saml_idp_metadata to MEDIUMTEXT
...
Signed-off-by: snipe <snipe@snipe.net >
2023-07-05 17:28:08 +01:00
Marcus Moore
ab5fed09db
Remove scopeCompanyables call from AssetsController@requestable
2023-06-22 12:36:43 -07:00
Marcus Moore
27d4d107bb
Scaffold test before removing scopeCompanyables call from DepartmentsController
2023-06-07 16:10:29 -07:00
Marcus Moore
4fb86ad2fb
Get name as a string and not an array
2023-06-06 16:31:26 -07:00
Marcus Moore
42a4941ad2
Ensure consumable name is valid in factory
2023-06-06 16:31:26 -07:00
Marcus Moore
50234bc9a5
Formatting
2023-05-22 17:40:06 -07:00
Marcus Moore
3a9670930d
Define required fields in Custom Field seeder so sqlite can be seeded
2023-05-18 13:17:35 -07:00
snipe
d648e9a01c
Added Google test user
...
Signed-off-by: snipe <snipe@snipe.net >
2023-05-10 09:13:34 -07:00
snipe
3fb5188037
Removed redirect option
...
Signed-off-by: snipe <snipe@snipe.net >
2023-05-10 00:54:46 -07:00
snipe
72d1c08fbc
Added migration
...
Signed-off-by: snipe <snipe@snipe.net >
2023-05-10 00:21:17 -07:00
snipe
f84f4ffe99
Migration to embiggen state fields
...
Signed-off-by: snipe <snipe@snipe.net >
2023-05-08 14:13:06 -07:00
snipe
d70e14de61
Merge pull request #12972 from marcusmoore/bug/sc-23177
...
Fixes user name missing in accessory acceptance notifications
2023-05-08 13:04:37 -07:00
Marcus Moore
f96d8fe674
Add CheckoutAcceptance factory
2023-05-03 14:21:13 -07:00
snipe
b716f9f55e
Merge pull request #12916 from snipe/features/auto_add_to_fieldset
...
Added ability to auto-add fields to new fieldsets
2023-05-03 11:04:33 -07:00
snipe
54a766c4f9
Added dynamic warranty URL to manufacturers
...
Signed-off-by: snipe <snipe@snipe.net >
2023-04-26 16:39:15 -07:00
snipe
970b5e556c
Merge pull request #12903 from marcusmoore/bug/sc-15034
...
Fixes sending webhook notifications for checkout and checkin
2023-04-25 22:22:58 -07:00
snipe
d6ea5de5b8
Merge remote-tracking branch 'origin/develop' into features/auto_add_to_fieldset
2023-04-25 22:20:50 -07:00
snipe
6cd3cfe1ea
Added new field to factory
...
Signed-off-by: snipe <snipe@snipe.net >
2023-04-25 20:57:03 -07:00
snipe
07336bbc6a
Added auto_add_to_fieldsets field
...
Signed-off-by: snipe <snipe@snipe.net >
2023-04-25 15:51:36 -07:00
Godfrey M
cb68f41d9c
added ldap_location to settings
2023-04-25 11:44:04 -07:00
Marcus Moore
645f6ed692
Remove unneeded doc block
2023-04-19 17:52:44 -07:00
Marcus Moore
2d56675ade
Merge branch 'develop' into bug/sc-15034
...
# Conflicts:
# database/factories/SettingFactory.php
2023-04-17 17:22:55 -07:00
snipe
955539807c
Merge pull request #12830 from snipe/features/adds_supplier_id_to_components
...
Added supplier to components and consumables
2023-04-15 18:42:23 -07:00
snipe
8c09226b76
Merge pull request #12834 from marcusmoore/mxm/improve-test-setup
...
Introduced improved way to interact with settings in tests
2023-04-15 18:37:34 -07:00
snipe
8ae14c43f3
This is a temp fix for the seeders
...
Signed-off-by: snipe <snipe@snipe.net >
2023-04-15 18:27:53 -07:00
snipe
e7c6771e73
Added supplier to components and consumables factories for seeding
...
Signed-off-by: snipe <snipe@snipe.net >
2023-04-13 11:07:22 -07:00
snipe
45142c6888
Migration to add supplier ID to components and consumables
...
Signed-off-by: snipe <snipe@snipe.net >
2023-04-13 11:06:49 -07:00
Marcus Moore
f767cc082f
Introduce improved way to interact with settings in tests
2023-04-06 17:27:18 -07:00