Brady Wetherington
|
294606fb0b
|
Move new CORS library to global middleware, the only place it works
|
2022-02-22 19:07:23 -08:00 |
|
snipe
|
0a4a548f9c
|
Added use statement
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-22 10:46:02 -08:00 |
|
snipe
|
dd5f812d88
|
Merge remote-tracking branch 'origin/master' into develop
Signed-off-by: snipe <snipe@snipe.net>
# Conflicts:
# .all-contributorsrc
# README.md
# app/Console/Commands/FixDoubleEscape.php
# app/Console/Commands/LdapSync.php
# app/Exceptions/Handler.php
# app/Http/Controllers/Api/AssetMaintenancesController.php
# app/Http/Controllers/Api/AssetModelsController.php
# app/Http/Controllers/Api/AssetsController.php
# app/Http/Controllers/Api/CategoriesController.php
# app/Http/Controllers/Api/CompaniesController.php
# app/Http/Controllers/Api/DepartmentsController.php
# app/Http/Controllers/Api/LicensesController.php
# app/Http/Controllers/Api/LocationsController.php
# app/Http/Controllers/Api/ManufacturersController.php
# app/Http/Controllers/Api/SettingsController.php
# app/Http/Controllers/Api/SuppliersController.php
# app/Http/Controllers/AssetModelsController.php
# app/Http/Controllers/Auth/LoginController.php
# app/Http/Controllers/CustomFieldsController.php
# app/Http/Controllers/SettingsController.php
# app/Models/Loggable.php
# app/Providers/AuthServiceProvider.php
# config/version.php
# database/migrations/2014_11_04_231416_update_group_field_for_reporting.php
# database/migrations/2015_11_08_222305_add_ldap_fields_to_settings.php
# package-lock.json
# package.json
# public/js/build/app.js
# public/js/dist/all.js
# public/mix-manifest.json
# resources/assets/js/components/forms/asset-models/fieldset-default-values.vue
# resources/views/hardware/view.blade.php
|
2022-02-20 13:29:12 -08:00 |
|
Ivan Nieto Vivanco
|
23a6907975
|
Some minor stylistic changes
|
2022-02-17 18:05:06 -06:00 |
|
Ivan Nieto Vivanco
|
5b2a5ff124
|
Put the 'remember_token' column as null in the users table
|
2022-02-17 18:03:00 -06:00 |
|
Ivan Nieto Vivanco
|
548b172744
|
Logout every connected user
|
2022-02-17 18:00:24 -06:00 |
|
Ivan Nieto Vivanco
|
263893b3c6
|
Search logged in user that made the restore, if they doesn't exist in the restored system, add it again
|
2022-02-17 17:42:06 -06:00 |
|
Ivan Nieto Vivanco
|
811ca51c4f
|
Wipe database before restoration
|
2022-02-17 16:59:44 -06:00 |
|
snipe
|
d1b45a83b8
|
Blergh, one more linebreak
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-17 14:51:06 -08:00 |
|
snipe
|
01a8701a8c
|
Removed extra linebreaks
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-17 14:50:38 -08:00 |
|
snipe
|
67fe53e32a
|
Removed debugging, added comments
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-17 14:50:07 -08:00 |
|
snipe
|
7f6b8cc43d
|
Removed carbon, since we went with PHP's datetime instead
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-17 14:48:12 -08:00 |
|
snipe
|
5fe999eb02
|
Shored up the date math, updated the explanation
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-17 14:34:33 -08:00 |
|
snipe
|
ea429d650e
|
Initial audit date fix
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-16 20:19:38 -08:00 |
|
snipe
|
824eedf7c2
|
Added UI elements for is_unique
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-16 13:47:48 -08:00 |
|
snipe
|
a4a0aa5124
|
Removed debugging line
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-16 13:47:22 -08:00 |
|
snipe
|
6a91d4d19e
|
Check for uniqueness constraint
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-16 13:46:22 -08:00 |
|
snipe
|
ea8f9a6dd9
|
Make is_unique fillable
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-16 13:45:44 -08:00 |
|
snipe
|
b78f32e876
|
Merge pull request #10655 from inietov/fixes/trying_to_get_property_checkin_email_of_non-object_develop
Fixes ErrorException: Trying to get property 'checkin_email' of non-object for develop[sc-17568]
|
2022-02-16 11:19:14 -07:00 |
|
snipe
|
592f66bd0c
|
Merge pull request #10670 from Godmartinz/gh10639/linear-depreciation-calculation
Fixed #10639 - incorrect linear depreciation calculation
|
2022-02-16 11:18:27 -07:00 |
|
snipe
|
4f89dfee49
|
Merge pull request #10679 from snipe/fixes/timing_attack_mitigation_for_forgot_password
Added usleep random to forgotten password method to mitigate timing attacks
|
2022-02-16 11:17:00 -07:00 |
|
snipe
|
017534bc07
|
Added deleted_at to license transformer
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-16 09:33:28 -08:00 |
|
snipe
|
5540069cce
|
Be more specific with deleted license point
Require this value to be "true" speciically to get the deleted list
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-16 09:14:04 -08:00 |
|
snipe
|
1ad56760ce
|
Adds delete endpoint for licenses
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-16 09:08:50 -08:00 |
|
snipe
|
f878e0ad66
|
Fixes 2FA cookie -> user issue
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-15 18:29:23 -08:00 |
|
snipe
|
178e440951
|
Added usleep :(
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-15 18:09:58 -08:00 |
|
snipe
|
cab4fa1687
|
Fixes some conceptual gates
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-14 15:42:23 -08:00 |
|
snipe
|
4804e5b3ab
|
Added Asset edit/delete gates to maintenances
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-14 15:34:06 -08:00 |
|
Godfrey M
|
7b9a2ae909
|
added rounding
|
2022-02-14 09:34:42 -08:00 |
|
Godfrey M
|
6e204a20ca
|
fixed current value formula
|
2022-02-14 09:28:35 -08:00 |
|
Godfrey M
|
e6e68934f7
|
adds a months depreciated variable
|
2022-02-14 09:13:14 -08:00 |
|
Godfrey M
|
cdc402fa04
|
WIP formula for linear Depreciation has been corrected. still one variable left to fix.
|
2022-02-14 09:01:42 -08:00 |
|
snipe
|
1c0a96b0ce
|
Added gate to supplier
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-13 11:58:12 -07:00 |
|
snipe
|
d77a47765e
|
Adds gate to supplier
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-13 11:53:45 -07:00 |
|
snipe
|
d6b8222371
|
Refactor to combine permissions
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-11 12:48:30 -08:00 |
|
snipe
|
2c5abaaea4
|
Fixed copypasta
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-11 12:32:09 -08:00 |
|
snipe
|
c1a0653847
|
Restrict to update or create gate methods for select lists
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-11 12:31:11 -08:00 |
|
snipe
|
9226c8292d
|
Fixed typos in comments
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-11 12:02:14 -08:00 |
|
snipe
|
5fafa81dc1
|
Forgot components
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-11 11:57:29 -08:00 |
|
snipe
|
b30d1dce89
|
Removed selectlist
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-11 11:55:24 -08:00 |
|
snipe
|
2dad27eed6
|
Added additional gate for selectlists
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-11 11:46:14 -08:00 |
|
snipe
|
f5ffda8053
|
Ahem.
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-10 22:43:51 -08:00 |
|
snipe
|
ed931ef0cd
|
Merge pull request #10654 from inietov/fixes/trying_to_get_property_checkin_email_of_non-object
Fixes ErrorException: Trying to get property 'checkin_email' of non-object [sc-17568]
|
2022-02-10 12:23:50 -08:00 |
|
Ivan Nieto Vivanco
|
f36de6c670
|
Validates if model and model->category exist before return the checkin_email property
|
2022-02-10 13:53:49 -06:00 |
|
Ivan Nieto Vivanco
|
bf4ee18123
|
Validates if model and model->category exist before return the checkin_email property
|
2022-02-10 11:58:55 -06:00 |
|
snipe
|
70af10ae6c
|
Merge pull request #10640 from JonathonReinhart/10552-add-checkin-api-date
Fix #10552: Add checkin_at parameter to /hardware/:id/checkin API
|
2022-02-10 09:54:20 -08:00 |
|
snipe
|
b9a8d45c07
|
Better messaging
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-09 16:30:42 -08:00 |
|
snipe
|
7794c2f44b
|
Check that the fieldset exists before trying to detach it from the fieldset
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-09 16:16:16 -08:00 |
|
snipe
|
eedc14401a
|
Switch to searching on semicolon instead of &
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-09 15:55:22 -08:00 |
|
snipe
|
4e14d70427
|
Added jobtitle to unescaper
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-09 15:50:44 -08:00 |
|