Wes Hulette
82affd5154
Added PHP_CS & PHPMD files ( #6234 )
...
Added PHP_CS & PHP mess detector file to help with code standardization.
2018-09-26 12:10:11 -07:00
Ivan Nieto
73e88faa00
Using changes proposed by dmeltzer to eliminate has_licenses function in some tests code ( #6218 )
2018-09-25 14:01:21 -07:00
snipe
bcf9d2f75c
Don’t require statuslabel view to check for deployable status
2018-09-25 13:39:54 -07:00
nix
f85e3edfc7
fixed checking permissions for users with no permissions set ( #6229 )
...
When a user has no permissions set (=NULL) in the database (like after an
LDAP import) but is a member of a group with permissions, those group
permissions would not have be applied, effectively denying every access
regardless of group permissions.
2018-09-25 13:24:50 -07:00
snipe
115f718cd9
Fix view if model doesnt have a manufacturer
2018-09-24 19:10:24 -07:00
snipe
9108ff8caa
fixed typo
2018-09-24 19:06:12 -07:00
snipe
d5cf0f1fbd
Prevent deleting manufactureres via API if they have items/models
2018-09-24 19:04:00 -07:00
Brady Wetherington
c97db3259f
Merge pull request #5913 from tilldeeke/refactore-checkout-checkin-notification-sending
...
Refactor: Decouple checkin/checkout notifications from logging
2018-09-21 18:18:27 -07:00
snipe
4b2093b485
Added counts to location show() API method
2018-09-21 15:51:26 -07:00
snipe
24aaa36532
Applied 3159e7713a
to develop
2018-09-19 17:27:34 -07:00
snipe
d84366c6c5
Add empty array to groups if none filled in
2018-09-19 17:24:34 -07:00
Ivan Nieto
b692f67779
Revision of #5471 ( #6148 )
...
* Search functionality in accessories/{accessory} issue #5471 :
From the collection of users displayed just filtered the data with the method where() and concat()
for the user can search for first name or last name. The solution is case sensitive.
* A better fix to issue #5471 . Now using the established relationship to querying for the users. Also Case-insensitive.
* Fixed previous commit that has magic number in the find method parameter of AccessoriesController.
2018-09-12 22:50:45 -07:00
Juho Taipale
05b03df600
Fix for issue #6165 ( #6168 )
...
* Fix problem when using ValidatingTrait
* Checking that email alerts are enabled when trying to send expected check-in alerts (fix for issue #6169 )
2018-09-12 22:49:50 -07:00
Till Deeke
e445e201f3
Adds a migration to create checkout acceptances
...
This creates the checkout acceptances for assets (basically what was previously shown in the „Unaccepted Assets“-report) when migrating the database
2018-09-10 17:37:24 +02:00
Till Deeke
bbd1d6059a
Fixes errors in tests
2018-09-10 17:16:07 +02:00
Till Deeke
86f49d34c3
Redirects users from old acceptance screen to new overview
2018-09-10 17:13:16 +02:00
Till Deeke
007e8fbdf9
simplified checkout event handling per @uberbrady’s suggestion
...
This generalizes the checkout events into the CheckoutableCheckedOut and CheckoutableCheckedIn events.
2018-09-10 16:40:26 +02:00
snipe
e45b4efa1a
Better info buttons on audit
...
TODO: translated strings instead
2018-09-07 18:08:18 -07:00
snipe
10d19be66c
Added manager ID to validation
2018-09-07 17:27:31 -07:00
snipe
b903ca05f7
Added manager ID to fillable fields in Location model
...
This should enable the API to update manager ID
2018-09-07 17:27:19 -07:00
snipe
827295a989
Fixed tooltips
2018-09-07 05:39:56 -07:00
snipe
ff879e2018
Added the ability to update asset location when auditing - per #5854
2018-09-07 05:39:41 -07:00
snipe
e89b33f865
Enable popovers
2018-09-07 05:09:24 -07:00
snipe
181e75adb4
Apply hotfix for fixed category model scope
2018-09-07 03:56:17 -07:00
snipe
827a86b2ef
Only send inventory report to users if they have things checked out to them
2018-09-07 03:08:32 -07:00
snipe
451f4c3320
Bumped watson validating package version, laravel to v5.7.2
2018-09-07 03:08:08 -07:00
snipe
77cdb2f409
Added console command to send inventory reports to users
2018-09-07 02:24:41 -07:00
snipe
26fd7f7e79
I have no idea why this was necessary suddenly
2018-09-06 14:28:04 -07:00
snipe
b80b91514d
Fixed Laravel 5.7 compatibility issue re: boot() method
...
This was causing the error: Undefined index: App\Models\CustomField (View: /Users/snipe/Sites/snipe-it/snipe-it/resources/views/hardware/index.blade.php)
and pointed to the Eloquent model library method:
```
protected function initializeTraits()
{
foreach (static::$traitInitializers[static::class] as $method) {
$this->{$method}();
}
}
```
Thanks to https://github.com/laravel/framework/issues/25455 for the clue.
2018-09-05 19:27:37 -07:00
snipe
60459d07ce
Added email image auto-embed support
2018-09-05 18:57:49 -07:00
snipe
84cc90e427
Added alt text to email headers
2018-09-05 18:57:36 -07:00
snipe
bd40bd5a22
Upgrade to laravel 5.7.0
2018-09-05 14:58:07 -07:00
snipe
0e46b6fd42
Fixed #6152 - typo in upgrade script
2018-09-05 14:58:07 -07:00
Wes Hulette
a865f79d5e
Fixed dashboard tables not showing data ( #6143 )
...
Needed data-pagination="true" set
2018-08-29 12:29:47 -07:00
snipe
a8b5fbde91
Add @inietov as a contributor
2018-08-28 13:31:36 -07:00
Ivan Nieto
0014ef054b
Search functionality in accessories/{accessory} issue #5471 : ( #6070 )
...
From the collection of users displayed just filtered the data with the method where() and concat()
for the user can search for first name or last name. The solution is case sensitive.
2018-08-28 13:25:16 -07:00
snipe
652548957d
Add @Seldaek as a contributor
2018-08-28 13:15:21 -07:00
snipe
761ea4e581
Add @liquidhorse as a contributor
2018-08-28 13:15:08 -07:00
snipe
9c24d4300c
Add @VELIKII-DIVAN as a contributor
2018-08-28 13:14:55 -07:00
snipe
39ab488d90
Add @patrict as a contributor
2018-08-28 13:14:41 -07:00
snipe
ec67d03a7c
Add @jwhulette as a contributor
2018-08-28 13:14:26 -07:00
Wes Hulette
bfb5920677
Added #5956 - Moved bootstrap-tables to npm ( #6139 )
...
Created single bootstrap-tables js and css file.
2018-08-28 13:10:27 -07:00
patrict
cf2d2ecdfc
Depreciation Report: ( #6135 )
...
* Added monthly depreciation column
* Right aligned amount column headings
* Added monthly depreciation heading text for en, en-GB & af
2018-08-28 12:40:06 -07:00
Wes Hulette
3831ee9f5a
Fixed #5811 - Non US Characters in user export ( #6132 )
...
* Added Freebsd as vagrant machine for development
* Ran npm audit fix
Manually added peer depenencies
* Added charset=UTF-8 to content-type
Removed reference to throttle model as is is not longer included.
2018-08-28 12:37:58 -07:00
Dmitriy Minaev
bc8fa31eb2
Add depreciation with half-year convention. Fixed #1237 ( #6128 )
...
* Add half-year convention in depreciation for Models/Depreciable.php
* Add a setting for the depreciation method
* Integrate half-year convention inside working output
* fix: add more checks at Depreciable.php
* depreciation value rounding
* Codestyle fix
2018-08-28 12:32:46 -07:00
liquidhorse
678ba228cb
Fixed #6079 : QR Code unnecessarily squished. ( #6080 )
...
* Fixed 2D barcode from being squished unnecessarily when 1D barcode is omitted.
Added one character of whitespace for code readability.
2018-08-28 12:29:50 -07:00
snipe
5b8cbe29e1
Possible fix for #5054 - OpenLDAP (non-AD) LDAP users being deactivated
2018-08-27 14:51:37 -07:00
snipe
0b8d70c7ec
Fixed #6124
2018-08-23 21:06:04 -07:00
snipe
e4f6aefdad
Added self-checkout permission option
2018-08-21 23:26:12 -07:00
snipe
771265113e
Added cookie serialization for Laravel v5.6.30
2018-08-21 22:40:14 -07:00