sh1hab
193a8d923b
Feature #9378 update phpdoc comment
2021-04-29 16:32:37 +06:00
sh1hab
98a42afa78
Feature #9378 remove deleted user from unaccepted assets report
2021-04-29 15:34:05 +06:00
snipe
3ffa3534a0
Use environmental variables in memory limits
...
Signed-off-by: snipe <snipe@snipe.net>
2021-04-05 21:47:57 -07:00
Ivan Nieto
2da6f9136f
Add 'Last Audit Date/Next Audit Date' filter to custom report ( #8989 )
...
* Add 'Last Audit Date/Next Audit Date' filter to custom report
* Added a constraint: cannot require a report with a Last Audit Date in the future.
2021-01-26 12:05:31 -08:00
snipe
1f5bcf2475
Added option to download activity report
2020-11-13 16:25:05 -08:00
Folke Ashberg
377c92a290
update
2020-10-22 14:33:24 +02:00
Folke Ashberg
5824ac3b28
Fix for #8580
...
Checking $asset->depreciation before calling $asset->depreciated_date()
2020-10-22 14:22:42 +02:00
Brady Wetherington
4b7f6a95e3
Fix deprecation report for customers with many active assets
2020-08-14 15:07:59 -07:00
snipe
c31e150935
Use $request->input over Request::get()
2019-12-11 11:09:54 -08:00
snipe
296de34e8a
WIP: Upgrade develop to Laravel 6.6.1 ( #7637 )
...
I'm going ahead and merging this, since the upgrade doesn't break Flysystem any worse than the current develop is broken, so far as I can tell.
* Upgraded framework to Laravel 6
### TO DO:
- Fix password restriction rules- the old library isn’t compatible with Laravel 6 :(
- Figure out why in-app API calls are returning “Unauthorized”
* More updates from Input:: to Request:: helper
* Switch to Request:: from Input
* Added passport config
* Fixed goofy password minimum in seeder
* Added laravel/helpers
* Changed ($item) to ($item->id) in forms
I have no idea why this is necessary
* Changed ($item) to ($item->id) in forms
* Updated API middleware to auth:api
* Updated with added laravel auth.php values
* FIxed *&!^$%^&$^%!!!! ajax issue
* Switch to Request::get from Input::get
* Switched to Request facade
* Added password security minimums back in
The package we were using has not been updated to Laravel v6, so I created custom validators instead
* Added language strings for error messages for password rules
* Fixed `($item)` issue in formActions for partials
2019-12-10 19:32:50 -08:00
snipe
5290c47e2a
Merge branch 'develop' into v5-master-develop-integration
...
# Conflicts:
# .env.example
# .travis.yml
# Dockerfile
# README.md
# app/Console/Commands/LdapSync.php
# app/Console/Kernel.php
# app/Http/Controllers/AccessoriesController.php
# app/Http/Controllers/Api/AccessoriesController.php
# app/Http/Controllers/Api/AssetsController.php
# app/Http/Controllers/Api/LocationsController.php
# app/Http/Controllers/Api/SettingsController.php
# app/Http/Controllers/Api/UsersController.php
# app/Http/Controllers/AssetModelsController.php
# app/Http/Controllers/Assets/AssetFilesController.php
# app/Http/Controllers/Assets/AssetsController.php
# app/Http/Controllers/CategoriesController.php
# app/Http/Controllers/CompaniesController.php
# app/Http/Controllers/ComponentsController.php
# app/Http/Controllers/ConsumablesController.php
# app/Http/Controllers/DepartmentsController.php
# app/Http/Controllers/LicensesController.php
# app/Http/Controllers/LocationsController.php
# app/Http/Controllers/ManufacturersController.php
# app/Http/Controllers/ReportsController.php
# app/Http/Controllers/SettingsController.php
# app/Http/Controllers/SuppliersController.php
# app/Http/Controllers/UsersController.php
# app/Http/Middleware/EncryptCookies.php
# app/Http/Requests/AssetRequest.php
# app/Http/Transformers/AssetMaintenancesTransformer.php
# app/Importer/AssetImporter.php
# app/Models/AssetMaintenance.php
# app/Models/Location.php
# app/Models/User.php
# composer.json
# composer.lock
# config/backup.php
# config/database.php
# config/version.php
# public/mix-manifest.json
# resources/lang/en-ID/general.php
# resources/lang/vi/admin/settings/general.php
# resources/views/accessories/edit.blade.php
# resources/views/hardware/view.blade.php
# resources/views/layouts/default.blade.php
# tests/api/ApiCategoriesCest.php
2019-11-18 19:49:39 -08:00
snipe
b5bf8e9a37
Smaller chunking for custom report, add max_execution_time
2019-08-15 06:14:25 -07:00
snipe
8db2470ac4
Switch has() to filled()
2019-05-23 17:17:46 -07:00
Martin Meredith
e3e0d57f56
Minor code cleanup bits and bobs ( #6805 )
...
* Add IDE Helper files
* Cleanup imports
- Alphabetises imports
- Removes unused imports
* Add Platform requirements
* Move filling asset into block where asset exists
* Remove duplicate array keys
2019-03-13 20:12:03 -07:00
snipe
4b8f9d810b
Fixed #6625 - include fully depreciated date in custom asset report
2019-01-24 12:38:17 -08:00
snipe
67f6df2be3
Fixed (develop) #4568 - escaping values in custom report
2018-12-12 19:40:15 -08:00
snipe
8f6ea84fca
Fixed #4568 - escaping values in custom report
2018-12-12 19:38:24 -08:00
Wes Hulette
88b1da4260
Added: Caching of settings ( #6378 )
...
* Fixed missing oauth tables during setup.
* Cache settings
Cache the setting to reduce unnecessary database calls
2018-11-01 19:59:50 -07:00
snipe
65aef11ae3
Fixed #5879 - added user department filter for custom report
2018-10-31 15:19:13 -07:00
Till Deeke
8c96e8fd4b
Updates asset acceptance report to show unaccepted assets
2018-08-06 14:47:26 +02:00
snipe
a9fd9c9e59
Moved gates to individual controller methods to fix “This action is unauthorized” in route:list
2018-07-25 10:45:32 -07:00
snipe
86c1f11bec
Change $request->has to $request->filled unilaterally
2018-07-24 22:51:31 -07:00
Till Deeke
48bbbe0f40
Fixing authorization issues ( #5807 )
...
* adds permission checks for companies
* adds permission checks for depreciations
* adds permission check for all reports
* fixes permissions for departments
* fixes permission naming (edit -> update)
* fixes authorization checking wrong permission in API
The authorization was checking for the non-existent „edit“ method where it should have checked for the „update“ method.
* adds authorization checks for select2 lists
* adds missing authorization checks for api
* fixes user authorization check for creating users
* adds additional check viewing assets on showing a users assets
* Removes authorization checks for select2 lists
Reference: https://github.com/snipe/snipe-it/pull/5807#pullrequestreview-136018755
2018-07-12 18:28:02 -07:00
snipe
d7dc4ae0c0
Added manager to custom report
2018-06-27 00:45:09 -07:00
snipe
8ad5eb3e59
Fixed #5500 - present() on correct location value
2018-05-08 09:21:43 -07:00
snipe
13195d06fd
Fixed #5491 - added default location filter for custom report
2018-05-08 07:34:14 -07:00
snipe
0be69f57ac
Improved files display
2018-05-02 14:13:06 -07:00
snipe
97f748d58e
Removed old reports methods and routes
...
We only use the custom asset report now
2018-05-02 03:44:31 -07:00
snipe
5948a0b235
Added department to custom asset export
2018-04-16 20:10:38 -07:00
snipe
2253439940
Added default location/address to custom report
2018-04-05 17:33:25 -07:00
snipe
115d6e29df
Added location address to custom asset report export
2018-03-26 15:59:09 -07:00
snipe
2f9fff7130
Do not try to show depreciation report if no depreciations are set up
2018-01-25 13:16:49 -06:00
snipe
11505d5d06
Fix crash if no asset model
...
(This should never happen, but shouldn’t crash if/when it does)
2018-01-25 00:25:43 -08:00
snipe
c816870083
De-norm last audit date so we can display it in the asset listing
2017-12-12 03:03:43 -08:00
snipe
438f484d68
Removed duplicate purchase cost column
2017-12-05 14:03:08 -08:00
snipe
f95d780fcf
Include purchase cost column if depreciation is selected
2017-12-05 14:02:43 -08:00
snipe
e490185533
Fixed EOL in custom report
2017-12-05 12:54:19 -08:00
snipe
d7f2bceea2
Fixed incorrect property on supplier
2017-12-04 20:45:20 -08:00
snipe
8b4c85d69a
Removed verbose logging
2017-12-01 16:56:50 -08:00
snipe
78a51d3675
Additional fixes, improvements for custom report
2017-12-01 16:51:38 -08:00
snipe
14874d8e8a
Fixes #4495 - missing field in Download CSV, added filter options on custom report
2017-12-01 14:47:52 -08:00
snipe
ff793f1cb5
Added variable to determine if “new” modal button should be displayed
2017-12-01 14:37:11 -08:00
snipe
8140bdaa88
Fixed repeated header issue in asset export
2017-12-01 14:25:32 -08:00
snipe
a7e12931fa
Check that assigned is an object in reports controller
2017-11-22 18:42:17 -08:00
snipe
8f160a8590
Fixed CSV asset export missing checked out to info
2017-11-22 13:05:48 -08:00
snipe
2b3b2e3197
Removed presenter references in custom report
2017-11-06 10:44:57 -08:00
snipe
a9d9234fb3
One more fix for custom reports
2017-11-06 10:44:18 -08:00
snipe
936ff707c7
Fixed custom report bug if assignedTo has no value
2017-11-06 10:42:34 -08:00
snipe
feb2f5b076
Fixed #4356 - removed reference to old assetloc
2017-10-31 18:20:03 -07:00
snipe
890012f6c4
Update references to assetloc to location
2017-10-28 02:58:38 -07:00