snipe
336d8e6574
Updated version
2022-02-24 18:17:15 -08:00
snipe
dfbff27483
Updated sample CSVs
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-24 14:19:35 -08:00
snipe
24ce34c8d7
Updated assets
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-24 14:19:27 -08:00
snipe
7abb1f960c
Merge branch 'master' of https://github.com/snipe/snipe-it
2022-02-24 14:16:00 -08:00
snipe
ec7df11d73
Merge pull request #10736 from inietov/fixes/imported_assets_duplicate_model_notes_from_assets_master
...
Separate notes on assets and asset models on master branch [sc-18810]
2022-02-24 14:15:48 -08:00
Ivan Nieto Vivanco
64fa7e23fc
Separate notes on assets and asset models
2022-02-24 16:05:03 -06:00
snipe
93ad59466b
Fixed typo
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-24 13:52:33 -08:00
snipe
4b7f45a15e
Merge pull request #10734 from snipe/fixes/api_throttling
...
Fixed API throttling
2022-02-24 13:43:49 -08:00
snipe
83f21d0ddf
Added a comment about why we use the middleware there
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-24 13:41:16 -08:00
snipe
2906a89442
Make the 429 error less stupid
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-24 13:10:34 -08:00
snipe
50f55b4308
Fixes broken API throttling
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-24 13:10:10 -08:00
snipe
a8028e7dd0
Merge pull request #10727 from uberbrady/master
...
Fix for negative CORS/SAML interaction
2022-02-23 11:17:17 -08:00
Brady Wetherington
15abc84ab0
Migrate to Fruitcake/laravel-cors which has path-exclusion built-in
2022-02-23 11:06:19 -08:00
snipe
8a09211310
Merge pull request #10722 from snipe/features/add_force_saml_to_master
...
Fixes Restricted Logins to SAML controlled via environment variable #10436 - applies #10449 to master
2022-02-22 21:45:19 -08:00
snipe
42fcd29200
Fixed #10436 on master, applies #10449
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-22 21:06:54 -08:00
snipe
0cfc0a4bee
Merge pull request #10718 from uberbrady/fix_cors_option_1_master
...
Fix CORS requests on master (option *ONE*)
2022-02-22 19:24:18 -08:00
Brady Wetherington
64f83f9a5f
Move HandleCors middleware to be universal
2022-02-22 17:43:40 -08:00
snipe
dc2b58f865
Merge pull request #10691 from snipe/fixes/update_audit_date_when_settings_update
...
Fixed #10690 - Initial audit date fix
2022-02-20 11:16:54 -08:00
snipe
34ebc629c2
Remove unusued translation string
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-20 11:15:56 -08: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
7fe7d56999
Merge pull request #10656 from snipe/snyk-upgrade-0005397ba83c98631126ff98d5471e6d
...
[Snyk] Upgrade jquery-ui from 1.13.0 to 1.13.1
2022-02-16 11:19:00 -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
e9a4ff8e74
Merge pull request #10683 from snipe/features/add_deleted_only_endpoint_for_licenses
...
Adds delete endpoint for licenses
2022-02-16 10:10:22 -07:00
snipe
1ad56760ce
Adds delete endpoint for licenses
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-16 09:08:50 -08:00
snipe
5582949008
Merge pull request #10681 from snipe/fixes/2fa_cookie_fix
...
Fixes 2FA cookie -> user issue
2022-02-15 19:34:13 -07: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
321be4733d
Merge pull request #10672 from snipe/fixes/missing_gates_for_maintenances
...
Added Asset edit/delete gates to maintenances
2022-02-14 15:58:19 -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
snipe
885ab64c2e
Merge branch 'master' of https://github.com/snipe/snipe-it
2022-02-13 12:01:59 -07:00
snipe
8624531f78
Bumped version
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-13 12:01:37 -07:00
snipe
db0c0e7908
Merge pull request #10665 from snipe/fixes/adds_gate_to_supplier_view
...
Adds gate to supplier
2022-02-13 10:56:55 -08:00
snipe
d77a47765e
Adds gate to supplier
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-13 11:53:45 -07:00
snipe
05c0819776
Updated language string
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-11 15:55:42 -08:00
snipe
16f963fa3d
Merge branch 'master' of https://github.com/snipe/snipe-it
2022-02-11 13:07:29 -08:00
snipe
e032cf1fda
Bumped version
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-11 13:07:26 -08:00
snipe
10c26f38c4
Merge pull request #10662 from snipe/fixes/tighter_security_on_select_lists
...
Added additional gate for selectlists
2022-02-11 12:48:55 -08: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
5703b95de3
Merge pull request #10657 from snipe/fixes/handle_deleted_auditor
...
Fixed - Check for valid user before trying to present the auditor name
2022-02-10 20:14:24 -08:00
snipe
d406dc43c2
Check for valid user before trying to present the auditor name
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-10 20:13:02 -08:00
snipe
2ce44bd4e6
Line break for easier debugging
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-10 20:06:55 -08:00
snyk-bot
15b96f304b
fix: upgrade jquery-ui from 1.13.0 to 1.13.1
...
Snyk has created this PR to upgrade jquery-ui from 1.13.0 to 1.13.1.
See this package in npm:
https://www.npmjs.com/package/jquery-ui
See this project in Snyk:
https://app.snyk.io/org/snipe/project/3d53e1dd-b8bf-46b5-ba61-18ce26933166?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-02-11 01:11:13 +00: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
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
9892e5bf60
Merge pull request #10646 from snipe/fixes/check_field_exist_before_detaching
...
Check that the field exists before trying to detach it from the fieldset
2022-02-09 16:33:02 -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
snipe
2a71690aaf
Added license_name to unescaper
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-09 15:17:57 -08:00
snipe
e4da00ca82
Catch potential validation errors on unescape tool
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-09 15:09:49 -08:00
snipe
4fd14e5859
Added slightly more output because wtf?
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-09 15:05:28 -08:00
snipe
441f1fbb64
Remove html_entities_decode restriction
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-09 14:56:36 -08:00
snipe
bf194d7794
Regenerate JS assets
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-09 14:43:30 -08:00
snipe
d06e3dd892
Merge branch 'master' of https://github.com/snipe/snipe-it
2022-02-09 14:40:33 -08:00
snipe
6b25b53462
Merge pull request #10628 from inietov/fixes/default_values_dont_allow_checkbox_radio
...
Fixes #10299 Default Values do not allow Checkbox/Radio Buttons
2022-02-09 14:39:46 -08:00
Ivan Nieto Vivanco
6d79c9f3e2
Save the default values for custom fields with same format than Assets do for actual values
2022-02-09 13:41:33 -06:00
Ivan Nieto Vivanco
a36957dd77
Finish the implementation of custom fields default values for checkboxes
2022-02-09 13:12:42 -06:00
Ivan Nieto Vivanco
2f3499e4b9
Show checkboxes a little less assy, actually save the data checked by them
2022-02-09 10:49:10 -06:00
Jonathon Reinhart
3536d08477
Add checkin_at parameter to /hardware/:id/checkin API
...
Fixes #10552
2022-02-08 20:23:09 -05:00
snipe
ee3166cdc2
Add @savornicesei as a contributor
2022-02-08 15:38:20 -08:00
snipe
7a117a22c8
Merge pull request #10637 from uberbrady/report_invalid_json
...
Alert when invalid JSON is submitted to something that wants it
2022-02-08 12:17:20 -08:00
Brady Wetherington
9a66f6a254
Remove extraneous backslash
2022-02-08 12:09:40 -08:00
Brady Wetherington
5e94726ec1
Properly alert when invalid JSON is submitted to something that wants JSON
2022-02-08 12:05:05 -08:00
snipe
66c3559e1c
Merge pull request #10636 from inietov/fixes/inconsistencies_between_checkout_checkin_dates_master
...
Fixes #10627 Inconsistencies between checkout/checkin dates on asset history and activity log for master branch
2022-02-08 10:19:16 -08:00
Ivan Nieto Vivanco
413e44be2f
Add custom date to checkin actionlogs and show it in the history of the asset tab
2022-02-08 11:58:23 -06:00
snipe
ebc35c4519
Merge pull request #10630 from JonathonReinhart/10629-checkin-API-error-status
...
Fix /hardware/{id}/checkin API response on error
2022-02-08 08:54:17 -08:00
Jonathon Reinhart
cd963179fd
Fix /hardware/{id}/checkin API response on error
...
Fixes #10629
2022-02-08 01:08:42 -05:00
Ivan Nieto Vivanco
796a0ebdaa
Add initial support for default values in checkboxes customfields
2022-02-07 22:17:40 -06:00
snipe
474f24e40e
Merge branch 'master' of https://github.com/snipe/snipe-it
2022-02-07 18:27:59 -08:00
snipe
b3a0f86431
Temp fix for weird JSON format in history
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-07 18:27:55 -08:00
snipe
1a31231569
Merge pull request #10623 from uberbrady/fix_secure_hosts_in_subdirectory
...
Fixes #10577 - Fix "secure hostnames" feature for subdirectory-based Snipe-IT installs
2022-02-07 11:33:33 -08:00
Brady Wetherington
f1d4087317
Fix "secure hostnames" feature for subdirectory-based Snipe-IT installs
2022-02-07 11:26:54 -08:00
snipe
f4069e00cd
Merge pull request #10611 from uberbrady/master
...
D'oh! Migration fails on empty settings table :(
2022-02-03 20:07:01 -08:00
Brady Wetherington
8650faf0d8
D'oh! Migration fails on empty settings table :(
2022-02-03 20:04:33 -08:00
snipe
796ef741e8
Merge pull request #10610 from uberbrady/fixes/ldap_active_status
...
Fixes #10563 - Rework the LDAP sync command to better handle the active flag
2022-02-03 19:45:41 -08:00
Brady Wetherington
36ae6f9430
Yanked debugging code, tightened up comments.
2022-02-03 19:41:16 -08:00
Brady Wetherington
1945b97b72
Just trying to really tighten up on the LDAP Active Flag and how we parse it.
2022-02-03 19:04:56 -08:00
Brady Wetherington
392e61688d
Rework the LDAP sync command to better handle the active flag
2022-02-03 15:01:45 -08:00
snipe
db82e06665
Fixed migration with invalid LDAP prepopulation value
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-02 18:22:51 -08:00
snipe
ac5c6123bc
Fixes #10563 - LDAP active flag - hopefully?
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-02 18:07:34 -08:00
snipe
8add47739e
Merge pull request #10604 from inietov/fixes/column_activated_cannot_be_null
...
Fixes: Column activated cannot be null [sc-18528]
2022-02-02 12:21:31 -08:00
Ivan Nieto Vivanco
eac8e0bdba
Add a casting to a truthy/falsy that needs to be integer
2022-02-02 13:54:57 -06:00
snipe
2815e0d36e
Fixed audit email template (applies #10592 to master)
...
Signed-off-by: snipe <snipe@snipe.net >
2022-02-01 17:27:32 -08:00
snipe
2e998b110f
Add @TenOfTens as a contributor
2022-02-01 13:40:31 -08:00
snipe
f45c963428
Merge pull request #10586 from inietov/fixes/bulkedit_does_not_show_in_history
...
Fixes Bulk edit doesn't show in Asset's history nor Activity report [sc-16550]
2022-01-31 23:07:02 -08:00
Ivan Nieto Vivanco
2fec40d7df
Adds actionlog for bulk edits
2022-02-01 00:00:12 -06:00
snipe
215beb9d8a
Merge pull request #10580 from misilot/fix-10176-webui-master
...
Replace .my.cnf with column-statistics.cnf at the system level for mysqldump (master)
2022-01-29 07:16:24 -08:00
Tom Misilo
b0c61ee044
Replace .my.cnf with column-statistics.cnf at the system level for mysqldump
...
Fixes #10176
The `column-statistics.cnf` file is copied to `/etc/mysql/conf.d/column-statistics.cnf` for each Dockerfile that exists.
This puts it as a system level mysql client change, so the web ui interface also works.
2022-01-29 07:28:12 -06:00
snipe
16fb2213b5
Updated language strings
...
Signed-off-by: snipe <snipe@snipe.net >
2022-01-28 12:40:03 -08:00
snipe
a0d0645453
Bumped version
...
Signed-off-by: snipe <snipe@snipe.net >
2022-01-28 12:38:42 -08:00
snipe
1ef336a08b
Merge pull request #10576 from snipe/features/add_custom_fields_search
...
Added #9576 - Lookup Asset by Custom Field via API [sc-18632]
2022-01-28 09:51:28 -08:00
snipe
aa3aa78204
Adds Lookup Asset by Custom Field via API [sc-18632]
...
Signed-off-by: snipe <snipe@snipe.net >
2022-01-28 09:08:48 -08:00
snipe
db0a078c0b
Merge pull request #10573 from uberbrady/fix_force_root_url
...
Add some guardrails around very-badly formatted APP_URL settings
2022-01-27 11:29:29 -08:00
Brady Wetherington
1cf1278b3b
Fix whitespace issues
2022-01-27 11:28:51 -08:00
Brady Wetherington
70648dedd3
Add some guardrails around very-badly formatted APP_URL settings
2022-01-27 11:21:46 -08:00
snipe
9634dde0dd
Merge pull request #10567 from inietov/fixes/importing_and_checking_out_licenses_master
...
Fixes Importing licenses without product key duplicates the license
2022-01-27 10:58:06 -08:00
snipe
077caa29f8
Merge pull request #10570 from inietov/fixes/donked_layout_required_field_error_depreciation
...
Fixes donked layout required field error depreciation [sc-17111]
2022-01-26 21:23:51 -08:00
Ivan Nieto Vivanco
a87478d3ac
Set the actual field we are evaluating as required (months)
2022-01-26 23:02:27 -06:00
Ivan Nieto Vivanco
44349db597
Fixes the appearance of some error messages
2022-01-26 22:58:02 -06:00
snipe
c70ae19c28
Merge pull request #10529 from uberbrady/fix_insecure_host_headers
...
Force UrlGenerator's Root URL to be the base of APP_URL unless overriden (v5)
2022-01-26 16:59:55 -08:00
Ivan Nieto Vivanco
55fdc86e02
Tweak query in the License Importer to not require a Product Key
2022-01-26 17:51:04 -06:00
snipe
0721ab8bbf
Regenerated production assets
...
Signed-off-by: snipe <snipe@snipe.net >
2022-01-20 11:01:04 -08:00
snipe
00c8a1ee21
Merge pull request #10533 from inietov/feature/add_remaining_address_field_to_user_import
...
Add Zip field in the User Importer [sc-18556]
2022-01-19 12:07:18 -08:00
Ivan Nieto Vivanco
1fc71a4111
Add Zip field in the User Importer
2022-01-19 13:35:54 -06:00
Brady Wetherington
0c4768fd2a
Force UrlGenerator's Root URL to be the base of APP_URL unless overriden
...
(For v5)
2022-01-18 15:52:59 -08:00
snipe
f9647614ab
Merge pull request #10527 from inietov/fixes/pdo_exception_syntax_error_when_sendexpirationalers_is_called
...
Fixes PDO exeception syntax error when Expiring Alerts Threshold is not set
2022-01-18 12:43:08 -08:00
Ivan Nieto Vivanco
a05795420a
Respect the default value of 60 days in expiring licenses
2022-01-18 14:34:14 -06:00
Ivan Nieto Vivanco
42d86bf57b
Adds default values if the expiring alerts threshold is null
2022-01-18 14:21:49 -06:00
snipe
201b52baf8
Merge pull request #10523 from inietov/fixes/depreciation_report_shows_assets_that_not_deprecate_master
...
Fixes bug where the depreciation report shows assets that not deprecate for master
2022-01-18 10:37:21 -08:00
Ivan Nieto Vivanco
f510b9c2a9
Add query to filter non-deprecable assets when the Depreciation Report is called
2022-01-15 14:21:31 -06:00
snipe
75bd365ca1
Merge pull request #10521 from inietov/fixes/sc-14356/importer_creating_duplicate_asset_models_master
...
Fixes an issue where importer is creating duplicate asset models for Master Branch
2022-01-15 07:46:39 -08:00
Ivan Nieto Vivanco
153c30eda8
Add to Importer the capacity to search Models only with Model Name since Model Number is not required
2022-01-15 04:32:47 -06:00
snipe
be7e6ed847
Merge pull request #10502 from uberbrady/ldap_useraccountcontrol_dont_req_preauth
...
Add new UserAccountControl to permitted UAC's for AD.
2022-01-13 17:01:47 -08:00
snipe
115109f612
Merge pull request #10510 from misilot/fix-10176-master
...
Looks great, thanks!
2022-01-13 13:22:22 -08:00
Thomas Misilo
037a912e21
Adding .my.cnf to disable column-statistics backup
...
Fixes #10176
The ```.my.cnf``` file is copied to ```/root/.my.cnf``` for each
Dockerfile that exists
2022-01-13 15:16:59 -06:00
snipe
984db1ef44
Apply personal API token fix to master
...
Signed-off-by: snipe <snipe@snipe.net >
2022-01-13 01:39:56 -08:00
Brady Wetherington
c8fe929e09
Add new UserAccountControl to permitted UAC's for AD.
2022-01-12 12:07:51 -08:00
snipe
181dc5127f
Add @UniversalSuperBox as a contributor
2022-01-11 15:03:08 -08:00
snipe
303fc39966
Regenerated assets to pikc up #10089 changes
...
Signed-off-by: snipe <snipe@snipe.net >
2022-01-11 14:38:17 -08:00
snipe
730c2a6821
Merge pull request #10496 from UniversalSuperBox/fix/improve-asset-card-view
...
Fixed #10089 (partially): Back to master: Added some BS tables style overrides for mobile
2022-01-11 14:10:18 -08:00
snipe
bc10761b49
Bumped version
...
Signed-off-by: snipe <snipe@snipe.net >
2022-01-11 12:44:16 -08:00
snipe
cf14a0222c
Merge pull request #10498 from Haxatron/master
...
Fix access control
2022-01-10 19:24:31 -08:00
snipe
b18b3812df
Back to master: Added some BS tables style overrides for mobile
...
This repeats 06e8e826 , which alone improves the mobile view immensely,
on master.
2022-01-10 15:23:43 -06:00
Haxatron
bb095641c2
Update BulkAssetModelsController.php
...
https://huntr.dev/bounties/efdf2ead-f9d1-4767-9f02-d11f762d15e7
2022-01-06 09:50:11 +08:00
snipe
b78e610ce3
Merge pull request #10480 from snipe/fixes/check_for_valid_custom_field
...
Fixed format property on invalid custom field object when trying to edit a field that doesn't exist
2022-01-03 19:28:25 -08:00
snipe
884b6b0270
Fixes format property on invalid custom field object
...
Signed-off-by: snipe <snipe@snipe.net >
2022-01-03 19:14:50 -08:00
snipe
7a1ab1292c
Merge pull request #10479 from adagioajanes/fixes/auto_asset_tag_phrasing
...
Fixed auto asset tag phrasing
2021-12-31 15:17:59 -08:00
Alex Janes
87bb741013
Merge branch 'snipe:master' into fixes/auto_asset_tag_phrasing
2021-12-31 16:34:57 -05:00
Alex Janes
5fe2083688
Adjusted the phrasing around auto-incrementing asset tags.
2021-12-31 16:33:30 -05:00
snipe
2ee84c2675
Added a few more comments
...
Signed-off-by: snipe <snipe@snipe.net >
2021-12-30 18:33:28 -08:00
snipe
39a5b6b426
Merge pull request #10478 from snipe/fixes/whitelist_modal_views
...
Added allow list to modal view options
2021-12-30 18:29:30 -08:00
snipe
c6ce928567
Added allow list to modal view options
...
Signed-off-by: snipe <snipe@snipe.net >
2021-12-30 18:16:49 -08:00
snipe
950a23b0f4
Merge pull request #10476 from snipe/fixes/custom_fieldsets_index
...
Fixed missing index for fieldsets
2021-12-30 13:18:13 -08:00
snipe
b4fac3e4ae
Fixed missing index for fieldsets
...
Signed-off-by: snipe <snipe@snipe.net >
2021-12-30 13:16:44 -08:00
snipe
548e483ef8
Merge pull request #10475 from snipe/fixes/wrong_default_sort_on_kits
...
Fixed assets_count doesnt exist as a column on kits
2021-12-30 13:02:12 -08:00
snipe
bad6b862ca
assets_count doesnt exist as a column
...
Signed-off-by: snipe <snipe@snipe.net >
2021-12-30 12:59:16 -08:00
snipe
4e336e11ee
Merge pull request #10470 from snipe/increase_address_length_for_supplier
...
Fixed #10469 - increased size of supplier address field
2021-12-27 12:29:13 -08:00
snipe
8588e9ebf1
Fixed #10469 - increased size of supplier address field
...
Signed-off-by: snipe <snipe@snipe.net >
2021-12-27 12:28:02 -08:00
snipe
11524d0f7d
Merge pull request #10463 from adagioajanes/fixes/pass_total_to_GroupsTransformer
...
Fixed #10461 : Groups management page did not paginate correctly
2021-12-24 10:39:22 -08:00
Alex Janes
d0bfd8dfd2
Fixed the collection of the groups total to GroupsTransformer.php. Groups page should now paginate correctly.
2021-12-23 20:54:34 -05:00
snipe
312200bf44
Removed duplicate "department" entry in importer, pulls #10460 to master
...
Signed-off-by: snipe <snipe@snipe.net >
2021-12-21 13:37:20 -08:00
snipe
04f4bb83e9
Bumped version
...
Signed-off-by: snipe <snipe@snipe.net >
2021-12-16 20:37:22 -08:00
snipe
9b2dd6522f
Switch GET to POST for asset request
...
Signed-off-by: snipe <snipe@snipe.net >
2021-12-16 20:36:08 -08:00
snipe
a05fe9c1f7
Add @exula as a contributor
2021-12-15 09:30:36 -08:00
snipe
395401e9db
Merge pull request #10439 from exula/exula-fix-slack-settings
...
Update SettingsController.php to save Slack Settings
2021-12-15 08:36:18 -08:00
Bradley Coudriet
dbdc1c7f3f
Update SettingsController.php to save Slack Settings
...
This goes with #10438 that I just submitted about Slack Settings not saving.
This adds the necessary code to actually save the Slack Settings,
As they are already validated by the SlackSettingsRequest, this seems like an easy and low-impact fix.
2021-12-15 10:38:51 -05:00
snipe
ace4a00e29
Merge pull request #10433 from inietov/features/adding_title_to_custom_report_master
...
Add title column to custom reports on master branch
2021-12-14 10:28:18 -08:00
Ivan Nieto Vivanco
c80aa2a289
Add title column to custom reports
2021-12-14 12:05:33 -06:00
snipe
25e2e7ecc6
Merge pull request #10418 from inietov/fixes/bulk_edit_count_more_users_than_selected
...
Fixes bulk edit message counts more users than the actual selected users number
2021-12-13 14:13:14 -08:00
snipe
02be4773de
Bumped version
...
Signed-off-by: snipe <snipe@snipe.net >
2021-12-13 12:07:34 -08:00
snipe
c988d84271
Merge pull request #10426 from snipe/fixes/added_escape_to_asset_api_assigned_to
...
Added escape to assigned_to API response
2021-12-13 12:06:08 -08:00
snipe
9d5d1a9f9a
Added escape to assigned_to API response
...
Signed-off-by: snipe <snipe@snipe.net >
2021-12-13 12:03:03 -08:00
snipe
3a7cef15bd
Merge pull request #10423 from misilot/automated-image-build-github-actions
...
Automatic Building of Docker Images and Pushing to DockerHub
2021-12-13 11:32:57 -08:00
snipe
44d3a425cb
Merge pull request #10422 from misilot/docker-alpine-build-automatic
...
Adds an automatic build for Alpine Linux based Image
2021-12-13 11:32:42 -08:00
snipe
1854d7d668
Updated language strings
...
Signed-off-by: snipe <snipe@snipe.net >
2021-12-13 11:28:01 -08:00
snipe
e5f4048e9e
Bumped version
...
Signed-off-by: snipe <snipe@snipe.net >
2021-12-13 11:01:02 -08:00
Thomas Misilo
5e58f60845
Adds an automatic build for Alpine Linux based Image
...
This Fixes #10339 , and allows for automatic building of the Alpine Linux
image, and push to docker-hub.
This will push a "latest-alpine" based on the master branch, a
"develop-alpine" based on the develop branch, and a v##.##.##-alpine
image based on any released version.
`DOCKER_USERNAME` and `DOCKER_ACCESS_TOKEN` do both need
to be added to the repository as secrets.
2021-12-13 10:39:55 -06:00
Thomas Misilo
a7760b331b
Automatic Building of Docker Images and Pushing to DockerHub
...
This allows for building and pushing of the Snipe-IT docker images
directly from GitHub to DockerHub.
This will push a "latest" based on the master branch, a
"develop" based on the develop branch, and a v##.##.##
image based on any released version.
`DOCKER_USERNAME` and `DOCKER_ACCESS_TOKEN` do both need
to be added to the repository as secrets.
2021-12-13 10:39:04 -06:00
Ivan Nieto Vivanco
a419a690d4
Add a variable to better control the selected user's ids
2021-12-11 18:01:38 -06:00
snipe
39b0dc136c
Added LDAP strings back
...
Signed-off-by: snipe <snipe@snipe.net >
2021-12-11 10:14:35 -08:00
snipe
d0e7879c89
Merge pull request #10415 from uberbrady/fix_actionlog_memory_exhaustion
...
Remove 'actionlog' from the ::with() clause in the asset query API
2021-12-10 19:10:40 -08:00
Brady Wetherington
acfb41f129
Remove 'actionlog' from the ::with() clause in the asset query API
2021-12-10 18:42:56 -08:00
snipe
5381aa3fbd
Merge branch 'master' of https://github.com/snipe/snipe-it
2021-12-10 15:17:45 -08:00
snipe
e20a10a6a1
Add @Haxatron as a contributor
2021-12-10 15:17:26 -08:00
snipe
949141a8e7
Merge pull request #10414 from snipe/added_model_to_accessory_report
...
Added model number to accessory report
2021-12-10 15:10:02 -08:00
snipe
e1bf3b50f4
Added model number to accessory report
...
Signed-off-by: snipe <snipe@snipe.net >
2021-12-10 15:09:29 -08:00
snipe
cf5e3da3a5
Merge pull request #10406 from Haxatron/fix-access-control
...
security fix
2021-12-09 11:23:35 -08:00
Haxatron
1699c09758
Update AssetModelsController.php
2021-12-09 21:42:18 +08:00
Haxatron
918e7c8dae
Fix access control - https://huntr.dev/bounties/19453ef1-4d77-4cff-b7e8-1bc8f3af0862/
2021-12-09 12:57:04 +08:00
snipe
86afe6c4b1
Cleanup slack validation
...
Signed-off-by: snipe <snipe@snipe.net >
2021-12-08 18:03:56 -08:00
snipe
ff97b359ad
Removed form request on ajax, cleaned up some other things
...
Signed-off-by: snipe <snipe@snipe.net >
2021-12-08 17:58:46 -08:00
snipe
81b66d0039
Change validation failure to 422 to make it consistent with Laravel's default
...
Signed-off-by: snipe <snipe@snipe.net >
2021-12-08 17:54:35 -08:00
snipe
8fa690b635
Reverting form request because it doesn't seem to work (????!!)
...
Signed-off-by: snipe <snipe@snipe.net >
2021-12-08 17:54:15 -08:00
snipe
8c1cd87831
Added slacksettingsrequest as use statement
...
Signed-off-by: snipe <snipe@snipe.net >
2021-12-08 15:56:22 -08:00
snipe
cde2bad297
Small mods to slack jquery
...
Signed-off-by: snipe <snipe@snipe.net >
2021-12-08 15:56:05 -08:00
snipe
80d36cd72b
Added slack settings request
...
Signed-off-by: snipe <snipe@snipe.net >
2021-12-08 15:53:05 -08:00
snipe
a579353198
Add @bestlong as a contributor
2021-11-24 20:04:26 -08:00
snipe
7360e15d4e
Add @sneak-it as a contributor
2021-11-24 20:04:05 -08:00
snipe
9dc2fa61b8
Add @adamboutcher as a contributor
2021-11-24 20:03:52 -08:00
snipe
80fd49a59e
Add @leitwerk-ag as a contributor
2021-11-24 20:03:40 -08:00
snipe
d30fa9199c
Merge branch 'master' of https://github.com/snipe/snipe-it
2021-11-24 19:58:52 -08:00
snipe
8028b39b43
Bumped version
...
Signed-off-by: snipe <snipe@snipe.net >
2021-11-24 19:58:43 -08:00
snipe
ff81e6d536
Merge pull request #10361 from snipe/fixes/xss_in_accessories_checkout_notes
...
Escape notes in transformCheckedOutAccessory
2021-11-24 19:56:36 -08:00
snipe
00fad35c2a
Escape notes in transformCheckedOutAccessory
...
Signed-off-by: snipe <snipe@snipe.net >
2021-11-24 19:54:45 -08:00
snipe
3b68a6f1be
Merge pull request #10345 from leitwerk-ag/master
...
Fixed #10344 and #9135 : don't prepand fields with a whitespace in text based export formats
2021-11-24 19:43:21 -08:00
snipe
bc91aef47d
Merge pull request #10352 from adamboutcher/install_rocky
...
Improved Installer: Added Rocky Linux Support
2021-11-24 19:42:37 -08:00
snipe
3debe78574
Merge pull request #10350 from inietov/fixes/trim_custom_fields_names
...
Apply trim() function when storing Custom Fields names
2021-11-24 19:42:04 -08:00
snipe
fc1b3b31b5
Merge pull request #10358 from sneak-it/bullseye
...
Improved Installer: Add Debian 11 (Bullseye) install script support
2021-11-24 19:41:37 -08:00
snipe
4afd598df7
Merge pull request #10356 from bestlong/fix_modal_dialog_html_typo
...
fix modal-title html tag unpaired.
2021-11-24 19:39:58 -08:00
snipe
d1d3f893ac
Merge pull request #10360 from snipe/fixes/escaped_characters_on_asset_create_checkout
...
Removed escaping on input save for asset checkout on creation
2021-11-24 19:20:54 -08:00
snipe
830d07f84f
Removed escaping on input save for asset checkout on creation
...
Signed-off-by: snipe <snipe@snipe.net >
2021-11-24 19:19:32 -08:00
snipe
0e30b9aef7
Merge pull request #10355 from inietov/fixes/customfields_with_date_format_doesnt_display_default_value_master
...
Fixes Default Values - Date not applying for master branch
2021-11-24 18:22:02 -08:00
sneaK
b937aedc30
Add Debian 11 (Bullseye) install script support
2021-11-24 10:24:05 -05:00
Shao Yu-Lung
55d05eeae3
fix modal-title html tag unpaired.
2021-11-24 10:28:10 +08:00
Ivan Nieto Vivanco
d95d3dc282
Add the call to defaultValue() function in custom fields with date format
2021-11-23 17:21:46 -06:00
Adam
ab06c26527
Rocky Linux Support
...
Addition to enable Rocky Linux installation.
2021-11-23 16:13:38 +00:00
Ivan Nieto Vivanco
1ca770895a
Apply trim() function when storing Custom Fields names
2021-11-22 18:43:21 -06:00
Klaus J. Mueller
a85fa14f9c
fix #10344 and #9135
2021-11-22 17:58:26 +01:00
snipe
b058d84f2c
Merge pull request #10322 from snipe/uberbrady-patch-2
...
Change the `[END]` directive in `.htaccess` to `[L]`
2021-11-17 18:01:52 -08:00
Brady Wetherington
5fb05d8b1c
Change the [END] directive in .htaccess to [L]
...
This allows backwards-compatibility with older Apache versions (which we _used_ to have), and should do the exact same thing.
2021-11-17 15:29:51 -08:00
snipe
78809c0fe7
Bumped version
...
Signed-off-by: snipe <snipe@snipe.net >
2021-11-16 12:02:45 -08:00
snipe
7ce5993f5a
Merge pull request #10315 from snipe/fixes/escape_custom_fields_in_api_response
...
Escape custom field values in API response
2021-11-15 20:33:51 -08:00
snipe
f7b483358f
Escape custom field values in API response
...
Signed-off-by: snipe <snipe@snipe.net >
2021-11-15 20:32:59 -08:00
snipe
e75a5f13ec
Merge pull request #10303 from inietov/fixes/weird_field_showing_up
...
Added the current_value string to correspondig 'en' language directory
2021-11-15 14:29:34 -08:00
snipe
cf4e13f4df
Merge pull request #10312 from andrewshulgin/patch-1
...
Fixed : #10311 : Docker: ldap_client_tls.{key,cert} are located in /var/www/html/storage instead of /var/lib/snipeit/keys
2021-11-15 14:28:59 -08:00
snipe
8e7565cbe9
Merge pull request #10313 from snipe/snyk-fix-d1fb08ebb2899913c99652bb6e188696
...
[Snyk] Security upgrade bootstrap-table from 1.18.3 to 1.19.1
2021-11-15 14:28:37 -08:00
snyk-bot
4839b0e008
fix: package.json & package-lock.json to reduce vulnerabilities
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-BOOTSTRAPTABLE-1657597
2021-11-13 05:19:33 +00:00
Andrew Shulgin
d3ddafdff4
Dockerfile: symlink for ldap_client_tls.{cert,key}
2021-11-13 03:00:09 +02:00
Ivan Nieto Vivanco
b07db3b324
Added the current_value string to correspondig 'en' language directory
2021-11-11 14:43:47 -06:00
snipe
9ed1442bd1
Merge pull request #10286 from uberbrady/fix_bulk_audit_xss
...
Escape asset_tag attribute at controller level for bulk checkout
2021-11-08 20:32:02 -08:00
Brady Wetherington
3ea209a507
Escape asset_tag attribute at controller level for consumption in bulk checkout
2021-11-08 20:27:43 -08:00
snipe
edf98cb795
Merge pull request #10279 from snipe/fixes/turn_get_into_post_for_custom_field_required
...
Turn custom fields required/optional/remove into POST requests
2021-11-08 14:37:36 -08:00
snipe
16d18bc7eb
Merge pull request #10283 from snipe/fixes/remove_get_logout_route
2021-11-08 12:55:19 -08:00
snipe
38c36af6fc
Changes logout to POST
...
Signed-off-by: snipe <snipe@snipe.net >
2021-11-08 12:53:11 -08:00
snipe
b5855e7be5
Removed get route for logout
...
Signed-off-by: snipe <snipe@snipe.net >
2021-11-08 12:35:15 -08:00
snipe
0d811d067c
Turn cusotm fields required/optional/remove into POST requests
...
Signed-off-by: snipe <snipe@snipe.net >
2021-11-05 10:53:48 -07:00
snipe
fba0e2b712
Revert tableexport
...
(It broke the npm run prod build)
Signed-off-by: snipe <snipe@snipe.net >
2021-11-03 16:17:19 -07:00
snipe
608c2f91a8
Updated package lock
...
Signed-off-by: snipe <snipe@snipe.net >
2021-11-03 16:04:48 -07:00
snipe
960028b376
Bumped version
...
Signed-off-by: snipe <snipe@snipe.net >
2021-11-03 16:04:39 -07:00
snipe
6690a0f1df
Merge pull request #10257 from Wouter0100/patch-1
...
fix(Docker): use correct python binary for exit listener
2021-11-02 14:53:35 -07:00
Wouter van Os
2c49c32e72
Fixed #10231 : use correct python binary for exit listener
...
This fixes #10231 , without creating an own Dockerfile.
2021-11-02 13:06:36 +01:00
snipe
76cc46c419
Merge pull request #9814 from 01ste02/importMinAmt
...
Improved Consumable Import: Import min_amt for consumables
2021-10-28 17:49:44 -07:00
snipe
dc71f6ddc6
Merge pull request #9871 from jethron/patch-1
...
Fixed: double slashes in branding logo URL path
2021-10-28 17:36:43 -07:00
snipe
7470fdb605
Merge pull request #9912 from snipe/snyk-upgrade-1377cc2d38a76585c814757398543f5f
...
[Snyk] Upgrade tableexport.jquery.plugin from 1.10.21 to 1.10.26
2021-10-28 17:15:10 -07:00
snipe
930e220cf1
Merge pull request #9915 from snipe/snyk-upgrade-b2b26cf8ec7a697fe0094f699652a345
...
[Snyk] Upgrade bootstrap-table from 1.18.2 to 1.18.3
2021-10-28 17:12:47 -07:00
snipe
2f9e5f79af
Merge pull request #10139 from FliegenKLATSCH/patch-1
...
API: Do not include deleted items per default on lookup by serial
2021-10-28 17:09:20 -07:00
snipe
927fba179d
Merge pull request #10241 from snipe/snyk-fix-a23047e623395f58c0f4d50feb55a3a3
...
[Snyk] Security upgrade jquery-ui from 1.12.1 to 1.13.0
2021-10-28 16:35:32 -07:00
snyk-bot
dfde50732b
fix: package.json & package-lock.json to reduce vulnerabilities
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-JQUERYUI-1767167
- https://snyk.io/vuln/SNYK-JS-JQUERYUI-1767175
- https://snyk.io/vuln/SNYK-JS-JQUERYUI-1767767
2021-10-28 07:28:38 +00:00
snipe
7455318fcf
Merge pull request #10225 from snipe/fixes/default_label_in_status_label_api
...
Set default_label to 0 instead of null in API
2021-10-25 20:18:37 -07:00
snipe
17bf899a17
Set default_label to 0 instead of null in API
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-25 20:14:01 -07:00
snipe
a5230319b8
Merge pull request #10223 from snipe/fixes/fixed_missing_clone_button
...
Fixed #10222 - fixed permissions array to handle missing clone button
2021-10-25 15:39:28 -07:00
snipe
8b1c60a17a
Make gates a little more consistent
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-25 15:34:22 -07:00
snipe
033c3253bb
Fixed permissions array to handle missing clone button
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-25 14:10:17 -07:00
snipe
a88f622ec3
Bumped version
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-18 16:45:51 -07:00
snipe
f87ffb84d5
Merge pull request #10201 from snipe/fixes/xss_on_export
...
Fixes possible XSS on all-file-types export
2021-10-15 09:54:52 -07:00
snipe
bda23bb1e6
Fixes possible XSS on all-file-types export
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-15 11:50:52 -05:00
FliegenKLATSCH
24c484303e
Do not include deleted assets by default when doing lookup by serial
...
This commit introduces a new query parameter `deleted`, which can be set to `true` to include deleted assets in the response.
2021-10-09 08:56:31 +02:00
snipe
5d94b99035
Switched to 5 in one minute
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-08 15:53:32 -07:00
snipe
c4856c8aed
Merge pull request #10180 from snipe/fixes/add_rate_limiting_to_forgotten_password
...
Throttle password reset requests to 5 every 60 seconds
2021-10-08 15:44:43 -07:00
snipe
0674ef5a3d
Fixed number to 1 (for minutes)
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-08 15:43:32 -07:00
snipe
702791210e
Throttle password reset requests to 5 every 60 seconds
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-08 14:26:30 -07:00
snipe
1c77fd0d09
Merge pull request #10178 from inietov/bug/sc-17520/symfony_component_debug_exception_fatalthrowableerror
...
Fixed typo when setting the headers
2021-10-08 12:04:45 -07:00
Ivan Nieto Vivanco
d184da8611
Fixed typo (thanks @ssddanbrown)
2021-10-08 13:39:49 -05:00
snipe
ac76364140
Merge pull request #10172 from snipe/fixes/S3_upload_preview
...
Fixed models preview - Use Storage:: facade
2021-10-06 13:14:02 -07:00
snipe
7848a3c3dc
Use Storage:: facade for image preview for models
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-06 13:12:42 -07:00
snipe
f41ec640fe
Added Huntr.dev badge
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-06 12:49:30 -07:00
snipe
fc5efd857f
Merge pull request #10171 from snipe/fixes/xss_svg_in_file_uploads
...
Fixed SVG XSS vuln
2021-10-06 12:38:51 -07:00
snipe
ccd430ce07
Switched back down to debug level
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-06 12:38:21 -07:00
snipe
f306401e7e
Fixed SVG XSS vuln
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-06 12:26:45 -07:00
snipe
c06a93ef13
Removed extra brace in assets for components
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-06 10:38:13 -07:00
snipe
17d4e25e60
Merge pull request #10167 from inietov/bug/sc-17520/symfony_component_debug_exception_fatalthrowableerror
...
Set headers in a different manner in the middleware [sc-17520]
2021-10-05 14:06:39 -07:00
Ivan Nieto Vivanco
ef6eea67d8
Set headers in a different manner in the middleware
2021-10-05 14:09:35 -05:00
snipe
84c73aae5d
Merge pull request #10165 from snipe/fixes/set_restore_actions_to_POST_requests
...
Set restore actions to POST requests instead of GET
2021-10-04 20:40:33 -07:00
snipe
dc3af7cc74
Resolved conflicts
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-04 20:39:24 -07:00
snipe
34eab88b7e
Removed debugging
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-04 20:25:31 -07:00
snipe
903609b5a5
Updated languages
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-04 19:59:55 -07:00
snipe
e491a93892
Removed restore link
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-04 19:56:56 -07:00
snipe
b20c841a89
Fixed asset models restore
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-04 19:29:13 -07:00
snipe
8fe59f8383
Switch users restore over to POST
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-04 19:22:38 -07:00
snipe
8bf09d9f89
Make form-based restore button on asset view
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-04 19:01:16 -07:00
snipe
3594ec9905
Handle bulk check and uncheck
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-04 17:58:16 -07:00
snipe
52caee2a9f
Handle checking and unchecking for bulk actions
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-04 17:18:26 -07:00
snipe
52ea172e5d
Fix ID array
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-04 17:18:07 -07:00
snipe
caad5be957
Updated routes to use POST for restore
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-04 17:17:36 -07:00
snipe
fa1cf3073b
Add @alwism as a contributor
2021-10-04 15:04:58 -07:00
snipe
71badee78a
Add @Robert-Azelis as a contributor
2021-10-04 15:04:47 -07:00
snipe
cb0d1add8d
Add @01ste02 as a contributor
2021-10-04 15:04:22 -07:00
snipe
1b0d11a572
Add @jethron as a contributor
2021-10-04 15:03:50 -07:00
snipe
9e522b6a4d
Add @Computroniks as a contributor
2021-10-04 15:03:35 -07:00
snipe
a773e70936
Add @Toreg87 as a contributor
2021-10-04 15:03:23 -07:00
snipe
92a38f2a23
Add @jerm as a contributor
2021-10-04 15:03:05 -07:00
snipe
542f774c68
Add @FliegenKLATSCH as a contributor
2021-10-04 15:02:56 -07:00
snipe
67e106c7fa
Add @AL4AL as a contributor
2021-10-04 15:02:51 -07:00
snipe
536b5717f0
Merge pull request #10164 from snipe/fixes/require_revalidation_on_logout_back_button
...
Force revalidation headers when user logs out
2021-10-04 12:56:03 -07:00
snipe
9b48732cd2
Force revalidation headers when user logs out
...
Signed-off-by: snipe <snipe@snipe.net >
2021-10-04 12:52:48 -07:00
snipe
244616b31e
Merge pull request #10157 from snipe/jerm/fix-cachedir-ownership
...
[Docker] Fix ownership of cache directory in startup script
2021-10-01 17:50:36 -07:00
Jeremy Price
22313711d5
Fix ownership of cache directory
...
Snipe-IT was waiting to load because
/var/www/html/storage/framework/cache/ and its contet were owned by
root:root, but docker needed to be able to write to them
This change recursively chowns that path to docker:root, and now it
loads.
2021-10-01 16:54:17 -07:00
snipe
89e650f842
Fixed typo
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-30 16:01:56 -07:00
snipe
daa88f06f7
Added pivot to components JSON
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-30 15:51:08 -07:00
snipe
d0acb9fdb4
Applies PR #10150 to master
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-30 15:33:00 -07:00
snipe
8e437a66af
Merge branch 'master' of https://github.com/snipe/snipe-it
2021-09-28 20:03:35 -07:00
snipe
f232579e2b
Added Discord badge
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-28 20:02:46 -07:00
snipe
7b7583fde3
Merge pull request #10141 from uberbrady/fix_currency_problems
...
Fixed #9789 and Fixed #10088 and Fixed [fd23442] - Fix currency problems especially with European currency format
2021-09-28 19:37:25 -07:00
Brady Wetherington
ae466be153
Fix license output, tweak CleanFloat function to handle numbers over 1 million
2021-09-28 19:10:25 -07:00
Brady Wetherington
f3338667c7
Create new ParseCurrency helper and use it in the appropriate controllers
2021-09-28 18:20:39 -07:00
Brady Wetherington
f380da3f19
Try to ensure all currency output is formatted correctly.
2021-09-28 16:45:47 -07:00
snipe
919eaf320c
Updated javascript assets
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-23 19:00:53 -07:00
snipe
c9337a1947
Merge branch 'master' of https://github.com/snipe/snipe-it
2021-09-23 18:59:25 -07:00
snipe
d069d032fc
Updated JS asset
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-23 18:59:13 -07:00
snipe
d37dedb654
Merge pull request #10123 from takuy/patch-1
...
Fixed #9928 : update expected field name for response list
2021-09-23 18:57:02 -07:00
snipe
fedf51dda4
Fixed typo
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-23 18:29:47 -07:00
snipe
53334f7905
Merge pull request #10124 from snipe/features/added_components_to_assets_API
...
Added assigned components to assets API
2021-09-23 18:26:57 -07:00
snipe
2f9582ee5c
Switched to loadMissing for performance
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-23 17:31:19 -07:00
snipe
3b7ce0091c
Load components in the assets API if components=true in API request
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-23 17:23:53 -07:00
snipe
6e270c0ed2
Include created_at in pivot
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-23 17:23:17 -07:00
Sam
d0f284129a
Update expected field for response list
...
The existing code to handle the "enter key" / auto selections broke at some point. It was expecting results to be in an "items" list, not a "results" list. This should close #9928 hopefully. Tested locally.
2021-09-23 20:12:45 -04:00
snipe
6aa7e9cbfa
Merge branch 'master' of https://github.com/snipe/snipe-it
2021-09-23 14:32:48 -07:00
snipe
3862b6476b
Merge pull request #10122 from inietov/fixes/api_issue_when_component_checkout
...
Fixes API Issue when checking out a component
2021-09-23 13:21:48 -07:00
Ivan Nieto Vivanco
7dfab3a6e2
Change the condition to 'bigger or equal' instead of just 'bigger than' in ComponentsController checkout api
2021-09-23 15:02:39 -05:00
snipe
0f40ba2b34
Check for admin rights before displaying admin permission options
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-22 19:31:49 -07:00
snipe
39a702397a
Add user permissions message if the user is not an admin or better
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-22 19:05:02 -07:00
snipe
a6b3aa5f04
Don't try to delete the file if there is no log entry
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-22 19:04:25 -07:00
snipe
3821c4d372
Merge remote-tracking branch 'origin/develop'
2021-09-21 21:53:40 -07:00
snipe
104d66b4b1
Merge pull request #10115 from snipe/features/added_footer_to_depreciation_report_totals
...
Added totals to depreciation report footer
2021-09-21 21:53:17 -07:00
snipe
b4a90045e6
Added totals to depreciation report footer
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-21 21:52:18 -07:00
snipe
3b9b63a7a8
Merge remote-tracking branch 'origin/develop'
2021-09-21 21:29:11 -07:00
snipe
9b78b25372
Grr. 100 should be 1000
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-21 21:28:59 -07:00
snipe
0411f63591
Merge remote-tracking branch 'origin/develop'
2021-09-21 21:25:39 -07:00
snipe
7df4f98e19
Bump number per page up to 1000
...
Use this shit at your own peril. Very large pages will load slowly, as these are very complex queries.
Signed-off-by: snipe <snipe@snipe.net >
2021-09-21 21:25:22 -07:00
snipe
86a4f2d3ec
Merge remote-tracking branch 'origin/develop'
2021-09-21 20:54:37 -07:00
snipe
0763c76a4e
Fixed scoping with leftjoin
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-21 20:54:24 -07:00
snipe
3af7c66de7
Merge remote-tracking branch 'origin/develop'
2021-09-21 20:11:08 -07:00
snipe
0be4b21721
Merge pull request #10114 from snipe/fixes/sorting_in_non_assets
...
Fixes sorting on non-asset relations in API
2021-09-21 20:09:43 -07:00
snipe
5d32c17a2e
Removed comments
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-21 20:01:36 -07:00
snipe
10ca7cffc3
Fixes for query scoping, ordering, and nicer readability
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-21 19:59:23 -07:00
snipe
05faffbd28
Merge remote-tracking branch 'origin/develop'
2021-09-21 17:50:35 -07:00
snipe
dacdf788bc
Reverted erroneous german text in UK language files
2021-09-21 17:50:13 -07:00
snipe
d54057e495
Merge remote-tracking branch 'origin/develop'
2021-09-21 15:55:04 -07:00
snipe
a22c35140b
Merge pull request #10112 from snipe/fixes/strtolower_for_category_type
...
Improved category_type with strtolower() to make it case insensitive
2021-09-21 15:54:35 -07:00
snipe
61176335d7
Improved category_type with strtolower() to make it case insensitive
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-21 15:51:41 -07:00
snipe
11c8b1259e
Merge remote-tracking branch 'origin/develop'
2021-09-20 18:49:17 -07:00
snipe
9b52c61d95
Updated banner with better warning
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-20 18:49:04 -07:00
snipe
2dfb965885
Merge pull request #10104 from snipe/fixes/revamp_pave_command_to_persist_api_keys
...
Fixes pave command to persist api keys and first few test users
2021-09-20 18:48:11 -07:00
snipe
36464bc17d
Fix confirmation, because apparently you can't pass that along via cli vs interactively
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-20 18:22:06 -07:00
snipe
f35208d58d
Clean up, find custom fields and drop those columns
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-20 18:03:13 -07:00
snipe
4d30edd535
Let's make sure to keep some of the stuff we need on the demo as well
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-20 17:29:32 -07:00
snipe
957f33c8cf
First stab at a better pave command
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-20 17:19:41 -07:00
snipe
7c8c567eaf
Merge remote-tracking branch 'origin/develop'
2021-09-20 15:12:53 -07:00
snipe
6772ace94e
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-09-20 15:10:54 -07:00
snipe
ee28f3e853
Merge branch 'snyk-fix-bb1a61f0d07295579c411381da690d4c' of https://github.com/snipe/snipe-it into develop
2021-09-20 15:10:31 -07:00
snipe
81f1f4ce6f
Add @vapier as a contributor
2021-09-20 15:07:37 -07:00
snipe
3b79038879
Merge pull request #10082 from vapier/develop
...
add rewrite rule for Let's Encrypt certificates
2021-09-20 14:57:14 -07:00
snipe
7e611fa699
Merge remote-tracking branch 'origin/develop'
2021-09-15 13:55:12 -07:00
snipe
e8ad5dc273
Merge pull request #10086 from snipe/fixes_depreciation_report
...
Fixed extraneous asset search in depreciation report
2021-09-15 13:54:32 -07:00
snipe
8a93e1e796
Remove asset call on depreciation report controller method
...
We ajax this in now, so no need for it
Signed-off-by: snipe <snipe@snipe.net >
2021-09-15 13:49:53 -07:00
snipe
3d7000f759
Merge remote-tracking branch 'origin/develop'
2021-09-15 11:33:30 -07:00
snipe
d96f877aa4
Default show_in_nav to 0
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-15 11:33:13 -07:00
Mike Frysinger
7b665ade0a
add rewrite rule for Let's Encrypt certificates
...
The LE tools need access to a stable path to automatically obtain
certificates, so add a rewrite rule to allow it.
2021-09-14 16:21:31 -04:00
snipe
02705d0d1a
Fixed S3 upload path
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-14 12:49:17 -07:00
snipe
772a06c87a
Merge remote-tracking branch 'origin/develop'
2021-09-13 17:13:20 -07:00
snipe
0d633ce618
Fixed issue where created_at date was not showing on uploads
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-13 17:13:01 -07:00
snipe
cedf77b5ed
Merge remote-tracking branch 'origin/develop'
2021-09-13 15:47:25 -07:00
snipe
c6b26965a0
Check for valid category name
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-13 15:47:13 -07:00
snipe
4b303adda7
Merge pull request #10080 from uberbrady/upgrade_docker_php74
...
Upgrade Docker to PHP 7.4
2021-09-13 15:30:32 -07:00
Brady Wetherington
37fe4e91b1
Upgrade Docker to PHP 7.4
2021-09-13 15:24:30 -07:00
snipe
179f26ca2e
Merge pull request #10079 from inietov/fixes/archived_assets_showing_in_locations
...
Awesome, thanks!
2021-09-13 14:46:44 -07:00
Ivan Nieto Vivanco
1ae665b645
Use the property 'archived' so if the 'name' one changes it doesn't fails
2021-09-13 16:45:05 -05:00
Ivan Nieto Vivanco
1b433920f1
Delete an extra semicolon
2021-09-13 16:24:12 -05:00
Ivan Nieto Vivanco
2b64af0d34
Add a condition in the view 'print all assigned' from locations where it skips the assets in relation of if they're archived and that option is marked in the settings
2021-09-13 16:17:34 -05:00
snipe
7f31befe5d
Merge remote-tracking branch 'origin/develop'
2021-09-10 20:46:15 -07:00
snipe
a5409215fc
Merge pull request #10070 from snipe/fixes/update_status_label_color_via_api
...
Fixed #9969 - added color, show_in_nav, and default_label to status l…
2021-09-10 20:45:47 -07:00
snipe
80175cffdc
Fixed #9969 - added color, show_in_nav, and default_label to status labels API
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-10 20:44:49 -07:00
snipe
f8f969919e
Merge remote-tracking branch 'origin/develop'
2021-09-10 20:26:37 -07:00
snipe
fb68c49c44
Merge pull request #10069 from snipe/fixes/add_use_default_eula_to_category_endpoint
...
Fixed #9973 - add use_default_eula to category endpoint
2021-09-10 20:25:56 -07:00
snipe
514f9aa64a
Fixed #9973 - add use_default_eula to categories API endpoint
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-10 20:23:49 -07:00
snipe
0d633688a4
Merge pull request #10063 from jasonspriggs/develop
...
This looks good to me, thanks! I'm not as familiar with Heroku these days (it's been years and years since I've used it), but it seems okay?
2021-09-10 18:22:12 -07:00
Jason Spriggs
949454c6d4
Minor modifications to documentation for app.json
2021-09-09 16:55:26 -04:00
Jason Spriggs
d100a5de72
Add Papertrail logging addon
2021-09-08 21:11:46 -04:00
Jason Spriggs
acefb3d1b9
Add descriptions for some env vars
2021-09-08 20:51:43 -04:00
snipe
38a544ea42
Updated version branch to master
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-08 13:50:52 -07:00
snipe
a4e307c4db
Updated languages
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-08 13:49:33 -07:00
snipe
116bc4ece4
Bumped version
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-08 13:42:48 -07:00
snipe
14a8baecaa
Merge pull request #10059 from inietov/fixes/CSV_imports_checkout_to_location
...
Convert value of column 'checkout type' in CSV file to lowercase
2021-09-08 13:31:49 -07:00
Ivan Nieto Vivanco
f1b8b7d11d
Convert whatever value we get in column 'checkout type' to all lowercase
2021-09-08 12:49:29 -05:00
snipe
c6b3fc219c
Merge pull request #10023 from snipe/snyk-fix-deed9a63fc3bf8e6472c4aabe8c95f02
...
[Snyk] Security upgrade alpine from 3.13 to 3
2021-09-07 19:56:10 -07:00
snipe
cfaa6679af
Merge pull request #10031 from inietov/fixes/checkout_date_not_saved_in_asset_history
...
Fixed #10026 : Checkout date not saved in asset history
2021-09-07 17:37:30 -07:00
snipe
bb5a04491d
Merge pull request #10053 from inietov/fixes/accepted_assets_still_showing_unaccepted_report
...
Fix Accepted Assets still showing on Unaccepted Asset Report
2021-09-07 12:15:17 -07:00
snipe
f9c0eee7c9
Merge pull request #10048 from inietov/fixes/blank_results_for_non_superadmins
...
Fix to PR #10009 . The asset search now works as intended for normal users
2021-09-07 12:14:29 -07:00
Ivan Nieto Vivanco
27ff0be9a8
Delete checkout acceptances when an asset is checked in without response
2021-09-07 12:01:32 -05:00
Ivan Nieto Vivanco
b5525e6a21
Deleted additional bindings present also in the User model
2021-09-07 00:57:12 -05:00
Ivan Nieto Vivanco
c3eb7a3425
Remove aditional bindings that 'overflows' the generated queries
2021-09-07 00:15:21 -05:00
Jason Spriggs
48374f0854
Add PUBLIC_FILESYSTEM_DISK
2021-09-05 12:21:46 -04:00
Jason Spriggs
bae3c9ce93
Add Deploy to Heroku button to README
2021-09-05 10:34:48 -04:00
Jason Spriggs
b51392e4a5
Add base heroku changes
2021-09-05 10:33:13 -04:00
snipe
6bd18ebefa
Merge pull request #10043 from benwa/master
...
Use the new Issues form
2021-09-02 16:15:45 -07:00
Bennett Blodinger
034eb5fb07
no markdown?
2021-09-02 17:48:38 -05:00
Bennett Blodinger
563edddfc5
add a feature request
2021-09-02 17:47:32 -05:00
Bennett Blodinger
391d4f839a
formatting
2021-09-02 17:43:24 -05:00
Bennett Blodinger
51a359496a
unique IDs
2021-09-02 17:37:47 -05:00
Bennett Blodinger
43b7c844b0
multiline
2021-09-02 17:32:31 -05:00
Bennett Blodinger
a1674f8d58
Create config.yml
2021-09-02 17:29:36 -05:00
Bennett Blodinger
a8a6950b7e
Delete Feature_request.md
2021-09-02 17:28:01 -05:00
Bennett Blodinger
4598fcf666
Delete Bug_report.md
2021-09-02 17:27:46 -05:00
Bennett Blodinger
37eac18c69
Create bug_report.yml
...
Using the (currently in beta) https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
2021-09-02 17:27:27 -05:00
Bennett Blodinger
ca3296b65a
Update issue templates
2021-09-02 16:58:18 -05:00
snipe
a79f49ade3
Merge pull request #10034 from snipe/features/ajaxify_depreciation
...
Fixed [ch15359] ajaxify the depreciation report
2021-09-01 18:26:10 -07:00
snipe
a26c227dcb
Merge pull request #10018 from jjasghar/patch-1
...
Fixed typo: Update README.md
2021-09-01 17:50:15 -07:00
snipe
94310e18b1
Presenters and Transformers for Depreciation report
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-01 17:33:59 -07:00
snipe
2f25eb598b
Allow the Assets API controller to handle depreciation reports
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-01 17:33:39 -07:00
snipe
387018c44e
Updated depreciation report blade to use server-side API
...
Signed-off-by: snipe <snipe@snipe.net >
2021-09-01 17:05:31 -07:00
snipe
67357e07f1
Added API route for depreciations report
...
RED FLAG: This will need to be updated for v6!!!!
Signed-off-by: snipe <snipe@snipe.net >
2021-09-01 17:05:00 -07:00
Ivan Nieto Vivanco
e621eaf456
Change date showed in the activity report view, the condition is now on action_date
2021-09-01 13:58:17 -05:00
Ivan Nieto Vivanco
ea1d7a42e2
Add condition to check if action_date have value and if it have assign it to created_at parameter
2021-09-01 13:08:08 -05:00
snipe
d5a7955e1d
Fixed #10024 - use string for dashboard in side nav instead of hard coded
...
Signed-off-by: snipe <snipe@snipe.net >
2021-08-31 22:25:00 -07:00
snyk-bot
e33ab269ae
fix: Dockerfile.alpine to reduce vulnerabilities
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE313-APKTOOLS-1533754
- https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-1569446
- https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-1569446
- https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-1569448
- https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-1569448
2021-09-01 01:06:18 +00:00
snipe
4293674f4a
Added a few more fields to the users API
...
Signed-off-by: snipe <snipe@snipe.net >
2021-08-31 12:36:06 -07:00
snipe
aeae681326
Fixecd copypasta from state to zip
...
Signed-off-by: snipe <snipe@snipe.net >
2021-08-31 12:28:20 -07:00
snipe
4794f93224
Added additional fields for user search
...
Signed-off-by: snipe <snipe@snipe.net >
2021-08-31 12:24:53 -07:00
snipe
f58ed6bd1f
Merge pull request #9982 from Shankschn/master
...
Fixes: When using API CheckIn assets, there will be two CheckIn records in the Activity Report log for each asset.
2021-08-31 11:08:52 -07:00
snipe
96c0dba92b
Merge pull request #10011 from inietov/fixes/quotations_turn_into_html_entity
...
Fixes Quotations turn into HTML entity
2021-08-31 11:00:38 -07:00
JJ Asghar
07a2ef2234
Update README.md
...
Typo.
2021-08-31 11:11:19 -05:00
Ivan Nieto Vivanco
d917ae51b7
Remove e() function from other input fields
2021-08-31 04:01:20 -05:00
Ivan Nieto Vivanco
e7470b5545
Remove e() function from the saved notes when updating an asset maintenance
2021-08-31 03:50:57 -05:00
snipe
7e2def7896
Merge pull request #9880 from inietov/bug/fd18463/cannot_edit_departments
...
Fixes: Can't update departments if Full Company Support is activated
2021-08-30 19:40:59 -07:00
snipe
a02534b6c8
Merge pull request #10009 from inietov/fixes/blank_results_for_non_superadmins
...
Fixes #9985 . Error 500 when using the asset search - blank results for non super-admins
2021-08-30 13:29:18 -07:00
snipe
5c92ddb2c6
Fixed version back to develop from master downmerge
...
Signed-off-by: snipe <snipe@snipe.net >
2021-08-30 12:57:06 -07:00
snipe
6d3a82aacf
Merge pull request #10008 from uberbrady/fix_unlink_error_ldap
...
Fixed rb445 and rb446 - the unlink calls for the client-side certs...
2021-08-30 12:47:38 -07:00
Brady Wetherington
da0b375773
Fixed rb445 and rb446 - the unlink calls for the client-side certs
...
need to be wrapped around a file-existence check
2021-08-30 12:29:16 -07:00
Ivan Nieto Vivanco
d1304cc975
Add sentence to infer the table's name according to the query passed
2021-08-30 13:44:26 -05:00
snipe
085be16966
Merge remote-tracking branch 'origin/develop'
2021-08-25 14:45:41 -07:00
snipe
127a3e41bd
Merge pull request #9993 from inietov/fixes/exception_when_checkin_licenses_from_assets
...
Fixes Exception when Checkin Licenses from Assets
2021-08-25 14:45:14 -07:00
Ivan Nieto Vivanco
4a79c77630
Add a condition to checkin licenses assigned to Assets
2021-08-25 16:38:34 -05:00
snipe
e21b21fbde
Merge pull request #9990 from inietov/fixes/cannot_upload_files_to_assets
...
Fixed #9440 Change condition to return the actual max upload size allowed to files
2021-08-25 13:39:23 -07:00
Ivan Nieto Vivanco
137f55e4ce
Change condition to return the actual max upload size allowed to files
2021-08-25 15:27:25 -05:00
snipe
4abb9baa95
Merge remote-tracking branch 'origin/develop'
2021-08-24 15:29:41 -07:00
snipe
36ddc7dea7
Merge pull request #9980 from inietov/fixes/display_custom_field_not_holding_value
...
Fixes: Display custom field not holding value
2021-08-24 15:12:15 -07:00
snipe
80b411c94b
Merge pull request #9986 from uberbrady/fix_client_side_ldap_cert_settings
...
Make the LDAP Client-side certificate fields Nullable
2021-08-24 15:10:49 -07:00
Brady Wetherington
ae65e2a0a0
Adding explicit default(null), and removing the nullable() attribute on the down() migration
2021-08-24 14:15:55 -07:00
Brady Wetherington
2d578a9864
Make the LDAP Client-side certificate fields Nullable
2021-08-24 12:52:03 -07:00
Shanks
961e80404a
Update AssetsController.php
...
Fix:When using API CheckIn assets, there will be two CheckIn records in the Activity Report log for each asset.
2021-08-24 16:39:58 +08:00
Ivan Nieto Vivanco
830ba470dd
Change the used function to only affect single and double quotes
2021-08-23 22:10:59 -05:00
Ivan Nieto Vivanco
80fb24e861
Fix issue caused for single and double quotes when used as listbox's values
2021-08-23 22:00:01 -05:00
snipe
70f6753f50
Merge pull request #9979 from uberbrady/add_client_side_ldap_certs
...
Add client side ldap certs
2021-08-23 16:30:46 -07:00
snipe
9285697611
Merge remote-tracking branch 'origin/develop'
2021-08-20 17:30:52 -07:00
snipe
9687bcb41c
Fixed issue where consumables model number was not searchable
...
Signed-off-by: snipe <snipe@snipe.net >
2021-08-20 17:30:35 -07:00
snipe
4ec4e0f44e
Merge remote-tracking branch 'origin/develop'
2021-08-19 12:09:48 -07:00
snipe
ff8faab3be
Merge pull request #9960 from uberbrady/fix_null_sum_totals
...
Fix regression for NULL valued numbers in the summary calculation
2021-08-19 12:08:33 -07:00
Brady Wetherington
e28db2d221
Fix regression for NULL valued numbers in the summary calculation
2021-08-19 12:01:47 -07:00
snipe
24af2ab67a
Merge remote-tracking branch 'origin/develop'
2021-08-18 14:31:53 -07:00
snipe
7b447a2f16
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-08-18 14:31:38 -07:00
snipe
f5112b47cd
Merge pull request #9953 from uberbrady/fix_bootstrap_sum_formatter
...
Fixed ch17133 - Fixed sum total calculation on Bootstrap Table pages -
2021-08-18 14:31:10 -07:00
Brady Wetherington
4519f6e180
Fixed sum total calculation on Bootstrap Table pages
2021-08-18 14:13:31 -07:00
snipe
6f7718dd0e
Merge pull request #9950 from inietov/fixes/ch945/status_colors_are_not_displaying_correctly
...
Looks great, thanks!
2021-08-18 14:09:26 -07:00
Ivan Nieto Vivanco
f04e23cacb
Add a small refactor so we not repeat logic
2021-08-18 15:22:53 -05:00
Brady Wetherington
1b66f7f719
Add new client-side LDAP SSL certs to .gitignore
2021-08-18 13:22:36 -07:00
Ivan Nieto Vivanco
4207858a14
Fix the count in StatuslabelsController@getAssetsCountByStatuslabel() function that allows it to pass the correct index
...
Also edit the default color for assets with the Pending label, so it match the color in the docs
2021-08-18 14:08:35 -05:00
snipe
b88fde5dae
Nicer comment formatting
...
Signed-off-by: snipe <snipe@snipe.net >
2021-08-18 12:07:09 -07:00
snipe
04fa5f2022
Merge remote-tracking branch 'origin/develop'
2021-08-18 01:05:25 -07:00
snipe
923d2a79ae
Fixed weird layout on bulk audit [ch17146]
...
Signed-off-by: snipe <snipe@snipe.net >
2021-08-18 01:05:09 -07:00
snipe
c970464690
Updated production assets
...
Signed-off-by: snipe <snipe@snipe.net >
2021-08-18 00:48:05 -07:00
snipe
f99602c039
Merge remote-tracking branch 'origin/develop'
...
Signed-off-by: snipe <snipe@snipe.net >
# Conflicts:
# config/version.php
# public/css/build/app.css
# public/css/build/overrides.css
# public/css/dist/all.css
# public/js/build/app.js
# public/js/dist/all.js
# public/mix-manifest.json
2021-08-18 00:47:33 -07:00
snipe
0aa328f908
Updated hash
...
Signed-off-by: snipe <snipe@snipe.net >
2021-08-18 00:45:35 -07:00
snipe
f8562e5835
Recompiled assets
...
Signed-off-by: snipe <snipe@snipe.net >
2021-08-18 00:45:02 -07:00
snipe
8a6c7269d3
Fixed border radius for bulk checkout field [ch16936]
...
Signed-off-by: snipe <snipe@snipe.net >
2021-08-18 00:44:55 -07:00
snipe
37f2c7beac
Nicer bulk asset select width
...
Signed-off-by: snipe <snipe@snipe.net >
2021-08-18 00:44:16 -07:00
snipe
b5bb74b8ca
Merge remote-tracking branch 'origin/develop'
2021-08-17 22:01:23 -07:00
snipe
b5e69d6678
Merge pull request #9947 from snipe/fixes/apply_v6_currency_formatter
...
Fixed #9909 and #9714 - applies v6 currency formatter to v5 [ch16628]
2021-08-17 22:00:39 -07:00
snipe
cce808c784
Fixed #9909 and #9714 - applies v6 currency formatter to v5 [ch16628]
...
Duplicates d4e46ee41f but on v5
Signed-off-by: snipe <snipe@snipe.net >
2021-08-17 21:59:33 -07:00
Brady Wetherington
4d4badf830
Got the client-side LDAP setup working well enough for sync!
2021-08-17 14:43:36 -07:00
snipe
d70e4e04c0
Merge pull request #9933 from JemCdo/patch-1
...
Fixed #9934 : Typo on creating Depreciation
2021-08-16 07:44:56 -07:00
James Emanuel
98285001ac
Fixing Typo on creating Depreciation
2021-08-16 15:33:17 +03:00
snipe
29c584289f
Merge remote-tracking branch 'origin/develop'
2021-08-14 14:09:31 -07:00
snipe
dc79ca94a2
Merge pull request #9931 from snipe/features/add_asset_restore_to_api
...
Features/add asset restore to api
2021-08-14 14:08:36 -07:00
snipe
ef687fdc7b
Fixed typo
...
Signed-off-by: snipe <snipe@snipe.net >
2021-08-14 14:07:04 -07:00
snipe
45caa8a90d
Added restore functionalty to asset API
...
Signed-off-by: snipe <snipe@snipe.net >
2021-08-14 14:06:15 -07:00
snipe
b1e2f86871
Merge pull request #9919 from ItsGageHolland/patch-1
...
Update README.md
2021-08-11 12:39:17 -07:00
Godfrey M
01037cf9cb
initial commit: adds migration, input area and transformer modifications for depreciation minimum value [ch15358]
2021-08-10 18:26:43 -07:00
Gage K. Holland
63a5c70e8e
Update README.md
2021-08-10 09:16:51 +01:00
snyk-bot
3fedcc6766
fix: upgrade bootstrap-table from 1.18.2 to 1.18.3
...
Snyk has created this PR to upgrade bootstrap-table from 1.18.2 to 1.18.3.
See this package in npm:
https://www.npmjs.com/package/bootstrap-table
See this project in Snyk:
https://app.snyk.io/org/snipe/project/3d53e1dd-b8bf-46b5-ba61-18ce26933166?utm_source=github&utm_medium=upgrade-pr
2021-08-07 21:41:02 +00:00
snyk-bot
892ae9cf91
fix: upgrade tableexport.jquery.plugin from 1.10.21 to 1.10.26
...
Snyk has created this PR to upgrade tableexport.jquery.plugin from 1.10.21 to 1.10.26.
See this package in npm:
https://www.npmjs.com/package/tableexport.jquery.plugin
See this project in Snyk:
https://app.snyk.io/org/snipe/project/3d53e1dd-b8bf-46b5-ba61-18ce26933166?utm_source=github&utm_medium=upgrade-pr
2021-08-07 21:40:51 +00:00
snyk-bot
9ae6591aa3
fix: Dockerfile.alpine to reduce vulnerabilities
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE313-APKTOOLS-1533754
2021-08-07 21:38:53 +00:00
snipe
cdc4940338
Merge pull request #9881 from inietov/fixes/integrity_constraint_violation__emailing_password_reset
...
Fixes Integrity constraint violation when emailing password reset.
2021-07-30 16:01:53 -07:00
Ivan Nieto Vivanco
27cdfbc579
Edit the log message
2021-07-29 16:14:52 -05:00
Ivan Nieto Vivanco
405545cd88
Add exception handling in the ForgotPasswordController
2021-07-29 16:02:45 -05:00
Ivan Nieto Vivanco
1b8156ac7f
Add a hidden field to handle departments inside Full Company Support config
2021-07-29 13:28:57 -05:00
Jethro Nederhof
d8fdd1b408
Fix branding logo URL path
...
The current method adds an additional slash to the URL which results in the logo request producing a 404 error on for Storage drivers like S3 and GCS that don't automatically collapse additional forward slashes into single slashes.
E.g. with the current code my logo URL renders like `https://storage.googleapis.com/mybucketname/public//setting-logo-Al0aKMhmYz.svg ` (note the double slash after "public") when instead it should render like `https://storage.googleapis.com/mybucketname/public/setting-logo-Al0aKMhmYz.svg `
For a local driver this should work fine since webservers handle the additional slashes case, but for key-based storage this 404s.
Thanks for your work on Snipe-It, seems like a good system so far!
2021-07-28 14:55:34 +10:00
snipe
593e1234a5
Merge pull request #9797 from markbrule/fixes/search_parameter_checkedout_api
...
Fixed #9671 : wrap OR queries in sub-condition in checkedout search
2021-07-27 14:39:10 -07:00
snipe
9a5d9eafeb
Merge pull request #9709 from morning-bird/master
...
add CompanyableTrait
2021-07-27 14:38:21 -07:00
snipe
eca15bd49b
Merge pull request #9837 from Godmartinz/chore/ch16531/update-demo-photos-of-iphones-to-be-more
...
Update demo photos of iPhones to be more [ch16531]
2021-07-27 14:34:52 -07:00
snipe
d2fc98b685
Merge pull request #9861 from inietov/fixes/consumables_accessories_not_correctly_displayed_via_locations
...
Fixes #9853 Consumables/Accessories not correctly displayed via Locations
2021-07-26 14:49:05 -07:00
Ivan Nieto Vivanco
38a2a0c1ee
Add the pertinent filters in Accessories and Consumables controllers
2021-07-26 12:59:15 -05:00
snipe
75d4a46fff
Merge pull request #9856 from inietov/bug/ch15413/model_number_is_not_on_accessory_import_dropdown
...
Fixes: Model Number is not on the Accessory import dropdown of mappable fields [ch15413]
2021-07-24 01:05:26 -07:00
Ivan Nieto Vivanco
0f1c48cb6f
Add the field model_number to Accessory importer
2021-07-24 02:38:44 -05:00
Godfrey M
9fb911146f
Update demo photos of iPhones to be more [ch16531]
2021-07-19 12:26:04 -07:00
snipe
615bdd0499
Bumped hash
...
Signed-off-by: snipe <snipe@snipe.net >
2021-07-15 13:29:07 -07:00
snipe
33e92c975a
Merge remote-tracking branch 'origin/develop'
...
Signed-off-by: snipe <snipe@snipe.net >
# Conflicts:
# public/css/dist/skins/skin-blue-dark.css
# public/css/dist/skins/skin-blue-dark.min.css
# public/css/dist/skins/skin-green-dark.css
# public/css/dist/skins/skin-green-dark.min.css
# public/css/dist/skins/skin-orange-dark.css
# public/css/dist/skins/skin-orange-dark.min.css
# public/css/dist/skins/skin-purple-dark.css
# public/css/dist/skins/skin-purple-dark.min.css
# public/css/dist/skins/skin-yellow-dark.css
# public/css/dist/skins/skin-yellow-dark.min.css
# public/js/build/app.js
# public/js/dist/all.js
# public/mix-manifest.json
2021-07-15 13:29:00 -07:00
snipe
5f842d02ef
Fixed namespace
...
Signed-off-by: snipe <snipe@snipe.net >
2021-07-15 13:24:40 -07:00
snipe
f5ba47fcdd
Merge pull request #9829 from Godmartinz/bug/ch16602/make-non-linked-striped-text-the-same-for
...
Make non linked striped text the same for [ch16602]
2021-07-14 14:54:18 -07:00
Godfrey M
44612e5eb7
Make non linked striped text the same for [ch16602]
2021-07-14 14:50:45 -07:00
snipe
6b7d5ed5a4
Merge remote-tracking branch 'origin/develop'
2021-07-14 11:35:47 -07:00
snipe
5e76d50f2d
Merge pull request #9825 from PetriAsi/feature/api-image-uploads
...
Fixed #9767 : Feature/api image uploads legacy image_source property support
2021-07-14 10:24:40 -07:00
Petri Asikainen
febf1ec20f
Support legacy image_source property
2021-07-14 13:09:50 +03:00
Petri Asikainen
fa8b0964ed
Merge branch 'develop' of github.com:snipe/snipe-it into feature/api-image-uploads
2021-07-14 13:06:39 +03:00
snipe
a0798a68d9
Merge pull request #9767 from PetriAsi/feature/api-image-uploads
...
Added #9594 : Feature api image uploads and remove
2021-07-13 09:36:35 -07:00
Petri Asikainen
7b12668af4
Merge branch 'develop' of github.com:snipe/snipe-it into feature/api-image-uploads
2021-07-13 17:23:44 +03:00
Oskar Stenberg
5b5874499d
Added import for min_amt for consumables
2021-07-12 11:46:19 +02:00
snipe
4cfdaf89d8
Merge remote-tracking branch 'origin/develop'
2021-07-08 17:47:08 -07:00
snipe
b307d2858c
Merge pull request #9809 from uberbrady/fix_saml_custom_settings
...
The custom settings section of SAML sometimes has bad linefeeds
2021-07-08 17:16:37 -07:00
Brady Wetherington
0ec2884c29
The custom settings section of SAML sometimes has bad linefeeds
2021-07-08 17:00:01 -07:00
snipe
f264cade7d
Merge remote-tracking branch 'origin/develop'
2021-07-08 16:05:32 -07:00
snipe
8ea3acc943
Fixed route ordering (FIFO)
...
Signed-off-by: snipe <snipe@snipe.net >
2021-07-08 16:05:07 -07:00
snipe
f785c3e759
Default to 1 if no qty is passed
...
Signed-off-by: snipe <snipe@snipe.net >
2021-07-08 16:04:52 -07:00
snipe
0a2a8932d4
Merge pull request #9808 from inietov/bug/ch15453/selected_maintenance_history_columns_not_remembered
...
Fixes [ch15453] Maintenance/History columns not remembered.
2021-07-08 12:15:53 -07:00
Ivan Nieto Vivanco
d2e94dfc1c
Added cookie option to assets Bootstrap Table to save the state of the table.
2021-07-08 14:05:40 -05:00
Petri Asikainen
4379ea61fa
Just mention source of idea as code rewriten
2021-07-08 19:50:33 +03:00
Petri Asikainen
41deabf998
hand legacy image_source field
2021-07-07 09:33:48 +03:00
Petri Asikainen
7a424649c8
convert image_source field
...
This reverts commit b2d3ba7410 .
2021-07-07 09:24:24 +03:00
Petri Asikainen
b2d3ba7410
Revert "Handle image_source with ConvertBase64ToFiles"
...
This reverts commit 168d7f7004 .
2021-07-07 09:20:38 +03:00
Petri Asikainen
168d7f7004
Handle image_source with ConvertBase64ToFiles
2021-07-07 09:08:37 +03:00
snipe
60b8320b4b
Updated production assets
...
Signed-off-by: snipe <snipe@snipe.net >
2021-07-06 15:15:28 -07:00
snipe
721b749ae1
Merge remote-tracking branch 'origin/develop'
2021-07-06 15:13:39 -07:00
snipe
11d9b1ba45
Updated assets
...
Signed-off-by: snipe <snipe@snipe.net >
2021-07-06 15:09:03 -07:00
snipe
2f10d946ec
Merge branch 'bug/ch16594/table-striping-on-dark-mode-skins-is-too' of https://github.com/Godmartinz/snipe-it into develop
...
Signed-off-by: snipe <snipe@snipe.net >
# Conflicts:
# public/css/dist/skins/skin-black-dark.css
# public/css/dist/skins/skin-black-dark.min.css
# public/css/dist/skins/skin-blue-dark.css
# public/css/dist/skins/skin-blue-dark.min.css
# public/css/dist/skins/skin-green-dark.css
# public/css/dist/skins/skin-green-dark.min.css
# public/css/dist/skins/skin-orange-dark.css
# public/css/dist/skins/skin-orange-dark.min.css
# public/css/dist/skins/skin-purple-dark.css
# public/css/dist/skins/skin-purple-dark.min.css
# public/css/dist/skins/skin-red-dark.css
# public/css/dist/skins/skin-red-dark.min.css
# public/mix-manifest.json
2021-07-06 15:08:20 -07:00
snipe
6e0355fa34
Merge pull request #9778 from inietov/fixes/users_departments_not_being_imported
...
Fixes #9730 . Remove an else statement that doesn't allow to continue the importer flow.
2021-07-06 14:59:42 -07:00
Ivan Nieto Vivanco
131a285e2f
Fixes Vue issue with the import process.
2021-07-06 15:59:45 -05:00
Mark Brule
f706c87cbc
wrap OR queries in sub-condition
2021-07-06 20:43:17 +00:00
Petri Asikainen
f53cabee24
Better debug comment
2021-07-06 07:26:16 +03:00
Petri Asikainen
e275c9ee90
Fixed case again
2021-07-06 07:10:03 +03:00
Petri Asikainen
3d8acd1bd8
removed unused Bag-functions
2021-07-06 07:00:12 +03:00
Petri Asikainen
2169c62700
Merge branch 'feature/api-image-uploads-json' into feature/api-image-uploads
2021-07-06 06:55:54 +03:00
Petri Asikainen
c21b291484
keep using request
2021-07-06 06:51:07 +03:00
Petri Asikainen
c1bc2486ad
keep using request
2021-07-06 06:49:19 +03:00
Petri Asikainen
e3166c2209
fix debug placement
2021-07-06 06:41:37 +03:00
Petri Asikainen
7a5b5c291d
merged from develop
2021-07-06 06:38:32 +03:00
Petri Asikainen
d66ef233bf
handle files via standard field
2021-07-06 06:25:37 +03:00
Petri Asikainen
013df747d7
debug trait
2021-07-05 09:59:19 +03:00
Petri Asikainen
02fb7ac03e
Try without trait
2021-07-04 13:39:46 +03:00
Petri Asikainen
d48a9d549d
Try without trait
2021-07-04 13:37:05 +03:00
Petri Asikainen
f59f3dbde4
case case again..
2021-07-02 10:43:15 +03:00
Petri Asikainen
f4fa6836cb
trait base64 encoded files
2021-07-02 10:29:26 +03:00
Petri Asikainen
e846e6ac76
trait base64 encoded files
2021-07-02 10:18:18 +03:00
Petri Asikainen
e15159b9c3
trait base64 encoded files
2021-07-02 10:17:29 +03:00
Ivan Nieto Vivanco
5545457536
Remove an else statement that doesn't allow to continue the importer flow.
2021-07-01 14:26:03 -05:00
snipe
19994e2097
Merge pull request #9774 from uberbrady/snipeit_restore_php73
...
Better debugging output, and remove non-PHP-7.3-compatible option
2021-06-30 15:22:48 -07:00
Brady Wetherington
102591b009
Better debugging output, and remove non-PHP-7.3-compatible option
2021-06-30 14:53:08 -07:00
Petri Asikainen
347e742e88
merged current upstream/develop
2021-06-30 12:02:05 +03:00
snipe
b46e2b5990
Merge remote-tracking branch 'origin/develop'
2021-06-30 01:03:05 -07:00
snipe
868419b35b
Components checkin/checkout via API
...
Signed-off-by: snipe <snipe@snipe.net >
2021-06-30 01:02:44 -07:00
snipe
df7e0e5630
Fixed company resource route
...
Signed-off-by: snipe <snipe@snipe.net >
2021-06-29 23:46:25 -07:00
Petri Asikainen
6048acc95d
fixed capitalization
2021-06-30 06:36:12 +03:00
snipe
86b3f8349a
Merge pull request #9768 from svpernova09/vagrant-ansible-fix
...
Fix APP_ENV/APP_DEBUG typo overwriting the APP_ENV in Vagrant Playbook
2021-06-29 07:57:14 -07:00
Joe Ferguson
fbf5c705db
Fix APP_ENV/APP_DEBUG typo overwriting the APP_ENV in Vagrant Playbook
2021-06-29 08:12:01 -05:00
Petri Asikainen
b0aa26e6cb
Support images and multipart requests
2021-06-29 14:25:20 +03:00
Petri Asikainen
b49733832c
Support images and multipart requests
2021-06-29 12:29:17 +03:00
Petri Asikainen
8c0be3aa87
Support images and multipart requests
2021-06-29 12:29:07 +03:00
Petri Asikainen
a936744e2e
Support images and multipart requests
2021-06-29 12:28:52 +03:00
Petri Asikainen
f9da83bc46
Support images and multipart requests
2021-06-29 12:28:42 +03:00
Petri Asikainen
fc8498972e
Support images and multipart requests
2021-06-29 12:28:32 +03:00
Petri Asikainen
4ba75291e4
Support images and multipart requests
2021-06-29 12:27:18 +03:00
Petri Asikainen
a7b1e31776
Support images and multipart requests
2021-06-29 12:27:08 +03:00
Petri Asikainen
604a0b6df1
Support images and multipart requests
2021-06-29 12:26:59 +03:00
Petri Asikainen
4ed9788a0e
Support images and multipart requests
2021-06-29 12:26:45 +03:00
Petri Asikainen
e8a4059db9
Support images and multipart requests
2021-06-29 12:26:24 +03:00
Petri Asikainen
aa402bf896
Support images and multipart requests
2021-06-29 12:26:15 +03:00
Petri Asikainen
8d4219759e
Support images and multipart requests
2021-06-29 12:25:47 +03:00
Godfrey M
aba912001d
Table striping on dark mode skins is too [ch16594]
2021-06-28 20:41:56 -07:00
snipe
15b82997ca
Merge pull request #9764 from uberbrady/develop
...
Regenerate assets after repairing Vue integration
2021-06-28 16:58:05 -07:00
Brady Wetherington
dce1dd41c8
Regenerate assets after repairing Vue integration
2021-06-28 16:38:05 -07:00
snipe
f504d7ef5f
Merge remote-tracking branch 'origin/develop'
2021-06-28 13:12:10 -07:00
snipe
9ba7e7a0f3
Merge pull request #9761 from snipe/features/9745_add_notes_to_statuslabels
...
Added #9745 - adds searchable, sortable notes to statuslabels index
2021-06-28 13:09:24 -07:00
snipe
30297e479e
Hide notes field by default
...
Signed-off-by: snipe <snipe@snipe.net >
2021-06-28 13:08:32 -07:00
snipe
19413a63da
Make notes field searchable on status labels
...
Signed-off-by: snipe <snipe@snipe.net >
2021-06-28 11:53:17 -07:00
snipe
a4fd0c9c6d
Fixed #9745 - added searchable, sortable notes field to status labels
...
Signed-off-by: snipe <snipe@snipe.net >
2021-06-28 11:52:57 -07:00
snipe
5b5b70e639
Merge remote-tracking branch 'origin/develop'
...
Signed-off-by: snipe <snipe@snipe.net >
# Conflicts:
# config/version.php
# public/js/build/app.js
# public/js/dist/all.js
# public/mix-manifest.json
2021-06-28 11:01:45 -07:00
snipe
6521f16b80
Bumped version
...
Signed-off-by: snipe <snipe@snipe.net >
2021-06-28 11:00:34 -07:00
snipe
9b2cb19f22
Fixed #9743 - Vue screens not loading
...
Signed-off-by: snipe <snipe@snipe.net >
2021-06-28 10:59:34 -07:00
Petri Asikainen
e0c5205e9b
save images
2021-06-28 08:11:33 +03:00
Petri Asikainen
695bf1e15f
save images
2021-06-28 07:58:08 +03:00
Petri Asikainen
0e2efb6573
Merge branch 'develop' of github.com:snipe/snipe-it into feature/api-image-uploads
2021-06-27 14:38:55 +03:00
snipe
3ca3de9e4f
Merge remote-tracking branch 'origin/develop'
2021-06-23 20:05:38 -07:00
snipe
174d53aff9
Fixed #9729 - order number maxlength updated to 200
...
Signed-off-by: snipe <snipe@snipe.net >
2021-06-23 20:05:22 -07:00
snipe
22152f0a8c
Updated assets
...
Signed-off-by: snipe <snipe@snipe.net >
2021-06-23 17:55:38 -07:00
snipe
b5a75206fe
Merge remote-tracking branch 'origin/develop'
2021-06-23 17:19:48 -07:00
snipe
3f39cff225
Merge pull request #9738 from Godmartinz/bug/ch16594/table-striping-on-dark-mode-skins-is-too
...
corrected a link color in the dark mode yellow skin
2021-06-23 16:39:02 -07:00
Godfrey M
a37edd5c5b
darkened back-sub-alt more
2021-06-23 16:34:41 -07:00
snipe
6f3e156be6
Merge remote-tracking branch 'origin/develop'
2021-06-23 16:34:34 -07:00
snipe
7d1c2199ed
Attempted to re-bound to lowest php version possible
...
Signed-off-by: snipe <snipe@snipe.net >
2021-06-23 16:29:43 -07:00
Godfrey M
f199098a59
undid the color change for links, darkened the back-sub-alt
2021-06-23 16:29:21 -07:00
snipe
335f4e50a5
Merge remote-tracking branch 'origin/develop'
...
Signed-off-by: snipe <snipe@snipe.net >
# Conflicts:
# config/version.php
2021-06-23 16:07:01 -07:00
snipe
1808986bf5
Bumped version
...
Signed-off-by: snipe <snipe@snipe.net >
2021-06-23 16:06:30 -07:00
snipe
bc0c887812
Merge remote-tracking branch 'origin/develop'
2021-06-23 16:05:19 -07:00
snipe
d8191f738c
Updated flysystem to 1.1.4 for critical security update
...
Signed-off-by: snipe <snipe@snipe.net >
2021-06-23 16:04:42 -07:00
snipe
7b51bf4f51
Merge remote-tracking branch 'origin/develop'
2021-06-23 14:41:27 -07:00
snipe
450183c55c
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-06-23 14:41:10 -07:00
snipe
e44a25126d
Merge pull request #9676 from inietov/fixes/asset_checkin_api_doesnt_send_notification
...
Fixes #9666 Asset checkin via api doesn't send notification.
2021-06-23 14:35:07 -07:00
snipe
c801305c9b
Merge pull request #9681 from tulsaschoolsdata/9680-fix-statuslabels-asset-count
...
Fixed #9680 : Use Eloquent’s `withCount` method to count Statuslabel assets
2021-06-23 14:34:34 -07:00
snipe
4db5a8f62b
Merge pull request #9695 from Joly0/master
...
Update print.blade.php
2021-06-23 14:33:25 -07:00
snipe
7b4cc5044b
Add @derdeagle as a contributor
2021-06-23 14:31:48 -07:00
snipe
1c1ebdf44d
Merge pull request #9706 from derdeagle/develop
...
Fixes #9705 : Prevent syntax error in startup.sh
2021-06-23 14:31:32 -07:00
snipe
c684e5f481
Add @PetriAsi as a contributor
2021-06-23 14:31:16 -07:00
snipe
7b5a6a0085
Merge remote-tracking branch 'origin/develop'
...
Signed-off-by: snipe <snipe@snipe.net >
# Conflicts:
# resources/views/partials/forms/edit/company-select.blade.php
2021-06-23 14:30:31 -07:00
snipe
1bc4d1b997
Merge pull request #9717 from PetriAsi/fix/accessories-bulk-set-min-amt
...
Added #9716 : Allow to bulk update accessories min_amt
2021-06-23 14:28:59 -07:00
snipe
ac52ea3463
Porting PR #9720 to develop
...
Signed-off-by: snipe <snipe@snipe.net >
2021-06-23 14:27:15 -07:00
snipe
a521ef706f
Merge pull request #9720 from bmkalle/patch-1
...
Update company-select.blade.php
2021-06-23 14:26:29 -07:00
Godfrey M
154adeb9b2
corrected a link color in the dark mode yellow skin
2021-06-23 14:06:36 -07:00
Petri Asikainen
491a788cd0
testing image upload via api
2021-06-23 11:22:41 +03:00
snipe
a67ce965ec
Update version.php
2021-06-22 20:13:03 -07:00
snipe
3e102bf57b
Be more specific in accessory query
...
Signed-off-by: snipe <snipe@snipe.net >
2021-06-19 16:49:13 -07:00
snipe
cdcb153b1e
Merge remote-tracking branch 'origin/develop'
2021-06-19 16:20:35 -07:00
snipe
0153c6ae96
Do not try to add the notes column if it already exists on accessories_users
...
Signed-off-by: snipe <snipe@snipe.net >
2021-06-19 16:20:22 -07:00
bmkalle
a330dca7d4
Update company-select.blade.php
...
select should be disabled if full multiple companies is activated and the user isn't a superuser. otherwise the user get the ability to choose all companies.
2021-06-17 10:51:00 +02:00
Petri Asikainen
ae2c77f97f
Allow to bulk update min_amt
2021-06-17 00:36:04 +03:00
GMS ICT 2
ea7f18d0e6
add CompanyableTrait
2021-06-15 15:32:44 +07:00
Joly0
9a429952ff
update print.blade.php
2021-06-15 08:52:01 +02:00
Johannes Münch
8f4b88a877
Fixes #9705 Prevent syntax error in startup.sh
...
If SESSION_DRIVER is not defined it leads to a syntax error.
2021-06-12 20:21:43 +02:00
Joly0
72f27ccc5b
Update print.blade.php
2021-06-11 11:05:39 +02:00
snipe
8cd78b2790
Merge remote-tracking branch 'origin/develop'
...
Signed-off-by: snipe <snipe@snipe.net >
# Conflicts:
# config/version.php
2021-06-10 17:44:17 -07:00
snipe
aae6a8fc6c
Bumped version
...
Signed-off-by: snipe <snipe@snipe.net >
2021-06-10 17:42:29 -07:00
snipe
ace7abc1ad
Merge remote-tracking branch 'origin/develop'
2021-06-10 15:18:24 -07:00
snipe
c567ad0617
Add @travismiller as a contributor
2021-06-10 15:18:02 -07:00
snipe
4c007ae085
Merge remote-tracking branch 'origin/develop'
2021-06-10 15:17:19 -07:00
snipe
54cb6c050a
Merge pull request #9679 from tulsaschoolsdata/serial-number-indexes
...
Fixed #8486 : Add index for asset serial number
2021-06-09 17:36:06 -07:00
snipe
851e5ca96e
Merge pull request #9683 from tulsaschoolsdata/9682-company-id-indexes
...
Thanks!
2021-06-09 17:35:37 -07:00
Travis Miller
103c4325ce
Fixed #9682 : Add indexes for company_id
2021-06-09 14:29:00 -05:00
Travis Miller
ebe7c2da87
Fixed #8486 : Add index for asset serial number
2021-06-09 14:12:35 -05:00
Travis Miller
4f6b1bb12d
Fixed #9680 : Use Eloquent’s withCount method to count Statuslabel assets
2021-06-09 11:52:04 -05:00
Ivan Nieto Vivanco
bb227cafb2
Added event to trigger the notification.
2021-06-08 13:16:13 -05:00
snipe
6c1dd81e0a
Merge pull request #9640 from inietov/fixes/errorexception_invalid_argument_supplied
...
Fixes an issue when tried to upload a file to an user without actually selecting a file. [ch16471]
2021-05-27 14:03:25 -07:00
Ivan Nieto Vivanco
9f944ad497
Added the 'required' attribute to the input file n the upload file form modal. Added a validation for the UserFilesController if the user doesn't select any file to upload [ch16471].
2021-05-27 15:48:13 -05:00
snipe
01e3296ff3
Updated hash
...
Signed-off-by: snipe <snipe@snipe.net >
2021-05-26 15:58:24 -07:00
snipe
7d5a9180e6
Updated hash
...
Signed-off-by: snipe <snipe@snipe.net >
2021-05-26 15:57:56 -07:00
snipe
9f2b4c721d
Allow password reset from user profile
...
Signed-off-by: snipe <snipe@snipe.net >
2021-05-26 15:32:23 -07:00
snipe
3d008079c9
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-05-26 14:32:33 -07:00
snipe
b8d413a6b8
Merge pull request #9632 from inietov/fixes/api_allow_duplicate_asset_tags
...
Fixes an issue that allows duplicate asset tags when the Asset is created via API.
2021-05-26 13:34:59 -07:00
snipe
30a193502f
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-05-26 13:27:20 -07:00
snipe
11f1b29db9
Add @kcoyo as a contributor
2021-05-26 13:04:51 -07:00
snipe
200d0804ec
Merge pull request #9630 from kcoyo/develop
...
Fixed #9607 : Sessions expire for SAML/RemoteUser/LDAP
2021-05-26 13:04:13 -07:00
Ivan Nieto Vivanco
d9f5f1182a
Delete a couple lines that rewrites validation rules for asset tags in the model Asset.php:save() method.
2021-05-25 23:09:27 -05:00
snipe
3f09d17389
Fixed typo “synchronization”
...
Signed-off-by: snipe <snipe@snipe.net >
2021-05-25 18:45:06 -07:00
kcoyo
55555ee233
Merge pull request #1 from kcoyo/Fixed-#9607---Sessions-expire-for-SAML/RemoteUser/LDAP
...
Fixed #9607 - Sessions expire for SAML/RemoteUser/LDAP
2021-05-25 16:44:08 -07:00
kcoyo
cee6f0d579
Update LoginController.php
...
Fixed #9607 - Sessions expire for SAML/RemoteUser/LDAP
2021-05-25 16:37:34 -07:00
snipe
5b4550a6a8
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-05-21 16:56:15 -07:00
snipe
1a7edb3411
Accept webp in uploads (not just image files)
...
Signed-off-by: snipe <snipe@snipe.net >
2021-05-21 16:56:11 -07:00
snipe
796c7c8431
Merge pull request #9619 from uberbrady/migrator_misses_logos
...
Several improvements to the snipeit:restore Artisan command
2021-05-21 16:02:55 -07:00
Brady Wetherington
94c1d36e08
The legacy 'logo.png' might not be a PNG, so switched to wildcard.
2021-05-21 15:55:37 -07:00
Brady Wetherington
e71bba441e
Several improvements to the snipeit:restore Artisan command
...
The output now focuses on files that were skipped. Wildcard support
was added for individual files. A progress bar fills as the files
are transferred from the ZIPball to the filesystem. A new command-line
switch can be used to disable the progress bar. Barcode restores are
now skipped (we'd probably prefer to regenerate them). A few missed
directories have been added in. Some logic to skip macOS resource-fork
files has been put in. Some bugs with array operations were fixed.
There's now a concept of 'valid' and 'invalid' files for wildcard
operations.
2021-05-21 15:23:23 -07:00
Sabir Manandhar
c3d75d3be3
feat[docker]: create session table migration if session driver is set to database ( #9587 )
2021-05-20 14:31:22 -07:00
snipe
9eea46adef
Fixed parse error in user print view
...
Signed-off-by: snipe <snipe@snipe.net >
2021-05-20 13:53:43 -07:00
sabir-dzangolab
19766a0a72
Fix/startup-sh ( #9586 )
...
* fix: update docker/startup.sh broken after merging hotfixs/2fa_qr
* fix: Typo in Dockerfile.alpine
2021-05-17 15:39:05 -07:00
Marc Leuser
4030789786
fix LicenseSeatsController method documentation ( #9584 )
...
in an attempt to get the automatic API reference generation to work
2021-05-14 16:14:32 -07:00
Jonathon Reinhart
fd082addff
Fix incorrect case of ldap sync status string ( #9563 )
...
Fixes #9562
2021-05-12 19:15:39 -07:00
snipe
d636566012
Merge remote-tracking branch 'origin/master' into develop
2021-05-12 17:45:06 -07:00
Brady Wetherington
6066005aeb
[WIP] Initial rough stabs at the Backup Migrator. It kinda-sorta works? ( #9457 )
...
* Initial rough stabs at the Backup Migrator. It kinda-sorta works?
* Fix hardcoded mysql path var
2021-05-12 17:44:39 -07:00
snipe
76897f3a3a
Make label printing from asset page more consistent with normal UI
...
Signed-off-by: snipe <snipe@snipe.net >
2021-05-12 17:08:53 -07:00
snipe
c1babdc9b0
Merge remote-tracking branch 'origin/develop'
2021-05-12 16:51:57 -07:00
snipe
1a95337db1
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-05-12 16:51:39 -07:00
Ivan Nieto Vivanco
6ed5dff1a5
Fix the target path to copy the demo logos in the database\seeds\SettingsSeeder.php. Also added the code that copies the demo logos to app\Console\Commands\ResetDemoSettings.php ( #9571 )
2021-05-12 16:41:49 -07:00
snipe
3f559c4a50
Add @tbrconnect as a contributor
2021-05-12 13:38:56 -07:00
tbrconnect
a29ef73346
Feature #3088 Print labels from asset detail page ( #9559 )
...
This PR adds a "Generate Label" button to the detail asset page as
described in #3088 .
Fixes #3088
Co-authored-by: tilmann.bitterberg <tilmann@tbrglobal.com >
2021-05-12 13:38:26 -07:00
snipe
015ca1fcdc
Merge remote-tracking branch 'origin/develop'
2021-05-07 18:13:22 -07:00
snipe
ded61614d1
Attempt to fix transient LDAP bug
...
Signed-off-by: snipe <snipe@snipe.net >
2021-05-07 18:13:04 -07:00
Brady Wetherington
62199f6255
Manually re-add support for Label Logos in Labels ( #9552 )
2021-05-07 17:01:32 -07:00
snipe
75b89b5a97
Merge remote-tracking branch 'origin/develop'
2021-05-07 16:42:41 -07:00
snipe
a704614397
Bumped max for country on model
...
Signed-off-by: snipe <snipe@snipe.net >
2021-05-07 16:42:26 -07:00
snipe
2dcb50d28e
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-05-07 16:36:12 -07:00
snipe
9aac3ae628
Fixed HTML causing two backup headers to appear
...
Signed-off-by: snipe <snipe@snipe.net >
2021-05-07 16:36:07 -07:00
Tom Misilo
397e2df3ea
Upgrade the Alpine docker img to v3.13 for PHP 7.4 ( #9550 )
...
v3.13 of the alpine image has php7.4 instead of php7.3
2021-05-07 13:50:36 -07:00
Tom Misilo
4e408cbc42
Fix CSP Always being Enabled unless in debug mode. ( #9543 )
2021-05-05 10:51:47 -07:00
snipe
570a31a1c4
Merge remote-tracking branch 'origin/develop'
2021-05-05 10:29:10 -07:00
snipe
ece627b3a3
Small fixes for location printing when relationships are missing/invalid, per #9521
...
Signed-off-by: snipe <snipe@snipe.net >
2021-05-05 10:23:46 -07:00
snipe
d8d3fa2293
Only show department if it’s valid
...
Signed-off-by: snipe <snipe@snipe.net >
2021-05-05 10:13:19 -07:00
snipe
ab694347b0
Added favicon to demo dir
...
Signed-off-by: snipe <snipe@snipe.net >
2021-05-05 01:18:49 -07:00
snipe
aa98e4ea7a
Bumped hash
...
Signed-off-by: snipe <snipe@snipe.net >
# Conflicts:
# config/version.php
2021-05-05 00:04:17 -07:00
snipe
6935d94184
Bumped hash
...
Signed-off-by: snipe <snipe@snipe.net >
2021-05-05 00:03:33 -07:00
snipe
d9d5b4d730
Merge remote-tracking branch 'origin/develop'
...
Signed-off-by: snipe <snipe@snipe.net >
# Conflicts:
# .all-contributorsrc
# README.md
2021-05-05 00:01:09 -07:00
Ivan Nieto Vivanco
36a43642d8
Changed the orderBy clause inside the custom reports function that forms the CSV to be 'id' so making it a unique value and don't causes repeated items. [ch14587] ( #9535 )
2021-05-04 23:50:02 -07:00
snipe
ed98683496
Add @mikecmpbll as a contributor
2021-05-04 22:40:04 -07:00
snipe
c2dc7ac182
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-05-04 22:39:24 -07:00
Dampfklon
37f7768e7a
Fix Dockerfile.alpine build error and snipeit runtime permission error ( #9520 )
2021-05-04 22:29:24 -07:00
snipe
c1a8b609ea
Add @markbrule as a contributor
2021-05-04 22:27:35 -07:00
markbrule
6c1553167d
issue #9422 - pivot ID was being used as a user_id ( #9512 )
2021-05-04 22:27:01 -07:00
snipe
c572c98361
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-05-04 22:21:35 -07:00
snipe
6c0af3c6e1
Add @JohnnyPicnic as a contributor
2021-05-04 22:21:18 -07:00
snipe
715b1a0fb2
Fixed #9157 Update .env to API_TOKEN_EXPIRATION_YEARS=15 (reapplies #9524 )
...
Signed-off-by: snipe <snipe@snipe.net >
2021-05-04 22:20:54 -07:00
Tom Misilo
a6bbe1fec3
Delete file from assets folder, not just the ref. ( #9525 )
2021-05-04 22:18:22 -07:00
snipe
67ac3631df
Production assets
...
Signed-off-by: snipe <snipe@snipe.net >
2021-05-04 22:05:26 -07:00
snipe
5760b76c4e
Merge remote-tracking branch 'origin/develop'
...
Signed-off-by: snipe <snipe@snipe.net >
# Conflicts:
# public/css/dist/skins/skin-black-dark.css
# public/css/dist/skins/skin-black-dark.min.css
# public/css/dist/skins/skin-black.css
# public/css/dist/skins/skin-black.min.css
# public/css/dist/skins/skin-blue-dark.css
# public/css/dist/skins/skin-blue-dark.min.css
# public/css/dist/skins/skin-blue.css
# public/css/dist/skins/skin-blue.min.css
# public/css/dist/skins/skin-contrast.css
# public/css/dist/skins/skin-contrast.min.css
# public/css/dist/skins/skin-green-dark.css
# public/css/dist/skins/skin-green-dark.min.css
# public/css/dist/skins/skin-green.css
# public/css/dist/skins/skin-green.min.css
# public/css/dist/skins/skin-orange-dark.css
# public/css/dist/skins/skin-orange-dark.min.css
# public/css/dist/skins/skin-orange.css
# public/css/dist/skins/skin-orange.min.css
# public/css/dist/skins/skin-purple-dark.css
# public/css/dist/skins/skin-purple-dark.min.css
# public/css/dist/skins/skin-purple.css
# public/css/dist/skins/skin-purple.min.css
# public/css/dist/skins/skin-red-dark.css
# public/css/dist/skins/skin-red-dark.min.css
# public/css/dist/skins/skin-red.css
# public/css/dist/skins/skin-red.min.css
# public/css/dist/skins/skin-yellow-dark.css
# public/css/dist/skins/skin-yellow-dark.min.css
# public/css/dist/skins/skin-yellow.css
# public/css/dist/skins/skin-yellow.min.css
# public/mix-manifest.json
2021-05-04 22:03:56 -07:00
snipe
57b9b571dc
Fixed #9531 - highlight search box when filled, add clear button ( #9534 )
2021-05-04 22:00:34 -07:00
snipe
62f091e769
Merge remote-tracking branch 'origin/develop'
2021-04-30 15:38:02 -07:00
snipe
cee5eea121
Use 24-hour date format for audit
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-30 15:37:39 -07:00
snipe
c6726015f7
Added missing use statement
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-30 14:52:08 -07:00
snipe
961268172b
Merge remote-tracking branch 'origin/develop'
2021-04-26 18:12:10 -07:00
snipe
b01baec7a8
Updated languages
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-26 18:11:48 -07:00
snipe
a1bc984d17
Generate production assets, bumped version
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-26 17:34:02 -07:00
snipe
31944cd4d4
Bumped version
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-26 17:28:38 -07:00
snipe
d5894a4d64
Generated dev assets
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-26 17:27:28 -07:00
snipe
32f043c5df
Set the body skin style if one was overridden by the user profile
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-26 17:25:39 -07:00
snipe
23376c317e
Use correct URL for css for subdirs
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-26 17:22:02 -07:00
snipe
b3b02933a5
Removed duplicate code
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-26 17:21:48 -07:00
snipe
882732b2de
WTF kind of gendered language was this mess?
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-26 17:18:17 -07:00
snipe
b8c3564434
Removed min from personal CSS
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-26 14:05:18 -07:00
snipe
138ddfec1c
Merge remote-tracking branch 'origin/develop'
2021-04-23 14:27:12 -07:00
snipe
315bcb6b38
Added use statement
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-23 14:26:57 -07:00
snipe
8016807268
Add @Nevets82 as a contributor
2021-04-23 12:09:34 -07:00
Steven
82f73eb9e2
Added user locale to REST API GET /api/users response; ( #9486 )
...
* Clearer reporting on import
Signed-off-by: snipe <snipe@snipe.net >
* Try adding text/x-Algol68 to import
Signed-off-by: snipe <snipe@snipe.net >
* Added user locale to REST API GET /api/users response;
Co-authored-by: snipe <snipe@snipe.net >
2021-04-23 12:09:00 -07:00
snipe
b865a8aeea
Merge remote-tracking branch 'origin/develop'
2021-04-21 20:19:17 -07:00
snipe
1d43eda21f
Features: improved UI for importer ( #9467 )
...
* Small UI improvements for importer
Signed-off-by: snipe <snipe@snipe.net >
* And UI backup improvements
Signed-off-by: snipe <snipe@snipe.net >
2021-04-21 20:16:17 -07:00
snipe
ea0d0df1af
Try adding text/x-Algol68 to import
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-21 13:48:51 -07:00
snipe
54ef469d98
Clearer reporting on import
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-21 13:27:23 -07:00
snipe
cef689a679
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-04-21 12:29:06 -07:00
snipe
36c2edb278
Add @nepella as a contributor
2021-04-21 11:40:38 -07:00
Renee Margaret McConahy
e6c3d7fe57
Restore LOG_CHANNEL environment variable. ( #9464 )
...
This allows selecting the Monolog channel with the LOG_CHANNEL variable.
2021-04-21 11:40:23 -07:00
snipe
3855b74161
Merge remote-tracking branch 'origin/develop'
2021-04-21 10:24:04 -07:00
snipe
90f79eaf83
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-04-21 10:23:46 -07:00
Brady Wetherington
72a813f23d
This fixes the controller signature error people are getting with LDAP logins ( #9466 )
2021-04-21 10:23:32 -07:00
snipe
d90abdf86f
Snipe codeacy workflow ( #9460 )
...
* Removed printerClass="NunoMaduro\Collision\Adapters\Phpunit\Printer"
Signed-off-by: snipe <snipe@snipe.net >
* fix ldap ad authentication filter query mechanism (#7441 )
* Create SECURITY.md
* Create codacy-analysis.yml
Co-authored-by: Istvan Basa <basipottom@gmail.com >
2021-04-20 22:17:37 -07:00
snipe
1886841ec5
Create SECURITY.md
2021-04-20 22:15:41 -07:00
Istvan Basa
b037d0efdd
fix ldap ad authentication filter query mechanism ( #7441 )
2021-04-20 21:25:45 -07:00
aranar-pro
5127727730
Fixed #9424 : import history adds asset model to assigned user and respects checkin date ( #9350 )
...
* Fixed #9294 : Assets import history. Behaviour based on Checkin Date added, including assigning checked out items to users.
* Fixed #9294 : Fixed asset import history to respect checkin and update user with checked out items.
* Fixed #9294 : whitespace and comment cleanup for merge
* Fixed #9294 : Fixed asset import history to respect checkin and update user with checked out items.
2021-04-20 21:25:17 -07:00
Ross Crawford-d'Heureuse
2a058c3ce1
Added a docker-compose with helper services ( #9105 )
...
* Updates
* BAse
* pdated instructions round app_key
Co-authored-by: Ross Crawford-d'Heureuse <ross.crawford@mindcurv.com >
2021-04-20 21:17:34 -07:00
Mateus Villar
fdcb63f251
Added #9313 : Add new fpm-alpine docker image and docker secrets support ( #9331 )
...
* Add docker secret support
* Add docker secret support to selected environment variables below:
- APP_KEY_FILE -> APP_KEY;
- DB_HOST_FILE -> DB_HOST;
- DB_PORT_FILE -> DB_PORT;
- DB_DATABASE_FILE -> DB_DATABASE;
- DB_USERNAME_FILE -> DB_USERNAME;
- DB_PASSWORD_FILE -> DB_PASSWORD;
- REDIS_HOST_FILE -> REDIS_HOST;
- REDIS_PASSWORD_FILE -> REDIS_PASSWORD;
- REDIS_PORT_FILE -> REDIS_PORT;
- MAIL_HOST_FILE -> MAIL_HOST;
- MAIL_PORT_FILE -> MAIL_PORT;
- MAIL_USERNAME_FILE -> MAIL_USERNAME;
- MAIL_PASSWORD_FILE -> MAIL_PASSWORD;
* Add env file for docker secrets
* Added #9313 : add new fpm-image using docker secrets
* Fix broken symlinks
* Add docker secrets support using shell script
* Remove old docker config php files
2021-04-20 21:14:47 -07:00
dependabot[bot]
da79a16284
Bump ssri from 6.0.1 to 6.0.2 ( #9459 )
...
* Removed printerClass="NunoMaduro\Collision\Adapters\Phpunit\Printer"
Signed-off-by: snipe <snipe@snipe.net >
* Bump ssri from 6.0.1 to 6.0.2
Bumps [ssri](https://github.com/npm/ssri ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases )
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md )
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: snipe <snipe@snipe.net >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-20 21:13:34 -07:00
snipe
d10d090d33
Moved status label help text to headline
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-20 15:31:07 -07:00
snipe
aa6b1456b2
Added help text to custom fields headline
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-20 15:29:43 -07:00
snipe
b2de0d4ade
Changed “Asset Categories” to “Categories” since there are more than asset categories now
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-20 15:29:22 -07:00
snipe
c17eaaad69
Check that the field is valid before checking to see count()
...
This mostly affects the demo, since the seeder updates info often
Signed-off-by: snipe <snipe@snipe.net >
2021-04-20 15:10:28 -07:00
snipe
e286ff0be3
Added show() redirect for CustomFields::show()
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-20 15:09:23 -07:00
snipe
83200d3cbd
Merge remote-tracking branch 'origin/develop'
2021-04-20 14:55:48 -07:00
snipe
d40fe1b683
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-04-20 14:54:29 -07:00
Brady Wetherington
2a28f5e66c
(Maybe?) Fixes the problem where we always need LDAP enabled ( #9321 )
...
* I *think* this fixes the problem where we need LDAP even if we aren't using it?
* Pull the LdapAd dependency out of the AuthController constructor
2021-04-20 14:53:47 -07:00
snipe
dd1a5681da
Add @psarossy as a contributor
2021-04-20 14:53:10 -07:00
Peter Sarossy
cacb707a7f
Added #9355 : include Accessories and Consumables on the location reports ( #9356 )
2021-04-20 14:53:04 -07:00
snipe
e92f69dcda
Add @zybersup as a contributor
2021-04-20 14:52:29 -07:00
Supapong Areeprasertkul
b28b245acc
Update labels.blade.php ( #8441 )
...
- Make the qr_size bigger when no barcode printed.
- BUG: Missing unit of font size for .qr-text class.
- Reduce padding-right to remove the additional space above text when print from Google Chrome. (I do not know the cause. I tried "box-sizing: border-box" without success.)
2021-04-20 14:52:17 -07:00
Michael Pietsch
15e729f4b8
fix css when not runnin in webroot directory ( #9445 )
...
Co-authored-by: Michael Pietsch <skywalker-11@mi-pietsch.de >
2021-04-20 14:49:57 -07:00
snipe
3138f45e8c
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-04-20 14:49:38 -07:00
snipe
3e471a6587
Add @sh1hab as a contributor
2021-04-20 14:49:31 -07:00
Masudul Haque Shihab
f3831fe010
Fixed #9447 change route parameter name in locations view ( #9456 )
2021-04-20 14:49:05 -07:00
Ivan Nieto Vivanco
36bc47c61c
Handle regex format when assigned from API ( #9443 )
2021-04-20 14:44:47 -07:00
snipe
e4acf8d795
Merge remote-tracking branch 'origin/master' into develop
2021-04-20 14:44:01 -07:00
snipe
b562f38729
Removed printerClass="NunoMaduro\Collision\Adapters\Phpunit\Printer"
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-19 10:51:29 -07:00
snipe
e8adf8d44c
One more category fix
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-14 16:57:55 -07:00
snipe
b693e5202b
Check for category name
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-14 16:54:36 -07:00
snipe
415ae5854f
Add @Skywalker-11 as a contributor
2021-04-14 15:15:57 -07:00
snipe
e1c6d4ced7
Merge branch 'develop' of https://github.com/Skywalker-11/snipe-it into Skywalker-11-develop
...
Signed-off-by: snipe <snipe@snipe.net >
# Conflicts:
# app/Http/Requests/SettingsSamlRequest.php
2021-04-14 15:15:07 -07:00
snipe
252b2ee1b4
Add @Jelle-S as a contributor
2021-04-14 15:07:40 -07:00
snipe
39b0f464d2
Adds ID columns to tables that don’t have them - reproduces #9363
...
This reproduces #9363 without the PK in custom fields
Signed-off-by: snipe <snipe@snipe.net >
2021-04-14 15:07:11 -07:00
snipe
2c0438bdcb
Add @andreaci as a contributor
2021-04-14 11:18:13 -07:00
snipe
2986765a68
Implements #9373
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-14 11:17:59 -07:00
snipe
f19595f525
Add @deivishome as a contributor
2021-04-14 10:27:08 -07:00
snipe
465ec054d3
Add @limeless as a contributor
2021-04-14 10:22:58 -07:00
theburger
785b1ad5a6
Update snipeit.sh php version from 7.1 to 7.4 ( #9407 )
...
Snipe-it 5.2.x is required PHP 7.4 or above,
update script to install PHP 7.4 instead of 7.1
## Changed
- PHP to install in script is changed to 7.4 from 7.1
- Add `''`at DB_PASSWORD when configuring `.env` file
2021-04-14 10:22:31 -07:00
snipe
ab8f7e7b84
Add @Joly0 as a contributor
2021-04-14 10:21:18 -07:00
Joly0
31b2287a57
Update print.blade.php ( #9426 )
...
Fixes #9418
2021-04-14 10:20:36 -07:00
Godfrey Martinez
5fab1d6f0d
FIxes Sum of purchase cost of components not taking quantity into account in Asset View > Components tab ( #9424 )
...
* git commit -m
* added text
2021-04-14 10:19:40 -07:00
Godfrey Martinez
246cc0eaa8
Feature/ch16172/adding other fields to ldap sync settings ( #9416 )
...
* new branch, added manager as an additional field. Currently having DB issues
* WIP DB Issue with eloquent
* added department to LDAP sync
* removed unused variables
2021-04-14 10:17:57 -07:00
snipe
ce1d3284b0
Buld assets
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-14 10:12:14 -07:00
Brady Wetherington
bf344fd707
Merge branch 'develop'
...
mix-manifest I just picked one.
version.php will get bumped by hand
bootstrap table seems to just be another copy? Added it back.
2021-04-14 09:58:21 -07:00
Ivan Nieto Vivanco
9cf5fbd675
Logic added to handle when a cloned user is imported via LDAP. ( #9429 )
2021-04-14 09:19:25 -07:00
Ivan Nieto Vivanco
3824a50e8b
Fixes an issue with CSS when the 'skin' value in settings table is empty. ( #9423 )
2021-04-12 20:37:02 -07:00
snipe
b6006769c3
Bumped version
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-06 21:02:05 -07:00
snipe
bf2479c5d9
Fixed url to user-ridden style
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-06 20:36:13 -07:00
snipe
7ddcc97e79
Generated dev assets
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-06 20:35:58 -07:00
snipe
ba92d751a3
Removed depreciated Input:: facade
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-06 20:28:05 -07:00
Brady Wetherington
6b86e2a58f
Rebuilt all assets after all commits had landed
2021-04-06 20:16:59 -07:00
Brady Wetherington
792a31cc7f
Merge branch 'develop'
2021-04-06 20:10:22 -07:00
snipe
e47e2e3754
Fixed #9404 - include note in accessory API
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-06 10:57:30 -07:00
snipe
105f57e059
Possible fix for Docker failing on master
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-06 06:09:04 -07:00
snipe
390403ddb7
Fixed #9370 - listbox custom fields not decryoted on edit
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-06 05:59:31 -07:00
snipe
7da32443ff
Move develop fixes to master
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-06 05:05:16 -07:00
Brady Wetherington
72806cf8db
Fix up docker build on develop branch ( #9401 )
2021-04-05 22:13:31 -07:00
Serkan
0e34e43abb
The return early pattern applied to improve readability. ( #8894 )
2021-04-05 22:03:15 -07:00
snipe
981b503653
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-04-05 22:01:35 -07:00
Joel Pittet
af8509c4d0
Allow NPM packages to build for production ( #9171 )
...
* add back changes before compiling assets
* new css location and mix manifest
* update papaparse, most vunerabilities attached to it
* update axios and papaparse for security releases
* removing security fixes that still allow npm run production to work
* Update lodash
2021-04-05 22:01:11 -07:00
snipe
abddda2ab8
Add @kajes as a contributor
2021-04-05 21:56:45 -07:00
Lars Kajes
49532e1cd6
Add option to force TLS connection ( #9327 )
...
Co-authored-by: Lars Kajes <lars.kajes@iusinnovation.se >
2021-04-05 21:56:25 -07:00
snipe
09887bdabd
Removed stray opening tag
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-05 21:54:31 -07:00
snipe
ff0e526021
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-04-05 21:53:47 -07:00
Godfrey Martinez
f9f8ce6df6
Auditing feature improvement Better mobile [ch14328] ( #9181 )
2021-04-05 21:53:19 -07:00
snipe
55692bfe98
Add @Tetrachloromethane250 as a contributor
2021-04-05 21:52:14 -07:00
snipe
5c5fe2bd87
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-04-05 21:52:01 -07:00
Tetrachloromethane250
157d9e4ebb
Added #5977 : Add permission to view files attached to licenses ( #9264 )
...
* Add permission to view and modify files for licenses
* Actually use the permission
2021-04-05 21:51:47 -07:00
snipe
20a3028386
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-04-05 21:48:01 -07:00
snipe
3ffa3534a0
Use environmental variables in memory limits
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-05 21:47:57 -07:00
Jan Kiesewetter
d61d189328
Change owner while copy ( #7552 )
...
* Change owner while copy
Copy all files and chown them in a 2nd layer leads to a larger image.
See layer 22 and 26 of https://hub.docker.com/layers/snipe/snipe-it/v4.7.8/images/sha256-67c865d91df1b90cef1112f12bbc9c64402dfeafde0bdb160c4f07e785ee0bcc
* Copy docker.env as user docker
2021-04-05 21:15:54 -07:00
Earl Ramirez
6a8d5282ef
Add support for Debian 10 ( #7414 )
2021-04-05 21:06:53 -07:00
snipe
f147c43dd4
Add @t3easy as a contributor
2021-04-05 21:04:39 -07:00
snipe
c9ec15101c
Add @ajsy as a contributor
2021-04-05 20:56:39 -07:00
snipe
b9bab05ac3
Merge branch 'master' of https://github.com/ajsy/snipe-it into ajsy-master
...
Signed-off-by: snipe <snipe@snipe.net >
# Conflicts:
# resources/views/users/print.blade.php
2021-04-05 20:55:49 -07:00
snipe
298bfa73c8
Add @ocelotsloth as a contributor
2021-04-05 20:35:28 -07:00
Mark Stenglein
dd1b9ab926
VAGRANT: Fix Ubuntu Development VMs ( #6909 )
...
* GITIGNORE: Add vagrant log and ansible retry files
This patch adds the following to the project's .gitignore file:
- Vagrant's log file
- Ansible's retry files
Signed-off-by: Mark Stenglein <mark@stengle.in >
* ANSIBLE: Add Ubuntu Ansible playbook for dev env
This patch adds an Ansible playbook to provision an Ubuntu based
development environment. This playbook is fully idempotent and
can be run multiple times without negative consequences.
Signed-off-by: Mark Stenglein <mark@stengle.in >
* VAGRANTFILE: Clean Vagrantfile
There was a lot of extra VMs being provisioned by the existing
Vagrantfile. Some of this may need to come back but I am removing
it with this commit to demonstrate that this is all that is
needed.
Signed-off-by: Mark Stenglein <mark@stengle.in >
* ANSIBLE: UBUNTU: PLAYBOOK: Add .env configuration
I missed the configuration of the .env file in the initial commit.
This patch adds these configuration steps as well as the needed
Cron job for the Artisan scheduler.
Signed-off-by: Mark Stenglein <mark@stengle.in >
* Revert "VAGRANTFILE: Clean Vagrantfile"
This reverts commit a608a30d6b .
* VAGRANTFILE: Fix Ubuntu Vagrant Development Boxes
This patch addresses problems with the existing Vagrant deployment
configurations for the Ubuntu VMs.
- The vagrant file is configuring the VMs for an incorrect bridge
interface. Fixed by changing the config to use the default
networking as well as a port-forward.
- Moves provisioning over to the Ansible-Local playbook I wrote.
Signed-off-by: Mark Stenglein <mark@stengle.in >
2021-04-05 20:35:04 -07:00
Sxderp
f01c93e162
Extend #6229 to include superuser permission check ( #6772 )
2021-04-05 20:26:06 -07:00
snipe
26b97d2b0b
Add @JuustoMestari as a contributor
2021-04-05 20:16:35 -07:00
snipe
df72f92bc0
Brings PR #6744 up to parity with previous changes - Set custom field's default value when creating a new asset using the API
...
Signed-off-by: snipe <snipe@snipe.net >
2021-04-05 20:16:06 -07:00
AlexanderWPapyrus
a1f9642a18
Increases DPI of barcode for small lables ( #9344 )
...
solves issue #9293
2021-04-05 19:33:10 -07:00
Ivan Nieto Vivanco
90a24539b0
Fixes/cli importer issue ( #9199 )
...
* Added logic to handle the CLI importer.
* Fix bug introduced with the commit previous to the regression.
* Adds a validation for variable when is null, add comments to clarify where the class variable came from.
* Add support for when variable is an instance of User class.
2021-04-05 19:28:31 -07:00
Godfrey Martinez
5ea759f615
Fixed #7211 , #9197 , #7864 , [ch15504] - Added additional LDAP fields to sync ( #9318 )
...
* LDAP and Active Directory has plenty of other [ch15504]
* removed department id from ldap sync
* removed department id from ldap sync
* Update 2021_03_18_184102_adds_several_ldap_fields.php
2021-04-05 19:26:04 -07:00
Ivan Nieto Vivanco
eb0ae74ef8
Fixes typo that doesn't accepts 'textarea' as custom field type element. ( #9387 )
2021-04-01 18:23:05 -07:00
snipe
6f4215cfac
Fixed label name for field_values
...
Signed-off-by: snipe <snipe@snipe.net >
2021-03-31 14:07:30 -07:00
snipe
a199c75f5c
Added textarea and checkbox to validation rules
...
Signed-off-by: snipe <snipe@snipe.net >
2021-03-31 14:04:01 -07:00
snipe
b5f7cb534e
Fixed element name
...
Signed-off-by: snipe <snipe@snipe.net >
2021-03-31 14:02:25 -07:00
snipe
618e4439e2
Fixed validation to include textarea
...
Signed-off-by: snipe <snipe@snipe.net >
2021-03-31 14:02:10 -07:00
snipe
6a8e761c5e
Added created_at and updated_at to presenter
...
Signed-off-by: snipe <snipe@snipe.net >
2021-03-30 08:57:20 -07:00
snipe
70a7a8f20b
WTF. This shit is haunted.
...
Signed-off-by: snipe <snipe@snipe.net >
2021-03-30 08:00:27 -07:00
snipe
a5b67965f2
Fixed CSS path
...
(Fixes RB #14746 )
Signed-off-by: snipe <snipe@snipe.net >
2021-03-30 07:49:30 -07:00
snipe
2354e37504
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-03-30 07:40:14 -07:00
Nikolay Didenko
06e641b782
Do not override per table data-id-cookie-table attribute by current route name globally ( #7835 )
2021-03-29 20:05:24 -07:00
Shaun McPeck
c88813bbb8
set docker user as owner of key symbolic links ( #7924 )
...
Co-authored-by: Shaun McPeck <shaun@shaunmcpeck.com >
2021-03-29 19:44:42 -07:00
Marc Leuser
90b7d34c69
Added #6695 : add API endpoint for license seats ( #8058 )
...
* remove miselading comment line
* added dedicated API endpoint for license seats
* don't display a seat name via API
it makes no sense and we don't have any particular sorting order
so the numbering would be inconsistent anyway
* reduce amount of IFs
* add sanity checks to show()
* fix goofed logging logic
* add tests for action log entries
2021-03-29 19:41:26 -07:00
R. Christian McDonald
cb1a95a530
Apache site configurations shouldn't be written to sites-enabled ( #6982 )
...
It is better (best) practice to write configurations to sites-available and then let Apache copy the configuration to sites-enabled via 'a2ensite' command
2021-03-29 19:21:30 -07:00
NMC
3e934a1b96
Add a way for a user to override the site skin setting + fix mislabeled comment. ( #6891 )
...
* Add a way for a user to override the skin setting.
* Add site setting to allow user to change the skin.
* Fix skin list.
Co-authored-by: NMC <info@nmc-lab.com >
2021-03-29 19:09:23 -07:00
Nuno Maduro
8b6b95a05b
Makes nunomaduro/collision versioning consistent with other dependencies ( #9316 )
2021-03-29 18:15:20 -07:00
snipe
53651ba3df
Add @misilot as a contributor
2021-03-24 14:09:02 -07:00
snipe
d527f23ec8
Add @raelldottin as a contributor
2021-03-24 14:08:56 -07:00
Raell Dottin
78cc47a859
Added sanity check to determine if a bind user account is set. ( #9340 )
2021-03-24 14:08:37 -07:00
snipe
b00413e8aa
Added missing .env vars to example from #8389
...
Signed-off-by: snipe <snipe@snipe.net >
2021-03-24 11:46:07 -07:00
Tom Misilo
7557879d4a
Add support for overriding the Time and Memory Limits ( #8389 )
...
This is similar to what exists for the LDAP Import, and adds support for
setting th Import and Report max execution time and memory limits
Co-authored-by: snipe <snipe@snipe.net >
2021-03-24 11:40:43 -07:00
snipe
0b41f9182a
Merge remote-tracking branch 'origin/develop'
2021-03-24 11:35:39 -07:00
Jo Drexl
0114373468
Fixing #9224 ( #9328 )
2021-03-22 12:57:26 -07:00
snipe
86fef3f40a
Set SAML errors to warning instead of error
...
Signed-off-by: snipe <snipe@snipe.net >
2021-03-17 22:30:26 -07:00
snipe
c90604b5ae
Merge remote-tracking branch 'origin/develop'
2021-03-17 22:19:24 -07:00
snipe
069e9e52fe
Try/catch barcodes so they don’t shit up the logs
...
Signed-off-by: snipe <snipe@snipe.net >
2021-03-17 22:19:10 -07:00
Peter Dave Hello
ca8b152549
Remove unnecessary apt-get clean in Dockerfile ( #9201 )
...
This image is built from the official Debian image as upstream, so there
is no need to do apt-get clean manually.
Ref:
- docs.docker.com/develop/develop-images/dockerfile_best-practices/#apt-get
> Official Debian and Ubuntu images automatically run apt-get clean, so
> explicit invocation is not required.
2021-03-17 20:33:54 -07:00
snipe
b2a3a80f96
Bumped hash
...
Signed-off-by: snipe <snipe@snipe.net >
# Conflicts:
# composer.lock
# config/version.php
2021-03-17 20:04:43 -07:00
snipe
c8e172ec6b
Downgrade packages
...
Signed-off-by: snipe <snipe@snipe.net >
2021-03-17 20:03:09 -07:00
snipe
afb7fcfa3e
Bumped hash
...
Signed-off-by: snipe <snipe@snipe.net >
2021-03-17 20:02:54 -07:00
snipe
9f3a8a43cc
Merge remote-tracking branch 'origin/develop'
...
Signed-off-by: snipe <snipe@snipe.net >
# Conflicts:
# composer.lock
2021-03-17 19:41:02 -07:00
snipe
8fd8e716ac
Changed debug level on bad LDAP connection ( #9314 )
...
* Changed debug level on bad LDAP connection
TODO:
Unfuck all of this. It’s a mess and it really doesn’t work the way we think it does. AdLdap library strikes again. :(
Signed-off-by: snipe <snipe@snipe.net >
* Improved phrasing
Signed-off-by: snipe <snipe@snipe.net >
2021-03-17 19:24:28 -07:00
snipe
72f7baf5ee
Removed unused class references
2021-03-17 16:56:32 -07:00
snipe
1b890ffcc5
Added collision
2021-03-17 15:45:00 -07:00
snipe
ca882e2b3d
Add @elyscape as a contributor
2021-03-15 16:42:52 -07:00
Eli Young
97fa9663b1
Fixed #9299 : Use correct SVG MIME type for uploads ( #9300 )
...
The correct MIME type of SVG is image/svg+xml. Out of an abundance of
caution, I am leaving in image/svg to avoid potentially causing issues
on very old browsers, but this can likely be removed without issue.
2021-03-15 16:42:11 -07:00
snipe
ab092fd209
Merge remote-tracking branch 'origin/develop'
...
# Conflicts:
# app/Providers/AppServiceProvider.php
# config/logging.php
# config/services.php
2021-03-15 12:29:29 -07:00
Brady Wetherington
c7626f8387
Add new StorageHelper and use it where it makes sense ( #9276 )
2021-03-15 12:26:39 -07:00
snipe
3fc24b4e61
Set spatie encryption to null
2021-03-09 21:07:41 -08:00
snipe
f164f0ea60
Fixed #9266 - set a colors_array variable even if other conditions are not met
2021-03-09 21:04:32 -08:00
snipe
0dd38c4a9b
One more try for logo copying
...
Again, this might not work, but I cannot find snipe-logo-lg.png anywhere in the repo
2021-03-09 20:41:47 -08:00
snipe
6e8aaddb40
One more changes for settings seeder (this may not work)
2021-03-09 17:40:22 -08:00
snipe
104912cdf3
Added default logos to setting seeder
2021-03-09 17:39:10 -08:00
snipe
b103f724b5
Added discard changes in composer (for those weird cases where it says something changed in a vendor directory)
2021-03-09 17:38:06 -08:00
snipe
0fa07a4bca
Bumped point version
2021-03-09 16:19:21 -08:00
snipe
c3871c98df
Updated rollbar package
2021-03-09 16:16:57 -08:00
snipe
cf4e97f103
Log namespacing
2021-03-09 13:39:53 -08:00
snipe
f05a8d782c
Added spatie encryption line
2021-03-09 13:38:53 -08:00
snipe
89ab4bb86f
Revert "Added PHP8 compatibility [experimental]"
...
This reverts commit 3873f14971 .
# Conflicts:
# composer.lock
2021-03-09 13:38:38 -08:00
snipe
707a68fc54
Rollback :(
2021-03-09 13:15:00 -08:00
snipe
4bd9706693
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-03-09 12:56:17 -08:00
snipe
0d91ebfed8
One more try at Spatie
2021-03-09 12:56:13 -08:00
snipe
2d6dcb6b3b
Applying fix for Undefined class constant 'EM_AES_256' in spatie
...
https://github.com/spatie/laravel-backup/discussions/1247
2021-03-09 12:52:26 -08:00
snipe
e9ee9ea2e9
Fixed rollbar integration
2021-03-09 12:40:00 -08:00
snipe
3873f14971
Added PHP8 compatibility [experimental]
2021-03-09 12:39:49 -08:00
snipe
7e56fc5e0d
Updated mix manifest
2021-03-02 12:33:39 -08:00
snipe
3f01b02fd9
Updated BS tables
2021-03-02 12:33:29 -08:00
snipe
77ec64aded
Merge remote-tracking branch 'origin/develop'
...
# Conflicts:
# public/css/dist/skins/skin-black-dark.css
# public/css/dist/skins/skin-black-dark.min.css
# public/css/dist/skins/skin-blue-dark.css
# public/css/dist/skins/skin-blue-dark.min.css
# public/css/dist/skins/skin-green-dark.css
# public/css/dist/skins/skin-green-dark.min.css
# public/css/dist/skins/skin-orange-dark.css
# public/css/dist/skins/skin-orange-dark.min.css
# public/css/dist/skins/skin-purple-dark.css
# public/css/dist/skins/skin-purple-dark.min.css
# public/css/dist/skins/skin-red-dark.css
# public/css/dist/skins/skin-red-dark.min.css
# public/css/dist/skins/skin-yellow-dark.css
# public/css/dist/skins/skin-yellow-dark.min.css
# public/mix-manifest.json
2021-03-02 12:33:18 -08:00
Ivan Nieto Vivanco
9ed226a0af
Fixes links in Models Actions, and to view the fieldset assigned to that Model. ( #9232 )
2021-03-01 13:08:29 -08:00
Ivan Nieto Vivanco
d64b35c348
Added a condition to ensure that only assets checked out to an user that is being deleted are updating their status ( #9233 )
2021-03-01 13:07:23 -08:00
snipe
5aa960603a
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-02-26 15:59:53 -08:00
Joel Pittet
c979779249
Fixes a couple blade templates for relative URLs ( #9170 )
...
* Switched branch name to master
* Production assets for better contrast in dark mode skins
* Fixed #9115 : Duplicate column name 'provider' (#9137 )
* Sigh. Real assets
* fix blade templates with missing url() function wrapper for relative URLs
* Develop to master (#9195 )
* Added saml custom setting retrieveParametersFromServer to enable fixing SLO issues with Azure AD (#9187 )
* [FIX] Lite test email won't use the mail component (#9092 )
* [FIX] Lite test email won't use the mail component
* Revert "[FIX] Lite test email won't use the mail component"
This reverts commit 6dab9aa1a8 .
* Fix check for snipeSettings
* Remove random text from message template
* Revert "Fix check for snipeSettings"
This reverts commit 887dcc7bbc .
* Fix test notification with setupCompleted
Co-authored-by: johnson-yi <63399474+johnson-yi@users.noreply.github.com >
Co-authored-by: Oliver Walerys <owalerys@users.noreply.github.com >
* Changed branch from develop to master
* fix blade templates with missing url() function wrapper for relative URLs
* Re-apply patch against develop
* Rebase against develop
Co-authored-by: snipe <snipe@snipe.net >
Co-authored-by: Kevin Köllmann <mail@kevinkoellmann.de >
Co-authored-by: johnson-yi <63399474+johnson-yi@users.noreply.github.com >
Co-authored-by: Oliver Walerys <owalerys@users.noreply.github.com >
2021-02-26 15:59:36 -08:00
snipe
52bf050c4f
Add @joelpittet as a contributor
2021-02-26 15:59:17 -08:00
Ivan Nieto Vivanco
ab7dd90602
Fixes ternary that sets the offset in 0 when the offset passed to the API for the user is greater than total locations. ( #9210 )
2021-02-26 12:56:04 -08:00
snipe
2e298893b6
Updated mix manifest
2021-02-25 19:43:58 -08:00
Godfrey Martinez
b0078ff64d
Audit dark mode theme skins and check for [ch15847] ( #9102 )
...
Co-authored-by: snipe <snipe@snipe.net >
2021-02-25 19:41:31 -08:00
snipe
fcd805638e
Changed branch from develop to master
2021-02-25 16:54:23 -08:00
snipe
63629abb93
Merge remote-tracking branch 'origin/develop'
2021-02-25 16:53:50 -08:00
snipe
6373ef3283
Bumped version
2021-02-25 16:53:37 -08:00
snipe
00a7c1e9e2
Merge remote-tracking branch 'origin/develop'
2021-02-25 16:44:55 -08:00
snipe
f37d5d3d03
Fixed #9085 - asset models not showing proper pagination
...
Huge thanks to @inietov for catching this one
2021-02-25 16:43:38 -08:00
snipe
57e52f0ba4
Fixed extraneous closing </i>
2021-02-25 13:35:05 -08:00
snipe
dc8e06fc65
Merge remote-tracking branch 'origin/develop'
2021-02-24 09:12:27 -08:00
snipe
db3f80bb9b
Fixed #9198 - added stdout as a log driver
2021-02-24 09:10:03 -08:00
snipe
f5dda06c55
Develop to master ( #9195 )
...
* Added saml custom setting retrieveParametersFromServer to enable fixing SLO issues with Azure AD (#9187 )
* [FIX] Lite test email won't use the mail component (#9092 )
* [FIX] Lite test email won't use the mail component
* Revert "[FIX] Lite test email won't use the mail component"
This reverts commit 6dab9aa1a8 .
* Fix check for snipeSettings
* Remove random text from message template
* Revert "Fix check for snipeSettings"
This reverts commit 887dcc7bbc .
* Fix test notification with setupCompleted
Co-authored-by: johnson-yi <63399474+johnson-yi@users.noreply.github.com >
Co-authored-by: Oliver Walerys <owalerys@users.noreply.github.com >
2021-02-23 14:53:55 -08:00
Oliver Walerys
c3166d491a
[FIX] Lite test email won't use the mail component ( #9092 )
...
* [FIX] Lite test email won't use the mail component
* Revert "[FIX] Lite test email won't use the mail component"
This reverts commit 6dab9aa1a8 .
* Fix check for snipeSettings
* Remove random text from message template
* Revert "Fix check for snipeSettings"
This reverts commit 887dcc7bbc .
* Fix test notification with setupCompleted
2021-02-23 14:49:40 -08:00
johnson-yi
763e17f491
Added saml custom setting retrieveParametersFromServer to enable fixing SLO issues with Azure AD ( #9187 )
2021-02-23 11:05:22 -08:00
snipe
47b2fe571e
Merge remote-tracking branch 'origin/develop'
2021-02-19 10:52:33 -08:00
snipe
c8f6318aba
Fixed funky layout in asset model modal window (broken HTML)
2021-02-19 10:51:56 -08:00
snipe
adbb3a8f31
Merge remote-tracking branch 'origin/develop'
2021-02-19 10:20:07 -08:00
snipe
1f142fde8a
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-02-19 10:19:37 -08:00
Brady Wetherington
44eee019d9
Add variable declaration for $result ( #9168 )
2021-02-19 10:19:24 -08:00
snipe
f636aac2dd
Add @sw-mreyes as a contributor
2021-02-19 10:11:52 -08:00
snipe
54fd1b993b
Merge remote-tracking branch 'origin/develop'
...
# Conflicts:
# config/version.php
2021-02-19 10:11:23 -08:00
snipe
a5731a3088
Updated hash
2021-02-19 10:09:22 -08:00
snipe
6449d0aaf9
Sigh. Real assets
2021-02-19 10:06:06 -08:00
snipe
931e2df3bd
Updated production assets
...
# Conflicts:
# public/js/build/app.js
# public/js/dist/all.js
2021-02-19 10:05:29 -08:00
snipe
7f8eddede6
Updated compiled assets
2021-02-19 10:02:30 -08:00
snipe
4ddab03792
Merge branch 'develop' of https://github.com/sw-mreyes/snipe-it into sw-mreyes-develop
...
# Conflicts:
# public/mix-manifest.json
2021-02-19 10:00:35 -08:00
snipe
ff341caf34
Merge remote-tracking branch 'origin/develop'
2021-02-18 14:21:34 -08:00
snipe
5754f0aa3f
Revert "Added logic to handle the CLI importer. ( #9088 )"
...
This reverts commit 2e2d087639 .
2021-02-18 14:21:19 -08:00
snipe
785bc40d9d
Merge remote-tracking branch 'origin/develop'
...
# Conflicts:
# public/css/dist/skins/skin-black.css
# public/css/dist/skins/skin-blue.css
# public/css/dist/skins/skin-green.css
# public/css/dist/skins/skin-orange.css
# public/css/dist/skins/skin-purple.css
# public/css/dist/skins/skin-red.css
# public/css/dist/skins/skin-yellow.css
# public/mix-manifest.json
2021-02-17 13:50:14 -08:00
snipe
9d50e0e8d0
Fixed weird table formatting in expected checkin report
2021-02-17 13:44:35 -08:00
snipe
9deb4204c8
Fixed #9116 - incorrect parameter name sent to hardware.show in expected assets report
2021-02-17 13:41:08 -08:00
snipe
1ab349a63d
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-02-17 13:34:59 -08:00
Ivan Nieto
2e2d087639
Added logic to handle the CLI importer. ( #9088 )
2021-02-17 13:13:17 -08:00
snipe
bfadb2cea6
Add @koelle25 as a contributor
2021-02-17 12:58:57 -08:00
Kevin Köllmann
44eb67440a
Fixed #9115 : Duplicate column name 'provider' ( #9137 )
2021-02-17 12:57:08 -08:00
Godfrey Martinez
8fb97da314
Color of asset selection in bulk checkout [ch15525] ( #9145 )
2021-02-17 12:56:26 -08:00
Ivan Nieto
12ff465cdb
Added feature: Checkbox Custom Fields as list of values. ( #9112 )
...
* Added functionality for checkboxes in custom fields. Similar to how radio buttons work.
* Added the same functionality when the custom fieldset is encrypted.
* Added missing bits, so the edit custom assets view shows what values have been already stored in database
2021-02-16 17:20:29 -08:00
Ivan Nieto
f89d789832
Fixes #8918 The validation rules on Manufacturer Model 'name' attribute are malformed. ( #9133 )
...
* Fixes the validation rules on Manufacturer Model
* Fixes a little issue; if the manufacturer is active soft-deletes it, if is already deleted permanently deletes it
2021-02-16 12:52:55 -08:00
Marcelo Reyes
4c3b46ea88
Fixed #9129 : add missing function formatDatalistSafe to snipeit_modals.js
2021-02-16 13:50:00 +01:00
snipe
834e0a9dd5
Merge remote-tracking branch 'origin/develop'
...
# Conflicts:
# config/version.php
2021-02-05 14:29:13 -08:00
snipe
681c41bd18
Bumped version
2021-02-05 14:28:31 -08:00
snipe
74488ddceb
Added provider column to oauth_clients table for passport upgrade
2021-02-05 14:27:56 -08:00
snipe
19820f1b42
Merge remote-tracking branch 'origin/develop'
2021-02-03 16:08:36 -08:00
snipe
2a88781cd5
Add @Kurokat as a contributor
2021-02-03 16:07:25 -08:00
snipe
f96c867bd3
Update @ghost as a contributor
2021-02-03 16:07:06 -08:00
snipe
06f8e8620a
Add @EDVLeer as a contributor
2021-02-03 16:06:28 -08:00
snipe
95d907c9e9
Add @sean-borg as a contributor
2021-02-03 16:06:14 -08:00
snipe
d990152856
Add @andres-baller as a contributor
2021-02-03 16:05:45 -08:00
snipe
05609230b2
Add @ncareau as a contributor
2021-02-03 16:05:21 -08:00
snipe
220c254093
Add @benwa as a contributor
2021-02-03 16:05:06 -08:00
snipe
02313ce361
Add @fashberg as a contributor
2021-02-03 16:04:47 -08:00
snipe
e70f7c610a
Add @winstan as a contributor
2021-02-03 16:03:20 -08:00
snipe
32f77c3285
Add @alek13 as a contributor
2021-02-03 16:02:49 -08:00
snipe
0a639f4fcc
Add @ThoBur as a contributor
2021-02-03 16:02:38 -08:00
snipe
f2b55fb641
Add @PauloLuna as a contributor
2021-02-03 16:02:27 -08:00
snipe
0e443356f0
Add @iansltx as a contributor
2021-02-03 16:02:00 -08:00
snipe
76f7f01398
Add @derlucas as a contributor
2021-02-03 16:01:42 -08:00
snipe
992de0156b
Add @phenixdotnet as a contributor
2021-02-03 16:01:27 -08:00
snipe
c96b5f5a85
Add @sigmoidal as a contributor
2021-02-03 16:01:12 -08:00
snipe
8d2685f0f0
Add @PeterDaveHello as a contributor
2021-02-03 16:01:00 -08:00
snipe
eb14cc7f43
Add @giannello as a contributor
2021-02-03 15:59:48 -08:00
snipe
3dc67cdba6
Updated dark skins with compiled assets for prod
2021-02-03 15:20:26 -08:00
snipe
0bbe0c85d7
Small improvement to topnav dropdown text colors in dark skins
2021-02-03 15:17:31 -08:00
snipe
49415806e1
Nicer formatting of the page if custom logout [ch15660]
2021-02-03 14:56:26 -08:00
Giuseppe Iannello
5edbb4b229
Support Google Cloud IAP ( #8768 )
...
Following up on 7c2da81700 ,
this extends the logic, adding support for Google Cloud IAP.
2021-02-03 11:59:55 -08:00
ThoBur
c40b8334fc
Update edit.blade.php ( #8876 )
...
Fix issue #8518
2021-02-03 11:59:05 -08:00
snipe
0a37c9564a
Merge remote-tracking branch 'origin/develop'
2021-02-03 01:30:11 -08:00
snipe
985193ffff
Fixed #9082 - allow deployable status type on checkout
2021-02-03 01:29:54 -08:00
snipe
721add5bc1
Merge remote-tracking branch 'origin/develop'
...
# Conflicts:
# public/css/dist/skins/skin-blue-dark.css
# public/css/dist/skins/skin-blue-dark.min.css
# public/css/dist/skins/skin-green-dark.css
# public/css/dist/skins/skin-green-dark.min.css
# public/css/dist/skins/skin-orange-dark.css
# public/css/dist/skins/skin-orange-dark.min.css
# public/css/dist/skins/skin-purple-dark.css
# public/css/dist/skins/skin-purple-dark.min.css
# public/css/dist/skins/skin-red-dark.css
# public/css/dist/skins/skin-red-dark.min.css
# public/css/dist/skins/skin-yellow-dark.css
# public/css/dist/skins/skin-yellow-dark.min.css
# public/mix-manifest.json
2021-02-03 00:57:58 -08:00
snipe
ff8fa6ec77
Production assets for better contrast in dark mode skins
2021-02-03 00:52:23 -08:00
snipe
e0a6f22489
Small fixes to dark mode skins
2021-02-03 00:49:09 -08:00
snipe
030fdd60ff
Switched branch name to master
2021-02-02 21:49:21 -08:00
snipe
fdde844ce5
Bumped version to 5.1.0
2021-02-02 21:48:42 -08:00
snipe
d263990401
Updated min requirements in composer.json
2021-02-02 21:29:09 -08:00
snipe
bf7a856fa6
Update minimum PHP requirements to 7.2.5
2021-02-02 21:05:37 -08:00
snipe
1e062d4fc8
Re-applying laravel update with PHP min 7.2.5
2021-02-02 20:58:15 -08:00
snipe
ca37de5e45
Ugh. Rolling back composer.lock
...
Everything sucks
2021-02-02 20:44:07 -08:00
snipe
9ba2fd93c1
Reverted Laravel upgrade :(
2021-02-02 20:34:23 -08:00
snipe
a2e177e754
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2021-02-02 20:30:36 -08:00
snipe
5e6db0b219
Removed platform req
2021-02-02 20:30:33 -08:00
Brady Wetherington
b09ded2a3b
Upgrade laravel ( #9081 )
...
* Hotfix to develop to yank extraneous e()
* Upgrade Laravel release only to a later 6.18.x version
* Upgrade Laravel to 6.x and Passport 9.x, the recommended versions
2021-02-02 20:22:36 -08:00
snipe
124343911f
Merge remote-tracking branch 'origin/develop'
2021-02-02 16:57:18 -08:00
Brady Wetherington
462f8c791f
Hotfix to develop to yank extraneous e() ( #9080 )
2021-02-02 16:44:54 -08:00
Brady Wetherington
9a224a07ba
Modified how we do Select2 dynamic drop-down menus to be more secure ( #9079 )
...
* Modified how we do Select2 dynamic drop-down menus to be more secure
As noted by the author of select2, the more-secure way of creating
rich Select-dropdowns is to use jquery to create HTML snippets and
carefully modify text attributes within there. This prevents any
XSS from being brought to the page. As a side-effect, the extra
escaping that we had to do in all of the internal selectlist calls
is now no longer necessary, and has been removed. Rebased and
squashed from the original.
* Rebuilt all assets, but this still feels like it's too much stuff in here.
* Whoops, need to run that in dev, not prod
2021-02-02 15:55:21 -08:00
Ivan Nieto
df4686bc96
Added a clause that lets the function that updates the department to fail gracefully if no dept. name is provided in the CSV passed to the Importer. ( #9078 )
2021-02-02 12:23:36 -08:00
snipe
b6c432a596
One more line of logging for purges
2021-02-02 02:20:30 -08:00
snipe
de9f487664
Merge remote-tracking branch 'origin/develop'
2021-02-02 01:59:13 -08:00
snipe
ef668317a9
Log user initiating a purge
2021-02-02 01:58:50 -08:00
Godfrey Martinez
cf368a4577
fixed an issue with links colors ( #9073 )
...
* fixed an issue with links colors
* corrected btn-default's color
2021-02-01 13:50:37 -08:00
snipe
2e71968c04
Merge remote-tracking branch 'origin/develop'
2021-01-27 17:44:36 -08:00
snipe
fdb5b3baf1
Depreciation detail view fixes [ch15776] ( #9059 )
...
* Allow sorting by months for depreciation list view
* Added dataTableLayout to standardize the list display table
* Implement the dataTableLayout() on the list view blade
* Split the view into tabs so we can combine asset depreciations and license depreciations
* Updated depreciation view to use tabbed interface for assets and licenses
* Added asset models to depreciation details page
* Make asset model category sortable
* Added cateory as allowed to be sorted on
* Added category sort scope
* Removed offset variable
* Small fixes to asset modes display in depreciation to bulk edit models
2021-01-27 17:44:05 -08:00
snipe
c745fa095b
Merge remote-tracking branch 'origin/develop'
2021-01-27 15:38:15 -08:00
Brady Wetherington
70e6a6ced6
Fix issue where users with edit permission cannot invoke LDAP sync ( #9058 )
...
* Fix issue where users with edit permission cannot invoke LDAP sync
* Make User::class consistent with usage elsewhere in the same directory
2021-01-27 15:36:43 -08:00
Ivan Nieto
6772835efc
Added support for radio buttons in Custom Fields. ( #9053 )
2021-01-27 14:41:58 -08:00
snipe
fb482b0dd6
Fixed translation string in Depreciation view [ch15776]
2021-01-27 14:09:01 -08:00
snipe
9f43d3345f
Merge remote-tracking branch 'origin/develop'
2021-01-27 12:49:33 -08:00
Ivan Nieto
6e83679528
Instead of return a JSON response, redirect back to the previous screen ( #9055 )
2021-01-27 12:01:42 -08:00
snipe
a050aba72f
Merge remote-tracking branch 'origin/develop'
2021-01-27 01:34:57 -08:00
snipe
0031fab0fe
Added termination date, depreciation in license column selection [ch14505] ( #9052 )
2021-01-27 01:34:32 -08:00
snipe
585bdff364
Added other logo for demo
2021-01-27 00:35:32 -08:00
snipe
1d9741a49e
Merge remote-tracking branch 'origin/develop'
2021-01-26 22:12:39 -08:00
snipe
9f7f1460e9
Simplified availableForCheckout() on asset
2021-01-26 22:12:24 -08:00
snipe
f871759753
Bumped version to 5.0.13-pre
2021-01-26 20:08:44 -08:00
snipe
8e17818f1e
Bumped version to 5.0.13-pre
2021-01-26 20:08:08 -08:00
snipe
d19c6ab8e7
Use fadeIn/fadeOut for password reset page for nicer look
2021-01-26 20:05:01 -08:00
snipe
d14b1e3825
Added better visual cues for login ( #9051 )
...
* Added better visual cues for login
* Changed box header class to box-header with-border to match other screens
* Since we have all.js now, added class=“minimal” to use icheck
2021-01-26 19:57:39 -08:00
snipe
ba12ee9954
Specifically call out username in forgotten password
2021-01-26 18:00:50 -08:00
Evgeny
d8bb69533c
To eliminate 12/24hours ambiguity fix. This fix prevents loss of time accuracy. ( #8887 )
...
Its a tiny fix to eliminate 12/24hours ambiguity. Fix prevents time accuracy loss in field "last_audit_date" for assets.
2021-01-26 12:22:59 -08:00
snipe
01d3606c42
Merge remote-tracking branch 'origin/develop'
2021-01-26 12:20:57 -08:00
sigmoidal
208f1db3b2
Update .htaccess ( #9001 )
...
.htaccess will work on both apache v2.2 and v2.4 (without this change, on upgrade, an internal error on the server occurs)
2021-01-26 12:20:03 -08:00
Peter Dave Hello
e5b02da54b
Fix apk add usage in Dockerfile.alpine ( #9032 )
...
There is no need to use `--update` when `--no-cache` is already
specified. Use `--no-cache` only will make `apk` leave no local cache
and make the image smaller.
2021-01-26 12:12:00 -08:00
Vincent Lainé
d6ead5ae17
Added #8931 : add health controller without session ( #8978 )
...
* Added health controller
* Trying to move session middleware to web and api group to have health controller without session
* Fix health route store the session
Co-authored-by: Vincent Lainé <v.laine@dental-monitoring.com >
2021-01-26 12:10:54 -08:00
Ian Littman
1d7d31b9ae
Optimize target type + ID index for more realistic use cases ( #8923 )
...
Per https://youtu.be/EOXgHH4-WX4?t=1378 or thereabouts
2021-01-26 12:08:25 -08:00
Brady Wetherington
2a817c2123
Add migration for ldap_server URL's to ensure they at least start with ldap:// or ldaps:// ( #8936 )
2021-01-26 12:07:32 -08:00
Lucas Pleß
f3a7467235
Added today as default Date for checkout Form. ( #8938 )
2021-01-26 12:06:58 -08: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
Ivan Nieto
79549dbfb9
Use the correct env variables in config/auth.php file. ( #9048 )
2021-01-26 12:04:41 -08:00
snipe
a48d09f37e
Fixed non-superadmin gate permissions for kits ( #9029 )
2021-01-26 11:56:42 -08:00
Godfrey Martinez
0dc78fdea6
fixed color schema on dark mode skins for links ( #9034 )
2021-01-21 14:41:42 -08:00
snipe
75a8639a20
Fixed weird checkbox display
...
TODO: fix the 500 on the save
2021-01-12 18:16:42 -08:00
snipe
380c6171b7
Check if the asset is deployed before prompting for an expected checkin date
2021-01-12 18:02:10 -08:00
snipe
d36d6b8e07
Added expected_checkout as editable field in asset edit
2021-01-12 16:48:49 -08:00
snipe
c00a1fa21b
Added new generic datepicker partial
2021-01-12 16:48:32 -08:00
snipe
bbcd215ea4
Suppress OAuth token errors
2021-01-12 08:58:40 -08:00
Godfrey Martinez
444f9a81da
Bug/ch15603/read only text field in saml screen dark ( #8993 )
...
* fixed dark mode skins read only color schema
* fixed dark mode skins read only color schema
2021-01-11 14:07:55 -08:00
snipe
b4eee5a9b7
Merge remote-tracking branch 'origin/develop'
2021-01-05 19:40:25 -08:00
Ivan Nieto
72f9fe444d
Fix for default parameters in JS functions IE ( #8973 )
...
* Small fix for IE which doesn't support default parameters in the function definition
* Stylistic changes for better comprehension
2021-01-05 19:25:30 -08:00
snipe
eb423c252a
Merge remote-tracking branch 'origin/develop'
...
# Conflicts:
# config/version.php
2021-01-04 09:09:39 -08:00
snipe
382fb31670
Updated translations (Finnish, Polish, Japanese, Turkish, Spanish)
2020-12-30 12:51:09 -08:00
snipe
e6ba4a423d
Fixed #8721 - duplicate asset tags in select list when asset has name
2020-12-21 13:43:54 -08:00
snipe
13ed6cde67
Migration to confirm password min complies with newer Laravel min
2020-12-21 12:39:19 -08:00
snipe
cac78cdbf3
Use snipe-logo.png as default in settings seeder
2020-12-21 11:36:43 -08:00
snipe
8b67326e95
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2020-12-21 11:35:21 -08:00
snipe
f65bc5caee
Updated logos
2020-12-21 11:35:17 -08:00
Brady Wetherington
0329028e2c
Fixed #8926 , #8252 - introduce circular reference check for location parent_id - rebased from #8253 ( #8927 )
...
* Fixed #8252 - circular references in location parents
* Remove non-translated translation changes
* Fix typo
* Add loop limit to avoid unforseen infinite loops
* Remove check against parent_id in location controllers
* Remove the Location->id=null piece (no longer needed)
* Fix some formatting and whitespace
* Re-introduce accidentally merged-out language file
Co-authored-by: Travis Miller <milletr@tulsaschools.org >
2020-12-18 17:18:04 -08:00
snipe
d3d96c8285
Reverted composer until we can figure out wtf happened
2020-12-15 17:25:17 -08:00
snipe
5909860c5a
Updated exception handler
2020-12-15 17:25:05 -08:00
snipe
1023fa3edd
Re-added updated slack library
2020-12-15 14:10:57 -08:00
snipe
65e6d56f1f
Display the extension error at the bottom of the extension list to make it more noticable
2020-12-15 14:09:42 -08:00
snipe
bf34385c3e
Temp revert to old slack library
...
Getting a weird error, need to troubleshoot remotely
2020-12-15 13:43:18 -08:00
Godfrey Martinez
55a526a6b3
corrected background color for bulk checkout listable items in all da… ( #8916 )
...
* corrected background color for bulk checkout listable items in all dark schemas
* resubmitting
2020-12-15 12:37:22 -08:00
Evgeny
bbf7fbcff4
Localization digit separator feature. ( #8915 )
...
Provides an ability to localize the purchase_cost field in front-end hardware index table.
Has two digit separator formats in admin settings with comma and dot.
2020-12-15 11:49:13 -08:00
snipe
4a5cb94d94
Switch version file back to develop
2020-12-14 17:47:02 -08:00
snipe
cb184a9687
Updated composer.lock with newer packages
2020-12-14 17:46:39 -08:00
Alexander Chibrikin
fb37dbed92
use supported package for slack ( #8867 )
...
* Updated version.php to master
* use supported package for slack
Co-authored-by: snipe <snipe@snipe.net >
2020-12-14 17:45:00 -08:00
João Paulo
e410696a36
Fixed #8884 : Fixed alpine image build ( #8885 )
...
* Fixed #8884 : update alpine image dependencies, fix permission error in vendor folder and laravel.log file
* Fixed #8884 : Removes unnecessary changes to fix alpine image build
* Fixed #8884 : Removes unnecessary changes to fix alpine image build
* Fixed #8884 : Fix typo
2020-12-14 17:42:43 -08:00
snipe
45bfec5cd3
Match setup admin on Quickstart password with min reqs for Settings model
2020-12-11 13:52:48 -08:00
snipe
055522510b
Fixed logo in seeder
2020-12-09 08:48:47 -08:00
snipe
f1d0d1bfe7
Merge remote-tracking branch 'origin/develop'
2020-12-09 08:19:18 -08:00
snipe
c0aa6c153e
Better callout for warning on api token page
2020-12-09 08:19:04 -08:00
snipe
da3451bf0d
Merge remote-tracking branch 'origin/develop'
2020-12-09 08:15:04 -08:00
snipe
5f76e03616
Clarified API url info in account > api
2020-12-09 08:14:44 -08:00
snipe
84710eac98
Merge remote-tracking branch 'origin/develop'
2020-12-08 21:10:05 -08:00
snipe
81bf41a091
Added an explanation for folks trying to access the API base endpoint with no real endpoint
2020-12-08 21:05:01 -08:00
snipe
134acf3b87
Merge remote-tracking branch 'origin/develop'
2020-12-08 20:04:19 -08:00
snipe
82d8b2ab82
Fixed weird parsing in newer markdown
2020-12-08 20:04:01 -08:00
snipe
adc0d3a6ac
Merge remote-tracking branch 'origin/develop'
...
# Conflicts:
# config/version.php
2020-12-08 16:53:43 -08:00
snipe
8b15841c4b
Bumped version
2020-12-07 19:16:42 -08:00
snipe
fd4ee60276
Merge remote-tracking branch 'origin/develop'
2020-12-07 19:14:00 -08:00
Brady Wetherington
93358b5872
Merge pull request #8863 from johnson-yi/fixes/saml_debug
...
Fixes #8853 - allow saml to be more easily debugged
2020-12-07 14:50:23 -08:00
Johnson Yi
1c4e20c712
Allow saml to be more easily debugged
2020-12-04 21:54:04 +11:00
snipe
0e1f6a3fd1
Merge remote-tracking branch 'origin/develop'
2020-12-02 12:38:16 -08:00
snipe
71d0e6369e
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2020-12-02 11:01:10 -08:00
snipe
b27aeb1952
Added LDAP flag in users API for #8741
2020-12-02 11:01:05 -08:00
snipe
bec2b170ec
Only overwrite notes if the LDAP user is new
2020-12-02 11:00:18 -08:00
snipe
269d3fe509
Make assigned_to_id nullable
2020-12-02 10:48:34 -08:00
Brady Wetherington
34d5473553
Fixes 8472 (again) - LDAP sync was assigning a bad default location ( #8846 )
2020-12-01 21:26:52 -08:00
snipe
4ac15daee7
Fixed #8147 - allow webp image format for public file uploads
2020-12-01 19:06:53 -08:00
snipe
5f3a1f6287
Merge remote-tracking branch 'origin/develop'
2020-11-30 20:47:03 -08:00
snipe
bfc60864dd
Fixed typo on route for licenses
2020-11-30 20:46:45 -08:00
snipe
ffa2701f89
Fixed typo in demo logo
2020-11-30 18:59:44 -08:00
snipe
60d269afb5
Merge remote-tracking branch 'origin/develop'
...
# Conflicts:
# config/version.php
2020-11-30 17:28:46 -08:00
snipe
e2cb7a0242
Bumped version
2020-11-30 17:28:03 -08:00
snipe
f9b1fdc36b
Merge remote-tracking branch 'origin/develop'
2020-11-30 17:26:31 -08:00
Brady Wetherington
93cf8d4e0a
Forward-port of the old LDAP sync system ( #8801 )
...
* Forward-port of the old LDAP sync system
* Need to rename the class to avoid classname conflicts
* Make 'classic' LDAP sync not add surrounding parens to filters that already have them
* Re-work Test LDAP button to return 10 sample users
* Remove useless debugging code
2020-11-30 17:11:44 -08:00
snipe
e83bc03d97
Switch backup files array order to show latest first [ch15486]'
2020-11-30 14:46:10 -08:00
snipe
b0d493ee51
Merge remote-tracking branch 'origin/develop'
2020-11-30 12:54:30 -08:00
snipe
4882b01787
Added purchase order and order number to user > licenses view
2020-11-30 12:54:15 -08:00
snipe
f9dcf0783a
Added phantomjs to package.json
2020-11-28 16:58:02 -08:00
snipe
985f3658be
Added wider logo
2020-11-27 18:17:09 -08:00
snipe
705dd34f3e
Removed older SAML fields
2020-11-27 18:14:32 -08:00
snipe
6cf5426540
Removed unused validation rule
2020-11-25 11:00:28 -08:00
snipe
2105a1ec1d
Merge remote-tracking branch 'origin/develop'
2020-11-25 08:55:14 -08:00
snipe
f475bdbb2d
Fixed #8797 - use html_entity_decode in fullName presenter for User
2020-11-25 08:54:23 -08:00
snipe
96eb623229
Merge remote-tracking branch 'origin/develop'
2020-11-25 01:53:21 -08:00
snipe
820a39cc90
Fixed #8814 - added App\Models\Recipients\AlertRecipient
2020-11-25 01:52:56 -08:00
snipe
615051cf66
Skip posix_getpwuid in upgrader if posix isn’t installed
...
We don’t need it for anything else, so no need to require it. Posix not being installed usually means it’s a windows machine.
2020-11-25 01:19:32 -08:00
snipe
bef42eb43c
Merge remote-tracking branch 'origin/develop'
2020-11-25 00:47:15 -08:00
snipe
6f99ce2b07
Branding page UI improvements (image previews inline)
2020-11-25 00:45:46 -08:00
snipe
76ee5a679b
Fixed #8810 - email logo was not being used in emails
2020-11-25 00:05:02 -08:00
snipe
26e4354433
Merge remote-tracking branch 'origin/develop'
2020-11-24 19:49:59 -08:00
snipe
72fc03aa50
Adds location to searchableRelations for asset model
2020-11-24 19:49:46 -08:00
snipe
bf1f8659cb
Merge remote-tracking branch 'origin/develop'
2020-11-24 16:06:01 -08:00
snipe
c0d7564658
Fixed #8794 - Switched to firstOrCreate to create parents on import
2020-11-24 16:05:24 -08:00
snipe
74b26a349c
Merge remote-tracking branch 'origin/develop'
...
# Conflicts:
# config/version.php
2020-11-24 13:54:02 -08:00
snipe
e9bfb157bb
Bumped version. Again.
2020-11-24 13:53:28 -08:00
snipe
ef957399aa
Merge remote-tracking branch 'origin/develop'
2020-11-24 13:51:19 -08:00
snipe
973eacf6c3
Small fixes for SAML
...
The SAML routes are in a service provide (sigh), so they did not have the `web` middleware group assigned to it.
I also added some additional checks so that the setup blade won’t fail (the migrations wouldn’t have been run yet, so outside of a try/catch, it would return an error since those tables don’t exist.)
2020-11-24 13:51:02 -08:00
snipe
02fef7049f
Merge remote-tracking branch 'origin/develop'
...
# Conflicts:
# config/version.php
2020-11-24 12:17:38 -08:00
snipe
b2660002b9
Fixed #8781 - added asset count by status type ( #8806 )
2020-11-24 12:15:07 -08:00
snipe
2c0b9f959b
Comment with possible alternatve to the custom undeleted validator
2020-11-24 12:01:09 -08:00
snipe
51286d2244
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2020-11-24 11:40:35 -08:00
snipe
712363f861
Bumped version
2020-11-23 12:33:07 -08:00
johnson-yi
0cdd83aabf
Fixes #8584 , #8654 , #8727 - fixes and improvements for saml ( #8795 )
...
* Let onelogin/php-saml know to use 'X-Forwarded-*' headers if it is from a trusted proxy
* Gracefully handle the case where openssl_csr_new fails when openssl.cnf is invalid/missing
* Improve ui of saml sp metadata by displaying it's url and a download button
2020-11-20 18:54:25 -08:00
snipe
98dfb9d1b5
Merge remote-tracking branch 'origin/develop'
2020-11-20 14:35:12 -08:00
snipe
ae5635ff97
Merge remote-tracking branch 'origin/develop'
2020-11-20 14:34:43 -08:00
snipe
8a38b9d018
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2020-11-20 14:34:35 -08:00
Brady Wetherington
734cb941dd
Fix for #8772 - initial LDAP import of users are deactivated ( #8776 )
2020-11-20 11:11:14 -08:00
snipe
c66f8c04c8
For for deleted user API
2020-11-18 14:57:44 -08:00
Brady Wetherington
fa24799d2b
Change license serial type to TEXT for longer license files ( #8782 )
2020-11-18 14:22:51 -08:00
snipe
57d6a7d35e
Fixed #8753 - create-asset-from-model did not preselect the model
2020-11-18 13:59:02 -08:00
snipe
9e2d402c3a
Merge remote-tracking branch 'origin/develop'
2020-11-18 07:06:33 -08:00
snipe
551e28eec9
Fixed #8749 - added more default colors to prevent missing index in pie chart math
2020-11-18 07:06:14 -08:00
snipe
9e30be8a04
Merge remote-tracking branch 'origin/develop'
2020-11-17 22:31:46 -08:00
Brady Wetherington
8457207c8f
Fix for 500-page on deactivated LDAP user trying to log in ( #8774 )
2020-11-17 22:31:22 -08:00
snipe
cc4f1a1485
Merge remote-tracking branch 'origin/develop'
2020-11-17 22:20:38 -08:00
snipe
2ea805b7ed
Added search/sort by Location OU, added to listing
2020-11-17 22:17:07 -08:00
snipe
20ef74db42
Merge remote-tracking branch 'origin/develop'
2020-11-17 19:26:15 -08:00
Brady Wetherington
3dda4c9116
Add a new UAC setting to valid User Accounts for Active Directory ( #8775 )
2020-11-17 19:25:49 -08:00
snipe
e805feff9e
Merge remote-tracking branch 'origin/develop'
2020-11-17 19:22:56 -08:00
snipe
0286cf6d46
Prevent license categories from being deleted if there are licenses in that category
2020-11-17 19:22:10 -08:00
snipe
6ebdfdbabb
Merge remote-tracking branch 'origin/develop'
2020-11-17 16:16:11 -08:00
snipe
68487e1200
Added img-responsive class to preview images
2020-11-17 16:15:25 -08:00
snipe
f19b9a44fc
Fixed #8773 - wrong path for suppliers image on suppliers edit
2020-11-17 16:10:54 -08:00
snipe
124af6ac6b
Merge remote-tracking branch 'origin/develop'
2020-11-17 14:33:35 -08:00
snipe
7f126969d0
Fixed #8601 - Switched to “attachment” from “base64”
2020-11-17 14:33:16 -08:00
snipe
e4b0e9673d
Merge remote-tracking branch 'origin/develop'
2020-11-17 13:43:46 -08:00
snipe
7ab44ca963
Ignore php-lint cache
2020-11-17 13:43:24 -08:00
snipe
4898b58bdb
Fixed #8765 - UI not indicating model is required
2020-11-17 13:40:15 -08:00
snipe
9b1e7ba8a6
Updated translations with new strings
2020-11-17 13:22:53 -08:00
snipe
e3d2369151
Fixed #8769 - incorrect translation for “DELETE” in purge
2020-11-17 12:01:02 -08:00
snipe
e5f0a12c25
Updated version.php to master
2020-11-17 00:14:28 -08:00
Brady Wetherington
de6f3f866f
Attempt to solve LDAP sync overriding administrator choices ( #8742 )
2020-11-17 00:11:00 -08:00
snipe
8444a60bc9
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2020-11-16 23:57:23 -08:00
snipe
3237411b5d
Bumped version
2020-11-16 23:57:17 -08:00
snipe
5ba1659563
Removed dupe date
2020-11-16 23:56:48 -08:00
snipe
6e068ec339
Add @chamilton-ccn as a contributor
2020-11-16 22:15:59 -08:00
Charles Hamilton
4fd666716f
Fixed #8482 - Ubuntu version ( #8598 )
...
* Bash cannot compare floating point numbers natively. This modification addresses issue #8482 and retains the intended function of the previous code.
* Bash cannot compare floating point numbers natively. This modification addresses issue #8482 and retains the intended function of the previous code.
Co-authored-by: Charles Hamilton <chamilton@dyercpa.com >
2020-11-16 22:15:40 -08:00
snipe
6eb860ca24
Swapped travis build badge for chipper build badge
2020-11-16 21:49:57 -08:00
snipe
903698a7b0
Merge remote-tracking branch 'origin/develop'
2020-11-16 21:35:26 -08:00
snipe
513faf2db5
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2020-11-16 21:34:59 -08:00
snipe
9e46bc6c28
Fix for spanish translation
2020-11-16 21:34:47 -08:00
NMC
402fecd408
Fixed #7850 : allow xlsx file. ( #8386 )
...
Thanks!
2020-11-16 21:32:15 -08:00
Brady Wetherington
a97b15ec96
Re-add LDAP "test login" feature to LDAP settings (helps with #8751 ) ( #8757 )
...
* Start work on re-adding back the "Test LDAP logins" feature to develop
* Add back-end method to allow LDAP test users to try to log in.
2020-11-16 21:23:08 -08:00
snipe
8504c9e8b9
Added phplint to dev in composer
2020-11-16 19:08:04 -08:00
snipe
4ebfd6624c
Merge remote-tracking branch 'origin/develop'
2020-11-16 17:24:57 -08:00
snipe
fbaf6e2494
Fixed #8747 - upload path for uploaded images
2020-11-16 16:39:02 -08:00
snipe
612d3f9b2a
Merge remote-tracking branch 'origin/develop'
2020-11-16 13:32:53 -08:00
Brady Wetherington
6e4ab5cd96
Fix for #8746 - missing comma in a translation file ( #8756 )
2020-11-16 13:29:57 -08:00
snipe
849966d2c5
Merge remote-tracking branch 'origin/develop'
2020-11-13 16:48:58 -08:00
snipe
1f5bcf2475
Added option to download activity report
2020-11-13 16:25:05 -08:00
snipe
58c476195b
Bumped hash
2020-11-13 14:14:27 -08:00
snipe
dcd98a7bf1
Bumped hash
2020-11-13 14:13:44 -08:00
snipe
686ab681e5
Removed duplicate badge
2020-11-13 13:54:27 -08:00
snipe
052f8e2c42
Addresses - not fixes - #8740
...
More investigation here is needed
2020-11-13 12:34:42 -08:00
snipe
e9578ba8a1
Fixed #8737 - incorrect validation string for components update
2020-11-13 12:09:48 -08:00
snipe
0c0de5e351
Added clarity in language as to what the activated flag does on LDAP screens
2020-11-13 11:52:34 -08:00
snipe
10cadecd14
Moved a few of the user edit fields to make more sense (optional stuff further down)
2020-11-13 11:52:09 -08:00
snipe
644084658a
Merge remote-tracking branch 'origin/develop'
2020-11-13 04:30:03 -08:00
snipe
07936ea901
Changed asset name to asset tag in maintenances
2020-11-13 03:38:31 -08:00
snipe
08784f9cc5
Make expected_checkin fillable
2020-11-13 03:22:26 -08:00
snipe
a87e615e7f
Fixed #8544 - escaping on maintenance notes
2020-11-12 23:55:16 -08:00
snipe
df5cc7525e
Merge remote-tracking branch 'origin/develop'
2020-11-12 23:39:09 -08:00
snipe
75b8c3455c
Fixed #8609 - custom fieldsets not draggable anymore (regression)
2020-11-12 23:38:12 -08:00
snipe
81d38a0ded
Fixed #8733 - typo in unaccepted assets report
2020-11-12 23:26:05 -08:00
snipe
b2a8af2fa9
Fixed #8647 - Added additional help info on importer page
2020-11-12 22:46:51 -08:00
snipe
9d2363741e
Improved 2FA reset layout
2020-11-12 22:25:07 -08:00
snipe
fc6a33ad38
Added some LDAP debugging - related to #8670
2020-11-12 22:19:16 -08:00
snipe
896ce3456e
Possible fix for #8670 - LDAP users deactivated on login
2020-11-12 22:18:49 -08:00
snipe
9db191f0b2
Fixes for #8732 - Flysystem paths, migrator script
2020-11-12 21:46:06 -08:00
snipe
c7d752fb65
Added S3 url into CSP
2020-11-12 19:50:01 -08:00
snipe
5026177161
Added link to bricelabelle/snipe-it-bulkedit
2020-11-12 18:55:02 -08:00
snipe
d2805442ad
Updated Laravel version
2020-11-12 18:54:49 -08:00
snipe
7765c87387
Fixed #8669 - Allow application/xml in SAML upload in Safari
2020-11-12 18:47:19 -08:00
snipe
6dccf399a5
Fixed offset issue for #8732
2020-11-12 15:51:31 -08:00
snipe
7432e3fb2d
Add @dampfklon as a contributor
2020-11-12 15:28:29 -08:00
snipe
caeea9f530
Merge remote-tracking branch 'origin/develop'
2020-11-12 15:27:49 -08:00
snipe
0fdfd013e7
Fixed #8715 - wrong API url for unaccepted assets
2020-11-12 15:26:50 -08:00
snipe
d537fc5c32
Added linebreak to console confirmation
2020-11-12 15:21:00 -08:00
snipe
9164dda64f
Added artisan command to purge logins
2020-11-12 15:20:15 -08:00
snipe
5ea9c31eab
Removed debugging
2020-11-12 15:14:56 -08:00
snipe
c8572deb5c
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2020-11-12 15:13:50 -08:00
snipe
57d25ebb20
Fixed #8719 - use same convention for file names on licenses as we do on assets
2020-11-12 15:13:45 -08:00
Dampfklon
be114176a2
Refactor Expected Checkin Notification into markdown and enable translation ( #8236 )
...
Co-authored-by: snipe <snipe@snipe.net >
2020-11-12 15:09:40 -08:00
Dampfklon
1f9b04405c
Enable translation of accept-asset page ( #8237 )
2020-11-12 15:07:45 -08:00
Dampfklon
4ef11c463c
Enable translations of checkin notifications ( #8235 )
2020-11-12 15:05:57 -08:00
Dampfklon
5fb31a5a3f
Use translated salutation from other notifications ( #8234 )
2020-11-12 15:05:22 -08:00
snipe
f0e04ab9e4
Fixed #8726 - disallow archived assets to be checked out
2020-11-12 15:01:13 -08:00
snipe
8a65081768
Possible fix for #8732
2020-11-12 14:47:38 -08:00
snipe
c451fde466
Fixed exception namespace
2020-11-12 14:27:59 -08:00
snipe
5098d69c05
Fixed stupid auto-indent
2020-11-12 14:20:54 -08:00
snipe
b12de13041
Fixed markdown in expiring licenses alert
2020-11-12 14:10:45 -08:00
snipe
72126f7d44
Removed duplicate extension checks
2020-11-12 13:24:53 -08:00
snipe
df000ce32f
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2020-11-12 13:22:54 -08:00
snipe
6a2e21f502
More in depth error reporting on mail test failure
2020-11-12 13:22:49 -08:00
Brady Wetherington
5ad6234584
Merge pull request #8730 from winstan/patch-1
...
Fixed #8699 : exclude blank LDAP attributes from searches
2020-11-12 11:26:19 -08:00
Anthony Winstanley
cc79bb1449
Exclude blank LDAP attributes
...
Asking for '' attributes is an error for some LDAP servers.
2020-11-12 09:34:28 -08:00
snipe
c8d588871c
Merge remote-tracking branch 'origin/develop'
2020-11-11 14:47:30 -08:00
snipe
8890372a69
Production assets with dark skin fixes
2020-11-11 14:47:13 -08:00
Godfrey Martinez
80f2d749a2
Corrected css to the bootstrap popovers for all dark mode skins ( #8714 )
...
* added css to the bootstrap popovers in dark blue
* corrects the tool tips css for all dark mode skins other than dark blue
2020-11-11 14:11:39 -08:00
snipe
7f7064c835
Make last_checkout fillable
2020-11-11 13:30:11 -08:00
snipe
31d0b4a46c
Merge remote-tracking branch 'origin/develop'
2020-11-10 12:39:55 -08:00
snipe
5759d4819e
Improved upgrade.php script to check for PHP extensions ( #8712 )
...
* Troubleshooting gd detection :(
* Welp, that didn’t work.
* Improvements to the update script that will make it easier to maintain
* Improved spacing
* Nicer intro
* Sorry for all the commits - I have to push in order to test :(
* More display improvements
* Phrasing!
* More formatting
* Removed extra line break
* Few more formatting changes
* Remove the config caching - it’s too confusing for users
* Added comments
* Temp required extension in the array so I can show output :)
* Added ascii x
* removed extra line break
* Made error message clearer
* Remove extra line
* Removed farts
* Changed phrasing for PHP upgrade warning
* Small tweaks per PR review
* Some spacing fixes
* Added confirmation of the either/ors
* Minor formatting tweaks
* Fixed weird indenting?
* Fixed missing $unused_file variable
2020-11-10 12:39:10 -08:00
snipe
c49788dd9f
Fixed weird linebreaks in upgrade.php
2020-11-10 09:08:13 -08:00
snipe
3641a6d451
Additional extension checking
2020-11-10 09:06:44 -08:00
snipe
8c79070cd9
Added some extension checking for upgrade.php
2020-11-10 08:47:35 -08:00
snipe
f8563bec94
Added some extension checking for upgrade.php
2020-11-10 08:46:19 -08:00
snipe
fd7c0bc5fb
Use newer blade facade for requests
2020-11-10 08:36:18 -08:00
snipe
7d708572fc
Slightly nicer formatting for query
2020-11-10 07:43:54 -08:00
snipe
ea68ff1284
Sigh. Typo
2020-11-10 06:51:40 -08:00
snipe
66ccf4da03
Merge remote-tracking branch 'origin/develop'
2020-11-10 06:44:10 -08:00
snipe
0b4a13156f
Added more detail and dryrun to assigned_to vs log checker script
2020-11-10 06:43:36 -08:00
snipe
a8a3962008
Merge remote-tracking branch 'origin/develop'
2020-11-10 06:17:04 -08:00
snipe
e110a7b15e
Experimental script to find mismatched IDs based on logs
2020-11-10 06:16:15 -08:00
snipe
30d68309a9
Add ability to checkout an asset if the user it’s assigned_to isn’t valid
...
This would only happen if a merge-users went wonky
2020-11-10 05:06:47 -08:00
snipe
547d1a5a93
Merge remote-tracking branch 'origin/develop'
2020-11-10 04:43:20 -08:00
snipe
adf64361e8
Updated most recent translations
2020-11-10 04:43:02 -08:00
snipe
a43fb060f4
Throw an error if the asset cannot be updated in the merge
2020-11-10 04:41:40 -08:00
snipe
c607d89817
Merge remote-tracking branch 'origin/develop'
2020-11-10 01:59:18 -08:00
snipe
8c19b11e73
Fixed #8448 - “undefined” when testing email from quickstart
2020-11-10 01:48:18 -08:00
snipe
178ed82dc4
Fixed [ch9336] - Removed time stamp in Depreciation report
2020-11-10 01:13:13 -08:00
snipe
6757df5a2d
Added Checkout Date Time to Asset Details Page [ch1418]
2020-11-10 01:02:08 -08:00
snipe
044dfe2620
Fixed [ch945] - Status colors are not displaying correctly in the chart on the dashboard
2020-11-10 00:54:39 -08:00
snipe
9e319e91d6
Merge remote-tracking branch 'origin/develop'
2020-11-09 23:56:33 -08:00
snipe
895a544d4c
Fixed [ch15347] - added status in Depreciation Report
2020-11-09 23:56:16 -08:00
snipe
2aa9412565
Bumped version
...
# Conflicts:
# config/version.php
2020-11-09 23:09:46 -08:00
snipe
35ab5c7df0
Bumped version
2020-11-09 23:09:10 -08:00
snipe
8a7cd87644
Merge remote-tracking branch 'origin/develop'
2020-11-09 23:05:40 -08:00
snipe
1cdf6f8263
Fixed #8673 - added category to accessories listing on Account > Assigned Assets
2020-11-09 23:05:19 -08:00
snipe
b8ad930690
Merge remote-tracking branch 'origin/develop'
2020-11-09 22:55:42 -08:00
snipe
ec14a117b7
Display on the API token page the expiration in years
...
TODO: Translate these strings
2020-11-09 22:55:27 -08:00
snipe
b7cc12a466
Merge remote-tracking branch 'origin/develop'
2020-11-09 22:53:23 -08:00
snipe
f4080a7aa9
Fixed created_at and expired_at order in API token screen
2020-11-09 22:53:07 -08:00
snipe
5abfbdd1d2
Allow API token expiration in years to be configured via env
2020-11-09 22:52:55 -08:00
snipe
31bbb2d035
Merge remote-tracking branch 'origin/develop'
2020-11-09 22:43:41 -08:00
snipe
33dca84ec7
Show expiry and created at date on API token page
2020-11-09 22:43:27 -08:00
snipe
460485d843
Make API tokens expire in 20 years
...
TODO: Make this configurable and report the expiration in the UI
2020-11-09 22:33:43 -08:00
snipe
b59269d5e2
Bumped version
2020-11-09 21:46:42 -08:00
snipe
118931b6fb
Merge remote-tracking branch 'origin/develop'
2020-11-09 21:46:26 -08:00
snipe
8bbf8409b1
Bumped hash
2020-11-09 21:46:08 -08:00
snipe
b2101a5188
Merge remote-tracking branch 'origin/develop'
2020-11-09 21:09:05 -08:00
snipe
ede20523f2
Fixed #8680 - location image path
2020-11-09 21:08:19 -08:00
snipe
89d9b830a0
Updated PHP requirement
2020-11-09 21:05:41 -08:00
snipe
d76eea53c4
Bumped hash
2020-11-09 19:45:27 -08:00
snipe
63a8535de1
Merge remote-tracking branch 'origin/develop'
2020-11-09 19:11:37 -08:00
snipe
ef7434b7ac
Updated template
2020-11-09 19:11:18 -08:00
snipe
148b375ec2
Make 600 a string for ini_set
2020-11-09 19:11:00 -08:00
snipe
d49bc33b54
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2020-11-09 18:21:15 -08:00
snipe
5bff5cb8c0
Updated Crowdin file
2020-11-09 18:21:10 -08:00
snipe
c8634d85f5
Merge pull request #8706 from uberbrady/fix_bootstrap_tables_empty_fields
...
Potential fix for empty-page problem in Assets view
2020-11-09 18:19:42 -08:00
Brady Wetherington
a5423649f4
This is the smallest set of changes we can use to work around a change in functionality
...
in Bootstrap Tables. This should remedy some of the issues we've been having with large
GET strings being sent to the back-end by the Assets system.
2020-11-09 17:36:07 -08:00
snipe
b026953190
Merge pull request #8688 from sanjay900/patch-1
...
Fix AD Accounts with delegation disabled
2020-11-09 16:13:13 -08:00
snipe
3c209b29b1
Merge remote-tracking branch 'origin/develop'
2020-11-09 15:09:05 -08:00
snipe
c0fb87c7f9
Merge pull request #8702 from uberbrady/ldap_time_limit_sync
...
Restore the LDAP_TIME_LIM .env var
2020-11-09 15:08:17 -08:00
snipe
48c3d0fd19
Merge remote-tracking branch 'origin/develop'
...
# Conflicts:
# resources/lang/es-VE/general.php
2020-11-09 14:55:11 -08:00
snipe
67f60127be
Updated translations with latest from CrowdIn
2020-11-09 14:52:11 -08:00
snipe
4a8a98a7d3
Fixed user test
2020-11-09 14:17:45 -08:00
snipe
4b8e9a962b
Fixed Venezuelan translation file
2020-11-09 14:05:31 -08:00
Brady Wetherington
966179290b
Restore the LDAP_TIME_LIM env var for ldap sync of very large directories
2020-11-09 11:11:42 -08:00
snipe
6618e88a9a
Fixed spanish translation parse error
2020-11-06 10:19:32 -08:00
Sanjay Govind
ab6d2987a4
Include documentation from @uberbrady
...
Previously on v4 this was all documented, so i have copied that documentation across to v5
2020-11-06 12:31:33 +13:00
Sanjay Govind
45c140814f
Fix AD Accounts with delegation disabled
2020-11-06 12:02:19 +13:00
snipe
467ff045aa
Moved the BACKUP_ENV to new BACKUP block
2020-11-03 14:58:19 -08:00
snipe
e0103a7fbd
Fixed #8595 - Updated spatie settings
2020-11-03 14:50:02 -08:00
snipe
432263f09f
Merge pull request #8671 from mzack5020/patch-1
...
Fixed #8624 #8312 : Re-Added Accessories API
2020-11-03 13:50:38 -08:00
Matthew Zackschewski
911841d188
Re-Added Accessories API
...
#8312 #8624 Removed unnecessary duplicate licenses endpoint and re-added the user accessories endpoint which was left off.
2020-11-03 16:40:43 -05:00
snipe
e8fd2a7fe8
Merge remote-tracking branch 'origin/develop'
2020-11-03 13:07:31 -08:00
snipe
df5972c4fa
Fixed send creds checkbox in create user form
2020-11-03 13:07:15 -08:00
snipe
4d003ac97a
Merge remote-tracking branch 'origin/develop'
...
# Conflicts:
# app/Http/Controllers/Auth/ResetPasswordController.php
# config/version.php
2020-11-03 11:49:34 -08:00
snipe
9f4a212b44
Bumped hash
2020-11-03 11:47:58 -08:00
snipe
12667f41b9
bumped hash
2020-11-03 11:47:13 -08:00
snipe
a8390ce4bd
Removed debugging
2020-11-03 11:45:19 -08:00
snipe
cfc1e1366c
Added new password complexity rules to forgot password
2020-11-03 11:42:42 -08:00
snipe
44e5fec707
Fixed #8603 - Use correct CSS path for signature-pad.min.css
2020-11-03 10:01:55 -08:00
snipe
f138d3b781
Fixed typo
2020-11-03 01:00:37 -08:00
snipe
bbd7a752a0
Minor cleanup
2020-11-02 23:58:49 -08:00
snipe
a66a22ffb2
Updated passwordComplexityRulesSaving() signature so it isn’t nullable
2020-11-02 23:58:37 -08:00
snipe
b29f794b35
password.expire updated for forgotten password token expiration
2020-11-02 23:58:09 -08:00
snipe
410c99da17
Added signature-pad.min.css to the css directory - should possibly fix #8603
2020-11-02 23:57:39 -08:00
snipe
c800662f0c
Use username for forgotten password
...
Since emails are not required to be unique
2020-11-02 23:57:00 -08:00
snipe
b828985151
Fixed strpos to !== FALSE in ProfileController for complexity eval
2020-11-02 22:28:56 -08:00
snipe
e6f53a53bc
Updated min requirement for passwords in lang files
2020-11-02 22:15:01 -08:00
snipe
0c2800c7dd
Removed debugging line
2020-11-02 21:26:13 -08:00
snipe
a8f9f5239c
Merge pull request #8662 from snipe/features/disallow_password_equal_to_username_etc
...
Fixed #8661 - Added feature to disallow password equal to username, email, etc
2020-11-02 21:09:31 -08:00
snipe
63bb2de4d4
Derp. Check and make sure that setting is actually on
2020-11-02 20:13:54 -08:00
snipe
c4b2ef5660
Removed debugging code
2020-11-02 20:10:18 -08:00
snipe
296655542d
Added comments
2020-11-02 20:07:39 -08:00
snipe
a55694da2f
Added validation to disallow password to be the same as username, email, etc
2020-11-02 20:03:26 -08:00
snipe
33bda9b6d1
Added blade option for same_pwd_as_user_fields
...
Disallows password form value to be the same as username, email, first name or last name
2020-11-02 17:47:25 -08:00
snipe
42347d0f0c
Added validation language for same_pwd_as_user_fields
2020-11-02 17:46:30 -08:00
snipe
6554903aeb
Removed “use slack” debugging code
2020-11-02 17:46:09 -08:00
snipe
502322be4b
Fixed v5 500 server error when requesting multiple [ch15345]
2020-11-02 16:08:38 -08:00
snipe
72facffcbe
Fixed demo settings value for support_footer
2020-10-26 15:09:02 -07:00
snipe
001bb3cbe2
Bumped version to “pre”
2020-10-26 15:04:22 -07:00
snipe
f42bd3a144
Fixed #8613 - Added deleted_at to user API response, added all=true to include deleted and not-deleted in one call
2020-10-26 14:58:45 -07:00
snipe
b9330cf6b1
Fixed #8613 - 500 error on deleted users API call
2020-10-26 14:55:18 -07:00
snipe
2844800caf
Merge remote-tracking branch 'origin/develop'
...
# Conflicts:
# config/version.php
2020-10-26 14:26:05 -07:00
snipe
b7e8b9bad7
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2020-10-26 14:24:43 -07:00
snipe
a7ecaa6ebc
Merge pull request #8619 from uberbrady/fix_ldap_paging
...
Fixed #8563 - Clean up AdLdap2 integration to better handle paged result-sets
2020-10-26 14:24:34 -07:00
snipe
7937258f6e
Bumped version
2020-10-26 14:24:19 -07:00
Brady Wetherington
cce0739bb7
Clean up AdLdap2 integration to better handle paged result-sets
2020-10-26 12:53:45 -07:00
snipe
c93f4ef0d5
Merge remote-tracking branch 'origin/develop'
2020-10-23 19:50:56 -07:00
snipe
89e36dbc42
Merge pull request #8606 from uberbrady/fix_cant_manage_self
...
Add a new custom validator for Users
2020-10-23 19:16:11 -07:00
snipe
d317052ede
Updated CSS assets with green skin edits
2020-10-23 18:55:00 -07:00
snipe
8ee9e5e059
Fixed #8537 - wrong sorting on dashboard
2020-10-23 18:33:10 -07:00
snipe
2602e4d602
Exclude the config directory from backups
...
Everything there is handled via .env anyway
2020-10-23 18:21:32 -07:00
snipe
f357d9fc90
Include audit settings text in settings overview so they get picked up by the filter box
2020-10-23 18:13:28 -07:00
Brady Wetherington
0eda53c484
Add a new custom validator for Users to prevent someone from managing themselves
2020-10-23 16:55:10 -07:00
snipe
79a4acae1a
Merge remote-tracking branch 'origin/develop'
...
# Conflicts:
# config/version.php
2020-10-23 14:29:40 -07:00
snipe
91e0b26bbb
Bumped version
2020-10-23 14:28:55 -07:00
snipe
5f82214703
Merge remote-tracking branch 'origin/develop'
2020-10-23 14:24:24 -07:00
Brady Wetherington
d517e2fd61
Merge pull request #8594 from uberbrady/try_to_fix_ldap_oom
...
Possible fix to #8563 - unset $ldapUsers to avoid OOM'ing
2020-10-23 14:23:53 -07:00
snipe
28612d8b61
Merge remote-tracking branch 'origin/develop'
2020-10-23 14:23:46 -07:00
snipe
6ee3d0eb97
Merge pull request #8605 from snipe/fixes/legacy_location_id_equals_zero
...
Fix for legacy location_id=0 issue that can cause failure to checkout/checkin
2020-10-23 14:22:53 -07:00
snipe
7987a4eca4
Used consistent phrasing in query
2020-10-23 14:22:15 -07:00
snipe
2aa8e1e76b
Merge pull request #8596 from snipe/fixes/8462_move_accessory_notes
...
Fixes #8462 - move accessory notes into pivot table
2020-10-23 14:19:51 -07:00
snipe
be0e327221
Simplified the migration
2020-10-23 14:14:34 -07:00
snipe
9a1acced58
Fix for legacy location_id=0 issue
2020-10-23 14:00:04 -07:00
snipe
d74df93c48
Merge remote-tracking branch 'origin/develop'
2020-10-23 12:10:13 -07:00
snipe
b9a9949570
Use the form partial for avatars
2020-10-23 12:09:20 -07:00
snipe
4ccba5337a
Added https://gravatar address to CSP
2020-10-23 12:09:03 -07:00
snipe
8aae2b46cd
Merge remote-tracking branch 'origin/develop'
2020-10-23 11:56:10 -07:00
snipe
d03d4deef9
Temp fix for #8561 - manager_id validation error
2020-10-23 11:55:53 -07:00
snipe
21ceea0aed
Removed extra debugging
2020-10-23 08:19:04 -07:00
snipe
2219c9ccb5
Merge remote-tracking branch 'origin/develop'
2020-10-23 06:55:39 -07:00
snipe
bf9e53fbe7
Updated markdown templates
2020-10-23 06:55:23 -07:00
snipe
f68580b482
Make the email table wider
2020-10-23 06:55:04 -07:00
snipe
aec2f2a249
Fixed #8576 - switch to HTML from markdown
...
This is really stupid. A markdown table with over 3 columns doesn’t render correctly. :(
2020-10-23 06:54:45 -07:00
snipe
831da2d6d1
New mail vendor files
2020-10-23 06:17:07 -07:00
snipe
f2aebe5f9a
Fixed #8558 - error on asset acceptance when no sig is required
2020-10-23 05:09:03 -07:00
snipe
40c0ba9a95
Merge remote-tracking branch 'origin/develop'
2020-10-23 04:46:44 -07:00
snipe
f5a0726f98
Fixed #8597 - Added leading slash to notifications console commands
2020-10-23 04:46:26 -07:00
snipe
2263dae8f4
Fixed HTML
2020-10-23 04:07:55 -07:00
snipe
f182ce1c89
Merge remote-tracking branch 'origin/develop'
...
# Conflicts:
# config/version.php
2020-10-23 01:12:54 -07:00
snipe
c6dde67e86
Bumped version
2020-10-23 01:12:19 -07:00
snipe
88f03e6b55
Added last_checkout and notes from pivot for accessories
2020-10-23 00:44:26 -07:00
snipe
8827d33a43
Fixed query to copy notes
2020-10-23 00:25:20 -07:00
snipe
c3e8f64064
Merge remote-tracking branch 'origin/develop'
2020-10-22 23:24:56 -07:00
snipe
68cfbaab2e
Fixed signature issue on accepted assets - related to #8577
...
I have no idea how this ever worked? We didn’t rename that fieldname recently.
2020-10-22 23:20:55 -07:00
snipe
66ac5d05ad
Started migration to normalize note
2020-10-22 23:18:14 -07:00
Brady Wetherington
18012279f9
Possible fix to #8563 - unset $ldapUsers to avoid OOM'ing
2020-10-22 21:51:23 -07:00
Brady Wetherington
2abfd8da74
Merge pull request #8568 from uberbrady/fix_wordy_json_ldap_output
...
Add a dirtiness check to slim down JSON LDAP sync summaries
2020-10-22 21:18:21 -07:00
snipe
ec7d70cea0
Merge pull request #8551 from Godmartinz/bug/ch10148/error-when-using-dark-green-skin
...
fixed the Green skin (dark mode) color scheme on the importer page and asset table
2020-10-22 21:16:52 -07:00
snipe
6c285b0273
Merge pull request #8586 from Godmartinz/Confusing_wording_in_LDAP
...
reworded the ad_append_domain_help string
2020-10-22 21:15:35 -07:00
snipe
e65269e9c7
Merge remote-tracking branch 'origin/develop'
2020-10-22 20:09:16 -07:00
snipe
5d112be49a
Fixed #8585 - requested assets page blank
2020-10-22 20:08:33 -07:00
snipe
d3f5fde84a
Merge remote-tracking branch 'origin/develop'
2020-10-22 19:46:55 -07:00
snipe
496b176d4e
Fixed #8589 - unable to accept asset
2020-10-22 19:46:40 -07:00
snipe
fd66f7aeb4
Merge remote-tracking branch 'origin/develop'
2020-10-22 19:37:21 -07:00
snipe
c71086d2f3
Fixed #8590 - unable to checkin and delete from user view
2020-10-22 19:32:51 -07:00
snipe
153f849ef7
Merge pull request #8581 from fashberg/iss8580
...
Fixed #8580 : ReportsController called method on NULL Object
2020-10-22 13:00:08 -07:00
Godfrey M
fcdb945f5f
reworded the ad_append_domain_help string
2020-10-22 09:21:18 -07: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
fad0ed6d5b
Add a dirtiness check to slim down JSON LDAP sync summaries
2020-10-21 15:13:36 -07:00
snipe
ec9c69323a
Merge remote-tracking branch 'origin/develop'
2020-10-21 13:58:58 -07:00
snipe
338106734a
Fixed #8562 - manufacturer logo upload failing
2020-10-21 13:57:56 -07:00
snipe
81fcb4c7b3
Merge remote-tracking branch 'origin/develop'
2020-10-21 13:33:04 -07:00
snipe
5ae65d5329
Fixed #8566 - PDF files displaying as ascii instead of downloading
2020-10-21 13:32:46 -07:00
snipe
d04b0e4d4b
Merge remote-tracking branch 'origin/develop'
2020-10-21 12:23:44 -07:00
snipe
a6d0209e93
Fixed #8567 - don’t require model for custom report
2020-10-21 12:23:27 -07:00
snipe
810f6a3970
Merge remote-tracking branch 'origin/develop'
...
# Conflicts:
# config/version.php
2020-10-21 12:03:23 -07:00
snipe
1379821876
Removed accompanying method, since we don’t use it
2020-10-21 12:02:25 -07:00
snipe
33236f16ac
Bumped minor version
2020-10-21 12:01:36 -07:00
snipe
90dddee923
Remove the storage moving commands - we don’t use this
2020-10-21 12:00:40 -07:00
snipe
7869ffcc79
Merge pull request #8557 from fashberg/develop
...
Fixed #8543 : Change trustedproxy.php to read env('APP_TRUSTED_PROXIES') again
2020-10-21 11:19:23 -07:00
Folke Ashberg
1687e4b850
Fix for Issue #8543
...
* trustedproxy.php sets 'proxies' again according to
env('APP_TRUSTED_PROXIES') again
2020-10-21 10:36:27 +02:00
Godfrey M
4a3d8f2cc0
fixed the Green skin (dark mode) color scheme on the importer page and assets table
2020-10-20 15:22:38 -07:00
snipe
c19f1b77b0
Merge pull request #8542 from benwa/patch-2
...
Fix typo
2020-10-20 10:51:45 -07:00
Bennett Blodinger
132f296f03
Fix typo
2020-10-20 08:13:52 -05:00
snipe
870b097f03
Derp. Should be master
2020-10-19 17:49:56 -07:00
snipe
3e2996a46a
Merge remote-tracking branch 'origin/develop'
2020-10-19 16:57:24 -07:00
snipe
1090b291c3
Updated node packages, reregnerated assets
2020-10-19 16:56:59 -07:00
snipe
12ae408830
Merge remote-tracking branch 'origin/develop'
...
# Conflicts:
# app/Http/Controllers/Auth/ResetPasswordController.php
# resources/views/auth/passwords/reset.blade.php
2020-10-19 16:40:07 -07:00
snipe
a62e8413ba
Updated version
2020-10-19 16:36:25 -07:00
snipe
c1443aa6eb
Pull licenses, accessories, etc - the qty is not accurately reflected
2020-10-19 16:22:55 -07:00
snipe
e80b63b5c1
Fixed #8526 - skip cache for setup check
2020-10-19 12:33:38 -07:00
Brady Wetherington
6b1f1a29ef
Merge pull request #8525 from uberbrady/fix_nonexistent_ldap_active_flag
...
Ensure misdefined active flags will not prevent user syncing
2020-10-19 10:56:40 -07:00
snipe
36436f7929
Nope - was right the first time. Sigh.
2020-10-15 19:17:08 -07:00
snipe
569905ad06
Fixed “down” migration
2020-10-15 19:15:33 -07:00
Brady Wetherington
b626b7895a
Ensure misdefined active flags will not prevent user syncing
2020-10-15 19:10:47 -07:00
snipe
eebb463601
Merge pull request #8524 from snipe/fixes/8513_weird_oauth_table_migration_fsckery
...
Fixed #8513 - Manually created oauth tables
2020-10-15 18:27:36 -07:00
snipe
8f0b3ace92
Manuall created oauth tables
...
We shouldn’t have to do this, but…
2020-10-15 18:20:41 -07:00
snipe
2dc027e479
Bumped GM version
2020-10-09 17:29:31 -07:00
snipe
51d804c971
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2020-10-09 17:24:55 -07:00
snipe
fa41b74856
Fixed parse error in Columbian spanish translation
2020-10-09 17:24:48 -07:00
snipe
701f35e063
Merge pull request #8508 from uberbrady/fix_ad_logins_v5
...
[Discuss] Fix some logic bugs in the AD-specific code for logging in via AD/LDAP
2020-10-09 17:15:55 -07:00
snipe
a39069bc45
Small UI improvements to API keys page
2020-10-09 16:02:30 -07:00
Brady Wetherington
be4aa07d8c
Some logic bugs in the AD-specific code for logging in via AD/LDAP
2020-10-09 15:33:17 -07:00
snipe
714ad071ca
Add API endpoint to API keys page
...
// TODO - localize it
2020-10-09 14:46:11 -07:00
snipe
0954ff0659
Fixed lost ldap password on save when nothing entered
2020-10-09 13:08:51 -07:00
snipe
33cf4896d8
Use password complexity rules on password reset
2020-10-08 19:28:21 -07:00
snipe
c0f9a35dea
Fixed password reset blade with correct username
2020-10-08 18:47:42 -07:00
snipe
8a1136d80a
Use password security settings on password reset
2020-10-08 18:43:39 -07:00
snipe
292370b02f
Cleaned up validation
2020-10-08 18:43:23 -07:00
snipe
d7e58a35bf
Revert "Updated translations"
...
This reverts commit aad14b4d7a .
2020-10-08 18:43:06 -07:00
snipe
aad14b4d7a
Updated translations
2020-10-06 19:30:04 -07:00
snipe
01a98c38dc
Added welsh as an localization option
2020-10-06 19:16:29 -07:00
snipe
4dbf1f58e3
Bumped RC to GM
2020-10-06 19:11:34 -07:00
snipe
f5116d4cb5
Merge pull request #8499 from uberbrady/fix_v5_AD_OU_handling
...
Modify Snipe-IT v5 AD handling to use the same ldap_host as for LDAP
2020-10-06 18:56:54 -07:00
Brady Wetherington
b015cff8bd
Modify Snipe-IT v5 AD handling to use the same ldap_host, and improve OU handling
2020-10-06 18:31:06 -07:00
snipe
0e632cc7fb
Merge pull request #8494 from snipe/features/nuke_barcodes
...
Added utility to delete barcode cache from labels/barcodes setting
2020-10-06 17:42:57 -07:00
snipe
b49c5dbf06
Clarified language
2020-10-05 20:43:28 -07:00
snipe
6234c6e5fc
Fixed typo
2020-10-05 20:35:27 -07:00
snipe
0cd19c87bf
Added utility to delete barcode cache from labels/barcodes setting
2020-10-05 20:34:17 -07:00
snipe
14a10f60d9
Undo previous change (it was an intentional choice)
2020-09-29 15:24:50 -07:00
snipe
186e229190
Make date example reflect actual date
2020-09-28 19:01:58 -07:00
snipe
dafac4ceb3
Disable ldap_enabled on demo, fixed some incorrect error messages
2020-09-25 19:04:38 -07:00
snipe
98b9ee9b25
Only save LDAP settings if not in demo mode
2020-09-25 18:38:26 -07:00
snipe
01548ba39d
Add ad_append_domain to settings controller
2020-09-25 18:27:22 -07:00
snipe
695774a3fb
Corrected throttle string
2020-09-24 23:39:32 -07:00
snipe
98246de4c7
Disable SAML on the demo
2020-09-24 19:25:28 -07:00
snipe
da9896b59a
Remove SAML settings on demo reset
2020-09-24 19:13:31 -07:00
snipe
b0e9875a50
Counting is hard. :(
2020-09-24 14:20:29 -07:00
snipe
7314bc4c4e
Bumped hash for newest RC
2020-09-24 14:19:34 -07:00
snipe
ba70e07637
Merge pull request #8466 from benwa/gmaps-8465
...
Changes Google Map to be a bit more detailed
2020-09-22 17:59:45 -07:00
Bennett Blodinger
83dfa2a28c
Merge branch 'develop' into gmaps-8465
2020-09-22 17:41:38 -05:00
Blodinger
471e0fd2fc
Changes the Google Maps window to be a bit more detailed
2020-09-22 14:30:38 -05:00
snipe
4bd140c324
Merge pull request #8451 from snipe/fixes/fix_ldap_js
...
No longer toggle the 'disabled' attribute for ldap_server based on is_ad
2020-09-17 14:14:23 -07:00
Brady Wetherington
0e823a962b
Fix for #8424 - where the ldap_server setting was grayed out
2020-09-17 13:32:14 -07:00
snipe
002ca52c83
Standardize feature disabled messages in UI
2020-09-16 15:09:58 -07:00
snipe
9793d75947
Merge pull request #8445 from snipe/improve_slack_test_flow_js
...
Improve slack test flow js
2020-09-16 13:28:10 -07:00
Brady Wetherington
8331be05aa
Some fancy JS to enable/disable Slack-test based on field values
2020-09-16 13:15:39 -07:00
snipe
e8dfb71682
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
...
# Conflicts:
# resources/views/settings/slack.blade.php
2020-09-16 12:40:23 -07:00
snipe
7de685a1c1
Added demo disabled text on slack screen
2020-09-16 12:36:33 -07:00
snipe
b508482441
Merge pull request #8438 from snipe/features/nicer_slack_ui
...
Nicer slack settings UI
2020-09-16 12:29:58 -07:00
snipe
30f8431bfb
Added required field indicator
2020-09-16 12:29:20 -07:00
snipe
81548e581d
Fixed #8443 - wrong value for array_key_exists on location import
2020-09-16 11:45:47 -07:00
snipe
a3e738b283
Fixed #8442 - wrong CSS url path on /setup
2020-09-16 11:20:59 -07:00
snipe
ed3afd1e2e
Removed debugging
2020-09-15 23:19:52 -07:00
snipe
74b96a7413
UI tweaks and updated JS to disable the save button if the settings are not correct
2020-09-15 23:14:10 -07:00
snipe
3ceff29e04
Added some translations for Slack integration
2020-09-15 23:05:42 -07:00
snipe
7736f12eb4
Switch to Guzzle for the Slack test
2020-09-15 23:05:27 -07:00
snipe
b1dda88c9d
Removed SlackTest notification
2020-09-15 23:05:05 -07:00
snipe
440ca686e4
More verbose warning for data purge
2020-09-15 20:53:07 -07:00
snipe
4fd5358aa8
Changed login attempts icon so it’s not the same as SAML
2020-09-15 20:27:01 -07:00
snipe
2855a9b2e8
Added debugging to file upload for easier diagnostics
2020-09-15 20:07:46 -07:00
snipe
e8befe9afd
Increased favicon filesize max
2020-09-15 20:07:29 -07:00
snipe
d5f8e93d7c
Moved delete logo option higher for nicer layout
2020-09-15 19:52:34 -07:00
snipe
303388e1f5
Added a space between favicon help text blocks
2020-09-15 19:50:15 -07:00
snipe
b9e19468e5
Bumped version for v4.9.5
2020-09-15 18:43:19 -07:00
snipe
9601bf6edd
Make “remove image” text clearer
2020-09-15 11:57:40 -07:00
snipe
3b6fb68ff1
Added space between padlock icon and demo warning text
2020-09-15 11:40:36 -07:00
snipe
bfd024fdfd
Merge pull request #8434 from inietov/bug/ch15182/make-all-of-the-this-feature-has-been-disabled
...
Thanks!
2020-09-15 11:21:35 -07:00
snipe
4d6a8d48ee
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2020-09-15 10:15:17 -07:00
snipe
e464f0edf3
Small UI tweaks for kits
2020-09-15 10:15:14 -07:00
snipe
426897c902
Bumped hash
2020-09-15 10:13:55 -07:00
snipe
cfd78fa870
Merge pull request #8435 from inietov/bug/ch15188/v5-500-server-error-in-update-general-settings
...
Looks great, thank you!
2020-09-15 02:34:59 -07:00
Ivan Nieto
501d5680ea
Fix [ch15188] 500 error
2020-09-15 03:51:10 -05:00
Ivan Nieto
291997c915
Change the class of a reusable element so the icon changes from a warning to a padlock
2020-09-15 01:32:46 -05:00
snipe
912401a0a0
Change warning icon to padlock icon
2020-09-12 12:07:56 -07:00
snipe
ec5daa387b
Better explanation for demo mode
2020-09-12 10:04:57 -07:00
snipe
24a52eaeae
Bumped hash
2020-09-12 10:04:36 -07:00
snipe
e448b626e2
Removed pagaination from dashboard
2020-09-12 08:37:37 -07:00
snipe
ac2403e8fc
Fixed markdown issue in markdown notifications
2020-09-11 17:12:33 -07:00
snipe
cf545f0ed1
Fixed form layout on accessory checkin page
2020-09-11 16:20:56 -07:00
snipe
52848ca8d8
Fixed checkin/checkout notification crashing
2020-09-11 16:10:18 -07:00
snipe
a91e81fc42
Added checkin_email to category listing
2020-09-11 16:06:38 -07:00
snipe
e750b2b2da
Added envelope css to overrides for table header
2020-09-11 16:06:19 -07:00
snipe
d3d64bd85c
Removed asset tag from accessory checkin markdown notification
2020-09-11 16:06:02 -07:00
snipe
514e7ca072
Added boolean has_eula to categories
2020-09-11 16:05:42 -07:00
snipe
0f22cf6807
Fixed #8428 - Added purchase cost column to user tabs
2020-09-11 11:48:51 -07:00
snipe
2f435a57c1
Fixed #8426 - show model number in custom fields model listing
2020-09-11 11:27:30 -07:00
snipe
f949a95cfb
Merge pull request #8423 from snipe/fix_ldap_test_php74
...
Fix ldap test php74
2020-09-09 14:38:26 -07:00
Brady Wetherington
f3f7d714a6
Fix ldap test button for php 7.4 (suppressing errors)
2020-09-09 14:18:05 -07:00
snipe
b258f34bce
Merge branch 'integrations/rc5-4-2020-08-31-dev-into-master' into develop
2020-09-09 12:27:01 -07:00
snipe
3d4e1d4641
Merge pull request #8419 from snipe/fixes/ldap_init_fix_for_migrations
...
Hopefully fixes #8418 - migrations on new install go wonky because of…
2020-09-09 12:26:01 -07:00
snipe
cb5104c27d
Hopefully fixes #8418 - migrations on new install go wonky because of LDAP service provider
2020-09-08 21:13:24 -07:00
snipe
5e3ccd1004
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2020-09-08 18:29:38 -07:00
snipe
82e0b1ffd8
Fixed [ch15130] - update the seeder to clear requested assets table
2020-09-08 18:29:02 -07:00
snipe
5b68a321a6
Added comapny formatter to asset maintenance report - fixes [ch15119]
2020-09-08 18:15:45 -07:00
snipe
251ef82741
Added company formatter to asset maintenance report
2020-09-08 18:14:21 -07:00
snipe
327583f055
Merge branch 'integrations/rc5-4-2020-08-31-dev-into-master' into develop
2020-09-04 16:24:17 -07:00
snipe
acd15bc3e4
Fixed DB seeder to truncate the asset_maintenances table
...
This wouldn’t have affected anything in production, but could cause some weird behavior if re-seeding often, since the suppliers table gets stomped on but the old maintenances remained, leaving ghost entries and associating the wrong (old, now defunct) supplier with the maintenance as new supplier IDs get generated.
2020-09-04 16:23:58 -07:00
snipe
aabf9b6f9c
Merge branch 'integrations/rc5-4-2020-08-31-dev-into-master' into develop
2020-09-04 16:02:38 -07:00
snipe
10648de9af
Bulk Checkin and Delete also edit users [ch15107]
2020-09-04 16:02:25 -07:00
snipe
97743160ef
Merge branch 'integrations/rc5-4-2020-08-31-dev-into-master' into develop
2020-09-04 15:45:03 -07:00
snipe
1bea83ee5a
Fixed missing setting call
...
This is still broken further down the line in the event handler for license checkin, but this gets us closer
2020-09-04 15:44:37 -07:00
snipe
d9e7a457d4
Fixed regression on select menus [ch15093]
...
Custom report doesn’t pass an $item, so we have to check for that in that required check
2020-09-04 15:43:49 -07:00
snipe
5f5b80acae
Added maintained and reassignable to license listing
2020-09-04 10:02:04 -07:00
snipe
ba06507e10
Merge branch 'integrations/rc5-4-2020-08-31-dev-into-master' into develop
2020-09-03 19:47:50 -07:00
snipe
69d7000922
Fixed [ch15085] - duplicate use statements in Consumables controller
2020-09-03 19:47:15 -07:00
snipe
96abe54aad
Merge branch 'integrations/rc5-4-2020-08-31-dev-into-master' into develop
2020-09-03 19:41:09 -07:00
snipe
249b9b7509
Fixed [ch15086] - [object object] in companies date displays
2020-09-03 19:40:17 -07:00
snipe
25cb489b76
Merge branch 'integrations/rc5-4-2020-08-31-dev-into-master' into develop
2020-09-03 17:00:26 -07:00
snipe
0eeeb24cae
Added data-validation=“required" to appropriate field partials
2020-09-03 16:59:42 -07:00
snipe
0503a51cae
Corrected validation to match model
2020-09-03 16:58:45 -07:00
snipe
2e0f7921a8
Removed commented out javascript
2020-09-03 16:58:16 -07:00
snipe
c29ec6a100
Removed duplicate state field
2020-09-03 16:00:26 -07:00
snipe
a57ab29af6
Accessibility features for custom fields icons
2020-09-03 15:55:52 -07:00
snipe
b8ddbadd2b
Use icons for 2FA, LDAP, etc info on user view
2020-09-03 15:55:41 -07:00
snipe
3e120812e3
Removed 2FA reset button if the user is not enrolled in 2FA
2020-09-03 15:55:20 -07:00
snipe
d0124b900a
Merge branch 'integrations/rc5-4-2020-08-31-dev-into-master' into develop
2020-09-03 15:14:06 -07:00
snipe
3ea3e8b856
Updated user asset listing to use bootstrap-tables and asset endpoint [ch1389]
2020-09-03 15:12:51 -07:00
snipe
0ace7d16fb
Merge branch 'integrations/rc5-4-2020-08-31-dev-into-master' into develop
2020-09-03 14:08:01 -07:00
snipe
fb59405a87
User view can t be loaded [ch15079]
2020-09-03 14:07:30 -07:00
Ivan Nieto
3fcd83c499
Fixes some errors in forms using the deprecated Input:: facade
2020-09-03 13:42:33 -05:00
snipe
9820bc6a58
Merge branch 'integrations/intermediate-2020-08-31-v5-rc' into develop
...
# Conflicts:
# config/version.php
# public/css/build/all.css
# public/css/skins/skin-contrast.css
# public/css/skins/skin-contrast.css.map
# public/js/build/vue.js
# public/js/dist/all.js
# resources/views/custom_fields/fieldsets/view.blade.php
# resources/views/layouts/default.blade.php
# resources/views/users/index.blade.php
2020-09-03 09:40:38 -07:00
snipe
ed79eacb9d
Updated help text
2020-08-31 19:55:30 -07:00
snipe
408435057e
Small vue fixes
2020-08-31 19:41:05 -07:00
snipe
7cab9f48e5
Use darker red for errors
2020-08-31 19:40:49 -07:00
snipe
addb2bde23
Merge pull request #8392 from snipe/integrations/rc5-4-2020-08-31-dev-into-master
...
Integrations/rc5 4 2020 08 31 dev into master
2020-08-31 17:24:44 -07:00
snipe
a64e1be278
Fixed Input:: () vs request()
2020-08-31 17:18:09 -07:00
snipe
13216b8860
Fixed pGenerator (again)
2020-08-31 17:17:51 -07:00
snipe
2a5cd58ad9
Added gitignore to cache dir
2020-08-31 17:15:21 -07:00
snipe
6a90ce523b
Bumped version
2020-08-31 15:38:40 -07:00
snipe
453fc718d9
Merge branch 'develop' into integrations/2020-08-31-dev-into-master
...
# Conflicts:
# .all-contributorsrc
# .nvmrc
# README.md
# app/Console/Commands/LdapSync.php
# app/Http/Controllers/Api/AssetsController.php
# app/Http/Controllers/Api/ConsumablesController.php
# app/Http/Controllers/Api/ImportController.php
# app/Http/Controllers/Assets/AssetsController.php
# app/Http/Controllers/Auth/LoginController.php
# app/Http/Controllers/CustomFieldsetsController.php
# app/Http/Controllers/LicensesController.php
# app/Http/Controllers/UsersController.php
# app/Models/Ldap.php
# composer.json
# composer.lock
# config/version.php
# public/css/build/all.css
# public/css/dist/all.css
# public/css/skins/skin-contrast.css
# public/css/skins/skin-contrast.css.map
# public/js/build/all.js
# public/js/build/vue.js
# public/js/build/vue.js.map
# public/js/dist/all.js
# public/mix-manifest.json
# resources/assets/less/overrides.less
# resources/views/custom_fields/fieldsets/view.blade.php
# resources/views/hardware/view.blade.php
# resources/views/layouts/default.blade.php
# resources/views/modals/model.blade.php
# resources/views/modals/user.blade.php
# resources/views/users/index.blade.php
# routes/api.php
# tests/unit/UserTest.php
2020-08-31 12:44:03 -07:00
snipe
9c8ca6af21
Squashed commit of the following:
...
commit e321aeabae
Merge: 8ec99ff43 37568ae9e
Author: snipe <snipe@snipe.net >
Date: Mon Aug 31 12:14:44 2020 -0700
Merge branch 'master' into integrations/2020-08-31-v5-rc
# Conflicts:
# .all-contributorsrc
# .nvmrc
# README.md
# app/Console/Commands/LdapSync.php
# app/Http/Controllers/Api/ConsumablesController.php
# app/Http/Controllers/Api/ImportController.php
# app/Http/Controllers/Assets/AssetsController.php
# app/Http/Controllers/Auth/LoginController.php
# app/Http/Controllers/CustomFieldsetsController.php
# app/Http/Controllers/LicensesController.php
# app/Http/Controllers/UsersController.php
# app/Importer/import_mappings.md
# app/Models/Ldap.php
# app/Models/Loggable.php
# composer.json
# composer.lock
# config/version.php
# public/css/build/all.css
# public/css/dist/all.css
# public/css/skins/skin-contrast.css
# public/css/skins/skin-contrast.css.map
# public/js/build/all.js
# public/js/build/vue.js
# public/js/build/vue.js.map
# public/js/dist/all.js
# public/mix-manifest.json
# resources/assets/js/components/importer/importer-file.vue
# resources/assets/less/overrides.less
# resources/macros/macros.php
# resources/views/custom_fields/fieldsets/view.blade.php
# resources/views/hardware/edit.blade.php
# resources/views/hardware/labels.blade.php
# resources/views/hardware/view.blade.php
# resources/views/layouts/default.blade.php
# resources/views/modals/model.blade.php
# resources/views/modals/user.blade.php
# resources/views/users/index.blade.php
# routes/api.php
# routes/web/fields.php
# tests/unit/UserTest.php
commit 37568ae9ec
Merge: 01a832169 32ad9050c
Author: snipe <snipe@snipe.net >
Date: Tue Aug 25 20:49:37 2020 -0700
Merge pull request #8365 from snipe/fixes/8338_google_maps_CSP
Fixed #8338 - Added google maps to CSP
commit 32ad9050cf
Author: snipe <snipe@snipe.net >
Date: Tue Aug 25 20:48:53 2020 -0700
Added google maps to CSP
commit 01a832169c
Merge: bcad49ce7 3c6883489
Author: snipe <snipe@snipe.net >
Date: Tue Aug 25 20:38:31 2020 -0700
Merge pull request #8364 from snipe/fixes/8335_assigned_to_null_on_status_assetlist
Fixed #8335 - added assignedTo scope on status labels API call for assetlist
commit 3c6883489c
Author: snipe <snipe@snipe.net >
Date: Tue Aug 25 20:37:30 2020 -0700
Added assignedTo scope
commit bcad49ce79
Author: snipe <snipe@snipe.net >
Date: Fri Aug 14 16:10:22 2020 -0700
Try to better handle slack “too many requests” issue
commit b5acca89d7
Author: snipe <snipe@snipe.net >
Date: Fri Aug 14 16:02:15 2020 -0700
Check for admin for slack notifications
commit e52919cf1b
Merge: 714576be4 29f3a5c48
Author: snipe <snipe@snipe.net >
Date: Fri Aug 14 15:35:15 2020 -0700
Merge pull request #8327 from snipe/features/checkin_license_from_all_users
Checkin license from all users cli tool
commit 29f3a5c48f
Author: snipe <snipe@snipe.net >
Date: Fri Aug 14 15:27:40 2020 -0700
Use more verbose annotation for Auth::user if/else
commit 134e8e6fb9
Author: snipe <snipe@snipe.net >
Date: Fri Aug 14 15:25:07 2020 -0700
Moved user email nulling until after the save
commit 714576be45
Merge: b999c50a2 512899294
Author: Brady Wetherington <bwetherington@grokability.com >
Date: Fri Aug 14 15:24:03 2020 -0700
Merge pull request #8328 from snipe/fix_deprecation_report
Fix deprecation report for customers with many active assets
commit 5128992940
Author: Brady Wetherington <uberbrady@gmail.com >
Date: Fri Aug 14 15:03:03 2020 -0700
Fix deprecation report for customers with many active assets
commit 0291323502
Author: snipe <snipe@snipe.net >
Date: Fri Aug 14 14:57:58 2020 -0700
Use the user as the target
commit e0f6f9b839
Author: snipe <snipe@snipe.net >
Date: Fri Aug 14 14:43:37 2020 -0700
Artisan command to check in licenses from all users
commit f1a6308002
Author: snipe <snipe@snipe.net >
Date: Fri Aug 14 14:43:07 2020 -0700
Check for Auth::user before trying to log id (for cli)
commit b999c50a2e
Merge: 9ca20e496 e3906b245
Author: snipe <snipe@snipe.net >
Date: Wed Aug 12 12:37:47 2020 -0700
Merge pull request #8316 from Godmartinz/bug/ch15028/missing-or-incorrect-error-message-translation
Looks great, thank you!
commit e3906b245c
Author: Godfrey M <godmartinz@gmail.com >
Date: Wed Aug 12 12:27:18 2020 -0700
added translation for admin/licenses/message.not_found
commit 9ca20e4964
Merge: e0644dbbf 456a74d88
Author: Brady Wetherington <bwetherington@grokability.com >
Date: Tue Aug 11 17:33:19 2020 -0700
Merge pull request #8313 from snipe/improve_ldap_search_error_reporting
Improve ldap search error reporting
commit 456a74d88c
Author: Brady Wetherington <uberbrady@gmail.com >
Date: Tue Aug 11 16:41:20 2020 -0700
De-merge out incorrectly merged files. Whoops!
commit 799c059070
Author: Brady Wetherington <uberbrady@gmail.com >
Date: Tue Aug 11 16:21:18 2020 -0700
Add internationalized version of LDAP error message
commit c62d43a778
Author: Brady Wetherington <uberbrady@gmail.com >
Date: Mon Aug 10 17:04:17 2020 -0700
Improve Exception management in Artisan LDAP Sync method. Still need to localize this better
commit b725bd0fae
Author: Brady Wetherington <uberbrady@gmail.com >
Date: Mon Aug 10 17:23:04 2020 -0700
Add @PeterUpfold as a contributor
commit e0644dbbf6
Merge: 5b6925b00 004ecad05
Author: Brady Wetherington <bwetherington@grokability.com >
Date: Mon Aug 10 17:22:31 2020 -0700
Merge pull request #8105 from PeterUpfold/PeterUpfold-7661workaround
Propose workaround for #7661 — suppress E_DEPRECATED on ldap_control_paged_result()
commit 5b6925b00c
Author: snipe <snipe@snipe.net >
Date: Tue Aug 4 21:00:37 2020 -0700
Removed debugging :(
commit df17a859bf
Author: snipe <snipe@snipe.net >
Date: Tue Aug 4 20:59:54 2020 -0700
Changed modal IDs so manager creation modal works on user creation main page
commit 24c43056ba
Author: snipe <snipe@snipe.net >
Date: Tue Aug 4 20:58:28 2020 -0700
Moved pGenerator script to default layout footer
This fixes an issue where the password generator wouldn’t load in a modal in Chrome
commit 606b7e905d
Author: snipe <snipe@snipe.net >
Date: Fri Jul 31 17:02:33 2020 -0700
Small edits to PR template
Slight text changes to ask specifics about versions
commit d73ddad477
Author: snipe <snipe@snipe.net >
Date: Fri Jul 31 16:59:26 2020 -0700
Created a PR template
First draft of the PR guidelines template
commit 9a39cf721e
Merge: 7410b1683 8994f3e15
Author: snipe <snipe@snipe.net >
Date: Fri Jul 31 12:18:49 2020 -0700
Merge pull request #8258 from ballertv/features/consumable-api
This looks great, thank you!
commit 7410b16835
Merge: e955c983a b09e7d19b
Author: Brady Wetherington <bwetherington@grokability.com >
Date: Fri Jul 24 16:22:44 2020 -0700
Merge pull request #8270 from snipe/improve_ad_useraccountcontrol_v4
Add new useraccountcontrol value for valid AD users
commit 8994f3e15e
Author: andres <andresgutierrez535@gmail.com >
Date: Wed Jul 22 19:57:06 2020 -0400
cleanup
commit d23f1a77ca
Author: andres <andresgutierrez535@gmail.com >
Date: Wed Jul 22 18:46:02 2020 -0400
implement checkout API
commit e955c983a3
Merge: 2fa17ac18 eed41e454
Author: snipe <snipe@snipe.net >
Date: Wed Jul 22 13:43:29 2020 -0700
Merge pull request #8250 from snipe/features/adds_addr_city_state_to_importer
Added address, city, state and country to importer and city to bulk editor
commit b09e7d19b3
Author: Brady Wetherington <uberbrady@gmail.com >
Date: Wed Jul 22 13:32:16 2020 -0700
Add new useraccountcontrol value for valid AD users; document algorithm and values
commit 2fa17ac185
Merge: b90515437 3b1e46f72
Author: snipe <snipe@snipe.net >
Date: Wed Jul 22 12:06:31 2020 -0700
Merge pull request #8254 from Godmartinz/gmartinez_adds_email_formats
Added firstinitial.lastname, lastname_firstinitial, firstnamelastname…
commit 3b1e46f72b
Author: Godfrey Martinez <47435081+Godmartinz@users.noreply.github.com >
Date: Wed Jul 22 11:25:57 2020 -0700
Update general.php
commit 0c1a1de2a2
Author: Godfrey Martinez <47435081+Godmartinz@users.noreply.github.com >
Date: Wed Jul 22 11:24:36 2020 -0700
Update general.php
fixed typo
commit 20c9ae5818
Author: Godfrey M <godmartinz@gmail.com >
Date: Wed Jul 22 10:21:19 2020 -0700
Added firstinitial.lastname, lastname_firstinitial, firstnamelastname and firstnamelastinitial to username formats
commit eed41e4549
Author: snipe <snipe@snipe.net >
Date: Tue Jul 21 16:57:32 2020 -0700
Moved address down further, fixed broken HTML
commit b750f4754f
Author: snipe <snipe@snipe.net >
Date: Tue Jul 21 16:49:54 2020 -0700
Added city to bulk user importer
commit c17a06792a
Author: snipe <snipe@snipe.net >
Date: Tue Jul 21 16:49:38 2020 -0700
Added address, city, state, country to user importer
commit 4f76cc6cfb
Author: snipe <snipe@snipe.net >
Date: Tue Jul 21 16:46:13 2020 -0700
I don’t actually know what this file is for
commit b905154373
Author: snipe <snipe@snipe.net >
Date: Mon Jul 20 14:29:32 2020 -0700
Fixed #8247 - added notes field to user details display
commit daf748e531
Author: snipe <snipe@snipe.net >
Date: Fri Jul 17 12:32:01 2020 -0700
Bumped hash
commit 799a93c46a
Author: snipe <snipe@snipe.net >
Date: Fri Jul 17 12:11:32 2020 -0700
Allow for email/username search on users
commit 34aa12e229
Merge: 81a633288 897757bd0
Author: snipe <snipe@snipe.net >
Date: Thu Jul 16 17:44:13 2020 -0700
Merge pull request #8239 from snipe/fixes/api_rtd_to_location_on_create
Set location_id to rtd_location_id on asset creation
commit 897757bd04
Author: snipe <snipe@snipe.net >
Date: Thu Jul 16 17:43:44 2020 -0700
Removed added line for location
commit c7125c3937
Author: snipe <snipe@snipe.net >
Date: Thu Jul 16 16:34:39 2020 -0700
Set location_id to rtd_location_id on asset creation
commit 81a6332889
Author: snipe <snipe@snipe.net >
Date: Tue Jul 14 13:55:38 2020 -0700
Removed license ID from seats table cookie info
This typically wouldn’t be necessary, since most people would want to view the same *types* of data across licenses
commit 6e563f6e4b
Merge: 5320f5c67 7f69ae953
Author: snipe <snipe@snipe.net >
Date: Mon Jul 13 21:16:54 2020 -0700
Merge branch 'master' of https://github.com/snipe/snipe-it
commit 5320f5c67c
Author: snipe <snipe@snipe.net >
Date: Mon Jul 13 21:16:45 2020 -0700
Disallow non-super users from editing their own permissions
commit 7f69ae953b
Merge: c79f8c1ba 17f6fbabf
Author: snipe <snipe@snipe.net >
Date: Mon Jul 13 21:16:00 2020 -0700
Merge pull request #8227 from snipe/fix_select2_ajax_pulldowns
Changes how we do AJAX calls via Select2 for dynamic drop-down menus
commit 17f6fbabfa
Author: Brady Wetherington <uberbrady@gmail.com >
Date: Mon Jul 13 21:12:03 2020 -0700
Switch to 'items' to maintain compatbility with other internal API's
commit c79f8c1baf
Merge: 12c92e30b 536401fe0
Author: snipe <snipe@snipe.net >
Date: Mon Jul 13 17:42:16 2020 -0700
Merge pull request #8207 from EDVLeer/patch-1
Update snipeit.sh
commit e7a820f7c9
Author: Brady Wetherington <uberbrady@gmail.com >
Date: Mon Jul 13 17:14:31 2020 -0700
Changes how we do AJAX calls via Select2 for dynamic drop-down menus
commit 12c92e30b7
Author: snipe <snipe@snipe.net >
Date: Fri Jul 10 16:21:27 2020 -0700
Show whether or not the user was imported via LDAP in the view page
commit fd10b755b0
Author: snipe <snipe@snipe.net >
Date: Fri Jul 10 11:30:01 2020 -0700
Removed the sr-only tag in table headers
It was breaking Bootstrap Tables column selector :(
commit dbbb7680d9
Author: snipe <snipe@snipe.net >
Date: Thu Jul 9 21:12:50 2020 -0700
A few more fixes for the cli
Do not check out a piece of software if it’s already been checked out to the user
commit cf0dd5bbad
Author: snipe <snipe@snipe.net >
Date: Thu Jul 9 20:43:13 2020 -0700
Small fixes for cli tool
commit 25e53d8c7f
Merge: ec6ed256f 89d433b41
Author: snipe <snipe@snipe.net >
Date: Thu Jul 9 20:27:01 2020 -0700
Merge pull request #8216 from snipe/features/checkout_license_to_all_users
Added CLI tool to checkout license to all users
commit 89d433b41a
Author: snipe <snipe@snipe.net >
Date: Thu Jul 9 20:26:02 2020 -0700
Removed duplicate seat call
commit e2570ada6f
Author: snipe <snipe@snipe.net >
Date: Thu Jul 9 20:04:05 2020 -0700
CLI tool to checkout a license to ALL users
commit 45afe725a1
Author: snipe <snipe@snipe.net >
Date: Thu Jul 9 20:03:47 2020 -0700
Only try to get the company if there is an auth’d user
(Needed for command line tools, where no Auth::user() is present)
commit 536401fe0f
Author: EDVLeer <32170051+EDVLeer@users.noreply.github.com >
Date: Tue Jul 7 08:21:36 2020 +0200
Update snipeit.sh
Ubuntu 20.04
commit ec6ed256fb
Author: snipe <snipe@snipe.net >
Date: Mon Jul 6 18:45:43 2020 -0700
Bumped minor version
commit 2aaa7bed2d
Merge: 339bdddc3 cc9f1577a
Author: snipe <snipe@snipe.net >
Date: Thu Jun 25 18:37:41 2020 -0700
Merge pull request #8183 from snipe/features/merge_users
Added merge utility
commit cc9f1577a4
Author: snipe <snipe@snipe.net >
Date: Thu Jun 25 17:43:53 2020 -0700
Removed unused use directives
commit ab1fe8be0c
Author: snipe <snipe@snipe.net >
Date: Thu Jun 25 17:42:39 2020 -0700
Added merge utility
commit 339bdddc38
Author: snipe <snipe@snipe.net >
Date: Thu Jun 25 11:00:33 2020 -0700
Fix for Vue js not loading due to CSP :(
commit 35b9cf4b70
Author: snipe <snipe@snipe.net >
Date: Tue Jun 23 02:41:59 2020 -0700
Fixed missing db prefix on scopeDueOrOverdueForAudit
commit 7ccb41371e
Author: snipe <snipe@snipe.net >
Date: Tue Jun 23 01:09:39 2020 -0700
Removed unoptimized images directive
securityheaders.com is claiming it’s onrecognized, even though I got that directive from their site, so… whatever. ¯\_(ツ)_/¯
commit 2e60a457bf
Author: snipe <snipe@snipe.net >
Date: Tue Jun 23 01:07:00 2020 -0700
Dumb fix for feature-policy being dumb.
commit 2390d2160b
Merge: b42801f6a 00b051b8c
Author: snipe <snipe@snipe.net >
Date: Tue Jun 23 00:27:47 2020 -0700
Merge pull request #8164 from snipe/features/additional_security_headers
Additional security headers
commit 00b051b8c7
Author: snipe <snipe@snipe.net >
Date: Tue Jun 23 00:26:09 2020 -0700
Added a few more comments
commit 05b3a9ad7e
Author: snipe <snipe@snipe.net >
Date: Mon Jun 22 23:17:27 2020 -0700
Config variable for HSTS
commit 4fb880384f
Author: snipe <snipe@snipe.net >
Date: Mon Jun 22 22:37:14 2020 -0700
Changed comment
commit 43042ad841
Author: snipe <snipe@snipe.net >
Date: Mon Jun 22 22:35:59 2020 -0700
Consolidated ReferrerPolicy into new SecurityHeaders file
commit a716382ac4
Author: snipe <snipe@snipe.net >
Date: Mon Jun 22 22:33:37 2020 -0700
Removed CSP middleware (it’s added in the general header)
commit 36c8f7f4f1
Author: snipe <snipe@snipe.net >
Date: Mon Jun 22 22:31:01 2020 -0700
Additional security headers
commit b42801f6ae
Merge: de4934f21 946129f20
Author: snipe <snipe@snipe.net >
Date: Mon Jun 22 20:47:35 2020 -0700
Merge pull request #8163 from snipe/fixes/fix-for-css-on-column-selector
Fixed weird padlock display in asset listing with encrypted custom fields
commit 946129f206
Author: snipe <snipe@snipe.net >
Date: Mon Jun 22 20:45:20 2020 -0700
Made quote style consistent
commit b941ef1e08
Author: snipe <snipe@snipe.net >
Date: Mon Jun 22 20:41:40 2020 -0700
Pulled CSS font awesome styles out of the blade and into overrides.css
commit d1aa11ec89
Author: snipe <snipe@snipe.net >
Date: Mon Jun 22 20:29:19 2020 -0700
Fix for weird padlock display in asset listing with encrypted custom fields
commit de4934f21d
Merge: af06e4205 b10076b01
Author: snipe <snipe@snipe.net >
Date: Mon Jun 22 17:28:38 2020 -0700
Merge pull request #8162 from Godmartinz/godfreymartinez-ghi-font-size-of-qr_text
Fixed #8161 and #8114 - font-size for labels used static values in blade instead of using values from settings
commit b10076b015
Author: Godfrey M <godmartinz@gmail.com >
Date: Mon Jun 22 17:04:39 2020 -0700
corrected an error where font-size for labels were static in settings.
commit af06e42056
Author: snipe <snipe@snipe.net >
Date: Wed Jun 17 11:17:25 2020 -0700
Bumped version
commit 9a2440dc4b
Merge: beae8efb2 2ac1c1636
Author: snipe <snipe@snipe.net >
Date: Tue Jun 16 20:20:07 2020 -0700
Merge pull request #8141 from snipe/fixes/better_handling_when_license_is_invalid
Better handle the logic to determine if we should display the license checkout blade [ch13792]
commit 2ac1c1636c
Author: snipe <snipe@snipe.net >
Date: Tue Jun 16 16:12:57 2020 -0700
Better handle the logic to determine if we should display the license checkout blade
commit 004ecad059
Author: Peter Upfold <pgithub@upfold.org.uk >
Date: Wed Jun 3 08:59:50 2020 +0100
Force suppress deprecation warning on ldap_control_paged_result()
commit beae8efb21
Merge: d14ab7e3e 9839e5e56
Author: snipe <snipe@snipe.net >
Date: Wed May 27 23:01:33 2020 -0700
Merge pull request #8088 from Godmartinz/Label_Woes
Barcode resizing and text adjustment
commit 9839e5e566
Author: Godfrey M <godmartinz@gmail.com >
Date: Wed May 27 12:27:40 2020 -0700
adjusted for all label text, removed local variable
commit d14ab7e3e1
Author: snipe <snipe@snipe.net >
Date: Wed May 27 00:22:44 2020 -0700
Porting change from #8053 to master
Signed-off-by: snipe <snipe@snipe.net >
commit e7f74d94c1
Author: Godfrey M <godmartinz@gmail.com >
Date: Tue May 26 17:22:45 2020 -0700
Label_Woes
commit e97cf011b6
Author: Godfrey M <godmartinz@gmail.com >
Date: Tue May 26 17:15:39 2020 -0700
Label_Woes
commit ed23505054
Author: Godfrey M <godmartinz@gmail.com >
Date: Tue May 26 17:10:45 2020 -0700
Label_Woes
commit 001e721530
Merge: f88683766 8210da6e8
Author: snipe <snipe@snipe.net >
Date: Wed May 20 10:21:52 2020 -0700
Merge pull request #8063 from dmeltzer/backport-8092
BACKPORT: Fix Missing Category selection in Asset Model Modal dialog - [ch14635]
commit 8210da6e82
Author: Daniel Meltzer <dmeltzer.devel@gmail.com >
Date: Wed May 20 10:29:27 2020 -0400
Fix Missing Category selection in Asset Model Modal dialog.
A select html tag needs a full closing tag. is not valid. This was causing the select2 js to barf and eat additional information.
commit f88683766b
Author: snipe <snipe@snipe.net >
Date: Thu May 14 00:55:47 2020 -0700
Roll back previous change
Signed-off-by: snipe <snipe@snipe.net >
commit e4385c0f8c
Author: snipe <snipe@snipe.net >
Date: Thu May 14 00:48:30 2020 -0700
Fixes #8051 regression
Signed-off-by: snipe <snipe@snipe.net >
commit 0550fe0ffa
Author: snipe <snipe@snipe.net >
Date: Tue May 12 10:31:54 2020 -0700
Fix for session fixation vulnerability
Signed-off-by: snipe <snipe@snipe.net >
commit 7fb3a9b82c
Merge: 9a2ed804c ecb1e87fe
Author: snipe <snipe@snipe.net >
Date: Mon May 11 22:41:36 2020 -0700
Merge pull request #8043 from snipe/features/backup-optional-in-import-and-ldap
Added option to disable backup in import
commit ecb1e87fe6
Author: snipe <snipe@snipe.net >
Date: Mon May 11 20:45:15 2020 -0700
Updated assets
Signed-off-by: snipe <snipe@snipe.net >
commit f43df5f041
Author: snipe <snipe@snipe.net >
Date: Mon May 11 20:44:46 2020 -0700
Fixed form label
Signed-off-by: snipe <snipe@snipe.net >
commit 95cc48e422
Author: snipe <snipe@snipe.net >
Date: Mon May 11 20:41:10 2020 -0700
Added option to disable backup in import
Signed-off-by: snipe <snipe@snipe.net >
commit 9a2ed804ca
Author: snipe <snipe@snipe.net >
Date: Mon May 11 20:28:42 2020 -0700
Fixed mismatched HTML header tags
Signed-off-by: snipe <snipe@snipe.net >
commit d20fad28e5
Author: snipe <snipe@snipe.net >
Date: Mon May 11 20:28:24 2020 -0700
Use more modern request helper
Signed-off-by: snipe <snipe@snipe.net >
commit ae813ddf75
Author: snipe <snipe@snipe.net >
Date: Mon May 11 18:11:16 2020 -0700
Add @alek13 as a contributor
commit bb42109c0c
Author: snipe <snipe@snipe.net >
Date: Mon May 11 18:10:45 2020 -0700
Added a clarifying comment
Signed-off-by: snipe <snipe@snipe.net >
commit f46ecf8ec0
Author: snipe <snipe@snipe.net >
Date: Mon May 11 18:07:20 2020 -0700
Updated composer lock
Signed-off-by: snipe <snipe@snipe.net >
commit b9e821c0e6
Author: snipe <snipe@snipe.net >
Date: Mon May 11 18:07:14 2020 -0700
Small fix for Group Functional Tests
Signed-off-by: snipe <snipe@snipe.net >
commit 9ee28c7513
Author: snipe <snipe@snipe.net >
Date: Mon May 11 18:07:02 2020 -0700
Switched to use info instead of danger on undeployable statuses
Signed-off-by: snipe <snipe@snipe.net >
commit 1a8ba06702
Merge: 0fd232e70 ee4d69b1c
Author: snipe <snipe@snipe.net >
Date: Mon May 11 17:53:32 2020 -0700
Merge branch 'master' of https://github.com/snipe/snipe-it
commit 0fd232e70d
Author: snipe <snipe@snipe.net >
Date: Mon May 11 17:53:24 2020 -0700
Fixed group functional test
(We had changed the minimum to 2 instead of 3)
Signed-off-by: snipe <snipe@snipe.net >
commit ee4d69b1c5
Merge: 31c535094 d1ad11194
Author: snipe <snipe@snipe.net >
Date: Mon May 11 17:52:45 2020 -0700
Merge pull request #8041 from alek13/patch-1
use supported package for slack
commit d1ad111949
Author: Alexander Chibrikin <alek13.me@gmail.com >
Date: Mon May 11 20:31:13 2020 +0300
use supported package for slack
see https://github.com/maknz/slack/issues/94
commit 31c5350941
Author: snipe <snipe@snipe.net >
Date: Fri May 1 01:05:48 2020 -0700
Fixed incorrect route for groups edit
Signed-off-by: snipe <snipe@snipe.net >
commit 7eb70e17e0
Merge: 5bb4f271a 3dfcb4699
Author: snipe <snipe@snipe.net >
Date: Fri Apr 24 04:50:37 2020 -0700
Merge pull request #7993 from snipe/fixes/7989_column_selector
Fixed #7989 - Converted table heading icons in People to CSS glyphs
commit 3dfcb46991
Author: snipe <snipe@snipe.net >
Date: Fri Apr 24 04:41:08 2020 -0700
Minor formatting changes
Signed-off-by: snipe <snipe@snipe.net >
commit 96eb96f964
Author: snipe <snipe@snipe.net >
Date: Fri Apr 24 04:27:00 2020 -0700
Removed stray val (typo)
Signed-off-by: snipe <snipe@snipe.net >
commit a2f08bd3ba
Author: snipe <snipe@snipe.net >
Date: Fri Apr 24 04:08:54 2020 -0700
Added comments
Signed-off-by: snipe <snipe@snipe.net >
commit e009fbe59f
Author: snipe <snipe@snipe.net >
Date: Fri Apr 24 04:04:53 2020 -0700
Converted table heading icons in People to CSS glyphs
Signed-off-by: snipe <snipe@snipe.net >
commit 5bb4f271aa
Author: snipe <snipe@snipe.net >
Date: Fri Apr 24 00:47:19 2020 -0700
Fixed #7987 - allow toggle of required/optional in custom fields/fieldsets
Signed-off-by: snipe <snipe@snipe.net >
2020-08-31 12:17:19 -07:00
snipe
e321aeabae
Merge branch 'master' into integrations/2020-08-31-v5-rc
...
# Conflicts:
# .all-contributorsrc
# .nvmrc
# README.md
# app/Console/Commands/LdapSync.php
# app/Http/Controllers/Api/ConsumablesController.php
# app/Http/Controllers/Api/ImportController.php
# app/Http/Controllers/Assets/AssetsController.php
# app/Http/Controllers/Auth/LoginController.php
# app/Http/Controllers/CustomFieldsetsController.php
# app/Http/Controllers/LicensesController.php
# app/Http/Controllers/UsersController.php
# app/Importer/import_mappings.md
# app/Models/Ldap.php
# app/Models/Loggable.php
# composer.json
# composer.lock
# config/version.php
# public/css/build/all.css
# public/css/dist/all.css
# public/css/skins/skin-contrast.css
# public/css/skins/skin-contrast.css.map
# public/js/build/all.js
# public/js/build/vue.js
# public/js/build/vue.js.map
# public/js/dist/all.js
# public/mix-manifest.json
# resources/assets/js/components/importer/importer-file.vue
# resources/assets/less/overrides.less
# resources/macros/macros.php
# resources/views/custom_fields/fieldsets/view.blade.php
# resources/views/hardware/edit.blade.php
# resources/views/hardware/labels.blade.php
# resources/views/hardware/view.blade.php
# resources/views/layouts/default.blade.php
# resources/views/modals/model.blade.php
# resources/views/modals/user.blade.php
# resources/views/users/index.blade.php
# routes/api.php
# routes/web/fields.php
# tests/unit/UserTest.php
2020-08-31 12:14:44 -07:00
snipe
8ec99ff433
Merge pull request #8374 from snipe/fixes/moar_flysystem
...
WIP - More Flysystem fixes
2020-08-31 09:45:27 -07:00
snipe
f2c60d055b
Updated docblock
2020-08-28 18:22:57 -07:00
snipe
e1cc003cec
Fixed backup urls for download
2020-08-28 18:22:37 -07:00
snipe
5aaa2430b4
Fixes for backups
2020-08-28 14:10:43 -07:00
snipe
bc5a82e734
Small fixed for file mover artisan command
2020-08-28 14:10:28 -07:00
snipe
f83acf8378
Merge pull request #8383 from Godmartinz/develop
...
removed a duplicate date format in the settings.
2020-08-27 14:35:00 -07:00
Godfrey M
242af2c90b
removed a duplicate date format in the settings.
2020-08-27 12:58:44 -07:00
snipe
fdafaf2802
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2020-08-26 13:40:10 -07:00
snipe
9ba290e507
Add @jbiel as a contributor
2020-08-26 13:39:53 -07:00
snipe
9f5669e70a
Merge pull request #8373 from snipe/tweak_v5_ldap_migration
...
Tweak v5 ldap migration for backwards-compatibility with working pre-v5 Active Directory setups
2020-08-26 13:34:25 -07:00
snipe
c23e28d0df
Merge pull request #8372 from snipe/fix_adldap_sync
...
Fix adldap sync
2020-08-26 13:34:07 -07:00
snipe
5abd85003c
Merge pull request #8371 from snipe/bushelpowered-develop
...
Fixed #7919 - LDAP Logins + query filters
2020-08-26 13:33:41 -07:00
Brady Wetherington
14da328dea
Remove extraneous log line
2020-08-26 13:10:47 -07:00
Brady Wetherington
6e9f36be58
Update ad_append_domain setting for backwards-compatibility with v4 and earlier
2020-08-26 13:09:32 -07:00
Brady Wetherington
67a1d2fa5f
Remove hardcoding of LDAP Auth query to 'uid=', use setting instead
2020-08-26 12:25:10 -07:00
snipe
24be73f76b
Use image handling request for logo uploads
2020-08-26 12:17:50 -07:00
snipe
a86dc52695
Added fieldname to file name for better clarity on setting logos
2020-08-26 12:17:36 -07:00
snipe
1ff7e6b834
Use Storage facade for user presenter
2020-08-26 12:17:18 -07:00
snipe
fa2dfc3e87
Use updated request signature for models
2020-08-26 11:59:30 -07:00
snipe
d25a05d748
Misc Flysystem/image upload request fixes
2020-08-26 11:53:36 -07:00
snipe
139c874308
Fixed delete old image on upload
2020-08-26 02:48:07 -07:00
snipe
db385b5f6b
Fixed assetmodels selectlist
2020-08-26 02:32:39 -07:00
snipe
f385f3e928
Fixed user image upload
...
TODO: We should probably rename the avatar field on the user’s table, to make it more consistent with the other model images
2020-08-26 02:30:23 -07:00
snipe
de21f00771
Fixed assetmodels upload
2020-08-26 02:29:37 -07:00
snipe
37568ae9ec
Merge pull request #8365 from snipe/fixes/8338_google_maps_CSP
...
Fixed #8338 - Added google maps to CSP
2020-08-25 20:49:37 -07:00
snipe
32ad9050cf
Added google maps to CSP
2020-08-25 20:48:53 -07:00
snipe
01a832169c
Merge pull request #8364 from snipe/fixes/8335_assigned_to_null_on_status_assetlist
...
Fixed #8335 - added assignedTo scope on status labels API call for assetlist
2020-08-25 20:38:31 -07:00
snipe
3c6883489c
Added assignedTo scope
2020-08-25 20:37:30 -07:00
Brady Wetherington
6c23e881c7
Merge branch 'develop' of https://github.com/bushelpowered/snipe-it into bushelpowered-develop
2020-08-24 21:42:04 -07:00
Brady Wetherington
b721a977c0
Fix PHP 7.4 deprecation warnings in ldap-sync script.
2020-08-24 21:35:00 -07:00
snipe
53c46ac8de
Fixed stupid import layouts
2020-08-24 21:15:46 -07:00
snipe
3cba174dfb
Merge pull request #8359 from snipe/fixes/misc_flysystem_fixes
...
Misc flysystem fixes
2020-08-24 19:28:40 -07:00
snipe
a90d2ba077
Fixed suppliers upload
2020-08-24 18:53:33 -07:00
snipe
e5dd6035b9
Fixed the other upload handleUploads signatures
2020-08-24 18:32:40 -07:00
snipe
66686f8080
Added some debugging - will remove at RC
2020-08-24 18:32:15 -07:00
snipe
041fc20955
Fixed Companies and Categories uploads
2020-08-24 15:43:11 -07:00
snipe
b97ff4e907
Fixed Depts uploads
2020-08-24 15:10:26 -07:00
snipe
232e3f30aa
Fixed accessories “current image” path in edit form
2020-08-24 14:30:55 -07:00
snipe
5aeac3c9e0
Fixed parse error
2020-08-24 14:30:43 -07:00
snipe
0658f17359
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2020-08-24 12:37:40 -07:00
snipe
bcad49ce79
Try to better handle slack “too many requests” issue
2020-08-14 16:10:22 -07:00
snipe
b5acca89d7
Check for admin for slack notifications
2020-08-14 16:02:15 -07:00
snipe
e52919cf1b
Merge pull request #8327 from snipe/features/checkin_license_from_all_users
...
Checkin license from all users cli tool
2020-08-14 15:35:15 -07:00
snipe
29f3a5c48f
Use more verbose annotation for Auth::user if/else
2020-08-14 15:27:40 -07:00
snipe
134e8e6fb9
Moved user email nulling until after the save
2020-08-14 15:25:07 -07:00
Brady Wetherington
714576be45
Merge pull request #8328 from snipe/fix_deprecation_report
...
Fix deprecation report for customers with many active assets
2020-08-14 15:24:03 -07:00
Brady Wetherington
fa291beaeb
Merge pull request #8329 from snipe/fix_depreciation_report_v5
...
Fix deprecation report for customers with many active assets
2020-08-14 15:23:49 -07:00
Brady Wetherington
4b7f6a95e3
Fix deprecation report for customers with many active assets
2020-08-14 15:07:59 -07:00
Brady Wetherington
5128992940
Fix deprecation report for customers with many active assets
2020-08-14 15:03:03 -07:00
snipe
0291323502
Use the user as the target
2020-08-14 14:57:58 -07:00
Brady Wetherington
262a964760
[WIP] fix ldap-sync for v5 with AdLdap2
2020-08-14 14:45:05 -07:00
snipe
e0f6f9b839
Artisan command to check in licenses from all users
2020-08-14 14:43:37 -07:00
snipe
f1a6308002
Check for Auth::user before trying to log id (for cli)
2020-08-14 14:43:07 -07:00
Michael Pietsch
4f5374b2e8
enable use custom file based saml certificate/private key
2020-08-14 12:25:00 +02:00
snipe
19d8d7b146
Updated components and consumables to use storage facade
2020-08-12 13:02:54 -07:00
snipe
b999c50a2e
Merge pull request #8316 from Godmartinz/bug/ch15028/missing-or-incorrect-error-message-translation
...
Looks great, thank you!
2020-08-12 12:37:47 -07:00
Godfrey M
e3906b245c
added translation for admin/licenses/message.not_found
2020-08-12 12:27:18 -07:00
Brady Wetherington
9ca20e4964
Merge pull request #8313 from snipe/improve_ldap_search_error_reporting
...
Improve ldap search error reporting
2020-08-11 17:33:19 -07:00
Brady Wetherington
456a74d88c
De-merge out incorrectly merged files. Whoops!
2020-08-11 16:41:20 -07:00
Brady Wetherington
799c059070
Add internationalized version of LDAP error message
2020-08-11 16:39:02 -07:00
Brady Wetherington
c62d43a778
Improve Exception management in Artisan LDAP Sync method. Still need to localize this better
2020-08-11 16:39:02 -07:00
Brady Wetherington
b725bd0fae
Add @PeterUpfold as a contributor
2020-08-11 16:39:02 -07:00
snipe
09190e05ae
Add @PeterUpfold as a contributor
2020-08-10 17:24:20 -07:00
Brady Wetherington
e0644dbbf6
Merge pull request #8105 from PeterUpfold/PeterUpfold-7661workaround
...
Propose workaround for #7661 — suppress E_DEPRECATED on ldap_control_paged_result()
2020-08-10 17:22:31 -07:00
snipe
5b6925b00c
Removed debugging :(
2020-08-04 21:00:37 -07:00
snipe
df17a859bf
Changed modal IDs so manager creation modal works on user creation main page
2020-08-04 20:59:54 -07:00
snipe
24c43056ba
Moved pGenerator script to default layout footer
...
This fixes an issue where the password generator wouldn’t load in a modal in Chrome
2020-08-04 20:58:28 -07:00
snipe
4e0a9c7a94
Fart fix
...
I just…. don’t ask.
2020-08-03 12:35:34 -07:00
snipe
6a089f86f8
Fixed pathing for accessories
2020-08-03 11:17:56 -07:00
snipe
606b7e905d
Small edits to PR template
...
Slight text changes to ask specifics about versions
2020-07-31 17:02:33 -07:00
snipe
d73ddad477
Created a PR template
...
First draft of the PR guidelines template
2020-07-31 16:59:26 -07:00
snipe
502b3c50a9
Fixed upload preview (fixed regression from #6736 )
...
This change appears to have been stomped on in one of the merges. :(
2020-07-31 14:36:50 -07:00
snipe
9a39cf721e
Merge pull request #8258 from ballertv/features/consumable-api
...
This looks great, thank you!
2020-07-31 12:18:49 -07:00
snipe
2bb5ac61a9
Add @sanjay900 as a contributor
2020-07-31 11:02:06 -07:00
snipe
3e62a6ea2d
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2020-07-31 11:01:35 -07:00
Brady Wetherington
7410b16835
Merge pull request #8270 from snipe/improve_ad_useraccountcontrol_v4
...
Add new useraccountcontrol value for valid AD users
2020-07-24 16:22:44 -07:00
andres
8994f3e15e
cleanup
2020-07-22 19:57:06 -04:00
andres
d23f1a77ca
implement checkout API
2020-07-22 19:56:31 -04:00
snipe
e955c983a3
Merge pull request #8250 from snipe/features/adds_addr_city_state_to_importer
...
Added address, city, state and country to importer and city to bulk editor
2020-07-22 13:43:29 -07:00
Brady Wetherington
b09e7d19b3
Add new useraccountcontrol value for valid AD users; document algorithm and values
2020-07-22 13:32:16 -07:00
snipe
2fa17ac185
Merge pull request #8254 from Godmartinz/gmartinez_adds_email_formats
...
Added firstinitial.lastname, lastname_firstinitial, firstnamelastname…
2020-07-22 12:06:31 -07:00
Godfrey Martinez
3b1e46f72b
Update general.php
2020-07-22 11:25:57 -07:00
Godfrey Martinez
0c1a1de2a2
Update general.php
...
fixed typo
2020-07-22 11:24:36 -07:00
Godfrey M
20c9ae5818
Added firstinitial.lastname, lastname_firstinitial, firstnamelastname and firstnamelastinitial to username formats
2020-07-22 10:21:19 -07:00
snipe
eed41e4549
Moved address down further, fixed broken HTML
2020-07-21 16:57:32 -07:00
snipe
b750f4754f
Added city to bulk user importer
2020-07-21 16:49:54 -07:00
snipe
c17a06792a
Added address, city, state, country to user importer
2020-07-21 16:49:38 -07:00
snipe
4f76cc6cfb
I don’t actually know what this file is for
2020-07-21 16:46:13 -07:00
snipe
b905154373
Fixed #8247 - added notes field to user details display
2020-07-20 14:29:32 -07:00
snipe
daf748e531
Bumped hash
2020-07-17 12:32:01 -07:00
snipe
799a93c46a
Allow for email/username search on users
2020-07-17 12:11:32 -07:00
snipe
34aa12e229
Merge pull request #8239 from snipe/fixes/api_rtd_to_location_on_create
...
Set location_id to rtd_location_id on asset creation
2020-07-16 17:44:13 -07:00
snipe
897757bd04
Removed added line for location
2020-07-16 17:43:44 -07:00
snipe
c7125c3937
Set location_id to rtd_location_id on asset creation
2020-07-16 16:34:39 -07:00
snipe
0238c88a3e
Merge pull request #8228 from snipe/fix_select2_ajax_pulldowns_v5
...
Fix Select2 'infinite scroll' drop-downs for Snipe-IT v5
2020-07-16 15:37:42 -07:00
Brady Wetherington
145dfe5847
Rebuild assets
2020-07-16 15:36:10 -07:00
Brady Wetherington
68263ff806
Changed selectlist results to be 'items' for internal consistency
2020-07-16 15:33:38 -07:00
snipe
81a6332889
Removed license ID from seats table cookie info
...
This typically wouldn’t be necessary, since most people would want to view the same *types* of data across licenses
2020-07-14 13:55:38 -07:00
snipe
6e563f6e4b
Merge branch 'master' of https://github.com/snipe/snipe-it
2020-07-13 21:16:54 -07:00
snipe
5320f5c67c
Disallow non-super users from editing their own permissions
2020-07-13 21:16:45 -07:00
snipe
7f69ae953b
Merge pull request #8227 from snipe/fix_select2_ajax_pulldowns
...
Changes how we do AJAX calls via Select2 for dynamic drop-down menus
2020-07-13 21:16:00 -07:00
Brady Wetherington
17f6fbabfa
Switch to 'items' to maintain compatbility with other internal API's
2020-07-13 21:12:03 -07:00
Brady Wetherington
318da67230
Fix Select2 'infinite scroll' drop-downs for Snipe-IT v5
2020-07-13 17:43:15 -07:00
snipe
c79f8c1baf
Merge pull request #8207 from EDVLeer/patch-1
...
Update snipeit.sh
2020-07-13 17:42:16 -07:00
Brady Wetherington
e7a820f7c9
Changes how we do AJAX calls via Select2 for dynamic drop-down menus
2020-07-13 17:14:31 -07:00
snipe
9c9fc2754c
Merge pull request #8226 from inietov/fixes/edit_asset_error_php74
...
Change the form input name for serials in the view
2020-07-13 12:59:28 -07:00
Ivan Nieto
8fd4529fad
Change the form input name for serials in the view
2020-07-13 13:49:21 -05:00
snipe
12c92e30b7
Show whether or not the user was imported via LDAP in the view page
2020-07-10 16:21:27 -07:00
snipe
5b02cfade4
Merge pull request #8220 from sean-borg/sean/expected-checkin-dates
...
This looks great, thanks!
2020-07-10 13:07:15 -07:00
snipe
fd10b755b0
Removed the sr-only tag in table headers
...
It was breaking Bootstrap Tables column selector :(
2020-07-10 11:30:01 -07:00
Sean Borg
567a9639f4
Enhanced #5762 Able to bulk edit expected checkin date
...
In light of the need to edit 500+ devices #5762 (comment)
I added the expected checkin date to the bulk edit page for assets
2020-07-10 19:21:34 +01:00
Sean Borg
7a433f8598
Updated purchase date format in hardware/bulkedit
...
The Purchase date box in hardware/bulkedit was a different style
to the normal hardware/{id}/edit
It also prevents a strange bug I see in firefox when clicking the old datepicker
it presented 2 datepicker boxes
2020-07-10 19:21:22 +01:00
Sean Borg
3d8823ede5
Added #5762 Modify expected checkin dates
...
It is now possible to edit expected checkin dates for assets in Actions > Edit Asset
2020-07-10 19:21:04 +01:00
snipe
dbbb7680d9
A few more fixes for the cli
...
Do not check out a piece of software if it’s already been checked out to the user
2020-07-09 21:12:50 -07:00
snipe
cf0dd5bbad
Small fixes for cli tool
2020-07-09 20:43:13 -07:00
snipe
25e53d8c7f
Merge pull request #8216 from snipe/features/checkout_license_to_all_users
...
Added CLI tool to checkout license to all users
2020-07-09 20:27:01 -07:00
snipe
89d433b41a
Removed duplicate seat call
2020-07-09 20:26:02 -07:00
snipe
e2570ada6f
CLI tool to checkout a license to ALL users
2020-07-09 20:04:05 -07:00
snipe
45afe725a1
Only try to get the company if there is an auth’d user
...
(Needed for command line tools, where no Auth::user() is present)
2020-07-09 20:03:47 -07:00
EDVLeer
536401fe0f
Update snipeit.sh
...
Ubuntu 20.04
2020-07-07 08:21:36 +02:00
snipe
ec6ed256fb
Bumped minor version
2020-07-06 18:45:43 -07:00
snipe
2aaa7bed2d
Merge pull request #8183 from snipe/features/merge_users
...
Added merge utility
2020-06-25 18:37:41 -07:00
snipe
cc9f1577a4
Removed unused use directives
2020-06-25 17:43:53 -07:00
snipe
ab1fe8be0c
Added merge utility
2020-06-25 17:42:39 -07:00
snipe
339bdddc38
Fix for Vue js not loading due to CSP :(
2020-06-25 11:00:33 -07:00
snipe
35b9cf4b70
Fixed missing db prefix on scopeDueOrOverdueForAudit
2020-06-23 02:41:59 -07:00
snipe
7ccb41371e
Removed unoptimized images directive
...
securityheaders.com is claiming it’s onrecognized, even though I got that directive from their site, so… whatever. ¯\_(ツ)_/¯
2020-06-23 01:09:39 -07:00
snipe
2e60a457bf
Dumb fix for feature-policy being dumb.
2020-06-23 01:07:00 -07:00
snipe
2390d2160b
Merge pull request #8164 from snipe/features/additional_security_headers
...
Additional security headers
2020-06-23 00:27:47 -07:00
snipe
00b051b8c7
Added a few more comments
2020-06-23 00:26:09 -07:00
snipe
05b3a9ad7e
Config variable for HSTS
2020-06-22 23:17:27 -07:00
snipe
4fb880384f
Changed comment
2020-06-22 22:37:14 -07:00
snipe
43042ad841
Consolidated ReferrerPolicy into new SecurityHeaders file
2020-06-22 22:35:59 -07:00
snipe
a716382ac4
Removed CSP middleware (it’s added in the general header)
2020-06-22 22:33:37 -07:00
snipe
36c8f7f4f1
Additional security headers
2020-06-22 22:31:01 -07:00
snipe
b42801f6ae
Merge pull request #8163 from snipe/fixes/fix-for-css-on-column-selector
...
Fixed weird padlock display in asset listing with encrypted custom fields
2020-06-22 20:47:35 -07:00
snipe
946129f206
Made quote style consistent
2020-06-22 20:45:20 -07:00
snipe
b941ef1e08
Pulled CSS font awesome styles out of the blade and into overrides.css
2020-06-22 20:41:40 -07:00
snipe
d1aa11ec89
Fix for weird padlock display in asset listing with encrypted custom fields
2020-06-22 20:29:19 -07:00
snipe
de4934f21d
Merge pull request #8162 from Godmartinz/godfreymartinez-ghi-font-size-of-qr_text
...
Fixed #8161 and #8114 - font-size for labels used static values in blade instead of using values from settings
2020-06-22 17:28:38 -07:00
Godfrey M
b10076b015
corrected an error where font-size for labels were static in settings.
2020-06-22 17:04:39 -07:00
snipe
af06e42056
Bumped version
2020-06-17 11:17:25 -07:00
snipe
9a2440dc4b
Merge pull request #8141 from snipe/fixes/better_handling_when_license_is_invalid
...
Better handle the logic to determine if we should display the license checkout blade [ch13792]
2020-06-16 20:20:07 -07:00
snipe
2ac1c1636c
Better handle the logic to determine if we should display the license checkout blade
2020-06-16 16:12:57 -07:00
snipe
a7eb89f6b6
Misc fixes for flysystem paths
2020-06-16 16:06:25 -07:00
Peter Upfold
004ecad059
Force suppress deprecation warning on ldap_control_paged_result()
2020-06-03 08:59:50 +01:00
snipe
1267c68f28
Removed barcodes from S3 uploader
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-28 19:56:18 -07:00
snipe
262eb79471
WIP - this needs refactoring
...
We have to use Storage::get() if the filesystem is local, since the method does a file_get_contents() and the file isn’t accessible via a URL since it’s private and doesn’t live on the web root. (We do this slightly differently than Laravel out of the box)
Signed-off-by: snipe <snipe@snipe.net >
2020-05-28 01:59:01 -07:00
snipe
7a785b4952
Updated a few flysystem settings
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-28 01:54:29 -07:00
snipe
beae8efb21
Merge pull request #8088 from Godmartinz/Label_Woes
...
Barcode resizing and text adjustment
2020-05-27 23:01:33 -07:00
snipe
3c0a6292c4
Clarified env example with flysystem examples
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-27 22:47:53 -07:00
snipe
8ccc1c6515
Fixed weird merge in Bulk Users Controller
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-27 22:46:42 -07:00
Godfrey M
9839e5e566
adjusted for all label text, removed local variable
2020-05-27 12:27:40 -07:00
snipe
d54acd908c
Made logo file have a better name for multiple tries in the same day
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-27 02:31:04 -07:00
snipe
42fe1ea398
Set public files specifically to public
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-27 02:30:43 -07:00
snipe
bb062b20a1
Switched env to public
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-27 02:30:30 -07:00
snipe
a93810e301
Updated example config
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-27 00:39:28 -07:00
snipe
d14ab7e3e1
Porting change from #8053 to master
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-27 00:22:44 -07:00
snipe
f137c1ca09
Merge pull request #8044 from snipe/flysystem_tweaks
...
Tweak to Flysystem's filesystems.php to make it work with Snipe-IT
2020-05-27 00:22:28 -07:00
snipe
f196b5bd94
Merge pull request #8077 from dmeltzer/more-paving
...
Sync paveit command with new database tables.
2020-05-26 21:18:22 -07:00
snipe
e0d9cc4e73
Merge pull request #8053 from CharlotteDunoisLabs/fix-gravatar
...
Take gravatar email into account in presenter
2020-05-26 19:58:45 -07:00
snipe
5b4e4c8dcd
Merge pull request #8061 from Godmartinz/develop
...
fixed a table header error
2020-05-26 19:52:14 -07:00
snipe
dee1f5ec35
Merge pull request #8078 from dmeltzer/wrong-id
...
Fix incorrectly named parameter.
2020-05-26 19:51:38 -07:00
snipe
850bfc40d4
Merge pull request #8079 from dmeltzer/misc-fixes
...
Misc fixes
2020-05-26 19:50:39 -07:00
Godfrey M
e7f74d94c1
Label_Woes
2020-05-26 17:22:45 -07:00
Godfrey M
e97cf011b6
Label_Woes
2020-05-26 17:15:39 -07:00
Godfrey M
ed23505054
Label_Woes
2020-05-26 17:10:45 -07:00
Daniel Meltzer
b3fe47bfa7
Remove/Reorganize logic to make codacy happier.
2020-05-23 15:24:10 -04:00
Daniel Meltzer
1e5d40f32e
Clean up extra code in notifications files.
2020-05-23 15:24:10 -04:00
Daniel Meltzer
f0546bf689
Clean up Transformers and extract an isDeletable() method to models where it makes sense.
2020-05-23 15:24:10 -04:00
Daniel Meltzer
136df9418f
Deadcode--
2020-05-23 15:24:10 -04:00
Daniel Meltzer
7ea862787c
Refactor controller to use one method that shows all modals based on name.
2020-05-23 15:24:00 -04:00
Daniel Meltzer
25d6ceee6e
Remove old code.
2020-05-23 12:18:27 -04:00
Daniel Meltzer
4fef065010
Refactor big switch to lookup in array. A bit cleaner/codacy happier.
2020-05-23 12:17:56 -04:00
Daniel Meltzer
fe74394ae6
Short circuit checkout logic to prevent iterating if we're not checking out to an asset
2020-05-23 11:48:02 -04:00
Daniel Meltzer
7a76cb08a0
We accept xlsx in uploads
2020-05-23 11:36:47 -04:00
Daniel Meltzer
c70bd62a0f
Missing includes. Fix by using the request object instead of facade.
2020-05-23 11:36:16 -04:00
Daniel Meltzer
ad1db2c640
Fix incorrectly named parameter.
2020-05-23 10:26:56 -04:00
Daniel Meltzer
2e936a9883
Sync paveit command with new database tables.
2020-05-23 09:08:32 -04:00
snipe
3db4480bba
Merge pull request #8062 from dmeltzer/fix-modal-select-html
...
Fix Missing Category selection in Asset Model Modal dialog.
2020-05-20 10:24:20 -07:00
snipe
001e721530
Merge pull request #8063 from dmeltzer/backport-8092
...
BACKPORT: Fix Missing Category selection in Asset Model Modal dialog - [ch14635]
2020-05-20 10:21:52 -07:00
Daniel Meltzer
8210da6e82
Fix Missing Category selection in Asset Model Modal dialog.
...
A select html tag needs a full closing tag. is not valid. This was causing the select2 js to barf and eat additional information.
2020-05-20 10:29:27 -04:00
Daniel Meltzer
6a80f95769
Fix Missing Category selection in Asset Model Modal dialog.
...
A select html tag needs a full closing tag. <select /> is not valid.
This was causing the select2 js to barf and eat additional information.
2020-05-20 10:23:04 -04:00
Godfrey M
edd4797178
fixed a table header error
2020-05-19 16:59:09 -07:00
snipe
f88683766b
Roll back previous change
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-14 00:55:47 -07:00
snipe
e4385c0f8c
Fixes #8051 regression
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-14 00:48:30 -07:00
Charlotte Dunois
7f8c6fe282
Take gravatar email into account in presenter
2020-05-13 20:30:47 +02:00
snipe
8cc9e61983
Ugh
...
Sorry, my local testing environment is fscked right now :(
Signed-off-by: snipe <snipe@snipe.net >
2020-05-12 20:38:32 -07:00
snipe
c5560e466e
Removed fieldset from test
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-12 20:17:35 -07:00
snipe
157a2ee869
Merge pull request #8048 from dmeltzer/license-importer-checkout-fix
...
License importer checkout fixes
2020-05-12 13:51:36 -07:00
snipe
de7ee40863
Fixed failing test
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-12 11:52:08 -07:00
Daniel Meltzer
a6f90cb3fc
Assorted licenses UI fixes while testing.
...
* Rename licenses route checkin parameter to clarify it's purpose and
fix incorrect route in users view page.
* Checkin note can be nullable for checking in a license.
* License Seat view was only showing 20 license seats due to faulty
transformer logic.
2020-05-12 14:38:21 -04:00
Daniel Meltzer
1321304720
Importer UI: Removed misleading checked out to field. Add full name and asset tag fields to licenses.
2020-05-12 14:38:21 -04:00
Daniel Meltzer
e4888b23e2
Save User ID when checking out a license. Also buff up importing tests to confirm license can be checked out.
2020-05-12 14:38:20 -04:00
snipe
274f82893f
Regenerate session ID on logout
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-12 10:38:00 -07:00
snipe
0550fe0ffa
Fix for session fixation vulnerability
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-12 10:31:54 -07:00
snipe
730632e2eb
Apply PR #8043 to develop
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-11 22:57:55 -07:00
snipe
7fb3a9b82c
Merge pull request #8043 from snipe/features/backup-optional-in-import-and-ldap
...
Added option to disable backup in import
2020-05-11 22:41:36 -07:00
Brady Wetherington
b03f8a2425
Tweak to Flysystem's filesystems.php to make it work with Snipe-IT
2020-05-11 21:41:56 -07:00
snipe
ecb1e87fe6
Updated assets
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-11 20:45:15 -07:00
snipe
f43df5f041
Fixed form label
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-11 20:44:46 -07:00
snipe
95cc48e422
Added option to disable backup in import
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-11 20:41:10 -07:00
snipe
9a2ed804ca
Fixed mismatched HTML header tags
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-11 20:28:42 -07:00
snipe
d20fad28e5
Use more modern request helper
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-11 20:28:24 -07:00
snipe
ae813ddf75
Add @alek13 as a contributor
2020-05-11 18:11:16 -07:00
snipe
bb42109c0c
Added a clarifying comment
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-11 18:10:45 -07:00
snipe
f46ecf8ec0
Updated composer lock
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-11 18:07:20 -07:00
snipe
b9e821c0e6
Small fix for Group Functional Tests
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-11 18:07:14 -07:00
snipe
9ee28c7513
Switched to use info instead of danger on undeployable statuses
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-11 18:07:02 -07:00
snipe
1a8ba06702
Merge branch 'master' of https://github.com/snipe/snipe-it
2020-05-11 17:53:32 -07:00
snipe
0fd232e70d
Fixed group functional test
...
(We had changed the minimum to 2 instead of 3)
Signed-off-by: snipe <snipe@snipe.net >
2020-05-11 17:53:24 -07:00
snipe
ee4d69b1c5
Merge pull request #8041 from alek13/patch-1
...
use supported package for slack
2020-05-11 17:52:45 -07:00
snipe
d22be8ee0e
Merge pull request #8036 from johnson-yi/features/saml_auth
...
Additional updates/fixes for saml
2020-05-11 17:04:37 -07:00
Alexander Chibrikin
d1ad111949
use supported package for slack
...
see https://github.com/maknz/slack/issues/94
2020-05-11 20:31:13 +03:00
Johnson Yi
572185ac96
Revised how saml sp info is displayed
2020-05-09 09:44:51 +10:00
Johnson Yi
3d8fce50d0
Removed unnecessary default saml settings
2020-05-09 01:51:48 +10:00
snipe
6018a9c6ee
Add @johnson-yi as a contributor
2020-05-06 19:21:56 -07:00
snipe
c3d8024e1f
Merge pull request #8023 from johnson-yi/features/saml_auth
...
Added #542 : add saml authentication
2020-05-06 17:28:30 -07:00
Johnson Yi
c1c37d521c
Allow downloading sp metadata without idp
2020-05-06 19:50:50 +10:00
Johnson Yi
b2930d6069
Added #542 : add saml authentication
2020-05-06 00:06:19 +10:00
snipe
8ecb7969df
Fixed incorrect route for saving groups
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-01 01:26:15 -07:00
snipe
31c5350941
Fixed incorrect route for groups edit
...
Signed-off-by: snipe <snipe@snipe.net >
2020-05-01 01:05:48 -07:00
snipe
85712a1960
Only override fieldset_id with custom_fieldset_id if it’s present
...
This is mostly to support prior versions. I have NFC why we did this in the first place. I’m sure I had a stellar reason, but couldn’t tell you what it is today.
Signed-off-by: snipe <snipe@snipe.net >
2020-04-30 20:59:42 -07:00
snipe
e9cb17394c
Small validation fix on reset password
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-30 19:10:07 -07:00
snipe
8507bcd16b
Merge pull request #8008 from dmeltzer/component-checkinout-fixes
...
Component checkout/checkin fixes.
2020-04-30 17:49:22 -07:00
snipe
e47c44d055
Merge pull request #8007 from dmeltzer/permissions-form-cleanup
...
Permissions edit cleanups.
2020-04-30 17:48:24 -07:00
snipe
b488cffc7e
Merge pull request #8006 from dmeltzer/api-test-fixes
...
Test fixes pt 2.
2020-04-30 17:46:25 -07:00
snipe
8bb3c01f78
Addressed merge issue for reset password for #7997
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-30 17:45:05 -07:00
snipe
82e02490fd
Removed duplicate update method (per #7997 )
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-30 17:23:56 -07:00
Daniel Meltzer
bfba30058c
Fix incorrect routing.
2020-04-30 10:35:26 -04:00
Daniel Meltzer
debdccf5f1
Remove old help text translation that doesn't exist any more
2020-04-30 10:35:11 -04:00
Daniel Meltzer
441049d8ac
Sort license seats by their number only, making the sort order more logical
2020-04-30 10:34:30 -04:00
Daniel Meltzer
b28a4f3108
Add component unit test and unify some validation.
2020-04-30 09:50:12 -04:00
Daniel Meltzer
68224757f4
Validate when editing the quantity of a component that the new quantity is > the amount checked out
2020-04-29 13:25:04 -04:00
Daniel Meltzer
358609720a
Component checkout/checkin fixes.
...
- Provide proper translated messages for checkin vs checkout
- Pass appropriate methods to the Checkout event, fixes an error on
checkin.
- Default to a value of 1 on checkin in UI to save a click sometimes.
2020-04-29 12:50:09 -04:00
Daniel Meltzer
42e1e9a0bd
Permissions edit cleanups.
...
- Make each section of permissions it's own tbody for better styling
- Remove extra separators when theres nothing to separate
- Vertically center radio buttons in header rows.
Still on the ideal list:
- Unify code between users and groups into one partial with
conditionals.
- Sticky header row or put the header row in each section.
2020-04-29 12:33:50 -04:00
Daniel Meltzer
1f8c3cc670
Test fixes.
2020-04-29 11:03:07 -04:00
Daniel Meltzer
f8d18a8eb0
Revert asset-checkout-different validation.
...
This was causing issues when trying to check an item out to a user or a
location because of the way laravel handles validation.
Instead, rely on the exception check we had in the controller. I moved
this exception up to the model checkout method so that it would work
for anywhere that that method was called, even if it avoided the
controller.
2020-04-29 10:59:00 -04:00
snipe
c34650458f
Merge pull request #8003 from dmeltzer/test-fixes
...
Test fixes
2020-04-28 16:33:51 -07:00
Daniel Meltzer
c65b8f97bb
Laravel 6 drops support for php7.1, add php7.4 instead.
2020-04-28 12:16:37 -04:00
Daniel Meltzer
61a216a531
Rearrange seeder order so that users validate properly on first seed run. This hopefully fixes the actionlog seeder error.
2020-04-28 12:14:23 -04:00
Daniel Meltzer
3e7fbb02b7
Notes and style cleanups
2020-04-28 11:44:17 -04:00
Daniel Meltzer
9520ccae47
Unit test fix. Cleaner this way.
2020-04-28 11:39:53 -04:00
Daniel Meltzer
05187eb27f
Fix Functional Tests.
2020-04-28 11:39:53 -04:00
Daniel Meltzer
bb50828ca0
Remove General serial field now that the serial is part of the multi asset creation.
2020-04-28 11:39:53 -04:00
Daniel Meltzer
c74b904f14
Fix Location parent different validation on new location creation.
2020-04-28 11:39:52 -04:00
Daniel Meltzer
82de51f23e
Some unittest fixes for local running adapting to various factory changes.
2020-04-28 11:39:52 -04:00
snipe
c2f1fd4942
Make user form a little nicer looking
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-28 00:01:47 -07:00
snipe
412caebf69
Fixed logo uploads
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-27 23:22:52 -07:00
snipe
3613da3685
Fixed dashboard boxes
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-27 23:05:04 -07:00
snipe
b433b49469
Ficing webpack, CSS and JS (*whew* that sucked)
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-27 22:41:33 -07:00
snipe
72a1616b3c
Removed wonky assets
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-27 21:02:42 -07:00
snipe
f172747495
Handle parse error in custom fields edit per #7997
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-27 19:36:07 -07:00
snipe
6427f46a6b
Removed mix (switched to url()) for now until assets are fixed
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-27 19:35:21 -07:00
snipe
b76b97d89b
Fix path in seeder
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-27 18:17:44 -07:00
snipe
6847a331a7
Backport the column icon fix from master
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-24 05:55:38 -07:00
snipe
7eb70e17e0
Merge pull request #7993 from snipe/fixes/7989_column_selector
...
Fixed #7989 - Converted table heading icons in People to CSS glyphs
2020-04-24 04:50:37 -07:00
snipe
3dfcb46991
Minor formatting changes
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-24 04:41:08 -07:00
snipe
96eb96f964
Removed stray val (typo)
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-24 04:27:00 -07:00
snipe
a2f08bd3ba
Added comments
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-24 04:08:54 -07:00
snipe
e009fbe59f
Converted table heading icons in People to CSS glyphs
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-24 04:04:53 -07:00
snipe
5bb4f271aa
Fixed #7987 - allow toggle of required/optional in custom fields/fieldsets
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-24 00:47:19 -07:00
snipe
bea3a7b982
Fixed #7987 - allow toggle of required/optional in custom fields/fieldsets
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-24 00:39:32 -07:00
snipe
88d39b4287
Updated generated assets
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-23 22:46:41 -07:00
snipe
f66ce02756
Added debugging logs
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-23 22:46:02 -07:00
snipe
c7b300a50d
Updated LDAP sync controller to use new Adldap2 connections
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-23 22:45:44 -07:00
snipe
44962d1eb9
Switched to use Primary button
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-23 22:44:48 -07:00
snipe
e69461d797
Cleaned up LDAP sync blade
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-23 22:44:28 -07:00
snipe
796e693dda
Removed duplicate signature padd css files
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-23 22:44:17 -07:00
snipe
c9ed205bb0
Added @throws to documentation
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-23 14:41:37 -07:00
snipe
b01e8720dc
Fixed ldap settings JS error
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-23 14:41:20 -07:00
snipe
e9135eceb3
Better json formatting
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-22 11:16:31 -07:00
snipe
c50b81ff19
Added resources
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-22 07:15:24 -07:00
snipe
b5cc845216
Removed vendor.js from setup blade
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-22 07:15:12 -07:00
snipe
599cf23d63
Added icheck icons to resources
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-22 07:14:23 -07:00
snipe
b0d848caec
Updated wedbpack to only pull from resources or node_modules
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-22 07:13:32 -07:00
snipe
94e8343f63
Generated skins in css/dist/skins
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-22 07:13:09 -07:00
snipe
cdd0e405be
Fixed weird merge
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-22 07:12:29 -07:00
snipe
eb8c20880a
Updated package.json
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-22 07:12:12 -07:00
snipe
af6dc0068b
Updated node, set min requirement
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-22 07:12:00 -07:00
snipe
a160da6619
Removed unused styles
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-22 07:11:38 -07:00
snipe
3435485a46
Updated path to skin css
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-22 06:41:19 -07:00
snipe
3a446e6396
Updated variables.less with additional values
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-22 06:40:27 -07:00
snipe
b725e788ec
Applied new selectlist search to locations
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-22 06:39:41 -07:00
snipe
fa5134603f
Added type casting and a few more validation rules
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-22 06:37:40 -07:00
snipe
a44d1cc0cf
Fixed iCheck
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-22 06:02:55 -07:00
snipe
69a1732245
Removed duplicate form request in asset models controller
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-22 03:51:10 -07:00
snipe
7e9e5214ef
Fixed status label create error
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-22 03:50:43 -07:00
snipe
e1784394b3
Moved js, skins and primary CSS into dist directory
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-22 03:39:42 -07:00
snipe
edc29bf6d5
Moved font-awesome fonts to make life easier
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-22 03:33:14 -07:00
snipe
6103524ebc
Moved skins into css/dist directory
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-22 03:32:52 -07:00
snipe
2db527f4d2
Removed CSS skins (these are generated in the css dir)
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-22 03:27:51 -07:00
snipe
60851c2eb2
Fixed AssetsController namespace in route
...
Signed-off-by: snipe <snipe@snipe.net >
2020-04-22 03:15:54 -07:00
snipe
905fb09c5b
Removed unused light skins
2020-04-22 01:56:22 -07:00
snipe
82b6d2b31b
Fixed a few more tests
2020-04-21 21:13:00 -07:00
snipe
c5e587f33b
Added codeception testing modules for —dev
2020-04-21 20:15:45 -07:00
snipe
7a33e335d4
Fixes PSR autoloading issue
2020-04-21 20:15:24 -07:00
snipe
bbc2ac2f9d
Updated tests with new location.id!=location.parent_id rule
2020-04-21 19:51:42 -07:00
snipe
c02adace61
Ensure at the model level that location.id/user.id and location.parent_id/user.manager_id cannot be the same
2020-04-21 19:51:20 -07:00
snipe
5dc64ea91b
Re-added EasySlugger to fix tests
2020-04-21 19:28:24 -07:00
snipe
1c5486e588
Updated test method for newer codeception from assertContains to assertStringContainsString
2020-04-21 19:28:06 -07:00
snipe
05e9861b71
Checkin/checkout fixes
2020-04-21 11:28:31 -07:00
snipe
cff2a65f62
Fixed broken if/else in view from bad merge
2020-04-21 11:13:29 -07:00
snipe
7a6ca5cb40
Tempt fix for css weirdness
...
TODO: figure out why overrides isn’t being compiled into css/dist/all.css
2020-04-21 11:03:32 -07:00
snipe
63259418b2
Package updates
2020-04-21 10:43:25 -07:00
snipe
1d8c3a73ea
Use non-min version of skin until we can get the other webpack stuff sorted
2020-04-21 10:43:04 -07:00
snipe
e786ef8290
Pull branding back to develop normal
2020-04-21 10:42:37 -07:00
snipe
64b0dbdafe
Fixed mismatched html tag
2020-04-21 10:42:09 -07:00
snipe
381d2369b6
Updated CSS assets
2020-04-21 06:33:44 -07:00
snipe
29b05d2020
Fixed syntax error in image upload request from mangled merge
2020-04-21 06:29:57 -07:00
snipe
c38bbfc8bd
Removed title from more info link
2020-04-21 06:29:34 -07:00
snipe
be446eedb0
Updated html styles on settings index
2020-04-21 06:29:08 -07:00
snipe
dc6e329d96
Fixed name in comments
2020-04-21 06:18:24 -07:00
snipe
72b3228d82
Fixed HTML tags
2020-04-21 06:15:31 -07:00
snipe
f6446bae79
Bumped vendor libraries
2020-04-21 04:34:11 -07:00
snipe
aaaf5f8b42
Missed a mismatched h2
2020-04-21 04:23:53 -07:00
snipe
4fe32e1c9c
Fixed broken h2 tag
2020-04-21 04:22:09 -07:00
snipe
066e5588b5
Fixed slugging in custom fields to no longer use old library
2020-04-21 04:14:23 -07:00
snipe
c17106d1b3
Fixes for settings controller
2020-04-21 04:08:25 -07:00
snipe
cb71bcc4af
Switch to old() helper
2020-04-21 03:58:31 -07:00
snipe
58f6b2da5a
Fixing assets
2020-04-21 03:42:35 -07:00
snipe
b670371e0b
Ugggh… fixing a donked merge
2020-04-21 03:30:21 -07:00
snipe
f532e9b462
Fixing assets :(
...
Not sure what happened in tbis merge exactly
2020-04-21 03:07:11 -07:00
snipe
3cb4672ffe
Updated composer
2020-04-21 02:47:12 -07:00
snipe
87464e6ec0
Merge branch 'develop' into integrations/2020-04-15-v5-merge
...
# Conflicts:
# README.md
# app/Http/Controllers/AccessoriesController.php
# app/Http/Controllers/Api/AssetsController.php
# app/Http/Controllers/Api/LicensesController.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/AssetsController.php
# app/Http/Controllers/Auth/ForgotPasswordController.php
# app/Http/Controllers/CategoriesController.php
# app/Http/Controllers/CompaniesController.php
# app/Http/Controllers/ComponentsController.php
# app/Http/Controllers/ConsumablesController.php
# app/Http/Controllers/CustomFieldsetsController.php
# app/Http/Controllers/DepartmentsController.php
# app/Http/Controllers/LicensesController.php
# app/Http/Controllers/LocationsController.php
# app/Http/Controllers/ManufacturersController.php
# app/Http/Controllers/SettingsController.php
# app/Http/Controllers/SuppliersController.php
# app/Http/Controllers/UsersController.php
# app/Http/Requests/AssetRequest.php
# app/Http/Requests/ImageUploadRequest.php
# app/Models/LicenseSeat.php
# app/Models/Location.php
# app/Models/Setting.php
# composer.json
# composer.lock
# config/database.php
# config/version.php
# npm-shrinkwrap.json
# package.json
# public/css/AdminLTE.css
# public/css/AdminLTE.css.map
# public/css/overrides.css
# public/css/overrides.css.map
# public/css/skins/skin-blue-light.css
# public/css/skins/skin-blue.css
# public/css/skins/skin-green-dark.min.css
# public/js/app.js
# public/js/bootstrap-table.js
# public/js/bootstrap/js/bootstrap.js
# public/js/bootstrap/js/bootstrap.min.js
# public/js/build/all.js
# public/js/build/vue.js
# public/js/build/vue.js.map
# public/js/demo.js
# public/js/ekko-lightbox.js
# public/js/ekko-lightbox.min.js
# public/js/extensions/export/bootstrap-table-export.js
# public/js/extensions/multiple-sort/bootstrap-table-multiple-sort.js
# public/js/extensions/multiple-sort/bootstrap-table-multiple-sort.min.js
# public/js/extensions/toolbar/bootstrap-table-toolbar.min.js
# public/js/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.js
# public/js/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js
# public/js/plugins/timepicker/bootstrap-timepicker.js
# public/js/plugins/timepicker/bootstrap-timepicker.min.js
# public/js/vue.js
# public/mix-manifest.json
# resources/assets/js/bootstrap-js.js
# resources/assets/js/bootstrap.min.js
# resources/assets/js/ekko-lightbox.js
# resources/assets/js/ekko-lightbox.min.js
# resources/assets/js/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.js
# resources/assets/js/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js
# resources/assets/js/plugins/chartjs/Chart.js
# resources/assets/js/plugins/timepicker/bootstrap-timepicker.js
# resources/assets/js/plugins/timepicker/bootstrap-timepicker.min.js
# resources/assets/less/AdminLTE.less
# resources/assets/less/overrides.less
# resources/assets/less/skins/_all-skins.less
# resources/assets/less/skins/skin-black.less
# resources/assets/less/skins/skin-blue.less
# resources/assets/less/skins/skin-green.less
# resources/assets/less/skins/skin-purple.less
# resources/assets/less/skins/skin-red.less
# resources/assets/less/skins/skin-yellow.less
# resources/assets/less/variables.less
# resources/js/components/importer/importer-file.vue
# resources/lang/en/auth/message.php
# resources/lang/en/passwords.php
# resources/lang/es-CO/general.php
# resources/lang/es-ES/general.php
# resources/lang/es-VE/general.php
# resources/less/skins/skin-black-dark.less
# resources/less/skins/skin-blue-dark.less
# resources/less/skins/skin-contrast.less
# resources/less/skins/skin-green-dark.less
# resources/less/skins/skin-orange-dark.less
# resources/less/skins/skin-orange.less
# resources/less/skins/skin-purple-dark.less
# resources/less/skins/skin-red-dark.less
# resources/less/skins/skin-yellow-dark.less
# resources/views/accessories/checkin.blade.php
# resources/views/accessories/checkout.blade.php
# resources/views/accessories/edit.blade.php
# resources/views/account/profile.blade.php
# resources/views/account/view-assets.blade.php
# resources/views/asset_maintenances/edit.blade.php
# resources/views/auth/passwords/email.blade.php
# resources/views/auth/passwords/reset.blade.php
# resources/views/categories/edit.blade.php
# resources/views/companies/edit.blade.php
# resources/views/components/checkin.blade.php
# resources/views/components/checkout.blade.php
# resources/views/components/edit.blade.php
# resources/views/consumables/checkout.blade.php
# resources/views/consumables/edit.blade.php
# resources/views/custom_fields/fields/edit.blade.php
# resources/views/custom_fields/fieldsets/edit.blade.php
# resources/views/dashboard.blade.php
# resources/views/departments/edit.blade.php
# resources/views/groups/edit.blade.php
# resources/views/hardware/audit.blade.php
# resources/views/hardware/bulk-checkout.blade.php
# resources/views/hardware/bulk.blade.php
# resources/views/hardware/checkin.blade.php
# resources/views/hardware/checkout.blade.php
# resources/views/hardware/edit.blade.php
# resources/views/hardware/index.blade.php
# resources/views/hardware/quickscan.blade.php
# resources/views/hardware/view.blade.php
# resources/views/importer/import.blade.php
# resources/views/layouts/basic.blade.php
# resources/views/layouts/default.blade.php
# resources/views/layouts/edit-form.blade.php
# resources/views/licenses/checkin.blade.php
# resources/views/licenses/checkout.blade.php
# resources/views/licenses/edit.blade.php
# resources/views/locations/edit.blade.php
# resources/views/manufacturers/edit.blade.php
# resources/views/modals/upload-file.blade.php
# resources/views/models/bulk-edit.blade.php
# resources/views/models/custom_fields_form.blade.php
# resources/views/models/edit.blade.php
# resources/views/partials/bootstrap-table.blade.php
# resources/views/partials/forms/edit/address.blade.php
# resources/views/partials/forms/edit/asset-select.blade.php
# resources/views/partials/forms/edit/category-select.blade.php
# resources/views/partials/forms/edit/category.blade.php
# resources/views/partials/forms/edit/company-select.blade.php
# resources/views/partials/forms/edit/company.blade.php
# resources/views/partials/forms/edit/department-select.blade.php
# resources/views/partials/forms/edit/depreciation.blade.php
# resources/views/partials/forms/edit/email.blade.php
# resources/views/partials/forms/edit/image-upload.blade.php
# resources/views/partials/forms/edit/item_number.blade.php
# resources/views/partials/forms/edit/location-profile-select.blade.php
# resources/views/partials/forms/edit/location-select.blade.php
# resources/views/partials/forms/edit/location.blade.php
# resources/views/partials/forms/edit/maintenance_type.blade.php
# resources/views/partials/forms/edit/manufacturer-select.blade.php
# resources/views/partials/forms/edit/manufacturer.blade.php
# resources/views/partials/forms/edit/minimum_quantity.blade.php
# resources/views/partials/forms/edit/model-select.blade.php
# resources/views/partials/forms/edit/model_number.blade.php
# resources/views/partials/forms/edit/name.blade.php
# resources/views/partials/forms/edit/notes.blade.php
# resources/views/partials/forms/edit/order_number.blade.php
# resources/views/partials/forms/edit/phone.blade.php
# resources/views/partials/forms/edit/purchase_cost.blade.php
# resources/views/partials/forms/edit/purchase_date.blade.php
# resources/views/partials/forms/edit/quantity.blade.php
# resources/views/partials/forms/edit/serial.blade.php
# resources/views/partials/forms/edit/status.blade.php
# resources/views/partials/forms/edit/submit.blade.php
# resources/views/partials/forms/edit/supplier-select.blade.php
# resources/views/partials/forms/edit/supplier.blade.php
# resources/views/partials/forms/edit/user-select.blade.php
# resources/views/reports/custom.blade.php
# resources/views/settings/alerts.blade.php
# resources/views/settings/asset_tags.blade.php
# resources/views/settings/barcodes.blade.php
# resources/views/settings/branding.blade.php
# resources/views/settings/general.blade.php
# resources/views/settings/labels.blade.php
# resources/views/settings/ldap.blade.php
# resources/views/settings/localization.blade.php
# resources/views/settings/security.blade.php
# resources/views/setup/user.blade.php
# resources/views/suppliers/edit.blade.php
# resources/views/users/bulk-edit.blade.php
# resources/views/users/edit.blade.php
# resources/views/users/ldap.blade.php
# resources/views/users/print.blade.php
# resources/views/users/view.blade.php
# routes/api.php
# routes/web/hardware.php
# webpack.mix.js
2020-04-20 23:20:34 -07:00
snipe
154db9a416
This literally never fucking worked. Ever. Shoot me.
2020-04-09 22:20:05 -07:00
snipe
cf9d0201e0
Catch weird edge case where target wouldn’t have an ID (?!)
2020-04-09 20:23:02 -07:00
snipe
7ebd21bc04
Added sr-only to the unstyles image upload button
2020-04-09 19:29:16 -07:00
snipe
5707df0239
Check that location isset in checkout
2020-04-09 18:32:34 -07:00
snipe
197a84be94
Commented out rtd_location_id override - why did we do that?
2020-04-09 14:17:39 -07:00
snipe
b4fa4c77d7
Check for rtd_location_id before trying to assign
2020-04-09 14:14:30 -07:00
snipe
cfec142c3b
Better handle models without a fieldset in the asset request [RB 9935]
2020-04-09 11:18:54 -07:00
snipe
48dfc699d7
Bumped version
2020-04-09 10:49:50 -07:00
snipe
ec723a3da1
Changed LDAP messaging
2020-04-09 10:37:51 -07:00
snipe
f8a72db696
Changed LDAP 600 to 500, clearer error messages on LDAP test
2020-04-09 09:55:44 -07:00
snipe
83ee64f155
Added missing CSS class to text-only logo
2020-04-08 17:25:14 -07:00
snipe
b7d12ff944
Changed placeholder text back to lighter grey - it was confusing when darker
2020-04-08 17:24:59 -07:00
snipe
0858fec7f1
Fixed CSS issue where text-only logos at the top would be the wrong color
2020-04-08 17:24:38 -07:00
snipe
206bd675f2
Pulled slack validation out of setting model validation so it doesn’t fail mysteriously on other pages
2020-04-08 15:07:02 -07:00
snipe
92695782ff
Add @anthonypburns as a contributor
2020-04-08 11:48:18 -07:00
snipe
c447e4d29b
Add @joshi-redbridge as a contributor
2020-04-08 11:48:03 -07:00
snipe
811f89b1de
Add @JoKneeMo as a contributor
2020-04-08 11:47:37 -07:00
snipe
be3e572440
Bumped version
2020-04-08 11:24:30 -07:00
snipe
824ebc19c0
Updated assets
2020-04-08 11:24:17 -07:00
snipe
a0f7fdc57a
Merge branch 'fixes/accessibility_fixes'
...
# Conflicts:
# public/css/build/all.css
# public/css/dist/all.css
# public/js/build/all.js
# public/js/build/vue.js
# public/js/build/vue.js.map
# public/js/dist/all.js
# public/mix-manifest.json
# resources/assets/js/components/importer/importer-file.vue
2020-04-08 11:19:42 -07:00
snipe
450c1b9d56
Updated faker library to be compatible with PHP 7.4
2020-04-08 11:13:15 -07:00
snipe
79232fc434
Fixed #7947 - Added rtd_location_id to API search
2020-04-08 11:00:04 -07:00
snipe
0b3f511534
Fixed compact() errors
2020-04-07 17:26:56 -07:00
snipe
7f18983a49
Update local instance of composer.phar on upgrade. ( #7940 )
...
Co-authored-by: Johnny Moore <jmoore@eventide.com >
2020-04-07 13:21:55 -07:00
snipe
b7d9790acb
Fixed color style for btn-sm.btn-warning and btn-sm.btn-danger
2020-04-06 21:59:30 -07:00
snipe
1a5785a8d3
Fixed dashboard header size
2020-04-06 21:30:28 -07:00
snipe
320d660e83
Updated chartjs
2020-04-06 21:17:26 -07:00
snipe
fb903b2fda
Added comments, better indenting
2020-04-06 21:05:42 -07:00
snipe
c18646d096
Yellow highlight on selected rows
2020-04-06 21:00:11 -07:00
snipe
7bf398aca4
More settings filter fixes
2020-04-06 20:47:05 -07:00
snipe
f6bb655383
Prevent form submission
2020-04-06 20:17:44 -07:00
snipe
19f71face9
Added filtering to settings page
2020-04-06 20:11:13 -07:00
snipe
d82b94e281
Pull blue stylesheet if no skin was selected
2020-04-06 19:04:49 -07:00
snipe
893944403e
Check for location_id being set before trying to set it on checkout via API
2020-04-06 15:54:40 -07:00
snipe
0d3c18d1df
Fixed importer vue code for niceer layout
2020-04-06 15:09:37 -07:00
snipe
d7873f257d
Fixed CSP for importer
2020-04-06 14:18:45 -07:00
Johnny Moore
7e3f718797
Update local instance of composer.phar on upgrade.
2020-04-03 13:13:30 -04:00
snipe
be79a1f3d6
Bumped hash
2020-04-02 19:27:41 -07:00
snipe
a8032ac388
Switched to btn-primary for submit
2020-04-02 18:38:54 -07:00
snipe
21d8225696
Use button primary for higher contrast
2020-04-02 18:33:26 -07:00
snipe
766c2b22cb
Removed stray tag
2020-04-02 18:33:10 -07:00
snipe
db79f92423
Updatedb select2 to latest for aria fixes
2020-04-02 18:22:25 -07:00
snipe
bdddab5b8b
Added role=“option” to option items, additional icon font fixes
2020-04-02 18:17:21 -07:00
snipe
031adc3be4
Small display fixes to importer table
2020-04-01 19:51:36 -07:00
snipe
e7c1418314
Fixed possible typo in CSP
2020-04-01 19:47:42 -07:00
snipe
c906026acd
Merge branch 'master' into fixes/accessibility_fixes
2020-04-01 14:04:02 -07:00
snipe
56c2740b68
Radio button tweaks
2020-04-01 06:56:27 -07:00
snipe
4688d62b9f
Small UI fixes
2020-04-01 06:50:37 -07:00
snipe
99686bd73a
Added labels for bulk actions
2020-04-01 06:48:02 -07:00
snipe
120e224961
Add the ability to remove all group memberships in bulk
2020-04-01 06:35:13 -07:00
snipe
e27d69a31d
Remove viewport restrictions
2020-04-01 06:18:37 -07:00
Ivan Nieto
c492ba7245
Adding changes to 'upload-table' for being painted in CSS ( #7934 )
2020-04-01 05:24:05 -07:00
snipe
53658e365f
Removed duplicate HTML tag
2020-04-01 04:36:28 -07:00
snipe
4cfa0e36b1
Added labels to password reset
2020-04-01 04:30:54 -07:00
snipe
9d9b5d3885
Added form labels to auth screens
2020-04-01 04:29:54 -07:00
snipe
36f9905be0
Removed test code
2020-04-01 04:29:35 -07:00
snipe
a815e0ab8c
Fixed stupid curly quotes
2020-04-01 03:55:44 -07:00
snipe
6bfec08a8c
Updated vue files with aria tags and labels
2020-04-01 03:53:05 -07:00
snipe
2d2cd68061
Switched to h2 from h4
2020-04-01 03:51:08 -07:00
snipe
fd642e95eb
Hide success icons from screen readers
2020-04-01 03:25:07 -07:00
snipe
9ab3370be5
Hide icons in error messages
2020-04-01 03:21:15 -07:00
snipe
4dcc1ffdbc
More form labels
2020-04-01 02:22:24 -07:00
snipe
7d466f3584
Update user uploads for more data to work with recport
2020-04-01 02:22:16 -07:00
snipe
7718abaa72
Added aria-hidden
2020-04-01 01:26:44 -07:00
snipe
59c5a1ea87
Added aria label to form helper
2020-04-01 01:26:32 -07:00
snipe
0cf70c9e16
Fixed select2 placeholder
2020-04-01 01:26:19 -07:00
snipe
6174f9b93f
Check that there is actually a filed ID submitted
2020-04-01 01:25:31 -07:00
snipe
c3d2e8ff26
Added aria-hidden to inline form error text
2020-04-01 00:18:20 -07:00
snipe
192f703885
Trying placeholder CSS styling for the high contrast skin
...
Doesn’t seem to work :(
2020-04-01 00:15:58 -07:00
snipe
be93b23488
Added aria-label to form fields
2020-04-01 00:15:33 -07:00
snipe
b079d0d6d5
Use btn-primary for submit button
2020-03-31 23:38:10 -07:00
snipe
c6c75cc11f
Fixed missing </h3 tags
2020-03-31 23:36:56 -07:00
snipe
b188285bc9
Fixed empty table headings
2020-03-31 23:02:24 -07:00
snipe
6d659a84b8
Removed extra div tag
2020-03-31 22:53:58 -07:00
snipe
3e3828229d
Removed _tab from tab names
2020-03-31 22:52:21 -07:00
snipe
bf6a0f8d2f
Added aria-hidden
2020-03-31 22:50:38 -07:00
snipe
3873c4b253
Added aria form labels to upload modal
2020-03-31 22:50:29 -07:00
snipe
6cc23f69f9
Added aria form labels
2020-03-31 22:50:14 -07:00
snipe
a467a6999e
Use upload modal
2020-03-31 22:50:07 -07:00
snipe
e0eb10ca1e
Added aria-hidden tags
2020-03-31 22:49:49 -07:00
snipe
99c4c73c09
Fixed aria labels on dropdowns
2020-03-31 21:53:26 -07:00
snipe
bde45cbb34
Fixed h3 to h2 for semantic header levels
2020-03-31 21:30:24 -07:00
snipe
c408c27bf4
Updated dark skins
2020-03-31 21:10:55 -07:00
Joshi
b14f37d966
Purposal for fix on issue 6251 - max upload filesize ( #7930 )
...
* Added a check and sed to startup.sh for managing max upload size inside the docker container. Issue encountered in 6251
* Changed startup.sh to bash instead of sh to have better variable control. Changed single ticks to double ticks for the sed so that the variable PHP_UPLOAD_LIMIT is expanded
2020-03-31 21:02:10 -07:00
snipe
bfa9c0c528
Updated dark skins with updated styles
2020-03-31 20:58:54 -07:00
snipe
9cc9cddd68
Fixed visited button text color
2020-03-31 20:39:41 -07:00
snipe
fe2261c88d
A few more aria-hidden fixes
2020-03-31 19:34:01 -07:00
snipe
6aeb3c0a47
Use divs instead of layout table on view
2020-03-31 19:27:21 -07:00
snipe
dfaa1c9578
Use the same “no results” treatment for each tab
2020-03-31 18:45:43 -07:00
snipe
0ef1dfe061
Switched from layout tables to decorated divs for asset detail page
2020-03-31 18:39:58 -07:00
snipe
ba8bcd6413
Slight tweaks to div table styles
2020-03-31 18:39:41 -07:00
snipe
7854003ec2
Added sr-only text to “made with love” footer
2020-03-31 17:29:20 -07:00
snipe
c71dd9b68a
Added sr-only text
2020-03-31 17:29:06 -07:00
snipe
dfeabbc85d
Added table-styles div CSS
...
(Still needs to be applied for dark mode skins)
2020-03-31 17:28:40 -07:00
snipe
b8b9ac8a1b
Fixed mismatched <b>/<strong> tags
2020-03-28 18:00:46 -07:00
snipe
80ac2607cd
Added alt tags to assigned assets view
2020-03-28 18:00:19 -07:00
snipe
3552fb1fd8
Added alt tags to profile image
2020-03-28 18:00:05 -07:00
snipe
54a96b8453
Fixed <b> to <strong>
2020-03-28 17:30:17 -07:00
snipe
03be4e74df
Higher contrast pagination
2020-03-28 04:00:46 -07:00
snipe
e9ddd1af81
Added th content on activity report
2020-03-28 04:00:26 -07:00
snipe
f305885e8e
Regenerated assets
2020-03-28 03:43:35 -07:00
snipe
f0b9cd7820
Changed header for h2
2020-03-28 03:43:24 -07:00
snipe
59accca89d
Added form labelss
2020-03-28 03:43:08 -07:00
snipe
e72ebfb94b
Added placeholder text for modal header
2020-03-28 03:42:45 -07:00
snipe
0b7316d548
Changed side heading to h2
2020-03-28 03:42:27 -07:00
snipe
d0cf76989a
Fixed table headers for custom fields
2020-03-28 02:52:14 -07:00
snipe
90a2bf7c9c
Regenerated high contrast menu
2020-03-28 02:42:34 -07:00
snipe
95945412b1
Fixed label
2020-03-28 02:42:04 -07:00
snipe
c299efca0c
Darkened the home screen boxes for high contrast
2020-03-28 02:41:43 -07:00
snipe
5e4918579a
Added table headers
2020-03-28 02:41:27 -07:00
snipe
db75f0e894
Regenerated assets
2020-03-28 01:38:01 -07:00
snipe
5a6c13e364
Added aria-hidden and sr-only tags to minus/collapse symbol
2020-03-28 01:37:49 -07:00
snipe
4b22f07dd7
Fixed less attribute names
2020-03-28 01:37:27 -07:00
snipe
57cb5146fc
Just use navy for links
2020-03-28 01:37:13 -07:00
snipe
07708f530e
Use label for field in column dropdown
2020-03-28 01:36:55 -07:00
snipe
5c68353e62
Use non-min bs tables for now
2020-03-28 01:36:35 -07:00
snipe
53728e5c71
Removed whitespace
2020-03-28 01:36:22 -07:00
snipe
b965d170ab
Added accessibility features to bootstrap tables
2020-03-28 00:51:26 -07:00
snipe
34a1bb7152
Fixed contrast skin
2020-03-28 00:24:37 -07:00
snipe
8787f228d9
Fixed asset build
2020-03-28 00:16:28 -07:00
snipe
03cde9a72c
Added less processing for skin files
2020-03-28 00:08:21 -07:00
snipe
623655b6f6
New dark background skins
2020-03-28 00:07:34 -07:00
snipe
da6830225a
Remove light colored less files - it looks crappy
2020-03-28 00:06:51 -07:00
snipe
a729410fe8
Regenerated JS
2020-03-27 22:03:30 -07:00
snipe
bba4036e53
Updated skin theme
2020-03-27 22:03:09 -07:00
snipe
39c71c6027
Regenerate new skin css files
2020-03-27 22:02:57 -07:00
snipe
03a9219a7c
Fixed duplicate color: attribute
2020-03-27 22:01:43 -07:00
snipe
a8f6bbd86a
Added alt text to image formatter in bootstrap tables
2020-03-27 22:01:24 -07:00
snipe
9a2ee2638b
Updated color-specific skins
2020-03-27 21:46:00 -07:00
snipe
2a813244a2
Wrapped text in h5s, added aria hidden to icons
2020-03-27 21:45:27 -07:00
snipe
b50894fca1
Use a variable in the settings to determine what css classes to use
2020-03-27 21:44:50 -07:00
snipe
41fa2d1aa1
Added aria handlers and sr-only text
2020-03-27 21:44:32 -07:00
snipe
54d39c04ad
Added additional themes to dropdown
2020-03-27 21:44:18 -07:00
snipe
3c1365b2c8
Added color variables
2020-03-27 21:44:00 -07:00
snipe
5858c90e71
Minor formatting change (spacing)
2020-03-27 15:50:01 -07:00
snipe
f0ef06ebe1
Added more alt tags
2020-03-27 15:35:29 -07:00
snipe
700f7de748
Added alt text to logo
2020-03-27 14:10:56 -07:00
snipe
af2ea7ac03
Added aria-hidden="true" to create dropdown in topnav
...
Since it’s technically duplicated content
2020-03-27 14:08:01 -07:00
snipe
690d8255c9
Removed the title attribute from the select2 output
...
It contains duplicate info since its auto-generated by select2
2020-03-27 14:07:30 -07:00
snipe
aded2193a2
Added aria-hidden="true" to top navigation elements
2020-03-27 13:29:00 -07:00
snipe
6d99b2a68c
Added “skip to content” link
2020-03-27 13:28:48 -07:00
snipe
55a619778f
Added language header
2020-03-25 16:32:33 -07:00
Jared Biel
bbeb51461f
Fix LDAP logins
2020-03-24 16:27:14 -05:00
snipe
6066c249d5
Moved gate to the top of the method
2020-03-06 16:01:13 -08:00
Ivan Nieto
025ea93f05
Fix for when a user with the correct permissions couldn't update Manufacturers. ( #7882 )
...
* Changed the ability name from 'edit' to 'update'. Changed the order of execution: first checks if the manufacturer exists, then checks permissions
* Handles the update method, that also has the ability parameter as edit instead of update"
q
* Revert "Handles the update method, that also has the ability parameter as edit instead of update""
This reverts commit d7dc0e451e .
* Handles the update method, that also has the ability parameter as 'edit' instead of 'update'
2020-03-06 15:59:51 -08:00
snipe
54fd8f81ff
Added permissions on user api ( #7883 )
...
* Add permissions to user edit API
* Add user permissions on user create/update API endpoint
2020-03-06 15:28:46 -08:00
snipe
ca43554327
Fixes search by serial or tag even if they have slashes in them ( #7879 )
...
* Fixes search by serial or tag even if they have slashes in them
* Added support for url param byTag and bySerial
* Fixed typo comments
* Sojme additional comments to clarify use-cases
* Updated comments for clarity
2020-03-06 14:55:20 -08:00
snipe
039f5da0e1
Add image upload to user edit [ch10508] ( #7877 )
...
* Use correct Request include
* Updated to use additional form request
* Added SVG sanitizer
* Added response method to form request
* Allow ImageUploadRequest to accept fieldname params, added SVG sanitization, fixed delete
* Fixed upload path for avatars
* Added fieldname variable to blade partial for image upload
* Added enctype="multipart/form-data" to form to allow uploads
* Added image field
* Updated Request::old() to use $request->old()
* Fixed derp in edit blade referring to $item when it should be $user
* Added svg+xml to image rule
2020-03-05 18:00:24 -08:00
snipe
9aed12c5aa
Update composer package with newer SVG package
2020-03-05 13:28:07 -08:00
snipe
61bdb88ba5
Add @ColinMcNeil as a contributor
2020-03-04 22:38:09 -08:00
snipe
36696ab56e
Add @bigtreeEdo as a contributor
2020-03-04 22:37:57 -08:00
snipe
f0f9b93652
Add @Godmartinz as a contributor
2020-03-04 22:37:45 -08:00
snipe
a2fae76eaf
Bumped version
2020-03-04 22:37:17 -08:00
snipe
8b2f8ef3cb
Spelling is hard :(
2020-03-04 22:19:59 -08:00
snipe
5307e57bd9
Fix for CVE-2019-10772
...
Vuln in SVG sanitizer library
2020-03-04 22:15:31 -08:00
snipe
15518852aa
Added validation to reject email addresses over 250 characters
2020-03-04 22:08:07 -08:00
snipe
60fc1d3f6d
Added/matched forgotten password strings in lang files
2020-03-04 22:07:35 -08:00
snipe
d1a8d76d85
Set maxlength in password reset form to 250
2020-03-04 22:06:43 -08:00
snipe
803f5ad0ab
Fixed #7870 : fixed SSL connectivity for PaaS DBs ( #7874 )
2020-03-04 19:39:23 -08:00
snipe
663c0f3713
Fixed typo
2020-02-11 22:09:46 -08:00
snipe
dfb9e430fa
Removed debug line
2020-02-11 22:09:37 -08:00
snipe
03c5a42f5a
Fixes for flysystem paths :(
2020-02-11 20:22:55 -08:00
snipe
c33970e3e3
Added timestamp to uploaded files so they are unique and don’t overwrite
...
Laravel 6 now does this automaically, so we should switch to their way
2020-02-11 20:19:59 -08:00
snipe
0ea8125f31
Default favicon
2020-02-11 20:19:24 -08:00
snipe
841d0cdbbe
Added default logo/favicon
2020-02-11 20:15:35 -08:00
Godfrey Martinez
0e0fe967e4
BadMethodCallException Method update does [ch10544] ( #7804 )
2020-02-10 19:27:23 -08:00
snipe
192917cc84
Slightly better fix for requestable import bug
2020-02-10 17:34:32 -08:00
snipe
46a138c64b
Fixed id to statuslabel in sidenav
2020-02-10 12:36:48 -08:00
snipe
60b271c6a8
Use import instead of direct model call
2020-02-10 12:36:40 -08:00
snipe
81880645ed
Possible requestable fix
2020-02-10 11:40:39 -08:00
snipe
9eb4b0dda7
Disallow 0 as a number for labels per page
2020-02-04 19:14:58 -08:00
snipe
2f0ed129f0
Use “invalid barcode” image and suppress errors when barcode format is wrong
2020-02-04 18:15:01 -08:00
Fabian Grutschus
5becb93e6c
Added: allow appending of domain name to username when user tries to login ( #7790 )
2020-02-04 12:47:49 -08:00
snipe
3361b859c0
Changes offset to use the actual item count as override instead of 0 ( #7788 )
2020-02-04 12:32:24 -08:00
bigtreeEdo
e27a9b137b
added 'requestable' to fillable attributes. ( #7787 )
2020-02-03 19:37:03 -08:00
snipe
89e2a3ae3c
Fixed #7752 - reformat /api/v1/users/me to use transformer
2020-01-30 13:12:43 -08:00
snipe
5f85d8132b
Fix for weird JSON parsing in actionlogs ( #7753 )
...
* Fix for weird JSON parsing in actionlogs
* Removed debugging code
* Check for the meta array
(If no fields, no array)
2020-01-24 17:31:43 -08:00
snipe
ca1285ec08
Updated favicon
2020-01-23 19:49:46 -08:00
snipe
56582614b6
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2020-01-22 16:07:46 -08:00
Ivan Nieto
313cacdb71
Select Import File fails in Develop [ch10598] ( #7718 )
...
* Delete an unused import, then replace a deprecated facade with the needed one for uploading files
* Added the needed use for the Request Facade
2020-01-17 16:12:51 -08:00
Ivan Nieto
75bf8f3d58
Remove not existent variable 'id' in the redirect causing [ch10602] ( #7732 )
2020-01-17 16:12:24 -08:00
Ivan Nieto
ab36784edd
Added a parameter that http://snipe-it.app/fields expected, without it that functionality was broken ( #7687 )
...
Nice!
2019-12-30 20:18:47 -08:00
snipe
324da7c0c8
Include correct license, asset, etc count on user show API call
2019-12-19 18:09:53 -08:00
snipe
779fc6d195
Added license endpoint for users
2019-12-19 18:00:36 -08:00
snipe
159acf6788
Removed extra space
2019-12-19 17:47:50 -08:00
Colin McNeil
db59106c3e
Move ldap import ini settings to config ( #7679 )
2019-12-19 11:51:55 -08:00
Ivan Nieto
7b7e097922
Added correct route for AssetsController from http://snipe-it.app/hardware/audit/due endpoint ( #7673 )
2019-12-18 11:52:01 -08:00
snipe
5ef40340fb
Bumped version
2019-12-11 19:38:04 -08:00
snipe
aa4d0c4a6b
Ugh. NPM is the fucking worst.
2019-12-11 19:36:55 -08:00
snipe
7f53462d0f
Bumped composer lock
2019-12-11 15:21:37 -08:00
snipe
94ce8cad64
Make sure $user->item exists before trying to count on it
2019-12-11 14:43:46 -08:00
snipe
4d38c44a93
Fixed groups request
2019-12-11 11:26:58 -08:00
snipe
c31e150935
Use $request->input over Request::get()
2019-12-11 11:09:54 -08:00
snipe
a5b180a9c6
Fixed Call to a member function count() on null for location delete
2019-12-11 10:46:07 -08:00
snipe
a8bbb951bc
Use Request instead of Input
2019-12-10 22:05:49 -08:00
snipe
df778cdb80
Include storage in use statements
2019-12-10 22:03:15 -08:00
snipe
b55d9113d4
Moved bootstrap directive to avoid warning on codeception
2019-12-10 21:47:01 -08:00
snipe
d7c51f1a2c
Added Request to use statements
2019-12-10 20:39:29 -08:00
snipe
b5db0b22f8
Switched to Request facade
...
I don’t know why my greps keep missing this shit.
2019-12-10 19:47: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
88fb1370f0
Added slightly friendlier error handling for assets without models
...
This scenario should never happen, barring someone manually editing their data, but better to handle that scenario in a more user-friendly way.
2019-12-06 18:17:03 -08:00
snipe
943cf40247
Merge branch 'master' of https://github.com/snipe/snipe-it
2019-12-06 13:14:31 -08:00
snipe
ff57f10e9f
Fix for searching on child location names ( #7646 )
...
* Fix for child locations
* Reverts temp changes to indenter
2019-12-06 13:14:10 -08:00
snipe
91bb76fd8a
Bumped version
2019-12-06 13:05:20 -08:00
snipe
893454dca7
Updated translations
2019-12-06 12:03:04 -08:00
Ivan Nieto
9291e3ada3
Added a validation to Transformers/LocationsTransformer.php:transformLocations() in case location doesn't have children location ( #7640 )
2019-12-06 11:42:36 -08:00
Yorick Terweijden
2a6a381bc7
Return real Asset error ( #7054 )
2019-12-06 11:07:12 -08:00
snipe
de0b5a6149
Fixes #6440 - quote marks in the right place
2019-12-06 11:04:16 -08:00
Dustin B
8fd4e35244
Closes #6440 Print All Assigned - New Tab ( #7135 )
...
Should add the functionality to, by default open in a new tab and not reference back to the source page. Reduces overhead and should resolve #6440 .
Untested, need confirmation.
2019-12-06 11:00:01 -08:00
Valentyn Tulub
6ad1f51673
Added #6489 : show asset assignments under user assignments ( #7293 )
...
* Add a setting to show assets assigned to other assets #6489
* Update user's views to show assets assigned to other assets #6489
* Add ukrainian and russian translation for the feature #6489 in settings
2019-12-06 10:57:48 -08:00
herroworrd
3fbfb0c658
Add requestable to asset model api results ( #7577 )
...
Nice, thanks!
2019-12-06 10:33:06 -08:00
Lorenzo P
7225b53986
fix syntax error in CustomFieldsetsController::show() ( #7595 )
...
That someone was probably me :D Thanks for this, good catch!
2019-12-06 10:31:00 -08:00
snipe
e71e57f16a
Fixed XSS vulnerability in SVG image uploads [ch10476] ( #7639 )
...
* Added enshrined/svg-sanitize
* Added modular image resizing/SVG cleaning method
(This already exists in v5, so I mostly ported it forward and added the SVG sanitizer.)
* Use improved handleImages method to upload/resize/clean images
* Removed $old_image
This is handled in the ImageUpload request now
2019-12-05 22:23:05 -08:00
snipe
3f5840d390
Bumped vendor files
2019-12-05 19:53:01 -08:00
dependabot[bot]
d3f4205f09
Bump symfony/http-foundation from 3.4.30 to 3.4.36 ( #7638 )
...
Bumps [symfony/http-foundation](https://github.com/symfony/http-foundation ) from 3.4.30 to 3.4.36.
- [Release notes](https://github.com/symfony/http-foundation/releases )
- [Changelog](https://github.com/symfony/http-foundation/blob/master/CHANGELOG.md )
- [Commits](https://github.com/symfony/http-foundation/compare/v3.4.30...v3.4.36 )
Signed-off-by: dependabot[bot] <support@github.com >
2019-12-05 19:37:00 -08:00
Godfrey Martinez
5b946087c4
added a proper response for password errors ( #7636 )
2019-12-05 17:49:56 -08:00
snipe
9a2378586c
Added new data directory for Laravel 5.7 upgrade
2019-12-04 17:06:15 -08:00
snipe
e820d4bc4d
Moved js/css/less out of resources/assets
...
Per https://laravel.com/docs/5.7/upgrade
2019-12-04 17:03:16 -08:00
snipe
8e3e48da14
New composer lock with slack library edits
2019-12-04 16:48:19 -08:00
snipe
ff8d98c97c
Update child assets to reflect asset parent location ( #7458 )
2019-12-04 16:19:25 -08:00
snipe
04cf8d7fbf
Removed Helper reference since it’s autoloaded
2019-12-04 15:56:55 -08:00
snipe
7f8f1ff35a
Specifically require slack notification channel for laravel 5.8 upgrade
2019-12-04 15:56:45 -08:00
snipe
c635db0a76
Fixed upload parh for asset models
2019-12-04 15:23:49 -08:00
snipe
704c696711
Fixed parse error in settings controller
2019-12-04 14:54:36 -08:00
snipe
2fbbe430b5
Removed escaping on custom fields in presenter ( #7631 )
2019-12-03 17:42:13 -08:00
Godfrey Martinez
f0af750b0a
Fixed comment ( #7617 )
...
* Set theme jekyll-theme-hacker
* fixed commenty about scopebyDeprecationID being identified as a method to location ID
* fixed commenty about scopebyDeprecationID being identified as a method to location ID
2019-11-22 16:13:42 -08:00
snipe
88cf456386
Adding Dept to license seats ( #7609 )
...
* Adding Dept to license seats
* Added query scope to order by department
* Make license seat department sortable
* Disable license seat internal search - this never actually worked
2019-11-21 22:03:56 -08:00
snipe
d8049209ca
Fixed bug where deleted consumable would throw an error on print page
2019-11-21 21:43:54 -08:00
snipe
dd40ddf5a5
Fixed an error on audit due list when no audit_warning_days had been set [ch9764]
2019-11-21 21:34:41 -08:00
snipe
5065164c40
Bumped Carbon version
2019-11-21 13:14:18 -08:00
snipe
8127fdc5bc
Min password requirement set to 8 characters
2019-11-18 21:17:51 -08:00
snipe
38ed73a2b4
Bumped to Laravel 5.8
2019-11-18 21:17:36 -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
957c7f4e79
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2019-11-18 19:01:35 -08:00
snipe
a73fd24695
Fix maintenances permissions check to allow users who can edit assets to edit maintenances
2019-11-08 17:02:17 -08:00
snipe
70c8ad9797
Bumped minor version
2019-10-28 13:55:21 -07:00
snipe
0290257734
Limit license seats to 999 to prevent latency
2019-10-28 13:48:18 -07:00
Marián Skrip
53eae6fbfd
Fix issues with update permission naming ( #7493 )
...
This solves an issue when admin would be able to create and delete
categories but not edit them.
2019-10-28 11:44:48 -07:00
Alexandr Hacicheant
a90149940a
Update UsersController.php ( #7528 )
...
Returned missed bracket after merge master to develop
2019-10-28 11:43:29 -07:00
snipe
4fe689dc5d
Merge branch 'master' of https://github.com/snipe/snipe-it
2019-10-21 15:45:17 -07:00
snipe
0769f585ea
Disallow locations from being their own parents
2019-10-21 15:45:05 -07:00
snipe
04562e6d4a
Added 4260352 to ldapsync enabled account constraint
2019-10-18 17:48:50 -07:00
snipe
22d2ad9248
Fixes nested location selectlist ( #7483 )
...
* Rename child locations method
* Use Ajax dropdown for locations selectlist for edit/create
* Removed locations database call on edit/create blades for faster loading
* Updated locations controller to use the new iterator
* Increase pagination on locations controller to 500
We’re already loading all of that data up beforehand anyway, so no point in keeping the query smaller.
* Fixed the else to make codacy happy
* Improve the design and performance of the nested location selectlist (#7484 )
* Improve the design and performance of the nested location selectlist
* Fixed parse errors
* Removed debugging code/comments
2019-10-02 03:56:56 -07:00
snipe
6deb26fafe
Remove unused variable
2019-09-30 19:37:52 -07:00
snipe
6c1de7ff05
Apply fix for #6642 to master
2019-09-30 19:21:57 -07:00
snipe
ab05a44e0b
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2019-09-30 19:18:54 -07:00
snipe
7f5f4a1297
Added softwarew support and hardware support to maintenance types
2019-09-24 01:34:23 -07:00
snipe
c68c0e1208
Account for limit if none is passed in the request
2019-09-03 20:28:49 -07:00
snipe
c256536d21
Math is hard
2019-09-03 14:29:58 -07:00
snipe
4159a0effa
Bumped version
2019-09-03 14:12:13 -07:00
snipe
b8f7cd81eb
Limit API request results per page ( #7405 )
2019-09-03 14:02:08 -07:00
Martin Berg
3dcef9aac9
Add support for custom remote user header ( #7370 )
2019-09-03 11:07:26 -07:00
snipe
b381528668
Added console rekey tool ( #7330 )
...
* Removed console command specifications, since they’re pulled dynamically now
* Added rekey console command
* Removed unused code
* Comment clarifiction
* Handle LDAP password
2019-09-03 11:03:32 -07:00
Logan Swartzendruber
4c8b26f732
Implement #3088 : Add "Generate Label" option to "Actions" dropdown menu in individual Asset Details view. ( #7388 )
...
* Implement #3088 : Add "Generate Label" option to "Actions" dropdown menu in individual Asset Details view.
* Add conditional for including the asset number in the URL of the barcode image.
* Change case of variables to pass Codacy PR review standards.
2019-09-03 11:02:55 -07:00
Rick Heil
7b0b28aed0
Add #7393 - next_audit_date set on asset creation if an audit interval is configured in settings ( #7394 )
2019-09-03 10:58:51 -07:00
snipe
6d66d7e215
Removed withErrors on JSON response
2019-08-22 21:36:47 -07:00
snipe
0544164015
Fixed Eloquent Builder path in docblock
2019-08-20 18:10:36 -07:00
snipe
b6a188a87b
Removed erroneous linebreak
2019-08-20 18:10:21 -07:00
snipe
b5bf8e9a37
Smaller chunking for custom report, add max_execution_time
2019-08-15 06:14:25 -07:00
snipe
ba197c8857
Fixed #7259 - upgraded phpdocumentor/reflection-docblock to v4
2019-08-15 03:02:24 -07:00
snipe
124b249df4
Fixed #7289 - git fetch before checkout in upgrade.php
2019-08-15 01:32:20 -07:00
snipe
2a6919c438
Fixed #7321 - added link to Helm Chart repo
2019-08-15 01:07:30 -07:00
snipe
60bb385cf7
Make status label required
2019-08-14 23:46:09 -07:00
snipe
47724d7268
Make error text color match
2019-08-14 23:46:00 -07:00
snipe
c9f9a60354
Fixed asset tag error message alignment
2019-08-14 23:28:01 -07:00
snipe
da52511bf9
Use asset tags
2019-08-14 23:13:23 -07:00
snipe
7899d2284c
Fixed parse error in API routes
2019-08-14 22:33:56 -07:00
snipe
c5e6f06e9b
Revert import history to master version to fix errors
2019-08-14 22:27:17 -07:00
snipe
6db915b7f0
Removed serialize duplicate
2019-08-14 22:22:50 -07:00
snipe
756361584a
Updated assets
2019-08-14 22:22:33 -07:00
snipe
a6d486ea8a
Fix invalidJSON exception
2019-08-14 22:18:48 -07:00
snipe
f1143d701a
Updated composer.lock
2019-08-14 21:55:38 -07:00
snipe
b65fd4adba
Fixed syntax in composer.json
...
(Our merge tool is teh sux0r)
2019-08-14 21:51:37 -07:00
snipe
441ae69f5c
Integrations/develop into master ( #7352 )
...
* Fixes #6204 - added email alerts and web/API access to assets due for audits (#6992 )
* Added upcoming audit report
TODO: Fid diff/threshold math
* Added route to list overdue / upcoming assets via API
* Controller/API methods for due/overdue audits
We could probably skip this and just handle it via view in the routes…
* Added query scopes for due and overdue audits
* Added audit due console command to kernel
* Added ability to pass audit specs to main API asset search method
* Added audit presenter
* Added bootstrap-tables presenter formatter to display an audit button
* Added gated sidenav items to left nav
* Added audit due/overdue blades
* Cleanup on audit due/overdue console command
* Added language strings for audit views
* Fixed :threshold placeholder
* Removed unused setting variable
* Fixed next audit date math
* Added scope for both overdue and upcoming
* Derp. Wrong version
* Bumped version
(I will release this version officially tomorrow)
* Leave the activated state for users alone in normal LDAP synchronisation. (#6988 )
* Fixed #7003 - crash when warranty months or purchase date is null
* Fixed #6956 - viewKeys policy inconsistent (#7009 )
* Fixed #6956 - Added additional gates show showing/hiding license keys
* Modified gate to allow user to see licenses if they can create or edit the license as well
* Added API middleware to API routes to enable throttling
TODO: Figure out how to make this costumizable without touching the code
* Import locations from CSV via command line (#7021 )
* Added import locations command
* Small fixes to location importer
* Added country, LDAP OU
* Cleaned up comments, added more clarification to what the script does
* Added ability to update groups via API
Fixes [ch9139]
* Bumped version
* Fixed #6883 - remove escaping of fields on LDAP import
* Fixed #6880 - correctly encrypt encrypted fields via the API
* Fixes #5054 : LDAP users deactivated for none-ad (#7032 )
When using none-AD ldap, users are automatically deactivated every LDAP
sync. This commit changes the behaviour so that if the active flag isn't set,
the users are enabled.
Fixed #5054 , at least for 4.X
* Updated packages
- Updating erusev/parsedown (v1.7.2 => 1.7.3): Downloading (100%)
- Updating squizlabs/php_codesniffer (3.4.1 => 3.4.2): Downloading (100%)
- Updating symfony/polyfill-mbstring (v1.10.0 => v1.11.0): Downloading (100%)
- Updating symfony/var-dumper (v3.4.23 => v3.4.27): Downloading (100%)
- Updating league/flysystem (1.0.50 => 1.0.51): Downloading (100%)
- Updating symfony/translation (v3.4.23 => v3.4.27): Downloading (100%)
- Updating nesbot/carbon (1.36.2 => 1.37.1): Downloading (100%)
- Updating symfony/debug (v3.4.23 => v3.4.27): Downloading (100%)
- Updating symfony/console (v3.4.23 => v3.4.27): Downloading (100%)
- Updating symfony/finder (v3.4.23 => v3.4.27): Downloading (100%)
- Updating symfony/polyfill-ctype (v1.10.0 => v1.11.0): Downloading (100%)
- Updating symfony/polyfill-php70 (v1.10.0 => v1.11.0): Downloading (100%)
- Updating symfony/http-foundation (v3.4.23 => v3.4.27): Downloading (100%)
- Updating symfony/event-dispatcher (v3.4.23 => v3.4.27): Downloading (100%)
- Updating symfony/http-kernel (v3.4.23 => v3.4.27): Downloading (100%)
- Updating symfony/process (v3.4.23 => v3.4.27): Downloading (100%)
- Updating symfony/routing (v3.4.23 => v3.4.27): Downloading (100%)
- Updating symfony/polyfill-util (v1.10.0 => v1.11.0): Downloading (100%)
- Updating symfony/polyfill-php56 (v1.10.0 => v1.11.0): Downloading (100%)
- Updating symfony/psr-http-message-bridge (v1.1.1 => v1.1.2): Downloading (failed)
Downloading (100%)
- Updating rollbar/rollbar (v1.7.5 => v1.8.1): Downloading (100%)
- Updating symfony/yaml (v3.4.23 => v3.4.27): Downloading (100%)
- Updating symfony/browser-kit (v3.4.23 => v3.4.27): Downloading (100%)
* Fixed #7044 - API update deleted custom fields if they are not re-presented
* Fixed XSS vulnerability when creating a new categories, etc via modal on create
Same fix as before, because of the weird select2 post-parsing ajax behavior
* Updated email strings
* Fixed #7046 - added user website url back into UI
* Updated language strings
* Bumped version
* Updated packages
* New backups config for spatie
* Removed debugbar service provider (autodiscovery)
* Use laravel v5.5 withCount manual aliases
* Added spatie language files
* Removed old laravel backups config
This config file was renamed in a newer version of spatie laravel-backup
* Set the serialization
* Added the command loader to console kernel
* Renamed fire() to handle()
* Updated withCount to use manual naming
* Updated backup path in backup admin
* Updated travis with new php versions
* Bumped laravel version in readme
* Fixed custom field edit screen
* Fixed baseUrl is undefined error
I literally cannot figure out how this ever worked before.
* Fix for included files in backup
* Bumped version
* Switch has() to filled()
* Change ->has() to ->filled()
* Removed cosole log
* Bumped packages
* Use getReader instead of fetchAssoc for CSV parser
https://csv.thephpleague.com/9.0/upgrading/
* Handle JSON validation errors like 5.4
* Handle JSON validation errors like 5.4
* Handle JSON validation errors like 5.4
* Trying to fix ajax asset validation
This I think gets us closer, but still not handling the validation on the asset properly.
When I do a print_r of the validation in the other items, its looking for an error bag that looks something like this:
```
Illuminate\Support\MessageBag Object
(
[messages:protected] => Array
(
[name] => Array
(
[0] => The name field is required.
)
[seats] => Array
(
[0] => The seats field is required.
)
[category_id] => Array
(
[0] => The category id field is required.
)
)
[format:protected] => :message
)
```
Currently the Assets ajax returns:
```
[2019-05-24 06:52:06] develop.ERROR: array (
'messages' =>
array (
'model_id' =>
array (
0 => 'The model id field is required.',
),
'status_id' =>
array (
0 => 'The status id field is required.',
),
'asset_tag' =>
array (
0 => 'The asset tag field is required.',
),
),
)
```
So not sure why it’s not working.
* Fixed missing asset validation
* Check that a model exists before trying to fiddle with fieldsets
* Tidied up license check
* Removed extra escaping on checkin
* Updated importer to work with newer CSV Reader::getRecords() method
* Fixed field mapping
* Small fix for reordering fields
Fixes Illuminate\Database\QueryException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'order' cannot be null (SQL: insert into `custom_field_custom_fieldset` (`custom_field_id`, `custom_fieldset_id`, `order`, `required`) values (12, 7, , 0)) [ch1151]
This needs revisiting for a more solid fix, especially for data that was already entered bad.
* Fixed bug where sorting by company name in Users API did not work
Fixes [ch9200]
* Removed custom fields from AssignedSearch to prevent confusing data in selectlist
Fixes [ch9193]
* Removed alert-danger from tests
* Fixed missed consumables_count withCount() statement
* Fixed Undefined variable user in $backto if checked out to a non-user
Fixes [ch9194]
* Check for valid model before attempting to access fieldsets
Fixes [ch1249]
* Only build the log upload destination path if there is a matching record
Fixes [ch1232]
* Fixed free_seats_count variable name
(I forgot that Laravel switched camel case to snake case for their old 5.4 withCount variables)
* Only gtry to delete the file if a record is found in the log
* Only try to get fieldset if model is valid
* Fixed more camel-casing -> snake-casing
* Only display the file if the log record can be found
* Fixed casing in sync command
* Updated README
* Derp - typo
* Added link to Atlassian plugin
* More Atlassian clarifications
* Show accessory image on view page
* Increased image size to 800px, added lightboxes
* Fixed #7083 - Removed user_exists constraint on department save
If the user has been deleted, this prevented the department from being successfully saved on edit
* Updated branch in version file
* Dockerfile update to bring us up to php v7.1 for Laravel 5.5 (#7084 )
* bump up to php7.1
& change deprecated MAINTAINER to a LABEL so it is visible with `docker inspect`
* AND modapache ><
* 2 updates required to get software-properties+ppa
* Bumped version
* Bumped release again :(
* Missed one
* Fixed #7098 - updated backup config for deleteFile() method
* Fixed #7092 - handle weird port forwarding/port numbers for baseUrl
* Bumped version
* Fixed #7099 - set email to null by default for backup notifications
* Removed old comments
* Fixed #7100 - Check if $user isset on checkin
* Increased throttle to 120 requests per minute
* Added Filipino, corrected order for Spanish variations
* Update language strings
* Bumped hash
* Changed has to filled to fix bulk asset editing
* Bumped point version
* Small fixes for phpleague CSB reader v9
* Improved error checking in locations importer
* Fixed #7145 - rename groups table to permissions_group for mysql 8 reserved word compatibility
* Reduce minimum group name length to 2 (from 3)
eg: IT
* Back in time fix FOR #7145 for new installs on MySQL 8+
* Fixed permission insert
//TODO
Handle this via model
* Possible fix for reporting/admin migration back in time
* Fixed #7164 - change table name to permission_groups
* Fixed LDAP password blanking on save
* fixing previous commit's actual wiping of password (#7183 )
replaced Input::fille('ldap_pword') with _filled_. Should be good to go.
https://github.com/snipe/snipe-it/issues/7179
https://github.com/snipe/snipe-it/issues/7169
* Bumped version
* Downgrading rollbar for Laravel 5.5
* Spelling Correction (#7206 )
Fixed Spelling for the word reqrite, to be rewrite.
* Fix #6910 : Add logic to manipulate the eloquent query. (#7006 )
* Added company_id to consumables_users table
* Added logic to manage when a pivot table doesn't have the column company_id trough a join with users
* Remove a migration that tries to fix this problem, but is not longer necessary
* Addresses #7238 - add PWA code to layout
Needs additional UX testing
* Better log message for bad LDAP connection
* Fixed #7186 - has vs filled in User’s API blanking out groups if no group_ids are passed
* Comment clarification on #7186
* Check for valid seat on hardware view
* Added space between footer and custom message
* Cap warranty months to three characters
Filles rollbar 209
* Cap warranty months to 3 on the frontend blade
* Fixed countable() strings on user destroy
* Check that the user has assets and that the aset model is valid
* Bumped hash
* Caps asset warranty to 20 years
* Command to fix custom field unicode conversion differences between PHP versions (#7263 )
* Fixes #7252 form request changes (#7272 )
* Fixes for #7252 - custom fields not validating / no validaton messages in API w/form requests
* Removed debug info
* More fixes for #7252
This is mostly working as intended, if not yet the way Laravel wants us to do it.
Right now, the API returns correctly, and the form UI will return highlighted errors, with the input filled in ~sometimes~. I’m not sure why it’s only sometimes yet, but this is potentially progress.
* Removed experimental method
* Check for digits_between:0,240 for warranty
* Removed debug code
* Apply fix from PR #7273 to master
* Bumped hash
* Fixed #7250 - permission issue for API fieldsets and fields endpoints
This applies the change from #7294 to master
* Add @mskrip as a contributor
* Fixed #7270 - Checking-in Assets via API Removes the Item's Asset Name
* CORS for api (#7292 )
* Added CORS support to API
* Changed order so CORS will still work if throttle hit
* Added APP_CORS_ALLOWED_ORIGINS env option
* Fixed typo
* Clarified header comments
* More clarification
* DIsable CORS allowed origins by default to replicate existing behavior
* Change variable name to be clearer
* Bumped version
* Added condition to deal with fieldname 'rtd_location' which can be tried to be queried in some places and doesn't exist in database (#7317 )
* Added comments to the ByFilter query scope for clarity
* Added accessories checkout/checkin API endpoint
* Fixed CVE-2019-10742
https://nvd.nist.gov/vuln/detail/CVE-2019-10742
* Update README.md (#7334 )
Add reference to CSV importer.
* Group related variables in .env
* History importer fixes
* Fixes to history importer
2019-08-14 21:48:14 -07:00
snipe
8b4a9aa382
Fixes to history importer
2019-08-13 18:15:42 -07:00
snipe
99cd552d5c
History importer fixes
2019-08-13 18:00:21 -07:00
snipe
6c7e5cb9cf
Merge branch 'master' of https://github.com/snipe/snipe-it
2019-08-10 17:49:23 -07:00
snipe
6ebb01a081
Group related variables in .env
2019-08-10 17:48:03 -07:00
Greg Stamper
5591c861b9
Update README.md ( #7334 )
...
Add reference to CSV importer.
2019-08-07 23:12:46 -07:00
snipe
d37280567d
Fixed CVE-2019-10742
...
https://nvd.nist.gov/vuln/detail/CVE-2019-10742
2019-08-06 21:11:38 -07:00
snipe
e7b0ee2539
Added accessories checkout/checkin API endpoint
2019-08-02 15:08:26 -07:00
snipe
1608dba7dd
Commenting again?
2019-07-31 14:29:19 -07:00
snipe
f721dac2ca
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
...
# Conflicts:
# app/Models/Asset.php
2019-07-31 14:26:46 -07:00
snipe
a4629977e7
Added comments to the ByFilter query scope for clarity
2019-07-31 14:24:38 -07:00
snipe
c593b3645c
Added comments to the ByFilter query scope for clarity
2019-07-31 14:24:01 -07:00
Ivan Nieto
28ae90fa8a
Added condition to deal with fieldname 'rtd_location' which can be tried to be queried in some places and doesn't exist in database ( #7317 )
2019-07-31 13:55:21 -07:00
Ivan Nieto
f407b86aa8
Added condition to deal with fieldname 'rtd_location' which can be tried to be queried in some places and doesn't exist in database ( #7318 )
...
💥 Nice work, Ivan!
2019-07-31 13:54:55 -07:00
snipe
c7be25078e
Bumped version
2019-07-26 13:02:47 -07:00
snipe
3dc2cc9f22
CORS for api ( #7292 )
...
* Added CORS support to API
* Changed order so CORS will still work if throttle hit
* Added APP_CORS_ALLOWED_ORIGINS env option
* Fixed typo
* Clarified header comments
* More clarification
* DIsable CORS allowed origins by default to replicate existing behavior
* Change variable name to be clearer
2019-07-26 12:38:31 -07:00
snipe
ab86e42b2e
Fixed #7270 - Checking-in Assets via API Removes the Item's Asset Name
2019-07-26 12:37:38 -07:00
snipe
9af9ed9eb9
Add @mskrip as a contributor
2019-07-24 11:01:28 -07:00
snipe
250a797339
Fixed #7250 - permission issue for API fieldsets and fields endpoints
...
This applies the change from #7294 to master
2019-07-24 11:00:42 -07:00
Marián Skrip
8a1f6b74e8
Fix permission issue for API fieldsets and fields endpoints ( #7294 )
...
Close snipe/snipe-it#7250
2019-07-24 10:57:09 -07:00
snipe
a0f3fc6d76
Bumped hash
2019-07-18 14:37:54 -07:00
snipe
74e647fea7
Apply fix from PR #7273 to master
2019-07-18 14:37:48 -07:00
snipe
55ee90b25d
Fixes #7252 form request changes ( #7272 )
...
* Fixes for #7252 - custom fields not validating / no validaton messages in API w/form requests
* Removed debug info
* More fixes for #7252
This is mostly working as intended, if not yet the way Laravel wants us to do it.
Right now, the API returns correctly, and the form UI will return highlighted errors, with the input filled in ~sometimes~. I’m not sure why it’s only sometimes yet, but this is potentially progress.
* Removed experimental method
* Check for digits_between:0,240 for warranty
* Removed debug code
2019-07-18 14:32:23 -07:00
snipe
eec445fcf5
Command to fix custom field unicode conversion differences between PHP versions ( #7263 )
2019-07-18 14:30:18 -07:00
Ivan Nieto
af1857b6ee
Fix for the issue when the user tries to query assets due for audit without appropiate configuration [ch9625] ( #7273 )
...
* Added propper routes to the controller
* Logic to handle the not setted ->audit_warning_days variable
* Change the variable name for more clarity
* Got rid of the unnecesary if sentence in sake of brevity
* Adding the null coalesce operator so it can properly handle when the setting is null
2019-07-18 14:08:55 -07:00
snipe
cef22c3158
Caps asset warranty to 20 years
2019-07-18 09:49:58 -07:00
snipe
61fb38087e
Bumped hash
2019-07-17 17:55:53 -07:00
snipe
0e93495ca2
Check that the user has assets and that the aset model is valid
2019-07-17 17:51:35 -07:00
snipe
444e250609
Fixed countable() strings on user destroy
2019-07-17 17:51:13 -07:00
snipe
77a6f6f400
Cap warranty months to 3 on the frontend blade
2019-07-17 12:15:15 -07:00
snipe
15bfd07f30
Cap warranty months to three characters
...
Filles rollbar 209
2019-07-17 12:13:15 -07:00
snipe
fecf8015a1
Added space between footer and custom message
2019-07-17 12:09:32 -07:00
snipe
79ab0d8dc2
Check for valid seat on hardware view
2019-07-17 12:09:18 -07:00
snipe
b4b6d6b571
Comment clarification on #7186
2019-07-15 15:31:09 -07:00
snipe
8c73a47afb
Fixed #7186 - has vs filled in User’s API blanking out groups if no group_ids are passed
2019-07-15 15:27:02 -07:00
snipe
f82ffe378c
Merge branch 'master' of https://github.com/snipe/snipe-it
2019-07-15 14:11:18 -07:00
snipe
984c2a8fd4
Better log message for bad LDAP connection
2019-07-15 14:10:57 -07:00
snipe
6736b1c4e7
Addresses #7238 - add PWA code to layout
...
Needs additional UX testing
2019-07-15 13:49:56 -07:00
Ivan Nieto
d409be6d43
Fix #6910 : Add logic to manipulate the eloquent query. ( #7006 )
...
* Added company_id to consumables_users table
* Added logic to manage when a pivot table doesn't have the column company_id trough a join with users
* Remove a migration that tries to fix this problem, but is not longer necessary
2019-07-15 13:02:44 -07:00
Thomas Misilo
e1b33f3087
Spelling Correction ( #7206 )
...
Fixed Spelling for the word reqrite, to be rewrite.
2019-06-27 18:33:13 -07:00
snipe
740d5a6846
Downgrading rollbar for Laravel 5.5
2019-06-25 18:07:21 -07:00
snipe
d19df4ded8
Bumped version
2019-06-24 14:43:44 -07:00
Kasey
03a4512406
fixing previous commit's actual wiping of password ( #7183 )
...
replaced Input::fille('ldap_pword') with _filled_. Should be good to go.
https://github.com/snipe/snipe-it/issues/7179
https://github.com/snipe/snipe-it/issues/7169
2019-06-19 14:21:53 -07:00
snipe
de992e4df3
Fixed LDAP password blanking on save
2019-06-14 17:20:37 -07:00
snipe
a85251aa83
Fixed #7164 - change table name to permission_groups
2019-06-14 10:37:20 -07:00
Diogenes S. Jesus
4c61d330e6
fix Paginator ( #7157 )
2019-06-14 09:54:09 -07:00
snipe
26a1181765
Possible fix for reporting/admin migration back in time
2019-06-12 18:53:53 -07:00
snipe
cef030cf55
Fixed permission insert
...
//TODO
Handle this via model
2019-06-12 18:39:55 -07:00
snipe
2bfa05fd2d
Back in time fix FOR #7145 for new installs on MySQL 8+
2019-06-12 16:24:55 -07:00
snipe
30904dd019
Reduce minimum group name length to 2 (from 3)
...
eg: IT
2019-06-12 15:56:19 -07:00
snipe
1d0d25db37
Fixed #7145 - rename groups table to permissions_group for mysql 8 reserved word compatibility
2019-06-12 15:51:47 -07:00
snipe
cbff66c9db
Improved error checking in locations importer
2019-06-10 18:50:41 -07:00
snipe
27231d49ea
Small fixes for phpleague CSB reader v9
2019-06-03 22:05:16 -07:00
snipe
765417c0be
Bumped point version
2019-05-31 14:17:26 -07:00
snipe
49a255c8fb
Changed has to filled to fix bulk asset editing
2019-05-31 14:11:43 -07:00
snipe
925d3a23c6
Bumped hash
2019-05-31 13:11:07 -07:00
snipe
6966c132d0
Update language strings
2019-05-31 12:17:09 -07:00
snipe
c29ab90029
Added Filipino, corrected order for Spanish variations
2019-05-31 11:58:14 -07:00
snipe
d2bbc09892
Increased throttle to 120 requests per minute
2019-05-31 11:57:57 -07:00
vicleos
c6039cbc1d
Vicleos fix storage namespace ( #6901 )
...
* Update CompaniesController.php
fixed companies destroy error
* fix Storage namespace loss
2019-05-30 19:10:04 -07:00
snipe
74a2c29bc2
Fixed #7100 - Check if $user isset on checkin
2019-05-30 19:06:30 -07:00
snipe
2c64739e8f
Removed old comments
2019-05-30 19:02:20 -07:00
snipe
37f950ab42
Fixed #7099 - set email to null by default for backup notifications
2019-05-29 19:09:37 -07:00
snipe
b07a254e60
Bumped version
2019-05-29 15:51:54 -07:00
snipe
087cdd859e
Fixed #7092 - handle weird port forwarding/port numbers for baseUrl
2019-05-29 14:57:58 -07:00
snipe
829d44bd27
Fixed #7098 - updated backup config for deleteFile() method
2019-05-29 14:47:55 -07:00
snipe
db76090e10
Missed one
2019-05-28 19:12:53 -07:00
snipe
03cf3b5431
Bumped release again :(
2019-05-28 19:12:42 -07:00
snipe
40f101d471
Merge branch 'master' of https://github.com/snipe/snipe-it
2019-05-28 19:08:39 -07:00
snipe
7aa6ef5f6c
Bumped version
2019-05-28 19:08:35 -07:00
Kasey
186b94751d
Dockerfile update to bring us up to php v7.1 for Laravel 5.5 ( #7084 )
...
* bump up to php7.1
& change deprecated MAINTAINER to a LABEL so it is visible with `docker inspect`
* AND modapache ><
* 2 updates required to get software-properties+ppa
2019-05-28 16:58:32 -07:00
snipe
6f2717a876
Updated branch in version file
2019-05-28 13:22:59 -07:00
snipe
a014af4c47
Fixed #7083 - Removed user_exists constraint on department save
...
If the user has been deleted, this prevented the department from being successfully saved on edit
2019-05-28 13:18:31 -07:00
snipe
2dd31544fe
Increased image size to 800px, added lightboxes
2019-05-24 19:11:08 -07:00
snipe
237acdcff0
Show accessory image on view page
2019-05-24 18:22:57 -07:00
snipe
5db7a7c196
More Atlassian clarifications
2019-05-24 18:10:19 -07:00
snipe
68acdff11b
Added link to Atlassian plugin
2019-05-24 18:08:40 -07:00
snipe
58e72e5ee6
Derp - typo
2019-05-24 18:06:15 -07:00
snipe
6b43cd10ba
Updated README
2019-05-24 18:05:28 -07:00
snipe
b2c9a38db8
Fixed casing in sync command
2019-05-24 16:12:43 -07:00
snipe
6dcdb5abae
Only display the file if the log record can be found
2019-05-24 16:06:52 -07:00
snipe
56576d9e45
Fixed more camel-casing -> snake-casing
2019-05-24 16:01:12 -07:00
snipe
d5c3ee5ed0
Only try to get fieldset if model is valid
2019-05-24 15:44:54 -07:00
snipe
18db0a50f1
Only gtry to delete the file if a record is found in the log
2019-05-24 15:44:40 -07:00
snipe
d596ced0a0
Fixed free_seats_count variable name
...
(I forgot that Laravel switched camel case to snake case for their old 5.4 withCount variables)
2019-05-24 15:44:18 -07:00
snipe
78fb2b2239
Only build the log upload destination path if there is a matching record
...
Fixes [ch1232]
2019-05-24 15:28:53 -07:00
snipe
1472e9d5b5
Check for valid model before attempting to access fieldsets
...
Fixes [ch1249]
2019-05-24 15:03:15 -07:00
snipe
fcbc7e4540
Fixed Undefined variable user in $backto if checked out to a non-user
...
Fixes [ch9194]
2019-05-24 14:51:27 -07:00
snipe
93bf541ce7
Fixed missed consumables_count withCount() statement
2019-05-24 14:21:53 -07:00
snipe
0e48d7b080
Removed alert-danger from tests
2019-05-24 14:21:37 -07:00
snipe
1e6c85da41
Removed custom fields from AssignedSearch to prevent confusing data in selectlist
...
Fixes [ch9193]
2019-05-24 13:50:11 -07:00
snipe
c5a23e8f5e
Fixed bug where sorting by company name in Users API did not work
...
Fixes [ch9200]
2019-05-24 13:37:20 -07:00
snipe
b6d2392303
Small fix for reordering fields
...
Fixes Illuminate\Database\QueryException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'order' cannot be null (SQL: insert into `custom_field_custom_fieldset` (`custom_field_id`, `custom_fieldset_id`, `order`, `required`) values (12, 7, , 0)) [ch1151]
This needs revisiting for a more solid fix, especially for data that was already entered bad.
2019-05-24 12:05:52 -07:00
snipe
9995f1a743
Fixed field mapping
2019-05-24 11:45:07 -07:00
snipe
d6f251e992
Updated importer to work with newer CSV Reader::getRecords() method
2019-05-24 11:44:57 -07:00
snipe
4be95eac4b
Removed extra escaping on checkin
2019-05-24 11:44:39 -07:00
snipe
8914d14681
Tidied up license check
2019-05-24 05:26:52 -07:00
snipe
d4725b61be
Check that a model exists before trying to fiddle with fieldsets
2019-05-24 04:48:04 -07:00
snipe
aa0b627fe7
Fixed missing asset validation
2019-05-24 04:47:35 -07:00
snipe
5be5e3271d
Trying to fix ajax asset validation
...
This I think gets us closer, but still not handling the validation on the asset properly.
When I do a print_r of the validation in the other items, its looking for an error bag that looks something like this:
```
Illuminate\Support\MessageBag Object
(
[messages:protected] => Array
(
[name] => Array
(
[0] => The name field is required.
)
[seats] => Array
(
[0] => The seats field is required.
)
[category_id] => Array
(
[0] => The category id field is required.
)
)
[format:protected] => :message
)
```
Currently the Assets ajax returns:
```
[2019-05-24 06:52:06] develop.ERROR: array (
'messages' =>
array (
'model_id' =>
array (
0 => 'The model id field is required.',
),
'status_id' =>
array (
0 => 'The status id field is required.',
),
'asset_tag' =>
array (
0 => 'The asset tag field is required.',
),
),
)
```
So not sure why it’s not working.
2019-05-24 03:55:31 -07:00
snipe
dd5d5cc07c
Handle JSON validation errors like 5.4
2019-05-24 01:12:38 -07:00
snipe
84c3709161
Handle JSON validation errors like 5.4
2019-05-24 01:12:21 -07:00
snipe
96e2d74ae3
Handle JSON validation errors like 5.4
2019-05-24 00:46:30 -07:00
Steffen
27dcb4d27b
Allow empty filter (=== '' doesn't work) ( #6999 )
2019-05-23 19:59:27 -07:00
sreyemnayr
f85ac97d8c
Feedback for Kits; Fix checkins for accessories ( #7060 )
...
* Kits feedback
* Fix accessory checkin
2019-05-23 19:39:30 -07:00
snipe
bf93e8cc32
Use getReader instead of fetchAssoc for CSV parser
...
https://csv.thephpleague.com/9.0/upgrading/
2019-05-23 19:09:58 -07:00
snipe
d1a8955ef9
Bumped packages
2019-05-23 19:09:14 -07:00
snipe
149ac4bdf8
Removed cosole log
2019-05-23 17:52:53 -07:00
snipe
2d036c64e9
Change ->has() to ->filled()
2019-05-23 17:39:50 -07:00
snipe
8db2470ac4
Switch has() to filled()
2019-05-23 17:17:46 -07:00
snipe
79156ff8f4
Bumped version
2019-05-23 17:10:47 -07:00
snipe
8e86d780bf
Fix for included files in backup
2019-05-23 17:08:51 -07:00
snipe
f6ef139111
Fixed baseUrl is undefined error
...
I literally cannot figure out how this ever worked before.
2019-05-23 16:56:22 -07:00
snipe
12ec2d1f7a
Fixed custom field edit screen
2019-05-22 01:07:14 -07:00
snipe
0dfc28b0e8
Bumped laravel version in readme
2019-05-22 01:04:42 -07:00
snipe
b3132a4a8f
Updated travis with new php versions
2019-05-22 01:03:11 -07:00
snipe
6cd25fbdeb
Updated backup path in backup admin
2019-05-22 00:56:14 -07:00
snipe
4be8ba9f17
Updated withCount to use manual naming
2019-05-22 00:52:51 -07:00
snipe
df8008f1ed
Renamed fire() to handle()
2019-05-22 00:52:32 -07:00
snipe
77547c528b
Added the command loader to console kernel
2019-05-22 00:52:14 -07:00
snipe
bfb910f375
Set the serialization
2019-05-22 00:51:43 -07:00
snipe
57e80ee317
Removed old laravel backups config
...
This config file was renamed in a newer version of spatie laravel-backup
2019-05-22 00:51:33 -07:00
snipe
de1189295a
Added spatie language files
2019-05-22 00:51:00 -07:00
snipe
20d0dce73e
Use laravel v5.5 withCount manual aliases
2019-05-22 00:50:48 -07:00
snipe
144a32b1ca
Removed debugbar service provider (autodiscovery)
2019-05-22 00:50:00 -07:00
snipe
8244a2ad23
New backups config for spatie
2019-05-22 00:49:38 -07:00
snipe
77c3b8f8c1
Updated packages
2019-05-22 00:07:49 -07:00
snipe
7b34cf1a31
Bumped version
2019-05-21 19:17:56 -07:00
snipe
21ec670531
Updated language strings
2019-05-21 19:17:00 -07:00
snipe
b2eacb147b
Fixed #7046 - added user website url back into UI
2019-05-21 18:55:12 -07:00
snipe
729e3eb70d
Updated email strings
2019-05-21 18:43:00 -07:00
snipe
978533b2f4
Fixed XSS vulnerability when creating a new categories, etc via modal on create
...
Same fix as before, because of the weird select2 post-parsing ajax behavior
2019-05-21 18:29:50 -07:00
snipe
0358d13ddb
Fixed #7044 - API update deleted custom fields if they are not re-presented
2019-05-20 11:49:18 -07:00
snipe
c944304444
Updated packages
...
- Updating erusev/parsedown (v1.7.2 => 1.7.3): Downloading (100%)
- Updating squizlabs/php_codesniffer (3.4.1 => 3.4.2): Downloading (100%)
- Updating symfony/polyfill-mbstring (v1.10.0 => v1.11.0): Downloading (100%)
- Updating symfony/var-dumper (v3.4.23 => v3.4.27): Downloading (100%)
- Updating league/flysystem (1.0.50 => 1.0.51): Downloading (100%)
- Updating symfony/translation (v3.4.23 => v3.4.27): Downloading (100%)
- Updating nesbot/carbon (1.36.2 => 1.37.1): Downloading (100%)
- Updating symfony/debug (v3.4.23 => v3.4.27): Downloading (100%)
- Updating symfony/console (v3.4.23 => v3.4.27): Downloading (100%)
- Updating symfony/finder (v3.4.23 => v3.4.27): Downloading (100%)
- Updating symfony/polyfill-ctype (v1.10.0 => v1.11.0): Downloading (100%)
- Updating symfony/polyfill-php70 (v1.10.0 => v1.11.0): Downloading (100%)
- Updating symfony/http-foundation (v3.4.23 => v3.4.27): Downloading (100%)
- Updating symfony/event-dispatcher (v3.4.23 => v3.4.27): Downloading (100%)
- Updating symfony/http-kernel (v3.4.23 => v3.4.27): Downloading (100%)
- Updating symfony/process (v3.4.23 => v3.4.27): Downloading (100%)
- Updating symfony/routing (v3.4.23 => v3.4.27): Downloading (100%)
- Updating symfony/polyfill-util (v1.10.0 => v1.11.0): Downloading (100%)
- Updating symfony/polyfill-php56 (v1.10.0 => v1.11.0): Downloading (100%)
- Updating symfony/psr-http-message-bridge (v1.1.1 => v1.1.2): Downloading (failed)
Downloading (100%)
- Updating rollbar/rollbar (v1.7.5 => v1.8.1): Downloading (100%)
- Updating symfony/yaml (v3.4.23 => v3.4.27): Downloading (100%)
- Updating symfony/browser-kit (v3.4.23 => v3.4.27): Downloading (100%)
2019-05-20 10:10:46 -07:00
Bob Clough
096393389c
Fixes #5054 : LDAP users deactivated for none-ad ( #7032 )
...
When using none-AD ldap, users are automatically deactivated every LDAP
sync. This commit changes the behaviour so that if the active flag isn't set,
the users are enabled.
Fixed #5054 , at least for 4.X
2019-05-16 09:31:55 -07:00
snipe
9eb7b668d1
Fixed #6880 - correctly encrypt encrypted fields via the API
2019-05-15 19:33:30 -07:00
snipe
6728089106
Fixed #6883 - remove escaping of fields on LDAP import
2019-05-15 19:15:41 -07:00
snipe
33b59d7bed
Bumped version
2019-05-15 16:45:07 -07:00
snipe
888bdbdb68
Added ability to update groups via API
...
Fixes [ch9139]
2019-05-15 16:39:34 -07:00
Ivan Nieto
e40a5a70a5
RTF support added ( #7024 )
...
* Added the Gatte Facade to AssetsController
* Added the filetype RTF in the modal to upload files
* Added validation of RTF files
2019-05-15 15:47:40 -07:00
snipe
d67c931f6a
Import locations from CSV via command line ( #7021 )
...
* Added import locations command
* Small fixes to location importer
* Added country, LDAP OU
* Cleaned up comments, added more clarification to what the script does
2019-05-13 02:27:19 -07:00
snipe
dbdc511eff
Merge branch 'master' of https://github.com/snipe/snipe-it
2019-05-08 09:23:58 -04:00
snipe
f47b960566
Added API middleware to API routes to enable throttling
...
TODO: Figure out how to make this costumizable without touching the code
2019-05-08 09:23:54 -04:00
snipe
d016076806
Fixed #6956 - viewKeys policy inconsistent ( #7009 )
...
* Fixed #6956 - Added additional gates show showing/hiding license keys
* Modified gate to allow user to see licenses if they can create or edit the license as well
2019-05-08 08:14:49 -04:00
snipe
23fa5d0bf4
Fixed #7003 - crash when warranty months or purchase date is null
2019-05-07 15:33:57 -04:00
Joris van Eijden
486c708911
Leave the activated state for users alone in normal LDAP synchronisation. ( #6988 )
2019-05-06 09:40:53 -04:00
snipe
407445456a
Merge branch 'features/6204_email_audit-alerts' into develop
...
# Conflicts:
# app/Console/Commands/LdapSync.php
# app/Console/Kernel.php
# app/Http/Controllers/Auth/LoginController.php
# app/Http/Controllers/LicensesController.php
# composer.json
# composer.lock
# config/version.php
# resources/views/auth/two_factor_enroll.blade.php
2019-05-06 08:45:13 -04:00
snipe
e5c2d77c7d
Fixes #6204 - added email alerts and web/API access to assets due for audits ( #6992 )
...
* Added upcoming audit report
TODO: Fid diff/threshold math
* Added route to list overdue / upcoming assets via API
* Controller/API methods for due/overdue audits
We could probably skip this and just handle it via view in the routes…
* Added query scopes for due and overdue audits
* Added audit due console command to kernel
* Added ability to pass audit specs to main API asset search method
* Added audit presenter
* Added bootstrap-tables presenter formatter to display an audit button
* Added gated sidenav items to left nav
* Added audit due/overdue blades
* Cleanup on audit due/overdue console command
* Added language strings for audit views
* Fixed :threshold placeholder
* Removed unused setting variable
* Fixed next audit date math
* Added scope for both overdue and upcoming
* Derp. Wrong version
* Bumped version
(I will release this version officially tomorrow)
2019-05-05 22:32:52 -04:00
snipe
c6d3c031c7
Bumped version
...
(I will release this version officially tomorrow)
2019-05-05 22:32:01 -04:00
snipe
a86409868e
Derp. Wrong version
2019-05-05 22:31:43 -04:00
snipe
e4a298ca2a
Added scope for both overdue and upcoming
2019-05-05 22:13:30 -04:00
vicleos
ab8792a13d
Update CompaniesController.php ( #6900 )
...
fixed companies destroy error
2019-05-05 20:57:28 -04:00
snipe
00a8a2aff3
Fixed next audit date math
2019-05-05 20:00:05 -04:00
snipe
7497eaf302
Removed unused setting variable
2019-05-05 19:58:08 -04:00
snipe
7d416d1175
Fixed :threshold placeholder
2019-05-05 19:57:23 -04:00
snipe
e9b9301efb
Added language strings for audit views
2019-05-05 19:35:20 -04:00
snipe
7b194c678c
Cleanup on audit due/overdue console command
2019-05-05 19:22:08 -04:00
snipe
4369d6adc6
Added audit due/overdue blades
2019-05-05 19:21:48 -04:00
snipe
69614a7db4
Added gated sidenav items to left nav
2019-05-05 19:21:26 -04:00
snipe
8154d1116c
Added bootstrap-tables presenter formatter to display an audit button
2019-05-05 19:21:06 -04:00
snipe
05a85c628f
Added audit presenter
2019-05-05 19:20:17 -04:00
snipe
0f0ffd39a8
Added ability to pass audit specs to main API asset search method
2019-05-05 19:19:56 -04:00
snipe
996a4cc29b
Added audit due console command to kernel
2019-05-05 19:15:24 -04:00
snipe
0e234bac70
Added query scopes for due and overdue audits
2019-05-05 19:14:02 -04:00
snipe
ab060288fa
Controller/API methods for due/overdue audits
...
We could probably skip this and just handle it via view in the routes…
2019-05-05 19:13:37 -04:00
snipe
52c9e8ad96
Added route to list overdue / upcoming assets via API
2019-05-05 19:11:28 -04:00
snipe
e46cccdf90
Added upcoming audit report
...
TODO: Fid diff/threshold math
2019-05-04 17:52:17 -04:00
ajsy
a714cd357f
Update web.php
2019-05-03 15:22:05 +03:00
ajsy
0cdc7af611
Update print.blade.php
2019-05-03 15:22:01 +03:00
ajsy
9b3a8c046c
Update LocationsController.php
2019-05-03 15:21:57 +03:00
snipe
ce16eae508
Merge branch 'master' of https://github.com/snipe/snipe-it
2019-05-02 15:20:52 -07:00
snipe
dc73dbfbfd
Fixed #6911 - note must be a string on license checkin
2019-05-02 15:20:47 -07:00
ajsy
878cfee5a2
Revert "Delete print.blade.php"
...
This reverts commit a0721412fa .
2019-04-20 09:28:48 +03:00
ajsy
a0721412fa
Delete print.blade.php
2019-04-19 15:50:05 +03:00
ajsy
52add03e56
Update print.blade.php
...
replace string in serial number with x except last five character
2019-04-19 15:43:40 +03:00
ajsy
c974968821
Update view.blade.php
2019-04-19 14:03:09 +03:00
ajsy
5dcf9fbb50
Update web.php
2019-04-19 13:20:44 +03:00
ajsy
f2242fa32e
Update view.blade.php
2019-04-19 13:20:41 +03:00
ajsy
38e8028300
Update LocationsController.php
2019-04-19 13:20:37 +03:00
ajsy
7a68187466
Update table.php
2019-04-19 13:20:31 +03:00
snipe
dae26e0378
Remove “Imported from LDAP” note override
2019-04-18 17:56:08 -04:00
snipe
1bb1f7342f
Fixed #6922 - date_add crashing if EOL is null
2019-04-18 15:49:59 -04:00
snipe
420e8bc85a
Allow phone number to be changed in Profile
2019-04-18 14:13:50 -04:00
snipe
a521523d45
Truncate imports table on seed
2019-04-18 14:13:33 -04:00
snipe
ded1a59914
Removed help text for email images (since we embed them by default now)
...
Added help text for username format
2019-04-02 18:22:31 -07:00
snipe
fe553aec02
Added first-initial dot lastname format for usernames/email
...
Fixed [ch1379]
2019-04-02 18:21:54 -07:00
snipe
37b8029d04
Fixed parse error on label settings
...
Also fixed [ch1362] - moving left/right
2019-04-02 18:04:31 -07:00
Ivan Nieto
b1f96448af
Remove old redundant code in LicensesController, added an offset to AccessoriesController for pagination to work correctly ( #6847 )
2019-04-02 10:13:58 -07:00
Martin Meredith
b779e274cc
Fix usage of Google2FA Facade ( #6864 )
2019-03-27 22:01:38 -07:00
Martin Meredith
83257af267
Fix imports for 2FA Login ( #6855 )
2019-03-26 14:10:56 -07:00
snipe
109a29b5fc
Fix error in tests
2019-03-20 04:39:50 -07:00
snipe
d01f9a701c
Fix double-encoding issue?
...
I assume there’s something new in Laravel 5.7/5.8 that’s causing the double escaping. I’m not seeing it everywhere, which is more confusing, TBH. :-/
2019-03-20 04:12:03 -07:00
snipe
25884a893e
Bumped version
2019-03-20 02:41:33 -07:00
snipe
d1e9fbfa24
Updated compoer
2019-03-20 02:37:44 -07:00
snipe
53419b33a5
Compiled assets
2019-03-20 02:35:32 -07:00
snipe
d429a1c423
Bumped version
2019-03-20 02:32:32 -07:00
snipe
fe0bda0d04
Updated composer
2019-03-20 02:31:13 -07:00
snipe
acb90c7aee
Horrible master -> dev merge that makes baby jesus cry :(
...
# Conflicts:
# app/Http/Controllers/Auth/LoginController.php
# composer.json
# composer.lock
# resources/views/auth/two_factor_enroll.blade.php
2019-03-20 02:24:23 -07:00
snipe
bca82684a1
Merge branch 'hotfixes/2fa_qr' into develop
...
# Conflicts:
# .all-contributorsrc
# Dockerfile
# README.md
# app/Console/Commands/LdapSync.php
# app/Http/Controllers/Api/ImportController.php
# app/Http/Controllers/AssetModelsController.php
# app/Http/Controllers/Assets/AssetsController.php
# app/Http/Controllers/Auth/LoginController.php
# app/Http/Controllers/CategoriesController.php
# app/Http/Controllers/CompaniesController.php
# app/Http/Controllers/DepartmentsController.php
# app/Http/Controllers/ImportsController.php
# app/Http/Controllers/LocationsController.php
# app/Http/Controllers/ManufacturersController.php
# app/Http/Controllers/SuppliersController.php
# app/Http/Requests/ItemImportRequest.php
# app/Http/Transformers/ActionlogsTransformer.php
# composer.json
# composer.lock
# config/app.php
# config/version.php
# docker/startup.sh
# public/css/build/all.css
# public/css/dist/all.css
# public/js/build/all.js
# public/js/build/vue.js
# public/js/build/vue.js.map
# public/js/dist/all.js
# public/mix-manifest.json
2019-03-20 02:17:02 -07:00
snipe
da015ec4a8
Fixed #6834 and #6402 - use inline QR code generation for 2FA ( #6840 )
...
* Fixed #6834 and #6402 - use inline QR code generation for
* Update auth controllers to use translations
* Updated composer lock
* Added comments
* Moar comments
* Typo
2019-03-20 01:24:31 -07:00
snipe
335e8ffaaa
Typo
2019-03-20 01:22:20 -07:00
snipe
8d0ee9e531
Moar comments
2019-03-20 01:21:34 -07:00
snipe
cc5c7d33e7
Added comments
2019-03-20 01:14:58 -07:00
snipe
69c61420f6
Updated composer lock
2019-03-20 00:50:15 -07:00
snipe
5699e021de
Update auth controllers to use translations
2019-03-20 00:50:09 -07:00
snipe
cf92618c70
Fixed #6834 and #6402 - use inline QR code generation for
2019-03-20 00:49:44 -07:00
snipe
a874dbb0d0
Working attempt, but will try with old library for mininal footprint
2019-03-19 23:18:16 -07:00
snipe
0614ab4362
Upgraded pragmarx/google2fa
2019-03-19 23:10:49 -07:00
snipe
8ed268819e
Fixed XSS
2019-03-18 21:09:57 -07:00
snipe
1451b4f45d
Merge branch 'master' of https://github.com/snipe/snipe-it
2019-03-18 20:51:11 -07:00
snipe
b6da68a69c
Bumped version
2019-03-18 20:50:47 -07:00
snipe
dee92cfc6c
Fixes XSS vulnerabilities ( #6831 )
...
* Properly escape log_meta values
* Vue syntax fix to allow npm run dev to work again
* Janky fix for Select2 bug
* Compiled production assets
* Escape user’s last name in API
* Removed duplicate alertClass
* Compiled production assets
2019-03-18 20:49:32 -07:00
snipe
dec77890bd
Merge branch 'master' of https://github.com/snipe/snipe-it
2019-03-18 11:59:48 -07:00
snipe
0e1289f12f
Fixes #6821 - fixed 2 fa active for users list ( #6822 )
...
* Fixed #6821 - confusing UI for 2FA when 2FA is universally enforced
I also updated the language in the user’s listing table to clarify what “activated” means
* Added login enabled info to user view
* Clarified comments
* Added info about 2FA on user profile
Because why not
* Added nowrap to table, and added 2FA reset for superadmins
2019-03-18 11:59:02 -07:00
Martin Meredith
1d26195821
Add models IDE helper to .gitignore ( #6829 )
2019-03-18 11:58:33 -07:00
snipe
7b33f95e83
Fixes/import permissions mask ( #6826 )
...
* Check for empty headers in import
* Added import permission
* Fixed model path in docblock
* Added import gate to default blade
* Check if the user is an admin OR idf they have import permissions
* Walked back that admin permission
Since admins are bound by full company support, it makes less sense to let admins have this permission by default, versus having them specifically designated to the import permission
2019-03-18 11:58:08 -07:00
snipe
ab6744dfba
Merge branch 'master' of https://github.com/snipe/snipe-it
2019-03-14 15:38:20 -07:00
snipe
0fd940ffa4
Check for empty headers in import
2019-03-14 15:38:07 -07:00
Ivan Nieto
bebdbdfb87
Fix #6763 . Import Stuck Processing - Error - Can only flip STRING and INTEGER values! ( #6804 )
...
* Added validation for errors when the Import Field to map isn't setted
* A slightly correction to the error message
* Added the translation strings for the Error Message
2019-03-14 12:32:40 -07:00
Tim Farmer
5893e25b43
Label bugs in alerts settings ( #6808 )
...
* Label bugs in alerts settings
Found another label bug where the alert_email label should be alerts_enabled.
* Update alerts.blade.php
2019-03-14 10:53:05 -07:00
snipe
26c0cf5d33
Allow null for logCheckin $action_date
2019-03-14 01:22:29 -07:00
snipe
239f21b0d7
Set null option for $action_date
2019-03-14 01:09:16 -07:00
snipe
0b927623e8
Added “record created” string for clarification in asset/license history
2019-03-13 22:06:57 -07:00
snipe
96f069c417
Change action_datwe to datetime in transformer
2019-03-13 21:57:06 -07:00
snipe
60e52cc927
Make action_date a datetime
2019-03-13 21:53:56 -07:00
snipe
9f79028391
Fixed copypasta in email_logo down() method
2019-03-13 21:53:45 -07:00
Ivan Nieto
c7f48951a9
Valo/checkin date in history of asset ( #6733 )
...
* To see checkin/checkout Date in History of Asset
* Added some logic to get today's date if the checkin_at input is blank
* Updating the action_date taking the value from the action_log table
* Hide created_at field and rename 'Action Date' as only 'Date'
2019-03-13 21:36:32 -07:00
Marián Skrip
8d63533205
Add write-only image_source field for asset create/edit API endpoint ( #6146 )
...
`image_source` should contain base64 encoded image data with mime-type.
2019-03-13 21:00:40 -07:00
Ivan Nieto
8c65214b1f
Ignore the soft deleted assets in the eloquent query ( #6824 )
2019-03-13 20:14:30 -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
55f727ef28
Fixed HTML labels on alerts setting page
...
Originally https://github.com/snipe/snipe-it/pull/6808/ by @timothyfarmer - I also updated the error class logic in the same block
2019-03-13 19:53:23 -07:00
snipe
6c71e72dcd
Fixed labels labels (wha?)
...
Wrong HTML labels for some fields in the Settings > Labels page.
Originally https://github.com/snipe/snipe-it/pull/6809 by @timothyfarmer but it was made against the wrong branch
2019-03-13 19:50:35 -07:00
snipe
79f4f46e3a
Add @timothyfarmer as a contributor
2019-03-13 19:45:40 -07:00
snipe
fddf0cdd15
Added hungary time format
2019-03-13 19:45:30 -07:00
snipe
7c3bbe3097
Fixes #6776 hungary date format ( #6823 )
...
* Add @timothyfarmer as a contributor
* Fixed #6776 - added hungary time format
2019-03-13 19:39:38 -07:00
snipe
858d382e26
Changed logging to info level for LDAP
2019-03-13 15:14:03 -07:00
snipe
de16fee00a
Change image unlink error log to info from error
2019-03-13 12:22:12 -07:00
snipe
8efbde61c9
Merge branch 'fixes/kit_fixes' into develop
2019-03-13 12:16:20 -07:00
snipe
2c79ed5fc1
Added kit permissions
2019-03-13 12:15:54 -07:00
snipe
1b0d855c00
Added translation, removed commented out code
2019-03-13 12:15:48 -07:00
Martin Meredith
f403db274a
(develop) Fix asset auto-incrementation ( #6806 )
...
* Fix auto-increment not updating
This is due to the addition of caching for settings. If we're not
explicitly saving the Settings model, then the cache isn't getting
updated, causing the asset tag auto-increment to get an old cached
version with the wrong number
* Move Setting cache clear to an observer
2019-03-13 10:58:35 -07:00
Martin Meredith
a462e91983
(develop): Fix failing Unit Tests ( #6807 )
...
* Reference correct class for Licence Model
* Make sure we activate users in test to send Welcome Notification
2019-03-13 10:57:43 -07:00
ajsy
57c0f69286
Update LocationsController.php
2019-03-09 13:45:19 +03:00
ajsy
03c5b8e4ab
Create print.blade.php
2019-03-09 11:36:42 +03:00
ajsy
311dd18443
Update LocationsController.php
2019-03-09 11:34:47 +03:00
ajsy
a958d56590
Update view.blade.php
2019-03-09 11:29:06 +03:00
ajsy
c11e93b72f
Update web.php
2019-03-09 11:14:24 +03:00
snipe
7e8d337ed5
Moved kit icon
2019-03-08 16:49:05 -08:00
snipe
400907cc40
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2019-03-08 16:24:12 -08:00
snipe
74f33441d3
Merge branch 'VELIKII-DIVAN-develop' into develop
2019-03-08 16:23:53 -08:00
snipe
61afdeac2e
Merge branch 'develop' of https://github.com/VELIKII-DIVAN/snipe-it into VELIKII-DIVAN-develop
2019-03-08 16:18:48 -08:00
Martin Meredith
55cbbf2b00
Fixes #6794 : Fix URLs to access some 'missing' images ( #6795 )
...
* Fix image path for Model view
* Fix URLs for images in account view
* Fix Supplier view Image URL
2019-03-08 12:47:37 -08:00
Martin Meredith
daf6d98a3b
Remove test data for Pie ( #6793 )
2019-03-08 12:46:47 -08:00
Tim Farmer
7deab0f53b
Label bugs in general settings ( #6801 )
...
* checkbox label bug
The checkbox label in general settings for require_accept_signature was set to full_multiple_companies_support instead so when you click the label for require accept signature it would check the wrong box.
* Update general.blade.php
* Update general.blade.php
Another label that is wrong in general settings
2019-03-08 12:24:24 -08:00
Jonathon Reinhart
e59ec8b27f
Run Laravel schedule in docker image using supervisord ( #6606 )
...
* docker: Rename /entrypoint.sh to /startup.sh
This script is not configured as the docker image ENTRYPOINT, thus it is
misleading to name it so.
* docker: Terminate supervisord if a process enters the FATAL state
By terminating PID 1, this will also terminate the Docker container.
* docker: Use supervisord to start up apache and cron
Note that this uses `apache2ctl -DFOREGROUND` rather than manually
sourcing /etc/apache2/envvars and running apache2, as recommended at
https://advancedweb.hu/2018/07/03/supervisor_docker/ .
* docker: Add artisan schedule:run to crontab
This also switches to executing /var/www/html/artisan directly.
* docker: Run artisan schedule:run directly from supervisor
This has the following benefits over using cron:
- Cron doesn't need to be installed
- Docker-provided environment variables are preserved
- It's easy and explicit to run as the docker user
2019-03-07 12:42:00 -08:00
snipe
ab1f34604e
Add @Mezzle as a contributor
2019-03-06 18:46:36 -08:00
Martin Meredith
0840ab41d5
Hotfix: Fix ability to create assets ( #6790 )
2019-03-06 16:37:58 -08:00
snipe
5293cb30bd
Merge branch 'fixes/only_present_image_url_if_image_present_in_profile_api' into develop
2019-03-05 23:54:08 -08:00
snipe
6d98bd6846
Fixed error if item requested or request was deleted ( #6786 )
...
ch628
2019-03-05 23:47:36 -08:00
snipe
0b0813b260
Fixed error if item requested or request was deleted
...
ch628
2019-03-05 23:46:40 -08:00
snipe
6f1a70ee09
Fixed ch1086 - Merge branch 'fixes/search_consumables_by_item_number' into develop
...
# Conflicts:
# app/Http/Controllers/Api/UsersController.php
2019-03-05 23:23:46 -08:00
snipe
58768e5aee
Added ability to search consumables by item number ( #6785 )
...
Fixes ch1086
2019-03-05 23:21:22 -08:00
snipe
3b41aa52c8
Added ability to search consumables by item number
...
Fixes ch1086
2019-03-05 23:20:16 -08:00
snipe
c211cc733c
Bumped hash
2019-03-05 21:26:24 -08:00
snipe
28a450ea25
Added ability to do full name search in user dropdown selectlist ( #6784 )
2019-03-05 21:13:39 -08:00
snipe
6696685d0b
Merge branch 'fixes/full_name_search_user_selectlist' into develop
...
# Conflicts:
# app/Http/Controllers/Api/UsersController.php
# routes/api.php
2019-03-05 20:57:10 -08:00
snipe
f065bd7784
Added ability to do full name search in user dropdown selectlist
2019-03-05 20:40:05 -08:00
Steffen
de39906cae
Put file contents instead of file object (creates subdirectory with a single file) ( #6760 )
2019-03-05 12:08:18 -08:00
snipe
1393f44070
Create FUNDING.yml
2019-03-04 23:57:17 -08:00
snipe
27280b8866
Added link to marksman
2019-03-01 17:41:02 -08:00
snipe
8016939f31
Merge branch 'master' of https://github.com/snipe/snipe-it
2019-03-01 17:39:55 -08:00
snipe
c1ad2f9376
Added link to Marksman - A Windows agent for Snipe-IT
...
Per https://github.com/Scope-IT/marksman/issues/9#issuecomment-468275142
2019-03-01 17:39:50 -08:00
snipe
288cc01c41
Merge branch 'features/accessories_users' into develop
...
# Conflicts:
# app/Http/Controllers/Api/UsersController.php
# config/version.php
# routes/api.php
2019-03-01 17:30:03 -08:00
snipe
9575cd2651
Add accessories endpoint to user API ( #6775 )
2019-03-01 17:21:03 -08:00
snipe
348c13f318
Add accessories endpoint to user API
2019-03-01 16:31:22 -08:00
Steffen
e1907e30b1
Allow multiple upload fields and add logo option to labels ( #6736 )
...
* Change upload js to work with multiple upload elements on a single page
* Change uploadFile in upload modal and form partial
* Change uploadFile to js-uploadFile to avoid potential issues in the future
* Remove duplicate style attribute causing webpack to fail
* Missed a css class in rename to js- prefix
* - Move logo uploads to partial for eaiser usage
- Add label logo
- Add css classes to label elements
- Change label prefix text (M: S: ...) to css::before content for easy removal in config
* Add more css classes to labels
* Allow unescaped " (quot) in css ouput
* Add max size param to partial, set defaults for allowedType and size
2019-03-01 15:25:42 -08:00
Dmitrii Minaev
16bb784e78
Codestyle & bug fixes
2019-02-28 01:37:58 +03:00
snipe
c47fa5ad1c
Fixed missing @endcan
2019-02-26 19:14:28 -08:00
Dmitrii Minaev
d3c320e56f
Code comments and format
2019-02-23 22:44:03 +03:00
snipe
cf086b711e
Merge branch 'master' of https://github.com/snipe/snipe-it
2019-02-22 13:24:58 -08:00
snipe
53db96edad
Bumped minor version
2019-02-22 13:24:45 -08:00
snipe
983a9a4e0e
Fixes/integrity constraint ( #6755 )
...
* Migration to fix nullables
This should fix an issue introduced in 90cddb7aee where we’re passing null instead of an empty string (necessary to nullify values via the API)
* Removed asset migration - serial was already fixed
2019-02-22 13:21:31 -08:00
snipe
3b62c4a83a
Fixes/integrity constraint ( #6754 )
...
* Migration to fix nullables
This should fix an issue introduced in 90cddb7aee where we’re passing null instead of an empty string (necessary to nullify values via the API)
* Removed asset migration - serial was already fixed
2019-02-22 13:20:42 -08:00
snipe
d0659bed35
Removed duplicate migration
2019-02-20 21:39:52 -08:00
snipe
f7e976cce9
Merge branch 'fixes/make_serial_nullable' into develop
2019-02-20 21:05:18 -08:00
snipe
5f3147cf36
Added support for enum that was added :(
2019-02-20 21:04:03 -08:00
snipe
1573e2a91f
Bumped hash
2019-02-20 20:52:08 -08:00
snipe
86a6322562
Merge branch 'fixes/make_serial_nullable' into develop
...
# Conflicts:
# app/Http/Controllers/Api/ConsumablesController.php
# config/version.php
2019-02-20 20:48:51 -08:00
snipe
738896bdc2
Make serial nullable
...
Guessing this is new due to later versions of mysql
2019-02-20 20:47:14 -08:00
Dmitrii Minaev
5f3a0bdea5
app\Services\PredefinedKitService.php rename to app\Services\PredefinedKitCheckoutService.php
...
add accessories and consumables tables
add selectlist api to:
app\Http\Controllers\Api\AccessoriesController.php
app\Http\Controllers\Api\ConsumablesController.php
app\Http\Controllers\Api\LicensesController.php
templates for selectlist
apply kit to user works
2019-02-19 22:19:00 +03:00
snipe
e2834fab90
Bumped minor version
2019-02-16 11:48:20 -08:00
snipe
b91ba47b0e
Fixed migration
2019-02-16 11:42:35 -08:00
snipe
d687e1d762
Fixed #6725 - revert auro_increment_prefix to string
...
This was mis-migrated as boolean.
It’s essentially a duplicate migration, as it is fixed in-place on the existing migration, and then a new migratio was created to handle anyone who already upgraded.
2019-02-16 11:37:05 -08:00
snipe
6256abddf2
Bumped point release
2019-02-14 15:07:11 -08:00
snipe
0242b3ec74
Handled JS cookie offset issue on the server side
...
We may want to handle this via the blades instead, as I’m not sure if API users will run into weirdness here.
2019-02-14 15:01:34 -08:00
snipe
b26fbf986f
Fixed issue where offset could be greater than total items, resulting in “No results” confusion
2019-02-14 14:49:08 -08:00
snipe
5c9b1ed43a
Fixed #6676 - consumables API not respecting category id
2019-02-14 14:48:43 -08:00
snipe
2b6675138e
Added autolabeler for PRs
...
https://github.com/probot/autolabeler
2019-02-14 13:57:07 -08:00
snipe
2624b8c827
Added weekly digest app for repo
...
https://github.com/apps/weekly-digest
2019-02-14 13:52:56 -08:00
snipe
bfc1ebc4ba
Merge branch 'fixes/auto_increment_prefix' into develop
2019-02-14 13:09:40 -08:00
snipe
14eb6b387b
Possible fix for #6710 - explicitly make auto_increment_prefix nullable ( #6716 )
...
* Possible fix for #6710 - explicitly make auto_increment_prefix nullable
* Added migration to make auto_increment_prefix explicitly nullable
2019-02-14 12:46:09 -08:00
snipe
6b106e48e9
Added migration to make auto_increment_prefix explicitly nullable
2019-02-14 12:45:21 -08:00
snipe
18c591f993
Possible fix for #6710 - explicitly make auto_increment_prefix nullable
2019-02-14 12:30:18 -08:00
snipe
0000f487ac
Merge remote-tracking branch 'origin/fixes/password_confirmation_6703' into develop
...
# Conflicts:
# config/version.php
2019-02-13 23:02:21 -08:00
snipe
35ebe33e4e
Fixed #6703 - fixes password confirmation ( #6711 )
...
* Fixed #6703 - fixes password confirmation
* Removed debugging
* Fixed tests
* I guess we use 10 as the settings for password min in tests
* One more try to fix tests - confirmation won’t validate until password validates
2019-02-13 23:01:19 -08:00
snipe
c3c4ad1ae6
One more try to fix tests - confirmation won’t validate until password validates
2019-02-13 22:45:05 -08:00
snipe
a4420efb7d
I guess we use 10 as the settings for password min in tests
2019-02-13 22:13:32 -08:00
snipe
d24851c5d8
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2019-02-13 22:04:58 -08:00
snipe
794bc45cc0
Fixed tests
2019-02-13 21:59:24 -08:00
snipe
d893837c86
Removed debugging
2019-02-13 21:32:26 -08:00
snipe
230c9da1df
Fixed #6703 - fixes password confirmation
2019-02-13 21:30:15 -08:00
snipe
b5aadd4b74
Add @lubo as a contributor
2019-02-13 20:50:25 -08:00
Ľubomír Kučera
9183de578d
docker: Fix upgrades ( #6680 )
...
Until now, the Docker image was not performing actions that are
necessary for an upgrade completion. That is considered an
anti-pattern.
See https://snipe-it.readme.io/docs/upgrading for more information.
2019-02-13 20:49:36 -08:00
snipe
cd1ef1d316
Literally no idea where that folder came from
2019-02-13 07:58:11 -08:00
snipe
9035707bd6
Bumped point version
2019-02-13 07:40:52 -08:00
snipe
9247dc592b
Removed debugging statements
2019-02-13 07:09:49 -08:00
snipe
35898e4ca0
Added asset tag to maintenances report
2019-02-13 07:09:16 -08:00
snipe
cd333fa93b
Fixed wonky merge :(
2019-02-13 06:52:36 -08:00
snipe
533649f24e
Merge branch 'develop' into dev-master-integration
...
# Conflicts:
# .gitignore
# .travis.yml
# app/Console/Commands/LdapSync.php
# app/Console/Commands/SendExpectedCheckinAlerts.php
# app/Console/Commands/SendExpirationAlerts.php
# app/Console/Commands/SendInventoryAlerts.php
# app/Console/Kernel.php
# app/Http/Controllers/Api/AssetsController.php
# app/Http/Controllers/Api/ManufacturersController.php
# app/Http/Controllers/Api/StatuslabelsController.php
# app/Http/Controllers/Api/UsersController.php
# app/Http/Controllers/AssetMaintenancesController.php
# app/Http/Controllers/Assets/AssetsController.php
# app/Http/Controllers/Auth/ForgotPasswordController.php
# app/Http/Controllers/Auth/LoginController.php
# app/Http/Controllers/Auth/ResetPasswordController.php
# app/Http/Controllers/ReportsController.php
# app/Http/Controllers/SettingsController.php
# app/Http/Controllers/UsersController.php
# app/Http/Transformers/AssetMaintenancesTransformer.php
# app/Importer/Importer.php
# app/Importer/ItemImporter.php
# app/Importer/UserImporter.php
# app/Importer/import_mappings.md
# app/Models/Ldap.php
# app/Models/License.php
# app/Models/Location.php
# app/Models/Recipients/AlertRecipient.php
# app/Models/User.php
# app/Providers/AppServiceProvider.php
# composer.json
# composer.lock
# config/trustedproxy.php
# config/version.php
# public/js/build/all.js
# public/js/build/vue.js
# public/js/build/vue.js.map
# public/js/dist/all.js
# public/mix-manifest.json
# resources/assets/js/components/importer/importer-file.vue
# resources/lang/ar/admin/settings/general.php
# resources/lang/bg/admin/settings/general.php
# resources/lang/en-ID/admin/settings/general.php
# resources/lang/en-ID/passwords.php
# resources/lang/en/passwords.php
# resources/lang/es-CO/passwords.php
# resources/lang/es-ES/passwords.php
# resources/lang/es-MX/passwords.php
# resources/lang/es-VE/passwords.php
# resources/lang/fi/admin/settings/general.php
# resources/lang/id/admin/settings/general.php
# resources/lang/id/passwords.php
# resources/lang/ja/passwords.php
# resources/lang/nl/passwords.php
# resources/lang/pl/admin/settings/general.php
# resources/lang/pl/passwords.php
# resources/lang/pt-BR/admin/settings/general.php
# resources/lang/pt-BR/passwords.php
# resources/lang/ru/admin/settings/general.php
# resources/lang/ru/admin/statuslabels/table.php
# resources/lang/ru/passwords.php
# resources/lang/sr-CS/general.php
# resources/lang/sr-CS/mail.php
# resources/lang/sv-SE/admin/settings/general.php
# resources/lang/tr/admin/settings/general.php
# resources/lang/tr/passwords.php
# resources/lang/vi/admin/models/message.php
# resources/lang/vi/admin/users/general.php
# resources/lang/zh-CN/admin/settings/general.php
# resources/views/importer/import.blade.php
# resources/views/partials/bootstrap-table.blade.php
# resources/views/partials/forms/edit/image-upload.blade.php
# resources/views/users/edit.blade.php
# resources/views/users/view.blade.php
# tests/unit/ImporterTest.php
2019-02-13 06:42:52 -08:00
snipe
3b525f0009
Fixed #6705 - undefined is not a function (near '...$.validate...')
...
Not sure what happened here, but re-running webpack seems to have resolved it.
2019-02-13 05:16:12 -08:00
snipe
f1fa5bdaa9
Fixed (develop) #6704 - don’t apply gate to $arrays collection, just check that they can view assets
2019-02-13 04:56:13 -08:00
snipe
aa1e06f021
One more time…. Fixed #6704 - don’t apply gate to $arrays collection, just check that they can view assets
2019-02-13 04:46:19 -08:00
snipe
30b1cfabf5
Fixed dumb formatting
2019-02-13 04:45:21 -08:00
snipe
e75d22ab73
Revert "Fixed #6704 - don’t apply gate to $arrays collection, just check that they can view assets"
...
This reverts commit b1e17743b8 .
2019-02-13 04:44:19 -08:00
snipe
b1e17743b8
Fixed #6704 - don’t apply gate to $arrays collection, just check that they can view assets
2019-02-13 04:35:55 -08:00
snipe
2768ea692e
Removed extraneous js call
2019-02-13 04:24:37 -08:00
snipe
83c511e1c8
Removed gh-changelog - we don’t use it anymore
2019-02-13 04:24:23 -08:00
snipe
35e60fd151
Updated languages
2019-02-13 03:56:18 -08:00
snipe
471fcd1272
Set beta version tag
2019-02-13 02:27:56 -08:00
snipe
1e1d32dc85
Make user notes field editable via API
2019-02-13 01:32:00 -08:00
snipe
b317fb8d83
Fixed #6367 - pass table name and column_id to scopeCompanyables
2019-02-13 01:29:53 -08:00
snipe
e2c0f01a10
Fixed #6367 - pass table name and column_id to scopeCompanyables
...
Solves error: Integrity constraint violation: 1052 Column 'company_id' in where clause is ambiguous
2019-02-13 01:26:11 -08:00
snipe
f88fee0f21
Make user notes field editable via API
2019-02-12 23:58:30 -08:00
snipe
245b3ca09f
Fixed #6061 - Assigned user group cannot be removed
2019-02-12 23:49:42 -08:00
snipe
c0669150fb
Bumped point version
2019-02-12 23:48:31 -08:00
snipe
f3c12f38b6
Fixed #6061 - Assigned user group cannot be removed
...
This bug was a result of attempting to check if the groups field had a value, and only THEN trying to sync the groups. This meant that uf you were removing ALL groups, the sync wouldn’t be triggered.
This still needs to be updated in the API.
2019-02-12 23:43:38 -08:00
snipe
da34b82b3e
Do not count deleted locations in managedLocation check on user delete
2019-02-12 23:33:01 -08:00
snipe
5e19178a30
Do not count deleted locations in managedLocation check on user delete
2019-02-12 23:32:10 -08:00
snipe
8e358faebc
Fixed #6113 - use $asset->fill vs filled() to allow blanking values via API
2019-02-12 22:15:32 -08:00
snipe
90cddb7aee
Fixed #6113 - use $asset->fill vs filled() to allow blanking values via API ( #6693 )
...
Need to confirm that re-enabling `\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,` won’t mangle anything. I know we ran into some issues when testing a long time ago, but not sure those issues apply anymore, and I can’t remember what they were.
2019-02-12 22:08:38 -08:00
herroworrd
3f7d2aebc7
Fixed #6634 : Asset Import History fixes and optimizations ( #6657 )
...
* Starting work on asset history importer.
* Starting work on asset history importer.
* Added checkin target.
* Last change... importing history should also probably be an admin only task.
* Added caching for user and asset queries.
* Updated cache keepalive time to DateTimeInterface
* Updated cache keepalive time to DateTimeInterface
2019-02-08 16:05:56 -08:00
Steffen
5624ea14e7
Fix accessories edit error ( #6698 )
...
* Add accessories_upload_path singleton (used in accessories/edit)
* Fix indent
2019-02-08 15:43:11 -08:00
Steffen
3530603797
Simplify slack channel regexp and allow private (no # prefix) channels and direct messages (@ prefix) ( #6699 )
2019-02-08 15:41:54 -08:00
snipe
4fd469e07b
Prevent editing special users demo mode
2019-02-04 19:13:55 -08:00
snipe
59cb1e561e
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2019-02-04 18:59:53 -08:00
snipe
4fe63d2966
Fixed #6633 - return 200 status code on asset API
2019-02-04 18:59:49 -08:00
snipe
6d828964be
Merge branch 'master' of https://github.com/snipe/snipe-it
2019-02-04 18:58:32 -08:00
snipe
971fcf5800
Fixed #6633 - return 200 status code
2019-02-04 18:58:28 -08:00
Ivan Nieto
9ac40f705c
Valo/ch37/cannot log in with generated password from ( #6655 )
...
* Cannot log in with generated password from [ch37]
* Cannot log in with generated password from [ch37]. Light cleanup
* Added the fetchHumanBoolean() method.
* Cleaning up the ternary
2019-01-31 19:58:54 -08:00
Daniel Ruf
2ad270cf33
ci: fix indentation ( #6669 )
2019-01-30 15:14:17 -08:00
Colin Campbell
ef8e20f66b
Alpine linux docker image ( #6645 )
...
* docker-alpine: Alpine linux container + apache 2.4 support
* docker-alpine: Force passport migrations (production mode Exception)
* docker-alpine: Copy default env in Dockerfile
2019-01-30 14:45:36 -08:00
Daniel Ruf
8ce78c6b31
tests: allow to fail on PHP 7.3 and use the latest PHP 7.1 release ( #6666 )
2019-01-30 14:32:33 -08:00
Daniel Ruf
af3c8195af
tests: fix expected string ( #6665 )
2019-01-30 14:12:20 -08:00
Dmitrii Minaev
e01e0c5596
Add licenses, accessories and consumables table presenters app\Presenters\PredefinedKitPresenter.php resources\views\partials\bootstrap-table.blade.php
...
Add refresh licenses, accessories and consumables tables refresh when add a new element resources\assets\js\snipeit_modals.js
Some design fixes resources\views\kits\edit.blade.php
Add default value to form (template) resources\views\modals\kit-model.blade.php
New routes for kit accessories and kit consumables routes\api.php
New routes for kit models, kit accessories and kit consumables routes\web\kits.php
New templates
2019-01-27 23:19:24 +03:00
snipe
117b4c59cc
Bumped minor version
2019-01-25 21:06:08 -08:00
snipe
9d21fc85bc
Fixed #6644 - asset name not linked in Reports > Asset Maintenance Report
2019-01-25 20:59:54 -08:00
snipe
194d0733d4
Fixed #6644 - asset name not linked in Reports > Asset Maintenance Report
...
This report will likely be deprecated.
2019-01-25 20:57:14 -08:00
Ivan Nieto
79b41ee662
Importing with CSV into Encrypted Custom [ch86] ( #6642 )
2019-01-25 14:26:59 -08:00
Colin Campbell
f8d9301bd4
fix-docker-pecl: Fix Dockerfile after pear.php.net hack ( #6641 )
2019-01-25 13:41:39 -08:00
snipe
c1a4fbee16
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2019-01-25 13:34:57 -08:00
Colin Campbell
8c632f63b0
Misc ldap fixes ( #6631 )
...
* misc_ldap_fixes: Map location from OU, not group
* misc_ldap_fixes: Ensure ldap is initialised for import
* misc_ldap_fixes: Import Job Title
* misc_ldap_fixes: Import telephone, fix field select from schema
* misc_ldap_fixes: Cleanup login error-handling, fix boolean tests
2019-01-24 16:15:44 -08:00
Ivan Nieto
7d982c9ea6
Import page is blank [ch90] ( #6636 )
2019-01-24 15:34:50 -08:00
snipe
ec4161a959
Fixed typo
2019-01-24 15:21:38 -08:00
snipe
a371e8d53f
Added calibration as a maintenance type
...
Should just make these custmizable options
2019-01-24 15:17:33 -08:00
snipe
8f09cca043
Fixed incorrect group route
2019-01-24 15:17:11 -08:00
snipe
b326d8593b
Fixed bad groups route on error
2019-01-24 14:56:47 -08:00
snipe
d1fe7abb18
Replaced custom deleted query scopes with onlyTrashed()
2019-01-24 14:47:44 -08:00
snipe
39bca49e8f
Specify table name in deleted user display
2019-01-24 14:38:18 -08:00
snipe
b8269020ae
Specify table name in deleted user display
2019-01-24 14:37:39 -08:00
snipe
ffc51d6db6
Specify table name in deleted user display
2019-01-24 14:33:54 -08:00
snipe
394e51029e
Only try to upload the audit file if one is provided
2019-01-24 14:04:06 -08:00
snipe
4b8f9d810b
Fixed #6625 - include fully depreciated date in custom asset report
2019-01-24 12:38:17 -08:00
snipe
89a2ce1c6c
Add @jackka as a contributor
2019-01-23 14:12:15 -08:00
snipe
c6ad7f80a8
Add @omyno as a contributor
2019-01-23 14:12:03 -08:00
snipe
7e6a59bdcc
Add @KeenRivals as a contributor
2019-01-23 14:11:37 -08:00
snipe
8ebd9afd15
Add @reuser as a contributor
2019-01-23 14:11:23 -08:00
snipe
d1b9eddb34
Add @shinayoshi as a contributor
2019-01-23 14:11:11 -08:00
snipe
0394dd7ee5
Add @andreybolonin as a contributor
2019-01-23 14:10:59 -08:00
snipe
53c6c74a43
Add @fanta8897 as a contributor
2019-01-23 14:10:46 -08:00
snipe
65c5378a10
Add @Sxderp as a contributor
2019-01-23 14:10:35 -08:00
snipe
1c6cbbf8ee
Add @smb as a contributor
2019-01-23 14:10:21 -08:00
snipe
10cb4ec401
Add @NMathar as a contributor
2019-01-23 14:10:06 -08:00
bricelabelle
5281713fd9
Added #6617 : View licenses checked out to an asset with the hardware API ( #6621 )
2019-01-22 14:47:40 -08:00
snipe
7982b3f237
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2019-01-22 14:13:39 -08:00
snipe
07eead2dbf
Fixed bug where assets could be deleted without being checked back in [ch38]
2019-01-22 14:13:30 -08:00
Ivan Nieto
3fa5976315
Language of mail doesn't show as intended by the settings. [ch87] ( #6619 )
...
* Fixes #5554 . Language of mail doesn't show as intended by the settings.
2019-01-22 14:02:08 -08:00
NMathar
66f557d436
add user license api endpoint fix #6241 ( #6616 )
2019-01-22 13:48:15 -08:00
snipe
fdd6ddf61b
Fixed favicon upload
...
[ch309]
2019-01-18 14:05:52 -08:00
snipe
4129463923
Added filesstem cache
2019-01-18 14:05:10 -08:00
snipe
601c129bbf
Embed images in emails
2019-01-17 20:45:24 -08:00
Ivan Nieto
310ed0f1d3
Fix an issue when trying to checkin a license seat. [ch46] ( #6599 )
...
* Fix an issue when trying to checkin a license seat.
* Minor changes in the checkin view, so it can returns to the expected place where the checkin is launched.
2019-01-17 20:36:40 -08:00
snipe
b293d00699
Switch LDAP error to debug, to avoid crapping up the logs
2019-01-17 20:18:03 -08:00
snipe
1eace04ad9
Handle asset maintenances that do not have a valid asset associated
2019-01-16 02:26:42 -08:00
snipe
75a0cf97e2
Return an error if asset maintenance is associated with a non-existant asset
2019-01-16 02:19:57 -08:00
snipe
c055e3af21
Only try to return the asset tag link if a valid asset id has been passed
2019-01-16 02:19:35 -08:00
snipe
a1f93e733c
Fixed undefined error when maintenance is associated with a deleted asset
2019-01-16 01:45:51 -08:00
Steffen
74c099f0b3
fix LDAP/AD sync: function calls for password creation ( #6581 )
...
* - change generatePassword to be more secure (allow duplicate chars)
- move generatePassword from trait to helper
- fix summary output for sync command
* - Don't treat ldap_active_flag as boolean - fixes sync not working at all when ldap field is set
- Sync non activated users (But set activated=0)
* - Read user first before checking against user settings
* Fix failed logins to not throw exceptions
2019-01-15 14:05:47 -08:00
fanta8897
49073742b5
Updating LDAP such that each user is not required to be bindable to LDAP ( #6571 )
...
* Update Ldap.php
* Update Ldap.php
* Update Ldap.php
* Update Ldap.php
* Update Ldap.php
Updating LDAP.php such that the admin bind will ONLY occur if the user attempting auth cannot bind. If that is the case, it will attempt to bind as admin and search for that user, prior to failing.
2019-01-15 14:04:21 -08:00
omyno
f0500e9797
Show user's signature in print view ( #6471 )
2019-01-15 14:03:40 -08:00
Wes Hulette
3e19509a49
Fixed : #6395 - Adjusted graph size ( #6518 )
...
* Fixed missing oauth tables during setup.
* Merge remote-tracking branch 'snipe-it-upstream/develop' into develop
* Merge remote-tracking branch 'snipe-it-upstream/develop' into develop
Merge remote-tracking branch 'origin/develop' into develop
* Fixed Pie Graph sizing on dashboard
Updated chart.js to 2.7.3
Added height to canvas
2019-01-15 14:02:49 -08:00
snipe
125938762b
Patched #6565 to develop
2019-01-15 14:02:10 -08:00
Sxderp
187206cb88
Fix saving of REMOTE_USER setting broken by 1a64879b6 ( #6565 )
...
The previous commit made it such that remote user login could only
be enabled if two factor authentication was also enabled. Unnest
the configuration so that the setting can be applied without.
2019-01-15 13:59:36 -08:00
Hubert
8420cb7ec1
Fixed problem with import when using snipeit:import command ( #6550 )
2019-01-15 13:58:23 -08:00
Steffen
61c619660d
Initialize customFormat to prevent Blade error when creating new fields ( #6596 )
2019-01-15 13:56:56 -08:00
Andrey Bolonin
75252bce05
add php 7.3 ( #6556 )
2019-01-10 13:21:04 -08:00
Steffen
1de9087427
LDAP fixes ( #6533 )
...
* Add iCheck png files to webpack config (inconsistency for css <> png) and blue.png to public folder
* php 7.3 collect() fix (undefined variable)
* Fix travis ci
* Add iCheck png files to webpack config (inconsistency for css <> png) and blue.png to public folder
* php 7.3 collect() fix (undefined variable)
* change LDAP implementation from model to (singleton) service
* Re-apply check for content in ldap_server variable before parsing
* Update LDAP implementation
* Switch iCheck to minimal as referenced in js
* Don't init on load but on first access via init (returns ldap enabled status)
* Re-Enable notifications
* Re-add missing test target php versions
* Only init() once (singleton class, so ldap variable is already set)
2019-01-10 13:20:43 -08:00
shinayoshi
c23cdb0e31
Support Raspbian 9.x installs. ( #6554 )
...
* Updated code related to Raspbian.
Tested on Raspbian 9.6.
2019-01-10 13:18:30 -08:00
snipe
794824713e
Bumped minor version
2019-01-03 11:22:06 -08:00
Kasey
5e06d53d8c
buildable dockerfile ( #6525 )
...
Awesome, thanks!
2018-12-17 15:29:05 -08:00
Brady Wetherington
89a325c0ea
Handle missing Flysystem env vars; let Debugbar autodiscover ( #6514 )
2018-12-17 14:04:56 -08:00
Brady Wetherington
1fdb057199
New LDAP system tries to load LDAP configuration before determining ( #6512 )
...
whether or not LDAP is actually enabled
2018-12-17 14:04:35 -08:00
Ivan Nieto
876ff2ef72
Fixes #6341 . Some style changes in this fix. ( #6492 )
2018-12-14 18:08:33 -08:00
KeenRivals
f5ba2106cd
Fix snipeit:unescape not unescaping quotes ( #6506 )
2018-12-14 18:08:00 -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
snipe
71f2440ddf
Moved contributors to the bottom of the README
2018-12-12 18:52:45 -08:00
snipe
ea1b792a93
Fixed #6491 - cleaner return methods for PHP 7.3 compact()
2018-12-12 18:23:39 -08:00
snipe
426dae0310
Fixed methods for PHP 7.3 compact()
2018-12-12 18:16:39 -08:00
snipe
f91fd3c91f
Updated language string to include XML
2018-12-12 17:46:19 -08:00
snipe
86cc1a228d
Fixed typo
2018-12-12 16:45:49 -08:00
snipe
394d265b96
Added XML to uploadable file type - re: #6099
2018-12-12 16:45:09 -08:00
snipe
6a6923b1d8
Fixed parse_url() expects parameter 1 to be string, null given
2018-12-12 16:37:27 -08:00
Steffen
28edf13457
WIP develop ldap fixes (errors, check if disabled, parsing in one place) ( #6500 )
...
* Fix errors and exception when ldap settings are empty (even with ldap disabled)
* Re-add newline at the end of file
2018-12-11 21:01:11 -08:00
snipe
93947b09c5
Small fix for #6484 - corrected LDAP sync command name
2018-12-11 15:18:30 -08:00
snipe
8b8ce256f5
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2018-12-11 13:07:48 -08:00
snipe
4cc82a808f
Updated composer
2018-12-11 13:07:23 -08:00
snipe
8313a069bf
Temp fix for blank LDAP values when LDAP is disabled
2018-12-11 13:07:14 -08:00
Wes Hulette
b38d07064b
Fixed : #5896 Custom fields of type "CUSTOM REGEX" are always saved as "ANY" ( #6381 )
...
* Fixed missing oauth tables during setup.
* Custom fields of type "CUSTOM REGEX" are always saved as "ANY"
Fixes #5896
* Updated per PR
Fixed spelling
* Fixed logic error
Moved conditional code from view to controller
Added getFromatType function for dropdown
2018-12-06 20:05:04 -08:00
snipe
886b6dd265
Add @benrubson as a contributor
2018-12-06 15:19:16 -08:00
snipe
3d6bd73ed3
Port PR #6485 to develop
2018-12-06 14:40:28 -08:00
Ben RUBSON
4ffb8f14b8
Improve Memcached settings ( #6485 )
...
* Improved memcached settings
* Improved memcached settings
2018-12-06 14:39:14 -08:00
snipe
a874cc32a8
Fixed bonked merge conflict
2018-12-06 14:20:01 -08:00
Wes Hulette
34246ee4ef
[WIP] v5 Develop: New LDAP implementation ( #6352 )
...
* Fixed missing oauth tables during setup.
* WIP New LDAP implementation
* WIP New LDAP implementation
* WIP New LDAP implementation
Merge remote-tracking branch 'origin/WIP_LDAP' into WIP_LDAP
* WIP New LDAP implementation
Added Adldap2 to handle ldap intergration.
* Updated per PR quality review
* Added specific LDAP settings method
* Corrected version number
* Added return documentation
* Added imports
* Changed class to be injected into controller
* Updated with PR suggestions
2018-12-06 14:05:43 -08:00
snipe
3ed2f55696
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2018-12-05 19:56:18 -08:00
snipe
09c4dd4891
Added ability to upload favicon and email logo
...
todo: refactor the image upload/resize for less copypasta
2018-12-05 19:56:12 -08:00
snipe
81f9f717dc
Updated favicon with new branding
2018-12-05 18:55:23 -08:00
snipe
fb502df089
Fixed dumb code indenting
2018-12-05 18:36:39 -08:00
Ivan Nieto
f91e340178
Fixes #6341 . Adding condition that checks offset of licenses seats when the user looks other page than the first. ( #6392 )
2018-12-05 18:09:54 -08:00
snipe
f6c0e7cc9c
Fixed #6464 - added company name to searchable field in user search
2018-12-05 17:20:22 -08:00
snipe
9f73fcf308
Added #6463 - ability to override session path in .env
2018-12-05 17:17:11 -08:00
Wes Hulette
d023f61bc4
Fixed missing importer ( #6413 )
...
Fixed missing manager_id
Fixed missing department_id
2018-12-04 13:06:12 -08:00
Minaev Dmitriy
0bbe499414
Kits checkout. But only with models.
2018-11-13 20:33:32 +03:00
Evgeny
dd7db95135
A couple hardcoded strings replaced in according with #6406 ( #6412 )
...
Hardcoded strings was replaced with corresponding placeholders.
Log statuses mentioned in #6406 wasn't translated cause it needs more separate complicated development
2018-11-08 15:20:44 -08:00
snipe
dd5ca73602
Set support footer and version footer to on when resetting the demo
2018-11-08 12:52:37 -08:00
snipe
2632f730d1
Sets activated to 0 in UserImporter if the activated column isn’t set
2018-11-07 22:36:58 -08:00
snipe
24c158bfe6
Added missing use statement for departments in importer
2018-11-07 18:33:43 -08:00
snipe
3d4a5a8066
More importer tweaks for dept and manager
2018-11-07 18:05:53 -08:00
snipe
db7e0b56f2
Fixed department id on asset import with users
2018-11-07 17:36:34 -08:00
snipe
f2478d813c
Fix manager id if no manager is given in importer
2018-11-07 17:33:27 -08:00
Minaev Dmitriy
79d979f47f
Full kits manipulation without users intagration
2018-11-06 19:27:28 +03:00
snipe
b6daad7573
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2018-11-02 17:15:08 -07:00
snipe
67d2953080
Fixed #6386 - licenses not searching on category name
2018-11-02 17:15:04 -07:00
snipe
192aa9eb71
Fixed #6386 - licenses not searching on category name
2018-11-02 17:14:08 -07:00
Wes Hulette
0d2eef5894
v5 Develop Fixed: Setup error because setting table does not exist ( #6390 )
...
* Fixed missing oauth tables during setup.
* Merge remote-tracking branch 'snipe-it-upstream/develop' into develop
* Merge remote-tracking branch 'snipe-it-upstream/develop' into develop
Merge remote-tracking branch 'origin/develop' into develop
* Fixed error during setup when settings table is not present
2018-11-02 12:23:41 -07: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
Wes Hulette
0730685c29
v5 Develop Fixed: LDAP Settings Password being updated when field is empty ( #6384 )
...
* Fixed missing oauth tables during setup.
* Fixed password saving
Previous Input::has always returned true, even if password was an empty string.
2018-11-01 13:36:30 -07:00
snipe
ea91d59ffc
Use username instead of email address in password reset ( #6382 )
...
* Switch to use username instead of email
* Fixed indenting
* Updated password language
* Updated blades to reflect username instead of email
* Changed password/reset controllers to use username instead of email
* Redirect to login page instead of repeating the password reset form
2018-10-31 18:03:24 -07:00
snipe
ce8d47b2b4
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2018-10-31 15:19:18 -07:00
snipe
65aef11ae3
Fixed #5879 - added user department filter for custom report
2018-10-31 15:19:13 -07:00
snipe
8f22cf7c3c
Added dept update API endpoint
2018-10-31 14:31:57 -07:00
Tim Bishop
7835cc34c8
Insert audited items to the top of the list. ( #6376 )
...
When doing a large number of items they soon disappear off the bottom of
the screen. It's handy to be able to check the result as it's happening
so adding them to the top of the list keeps the most recent items visible.
Move the "Processing..." spinner to the header so it stays at the top.
2018-10-31 11:13:08 -07:00
Tim Bishop
0eef0fc1dd
Sync with develop branch. ( #6377 )
...
Without this change argv[1] is ignored.
2018-10-31 11:11:41 -07:00
snipe
2cecd5e056
One more fix for #6175 (non-accessories)
2018-10-31 10:23:47 -07:00
snipe
5da9120870
Fixed #6175 - crashing when accessory has been deleted
...
My guess would be this crash (reported in #6175 ) was happening because of deleted accessories/accessory rows.
2018-10-31 10:23:32 -07:00
Minaev Dmitriy
9d5cd27575
New save mechanic
2018-10-31 16:06:38 +03:00
snipe
81f8fe34cd
Removed debugging line
2018-10-30 18:11:27 -07:00
snipe
f744696043
Fixed #6375 - lowercase keys on findAndBindUser to address LDAP syncing issue
2018-10-30 13:12:10 -07:00
snipe
29b0780c6c
Added company info to asset maintenances transforrmer
2018-10-30 00:20:16 -07:00
snipe
5faf8bfcd0
Fixed error on unaccepted asset report
2018-10-29 14:39:42 -07:00
snipe
f0e6a5c905
Fixed error on asset creation
2018-10-29 14:35:34 -07:00
Wes Hulette
6b3b673daa
Changed NULL coalesce from ?? ( #6353 )
...
PHP 5 does not have the double question mark null coalesce support.
2018-10-26 15:53:18 -07:00
snipe
a4876e9f3e
Updated language files
2018-10-26 15:51:38 -07:00
snipe
925258bfb4
Bumped version
2018-10-26 15:29:10 -07:00
snipe
a483e9365b
Add APP_LOG_LEVEL to new logging config
2018-10-25 21:01:14 -07:00
snipe
e443a576f7
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2018-10-19 16:46:53 -07:00
snipe
20b26effdb
Fixed #6349 - add view permission for print all assigned
2018-10-19 16:46:46 -07:00
snipe
1a10aa0dda
Fixed #6349 - add view permission for print all assigned
2018-10-19 16:43:28 -07:00
snipe
d6f8d1b464
Updated composer lock
2018-10-19 16:40:54 -07:00
Minaev Dmitriy
f1f7694835
Merge remote-tracking branch 'remotes/upstream/develop' into develop
2018-10-19 19:00:53 +03:00
Minaev Dmitriy
0e66c3cb56
Predefined kits test
2018-10-19 17:30:25 +03:00
snipe
09a102fea8
Only try to return a department if there is a matching field
2018-10-19 01:44:45 -07:00
snipe
304fce73fc
Null if blank on user import
2018-10-19 01:38:14 -07:00
snipe
295a68bb7a
Try false instead of null
2018-10-19 01:36:15 -07:00
snipe
3aeb521782
Patch PR #6335 to master
2018-10-19 01:30:05 -07:00
snipe
f587d2248b
WIP: Better handle activation column in importer ( #6290 )
...
* Better handle activation column
* Added comments for clarity on importer methods
2018-10-19 00:23:12 -07:00
Wes Hulette
b3672d6365
Fixed: Settings seeder error ( #6334 )
...
* Fixed missing oauth tables during setup.
* Fixed seeding error
Required setting pwd_secure_min was missing from seeder.
2018-10-17 13:38:27 -07:00
Wes Hulette
a975117eaf
Fixed : #6325 & #6317 ( #6335 )
...
* Fixed missing oauth tables during setup.
* Fixed missing manager_id and department_id
2018-10-17 13:38:13 -07:00
Wes Hulette
465b69516d
Fixed : #6259 - Remove remote JS/CSS file loading ( #6330 )
...
* Fixed missing oauth tables during setup.
* Remove remote JS/CSS file loading
Updated gravatar to return to default image
* Updated default avatar path to user url
Removed local html5shim & response js files.
Removed copying html5shim & respond js file to public directory
2018-10-17 12:52:01 -07:00
snipe
2ded2ff53a
Make dashboard snapshots clickable
2018-10-15 18:19:30 -07:00
snipe
74c20e62d5
Fixed - suppress the asset create button if the user is not allowed to create assets
2018-10-15 17:57:47 -07:00
snipe
0dbce93d1b
Better logic for disallowing company selection when user is not a superadmin and FCS is enabled
2018-10-15 17:57:28 -07:00
snipe
8579c5a68a
Allow 0 as a consumable min amt
2018-10-15 17:04:51 -07:00
snipe
9797412d23
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2018-10-15 17:02:39 -07:00
snipe
6b6cf06530
Display asset name if one exists and the user cannot edit
2018-10-15 17:02:31 -07:00
snipe
539c3023b9
Added - check whether the user can edit an asset before allowing them to change the name on checkout
2018-10-15 16:52:45 -07:00
snipe
78b6e84774
Allow min:0 for consumables
2018-10-15 16:52:20 -07:00
Joe Ferguson
704209de9c
Fixed #6301 : Do not allow duplicate asset tags ( #6324 )
...
* Fixed #6301 : Do not allow duplicate asset tags
* Display error message for single asset_tag failure
2018-10-11 17:15:09 -07:00
snipe
835b461d7d
Fixed #6323 - typo in link for low inventory
2018-10-11 15:31:10 -07:00
snipe
b8f8d49927
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2018-10-11 15:29:48 -07:00
snipe
63a2727077
Fixed #6323 - typo in link for low inventory
2018-10-11 15:29:38 -07:00
Ivan Nieto
5516978f2e
#5696 proposed fix ( #6314 )
...
* Another 'or' caught in a blade template
* Added the requireAcceptance() method in LicenseSeat.php. Changed the permission in checkout-license mail to view.
* Getting right the permission in the view checkout-license
2018-10-11 14:08:09 -07:00
Wes Hulette
b8a37a0c73
Fixed Expiring Assets Email ( #6321 )
2018-10-11 14:03:00 -07:00
Wes Hulette
19ee62f704
Fixed: Missing JS file import ( #6320 )
...
* Fixed missing oauth tables during setup.
* Fixed missing JS import
2018-10-11 13:51:37 -07:00
snipe
41b5b1dfd0
Bumped hash
2018-10-09 17:32:46 -07:00
snipe
c7596e7741
Fixed image not uploading on asset create
2018-10-09 17:31:52 -07:00
snipe
d4fa81301d
Check if user can see assets in statuslabels gate
2018-10-09 16:34:12 -07:00
snipe
dff674b4ab
Production assets
2018-10-09 16:12:43 -07:00
snipe
73788817ff
Fixed #6306 - seed settings if no record exists
2018-10-09 16:12:26 -07:00
Wes Hulette
d715ecf41d
Fixed: Tooltips ( #6309 )
...
* Fixed missing oauth tables during setup.
* Fixed missing tooltips
Updated spelling in bootstrap-table.blade.php to use bootstrap data element.
Using custom jquery-ui without tooltips to fix conflict issue.
* Removed custom jQuery ui file added fix in bootstrap.js file
2018-10-09 15:20:27 -07:00
Wes Hulette
6818901f7d
Fixed: Admin LTE left menu bar not working ( #6308 )
...
* Fixed missing oauth tables during setup.
* Updated per AdminLTE upgrade guide.
2018-10-09 15:20:12 -07:00
Wes Hulette
19bc158ff4
Fixed tooltips and iCheck ( #6303 )
...
* Fixed missing oauth tables during setup.
* Fixed duplicate style tag
This was causing webpack issues.
* Deleted erroneously created directory
* Removed duplicate imports
* Fixed tooltips, iCheck audit page
https://github.com/snipe/snipe-it/pull/6285#issuecomment-427235280
* Merge remote-tracking branch 'origin/#6285-Fixes' into #6285-Fixes
Fixed Manifest file
2018-10-05 07:41:04 -07:00
snipe
a516e4278e
Remove company select option if the user is not an admin and FCS is enabled
2018-10-05 07:30:42 -07:00
snipe
c21524f240
Fixed NaN when no asset tag is provided
2018-10-05 05:42:28 -07:00
snipe
ecb8204c3c
Associate serials with multiple asset creation
2018-10-05 05:30:13 -07:00
snipe
476b58632b
Handle array of asset tags
...
TODO: figure out how to display validation errors more sanely
2018-10-05 04:34:47 -07:00
snipe
d4a97d0431
Increase max fields in multi-asset creation
2018-10-05 04:18:06 -07:00
snipe
ade9a0c995
Removed server-side validation right now
...
Getting an unexpected keyword ‘export’ error. I’ll come back to this.
2018-10-05 03:47:58 -07:00
snipe
7e33051c7a
Remove console logging
2018-10-05 03:44:30 -07:00
snipe
4a448ba5f9
Increment tag based on first
2018-10-05 03:43:40 -07:00
snipe
8e90ed00d8
Added alt tags to logo
2018-10-05 03:43:16 -07:00
snipe
81d8c1cc52
Fixed remove-asset-tag javascript on asset edit, added server side validation support
2018-10-05 02:51:14 -07:00
snipe
4920dced6e
Enabled toggleDisabled on form validator
2018-10-05 01:12:14 -07:00
snipe
4a4fc38c43
Style updates
2018-10-05 00:57:18 -07:00
snipe
907d1d0f61
Validate if name is required
2018-10-05 00:46:27 -07:00
snipe
6f71abd0e0
Fixed improper html nesting
2018-10-05 00:45:58 -07:00
snipe
c1b0b8dee2
Move validator to main layout
2018-10-05 00:45:45 -07:00
snipe
a6449fa16e
Added jquery-form-validator
2018-10-04 23:50:57 -07:00
snipe
4cc1351bdd
More JS tweaks (WIP)
2018-10-04 23:37:52 -07:00
snipe
701beeac2a
Merge branch 'develop' into features/create_multiple_asset_tags_on_asset_create
2018-10-04 22:08:18 -07:00
snipe
6489081cd6
Pass variable to edit-form to determine whether we should have a top submit button
...
This is just so very short forms don’t look too silly
2018-10-04 21:19:25 -07:00
snipe
408f9978e9
More help text updates
2018-10-04 21:14:45 -07:00
snipe
4a7f61b554
Tenporarily replacing the blue@2x.png for icheck
2018-10-04 21:00:13 -07:00
snipe
db765e4a0b
Reformatted help popover
2018-10-04 20:51:50 -07:00
snipe
54d916fd05
Pulled “more info” popover header into translated string
2018-10-04 20:41:09 -07:00
snipe
8d680d071b
Create help translation file
2018-10-04 20:37:49 -07:00
snipe
252341fd5c
Pulled help icon text into its own blade
2018-10-04 20:35:07 -07:00
snipe
c8210131b4
Updated assets
2018-10-04 20:24:59 -07:00
snipe
3843764d15
Added save button at top of form as well
2018-10-04 20:24:53 -07:00
snipe
accafbf1eb
Added basic JS to edit blade
2018-10-04 19:28:56 -07:00
snipe
ef9817e12d
Updated to latest rollbar
2018-10-04 18:24:41 -07:00
snipe
ec7245965f
Bumped to rollbar 2.4.1
...
https://github.com/rollbar/rollbar-php-laravel/issues/65
2018-10-04 17:09:12 -07:00
snipe
de76e8db5f
Re-enable rollbar
2018-10-04 12:11:36 -07:00
snipe
a52575c7bf
Lock rollbar to v2.3.0
...
https://github.com/rollbar/rollbar-php-laravel/issues/65
https://github.com/rollbar/rollbar-php-laravel/issues/67
2018-10-04 12:11:36 -07:00
Nenad Ticaric
bf6703c2e8
fixing double word typo ( #6292 )
...
Thanks!
2018-10-04 09:41:50 -07:00
snipe
b5211b2dd5
Fixed #6291 - send-welcome argument in cli importer
2018-10-04 04:44:12 -07:00
snipe
4db1dd8afc
Fixed #6291 - send-welcome argument in cli importer
2018-10-04 04:43:06 -07:00
snipe
c39e3acb59
Bumped hash
2018-10-04 02:24:41 -07:00
snipe
0a72751b37
Fixed issue where admin users could disable activation when editing their own profile
2018-10-04 02:23:12 -07:00
snipe
7a44da85a0
Fixed issue where admin users could disable activation when editing their own profile
2018-10-04 02:18:20 -07:00
snipe
890b613f71
Temporarily suppress rollbar
2018-10-03 15:47:56 -07:00
snipe
1014bd74e0
Updated rollbar
2018-10-03 14:58:14 -07:00
Wes Hulette
3c59452e33
Fixed Tooltips and Rounded corners from previous cleanup ( #6285 )
...
* Fixed missing oauth tables during setup.
* Fixed tooltip and square boxes
2018-10-03 13:17:08 -07:00
snipe
db385e024b
Possible proxy issue fix
2018-10-03 13:04:25 -07:00
snipe
84848fabd7
Fixed #6284 - missing checkout information on Status Labels API assets endpoint
2018-10-03 10:30:24 -07:00
Wes Hulette
4a88e155c4
Fixed : #6263 V5 (develop) - Missing oauth tables when using the setup wizard ( #6268 )
...
* Fixed missing oauth tables during setup.
* Merged develop changes
Removed PHP_CS file
2018-10-03 10:06:24 -07:00
snipe
66a9421fac
Production assets
2018-10-03 01:07:47 -07:00
snipe
be609f4a8f
Merge branch 'jwhulette-V5_cleanup_js' into develop
2018-10-03 00:56:49 -07:00
snipe
90b8acdd3b
Merge branch 'V5_cleanup_js' of https://github.com/jwhulette/snipe-it into jwhulette-V5_cleanup_js
...
# Conflicts:
# public/mix-manifest.json
2018-10-03 00:56:09 -07:00
snipe
c8ad45b11e
Port import manager code to develop
2018-10-03 00:52:29 -07:00
snipe
8937edb97e
Better validation for manager_id
2018-10-03 00:26:51 -07:00
snipe
c8bff3ef38
Features/add manager and dept to importer ( #6277 )
...
* Ignore the simlink for public storage
* Added manager and department to user import
* More UI importer tweaks
* Fisxed typos
2018-10-02 15:43:54 -07:00
Djamon Staal
80393d73ae
Public function save() missing array. ( #6276 )
...
The class was missing as a result that the composer was unable to update and the site returned a 500 error
```
$ composer update
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Package guzzle/guzzle is abandoned, you should avoid using it. Use guzzlehttp/guzzle instead.
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover
In Asset.php line 30:
Declaration of App\Models\Asset::save($params = Array) should be compatible
with Illuminate\Database\Eloquent\Model::save(array $options = Array)
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
```
2018-10-02 04:40:20 -07:00
Wes Hulette
1742867df1
Removed inline signature.css
...
Added to webpack
2018-10-01 08:20:31 -04:00
Wes Hulette
ce0a40a20c
Merge branch 'develop' into JS_Cleanup
2018-10-01 08:07:07 -04:00
snipe
e5e8c068ea
Fixed mac address regex
2018-09-29 22:41:17 -07:00
snipe
366c1f81cc
Added mac address to seeder
2018-09-29 22:21:32 -07:00
snipe
4975f9100c
Added more seeders for better custom field displays on seeding
2018-09-29 22:17:36 -07:00
snipe
a481fa2921
Added accessories images for seeder
2018-09-29 22:17:14 -07:00
snipe
79367642b1
[WIP] Added #5957 - Flysystem support ( #6262 )
...
* Added AWS url to example env
* Upgrader - added check for new storage path and attempt to move
* Ignore symlink
* Updated paths for models
* Moved copy methods
* Added AWS_URL support
For some reasin, Flysystem was generating the wrong AWS url (with a region included)
* Switch to Flysystem for image uploads
* Nicer display of image preview
* Updated image preview on edit blades to use Flysystem
* Twiddled some more paths
* Working filesystems config
* Updated Asset Models and Departments to use Flysystem
* Janky workaround for differing S3/local urls/paths
* Try to smartly use S3 as public disk if S3 is configured
* Use public disk Storage options for public files
* Additional transformer edits for Flysystem
* Removed debugging
* Added missing use Storage directive
* Updated seeders to use Flysystem
* Default logo
* Set a default width
We can potentially override this in settings later
* Use Flysystem for logo upload
* Update downloadFile to use Flysystem
* Updated AssetFilesController to use Flysystem
* Updated acceptance signatures to use Flysystem
* Updated signature view to use Flysystem
This isn’t working 100% yet
* Use Flysystem facade for displaying asset image
* Set assets path
Should clean all these up when we’re done here
* Added Rackspace support for Flysystem
* Added Flysystem migrator console command
* Added use Storage directive for categories
* Added user avatars to Flysystem
* Added profile avatar to Flysystem
* Added the option to delete local files with the migrator
* Added a check to prevent people from trying to move from local to local
* Fixed the selectlists for Flysystem
* Fixed the getImageUrl method to reflect Flysystem
* Fixed AWS copy process
* Fixed models path
* More selectlist updates for Flysystem
* Updated example .envs with updated env variable names
* *sigh*
* Updated non-asset getImageUrl() methods to use Flysystem
* Removed S3 hardcoding
* Use Flysystem in email headers
* Fixed typo
* Removed camera support from asset file upload
We’ll find a way to add this in later (and add that support to all of the other image uploads as well)
* Fixed path for categories
* WIP - Switched to standard handleImages for asset upload.
This is currently broken as I refact the handleImages method. Because the assets store/create methods use their own Form Request, the handleImages method doesn’t exist in that Form Request so it wil error now.
* Fixed css URL error
* Updated Debugbar to latest version (#6265 )
v3.2 adds support for Laravel 5.7
* Fixed: Missing CSS file in basic.blade.php (#6264 )
* Fixed missing CSS file in basic.blade.php
* Added
* Changed stylesheet import for authorize.blade.php
* Updated composer lock
* Added AWS_BUCKET_ROOT as env variable
* Use nicer image preview for logo upload
* Removed AssetRequest form request
* Removed asset form request, moved custom field validation into model
* Added additional help text for logo upload
* Increased the size of the image resize - should make this a setting tho
* Few more formatting tweaks to logo section of branding blade preview
* Use Flysystem for asset/license file uploads
* Use Flysystem for removing images from models that have been deleted
* Enable backups to use Flysystem
This only handles part of the problem. This just makes it so we can ship files to S3 if we want, but does not account for how we backup files that are hosted on S3
* Use Flysystem to download license files
* Updated audits to use Flysystem
2018-09-29 21:33:52 -07:00
Wes Hulette
fc8096f8dc
Fixed: Missing CSS file in basic.blade.php ( #6264 )
...
* Fixed missing CSS file in basic.blade.php
* Added
* Changed stylesheet import for authorize.blade.php
2018-09-29 14:15:25 -07:00
Wes Hulette
22c57c2862
Updated Debugbar to latest version ( #6265 )
...
v3.2 adds support for Laravel 5.7
2018-09-29 14:14:20 -07:00
Wes Hulette
5cb6744c1b
Merge remote-tracking branch 'snipe-origin/develop' into develop
2018-09-29 11:30:33 -04:00
snipe
153a711de4
Fixed css URL error
2018-09-28 23:18:16 -07:00
snipe
71f60990db
Ignore simlink
2018-09-28 23:18:04 -07:00
snipe
32951bbc90
Make CustomFieldset rules public instead of protected
2018-09-28 15:18:23 -07:00
Wes Hulette
aee15e8af4
Fixed select box rendering issue. ( #6260 )
...
Changed order of CSS files for combining
2018-09-28 15:18:15 -07:00
Wes Hulette
3016dcc616
WIP
2018-09-28 17:30:52 -04:00
Wes Hulette
c090a2f0b6
Fixed script imports in setup.blade.php
2018-09-28 17:28:49 -04:00
Wes Hulette
11f128a84f
Moved chart.js library into vendor.js
2018-09-28 17:28:49 -04:00
Wes Hulette
991a00b38f
Updated pGenerator jQuery Plugin to v1.0.5
2018-09-28 17:27:34 -04:00
Wes Hulette
e80dfc886e
Added admin-lte-options file, moved pGenerator to main js file
2018-09-28 17:27:06 -04:00
Wes Hulette
b84eb836f4
Cleaned up JS
...
Removed unnecessary JS files
Moved JS to app & vendor, so neither file is so large, plus they can be downloaded concurrently.
2018-09-28 17:27:06 -04:00
Wes Hulette
b09afef46f
Merge remote-tracking branch 'snipe-it-upstream/develop' into develop
2018-09-28 17:17:48 -04:00
Wes Hulette
ecf77e60df
Added: #6246 - CSS Cleanup ( #6247 )
...
* Streamlined CSS by using NPM
Removed unnecessary CSS files
Merged CSS files into one file
* Streamlined CSS by using NPM
Removed unnecessary CSS files
Merged CSS files into one file
* Removed override.less
* Moved bootstrap-color-picker css to file
Removed inline calls
* Changed css import on setup.blade.php
* Updated signature-pad.css import
* NPM Prod compile
* Fixed font family loading issue.
2018-09-28 14:09:48 -07:00
snipe
10bc35d604
Fixed PHP warning Undefined offset: 1 in upgrade.php
2018-09-28 12:13:35 -07:00
snipe
eea65a3f26
Fixed manufacturers item count
2018-09-28 12:03:27 -07:00
snipe
3b21a19491
Updated language strings
2018-09-28 11:54:52 -07:00
snipe
7a52477294
Added Icelandic and Serbian to locale list
2018-09-28 11:47:59 -07:00
snipe
ef0bd72076
Bumped version
2018-09-28 11:21:39 -07:00
snipe
a5abb3e6a6
Fixes #6252 - activated flag not checked when editing active user
2018-09-28 11:19:43 -07:00
snipe
ff824ec4db
Fixes #6252 - activated flag not checked when editing active user
2018-09-28 11:18:33 -07:00
Wes Hulette
ea63936947
Merge remote-tracking branch 'snipe-it-upstream/develop' into develop
2018-09-28 08:29:33 -04:00
snipe
68a04c7a23
Fixed #4151 - Undefined index: samaccountname on LDAP import
2018-09-27 16:13:27 -07:00
snipe
75032def9e
Fixed #4151 - Undefined index: samaccountname on LDAP import
2018-09-27 16:11:09 -07:00
Wes Hulette
b64924440f
Merge remote-tracking branch 'snipe-it-upstream/develop' into develop
2018-09-27 16:39:07 -04:00
snipe
e5d0f74ba7
Fixed #6248 - add free seats to licenses API endpoint
2018-09-27 12:07:13 -07:00
Ivan Nieto
309f102745
Weird syntax in layout.blade.php. Change the use of 'or' operator to the null coalesce operator ( #6240 )
2018-09-26 22:33:34 -07:00
snipe
3a0f738fb0
Added some hepful comments
2018-09-26 19:20:50 -07:00
snipe
55846cc717
Changed LOG:: to Log::
2018-09-26 19:06:31 -07:00
snipe
1784278a59
Fixed importer email test
2018-09-26 19:06:09 -07:00
snipe
afac0bc441
Removed old isActive model (unused)
2018-09-26 19:05:42 -07:00
snipe
ffbee77f6f
Patch for 5965 - multiple email recipients no longer working ( #6238 )
2018-09-26 15:47:53 -07:00
Wes Hulette
16e56646b8
Fixed #5965 : Allow multiple alert email addresses ( #6233 )
...
* Fixed #5965 : Allow multiple alert email addresses
* Style changes based on PR feedback.
2018-09-26 14:07:41 -07:00
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
b69b5fdf84
Added counts to location show() API method
2018-09-21 15:50:14 -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
Brady Wetherington
89e06054bf
Merge pull request #6205 from dasjoe/patch-1
...
Fixes #5630
2018-09-17 21:45:48 -07:00
Minaev Dmitriy
2604d3c1fd
Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
2018-09-14 19:36:01 +03: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
Hajo Möller
3159e7713a
Fixes #5630
2018-09-11 13:07:45 +02: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
adf6e7d1cd
Added group support for user API
2018-09-07 18:25:58 -07:00
snipe
ba3662a9ed
Bumped hash
2018-09-07 18:12:29 -07:00
snipe
05ea61421f
Added manager_id to fillable for locations API
2018-09-07 18:11:38 -07: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
Wes Hulette
1dff71e4df
Merge remote-tracking branch 'snipe-it-upstream/develop' into develop
2018-09-07 13:36:12 -04: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
22ef2ce0b6
Bumped hash
2018-09-07 03:20:31 -07:00
snipe
51d3d130e4
Fixed Not unique table/alias: 'models' on custom report triggered when category is selected
2018-09-07 03:19:54 -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
161271b53a
Merge remote-tracking branch 'snipe-it-upstream/develop' into develop
2018-09-04 12:04:53 -04:00
Wes Hulette
a865f79d5e
Fixed dashboard tables not showing data ( #6143 )
...
Needed data-pagination="true" set
2018-08-29 12:29:47 -07:00
Wes Hulette
e9f6cbc97f
Merge remote-tracking branch 'snipe-it-upstream/develop' into develop
2018-08-29 12:45:56 -04:00
Wes Hulette
59559b1966
Merge remote-tracking branch 'snipe-it-upstream/develop' into develop
2018-08-28 16:39:07 -04: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
Wes Hulette
0c02ff70f6
Merge pull request #1 from snipe/develop
...
Develop
2018-08-28 15:47:16 -04: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
d8a8e1cc09
Bumped version
2018-08-28 11:43:56 -07:00
snipe
5b8cbe29e1
Possible fix for #5054 - OpenLDAP (non-AD) LDAP users being deactivated
2018-08-27 14:51:37 -07:00
Minaev Dmitriy
a77b8c2023
Codestyle fix
2018-08-26 18:47:35 +03:00
Minaev Dmitriy
40dd34b5bf
depreciation value rounding
2018-08-25 20:18:31 +03:00
Minaev Dmitriy
daba90b346
fix: add more checks at Depreciable.php
2018-08-25 19:17:48 +03:00
Minaev Dmitriy
7b70afa2a1
Integrate half-year convention inside working output
2018-08-24 20:30:22 +03:00
snipe
0b8d70c7ec
Fixed #6124
2018-08-23 21:06:04 -07:00
snipe
522dc1db2a
Fixed #6124
2018-08-23 21:05:10 -07:00
Minaev Dmitriy
8d3b201a49
Add a setting for the depreciation method
2018-08-23 20:49:20 +03:00
Minaev Dmitriy
49ecc08398
Add half-year convention in depreciation for Models/Depreciable.php
2018-08-23 20:29:03 +03: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
snipe
3c23745508
Bumped to laravel 5.6.30
...
Lower Laravel versions still triggered Roave/SecurityAdvisories :-/
2018-08-21 20:08:34 -07:00
snipe
db907815ff
Removed check for active in password reset form
2018-08-21 18:40:27 -07:00
snipe
f6971b8ab2
Fixed #6082 - don’t show expected checkin in email if none given
2018-08-16 14:30:06 -07:00
snipe
aed769c0be
Honor active status for forgotten password request forms
2018-08-14 20:05:57 -07:00
snipe
ae6abdddad
Check the user is active before displaying password reset
...
This would only come into play if an inactive user already received a password reset email and then the system was upgraded to prevent those emails from being sent to inactive users
2018-08-14 19:04:47 -07:00
snipe
63c9fbe10c
Temporarily disbable notifying users on import
2018-08-14 18:27:46 -07:00
snipe
101dfd01f2
Bumped hash
2018-08-14 18:22:53 -07:00
snipe
1543cdbc61
Set activated checkbox to 1 by default on new user
2018-08-14 18:17:37 -07:00
snipe
5db5134ae0
Set activated to default on when new user is created
2018-08-14 18:14:41 -07:00
snipe
5294489b0e
Fixed HTML typo
2018-08-14 18:14:29 -07:00
snipe
ce45c3af4e
Updated password reset language
2018-08-14 18:11:32 -07:00
snipe
05b2b8fb59
Tweaked code/language for password reset
2018-08-14 18:09:33 -07:00
snipe
25097bce31
Only allow activated users to reset their password
2018-08-14 18:04:27 -07:00
snipe
0100c56046
Only allow password reset if user is active
2018-08-14 17:46:29 -07:00
Jordi Boggiano
e81b221fd1
Fix license identifier ( #6043 )
2018-08-08 20:36:45 -07:00
Till Deeke
62195a805a
Adding some comments
2018-08-06 14:47:26 +02:00
Till Deeke
8c96e8fd4b
Updates asset acceptance report to show unaccepted assets
2018-08-06 14:47:26 +02:00
Till Deeke
1bdf71b584
Handle side effects of accepting/declining
...
When declining an asset, it gets checked in.
2018-08-06 14:47:26 +02:00
Till Deeke
8648d53d25
Adds checkout acceptances
...
A checkout acceptance gets generated for every item that needs to be checked out. This resource tracks the user user who can accept the item and their signature
2018-08-06 14:47:26 +02:00
Till Deeke
6b05106dcb
Moves license checkout stuff to the license seat
...
Since we are really checking out a license seat instead of the whole license, we operate the checkin/checkout on the license seat instance.
2018-08-06 14:47:26 +02:00
Till Deeke
43437aac14
Adds acceptable contract to asset
2018-08-06 14:46:10 +02:00
Till Deeke
830a6cf67e
Adds accepting/declining to new controller
2018-08-06 14:46:10 +02:00
Till Deeke
39e6b59335
Fixes some typos
2018-08-06 14:46:10 +02:00
Till Deeke
72b43b6526
Updates checkout notifications to use new routes for accepting
2018-08-06 14:46:10 +02:00
Till Deeke
e0423418d2
Moves logging checkin/checkout to separate listener
2018-08-06 14:46:10 +02:00
Till Deeke
e24f292a1a
Updates checkout events to not depend on log
2018-08-06 14:46:10 +02:00
Till Deeke
17fc59f989
Adds back the checkin/checkout events after #5916
2018-08-06 14:46:10 +02:00
Till Deeke
775e46288e
Cleanup of model attributes
2018-08-06 14:46:10 +02:00
Till Deeke
722f032895
Remove notification sending from loggable trait
2018-08-06 14:46:10 +02:00
Till Deeke
112a532618
Listen for checkout events and send appropriate notifications
2018-08-06 14:46:10 +02:00
Till Deeke
ef76908fce
Listen for checkin events and send the appropriate notifications
2018-08-06 14:46:10 +02:00
Till Deeke
4a71542f23
Cleanup checkin notification constructors
2018-08-06 14:46:10 +02:00
Till Deeke
ea64abc607
Adds checkout events
2018-08-06 14:46:10 +02:00
Till Deeke
f0acf47101
Adds checkin events
2018-08-06 14:46:10 +02:00
Till Deeke
92a2a5ccbc
Adds listeners for checking/checkout events
2018-08-06 14:46:10 +02:00
Daniel Meltzer
2d0df24ef3
Check for an existing username before getting creative. Fixes #6016 ( #6039 )
2018-08-03 16:35:13 -07:00
snipe
1a660911e7
Check for minimum PHP version in setup
2018-08-02 21:36:18 -07:00
snipe
84f20b6287
Added php version check to upgrade.php
2018-08-02 20:55:52 -07:00
snipe
134bddf4c7
Fixed #6029 - model number not appearing in checkin/checkout emails
2018-08-02 11:43:11 -07:00
Daniel Meltzer
e368a20427
Use filled instead of has. ( #6033 )
...
I think this merged in a weird order and was missed by the global
find/replace. This fixes bulkassets/bulkusers editing.
At some point we should look at refactoring BulkAssetsController@edit to
only run one DB query, rather than one per item.
2018-08-02 09:54:19 -07:00
Daniel Meltzer
2637ce56a1
Allow importcontroller to return 200 for failed delete. ( #6034 )
2018-08-02 09:53:54 -07:00
snipe
ffed306ecd
Removed old emaol templates ( #6026 )
...
Still testing this to make sure it doesn’t break anything else :)
2018-08-01 20:56:32 -07:00
snipe
f5a5d830a5
Better handling for deleting imports where the files may have been moved
2018-08-01 20:49:55 -07:00
snipe
9168979d9e
Fixed #6027 - added model to asset maintenances listing
2018-08-01 18:24:52 -07:00
snipe
6f8680efa6
Added external link formatter to BS tables
2018-08-01 18:01:31 -07:00
snipe
3f394f42c7
Partial fix for better UI on deleting files
...
Still needs Vue stuff
2018-08-01 18:01:16 -07:00
snipe
b2c99c88bb
Fixed #6028 - added supplier url to list view
2018-08-01 17:37:58 -07:00
snipe
9a3683ce7c
Remove app_locked
2018-08-01 15:36:20 -07:00
snipe
f374ac1bf7
Removed duplicate BACKUP_ENV in example env
2018-08-01 15:31:43 -07:00
snipe
2fa66f4551
Removed duplicate BACKUP_ENV in example env
2018-08-01 15:27:51 -07:00
snipe
a4019c9f63
NIcer UI for activated user + email credentials
2018-08-01 14:18:37 -07:00
snipe
694166862e
Added attempted logins admin screen ( #6018 )
...
* Added attempted logins admin screen
* Smaller table spacing
2018-08-01 03:51:59 -07:00
snipe
911c2398ef
Fixed #6004 - set a default next_audit_date if none provided
2018-08-01 03:04:29 -07:00
snipe
a209a92de8
Fixed #6011 - use correct file created at date
2018-08-01 02:43:08 -07:00
snipe
462878a307
Production assets
2018-08-01 00:27:19 -07:00
snipe
3941437ad4
Limit width of title logo so it doesn’t break with long names
2018-08-01 00:27:14 -07:00
snipe
664cc24481
Fixed PR #6002
2018-08-01 00:26:50 -07:00
snipe
2c38036123
Improvement: Better documentation, small refactors ( #6017 )
...
* Better documentation, small refactors
* Small comment fixes
2018-08-01 00:06:41 -07:00
Sam
6ae096a56f
These changes will allow submissions during the AJAX process in Select2s. This allows for barcode scanners, magstrip and NFC scanners that enter a carriage return. ( #6002 )
2018-08-01 00:06:28 -07:00
snipe
436bf152ec
Config for new bots
2018-07-31 17:40:32 -07:00
snipe
b1b5eeecba
Fixed #6013 - add accessory checkout notes to detail page
2018-07-31 16:00:38 -07:00
snipe
400913631c
Use language strings for bulk password reset
2018-07-30 20:37:19 -07:00
snipe
006a3adea0
Added ability to trigger forgotten password emails for users
2018-07-30 20:31:02 -07:00
Earl Ramirez
c2bb3892b7
[WIP] Fix apache default page on ubuntu ( #5998 )
...
* Added cron to list of packages
* Updated APP_PATH
* Rename virtual hosts config files
2018-07-30 18:09:37 -07:00
Jason
5c820dd7b8
Added code to snipeit.sh for Raspbian 9.4 install ( #5980 )
...
* Added code to snipeit.sh for Raspbian 9.4 install
* More additions to snipeit.sh to install php7.2 on raspian in prep for
version 5
* added public/phpinfo.php to .gitignore
* Deleted phpinfo.php
* removed phpinfo.php from .gitignore
2018-07-27 12:57:39 -07:00
Daniel Meltzer
248fcfa869
Move findLicenseSeatToCheckout back to controller. ( #5970 )
...
* Move findLicenseSeatToCheckout back to controller.
After discussion, move findLicenseSeatToCheckout method back to
controller from form request. Also cleanup one tiny bit more with null
coalesce operator (Yay php 7).
* Revert Earlier change.
$target only exists in the checkoutTo* methods. Need to log the
checkout individually in each of those.
2018-07-27 12:03:04 -07:00
Daniel Meltzer
b58c77c8b8
Feature: Import users department. ( #5987 )
...
Maps to the "Department" header key by default. Bug: #5382
2018-07-27 12:02:18 -07:00
Daniel Meltzer
94c79fa69a
Fixed #5964 - Feature: Group IDs can be passed to User Create. ( #5990 )
...
Also added to update, and adjusted api tests to confirm. Long term it
might be nice to look at support for passing group names instead.
Bug: 5964
2018-07-27 12:01:59 -07:00
Daniel Meltzer
a3811f632d
Licence != License ( #5993 )
2018-07-27 12:01:25 -07:00
snipe
d8f0102204
Merge branch 'features/restore_deleted_cmd' into develop
...
# Conflicts:
# config/version.php
# resources/views/layouts/basic.blade.php
2018-07-27 02:48:13 -07:00
snipe
524c6c502e
Features/restore deleted cmd ( #5982 )
...
* Delete content from login attempts table
* Script to restore deleted users and put their asset assignments back
* Uncomment backup
2018-07-27 02:42:55 -07:00
snipe
6b013724aa
Uncomment backup
2018-07-26 18:11:51 -07:00
snipe
8774f0cf45
Script to restore deleted users and put their asset assignments back
2018-07-26 18:08:49 -07:00
snipe
8762e158c4
Delete content from login attempts table
2018-07-26 18:08:25 -07:00
Daniel Meltzer
49d95892e3
Port asset history importer to league/csv9 ( #5972 )
2018-07-26 12:04:21 -07:00
snipe
9618878023
Restrict users asset listing to just assets checked out to users
2018-07-25 21:40:33 -07:00
snipe
614e858e44
Restrict users asset listing to just assets checked out to users
2018-07-25 21:38:14 -07:00
snipe
b267b34762
Make sure there is a settings value
2018-07-25 19:02:35 -07:00
snipe
708b1a962c
Split out custom_css from custom_header
...
This makes it so that the custom_css will still be respected even if there is no custom header
2018-07-25 19:01:47 -07:00
snipe
a5daee811b
Split out custom_css from custom_header color
2018-07-25 19:00:03 -07:00
snipe
1fd0b14b98
Removed ide-helper config
2018-07-25 12:07:50 -07:00
snipe
ce44744dc6
Yoinked ide-helper
2018-07-25 12:07:03 -07:00
snipe
c90dee4cf4
Added barryvdh/laravel-ide-helper
2018-07-25 11:58:00 -07:00
snipe
373885ebd1
Use Storage for file uploads (not model images)
2018-07-25 11:57:49 -07: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
9535c68dfe
Fixed base path in local file driver
2018-07-25 10:44:37 -07:00
snipe
63bf71b071
Use Storage methods for asset/license files
2018-07-25 09:48:50 -07:00
snipe
2e92ef7d77
Removed HTML colspan for bootstrap table in files display
2018-07-25 07:40:04 -07:00
snipe
068ae5805b
Set base path for storage default on local disk
2018-07-25 07:39:47 -07:00
snipe
054de06522
Added cache variables to S3
2018-07-25 07:29:23 -07:00
snipe
9a99626b9e
Added SFTP to filesystem config
2018-07-25 07:27:31 -07:00
snipe
7a9a78ec53
Make Codacy happy by reversing the signature params
2018-07-25 07:14:16 -07:00
snipe
684a892e8b
Removed rackspace for now
2018-07-25 06:59:58 -07:00
snipe
91a9e410df
Fixed weird whereNULL
2018-07-25 06:46:06 -07:00
snipe
e64e1207cf
Reordered PHP versions because anal-retentive
2018-07-25 05:36:54 -07:00
snipe
999c4e781d
Update version of PHP for travis
2018-07-25 05:33:28 -07:00
snipe
3df19d267f
Fixed Ziggy routes
2018-07-25 03:00:27 -07:00
snipe
501f096a2c
Updated spatie backup config file for their latest version
2018-07-25 01:36:30 -07:00
snipe
47ed328f0e
Change fire() to handle() for Laravel 5.5
2018-07-25 01:28:44 -07:00
snipe
4cc7ed9ec7
Backup updates
2018-07-25 01:28:30 -07:00
snipe
7af633177a
Fixed filledFile back to hasFile
2018-07-24 22:52:49 -07:00
snipe
86c1f11bec
Change $request->has to $request->filled unilaterally
2018-07-24 22:51:31 -07:00
snipe
0714ac4248
Update withCounts because Laravel 5.5 :(
2018-07-24 22:40:05 -07:00
snipe
e6dd90e055
Added footer settings to settings reset
2018-07-24 22:21:16 -07:00
snipe
b2968ea6c6
Fixed paths to Aurhorizable/Authenticatable contracts
2018-07-24 21:29:08 -07:00
snipe
d81975e168
Laravel 5.6 requirement for filip/whoops
2018-07-24 21:28:37 -07:00
snipe
24c949c886
Bumped version to v5.0.0-pre
2018-07-24 21:13:02 -07:00
snipe
de84e1bd88
Added hashing config
2018-07-24 21:13:02 -07:00
snipe
60c4fa1d90
Updated trustedproxy w/config
2018-07-24 21:13:02 -07:00
snipe
3d3ed6ab03
Logging updates for 5.6
2018-07-24 21:13:02 -07:00
snipe
14735057a8
New spatie config file
2018-07-24 21:13:02 -07:00
snipe
75b3c66908
Spatie backup lang updates
2018-07-24 21:13:02 -07:00
snipe
52bd7e4dfb
Added language file for spatie
2018-07-24 21:13:02 -07:00
snipe
b58314493a
Use array for db dump configs
2018-07-24 21:13:02 -07:00
snipe
6ebc653620
Sparie backups config upgrade
2018-07-24 21:13:02 -07:00
snipe
f69e34f6ca
Applying @dmeltzer’s changes from afc8ac5e72
2018-07-24 21:13:02 -07:00
snipe
7bb50a61a7
Applying @dmeltzer’s changes from afc8ac5e72
2018-07-24 21:13:02 -07:00
snipe
6b31e2aca9
php7 composer
2018-07-24 21:13:02 -07:00
Antti
a55a9ca4cd
Fix: Made migration run original command for mysql ( #5915 )
...
* Fix: Made migration run original command for mysql
* Added sqlite_testing migration
* Review suggested fix
2018-07-24 20:57:47 -07:00
snipe
4e55a18a60
Bumped version
2018-07-24 19:46:23 -07:00
snipe
e332442132
Bumped version
2018-07-24 19:45:23 -07:00
Daniel Meltzer
64d649be7f
Monster: Cleanup/Refactor http controllers. ( #5916 )
...
* Extract a handlesimages trait to centralize logic for parsing/storing images on upload in create/edit methods.
* Use same image upload/layout in accessories as consum+components.
* Monster: Cleanup/Refactor http controllers.
This cleans up docblocks, pulls most non-crudy actions into their own
controllers, and does general cleanup/logic refactoring. There /should/
be no functional changes, but we all know how should works..
Extract checkin/checkout functions to a separate controller for accessories.
Move controllers to subdirectory.
Cleanup AssetModelsController
Extract component checkin/checkout
Assorted cleanups/doc/formatting in controllers.
Refactor LicenseController.
Refactor UsersController
Update viewassetscontroller.
* Codacy cleanups
* More codacy cleanups. Extract a LicenseCheckout Form request as well.
* A bit more refactor/cleaning of the license checkout method.
* Review Related Cleanups
* Fix most of the item_not_found translations. In many cases, the
string being generated did not even use the id parameter. Where it
does, pass it as id instead of as a different value.
* Remove some old $data arrays from when we manually sent emails from
the controllers. This has been superseeded by the notification system
(yay!)
* Bugfix: Only log the checkin of an accessory if the checkin completes sucessfully.
2018-07-24 19:35:26 -07:00
snipe
3de1de9dc6
Merge branch 'develop'
2018-07-24 14:04:16 -07:00
snipe
e320d2ba05
Fixed #5944 - added logo option for print-assets page ( #5950 )
2018-07-24 13:37:02 -07:00
snipe
ed78a4b8a0
Fixed activated issue for strict mode
2018-07-24 13:28:59 -07:00
snipe
376eb52f00
Fixed #5938 - added “self location edit” as permission
2018-07-24 12:42:16 -07:00
snipe
8ecceeacda
Fixed weird display for self options
2018-07-24 12:41:58 -07:00
snipe
f4cfb31bf4
Use request object
2018-07-24 12:10:02 -07:00
snipe
227dc7e81d
Save model display setting - fix for issue in #5301
2018-07-24 12:10:02 -07:00
snipe
152d985ebc
Add @Azerothian as a contributor
2018-07-24 12:10:02 -07:00
Earl Ramirez
ef1e8df001
Disable file browsing ( #5922 )
...
* Added cron to list of packages
* Disable file browsing from the public directory
2018-07-23 20:40:04 -07:00
snipe
5c2b1a3b70
Add @Azerothian as a contributor
2018-07-23 20:29:15 -07:00
Azerothian
66c3f5432d
implemented specific seat checkout ( #5887 )
2018-07-23 20:28:45 -07:00
Daniel Meltzer
de413408f5
Port/reenable most unit tests. ( #5921 )
...
* Port/reenable most unit tests.
Should probably flesh out notifications tests in the next few days.
* Disable json checkin in ApiAssetsTest@index for now. It's broken, but hiding other real broken things.
* Re Disable Groups allowDelete
2018-07-23 06:48:21 -07:00
Daniel Meltzer
059126f642
Checkout update locationid ( #5919 )
...
* Fix missing punctuation. Bad merge.
* If we're checking out to an location, use it's id instead of location_id
2018-07-23 06:47:21 -07:00
Daniel Meltzer
3bc43210ab
Add ID to the allowed sort fields in api/Users. ( #5929 )
2018-07-23 06:46:50 -07:00
Daniel Meltzer
82194cef8a
bugfix: updating a user when an admin (not a superuser) would remove any groups from the user. ( #5914 )
2018-07-21 23:02:06 -07:00
snipe
1956a16d1e
Merge branch 'develop'
2018-07-20 13:25:03 -07:00
Till Deeke
e1c095adca
Removes the typehint for search term string ( #5904 )
...
The „string“ typehint only works in PHP >= 7.0.0.
Since we are still supporting versions below that, remove the type hint.
2018-07-20 13:23:44 -07:00
Till Deeke
45a2932f4b
Fixes the generation of where conditions ( #5902 )
2018-07-20 13:23:29 -07:00
Till Deeke
b6e3715cd8
Fix: No Notifications for checking out Consumables ( #5898 )
...
* Adds a method to consumables to check if a notification should be sent
Adds the checkin_email method to Consumables, this gets checked in notifications when checking out the consumable.
Without the method, no notifications get sent for checking out consumables.
* Fixes the checkin_email method on the License model
This should allow the License to also send checkout/checkin notifications again.
2018-07-20 13:22:49 -07:00
snipe
aa9c0078a1
Merge branch 'develop'
...
# Conflicts:
# config/version.php
2018-07-19 14:47:27 -07:00
snipe
9677115055
Bumped version
2018-07-19 14:46:08 -07:00
snipe
d45e90e358
One more fix for #5893
2018-07-19 14:45:28 -07:00
snipe
f692fb5bff
Merge branch 'develop'
...
# Conflicts:
# config/version.php
2018-07-19 10:50:18 -07:00
snipe
83692696ba
Bumped version
2018-07-19 10:49:40 -07:00
snipe
bbb15d610f
Merge branch 'develop'
2018-07-19 10:40:38 -07:00
snipe
7ebb7876c4
Partial fix for #5896
...
Still need to fix the front end on edit, which seems to be defaulting to boolean
2018-07-19 10:40:07 -07:00
snipe
bd581d01a3
Use full row width for image field
2018-07-19 10:40:07 -07:00
snipe
de2ebba577
Category add/edit UI tweaks
2018-07-19 10:40:07 -07:00
Daniel Meltzer
351274c633
Hotfix: the checkin_email does not exist on consumable. ( #5891 )
2018-07-19 10:38:50 -07:00
snipe
53fab3e9ba
Merge branch 'develop'
2018-07-19 10:23:18 -07:00
snipe
a0c0b7b1eb
Fixed #5893 - activated typo
2018-07-19 10:22:08 -07:00
snipe
5a34d43a86
Fixed #5895 - wrong date validation in maintenances
2018-07-19 10:19:55 -07:00
snipe
86a0f77e6f
Merge branch 'develop'
2018-07-19 10:15:38 -07:00
snipe
9d00ae6e50
Fixed #5894 - lookup by asset tag in top search broken
2018-07-19 10:14:02 -07:00
snipe
8d23398176
Merge branch 'develop'
...
# Conflicts:
# config/version.php
2018-07-18 20:07:14 -07:00
snipe
5aae930e8c
Bumped version
2018-07-18 20:05:48 -07:00
snipe
6db096c336
Add @takuy as a contributor
2018-07-18 20:04:09 -07:00
snipe
78d27e82c8
Updated language strings
2018-07-18 20:03:31 -07:00
Sam
2a4fef6a61
adds select-id as an option for the asset-select partial. allows you to manually override the ID of an element. currently, the bulk-checkout partial has two asset-selects, with conflicting IDs. attempts to resolve #5882 ( #5883 )
2018-07-18 19:55:13 -07:00
snipe
9daeeeb851
Features/nicer notifications ( #5886 )
...
* Improved expiring licenses notification
* Improved expiring assets notification
* Nicee low inventory notification
* Refactored stupid language strings
* Oops
* Use settings variable
2018-07-18 19:15:45 -07:00
Daniel Meltzer
92671823d8
Userimport fixes/improvements ( #5884 )
...
* Send notification when user is created.
* Flesh out default user mappings
* Add user importing test.
2018-07-18 19:15:07 -07:00
Daniel Meltzer
19396b2107
Logic Fix ( #5877 )
...
If we have a username, we should look that up even if we do not have a
first name.
2018-07-18 19:10:36 -07:00
Brady Wetherington
f0332a7388
Add DB port number to docker
...
which gets copied to the docker image's `.env` file during installation. This closes #5718
2018-07-18 19:10:06 -07:00
snipe
70cb5ed215
Updated language strings
2018-07-18 08:55:38 -07:00
snipe
d309f67df0
Set activated to zero if no values passed for active user
2018-07-18 08:27:26 -07:00
snipe
7dc070ec2c
Add @engrzhou as a contributor
2018-07-18 07:39:46 -07:00
snipe
2ecdf19569
Add @GodUseVPN as a contributor
2018-07-18 07:39:23 -07:00
snipe
c56f2625b7
Add @grayhoax as a contributor
2018-07-18 07:38:57 -07:00
snipe
3dc154991a
Add @wira-sandy as a contributor
2018-07-18 07:37:56 -07:00
snipe
a5f57c050f
Add @vipsystem as a contributor
2018-07-18 07:37:30 -07:00
snipe
36c4cd98e0
Add @vinzruzell as a contributor
2018-07-18 07:36:31 -07:00
snipe
f6ef6039f4
Add @fraccie as a contributor
2018-07-18 07:35:55 -07:00
snipe
6867563e4a
Add @dheche as a contributor
2018-07-18 07:33:19 -07:00
snipe
21820262ce
Add @reinvanhaaren as a contributor
2018-07-18 07:29:12 -07:00
snipe
bae1203b64
Add @ragnarcx as a contributor
2018-07-18 07:28:41 -07:00
snipe
0f2ff7aba2
Add @ProfFan as a contributor
2018-07-18 07:28:03 -07:00
snipe
0ce90834f6
Add @priatna as a contributor
2018-07-18 07:27:42 -07:00
snipe
0e182bb2b9
Add @bodrovics as a contributor
2018-07-18 07:26:54 -07:00
snipe
7afff69fab
Add @pawel1615 as a contributor
2018-07-18 07:26:12 -07:00
snipe
136d59e4b9
Add @drcryo as a contributor
2018-07-18 07:25:49 -07:00
snipe
6d9cbac928
Add @pooot as a contributor
2018-07-18 07:25:25 -07:00
snipe
efcd8d339b
Add @saymd as a contributor
2018-07-18 07:24:51 -07:00
snipe
7e09ce468b
Add @omego as a contributor
2018-07-18 07:24:08 -07:00
snipe
baf714b41f
Add @MohammedFota as a contributor
2018-07-18 07:22:56 -07:00
snipe
b0808e846d
Add @IxFail as a contributor
2018-07-18 07:22:15 -07:00
snipe
0e3e10a707
Add @mikaelssen as a contributor
2018-07-18 07:21:32 -07:00
snipe
cbf3d5d071
Add @micaelrodrigues as a contributor
2018-07-18 07:20:20 -07:00
snipe
68d355a33d
Add @meyerf99 as a contributor
2018-07-18 07:19:59 -07:00
snipe
853923013a
Add @stubben as a contributor
2018-07-18 07:19:00 -07:00
snipe
737061a983
Add @msjohansen as a contributor
2018-07-18 07:17:34 -07:00
snipe
0438d55284
Add @mariejoyacajes as a contributor
2018-07-18 07:17:08 -07:00
snipe
924962c156
Add @MarcosBL as a contributor
2018-07-18 07:16:30 -07:00
snipe
a8c42843f6
Add @lstrojny as a contributor
2018-07-18 07:15:10 -07:00
snipe
63c4b7b6b6
Add @laopangzi as a contributor
2018-07-18 07:14:47 -07:00
snipe
ff06387d90
Add @joxelito94 as a contributor
2018-07-18 07:11:31 -07:00
snipe
fa46622bad
Add @JohnWillker as a contributor
2018-07-18 07:07:13 -07:00
snipe
fd65780287
Add @jarby1211 as a contributor
2018-07-18 07:05:34 -07:00
snipe
6478ec86ac
Add @itangiang as a contributor
2018-07-18 07:04:23 -07:00
snipe
748e0eb44f
Add @igolman as a contributor
2018-07-18 07:03:30 -07:00
snipe
507c07e9eb
Add @abaalkh as a contributor
2018-07-18 07:03:09 -07:00
snipe
5185a9e590
Add @husnulyaqien as a contributor
2018-07-18 07:02:34 -07:00
snipe
1ade088a8f
Add @Kentsson as a contributor
2018-07-18 07:00:50 -07:00
snipe
5c087181be
Add @fofwisdom as a contributor
2018-07-18 07:00:21 -07:00
snipe
08bb314bbc
Add @Hafidzi as a contributor
2018-07-18 06:59:43 -07:00
snipe
7ddb9becd4
Add @AdnanAbuShahad as a contributor
2018-07-18 06:59:03 -07:00
snipe
7d96709ee2
Add @mrgluek as a contributor
2018-07-18 06:58:28 -07:00
snipe
4413a9f0b6
Add @jgroblesr85 as a contributor
2018-07-18 06:58:10 -07:00
snipe
9611b55fb9
Add @georgwallisch as a contributor
2018-07-18 06:57:39 -07:00
snipe
dffd535f68
Add @gdraque as a contributor
2018-07-18 06:57:17 -07:00
snipe
4aaf2da651
Add @possebon as a contributor
2018-07-18 06:55:47 -07:00
snipe
80ac46af78
Add @fgbs as a contributor
2018-07-18 06:55:12 -07:00
snipe
13c58b54fa
Add @frapposelli as a contributor
2018-07-18 06:54:39 -07:00
snipe
355119187a
Add @Erlpil as a contributor
2018-07-18 06:54:03 -07:00
snipe
0d96587b04
Add @EpixFr as a contributor
2018-07-18 06:53:30 -07:00
snipe
be806def91
Add @dominiksenti as a contributor
2018-07-18 06:50:59 -07:00
snipe
8acf8027e9
Add @danielcb as a contributor
2018-07-18 06:49:25 -07:00
snipe
893a1fec57
Add @danielheene as a contributor
2018-07-18 06:48:58 -07:00
snipe
d182e40aef
Add @da-friedl as a contributor
2018-07-18 06:48:34 -07:00
snipe
6118aca949
Add @dpyroc as a contributor
2018-07-18 06:48:11 -07:00
snipe
f0ac83179f
Add @Wxcafe as a contributor
2018-07-18 06:47:18 -07:00
snipe
8969ffc14b
Update @CronKz as a contributor
2018-07-18 06:46:45 -07:00
snipe
9fb130146a
Add @kopi-item as a contributor
2018-07-18 06:46:24 -07:00
snipe
d285ff673a
Add @Againstreality as a contributor
2018-07-18 06:46:00 -07:00
snipe
7f586da856
Add @cwlin0416 as a contributor
2018-07-18 06:45:24 -07:00
snipe
c35f5b3116
Add @chibacityblues as a contributor
2018-07-18 06:44:40 -07:00
snipe
12927d2d54
Add @rudashi as a contributor
2018-07-18 06:43:43 -07:00
snipe
6b06b87547
Add @benunter as a contributor
2018-07-18 06:42:30 -07:00
snipe
058f8ae3b8
Add @aschiavon91 as a contributor
2018-07-18 06:40:14 -07:00
snipe
1faedac04b
Add @angeldeejay as a contributor
2018-07-18 06:39:39 -07:00
snipe
666c7321af
Add @xelan as a contributor
2018-07-18 06:39:05 -07:00
snipe
6cbaf7396a
Add @sirrus as a contributor
2018-07-18 06:38:25 -07:00
snipe
b706acaa9f
Add @RealEnder as a contributor
2018-07-18 06:36:42 -07:00
snipe
5870acb193
Add @albertoaldrigo as a contributor
2018-07-18 06:36:04 -07:00
snipe
c00b633312
Add @a-royal as a contributor
2018-07-18 06:33:05 -07:00
snipe
1c0ee7c4c5
Fixed license checkout gate
2018-07-18 05:33:14 -07:00
snipe
961741b809
Fixed license checkout gate
2018-07-18 05:31:59 -07:00
snipe
5a66f0f373
Include show_in_list option in select
2018-07-18 04:00:04 -07:00
snipe
5a1e1c73c9
Include show_in_list option in select
2018-07-18 03:59:02 -07:00
snipe
3be68ec721
Fix location edit permissions
2018-07-18 03:43:45 -07:00
snipe
0f81e494ee
Fix location update permission
2018-07-18 03:42:43 -07:00
snipe
d88f66b019
Updated to stale.yml
2018-07-18 02:57:05 -07:00
snipe
027edbdb21
Fixed #5872 - asset maintenances listing showing created_at instead of start_date
2018-07-18 02:24:53 -07:00
Daniel Meltzer
cf03d25934
Fix importer emailformat ( #5871 )
...
* Fix Importer emailformat
Str::slug() strips periods from the string, which caused our existing
logic to misbehave when generating a user's email on an import. Adjust
logic to use generateEmail() helper on user instead. Also clean up some
of the logic in this method.
* Remove dead code.
* More refactor/cleanup of the user create method. I think it is almost readable now.
2018-07-17 16:46:08 -07:00
snipe
75232d2a70
Added link to jamf2snipe
2018-07-17 14:17:13 -07:00
snipe
bcb966af12
Updated composer
2018-07-17 14:17:02 -07:00
snipe
0272e58868
Add @DeusMaximus as a contributor
2018-07-17 01:11:39 -07:00
snipe
bcd988bb81
Merge branch 'develop' of https://github.com/DeusMaximus/snipe-it into develop
...
# Conflicts:
# app/Http/Controllers/Auth/LoginController.php
2018-07-17 01:11:15 -07:00
snipe
aa6c21f38d
Fixed typo
2018-07-17 01:03:32 -07:00
snipe
3fb5f6f5be
Revert
2018-07-17 01:03:25 -07:00
snipe
5dc2ac9e22
Try to fix test
...
This is a listing, not a single asset
2018-07-17 00:20:06 -07:00
snipe
0f85d6810b
Added login log
2018-07-16 23:49:08 -07:00
snipe
bf761946da
Fix activated check for login
2018-07-16 23:48:46 -07:00
snipe
d9fa2f0e91
Fixed #5842 - added components to location detail view
2018-07-16 21:50:14 -07:00
snipe
8a25677a8d
Bumped hash
2018-07-16 21:35:21 -07:00
DeusMaximus
7c2da81700
Fix REMOTE_USER Header with IIS and AD
...
Remove DOMAIN\ portion of DOMAIN\user when using Windows Authentication and IIS with REMOTE_USER.
2018-07-17 14:03:19 +10:00
snipe
a4799a495a
Fixes #5859 - add file name/size to file upload UI ( #5861 )
...
* Fixes #5859 - add file name/size to file upload UI
* Reverting assetcontroller
Not sure exactly what happened here…
* Production assets
2018-07-16 20:09:53 -07:00
Till Deeke
b5de5ac19c
Fix: Searching for multiple terms on assets ( #5860 )
...
* Give advancedTextSearch all search terms at one
The additional conditions for assets had some problems, since they were joining tables for the additional attributes. The method was called once for every search term, so the join was added multiple times if the user entered multiple search terms.
* Allows search to handle multiple search terms better
The search now better handles multiple search terms, adding additional orWhere clauses, instead of duplicating all queries.
* Fixing typo
2018-07-16 17:44:31 -07:00
Daniel Meltzer
638a7b2d91
Assetcontroller cleanup ( #5858 )
...
* Extract method/cleanup
* Remove apiStore method that is unusued since api controllers.
* Use proper model exception
* Remove old user importer. This is now supported by the general importer framework.
* Refactor AssetsController methods.
This is a giant diff without many functional changes, mostly cosmetic.
I've pulled a number of methods out of assetscontroller, preferring
instead to create some more targetted controllers for related actions.
I think this cleans up the file some, and suggests some places for
future targetted improvement.
Fix weird missing things.
* Fix Unit test failing after date changes.
* Pass valid string to be translated.
* Some method cleanup for codacy.
* Extract trait for common checkout uses and codacy fixes.
2018-07-16 17:44:03 -07:00
Daniel Meltzer
dcf72ce2da
Strip timestamps from comparison for api tests, in an attempt to fix the test failures. ( #5847 )
2018-07-16 14:41:51 -07:00
Daniel Meltzer
8f6e0ad5be
Only error if checking out to asset with same id ( #5845 )
...
A user with an id of 2 is perfectly fine as a checkout_target of an asset with an id of 2.
2018-07-16 14:25:36 -07:00
Daniel Meltzer
50e0b9b84e
category_id not category_i ( #5844 )
2018-07-16 14:23:24 -07:00
Daniel Meltzer
b6b93550fe
Remove old helpers ( #5843 )
...
* Cleanup model bulk-edit
Use the general partials where appropriate, as well as display a list of
what models we are editing in the bulk edit.
* Use new api based fetch/display for modal select2.
This is just copy/pasting the code currently because I'm not entirely
sure how the two pieces of code interact.
* Remove old helper functions that are no longer necessary with our populating of select2 dropdowns via ajax.
2018-07-16 14:22:25 -07:00
Till Deeke
baa3be728d
Refactoring: A nicer and easier syntax for searching models ( #5841 )
...
* Adds the ability to search by dates
Adding extra „where“-conditions to the „TextSearch“ queries, allowing the users to search by dates
* Adds missing dates to $dates in models
* Removes duplicated „where“ conditions
* Adds the Searchable trait to models, defining the searchable attributes and relations
* Removes the old text search methods
* Adds back additional conditions to the search
These conditions could not be modeled in the „attributes“ or „relations“, so we include them here
* Removes unnecessary check for the deleted_at attribute
* Fixes typo in comments
* suppresses errors from Codacy
We can safely ignore the error codacy is throwing here, since this method is a standin/noop for models who need to implement more advanced searches
2018-07-16 14:13:07 -07:00
Till Deeke
240e642fe9
Removes the unused bulk operations for components ( #5840 )
2018-07-16 14:11:38 -07:00
Till Deeke
07a92d20d7
Fixing #5773 : Refactoring the "clearing" of select2 lists ( #5839 )
...
* adds select2 placeholders to select lists
To allow us to clear the selection on „select2“ selects, we need a placeholder attribute
See: https://select2.org/placeholders
* Removes empty option from multiple select
select2 requires an empty option value on singular selects, but not on multiple selects.
When selecting multiple options, this empty option would be shown as selectable otherwise, not clearing the selection.
* Adds the option to clear select2 instances
Sets the correct options to allow clearing of out select2 instances. The empty placeholder is required, since clearing only works when a placeholder ist set (event an empty one).
See: https://select2.org/placeholders
* Removes the „Clear selection“ option from select lists
Since we can clear the select2 lists with their native clearing method, we can remove this hack
* Updates generated assets (css/js)
2018-07-16 14:10:54 -07:00
Till Deeke
3f334406d1
Fixing #5470 : Checkin emails not working ( #5838 )
...
* Always send checkin notifications to users
This fixes the routing of the notifications, to only send „checkin“ emails if the „mail on checkin“ flag on the category was set. (and we checkout to a user with a non-empty email)
* Fixes checkout notification routing
Notifications to users should be send if the category of the resource (accessory/asset/consumable/license):
a) requires the user to confirm acceptance
b) should send notifications on checkin/checkout
* adds a check for EULAs
Adds back a check for the EULA, since the user should receive the EULA if it was set (regardless of other setings on the category, etc)
2018-07-16 14:09:04 -07:00
Till Deeke
dbd177576e
Brings back the „pending“ state when checking out ( #5837 )
...
When a user would get an asset checked out for them, and the assets category required acceptance of the asset, the „pending“ state would not get set.
2018-07-16 14:07:24 -07:00
Till Deeke
0fb9f42ba4
Removes setting the encryption status on update ( #5833 )
...
When we are updating a custom field, we don’t want to change the „field_encrypted“-setting on it.
2018-07-13 04:04:30 -07:00
snipe
b4542d4d42
Fix migration for models on labels
2018-07-12 21:49:44 -07:00
snipe
4bfd7a7e4e
Add @chemfy as a contributor
2018-07-12 18:28:43 -07:00
snipe
3fe1562b92
Add @jasonlshelton as a contributor
2018-07-12 18:28:43 -07:00
Till Deeke
27699aa99c
Adds permission checks for custom fields and custom fieldsets ( #5645 ) ( #5795 )
...
* adds permission checks to custom fields
* adds permission checks to custom fieldsets
* adds separate permissions for custom fieldsets
* check for permissions in views
* Removes custom fieldsets from permissions config
* Proxy the authorization for custom fieldsets down to custom fields.
This allows us to use the existing permissions in use and have more semantically correct authorization checks for custom fieldsets.
* simplifies the authorization check for the custom fields overview
* removes special handling of custom fieldsets in base policy
I just realised that this code duplicates the logic from the custom fieldset policy.
Since we are checking for the authorization of custom fields anyway, we can just use the columnName for the fields.
* cleanup of unused imports
2018-07-12 18:28:20 -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
Antti
9dc226e3d6
Feature: PostgreSQL support ( #5642 )
...
* Made migrations work with pgsql and changing empty integers to null
* Fixed the last functional test
2018-07-12 18:24:43 -07:00
Jason
98b20fc1cd
Added option to include model information on asset labels. ( #5301 )
...
* Added option to include model information on asset labels.
Cleaned up label page to fix skewed label alignment on last row per page.
* Changes made per Snipe's direction
changed type from tinyint to boolean in DB
changed labels back to initials
2018-07-12 18:23:12 -07:00
snipe
980dccf31c
Add @5quirrel as a contributor
2018-07-12 18:19:35 -07:00
snipe
bb2193d481
Add @tilldeeke as a contributor
2018-07-12 18:19:14 -07:00
5quirrel
bf8fe316df
Fix for #4901 ( #5829 )
2018-07-12 16:45:12 -07:00
snipe
96716626c6
Fixed #5828 - typo
2018-07-12 14:07:07 -07:00
snipe
e20338ff9e
Merge branch 'develop'
2018-07-09 22:38:04 -07:00
snipe
78530ae123
Fix tests
2018-07-09 21:57:45 -07:00
snipe
52d605d13e
Merge branch 'develop'
...
# Conflicts:
# config/version.php
2018-07-09 19:21:23 -07:00
snipe
0182615e7e
Bumped version
2018-07-09 19:18:38 -07:00
snipe
fad84d4437
Merge branch 'develop'
...
# Conflicts:
# config/version.php
2018-07-09 19:07:49 -07:00
snipe
c162e9a4de
Bumped hash
2018-07-09 19:06:56 -07:00
snipe
bf1e742df6
Merge branch 'develop'
2018-07-09 19:05:19 -07:00
snipe
0e88a6b268
Fixed bug in branding image upload size text
2018-07-09 19:04:18 -07:00
Till Deeke
c1e870528e
Fixes the label association ( #5510 ) ( #5790 )
2018-07-09 14:51:17 -07:00
snipe
35fc001c58
Fixed #5742 - create_function() is deprecated
2018-07-05 20:49:01 -07:00
snipe
339263a295
Fixed #5751 - added option for unique constraint on serial
2018-07-05 19:30:36 -07:00
snipe
a44bd9abe0
Disallow deleting category if there are licenses
2018-07-05 18:02:25 -07:00
snipe
b850d47282
Merge branch 'develop'
2018-07-05 15:40:07 -07:00
snipe
4099c06b27
fix middleware priority: handle trusted proxies prior setup check
...
From @plexorama
2018-07-05 15:36:59 -07:00
snipe
e559879f91
Add @plexorama as a contributor
2018-07-05 15:35:37 -07:00
snipe
abb95e7872
Tweaked custom field default value layout
...
This still needs work. It’s ugly.
2018-07-05 15:31:27 -07:00
snipe
869de3d251
Fixed broken pagination on status labels API
2018-07-05 14:42:39 -07:00
snipe
f3526eccb9
Merge branch 'features/textarea-custom-field' into develop
...
# Conflicts:
# public/js/build/all.js
# public/js/build/vue.js
# public/js/build/vue.js.map
# public/js/dist/all.js
# public/mix-manifest.json
2018-07-05 12:37:07 -07:00
Daniel Meltzer
880faa83a6
Importer2 checkout ( #5771 )
...
* Importer: checkout to location, backend changes+tests.
* Import location checkout. Frontend changes.
* Allow importing of item number/model number for consumables.
2018-07-05 12:22:24 -07:00
Juan Font
311f9fcefb
Implemented method to get info on the current user of the API ( #5722 )
...
* Implemented method to get info on the current user of the API
* Move userinfo method to UsersController
* Added missing files
2018-07-02 20:35:10 -07:00
snipe
8732f299e6
Added logo class for logo override in custom CSS
2018-07-02 18:47:30 -07:00
Arunas Skirius
b30aac536a
fixed the alignment of a couple navbar icons ( #5764 )
2018-07-02 18:10:25 -07:00
snipe
d7dc4ae0c0
Added manager to custom report
2018-06-27 00:45:09 -07:00
snipe
5bb4c85ccb
Update twitter handle
2018-06-27 00:44:54 -07:00
snipe
80dda198c5
Parse line breaks in the detail view
2018-06-21 09:44:10 -07:00
snipe
9442736518
Adds textarea as a custom field type
2018-06-21 09:35:04 -07:00
snipe
2fbad52c71
Merge branch 'develop'
2018-06-21 07:54:01 -07:00
snipe
5975c9fac7
Add @ParadoxGuitarist as a contributor
2018-06-21 07:52:24 -07:00
snipe
7b0e392ecd
Add @thelamer as a contributor
2018-06-21 07:52:04 -07:00
snipe
b51a10b46b
Add @RichardRay as a contributor
2018-06-21 07:51:39 -07:00
snipe
6c58f59d72
Add @EarlRamirez as a contributor
2018-06-21 07:51:24 -07:00
snipe
cd9caa24ad
Add @SjamonDaal as a contributor
2018-06-21 07:51:13 -07:00
snipe
cbb4b4d846
Merge branch 'develop'
...
# Conflicts:
# config/version.php
2018-06-21 07:46:27 -07:00
snipe
ea4cdadc6e
Bumped version
2018-06-21 07:44:58 -07:00
snipe
6638d64d68
Merge remote-tracking branch 'origin/master' into develop
2018-06-21 07:43:32 -07:00
snipe
eb412c2bcb
Missed one
2018-06-21 07:43:12 -07:00
snipe
fde4a59510
Bumped version
2018-06-21 07:40:37 -07:00
snipe
1ee394aa69
Added Select2 to class for dropdowns
2018-06-21 07:40:30 -07:00
snipe
707f90573c
Merge branch 'thelamer-docker-fixes' into develop
2018-06-21 07:31:55 -07:00
snipe
f8429ad357
Merge branch 'docker-fixes' of https://github.com/thelamer/snipe-it into thelamer-docker-fixes
2018-06-21 07:31:15 -07:00
snipe
aa5003d297
Merge branch 'develop'
2018-06-21 07:21:24 -07:00
snipe
e9901f5e58
Set composer timeout to 3000
2018-06-21 07:17:51 -07:00
Djamon Staal
f0d04a4a57
End help text with a period consistently. ( #5731 )
2018-06-21 07:13:29 -07:00
Djamon Staal
32e3f748d8
Make version footer configurable. ( #5730 )
2018-06-21 07:12:16 -07:00
Earl Ramirez
fa465a84df
Added cron to list of packages ( #5729 )
2018-06-20 23:28:35 -07:00
Earl Ramirez
82cf1a4467
Updated SELinux label ( #5728 )
2018-06-20 23:28:20 -07:00
tiagom62
3bbd49dbad
Don't run composer as root ( #5689 )
...
* dont run composer as root
* better naming
2018-06-20 19:59:44 -07:00
Daniel Meltzer
ad21857cae
Update my email address across files. ( #5716 )
2018-06-20 01:59:59 -07:00
Daniel Meltzer
2d18b73138
Fix #5408 . ( #5715 )
...
The temporary password cannot be added to the users data until after do
any update-related logic, otherwise their password will be overwritten.
2018-06-20 01:59:04 -07:00
Richard Ray Thomas
e7bc18dad4
Fixed inconsistent or incorrect comment labels ( #5691 )
...
Accessories table was labeled 'Checked out License table' likely just a duplicate of the above comment for the actual licenses table. Very minor.
2018-06-11 20:11:58 -07:00
snipe
62e4eabab0
Fixed #5693 - don’t truncate license key
2018-06-11 18:47:02 -07:00
tiagom62
d204eebab9
Ubuntu Bionic Beaver 18.04 support ( #5687 )
...
* bionic box
* bionic beaver support
2018-06-09 11:21:28 -07:00
thelamer
ed5823151b
in order to avoid manual user intervention of running "php artisan migrate" before installation on a clean database pulling in migration scripts on startup if needed, also ownership of keys needs to be the docker user
2018-06-07 22:29:00 -07:00
snipe
968d7d1f11
Fixed #5354 - adds dd/mm/yyyy to localization
2018-06-05 15:30:50 -07:00
snipe
086683319a
Fixed #5172 - autosum on assets detail view for components tab
2018-06-02 06:21:51 -07:00
snipe
e5c1f4847d
Added emoji to exempt list to match current labels
2018-06-01 13:55:39 -07:00
snipe
087e114d34
Merge branch 'develop'
2018-05-31 16:34:25 -07:00
snipe
5a6b8bb856
Make default custom field value null
2018-05-31 14:21:18 -07:00
snipe
102f567cb5
Fixed typo
2018-05-31 10:55:48 -07:00
snipe
1a64879b65
Only allow remote user settings to be saved if the app is not in demo mode
2018-05-31 10:55:48 -07:00
Brady Wetherington
4a0e5e4b88
Possible fix for oauth issue in Docker
2018-05-31 01:36:51 -07:00
snipe
01857fb056
Added created_at to file upload UI, added header/footer to files modal, fixed string for actions
2018-05-29 16:38:23 -07:00
snipe
3afe4938f9
Fixed #5616 - removed duplicate call to ekkoLightbox on asset view
...
It’s already in the default blade
2018-05-29 16:36:42 -07:00
snipe
9e0544e735
Fixed #5617 - incorrect url to fieldset editing
2018-05-29 10:41:46 -07:00
snipe
3993c6ad6b
Use custom header color in emails
2018-05-29 10:23:39 -07:00
Brian Monroe
649563457d
Added notes field to acessories and consumable checkout pages. Resolves request #5607 . ( #5608 )
2018-05-28 14:30:18 -07:00
snipe
6ec75714f0
Force default srtorage engine
2018-05-22 14:57:05 -07:00
snipe
15916e6668
Allow checkout to non-user objects even if the object requires checkout
2018-05-21 17:35:04 -07:00
snipe
76d0562716
Added last name to expected checkin notification
...
For non-US countries like Germany where it’s considered rude not to include last name
2018-05-21 17:34:27 -07:00
snipe
2ecc4aead7
Merge branch 'develop'
...
# Conflicts:
# config/version.php
2018-05-21 15:43:48 -07:00
snipe
d8210847a4
Bumped version
2018-05-21 15:43:04 -07:00
snipe
ece916e12f
Merge branch 'develop'
2018-05-21 15:41:40 -07:00
snipe
1a29d4f60f
Check for > 0 expected assets
2018-05-21 15:41:19 -07:00