snipe
557714e7b7
Fixed #2810 - checkin fix for licenses
2017-12-08 13:19:10 -08:00
snipe
a062769672
Check for array key before checking selected state
...
This is necessary for pre-created groups that don’t have all keys present
2017-12-07 13:21:30 -08:00
snipe
023910472c
Fixes #2415 - only allow gif, png jpg, svg image uploads
2017-12-06 14:33:52 -08:00
snipe
dfb0c09c51
Fixed #4581 - renamed print method
2017-12-06 11:17:42 -08:00
snipe
3d0525bc51
Removed debugging info
2017-12-05 18:11:59 -08:00
snipe
808cd0f728
Nicer groups permission edit UI
2017-12-05 18:11:06 -08:00
snipe
f5b3df697c
Better select/unselect all javascript for permissions
2017-12-05 18:10:35 -08:00
snipe
ec131a7416
Updated account licenses
2017-12-05 16:27:02 -08:00
snipe
3da49ceb60
Standardize hidden key format
2017-12-05 16:26:39 -08:00
snipe
60f6895919
Remove version from asset table to persist column selections
2017-12-05 14:50:38 -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
174e3e720a
Fixed #4521 - profile location not selected
...
This is kind of a janky way to handle this - I created a new dropdown select, instead of adding even more convoluted code to the partial. The reasoon for this is because there may be situations where $user is passed in *addition* to $item, and we don’t want to erroneously use that location if we’re not supposed to be.
2017-12-04 20:30:57 -08:00
snipe
fdaa279930
Fixed #4548 - add cateory to model dropdown
2017-12-04 20:19:30 -08:00
snipe
a4323a0308
Fixed #4559 - min width for checkin/checkout buttons
2017-12-04 19:57:15 -08:00
snipe
912ee20f3c
Better supplier/location flow for suppliers/locations without data
2017-12-01 21:58:00 -08:00
snipe
f2d25ff777
Added device image to supplier
2017-12-01 21:06:36 -08:00
snipe
dec9d959db
Added additional user/asset fields to location view
2017-12-01 21:06:16 -08:00
snipe
c6b02cdc02
Location layout tweaks
2017-12-01 20:35:15 -08:00
snipe
f0c825a9b3
Improved suppliers view (use ajax tables)
2017-12-01 20:29:51 -08:00
snipe
79c035da11
Added map alt tag
2017-12-01 20:29:04 -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
22c4d79cfb
Fixed #4345 - Disallow future date for checkin date, disallow past date for expected checkin
2017-12-01 17:52:56 -08:00
snipe
71b9a15c9c
Moved User menu down
2017-12-01 17:50:01 -08:00
snipe
db328e1ce5
Fixed granular hash resetting cookie
2017-12-01 17:49:44 -08:00
snipe
a5bcf53146
Pass $required variable to display requiredness
2017-12-01 16:51:22 -08:00
snipe
9f97b4aefd
Added created_at status, and manufacturer filter to custom report
2017-12-01 16:50:56 -08:00
snipe
62468199af
Wider column for checkboxes
2017-12-01 16:50:16 -08:00
snipe
c220315cb0
Check if item is set before trying to look up selected
2017-12-01 16:49:51 -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
500f6d7baf
Set requiredness of select2 ajax fields
2017-12-01 14:36:27 -08:00
snipe
ee9a229c0e
Added datepicker range CSS
2017-12-01 14:26:01 -08:00
snipe
e9fdf06bf6
Improved display of asset status and meta status
2017-11-30 16:40:37 -08:00
snipe
0a5b72e71e
Fixed #4517 - order number not visible if no purchase cost given on asset view
2017-11-30 16:39:59 -08:00
snipe
ece8ae3adc
Fixed #4542 and #4482 - default asset location not updating on biulk edit
2017-11-30 13:31:46 -08:00
snipe
92afd5f232
Removed debugging console code
2017-11-30 11:48:59 -08:00
snipe
cdfd720c65
Fixed custom fields edit behavior with cutom format always selected
2017-11-27 22:10:46 -08:00
snipe
d8f404096c
Added spacing in js
2017-11-27 21:20:31 -08:00
snipe
31a967e072
Use general order_number string to mean order number
2017-11-27 21:16:51 -08:00
snipe
0b56ebf291
Fixed radio button selector to provide correct default value in checkout
2017-11-27 21:16:25 -08:00
snipe
77076e02e8
Fixed - mark supplier as requried in maintenance
2017-11-22 15:22:44 -08:00
snipe
c6a761a5ad
Fixed - supplier is not required on asset creation/edit
2017-11-22 15:20:46 -08:00
snipe
980be65193
Added ability to turn items on/off in checkout-selector
2017-11-22 07:07:18 -08:00
snipe
964c594c4c
Added ItemFormatter for acrtivity report
2017-11-22 06:21:06 -08:00
snipe
9430c4bf43
Added sanity checks in BS tables formatter
2017-11-22 06:20:51 -08:00
snipe
538757317b
Fixed #4411 - broken activity report if purge didn’t remove relationship entries
2017-11-22 06:20:28 -08:00
snipe
d98d06377e
Fixed #4098 - autolink URL and email addresses in listing
2017-11-21 22:34:53 -08:00
snipe
8711bc0dbd
Added comments for toggle checkout-to JS
2017-11-21 20:55:57 -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
f4aa812d96
Changed twitter handle to @snipeitapp
2017-11-21 19:02:15 -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
faab971931
Improved - removed 500 pixel width on 2FA dropdown
2017-11-16 11:09:42 -08:00
snipe
38eb16dfea
Fixed #4408 - requestable assets not working
2017-11-16 11:09:24 -08:00
snipe
876dde1280
Fixed #4428 - updated translations
2017-11-15 15:31:34 -08:00
snipe
edcd3afc3e
Fixes #4457 - use un-escaped CSS for custom CSS styles
...
We are already escaping the CSS in the show_custom_css() method
2017-11-15 14:27:21 -08:00
snipe
0396267388
Fixed #4412 - use select2 ajax list for asset maintenances
2017-11-12 17:22:16 -08:00
snipe
65bd33c274
Make sure the user isn’t deleted before trying to display the name
2017-11-09 14:42:03 -08:00
snipe
566fd4d2e1
Only format purchase date if one exists
2017-11-09 11:06:37 -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
65353fa422
Nicer styling for purchase cost in edit form
...
Made it more consistent with the warranty months foeld below it
2017-11-08 18:06:51 -08:00
snipe
4f4920615c
Format expected checkin as Y-m-d in form
2017-11-08 18:06:14 -08:00
snipe
ffae537400
Check that the models are valid being trying to return a value in the ajax partials
2017-11-08 17:07:57 -08:00
snipe
5ce7882bf5
Merge branch 'develop' of github.com:snipe/snipe-it into develop
2017-11-08 17:01:50 -08:00
snipe
b36594f508
Check that the company is valid in select ajax
2017-11-08 17:01:46 -08:00
madd15
59c9c22a59
Small UI Changes ( #4404 )
...
* Small ui change to settings nav
* Remove min-height
Removed min-height from Assets by Status
* Add min-height to box-body
2017-11-08 13:12:03 -08:00
snipe
b567ffdcfe
Fixed #2855 - checkin for components
2017-11-08 06:06:05 -08:00
snipe
9d44607b8f
Added UI fade out when bootstrap alerts are dismissed
2017-11-08 03:13:18 -08:00
snipe
35ee52212f
Added ability to disable the alert icon in the top menu
2017-11-08 03:08:17 -08:00
snipe
6c130ce8ac
Apply patch #4354
2017-11-08 02:46:33 -08:00
snipe
fb6a545cc6
Slightly nicer styling
2017-11-08 02:11:33 -08:00
snipe
e5c1e41966
Nicer icheck for user menu
2017-11-08 01:52:35 -08:00
snipe
61617a2629
Slightly less fugly groups permission styling
2017-11-08 01:19:20 -08:00
snipe
d1022e8ff7
Fixed #4390 - results couldn’t be loaded error
...
The baseUrl in the javascript routes is already appending a trailing slash, so don’t prepend a slash in front of api call
2017-11-08 00:57:43 -08:00
snipe
cceeb5c8a2
Disable Fastclick - conflicts with Select2, per #4392
2017-11-06 21:16:20 -08:00
snipe
0589652edb
Fixed #4392 - select2 + fastclick incompatibility
...
This is a workaround fix - should upgrade both to latest after testing extensively
2017-11-06 17:17:48 -08:00
snipe
b96d4dcf1f
Don’t show ANY in custom regex field if empty
2017-11-06 16:43:27 -08:00
snipe
8e17714c12
Fixed #4384 - bulk checkout of assets
2017-11-06 12:19:22 -08:00
snipe
32fc052c3b
Fixed #4391 - companies now listing correct assets
2017-11-06 12:01:54 -08:00
snipe
8572a9771b
Only return location name if find is valid
2017-11-06 10:55:20 -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
adf6afbb43
Moved delay back to 250 on ajax menus
2017-11-04 00:48:54 -07:00
snipe
97ea68b15c
Updated translations
2017-11-04 00:45:50 -07:00
snipe
d59dd0f636
Reduced rate limit from 250 to 100
2017-11-04 00:20:00 -07:00
snipe
d68d95a915
Fixed - Added a “clear selection” option to select2 ajax lists
2017-11-04 00:19:16 -07:00
snipe
15d4344efb
Comments in the JS
2017-11-04 00:15:23 -07:00
snipe
88dff754b1
Fixed swapped asset total headings
2017-11-03 20:10:16 -07:00
snipe
279ad6d80a
Updasted fieldname in locations table
2017-11-03 19:40:04 -07:00
snipe
b3b8ab493e
Switch to the reply_to address
2017-11-03 14:58:49 -07:00
snipe
733921f1f9
Added optional required parameter
2017-11-03 12:17:41 -07:00
snipe
1659c3f1a6
Fixed inconsistent color type on checkin/checkout
2017-11-02 20:42:07 -07:00
snipe
caa8ec3178
Fixed checkout on license view page
2017-11-02 20:23:17 -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
0a5e4b9b7b
Fixed inconsistent required field indicator
2017-11-02 17:13:06 -07:00
snipe
d21c92f91b
Changed assetloc to location
2017-11-02 12:50:34 -07:00
snipe
28a4293a0b
Fixed #4370 - user’s listing flashing then no results
2017-11-02 11:19:34 -07:00
snipe
27875c2dac
Improved to use trans() facade instead of lang
2017-11-02 10:27:53 -07:00
snipe
fd74e4308b
Don’t show request if the user or the asset/model has been deleted
2017-11-02 08:11:04 -07:00
snipe
48207fc695
Added model number in box header
2017-11-02 04:36:04 -07:00
snipe
3dae464c34
Added nicer formatting for model details
2017-11-02 04:33:53 -07:00
snipe
0c524e0830
Use model image if it’s a requestable model
2017-11-02 04:29:05 -07:00
snipe
a844d5b018
Added pagination, nicer formatting for requested assets
2017-11-02 04:17:14 -07:00
snipe
a9e5ad0df1
Added link to requested assets in sidenav
2017-11-02 03:12:12 -07:00
snipe
81ca0ac91d
Added better styling for user upload
2017-11-01 23:46:21 -07:00
snipe
3ca5d39c66
Hide upload button if app is locked
2017-11-01 23:44:31 -07:00
snipe
379274deff
Check for multiple variable (for bulk checkout)
2017-10-31 04:48:40 -07:00
snipe
dbf5fec7b0
Fixed language string
2017-10-31 04:48:09 -07:00
snipe
4bb546a882
Pull assigned asets preview into its own blade for re-use
2017-10-31 04:47:59 -07:00
snipe
e44e573a3c
Fixed requestable assets reference to assetloc
2017-10-30 19:40:35 -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
3b498efee1
Fixes indefined item in user select blade
2017-10-28 15:42:55 -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
95b6e0d2d8
Fixed assetloc to location
2017-10-28 08:40:27 -07:00
snipe
5d890fb139
Added more defaults for selected values
2017-10-28 08:38:19 -07:00
snipe
2172e6cc25
Added suppliers ajax list
2017-10-28 08:37:47 -07:00
snipe
04130a568c
Fixes check for help_text
2017-10-28 07:41:13 -07:00
snipe
3d7fd5cf04
Fixed references to assetLoc in hardware view
2017-10-28 07:29:32 -07:00
snipe
5737de2e22
Added help text to location partial
2017-10-28 07:29:14 -07:00
snipe
1e21cef218
Set max page size to 500
2017-10-28 07:29:03 -07:00
snipe
ad7a2da9bd
Add help text that explains location override
2017-10-28 07:28:49 -07:00
snipe
0f5e0dcd4f
Added nobr for nicer formatting of bs tables status and deployed to
2017-10-28 07:12:47 -07:00
snipe
1399ebb133
Nicer formatting on 503
2017-10-28 07:01:45 -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
c616041876
Use form selector
2017-10-28 01:51:10 -07:00
snipe
cfd1925625
Nicer display of notifications on checkout
2017-10-28 01:00:26 -07:00
Daniel Meltzer
3cea12565b
Add missing policies ( #4330 )
...
* Add Authorizable trait and interface to our user model so we have access to User::can/User::cant. We should take a look at where else our user model has diverged from Larvel since it was created...
* Policy cleanup/fixes.
This commit adds policies for the missing backend/"settings" areas. The
permissions were implemented a while back but the policies did not, so
authorizing actions was failing.
In addition, this condenses a lot of code in the policies into base
classes. Most of the files were identical except for table names, so we
move all of the checks into a base class and override the table name in
each policy.
* Use a better name and permission for the check in the default layout.
2017-10-27 18:01:11 -07:00
snipe
00d910ddbc
Added manufacturers and categories select lists
2017-10-26 22:09:08 -07:00
snipe
f13836eb55
Use select2 partials
2017-10-26 21:52:00 -07:00
snipe
76c4c19b3e
Fixed small issues with select2 partials
2017-10-26 21:51:53 -07:00
snipe
1d212b59bd
Added model select2 partial
2017-10-26 21:51:27 -07:00
snipe
9c29ee9c6d
Fixed datepicker in asset checkout
2017-10-26 19:51:29 -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
4f80eac467
Prod assets
2017-10-25 20:15:34 -07:00
snipe
d4bb4d2edd
Added state-save for open/cloed sidenav
2017-10-25 20:10:41 -07:00
snipe
d008334f2d
Fixed #2857 - better CSS for requestable assets page when no results
2017-10-25 20:07:10 -07:00
snipe
7dad71d2b6
Fixed smaller button for import/cancel
2017-10-25 18:14:22 -07:00
snipe
db5968f95a
Fixed larger button size
2017-10-25 18:13:55 -07:00
snipe
d97a1edeb4
Moved style sheet call back into page content
2017-10-25 18:13:41 -07:00
snipe
3dd39a46be
Fixed large font size on importer
2017-10-25 18:13:21 -07:00
snipe
dc9a908de7
Fixing laravel mix() fuckery, hopefully for the last time
2017-10-25 18:13:03 -07:00
snipe
687cf44d3d
Use inline style for logo
2017-10-25 16:15:50 -07:00
snipe
32478f1a10
Fixed #4310 - logo not scaling correctly without text
2017-10-25 15:47:06 -07:00
snipe
0b7864b09c
Fixed model number not saving in modal
2017-10-25 13:17:35 -07:00
snipe
ede16eec3c
Fixed #4308 - checkin and delete from user page
2017-10-25 11:11:32 -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
c605984db0
Added nicer table formatting for “assets checked out to this user” table
2017-10-24 19:21:53 -07:00
snipe
d678a0ebff
Switched to using JS routes for better subdirectory support, removed debugging console logs
2017-10-24 19:20:00 -07:00
snipe
680ad676ca
Remove debugging
2017-10-24 17:10:42 -07:00
snipe
4628c15813
Fixed typo in comments
2017-10-24 16:57:04 -07:00
snipe
8d68bb7a57
Sticky headers for bootstrap tables
2017-10-24 05:22:26 -07:00
snipe
17b271918f
Fix date picker for custom fields
2017-10-23 19:47:43 -07:00
snipe
c0f8b3773c
Temp fix for markdown stuff
2017-10-20 20:22:14 -07:00
snipe
fd210c6439
Fixes #4267 - email notifications showing model name as number
2017-10-20 18:58:11 -07:00
snipe
f7e23cf7c8
Fixes #4272 - adds serial to assigned assets view
2017-10-20 18:51:14 -07:00
snipe
b215924b1a
Merge branch 'develop' of github.com:snipe/snipe-it into develop
2017-10-20 17:18:13 -07:00
snipe
341ddec9d8
Adds built-in mail notification vendor templates
2017-10-20 16:52:12 -07:00
Nicolai Essig
abcce78944
use translation for "All" in sidebar menu ( #4268 )
2017-10-20 00:20:33 -07:00
snipe
c1f8db37d9
Added note about saving before testing LDAP
2017-10-19 16:35:59 -07:00
snipe
4215a3257b
Fixes #1044 - adds suppliers and image to accessories ( #4266 )
...
* 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
2017-10-19 16:25:24 -07:00
snipe
2fc46746e2
Adds translation string placeholders for new LDAP functionality
2017-10-19 12:22:54 -07:00
snipe
e185dc68af
Fixes #4240 - allows admins to use custom password reset URL
2017-10-19 12:22:27 -07:00
snipe
287b150b7f
Show disabled delete button if thing can’t be deleted
2017-10-19 11:29:58 -07:00
snipe
b379656d55
Adds more consistent visual display of status label types
2017-10-19 11:06:55 -07:00
snipe
2e11a983c8
Nicer card display of status type explanations
2017-10-19 10:52:30 -07:00
snipe
a9753eb646
Include asset count in status labels overview
2017-10-19 10:48:15 -07:00
snipe
7153013fb0
Fake sending the test email if the app is in demo mode
2017-10-19 08:33:46 -07:00
snipe
2b826c3adc
Merge branch 'features/mail_test_button' into develop
2017-10-19 08:19:24 -07:00
snipe
cd193ce8bb
Fixes #4036 - adds test email button to general settings
2017-10-19 08:18:56 -07:00
snipe
cb50142ba3
Update @thakilla as a contributor
2017-10-19 06:16:03 -07:00
Robin Temme
068308ef56
Change changepassword menu icon to fixed width ( #4262 )
2017-10-19 06:04:02 -07:00
Nicolai Essig
1e65c7bf9a
load custom css also on login page ( #4260 )
2017-10-19 06:01:41 -07:00
snipe
44c649c3c8
Fixes #4256 - double encoding on user bulk checkin and delete blade
2017-10-19 03:17:55 -07:00
snipe
2b803a6a6c
Fixes #4257 - use admin url when editing groups
2017-10-19 02:22:05 -07:00
snipe
9c06912efd
Small tweaks to prevent Chrome autofill
2017-10-19 01:59:13 -07:00
snipe
c5893b4445
Fixes #4249 - display deployed location in listing
2017-10-19 01:30:40 -07:00
snipe
fe9a90854d
Adds d.m.Y as date format, per #2423
2017-10-18 10:30:25 -07:00
snipe
68f6385eba
Fixes 500 in bulk checkout if no asset is selected
2017-10-18 07:15:16 -07:00
snipe
bd376a4992
Possible fix for #4227
2017-10-18 07:02:18 -07:00
snipe
5cd2857d5d
Use footer sumformatter for cost totals
2017-10-18 06:24:36 -07:00
snipe
585fcfb7d4
Use maintenances report API to populate the maintenances report
2017-10-18 05:47:47 -07:00
snipe
d9135a8aac
Disallow deleting suppliers with associated assets, licenses or maintenances
2017-10-18 05:47:20 -07:00
snipe
ed4aa7dec2
Account for deleted suppliers in asset maintenances report
...
This should all be reworked via the API though anyway
2017-10-18 04:48:52 -07:00
snipe
34442362ca
Fixes bad route for new groups
2017-10-18 02:35:30 -07:00
snipe
b80d3ce50d
Hopefully fixes #4218
2017-10-18 00:36:52 -07:00
snipe
c069829b33
Fixes #906 - groups view
2017-10-17 21:43:57 -07:00
Geoff Young
665a113ed8
Update account history query ( #4237 )
...
This will limit the action_log records displayed when a user is viewing
their own assets and history since both target_type and target_id must
be set for a where condition to be added to the history query.
2017-10-17 20:39:49 -07:00
snipe
c01850fc73
Corrected Italian to Irish in language selector
2017-10-17 19:19:46 -07:00
snipe
c776fa4f7b
Updated language strings
2017-10-17 18:52:20 -07:00
snipe
dc91d10395
More possible fixes for #4210
2017-10-17 17:35:48 -07:00
snipe
668a88bc86
Add autocomplete=off to settings forms for #4210
2017-10-17 17:18:17 -07:00
snipe
160fd1c86a
Added setting to let admin decide whether footer text should link back to site
2017-10-17 13:54:03 -07:00
snipe
b46cbac911
Fixes #4230 - adds model name and manufacturer to emails
2017-10-17 13:30:32 -07:00
snipe
9e9a5b7a53
Changed checkin/checkout buttons to different colors for easier visibility
2017-10-17 11:32:09 -07:00
snipe
e7fe91c9d4
Depreciation view
2017-10-17 11:20:05 -07:00
snipe
02db0f9f9d
Handle deleted assets in maintenance
2017-10-16 21:28:05 -07:00
snipe
e0668b7507
Handle references to suppliers that have been deleted
2017-10-16 21:19:06 -07:00
snipe
9cc25bcfd0
Hopefully fixes #4150
2017-10-16 20:34:22 -07:00
snipe
7455b1019a
Hacky possible fix for subdir issues
2017-10-16 20:12:11 -07:00
snipe
f64382aa00
Nicer error display in LDAP tests
2017-10-16 10:10:11 -07:00
snipe
c61bed52c8
Removed danger class
2017-10-16 09:38:09 -07:00
snipe
aeb5152789
Removed extranneous class for danger text
2017-10-16 09:04:38 -07:00
snipe
45c2af80a3
More LDAP testing US refinements
2017-10-16 09:00:51 -07:00
snipe
1fbf3753bc
More small LDAP test improvements
2017-10-16 07:07:21 -07:00
snipe
b107280b7b
Slightly nicer UI for LDAP login test
2017-10-16 06:39:36 -07:00
snipe
f1a6926ad9
LDAP test login
2017-10-16 06:34:04 -07:00
snipe
59a126c47c
Small tweaks to LDAP test
2017-10-16 05:52:18 -07:00
snipe
a98d94ccdc
Pass token to LDAPtest
2017-10-16 05:22:37 -07:00
snipe
c0b39701cc
Fixes #4170 - asset maintenance type not showing
2017-10-14 16:17:14 -07:00
madd15
e2bac62e36
Fix #4205 ( #4213 )
...
* Fixing various UI items
* Revert css change
* Dashboard icon CSS up 4px
2017-10-14 00:14:22 -07:00
snipe
6d4574130f
Clearer indication of whether or not the user will be emailed a eula
2017-10-11 14:44:25 -07:00
madd15
4ee7765403
Change Save buttons to Checkout and add Cancel ( #4202 )
...
Bringing components and consumables checkout page inline with other
checkout pages
2017-10-11 13:29:22 -07:00
Richard Schwab
059f8f5bc9
Remove dead macro code ( #4164 )
...
The barcode_types macro existed twice in the code, the second occurrence overriding the first one.
This commit removes the first occurrence which is essentially dead code.
2017-10-09 13:06:05 -07:00
Daniel Meltzer
e9f10dd74e
Maybe Fix #4052 . Missed an absolute URL. ( #4187 )
2017-10-09 13:04:38 -07:00
snipe
d7c9fcc8df
Small manufacturer display tweaks on license view to make text clearer, link phone
2017-10-07 08:27:56 -07:00
snipe
11f99a963a
Removed extra comma in demo warning
2017-10-07 08:03:08 -07:00
snipe
f858b2858d
Add language about the demo resetting daily to en files
2017-10-07 07:59:57 -07:00
snipe
907b909223
Fixed language on settings page
2017-10-07 07:44:08 -07:00
snipe
ed8efbe759
Add dateFormatter to components view
2017-10-07 06:57:02 -07:00
snipe
df4cb7d351
Don’t reload the page if the API returns a 500
2017-10-06 18:15:13 -07:00
Richard Hofman
f2be409914
LDAP sync improvements and DB query fix. ( #4148 )
...
* Set 'ldap_ou' Location field to NULL when an empty string is submitted.
* Consolidate LDAP user import logic in LdapSync.php.
2017-10-06 16:15:14 -07:00
snipe
a054cec7c9
Supress output if no title is given
...
This should never happen, but….
2017-10-05 22:51:33 -07:00
madd15
7b10213b3a
Small UI Tweaks to Accessories ( #4149 )
...
* Small UI Change
Changing Save button for Checkout button and adding Cancel button
* Small UI Change
Move buttons to match checkout page and remove extra save button
2017-10-04 23:28:13 -07:00
snipe
eaf55f5e79
Hide table toolbar id models are deleted
2017-10-03 18:12:30 -07:00
snipe
32b01b8f38
Toggle button deleted/not for models
2017-10-03 18:06:41 -07:00
snipe
6dd4282f1f
Fixes #4130 - show deleted asset models
2017-10-03 17:53:08 -07:00
snipe
3f44987799
Small logo size tweaks
2017-10-03 14:15:03 -07:00
snipe
b4fec068d0
Use asset url for favicon on login blade
2017-10-03 13:44:50 -07:00
snipe
fcb1283a14
Added missing deployed page title
2017-10-03 12:49:53 -07:00
snipe
c8bed867da
Export PDF as landscape
2017-10-03 07:32:18 -07:00
snipe
aab635154a
Default to turning CSP off until we can fix vue/CSP issues
2017-10-02 13:29:14 -07:00
Geoff Young
169dc779fd
Fix box title in Label settings view ( #4111 )
2017-10-02 13:00:32 -07:00
snipe
d28e882f5d
Fixed form close tag
2017-10-02 12:57:01 -07:00
snipe
e26d038589
Fixed license checkin form UI
2017-10-01 15:08:32 -07:00
Daniel Meltzer
a2453be573
Pass urls to passport vue components to make work in subdirectories. ( #4090 )
2017-10-01 13:59:07 -07:00
Daniel Meltzer
c2616412c0
Add laravel routes to javascript ( #4092 )
...
* Add laravel routes to javascript
This will clean up a lot of passing of urls. Adds a route() helper and
everything...
This commit also moves the customfield fetching to only be fetched once
and shared with each file, rather than once for each file.
* Try to fix travis unit test things.
* Downgrade doctrine/inflector for php5
* Attempt to occasional seeder issues on travis if the asset does not generate validatable data.
* Update sql dump for functional tests.
* Try to fix api tests.
2017-10-01 12:59:55 -07:00
Daniel Meltzer
23ca2d9a0b
Minor fixes ( #4091 )
...
* Fix old urls.
Still had some /admin/ urls floating around, which was causing bad
redirects in some instances. Should fix #4085
* The modal seems to be confusing license upload. be more explicit in the route we redirect to.
* Fix #4039 . Use proper methods for location assets.
This also fixes a bunch of n+1 issues in the transformer. Also: curious
to know what Location::assets() does, because it doesn't do what I want
it to :)
2017-10-01 12:57:04 -07:00
snipe
7d5b08446a
Missing colon in status explanations
2017-09-29 17:52:43 -07:00
Daniel Meltzer
655ca78633
Adjust the import controller to return a url to the process path to enable processing an uploaded file without refresh. ( #4080 )
2017-09-29 17:49:35 -07:00
snipe
24cad588bd
Added preceding icons in polymorphic formatter
2017-09-29 17:32:16 -07:00
snipe
fe644c76c5
Better explanations of how status label metas work
2017-09-29 17:03:21 -07:00
snipe
43ff66e4d9
More UI tweaking for meta statuses
2017-09-29 15:24:33 -07:00
snipe
2ea91266c0
Init lightbox
2017-09-29 14:26:00 -07:00
snipe
5223ec1dbb
Clearer status listing in the sidenav
2017-09-29 12:13:15 -07:00
snipe
fe1975067a
Hopefully clearer status label meta info
2017-09-29 12:03:02 -07:00
snipe
b9e79c27a8
Added nonce to basic blade
2017-09-29 05:49:26 -07:00
snipe
b8ed6a53b6
For #3998 - Added nonce to all.js
2017-09-29 04:53:24 -07:00
snipe
9ce2d1f560
Merge branch 'csp-middleware' into develop
2017-09-29 04:14:33 -07:00
snipe
7fe2a1f802
Fixes #4051 - use delete method for deleting user files
2017-09-29 01:48:16 -07:00
snipe
aab409dec2
Fixes #4061 - bulk checkout error
2017-09-28 22:22:21 -07:00
snipe
42c2a66946
Small UI tweaks for accessories
2017-09-28 21:18:16 -07:00
snipe
4d32f2b337
Fixes #4059 - accessories view
2017-09-28 21:18:00 -07:00
snipe
46d87849f4
Added content security middleware
2017-09-28 19:45:15 -07:00
snipe
507f1f196c
Added integrity hashes
2017-09-28 18:46:16 -07:00
snipe
adac5ac544
Check for valid asset
2017-09-28 17:32:37 -07:00
snipe
915c19ebda
Merge branch 'develop' of github.com:snipe/snipe-it into develop
2017-09-28 16:03:41 -07:00
snipe
7fded367c4
Adds rel="noopener" to footer links
2017-09-28 16:03:36 -07:00
Daniel Meltzer
0a4743210c
Pass urls to vue. Should fix subdirectory issues. ( #4054 )
2017-09-28 16:03:04 -07:00
snipe
3d7277398c
Fixes #4057 - sig file in lightbox
2017-09-28 15:13:05 -07:00
snipe
979ecf961d
Added back button to oauth page
2017-09-27 16:33:51 -07:00
snipe
13dcdf41b8
Fixes #4045 - missing back button
2017-09-27 16:32:37 -07:00
snipe
d844734b6c
Use named login route
2017-09-27 16:22:02 -07:00
snipe
d1112bbc99
Fix created_at date display for groups index
2017-09-27 15:28:02 -07:00
snipe
bd0498aa69
Fixes #4016 - signature file missing from history tab
2017-09-27 12:58:08 -07:00
gizzmojr
f2a62857cb
Clear audit input field ( #4010 )
2017-09-25 22:15:29 -07:00
snipe
f2ee7dcabb
Fixes #4001 - license checkout not working
2017-09-25 21:40:43 -07:00
snipe
0a0661bf41
Additional fixes for #3995 in atypical blades
2017-09-25 15:41:02 -07:00
snipe
6ee939d29b
Allegedly fixes #3995 - subdirectory issues with JS/CSS
2017-09-25 15:39:18 -07:00
snipe
34dfcb5add
Merge branch 'develop'
2017-09-22 17:23:38 -07:00
snipe
30019a144a
Disable login note editing on demo
2017-09-22 17:23:22 -07:00
snipe
3e222b674a
Merge branch 'develop'
...
# Conflicts:
# resources/views/hardware/view.blade.php
2017-09-22 17:04:43 -07:00
snipe
e316444c63
Show suppliers link - force cache break?
2017-09-22 17:03:57 -07:00
snipe
b29d7beb3a
Merge branch 'develop'
...
# Conflicts:
# .gitignore
# Dockerfile
# README.md
# app/Http/Controllers/AccessoriesController.php
# app/Http/Controllers/AssetMaintenancesController.php
# app/Http/Controllers/AssetsController.php
# app/Http/Controllers/ConsumablesController.php
# app/Http/Controllers/GroupsController.php
# app/Http/Controllers/LicensesController.php
# app/Http/Controllers/ReportsController.php
# app/Http/Controllers/UsersController.php
# app/Http/routes.php
# app/Models/Depreciation.php
# app/Models/Location.php
# config/version.php
# resources/views/account/view-assets.blade.php
# resources/views/hardware/edit.blade.php
# resources/views/hardware/view.blade.php
# resources/views/partials/modals.blade.php
# resources/views/reports/custom.blade.php
# snipeit.sh
2017-09-22 16:12:18 -07:00
snipe
626a6408d0
Additional Danish and Polish translations
2017-09-18 19:12:37 -07:00
Daniel Meltzer
922d6937ae
Custom field import repair ( #3968 )
...
* There is no notes field on accessories. Fixes Importer Test.
* Fix notification test. We should see a checkout not allowed exception when trying to check out to a location if the asset requires acceptance.
* Fix Custom field import.
Add a test for custom field import, and fix a few issues related to
importing custom fields. This will restore v3 functionality.
* Add UI support for mapping custom fields.
This still requires the field mappings to be created/assigned in
advance, but will fetch all custom field names and allow them to be
selected when setting up custom field mappings.
This commit also updates laravel-mix to v1.4.3 and other node
dependencies to fix some build issues.
* Fix some requestable asset page/assetloc issues. I'd love to know why laravel expections relationships to be in lower case... but thats a question for another day.
2017-09-18 12:29:08 -07:00
snipe
e7d72beb88
Also check for $snipeSettings in the first place
...
Since the preflight also uses this basic blade
2017-09-12 13:08:43 -07:00
snipe
01e3f4a4db
Use site name if provided in the settings table for basic template
2017-09-12 13:01:51 -07:00
snipe
81e358a01d
Small maintenance fixes
2017-09-08 17:49:01 -07:00
snipe
ae8c9d6afc
Updated translations
2017-09-06 18:05:32 -07:00
snipe
faeca4139d
Added new languages, commented out ones with 0% translated
2017-09-06 17:51:11 -07:00
snipe
47909b93f7
Fixed deleted users/restore users view
2017-09-06 17:11:43 -07:00
snipe
472658b2fe
Fixes #3924 - missing/donked language string
2017-09-06 17:11:23 -07:00
Daniel Meltzer
ae0573b3da
Fix asset create ( #3929 )
...
* Fix accidental commit of ImporterTest.
* Move the name() method to the presenter
This fixes some weird collisions between laravels voodoo and our
presenter voodoo that confused php. It's also probably a cleaner place
to put it. Should fix #3927
* Add missing parenthesis
* Add heading to tables on locations/view page.
2017-09-06 16:24:43 -07:00
Daniel Meltzer
987536930c
Assorted fixes ( #3923 )
...
* Fix some n+1 problems
* Use route in notification dropdown to make sure we link to correct page
* Work on better UI support for checkout to non-user. Fix links on index bootstrap table, work towards eliminating assignedUser
* Remove Asset::assigneduser() relationship. Instead add a checkedOutToUser() method and/or port to using assignedTo()
* Adjust string to fit new reality
* Fix #3780 . Move the consumables getDataView method to the ApiController. Not entirely RESTful, but it's a weird method that probably doesn't need its own controller and the functionality would be strange to stack on the userscontroller...
* Fix file uploads to assets and restore the delete route.
* Add asset maintence edit action to index.
* Suppliers asset list should link to the related asset, not to the supplier with same ID.
* Asset models page should use polymorphic formatter on assigned to to better handle assorted item types.
* Comment out more assigneduser fallacy until we figure out the query builder approach to searching for location text.
2017-09-05 17:54:58 -07:00
snipe
10f322198f
Move audited count to top of table
2017-08-31 21:31:07 -07:00
snipe
c92eed2b3e
Small HTML email tweaks
2017-08-31 21:17:02 -07:00
snipe
0054ce3071
Fixes #3907
2017-08-31 13:45:48 -07:00
Daniel Meltzer
bb874012d9
Progress towards better email notifications ( #3911 )
...
Working mail from notification. Still requires testing/cleaning
Add tests around checkout notification.
This also removes the ability to check out an asset to a location|asset
that requires acceptance/a Eula. For 4.1 we may think about how to
support such a thing, but at present it seems to make sense to only alow
such assets to be checked out to users, who can be responsible for the
items.
2017-08-31 11:14:21 -07:00
snipe
22233e3ba6
Bulk asset audit form (needs more testing)
2017-08-29 16:00:22 -07:00
snipe
42175782a5
Only pull logo if there is a value
2017-08-26 17:43:00 -07:00
snipe
d98ffd94f9
Localized modal titles with correct headers
2017-08-26 16:16:41 -07:00
Brady Wetherington
6ad5da44f3
Formalize modals ( #3898 )
...
* Refactor Modal JS into standalone file, remove duplicated JS and HTML
* Finish fixing Bulk-checkout and checkout
2017-08-26 16:06:52 -07:00
snipe
479f422e68
Added default if no audit settings are in place
2017-08-26 15:27:50 -07:00
snipe
fba3949530
Fixes #3888 - broken preview of existing assets
2017-08-26 15:21:10 -07:00