snipe
9c94e70917
Merge branch 'develop' of github.com:snipe/snipe-it into develop
2017-10-28 09:21:49 -07:00
snipe
6a3716a06d
Added new ajax dropdown menus for components, consumables, etc editing/creating
2017-10-28 09:21:39 -07:00
Sorvani
feccc55c54
Added support for Fedora to the installer. ( #4332 )
2017-10-28 09:17:19 -07:00
snipe
fe70792cbd
Bumped hash
2017-10-28 08:41:34 -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
cd2816b1c7
Suppliers ajax menu API route
2017-10-28 08:38:00 -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
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