snipe
01cc00c832
Fixing webpack. Again
2017-06-06 01:39:53 -07:00
snipe
9338b37b74
Try to fix the datepicker :(
...
Webpack has fucked everything. I hate everything.
2017-06-06 00:51:41 -07:00
snipe
9cd2881ad0
Initiate datepicker
2017-06-06 00:29:52 -07:00
snipe
0238dd59a3
Fixes #3600 - wrong route for hardware
2017-06-01 20:34:01 -07:00
snipe
461ca53289
Fixes #3603 - Depreciation report crashes
2017-06-01 20:31:44 -07:00
snipe
ccc0063556
Fixes #3604 - company view not displaying assets on page load
2017-06-01 20:28:09 -07:00
snipe
cc5192c91e
Updated asset url
2017-05-31 13:57:23 -07:00
snipe
de5334e525
Updated with production assets
2017-05-31 13:27:17 -07:00
snipe
b797604627
Fixed &%#!@@!ing ES that prevented npm run production from working
2017-05-31 13:26:48 -07:00
snipe
66eaff739a
More npm/css/js updates
2017-05-31 12:34:05 -07:00
snipe
1992906790
Use laravel mix asset call
2017-05-31 09:41:52 -07:00
snipe
b0fc2489f6
Almost fixes user history table
...
Something is still fucky here
2017-05-31 09:39:52 -07:00
snipe
b13726880e
Fixes #3601 - HTML instead of username for manager in user view
2017-05-31 09:39:30 -07:00
snipe
748aba3c48
Add assets dashboard feature
...
- also a really broken sample graph
2017-05-31 05:23:54 -07:00
snipe
c9484fa30b
Updated compiled assets
2017-05-31 05:23:26 -07:00
snipe
d950ddbda7
Changed go button to primary class
2017-05-31 05:23:09 -07:00
snipe
fd0165b4b8
New compiled assets
2017-05-31 03:32:29 -07:00
snipe
fd0da6ecf0
Ignore the icon column in exports
2017-05-31 02:03:09 -07:00
snipe
92052442e3
Include department in user info
2017-05-31 01:17:30 -07:00
snipe
3c167c9d33
Remove debugging frowny-face
2017-05-23 15:06:43 -07:00
snipe
5e0cc93ba2
Use new formatters in bootstrap table
2017-05-23 14:33:19 -07:00
snipe
3724442318
Exclude some BS table calls if it’s just a simple ajax table with no sorting/searching
2017-05-23 14:32:58 -07:00
snipe
610a773620
Use activity report for view-assets
2017-05-23 14:32:21 -07:00
snipe
a1c7d2922e
Tweaks to dashboard API calls
2017-05-23 14:32:02 -07:00
snipe
76926c97c1
Updated dashboard to use new API activity report and added category summary
2017-05-23 09:25:45 -07:00
snipe
6775c39a5e
Added simple_view to use compact, no pagination view of tables
2017-05-23 09:25:20 -07:00
snipe
fba7f1ccf6
Fixes #3605 - missing table close tag causing page layout bonking
2017-05-23 03:20:50 -07:00
snipe
9d45375b8a
Added dept to user edit/create/bulk edit views
2017-05-23 02:51:09 -07:00
snipe
d3b07411da
Added depts to bootstrap-table javascript formatters
2017-05-23 02:50:51 -07:00
snipe
d17d3a2ef0
Dept views
2017-05-23 02:50:27 -07:00
snipe
dd8511c66a
Dept strings
2017-05-23 02:50:16 -07:00
snipe
b0479923b1
Add link to departments
2017-05-22 21:31:58 -07:00
snipe
b81dd18576
Fixed delete_at
2017-05-19 03:00:19 -07:00
snipe
dac4b58892
Show warning on deleted items
2017-05-19 02:58:55 -07:00
snipe
6f5fe83a91
Fixed missing language string in asset display
2017-05-18 22:20:43 -07:00
snipe
dcfc434075
Added suppliers back to new side menu (oops)
2017-05-15 20:55:53 -07:00
snipe
23be188a49
Fixes #3579
2017-05-15 19:28:26 -07:00
snipe
54a2c46101
Fixes #3491 - adds supplier info to assets listing
2017-04-22 19:14:28 -05:00
snipe
a7132fcdd7
Updated translation strings
2017-04-06 21:36:33 -07:00
snipe
7305169b79
Removed extra comments
2017-04-06 21:18:42 -07:00
snipe
c3cc2c924f
Updated route for asset display
2017-03-11 12:14:41 -08:00
snipe
70761b8157
Status label view
2017-03-11 12:14:19 -08:00
snipe
e475ccc1d4
Use new presenter for colum headers
2017-03-11 12:13:14 -08:00
snipe
542adfa926
Updated sidenav to use proper status labels
2017-03-11 12:12:10 -08:00
snipe
79197a719e
Fixes BS tables for items that don’t have a checkin
2017-03-11 12:11:24 -08:00
snipe
742e3d044e
API improvements
...
Components still need some work here
2017-03-11 10:05:50 -08:00
snipe
a4697f046e
Some model/manufacturer cleanup
2017-03-11 08:53:02 -08:00
snipe
9027bd1d9d
Added in/out to model view display
2017-03-11 08:01:22 -08:00
snipe
23b1a4ca34
Higher per page
2017-03-11 04:39:35 -08:00
snipe
875d0dd343
Added advanced search to assets
2017-03-11 04:26:01 -08:00
snipe
d799ab2a9c
Narrowed down the accessories, consumables, etc APIs for manufacturer filtering
2017-03-11 02:49:24 -08:00
snipe
c511073bc2
Fixes checkin/checkout for assets on manufacturers detail page
2017-03-11 02:03:13 -08:00
snipe
c132036f5c
Fixes #3311 - more fields for manufacturers
2017-03-10 22:08:59 -08:00
snipe
73f5457b1b
Fixed subnav permissions in Asset Menu for expanded permissions
2017-03-10 20:48:58 -08:00
snipe
f1fd152513
Fixes #3335 - added additional pagination at top of table
2017-03-10 20:35:03 -08:00
snipe
bf99534f8d
Merge branch 'develop' of github.com:snipe/snipe-it into develop
2017-03-10 20:07:49 -08:00
snipe
ad510cecd5
Fixes #2422 - Adds bulk edit for select user attributes
2017-03-10 20:07:44 -08:00
Karol
4af2a8eb35
Update user(view) for support multilanguage ( #3383 )
...
Update user(view) for support multilanguage. Added lang var. and strings
2017-03-10 16:58:29 -08:00
snipe
fee60ec8dc
Fixes #3145
2017-03-10 16:49:26 -08:00
snipe
8dfc44d4fd
Removed old unused files
2017-03-03 19:28:08 -08:00
snipe
69b014a342
Switch to URL
2017-03-03 19:07:57 -08:00
snipe
5d8faa934b
Fixed link in error pages
2017-03-03 19:06:34 -08:00
snipe
878f4f868d
Added date formatter to consumables
2017-03-03 19:04:54 -08:00
snipe
9af5600c69
Wordwrap in side nav so it doesn’t cut off
2017-03-03 18:50:05 -08:00
snipe
2e274b5f21
Fixed user upload route
2017-03-03 18:41:13 -08:00
snipe
97dd5a58fb
Removed space between time and AM/PM
2017-03-03 18:28:22 -08:00
snipe
51fccbdda4
Added last login to user menu
2017-03-03 18:28:13 -08:00
snipe
a9950392c4
Fixed weird sidenav breakage from smaller font size
2017-03-03 18:03:20 -08:00
snipe
b5424462c9
Moved non-superadmin settings into sidebar
2017-03-03 17:30:12 -08:00
snipe
dc38e575d9
Allow date/time formatting selection in settings
2017-03-03 17:29:41 -08:00
snipe
161bd7acce
Fixed double-encoding of ampersand
2017-03-03 17:17:51 -08:00
snipe
9ccaad8b9c
Added created_at and modified_at to asset listing/api
2017-02-23 16:23:02 -08:00
Andrea Bergamasco
e7f7d739ed
Bugfixes based on functional tests ( #3338 )
...
* Toggles the disabled state of auto_increment_prefix
To insert a prefix you had to toggle the checkbox, save the settings and reload. With this script it is immediate. Fixes #1390
* Delete asset image: made checkbox more visible
Related to #3153
* Added personal-access-token component
* Created basic API testing configuration
* First version of /components endpoind cest
* On-the-fly bearer token generation
* Completed testing of PATCH and PUT methods
* Added /components/{id}/assets route with tests
* Updated route and dataTable in view
* Completed test assertion
* Added links to assets in ComponentsAssets view
* Linked Company in AssetView page
* Bugfixes based on functional tests
* Removed unused function
* Marked tests as incomplete
* Added check for existence in groups/edit.blade.php
2017-02-22 22:49:19 -08:00
Daniel Meltzer
ad9470b6f8
Assorted fixed ( #3332 )
...
* Better error handling of failed file uploads. Also improve formatting of modal dialog
* Readd app.js to the js build, fixes collapsing sidebar
* Update JS
* Fix font size. We need to explicitly set the font size for the table because everywhere else that comes from bootstrap-tables
2017-02-22 22:49:06 -08:00
snipe
7cf42ecf9e
New side menu for “other stuff”?
...
Need to figure out what to call this
2017-02-22 22:21:17 -08:00
snipe
904be03ffd
Merge branch 'develop' of github.com:snipe/snipe-it into develop
2017-02-22 22:20:32 -08:00
snipe
ebbc2a60c3
Fix JS error when there is no row.update/delete defined
2017-02-21 15:40:25 -08:00
Andrea Bergamasco
fde46251de
Components Assets view + stubbed API tests ( #3325 )
...
* Toggles the disabled state of auto_increment_prefix
To insert a prefix you had to toggle the checkbox, save the settings and reload. With this script it is immediate. Fixes #1390
* Delete asset image: made checkbox more visible
Related to #3153
* Added personal-access-token component
* Created basic API testing configuration
* First version of /components endpoind cest
* On-the-fly bearer token generation
* Completed testing of PATCH and PUT methods
* Added /components/{id}/assets route with tests
* Updated route and dataTable in view
* Completed test assertion
* Added links to assets in ComponentsAssets view
* Linked Company in AssetView page
2017-02-21 14:26:46 -08:00
Andrea Bergamasco
4f73a13c6b
Hotfix/translate row delete msg ( #3305 )
...
* Toggles the disabled state of auto_increment_prefix
To insert a prefix you had to toggle the checkbox, save the settings and reload. With this script it is immediate. Fixes #1390
* Delete asset image: made checkbox more visible
Related to #3153
* Added missing translation to bootstrap table partial
The "Are you sure to delete" confirmation was hardcoded. Added translation row to all locales and other small corrections to it/general lang file.
2017-02-21 14:25:46 -08:00
snipe
8fe8ff71e8
Category improvements
2017-02-16 00:32:33 -08:00
snipe
a18e90c22a
Fix delete modals
2017-02-15 23:04:49 -08:00
Andrea Bergamasco
d9fe39c00e
Delete asset image: made checkbox more visible ( #3293 )
...
Related to #3153
2017-02-15 21:52:10 -08:00
Andrea Bergamasco
9975d55249
jQuery script to toggle the disabled state of auto_increment_prefix ( #3292 )
...
* Toggles the disabled state of auto_increment_prefix
To insert a prefix you had to toggle the checkbox, save the settings and reload. With this script it is immediate.
* Toggles the disabled state of auto_increment_prefix
To insert a prefix you had to toggle the checkbox, save the settings and reload. With this script it is immediate. Fixes #1390
2017-02-15 21:51:30 -08:00
snipe
c67b44b3d5
Moving license index to new API format
2017-02-10 18:43:30 -08:00
snipe
eb3767890e
Changed font size
...
This seems wrong - shouldn’t need to upload 10 files for a one-line CSS change
2017-02-10 18:42:38 -08:00
snipe
959fafe04b
Expanded checkin/checkout buttons formatter
2017-02-08 18:21:03 -08:00
snipe
86198badbb
Added more company_id filtering, more transformers
2017-02-08 08:48:41 -08:00
snipe
2986747fd7
Fixed sidenav status type filtering
2017-02-08 03:51:52 -08:00
snipe
dd6a477355
Merge branch 'develop' of github.com:snipe/snipe-it into develop
2017-02-06 18:49:13 -08:00
snipe
6d40a98a16
User assets presenter for column headers
2017-02-06 18:49:08 -08:00
Daniel Meltzer
79f3ca3074
Modify the jquery that fires select2 to prevent it being run twice on the importer vue select2 (which is created separately). ( #3276 )
2017-02-06 18:04:36 -08:00
snipe
1751a8c0e0
Switched to presented for ugly BS table column headers
2017-02-03 22:20:11 -08:00
snipe
d37b9fe169
Use hardrware listing for status labels detail link
2017-02-03 20:34:09 -08:00
snipe
8b0066cbad
Fixed user link formatter on models detail
2017-02-03 20:22:41 -08:00
snipe
98e0ecbd88
Added manufacturer sorting on models
2017-02-03 20:20:03 -08:00
snipe
2c0df6159f
Added formatting for Suppliers index
2017-02-03 20:19:54 -08:00
snipe
9cae6066a0
Added asset by manufacturer listing
2017-02-03 19:52:00 -08:00
snipe
78f2b30b31
Removed the plus icon from file uploader in vue
...
I cannot believe I have to check in 7 files just for this. Vue is garbage.
2017-02-03 19:35:07 -08:00
snipe
1e2a23e955
Use main assets API to pull view pages for assets listings
2017-02-03 19:34:24 -08:00
snipe
a69090c91c
Moved import to top level sidenav
2017-02-03 19:33:40 -08:00
snipe
85d5b75de6
Removed console debugging messages
2017-02-03 03:55:43 -08:00
snipe
cddd3cdb81
Added spinner icon to loading message
2017-02-03 03:54:38 -08:00
snipe
bb4c443cd9
Added notes to custom report
2017-02-03 02:20:56 -08:00
snipe
729b709de2
Include notes in custom asset report
2017-02-03 02:16:37 -08:00
snipe
cdb6349035
Updated JS
2017-02-03 01:45:41 -08:00
snipe
6c1a827ed0
Added warranty info to listing
2017-02-03 01:45:12 -08:00
snipe
f9bed9264f
Removed oops state if model has no fields
2017-02-02 19:11:10 -08:00
snipe
ca490fd129
Updated javascript
2017-02-02 19:00:42 -08:00
snipe
93719b2214
Merge branch 'develop' of github.com:snipe/snipe-it into develop
2017-02-02 18:55:29 -08:00
snipe
498dc9da43
Removed duplicate header
2017-02-02 18:54:31 -08:00
Brady Wetherington
7dbbe862ce
Tried to fix build environment/select2 ( #3262 )
2017-02-02 18:53:50 -08:00
snipe
b7d3b65bae
Merge branch 'develop' of github.com:snipe/snipe-it into develop
2017-02-02 17:12:55 -08:00
Daniel Meltzer
3c8910eeab
Add select2 to node for now. ( #3243 )
2017-02-02 17:07:26 -08:00
snipe
18e2db24bd
Updated groups index route name
2017-02-01 19:13:17 -08:00
snipe
f1a83bd007
Fixed bulk delete
2017-02-01 19:07:39 -08:00
snipe
12c5ca67ff
Pulled accidental debugging exit
2017-02-01 18:56:47 -08:00
snipe
00f7cc028b
Fix dumb icon bug
2017-02-01 18:54:43 -08:00
snipe
bf919e133c
Center boolean results in the list
2017-02-01 18:53:27 -08:00
snipe
541a5e6776
Groups API starter
...
Edit/Create still broken for some reason
2017-02-01 18:50:28 -08:00
snipe
464c524375
Depreciations API
2017-02-01 17:59:03 -08:00
snipe
7086ac8a8b
Tweaks to status labelas listing display
2017-02-01 17:48:28 -08:00
snipe
7642d17fb8
Fix category listing
2017-01-26 21:11:27 -08:00
snipe
a80af854ba
Switch companyName to company
2017-01-26 21:05:33 -08:00
snipe
99d837fa50
Added API methods and UI to view assets associated with a particular model
2017-01-26 21:02:59 -08:00
snipe
231f4dce07
Basic components API
2017-01-26 19:16:06 -08:00
snipe
5e9e6da577
Basic consumables API
2017-01-26 18:46:18 -08:00
snipe
5d3568136e
Added some printer-friendly stuff
2017-01-26 06:20:53 -08:00
snipe
b4c6d0c897
Added optional help text field to custom fields
2017-01-26 04:52:11 -08:00
snipe
5e9c69711b
Set trimonsearch to false to prevent weird trimming on search queries
2017-01-26 04:48:22 -08:00
Daniel Meltzer
5ba2ec881c
Vue importer ( #3235 )
...
* Begin work on vueifying the importer
* Beginning work on migrating the importer to use a vue/components for future interactivity
Update JS
More importer work. Move to a vue based modal, begin handling of processing. Still need to port error messages.
More importer work. Move to a vue based modal, begin handling of processing. Still need to port error messages.
Update importer. Add error display. Fix modal, update vue-strap to vue2
More progress. Add select2 vue bits.
* Move to querying the db to find importer matches. It scales better on large datasets.
Fix select2 related issues. We were trying to initialize it twice, which led to the custom data being overwritten.
* Better error handling on uploads and deletion of files. Restore progressbar on upload.
* Add support for generic exception reporting if app.debug is enabled.
* Handle Http 500 errors better. Display errors if debug is enabled. Assorted cleanups.
* Fix codacy issues, remove unused methods.
* Only bind vue to the importer for now.
* Load vue for passport as well.
2017-01-25 21:29:23 -08:00
snipe
a9bf34cf61
Minor transformer cleanup
2017-01-25 21:01:00 -08:00
snipe
de869c7ed0
Switched to labels for clearer UI on fieldsets
2017-01-25 05:14:39 -08:00
snipe
ec88d54a5b
Prevent demo users from deleting/creating API keys
2017-01-25 05:03:30 -08:00
snipe
b1a80f8ed8
Fixes #1684 - Allow editing of custom fields
...
@uberbrady can finally get out of the sea
2017-01-25 04:34:11 -08:00
snipe
7350514a0d
Moved custom fields blades to fit the rest of the app convention
2017-01-25 04:31:18 -08:00
snipe
5f49e7c1a7
Accessories API routes
...
Still a bit of a WIP
2017-01-25 02:19:26 -08:00
snipe
75d35273c9
Pull image formatter out of dynamic loop, pass full url to formatter
2017-01-24 22:46:07 -08:00
snipe
04bb180a80
More bootstrap tables formatting
2017-01-24 22:25:17 -08:00
snipe
8f12486f6c
More generic javascript formatters, updated api routes
2017-01-24 21:04:38 -08:00
snipe
f13719bf32
Updated named route for consumables
2017-01-24 19:24:59 -08:00
snipe
945d910ca2
Added columns to be ignored on export
2017-01-24 19:24:33 -08:00
snipe
e8310c8f3c
Additional API routes for licenses, manufacturers
2017-01-24 18:58:07 -08:00
snipe
b1dcc208e9
Updated vue dist
2017-01-24 17:07:17 -08:00
snipe
d0f062458e
Additional API transformers, formatters
2017-01-24 17:07:00 -08:00
snipe
6d2a37fa80
Remove google font from maintenance mode template
2017-01-24 17:03:48 -08:00
snipe
9d555f5436
Fixes #3139 and #3230 - use native font stack, removing google fonts
...
Especially helpful for those running Snipe-IT in a closed environment
2017-01-24 17:02:39 -08:00
snipe
ad4bf83aaa
Add ability to view assets by status label
...
This should be refactored. Lots of copypaste from the assets views here
2017-01-18 20:41:40 -08:00
snipe
19cb428fb0
Asset and status formatters
2017-01-18 19:46:43 -08:00
snipe
bebb653a70
Pull common formatters into partial
2017-01-18 19:28:35 -08:00
snipe
5d14acaac4
Fixed bulk actions using native bootstrap-tables checkall
2017-01-18 07:40:40 -08:00
snipe
47cf734f72
Hide the app div
...
This will need to be fixed later, but the flash of unstyled content on the non-api pages was making me cray
2017-01-18 05:02:00 -08:00
snipe
297034c037
APIified custom fields reorder
2017-01-18 04:58:56 -08:00
snipe
db7b1b586c
Fixed custom fields improprly nested form tags
2017-01-18 04:58:31 -08:00
snipe
eac025263b
Basic hardware bootstrap table formatter
2017-01-18 04:16:25 -08:00
snipe
8a4a4264cd
Formatters for bootstyra-tables users listing
...
We should probably abstract these out, since we use similar or the same fields imn other places
2017-01-18 04:12:13 -08:00
snipe
9bc10edc8d
Rervet that for now - still need to only enable dropdown if more than one is selected
2017-01-13 21:05:02 -08:00
snipe
e284e9900a
Use native boostrap tables check-all
2017-01-13 21:02:55 -08:00
snipe
acd8eafc8c
VERY basic example of dynamic buttons in table
2017-01-13 20:58:17 -08:00
snipe
89edda2c23
Manufacturers API
2017-01-13 09:37:06 -08:00
snipe
213a234bef
Check for valid category types in validation
2017-01-13 09:27:32 -08:00
snipe
14ddcc56a2
Categories API
2017-01-13 09:01:10 -08:00
snipe
edca6ad19d
Make eol, notes sortable on asset model
2017-01-13 08:41:17 -08:00
snipe
ae540af2a9
Additional fields for asset models
2017-01-13 08:39:02 -08:00
snipe
c7e1b426e7
Additional API routes and controllers for models, suppliers, users, locations and status labels
2017-01-13 04:50:20 -08:00
snipe
bc5fcf8736
Fixed dashboard chart
2017-01-13 03:19:39 -08:00
snipe
58b1ac5f0f
Some route/transformer edits
2017-01-13 00:13:57 -08:00
snipe
a35323131f
Updated documentation link
2017-01-12 23:43:20 -08:00
snipe
b7a650e986
Switched ordering of status labels and status label types to more user-friednly config
2017-01-12 06:50:54 -08:00
Richard Hofman
c506f30562
Add support for location-specific LDAP OUs. ( #3176 )
...
* Add support for location-specific LDAP OUs.
* Shortened variable names as suggested by Codacy review.
2017-01-11 23:37:14 -08:00
snipe
900e6e2419
Starter asset API
2017-01-11 18:14:06 -08:00
snipe
ff2c489af4
Fixed javascript conflicts, fixing select2 and icheck
2017-01-11 17:07:27 -08:00
snipe
55d0f8c0df
I think this is necessary for the Vue.js version?
2017-01-11 15:21:33 -08:00
snipe
73d45e9a14
Fixed CSRF on create asset ajax
2017-01-11 15:03:04 -08:00
snipe
c7167fc73c
Only allow users to create a new user via modal if they have users.create permission
2017-01-11 14:54:39 -08:00
snipe
1364494e92
Updated JS
2017-01-11 14:52:32 -08:00
snipe
dbf3a074f7
Fix CSRF issue on bootstrap tables
2017-01-11 14:52:05 -08:00
snipe
86926675ce
Fixed passport token generation
2017-01-11 08:44:34 -08:00
snipe
41f58efb70
Font-awesome for bower
2017-01-11 06:53:49 -08:00
snipe
e2d5401f3a
Stop double-loading jquery
2017-01-11 05:51:13 -08:00
snipe
57d0eba58f
API blade cleanup
2017-01-11 04:05:32 -08:00
snipe
a02f406fa6
Removed personal access token from settings api page
2017-01-11 03:58:09 -08:00
snipe
19fcda5c25
Basic API management
...
I’m getting a 500 on personal token creation, but there’s nothing in the logs, so I have no idea what’s wrong
2017-01-11 03:55:47 -08:00
snipe
b5ddd9ab0a
More vue/api work
2017-01-11 03:38:55 -08:00
snipe
33ffc58ffe
Fixed vue issue with api
2017-01-11 01:27:02 -08:00
snipe
11d86d83b6
Fixing JS to actually use vue
2017-01-11 01:02:32 -08:00
snipe
4b3edbd2f5
Fixed #3130 - model ID not being saved weith model info on modal for create asset
2017-01-10 19:02:13 -08:00
snipe
34a9564f30
Updated language strings
2017-01-10 17:53:06 -08:00
Daniel Meltzer
44683c784f
Importer: Add License Importer and refactor ( #3143 )
...
* Major code simplification of the importers.
Move towards using Model::fill and Model::update rather than reinventing
the wheel. This makes the updating/creating logic a lot clearer, and
allows for the deletion of a lot of code. Also allows for supporting of
more fields in the future really easily.
* Cleanup constructors and use setters instead.
* Set the LC_MONETARY locale, and use it to strip currency symbols in Helper::parseFloat()
* Move licenseseat creation/deletion logic into an event handler on the model rather than the controller.
* Move the logging of parsed values to array_smart_fetch rather than writing it out everywhere
* Move to storing dates as carbon rather than strings. Allows for the parsing of more arbitrary strings from the importer
* Add a license importer with support for checking out to users or assets.
* Make a directory for sample/mock import csvs and populate it
* Adjust how we store/retrieve dates to fix some issues the tests found.
2017-01-10 16:19:18 -08:00
Daniel Meltzer
6ce20c32b1
Component Importer and various Importer Fixes ( #3132 )
...
* Importer fix: we were trimming the wrong part of the classname when creating a category. This led to categories not being recognized.
* Add a component importer. Uses same fields as consumable importer. Only trick: If an asset_tag is present, we checkout a component to that asset on import
Enable component importer. Also calculate the importer classname in a cleaner fashion.
* Fix comparisons. find can return an index of 0, which is falsy.
2017-01-05 15:45:12 -08:00
Daniel Meltzer
816d2fd095
More minor fixes ( #3126 )
...
* Update composer phpcs
* Minor Fixes found while working.
ALlow user_id to be nullable in category model validation
Point to the correct route in accessoriespresenter datatable. Also add name() method
Add a translated category name
Fix typo in translation
* Add a method to the asset presenter to show deployed when asset is deployed. Fixes #3114
2017-01-03 16:55:43 -08:00
Daniel Meltzer
8a782bf34a
Present assetlogs ( #3112 )
...
* Set user if asset is checked out to user. fixes email problems.
* Use sometimes validation to ignore this when no values are present.
* Move Actionlog details to a presenter and port the activity table to use it. Still need to port other parts of the application, but this consolidates a lot of logic.
* Attempt test fix
* Port users,licenses, and assets view to use the presenter to generate table values.
2016-12-29 22:23:36 -08:00
Daniel Meltzer
4ad9c3623e
Show a glyph in the assets datatable. ( #3111 )
2016-12-29 18:12:27 -08:00
snipe
4c5fce847b
Removed user “new” buttons next to non-user options
2016-12-29 17:41:39 -08:00
snipe
16bd78fb3f
Removed stray poop
2016-12-29 17:26:21 -08:00
snipe
221cf1f9c8
Merge branch 'checkout-to-things-v1' of https://github.com/dmeltzer/snipe-it into dmeltzer-checkout-to-things-v1
...
# Conflicts:
# app/Http/Controllers/AssetsController.php
# app/Http/Controllers/ReportsController.php
# app/Http/Controllers/UsersController.php
# app/Presenters/AssetPresenter.php
2016-12-29 16:20:17 -08:00
snipe
51ceaedfaf
Small phpcbf cleanup
2016-12-29 14:02:18 -08:00
Daniel Meltzer
aa2d3cf026
The assets method was renamed to assignedAssets in User class. Adjust places to reflect that
2016-12-29 11:45:37 -05:00
Daniel Meltzer
13b51bc934
Allow checkout of item to things on create page. Need to test validation better and maybe extract code to one place for checkout.blade and edit.blade
2016-12-29 11:10:52 -05:00
Daniel Meltzer
7ccd71978c
Cleanup checkedout to part of asset view.
2016-12-29 09:56:19 -05:00
Daniel Meltzer
8cc695b65f
Port more assignedUser to assignedTo.
2016-12-29 09:31:16 -05:00