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
This commit is contained in:
snipe 2017-01-11 03:55:47 -08:00
parent b5ddd9ab0a
commit 19fcda5c25
10 changed files with 28 additions and 55 deletions

View file

@ -317,21 +317,7 @@ var pieOptions = {
}(jQuery, window.snipeit.settings));
$(function () {
//Initialize Select2 Elements
var iOS = /iPhone|iPad|iPod/.test(navigator.userAgent) && !window.MSStream;
if(!iOS)
{
$(".select2").select2();
}
$('.datepicker').datepicker();
});
//Flat blue color scheme for iCheck
$('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({
checkboxClass: 'icheckbox_minimal-blue',
radioClass: 'iradio_minimal-blue'
});
$(document).ready(function () {

File diff suppressed because one or more lines are too long

View file

@ -317,21 +317,7 @@ var pieOptions = {
}(jQuery, window.snipeit.settings));
$(function () {
//Initialize Select2 Elements
var iOS = /iPhone|iPad|iPod/.test(navigator.userAgent) && !window.MSStream;
if(!iOS)
{
$(".select2").select2();
}
$('.datepicker').datepicker();
});
//Flat blue color scheme for iCheck
$('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({
checkboxClass: 'icheckbox_minimal-blue',
radioClass: 'iradio_minimal-blue'
});
$(document).ready(function () {

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
{
"assets/css/app.css": "assets/css/app-0979ad0cf2.css",
"assets/js/all.js": "assets/js/all-7709b3bc36.js"
"assets/js/all.js": "assets/js/all-990304f6ce.js"
}

View file

@ -89,21 +89,7 @@ var pieOptions = {
}(jQuery, window.snipeit.settings));
$(function () {
//Initialize Select2 Elements
var iOS = /iPhone|iPad|iPod/.test(navigator.userAgent) && !window.MSStream;
if(!iOS)
{
$(".select2").select2();
}
$('.datepicker').datepicker();
});
//Flat blue color scheme for iCheck
$('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({
checkboxClass: 'icheckbox_minimal-blue',
radioClass: 'iradio_minimal-blue'
});
$(document).ready(function () {

View file

@ -8,9 +8,9 @@
{{-- Page content --}}
@section('content')
<div id="app">
<passport-personal-access-tokens></passport-personal-access-tokens>
</div>

View file

@ -304,7 +304,7 @@
@can('self.api')
<li>
<a href="{{ route('user.api') }}">
<i class="fa fa-user fa-fw"></i> Manage API Keys
<i class="fa fa-user-secret fa-fw"></i> Manage API Keys
</a>
</li>
@endcan
@ -384,7 +384,7 @@
@can('settings.api')
<li>
<a href="{{ route('settings.api') }}">
<i class="fa fa-user fa-fw"></i> OAuth API Keys
<i class="fa fa-exchange fa-fw"></i> OAuth API Keys
</a>
</li>
@endcan
@ -593,7 +593,9 @@
<!-- Content -->
<div id="app">
@yield('content')
</div>
</section>
@ -643,6 +645,24 @@
@section('moar_scripts')
<script>
$(function () {
//Initialize Select2 Elements
var iOS = /iPhone|iPad|iPod/.test(navigator.userAgent) && !window.MSStream;
if(!iOS)
{
$(".select2").select2();
}
$('.datepicker').datepicker();
});
//Flat blue color scheme for iCheck
$('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({
checkboxClass: 'icheckbox_minimal-blue',
radioClass: 'iradio_minimal-blue'
});
</script>
@show
@if ((Session::get('topsearch')=='true') || (Request::is('/')))
<script>

View file

@ -5,7 +5,6 @@
<script src="{{ asset('assets/js/extensions/cookie/bootstrap-table-cookie.js?v=1') }}"></script>
<script src="{{ asset('assets/js/extensions/export/tableExport.js') }}"></script>
<script src="{{ asset('assets/js/extensions/export/jquery.base64.js') }}"></script>
<script src="{{ asset('assets/js/extensions/multiple-sort/bootstrap-table-multiple-sort.js') }}"></script>
<script>
$('.snipe-table').bootstrapTable({
classes: 'table table-responsive table-no-bordered',

View file

@ -8,16 +8,12 @@
{{-- Page content --}}
@section('content')
<div id="app">
<passport-clients></passport-clients>
<passport-authorized-clients></passport-authorized-clients>
<passport-personal-access-tokens></passport-personal-access-tokens>
</div>
@stop