snipe
108ac79442
Added update to asset location id on checkout/checkin
2017-10-28 07:38:36 -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
bd48ae96c2
Update location on checkin if one is given
2017-10-28 07:28:35 -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
c37fa44f72
Use ther morphto assigned
2017-10-28 07:12:22 -07:00
snipe
daaf98783f
Fixes status display in listing
2017-10-28 07:11:06 -07:00
snipe
1399ebb133
Nicer formatting on 503
2017-10-28 07:01:45 -07:00
snipe
03f6211582
Make notes null if empty
2017-10-28 07:01:06 -07:00
snipe
20bcc73000
Don’t emit to logs on this migration, otherwise we’ll flood the actionlogs
2017-10-28 06:33:15 -07:00
snipe
0058f02e82
Closure wasn’t working, go traditional
2017-10-28 06:23:04 -07:00
snipe
25b8c4438e
Check for asset before attempting to cite mismatch
2017-10-28 06:20:44 -07:00
snipe
4f1747023a
Seed with demo images
2017-10-28 05:46:43 -07:00
snipe
46fb5c9d40
Remove die() from migration
2017-10-28 03:54:06 -07:00
snipe
52f10232a1
Merge branch 'features/flatten-locations' into develop
2017-10-28 03:50:32 -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
0a114c7daf
Log instead of echoing
2017-10-28 02:32:05 -07:00
snipe
3064b3f80e
Updated availableForCheckout() method to be clearer
2017-10-28 02:31:54 -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
f687c8db24
Fix custom field seeder to drop old columns
2017-10-28 02:11:10 -07:00
snipe
c616041876
Use form selector
2017-10-28 01:51:10 -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
49afd325a9
Add more data from seeders to check for 1001 queries
2017-10-28 01:48:50 -07:00
snipe
ce5ccc31f0
Added location method, fixed assetLoc
2017-10-28 01:48:27 -07:00
snipe
c70db75de9
Migration to add location_id de-normed data
2017-10-28 01:47:59 -07:00
snipe
7b76bbfd68
Update seeders with more locations
2017-10-28 01:03:16 -07:00
snipe
cfd1925625
Nicer display of notifications on checkout
2017-10-28 01:00:26 -07:00
snipe
e8b4bdf6f4
Added location_id to assets table to denorm
2017-10-27 20:35:34 -07:00
snipe
7e0c33d535
Speed up user factory by only bcrypting once
2017-10-27 20:35:13 -07:00
tiagom62
24211cb674
Setup firewall rules on CentOS 7. ( #4329 )
2017-10-27 18:27:44 -07:00
snipe
2d758be0e1
Merge branch 'develop' of github.com:snipe/snipe-it into develop
2017-10-27 18:01:46 -07:00
snipe
f49ecbdb61
Code cleanup
2017-10-27 18:01:42 -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
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
a224904ade
Removed uncessary code
...
This is already handled in the env
2017-10-27 17:00:33 -07:00
snipe
cb3b294baa
Clesned up status label model for code quality
2017-10-26 22:54:07 -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
c6d191bcba
Merge branch 'develop' of github.com:snipe/snipe-it into develop
2017-10-26 21:52:04 -07:00
snipe
f13836eb55
Use select2 partials
2017-10-26 21:52:00 -07:00