snipe
d911b776bf
Check for associated maintenance asset
...
This should probably never happen, but triggers on the demo sometimes because of fluctuating data seeding
2018-03-21 19:08:06 -07:00
David Kaatz
53735f2026
Authentication via REMOTE_USER (clean repull) ( #5204 )
...
- Implementation in Login
- Configuration
- Database migration
2018-03-14 12:48:07 -07:00
David Kaatz
a43b31400f
Authentication via REMOTE_USER ( #5142 )
...
* Added authentication via Remote User
* - Removed nullable from remote_user settings fileds and used just default values instead
- Removed german translations
- Removed 401 error page and replaced usage with 403 error page as 401 was actual a duplicate of 403
- Replaced usage of $_SERVER['REMOTE_USER'] with Laravels API Request::server('REMOVE_USER')
* - Fixed request usage
2018-03-13 20:07:52 -07:00
Brady Wetherington
e15f2ac8ab
Support \r
-terminated files better from the Importer ( #5184 )
...
* Hoist the ini_get/ini_set auto-detect line endings code higher
* Placate the irascible Codacy
2018-03-13 20:06:53 -07:00
snipe
fc8637c81a
Check for associated maintenance asset
...
This should probably never happen, but triggers on the demo sometimes because of fluctuating data seeding
2018-03-07 22:22:36 -08:00
snipe
1d130b4a89
Fixed asset model permission not granted for edit
2018-03-07 18:22:49 -08:00
snipe
17e0154995
Fixed #5160 - make field_values readable via custom fields API
2018-03-06 13:11:45 -08:00
snipe
1e22b8e567
Fixed #5138 - added default_label flag to status labels
2018-03-05 22:04:16 -08:00
snipe
a5c6ddb8ac
Change gate for updating assets via the API to edit
2018-03-05 21:27:17 -08:00
snipe
36cd63836e
Fixed #5151 - added asset tag to maintenances
2018-03-05 16:26:40 -08:00
snipe
9effa3d2ab
Fixed manufacturer restore
2018-03-03 19:14:27 -08:00
snipe
0782222c6b
Removed commenting
...
This restore() is still not working, though not sure why. Seems like it should be pretty straghtforward, and yet…
Additonally, manually setting the deleted)at date to null or blank isn’t working either. I’m sure I’m just missing something obvious.
2018-03-03 18:49:02 -08:00
snipe
f7784b6543
Fixed #2402 - add ability to restore manufacturers
2018-03-03 18:46:19 -08:00
fordster78
68a9855506
New First Admin Notification ( #5147 )
...
* New First Admin Notification
* Include Last name in Welcome and First admin Notifications
2018-03-03 14:37:42 -08:00
fordster78
688a3251a9
New Welcome Notification ( #5146 )
...
* New Test Notification
Created Test Notification.
Updated Vendor Mail message.blade files.
Updated api settings controller to use Notification Façade.
* Add show URL in Emails condition
* New Welcome Notification
2018-03-03 12:44:41 -08:00
snipe
4ab1d5ca7f
Fixed #5110 - crash on accessory checkin missing last_name
2018-03-02 19:26:41 -08:00
fordster78
4e0c8e218d
New Test Notification ( #5137 )
...
Created Test Notification.
Updated Vendor Mail message.blade files.
Updated api settings controller to use Notification Façade.
2018-03-02 18:01:20 -08:00
snipe
f171357e36
Removed unused skin files, added skin setting option
2018-03-02 17:50:40 -08:00
snipe
b4f704d7f1
Fixed 2FA reset button
2018-02-26 15:43:49 -08:00
Daniel Meltzer
9ee2c6be57
Api tests2 ( #5098 )
...
* Cleanup
* API tests for asset models and related cleanup/improvements
* Api license test. Tests incomplete because create/update/destroy are not implemented yet in the controller
* API Category tests.
* Manufacturers API Test.
* Implement License Create/Update/Delete Methods for API and enable test.
* Add missing gate for api. Fixes only superadmins being able to generate Personal Access Toekns
2018-02-25 12:10:02 -08:00
Daniel Meltzer
7de8f71f58
Api tests ( #5096 )
...
* Use the formated date helper to clean up verifications.
* Add Checkin/Checkout api tests.
* Accessories api test
* Add Companies API Test.
* Return ModelNotFound as a 404.
* Cleanups/simplficiations/updates.
* Locations api test.
* currency and image should be fillable on location.
* Update components api test.
* Use findOrFail so we return a 404 instead of a 200. Matches other item types.
* order_number should be fillable in component.
* Add updated_at and permissions to information returned from api for a user.
* Add users test and flesh out factory and fillable fields.
* Add test for assets method
* API status label test.
* Disable php7.2 for now on travis until the count(null) issues are remedied
* Add serial to update.
* API model not found should return a 200
2018-02-24 19:01:34 -08:00
snipe
b6a75093b7
Removed duplicate location_id assignment
2018-02-24 14:06:10 -08:00
snipe
5e5ba54c3e
Disallow checkout asset to itself
2018-02-23 05:52:19 -08:00
Daniel Meltzer
f7dbda4ed3
Disable broken tests ( #5073 )
...
* Work towards a functional travis. Step 1: Disable broken unit tests.
* Fix functional tests
This updates the login information and model factories to work with
changes to source.
* Importer name/full name fixes.
Fix a bug where "name" was used ambigously and mapping "item name" to
"name" would confuse the importer into thinking it should also be a user
name. Now we default to "full name" for the users name, and "item name"
for the item name. These are still both configurable through the custom
mapping.
Also update sample csvs and remove an outdated sample.
* Max length of supplier notes is 191, not 255, as per default laravel string length. Might make sense to change this to a text field in the future to match other places.
* Use sqlite/different db setup for unit tests.
* Fix assets api test.
* Fix Components API test.
* increase travis memory limit for functional tests.
* Use travis config for api tests as well.
* Fix memory limit file.
* Disable ApiComponentsAssetsCest until it's fixed.
2018-02-22 21:46:58 -08:00
snipe
236e773438
Fixed incorrect component not found string
2018-02-22 16:36:01 -08:00
snipe
e3144c3093
Added Slack test button
2018-02-22 16:35:34 -08:00
snipe
9c1fe2c922
Reverting previous change - qty already existed in allowed columns. Derp.
2018-02-21 16:46:37 -08:00
snipe
006b2b18b0
Added qty to sorting
2018-02-21 16:21:31 -08:00
snipe
f5e51897e3
Added - sort by color on status labels
2018-02-21 05:29:50 -08:00
snipe
698ea36cc2
Added - Order location by manager
2018-02-21 05:09:40 -08:00
snipe
0cf9cdd3b1
Make department columns sortable
2018-02-21 05:04:20 -08:00
snipe
0d7a43ab38
Fixed orderby parent location name
2018-02-21 02:17:18 -08:00
snipe
22f44e342f
Fixed incorrect next audit date if asset override
2018-02-21 01:18:21 -08:00
snipe
589c3a2be3
Fixed #4668 - wrong gate on manufacturer save
2018-02-16 17:45:27 -08:00
snipe
3744a68daf
Features/better table options ( #5018 )
...
* Added CSS for table toolbar
* Use maintenances API for table listings
* NIcer layout for allowed_columns in maintenances API
* Fixed #5014 - bootstrap cookie issues
* Fixed #5015 - bug when saving settings
* Refactored datatable code to use data attributes
* Updated dashboard with new table code
* Added - Order by group user count
* Updated groups to use new table attributes
* New license listing table code
* More bootstrap table implementations
* More BS table refactoring
* Improved bootstrap assigned assets
* New bootstrap for reports
* Misc BS fixes
* FIxed small issue with asset history display
* Removed multisort option
* JS refactor
2018-02-16 13:22:55 -08:00
snipe
f144d671ff
Fixed #4988 - incorrect variable name in asset checkout API method
2018-02-12 19:13:33 -08:00
snipe
08d129c2ea
Fixed #4951 - updating asset location in bulk edit
2018-02-02 09:36:40 -06:00
snipe
b3a6ec2804
Fixed #4938 - default sort order
2018-02-01 17:17:56 -06:00
snipe
d2587337e4
Fixed #4952 - ignore show_archived setting when drilling down into specific ID
2018-02-01 16:31:32 -06:00
snipe
e7e10c24be
Add departments to usr export
2018-02-01 15:54:49 -06:00
snipe
2f9fff7130
Do not try to show depreciation report if no depreciations are set up
2018-01-25 13:16:49 -06:00
snipe
cf8feb37e1
Fixed crash if no model associated
...
This should never be triggered. Bad data is getting in somehow.
2018-01-25 03:00:54 -08:00
snipe
11505d5d06
Fix crash if no asset model
...
(This should never happen, but shouldn’t crash if/when it does)
2018-01-25 00:25:43 -08:00
snipe
1d04897b32
Order by default location
2018-01-24 14:27:12 -08:00
snipe
739d3c72b7
Fixed #4902 - include last name in checkin email
2018-01-24 10:59:34 -08:00
snipe
60c38a0c47
Added setting to choose what appears in model select list - Fixes #4879
2018-01-24 10:43:46 -08:00
snipe
2c2910d1dd
Handle shitty edge cases where an asset has no model without crashing
2018-01-24 08:16:05 -08:00
snipe
765295136a
Added - ability to add custom footer text, hide user’s manual/support links
2018-01-24 07:02:30 -08:00
snipe
fefd6d60f6
Fixed #4899 - sorting in user history
2018-01-24 04:48:00 -08:00
snipe
a7b8b4bf55
Added: ability to change actual location from bulk edit assets
2018-01-24 04:38:25 -08:00
snipe
7cafa194c1
Fix for counts
2018-01-24 04:26:15 -08:00
snipe
b37f78dbbf
Fixed #4858 - wrong params for id count
2018-01-24 04:24:45 -08:00
snipe
f1bbdc9e59
Revert PR #4845
2018-01-24 03:32:45 -08:00
vcordes79
0fb8dc3418
check if user is allowed to view assets ( #4845 )
2018-01-23 18:10:05 -08:00
vcordes79
f4e9d245d0
Status labels ( #4895 )
...
* fix statuslabels
* fix statuslabels
2018-01-23 18:08:54 -08:00
vcordes79
7b596c750d
API for (dis)associating fields with fieldsets ( #4881 )
...
* start work on fields in fieldset api
* revert CustomFieldsetsController
* fieldset associate / disassociate api
* fix variable names and payload
* fix variable name
2018-01-22 13:14:04 -08:00
snipe
99e55f84f0
Fixed misc UI permissions elements
2018-01-20 04:39:31 -08:00
snipe
34f6d5ab45
Fixed #4671 - corrected component checkin gate
2018-01-20 03:58:59 -08:00
snipe
e6f70f2ab7
Fixed #4821 - add username to user selection dropdown
2018-01-19 23:47:37 -08:00
snipe
95a9742571
Fixed #4768 - adds dashboard message option to settings
2018-01-19 20:43:55 -08:00
snipe
c242abb42e
Added Company policy to fix company deletion issue
2018-01-19 17:51:28 -08:00
snipe
2a959edeba
Added - Setting to allow archived assets in List All
2018-01-17 19:18:48 -08:00
snipe
8995d689b8
Fixed #4817 - [BREAKING API CHANGE] - changed user API response from firstname, lastname to first_name, last_name
2018-01-17 13:25:11 -08:00
snipe
d920d91786
Fixed #4593 - do not require model_id to update asset custom fields via API
2018-01-17 13:12:32 -08:00
snipe
8fff6a1a06
Update asset location based on user checkout in bulk checkout
2018-01-17 12:39:49 -08:00
fordster78
138313dcb9
Setup changes ( #4813 )
...
* Add Asset Tag settings to Setup
* Add Locale Settings to Setup
* Add multiple company support to setup
* Changed the locale label name from 'site_name' to locale
Added default value for language to 'en' and multiple companies support
to 0 (false)
Switched out the old Input facade to the preferred $request->input
method for the setup page.
2018-01-17 10:58:03 -08:00
snipe
91bca5fcba
Fixed #4844 - use input value for ids in user bulk edit
2018-01-17 06:15:52 -08:00
vcordes79
94cf1f8741
Fixes #4829 - add fields api ( #4840 )
...
* add fields api
* change route names
2018-01-17 05:31:57 -08:00
snipe
6bfd428c2e
Use real status label names, even if deployed
2018-01-15 21:03:26 -08:00
snipe
68f1fa0340
Added - ability to sort by asset count in models
2018-01-11 15:21:51 -08:00
snipe
9293f17707
Moved search scope lower to fix weird (possible Laravel) bug w/prepared statements
2018-01-11 15:17:34 -08:00
snipe
3b4a651dd9
Allow counts in mfg sorting
2018-01-11 15:16:23 -08:00
snipe
2bbb6001a8
Added location to seats transformer
2018-01-10 20:36:27 -08:00
snipe
e3d7be23cb
Added new seats controller method
2018-01-10 18:47:57 -08:00
snipe
3d5545494e
Added new seats transformer
2018-01-10 18:47:40 -08:00
snipe
e6259eb6e1
Fixed #4774 - show assets assigned to assets in asset view
...
Todo: Fix text search on the asset to asset tab. It’s currently broken so I’ve disabled it.
2018-01-10 05:44:11 -08:00
snipe
285e4e2e52
Allow bulk language update in user edit
2018-01-10 05:33:26 -08:00
snipe
5587b64d64
Fixed #4770 - broken licenses, etc on company view, added users and components
2018-01-10 03:52:21 -08:00
Brandon Daniel Bailey
f786e07179
Allow auto increment through the API ( #4690 )
...
* Allow auto incrementing asset_id from the API when the setting is enabled
* Cleaned up the if else statement
* Added prefix to the orWhereRaw which causes a database error if the configuration uses a prefix
* Auto incrementing through the API
2018-01-03 17:24:32 -08:00
Daniel Meltzer
f16ce09a7a
Importer again ( #4702 )
...
* If a user id is provided in the name column of an import, we should assume that it is a user id and check out to it.
* Fix build of vue files. The location is public/js/build, not public/build
* Ensure a status type is set before allowing submission of an import.
Also expand the status text label to change color based on success/failure.
Fixes #4658
* Use right key to lookup emails when importing users. Fixes 4619.
* Import serial for components, and make unique matches based on the serial as well as the name. Fixes #4569
* Set the location_id when importing an item properly.
This moves as well to using the Asset::checkout() method, which should consolidate the logic into a useful spot.
Fixes #4563 (I think)
* Production assets.
* Case insensitive field map guessing and repopulate when changingin import type.
2017-12-28 20:08:45 -08:00
snipe
c3a44f25fd
Fixed #4663 - duplicate manufacturer name in selectlist
2017-12-20 12:32:55 -08:00
snipe
d2e2c1c05f
Stub and 404 registration routes
2017-12-19 22:14:51 -08:00
snipe
b716db225f
Added “new” buttons for manufacturer and category in asset model creation
2017-12-19 20:30:46 -08:00
snipe
7a8c8233a2
Fixes #4639
2017-12-15 18:54:38 -08:00
snipe
f1a911d305
Fixed ambiguous query on non-super admins with FCS
2017-12-12 21:14:12 -08:00
snipe
608bb1b5b1
Fixed #3416 - bulk delete asset models
2017-12-12 09:10:05 -08:00
snipe
1ef44721f5
Improved - disallow delete if not elgible in UI
2017-12-12 07:03:31 -08:00
snipe
528630a8d3
Improvement - make asset, etc totals in company listing sortable
2017-12-12 07:03:09 -08:00
snipe
856a760d89
Improved - disallow deleting manufactureres if there are associated items
...
This is enforced on the backend - UI imorovement only
2017-12-12 06:52:50 -08:00
snipe
9179b6d9c4
Improved - disallow delete through the GUI if asset model has assets associated
...
(We prevent this on the backend anyway, but this makes for nicer UI)
2017-12-12 06:49:04 -08:00
snipe
4ce91a4f5d
Fixed namespace gate for components - related to #4282
2017-12-12 06:26:37 -08:00
snipe
aff93d8f2b
Fixed #4589 - Licence deployed to asset issue
2017-12-12 05:43:06 -08:00
snipe
612f23f6e0
Added #2893 - track changes on asset edits
2017-12-12 04:59:28 -08:00
snipe
9fe2a7f81d
Removed duplicate log entry on asset creation
2017-12-12 03:39:55 -08:00
snipe
c816870083
De-norm last audit date so we can display it in the asset listing
2017-12-12 03:03:43 -08:00
snipe
c5c46b7283
Removed duplicate deleted logaction
...
This is handled via observers now
2017-12-12 02:32:45 -08:00
snipe
5b00a8ae33
Use specific company_id column name in user search
2017-12-11 22:50:55 -08:00
snipe
f90271dae5
Aaaaand one more for #2810 . Sigh.
2017-12-08 14:33:12 -08:00
snipe
e1423bd9d9
One more fix for #2810
2017-12-08 14:02:27 -08:00
snipe
3df62a200f
Fixed manufacturer gates
2017-12-08 13:16:37 -08:00
snipe
4898dd8e23
Use ImageUploadRequest $request on user profile update
2017-12-06 14:42:14 -08:00
snipe
a090b6a9d2
Use ImageUploadRequest
2017-12-06 14:38:01 -08:00
snipe
dfb0c09c51
Fixed #4581 - renamed print method
2017-12-06 11:17:42 -08:00
snipe
83547e3fed
Prepopulate ther groups array on create
2017-12-05 18:17:11 -08:00
snipe
29a36b5d1c
Do not allow null id on group edit
2017-12-05 16:49:26 -08:00
snipe
a19cef07bf
Check for gate on license key display
2017-12-05 16:26:23 -08:00
snipe
c39e6d7006
Fixed #4576 - licence checkout gate
2017-12-05 15:04:10 -08:00
snipe
438f484d68
Removed duplicate purchase cost column
2017-12-05 14:03:08 -08:00
snipe
f95d780fcf
Include purchase cost column if depreciation is selected
2017-12-05 14:02:43 -08:00
snipe
76fe2af0af
Fixed #4444 - Added EOL back into asset lsiting and custom report
2017-12-05 13:03:11 -08:00
snipe
e490185533
Fixed EOL in custom report
2017-12-05 12:54:19 -08:00
snipe
deba4d2b81
Added consumables tio printable output
2017-12-05 12:37:42 -08:00
snipe
a8cc29f062
Added #2562 - print view of all assigned inventory
2017-12-05 12:34:16 -08:00
snipe
7efa7ec03f
Starter print template for all assets assigned to a user
2017-12-05 01:55:24 -08:00
snipe
9eef7a94ab
Fixed #4557 - added missing fields in components/consumables list view
2017-12-05 00:40:30 -08:00
snipe
d7f2bceea2
Fixed incorrect property on supplier
2017-12-04 20:45:20 -08:00
snipe
fdaa279930
Fixed #4548 - add cateory to model dropdown
2017-12-04 20:19:30 -08:00
snipe
ec4bed436c
Fixed #4565 - show manufacturer in models selectlist
2017-12-04 19:52:18 -08:00
snipe
9deafd771e
Fixed bad suppliers error route
2017-12-01 20:28:37 -08:00
snipe
cbc09f3a12
Fixes #4508 - adds image to location view (and google map, if address and API key exist)
2017-12-01 19:12:35 -08:00
snipe
8b4c85d69a
Removed verbose logging
2017-12-01 16:56:50 -08:00
snipe
78a51d3675
Additional fixes, improvements for custom report
2017-12-01 16:51:38 -08:00
snipe
14874d8e8a
Fixes #4495 - missing field in Download CSV, added filter options on custom report
2017-12-01 14:47:52 -08:00
snipe
ff793f1cb5
Added variable to determine if “new” modal button should be displayed
2017-12-01 14:37:11 -08:00
snipe
8140bdaa88
Fixed repeated header issue in asset export
2017-12-01 14:25:32 -08:00
snipe
cefdca3d22
Fixed incorrect has vs input
2017-11-30 13:40:26 -08:00
snipe
d3864db5e1
Switched to use $request from Input:: facade
2017-11-30 13:32:00 -08:00
snipe
ea2f7617df
Validate checkout_to_type on asset checkout
2017-11-27 21:20:12 -08:00
snipe
b6c258bb12
Redirect to back on bad checkout
2017-11-27 21:19:50 -08:00
snipe
804b49cefb
Make sure the asset is available for checkout before displaying the checkout screen
2017-11-27 21:18:29 -08:00
snipe
305b0d8edb
Fixed #4522 - properly check for valid target, throw error otherwise
2017-11-27 21:17:58 -08:00
snipe
05996019e5
Use asset checkout request in API
2017-11-27 21:17:16 -08:00
snipe
a7e12931fa
Check that assigned is an object in reports controller
2017-11-22 18:42:17 -08:00
snipe
6f3a90c48b
Check that the assigned data is valid
2017-11-22 15:07:34 -08:00
snipe
8f160a8590
Fixed CSV asset export missing checked out to info
2017-11-22 13:05:48 -08:00
snipe
2278d5bfd8
Fixed restore permission to assets API disable delete/checkin/checkout on deleted assets
2017-11-22 10:35:24 -08:00
snipe
8562f018ed
Fixed - conflicting error when a user and asset were both checked out
2017-11-22 07:31:38 -08:00
snipe
d98d06377e
Fixed #4098 - autolink URL and email addresses in listing
2017-11-21 22:34:53 -08:00
snipe
22fdd05314
Add UTF charset
2017-11-21 22:34:07 -08:00
snipe
0adebd1ec8
Add sorting and additional category types to dashboard categories
...
BREAKING CHANGE: Category type now reports as `category_type`, instead of `type`
2017-11-21 20:33:30 -08:00
snipe
43c1e893c0
Fixed #4494 - use audit settings for asset audit pre-populaton
2017-11-21 20:13:51 -08:00
snipe
4696e799ed
Fixes #4491 and #4483 - handle pre-selected asset on checkout, better checkout-to selection UI ( #4501 )
...
* Added form checkout selector partial
* Stupid stash
* Added radio button checkout selector javascript
* New compiled production assets
* Added $style override in form partials for select2 ajax lists
* Added checkout-to radio button selector
TODO: Fix for accessibility - currently cannot tab-select this radio button
* Added new checkout-to selector to hardware edit
* Added new checkout-to selector to asset checkout form
* Refactored postCheckout to use radio button submission
This defaults to user checkout if nothing is passed for some reason
* Better visual feedback on whether or not an asset is deployable in edit screen
2017-11-21 15:58:31 -08:00
snipe
17405f5de1
Fixed #4413 - Next license seat not bering assigned correctly
2017-11-20 19:21:05 -08:00
snipe
7321c5937f
Fixed #4440 - allow username search in asset dropdown
2017-11-16 16:49:16 -08:00
snipe
ce525c1985
Fixed #4471 - removed gate for categories selectlist
2017-11-16 13:48:38 -08:00
snipe
ba38b841cb
Constrain accessory by category ID if one is passed
2017-11-14 16:47:21 -08:00
snipe
498fc3762d
Fixed #4437 - pagination for maintenances
2017-11-14 01:32:25 -08:00
snipe
0396267388
Fixed #4412 - use select2 ajax list for asset maintenances
2017-11-12 17:22:16 -08:00
snipe
7eef1b4bcf
Fixed #4418 - order models by name asc in selectlist
2017-11-10 15:56:14 -08:00
snipe
6852b74317
Removed gates from selectlist method
2017-11-09 10:51:55 -08:00
madd15
172c7c75a8
Fixed #4374 - Add option to display company names to labels ( #4405 )
...
* Migration - Labels Display Company Name setting
* Add Company Name to Labels
Add company name if it is turned on in settings and asset has a valid company
* Add Company Name checkbox to Label settings
* Add Company Name Lang
* Add display company name to postLabels
* Revert Add Company Name Lang
* Fix display company name in postLabels
* Change tinyInt to boolean for display company name
* Simplify checking for company and getting the name
* Change to square brackets for array notation
* Move divs inside if statements on optional fields
2017-11-08 20:05:39 -08:00
snipe
b567ffdcfe
Fixed #2855 - checkin for components
2017-11-08 06:06:05 -08:00
snipe
35ee52212f
Added ability to disable the alert icon in the top menu
2017-11-08 03:08:17 -08:00
snipe
a3e80882c1
Better error handling for qr codes on invalid assets
2017-11-08 01:04:14 -08:00
snipe
74773ac912
Fixed incorrect policy reference in consumables listing
2017-11-07 23:05:29 -08:00
snipe
9764d2ad24
Removed commented code
2017-11-07 22:25:32 -08:00
snipe
d03b8c6528
Error handling for when log ID has no match on asset accept
2017-11-07 22:25:24 -08:00
snipe
5aee5a3f3d
Update location on checkout, error if bad target
2017-11-07 17:37:08 -08:00
snipe
9d7455f022
Fixed handling deleting old images better
2017-11-07 11:28:13 -08:00
snipe
b748e7ed5e
Fixed transformers to use new singleton upload urls
2017-11-07 11:11:47 -08:00
snipe
579334b5fc
Fixed - name should always be required in custom fields
2017-11-06 20:05:40 -08:00
snipe
dc32e4bdb0
Fixed form request ffor custom fields
2017-11-06 16:42:37 -08:00
snipe
6ece593629
Fixed #4381 - asset uploads
2017-11-06 12:38:31 -08:00
snipe
2b3b2e3197
Removed presenter references in custom report
2017-11-06 10:44:57 -08:00
snipe
a9d9234fb3
One more fix for custom reports
2017-11-06 10:44:18 -08:00
snipe
936ff707c7
Fixed custom report bug if assignedTo has no value
2017-11-06 10:42:34 -08:00
snipe
04ab522ee3
Fixes #4236 - validate the regex custom validation ( #4380 )
...
* More helpful text on how the custom validator works
* Clarified language of custom format, fixed regex example
* Fixed regex example in placeholder
* Added comments to custom fields
* Added regex validation string
* Added valid_regex validator in format requirements
* Removed useles comments
* Fixes #4236 - validate the regex custom validation
2017-11-04 17:06:14 -07:00
snipe
fe06ef10f1
Set the items array variable for no results
2017-11-04 01:23:50 -07:00
snipe
2de0a3669e
Check that there is a valid array before unshifting
2017-11-04 01:11:11 -07:00
snipe
d68d95a915
Fixed - Added a “clear selection” option to select2 ajax lists
2017-11-04 00:19:16 -07:00
snipe
d7f8615964
Fixed query for location ID
2017-11-03 20:10:36 -07:00
snipe
cc7be5f947
Added location to checkout in API
2017-11-03 19:42:45 -07:00
snipe
5b489e003d
Set the location_id on save/update to rtd if one is given
2017-11-03 19:41:26 -07:00
snipe
8c1f4b006e
Removed comment
2017-11-03 19:40:55 -07:00
snipe
3a52c19428
Updated fieldname in Locations transformer and API
2017-11-03 19:40:40 -07:00
snipe
c06539dee3
Update the location ID if there is an rtd_location given
2017-11-03 17:36:18 -07:00
snipe
b3b8ab493e
Switch to the reply_to address
2017-11-03 14:58:49 -07:00
snipe
6fb0ef908d
Fixed issue sorting when viewing users by department
2017-11-03 14:29:04 -07:00
snipe
85360a7c7f
Removed gates on selectlists
...
They can’t access the API directly unless they have been granted API accesses anyway
2017-11-03 13:03:57 -07:00
snipe
416455fe01
Fixes weird manager_id validation
...
This is a shit fix - need to find out what’s happening here.
2017-11-03 12:48:00 -07:00
snipe
3ecaa99990
Fixed only undeployed assets in checkout to list
2017-11-03 11:33:36 -07:00
snipe
0c794c103b
Return an integer value for free seats if null
2017-11-02 20:23:04 -07:00
snipe
53175d5035
Fixed sorting issue on company/manufacturer/supplier
2017-11-02 20:01:39 -07:00
snipe
0bd09f9c46
Added sorting on available and total seats
2017-11-02 19:37:30 -07:00
snipe
27d795508d
Fixed n+1 query, changed checkout behavior to just ask for a license ID
...
We’re offloading the freeSeat() to the checkout page now
2017-11-02 19:16:09 -07:00
snipe
368ac5b85d
First stab at handling the n+1 issue on licenses
2017-11-02 18:20:42 -07:00
snipe
f47075c180
Removed depreciation from Licenses transformer
2017-11-02 17:18:53 -07:00
snipe
85624205b4
Updated Lang::get to trans
2017-11-02 17:12:51 -07:00
snipe
c9c5ce6ee0
Return Deleted User if the user is invalid for some reason
2017-11-02 16:20:01 -07:00
snipe
28a4293a0b
Fixed #4370 - user’s listing flashing then no results
2017-11-02 11:19:34 -07:00
snipe
f095f1807c
Eager load userloc
2017-11-02 11:06:15 -07:00
snipe
e08911ab8f
Removed nonce for now
...
There is a dependency in a package where we can’t edit the script tags to add the nonce
2017-11-02 10:57:05 -07:00
snipe
ca6dc5c2b5
Eager load user location
2017-11-02 10:56:36 -07:00
snipe
f43692938b
Fixed slug call in asset models image
2017-11-02 08:02:51 -07:00
snipe
da56a253bc
Added checkout requests method
2017-11-02 04:21:57 -07:00
snipe
a844d5b018
Added pagination, nicer formatting for requested assets
2017-11-02 04:17:14 -07:00
snipe
4f008e118f
Fixed search string on suppliers selectlist
2017-11-01 21:55:17 -07:00
snipe
e11f9313f0
Fixed #4360 - better output if backup fails
2017-11-01 14:12:18 -07:00
snipe
d36e8cfbd2
Dashbpoard pie fixes
2017-11-01 13:27:59 -07:00
snipe
4cdcbc97ee
Fixed varname issue on old image delete for manufacturers
2017-11-01 13:10:56 -07:00
snipe
feb2f5b076
Fixed #4356 - removed reference to old assetloc
2017-10-31 18:20:03 -07:00
snipe
37868cd70e
Added warranty and expiration to list view
2017-10-31 07:05:15 -07:00
snipe
32b2f77ad9
Fixed issue where we tried to call the audit log even if the asset wasn’t valid
2017-10-31 05:41:06 -07:00
snipe
472a5b9f69
Removed extra log on API asset create
2017-10-31 05:38:52 -07:00
snipe
121e158f39
Change method name from userloc to location
...
This needs to be changed in more places though
2017-10-31 05:22:57 -07:00
snipe
f4e7bfc28d
Null custom field if field exists but is empty
2017-10-31 05:22:21 -07:00
snipe
0f4c05c5d0
Remove commented code
2017-10-31 05:02:46 -07:00
snipe
7f1b7be416
Rolling back prepending models to sort
2017-10-30 21:26:25 -07:00
snipe
02720f225c
Fixed sorting issue in asset models when ordering by manufacturer
2017-10-30 20:51:01 -07:00
snipe
546c3e50fa
Fixed updating the assigned assets location if user’s location changes
2017-10-30 19:33:52 -07:00
snipe
7f1b962e56
Improved use of de-normed locations fields
2017-10-30 19:21:35 -07:00
snipe
4eee7f8d97
Added address for users - fixes #4323
2017-10-30 18:57:00 -07:00
snipe
0fd0e3a8b4
Returns null for order number if it’s blank
2017-10-28 15:53:22 -07:00
snipe
9687a78981
Fixed a few inconsistencies in the API results (null vs empty string)
2017-10-28 15:17:36 -07:00
snipe
39c68214e9
More ajax menu fixes
2017-10-28 11:17:52 -07:00
snipe
6a3716a06d
Added new ajax dropdown menus for components, consumables, etc editing/creating
2017-10-28 09:21:39 -07:00
snipe
2172e6cc25
Added suppliers ajax list
2017-10-28 08:37:47 -07:00
snipe
108ac79442
Added update to asset location id on checkout/checkin
2017-10-28 07:38:36 -07:00
snipe
bd48ae96c2
Update location on checkin if one is given
2017-10-28 07:28:35 -07:00
snipe
03f6211582
Make notes null if empty
2017-10-28 07:01:06 -07:00
snipe
4f1747023a
Seed with demo images
2017-10-28 05:46:43 -07:00
snipe
5278dac2b0
Eager loading assignedTo - I have no idea why this works
2017-10-28 03:50:02 -07:00
snipe
890012f6c4
Update references to assetloc to location
2017-10-28 02:58:38 -07:00
snipe
3991f79115
Use new location method for hardware view
2017-10-28 02:37:59 -07:00
snipe
df430a2263
Removed assignedTo eager load for now - it’s not working
2017-10-28 02:31:36 -07:00
snipe
277e49468b
Added deleted at to API
2017-10-28 02:31:13 -07:00
snipe
d76f858dcd
Try eager loading assignedTo
2017-10-28 01:50:58 -07:00
snipe
7a543fa6d5
Use new location method on asset API
2017-10-28 01:49:13 -07:00
snipe
f49ecbdb61
Code cleanup
2017-10-27 18:01:42 -07:00
snipe
b1ac024725
Refined upload code
2017-10-27 17:40:10 -07:00
snipe
ec68bd7842
Small refactoring for code quality
2017-10-27 17:38:11 -07:00
snipe
0788347990
Cleaned up status label method
2017-10-26 22:49:57 -07:00
snipe
7496a902bd
Removed unused getDataView controller method
...
This is all API based now
2017-10-26 22:39:41 -07:00
snipe
f2d04be8fe
Remove unused methods in Settings API controller (for now)
2017-10-26 22:35:01 -07:00
snipe
f2499fc7d2
Removed else condition on custom fields API for code quality
2017-10-26 22:33:40 -07:00
snipe
00d910ddbc
Added manufacturers and categories select lists
2017-10-26 22:09:08 -07:00
snipe
a99e09e5e3
Removed extra with() calls, since we load those up via the select2 lists now
2017-10-26 21:50:27 -07:00
snipe
7d11cb0748
Added selectlist transformer for select2 API calls
2017-10-26 21:50:01 -07:00
snipe
bdb95e4e3d
Added companies ajax select2 endpoint
2017-10-26 16:37:41 -07:00
snipe
ea07517ad5
Added more ajax select2 boxes to checkouts, remove helper ->with() methods
2017-10-26 03:43:28 -07:00
snipe
82690e1fd7
Integrate ajax select2 menus in all asset checkouts
2017-10-26 02:28:17 -07:00
snipe
75b527ab59
Features/image uploads ( #4320 )
...
* 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
2017-10-25 22:35:58 -07:00
snipe
b083541723
Fixed docblock copypasta
2017-10-25 20:23:59 -07:00
snipe
0d34cc704a
Added controller for state-saver for sidenav
2017-10-25 20:10:59 -07:00
snipe
17d58d9cc5
Added snazzy rich user selection menu
...
TODO:
- Abstract this out so it can be used by other select2 menus
- Write a select2 transformer to standardize output
2017-10-24 19:24:35 -07:00
snipe
e0fe383815
Removed debug message in SaveUserRequest
2017-10-24 19:18:53 -07:00
snipe
7140efc561
Use the transformers, Luke
2017-10-24 19:18:20 -07:00
snipe
99be54fd96
Fixed success message on saving new user
2017-10-24 19:17:30 -07:00
snipe
8a9960f830
Fixed missing break that would override password requirement
2017-10-24 16:56:46 -07:00
snipe
dc805dd9b1
Added user avatars to listing
2017-10-24 09:51:07 -07:00