Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accepted Assets PDF - Images not found #12434

Closed
2 tasks done
aj-bayanat opened this issue Jan 31, 2023 · 7 comments · Fixed by #13124
Closed
2 tasks done

Accepted Assets PDF - Images not found #12434

aj-bayanat opened this issue Jan 31, 2023 · 7 comments · Fixed by #13124
Assignees

Comments

@aj-bayanat
Copy link

aj-bayanat commented Jan 31, 2023

Debug mode

Describe the bug

Hi,
I am running the official docker image.

When the EULA pdf is generated, the header Image and the signature both show as "Image not found.." Eben though the signature can be seen and clicked on from the Webpage.
Since I am running the docker image, there are no logs in laravel.log as the file does not exist.
Even if I create the log file with correct permissions, nothing seems to be written to it. Snipe-IT also tells me there are no permission issues with this file if I run upgrade.php
There are no browser errors either. If there is some other way of getting logs please let me know and I will try it out.

Reproduction steps

  1. Checkout an asset
  2. User accepts and signs it
  3. Download EULA pdf from the asset/history page

Expected behavior

The EULA pdf should have the header image and signature image embedded in it properly without showing an error saying image not found.

Screenshots

image

image

image

Snipe-IT Version

v6.0.14 build 9236 (g05a3f20d5)

Operating System

TrueNAS Scale

Web Server

Apache

PHP Version

7.4.3-4

Additional context

Just to add some info, I moved snipe-it from a manual install on centos stream to docker. Re-created and restored db on mariadb also running in a different docker container.

@aj-bayanat
Copy link
Author

Hi, Would there be any way of gathering more information about the issue on my end so that I can help you find whats causing this issue ?

@newburns
Copy link

newburns commented Feb 6, 2023

This is also happening on my system with the official Docker. I am running a standard MySQL database though. Not included in the docker-compose yml file.
Please let me know what I can do to get the logs you are looking for. I can "docker exec -it" but I don't know what logs I need

@aj-bayanat
Copy link
Author

I also am using a standalone database. MariaDB in my case.

@aj-bayanat
Copy link
Author

Hi, any updates on this issue? We are still having it after updating to the latest docker image.
Digest:31bfb386afd3
v6.0.14 - build 9715 (master)

@aj-bayanat
Copy link
Author

I have migrated back to a custom install and the issue is not there anymore. This confirms its only a issue in docker.

@m4us1ne
Copy link

m4us1ne commented Jun 6, 2023

it looks like a permission error on the files, after some digging i got this error ( i had to enable show_warnings in the dompdf settings)
root@snipe-7d55698865-tslpn:/var/www/html/public/uploads# ls -l /var/www/html/public/uploads/setting-logo-yQ3ZZX8hpo.svg -rw-r--r--. 1 docker root 10437 May 16 14:34 /var/www/html/public/uploads/setting-logo-yQ3ZZX8hpo.svg
root@snipe-7d55698865-tslpn:/var/www/html/public/uploads# ls -l /var/www/html/storage/private_uploads/signatures/siglog-d00b081d-d20c-47d9-8596-25d949690e76-2023-06-06-021143.png-rw-r--r--. 1 docker staff 14372 Jun 6 12:11 /var/www/html/storage/private_uploads/signatures/siglog-d00b081d-d20c-47d9-8596-25d949690e76-2023-06-06-021143.png

Exception Error loading /var/www/html/public/uploads/setting-logo-yQ3ZZX8hpo.svg: Permission denied. The file could not be found under the paths specified by Options::chroot. /var/www/html/public/uploads/setting-logo-yQ3ZZX8hpo.svg Error loading /var/www/html/storage/private_uploads/signatures/siglog-d00b081d-d20c-47d9-8596-25d949690e76-2023-06-06-021143.png: Permission denied. The file could not be found under the paths specified by Options::chroot. /var/www/html/storage/private_uploads/signatures/siglog-d00b081d-d20c-47d9-8596-25d949690e76-2023-06-06-021143.png
https://flareapp.io/share/OmVjxlxm

Flare
Error loading /var/www/html/public/uploads/setting-logo-yQ3ZZX8hpo.svg: Permission denied. The file could not be found under the paths specified by Options::chroot. /var/www/html/public/uploads/setting-logo-yQ3ZZX8hpo.svg Error loading /var/www/html/storage/private_uploads/signatures/siglog-d00b081d-d20c-47d9-8596-25d949690e76-2023-06-06-021143.png: Permission denied. The file could not be found under the paths specified by Options::chroot. /var/www/html/storage/private_uploads/signatures/siglog-d00b081d-d20c-47d9-8596-25d949690e76-2023-06-06-021143.png - The error occurred at https://inventory-test.synyx.cloud/account/accept/287

@m4us1ne
Copy link

m4us1ne commented Jun 6, 2023

setting this line to "chroot" => "/",
"fixes" it. i'm not really familiar with php so i am still trying to find out to what base_path() evaluates inside the container compared to a vm based deployment

EDIT:
my theory is that the problem is the symlink inside of the container. the vm based deployments does not make use of of symlinks, but the Dockerfile creates symlinks for various things including public and private uploads

m4us1ne added a commit to m4us1ne/snipe-it that referenced this issue Jun 6, 2023
m4us1ne added a commit to m4us1ne/snipe-it that referenced this issue Jun 6, 2023
m4us1ne added a commit to m4us1ne/snipe-it that referenced this issue Jun 6, 2023
snipe added a commit that referenced this issue Jun 15, 2023
Fixed #12434: Include Docker Specific Paths for dompdf chroot
@snipe snipe closed this as completed in 9fca8c2 Jun 15, 2023
DarthKillian added a commit to DarthKillian/eti-assets that referenced this issue Jun 16, 2023
* buttons added

* Buttons on the accessory view page

* Buttons on the accessory view page

* Bumped version to 6.1.1-pre

Signed-off-by: snipe <snipe@snipe.net>

* Add CheckoutAcceptance factory

* Include user's name in Acceptance result notifications for accessories

* Capitalize "declined" in acceptance in notification

* Add additional information to acceptance notifications for assets, accessories, and consumables

* Restore the 'Asset Notes' and 'Model Notes' in the Map Asset Import Fields form

* Tweak 'exist' rule in Asset->model_id field so it ignores soft-deleted models

* Show signature column regardless of “require sig” state

Signed-off-by: snipe <snipe@snipe.net>

* Added missing use statement

Signed-off-by: snipe <snipe@snipe.net>

* Fixed misplaced div when saml is disabled

Signed-off-by: snipe <snipe@snipe.net>

* Add optional filename to backup

Signed-off-by: snipe <snipe@snipe.net>

* Check that the filename we pass ends in zip, add it if not

Signed-off-by: snipe <snipe@snipe.net>

* Make validation match database fields

Signed-off-by: snipe <snipe@snipe.net>

* Migration to embiggen state fields

Signed-off-by: snipe <snipe@snipe.net>

* Added maxlenth to form fields

Signed-off-by: snipe <snipe@snipe.net>

* Pass filename to pre-import backup

Signed-off-by: snipe <snipe@snipe.net>

* Pass filename for manual backups

Signed-off-by: snipe <snipe@snipe.net>

* Removed whitespace

Signed-off-by: snipe <snipe@snipe.net>

* Add ejected pipeline configuration for ChipperCI

* Configure Dusk for ChipperCI

* Limit ChipperCI to running on push to master or develop

* Fixed width of columns in details

Signed-off-by: snipe <snipe@snipe.net>

* Added icon field back into assets page

Signed-off-by: snipe <snipe@snipe.net>

* Made spacing more compact

Signed-off-by: snipe <snipe@snipe.net>

* Tightened up some layout issues, checkbox issues in LDAP settings

Signed-off-by: snipe <snipe@snipe.net>

* Google oauth login

Signed-off-by: snipe <snipe@snipe.net>

* Added migration

Signed-off-by: snipe <snipe@snipe.net>

* Removed env dependency, switched to DB

Signed-off-by: snipe <snipe@snipe.net>

* Add validation and fillable fields

Signed-off-by: snipe <snipe@snipe.net>

* Added settings routes for google auth

Signed-off-by: snipe <snipe@snipe.net>

* Changed redirect

Signed-off-by: snipe <snipe@snipe.net>

* Added methods for google settings

Signed-off-by: snipe <snipe@snipe.net>

* Removed redirect option

Signed-off-by: snipe <snipe@snipe.net>

* Added google option to settings index

Signed-off-by: snipe <snipe@snipe.net>

* Added google settings blade

Signed-off-by: snipe <snipe@snipe.net>

* Pulled redirect from settings

Signed-off-by: snipe <snipe@snipe.net>

* Use google logo

Signed-off-by: snipe <snipe@snipe.net>

* Disabled fields in demo mode

Signed-off-by: snipe <snipe@snipe.net>

* Very ugly login shim just to test functionality

Signed-off-by: snipe <snipe@snipe.net>

* Disallow saving data if app is locked

Signed-off-by: snipe <snipe@snipe.net>

* Create constructor to override expected config variables

Signed-off-by: snipe <snipe@snipe.net>

* Added debugging

Signed-off-by: snipe <snipe@snipe.net>

* Switch to using username as match for google login

Signed-off-by: snipe <snipe@snipe.net>

* Remove avatar update, since we don’t take URLs for that

Signed-off-by: snipe <snipe@snipe.net>

* Use normal translation style

Signed-off-by: snipe <snipe@snipe.net>

* Clearer comments

Signed-off-by: snipe <snipe@snipe.net>

* Re-add the image update

Signed-off-by: snipe <snipe@snipe.net>

* Check for http or https in avatar value

Signed-off-by: snipe <snipe@snipe.net>

* Added translation string for google auth failure

Signed-off-by: snipe <snipe@snipe.net>

* Hide client secret if app is locked

Signed-off-by: snipe <snipe@snipe.net>

* Nicer button

Signed-off-by: snipe <snipe@snipe.net>

* Added validation on google client ID

Signed-off-by: snipe <snipe@snipe.net>

* Added ends_with validation message

Signed-off-by: snipe <snipe@snipe.net>

* Added translations

Signed-off-by: snipe <snipe@snipe.net>

* Few more login page tweaks

Signed-off-by: snipe <snipe@snipe.net>

* Final google login tweaks

Signed-off-by: snipe <snipe@snipe.net>

* I lied. Missed one

Signed-off-by: snipe <snipe@snipe.net>

* Extra debugging

Signed-off-by: snipe <snipe@snipe.net>

* Added Google test user

Signed-off-by: snipe <snipe@snipe.net>

* Bumped hash

Signed-off-by: snipe <snipe@snipe.net>

* Disable browser tests in ChipperCI

* Updated webpack, new asset files

Signed-off-by: snipe <snipe@snipe.net>

* Production assets

Signed-off-by: snipe <snipe@snipe.net>

* Add @vikaas-cyper as a contributor

* Used brackets for multiselect company

Signed-off-by: snipe <snipe@snipe.net>

* Fixed multiselect for companies

Signed-off-by: snipe <snipe@snipe.net>

* Wrong eval

Signed-off-by: snipe <snipe@snipe.net>

* Added multi-select option to custom report

Signed-off-by: snipe <snipe@snipe.net>

* standardizes the importer colors no matter the theme

* adds translation to checkout notification

* removes assigned_to if archived

* Additional multi-select options for custom report

Signed-off-by: snipe <snipe@snipe.net>

* Use actions text in backups table

Signed-off-by: snipe <snipe@snipe.net>

* Importer fix for non-Location imports

* Updated dev assets

Signed-off-by: snipe <snipe@snipe.net>

* Added EOL date to importer

Signed-off-by: snipe <snipe@snipe.net>

* Removed todo

Signed-off-by: snipe <snipe@snipe.net>

* Remove 99% of the defaultMap stuff (might pull all of this later)

Signed-off-by: snipe <snipe@snipe.net>

* Refactored the static arrays into mount arrays for translations

Signed-off-by: snipe <snipe@snipe.net>

* testing input paddings

* adds padding to multi select2 inputs

* testing overflow solutions

* adds overflow-wrap to asset info table

* Adapt multiple column search based on database driver

* Move multiple column search function to Searchable trait

* Simplify sqlite query

* Apply formatting

* Define required fields in Custom Field seeder so sqlite can be seeded

* Update advancedTextSearch methods in Asset and User models

* Added translation

Signed-off-by: snipe <snipe@snipe.net>

* Added component mapping switch

Signed-off-by: snipe <snipe@snipe.net>

* Updated arrays with translations

Signed-off-by: snipe <snipe@snipe.net>

* Removed item number, since not everything will have it

Signed-off-by: snipe <snipe@snipe.net>

* Updated translations

Signed-off-by: snipe <snipe@snipe.net>

* Removed requestable field in sample consumable CSV

Signed-off-by: snipe <snipe@snipe.net>

* Added/fixed a few more translations

Signed-off-by: snipe <snipe@snipe.net>

* Added gravatar, avatar, start_date and end_date to user importer

Signed-off-by: snipe <snipe@snipe.net>

* Additional alias fields

Signed-off-by: snipe <snipe@snipe.net>

* New user import sample CSV

Signed-off-by: snipe <snipe@snipe.net>

* Eager load fieldset default values in asset model endpoint

* Add a condition to check if images should be shown in notification

* Update scopeAssignedSearch in Asset

* Update searchRelations in Searchable trait

* Formatting

* Add docblock

* Pass user count to the eloquent query

* Add comment

* More refactoring

Signed-off-by: snipe <snipe@snipe.net>

* Updated CSVs

Signed-off-by: snipe <snipe@snipe.net>

* fixes mobile nav bar and notification position

* Removed unneeded mapping file

Signed-off-by: snipe <snipe@snipe.net>

* More user fields in asset importer

Signed-off-by: snipe <snipe@snipe.net>

* Clarifying comment

Signed-off-by: snipe <snipe@snipe.net>

* More translations

Signed-off-by: snipe <snipe@snipe.net>

* More aliases

Signed-off-by: snipe <snipe@snipe.net>

* Add dynamic scope for prettier multiple column search

* Add docblock

* Use new dynamic scope where possible

* Add test for searching for user's first and last name

* Removed comment

Signed-off-by: snipe <snipe@snipe.net>

* Updated dev assets

Signed-off-by: snipe <snipe@snipe.net>

* Automatically add table prefixes when building multi-column search string

* Clearer comments

Signed-off-by: snipe <snipe@snipe.net>

* Added first name and last name

Signed-off-by: snipe <snipe@snipe.net>

* Removed method that does the same return

Signed-off-by: snipe <snipe@snipe.net>

* New assets CSV

Signed-off-by: snipe <snipe@snipe.net>

* Renamed sample csv

Signed-off-by: snipe <snipe@snipe.net>

* More translations

Signed-off-by: snipe <snipe@snipe.net>

* Indenting

Signed-off-by: snipe <snipe@snipe.net>

* Renamed import samples

Signed-off-by: snipe <snipe@snipe.net>

* Refactor to remove general_fields

Signed-off-by: snipe <snipe@snipe.net>

* Use trim() function when format the custom field values as array

* Updated dev assets

Signed-off-by: snipe <snipe@snipe.net>

* Fixed missing brace from conflict

Signed-off-by: snipe <snipe@snipe.net>

* Updated dev assets

Signed-off-by: snipe <snipe@snipe.net>

* Updated hash

Signed-off-by: snipe <snipe@snipe.net>

* Updated dev assets

Signed-off-by: snipe <snipe@snipe.net>

* Added asset_tag column in requestable assets page

* Fixed

* Fixed typo

Signed-off-by: snipe <snipe@snipe.net>

* Fixes: issue snipe#13073: deleted component addearing in asset component tab fixed

* Add @ak-piracha as a contributor

* follow best practices when working with blade and javascript

* Replace join with left join in pertinent eloquent query

* More license translations

Signed-off-by: snipe <snipe@snipe.net>

* Ensure consumable name is valid in factory

* Get name as a string and not an array

* fix: slack channel

* Fix of typo in an HTML tag

* Added missing assets_fields declaration

Signed-off-by: snipe <snipe@snipe.net>

* Add @NojoudAlshehri as a contributor

* Updated webpack, added new dev assets

Signed-off-by: snipe <snipe@snipe.net>

* Add @stefanstidlffg as a contributor

* Updated libraries and dev assets

Signed-off-by: snipe <snipe@snipe.net>

* Bumped hash

Signed-off-by: snipe <snipe@snipe.net>

* Fixed snipe#12434: Include Docker Specific Paths for dompdf chroot

* Fix missing ldap packages

This should provide LDAPS support out of the box, and fix snipe#13129

* Applied snipe#13143 to develop

Signed-off-by: snipe <snipe@snipe.net>

* Add @qay21 as a contributor

* adds warranty confirmation to asset maintenance table

* uses the trueFalseFormatter now

* Updated translation strings

Signed-off-by: snipe <snipe@snipe.net>

* attempt to add warranty to api controller

* Accept user ID as authoratative field for updates

Signed-off-by: snipe <snipe@snipe.net>

---------

Signed-off-by: snipe <snipe@snipe.net>
Signed-off-by: Ryan Huntington <rhuntington719@gmail.com>
Co-authored-by: snipe <snipe@snipe.net>
Co-authored-by: akemidx <kojotek.dx@gmail.com>
Co-authored-by: Marcus Moore <contact@marcusmoore.io>
Co-authored-by: Ivan Nieto Vivanco <inietov@gmail.com>
Co-authored-by: Godfrey M <godmartinz@gmail.com>
Co-authored-by: Brady Wetherington <bwetherington@grokability.com>
Co-authored-by: NojoudAlshehri <111287779+NojoudAlshehri@users.noreply.github.com>
Co-authored-by: ak-piracha <abdulkareem.w@outlook.com>
Co-authored-by: Stefan Stidl <54367449+stefanstidlffg@users.noreply.github.com>
Co-authored-by: Lukas Jung <jung@synyx.de>
Co-authored-by: Quentin Aymard <87803479+qay21@users.noreply.github.com>
DarthKillian added a commit to DarthKillian/eti-assets that referenced this issue Jun 19, 2023
* buttons added

* Buttons on the accessory view page

* Buttons on the accessory view page

* Bumped version to 6.1.1-pre

Signed-off-by: snipe <snipe@snipe.net>

* Add CheckoutAcceptance factory

* Include user's name in Acceptance result notifications for accessories

* Capitalize "declined" in acceptance in notification

* Add additional information to acceptance notifications for assets, accessories, and consumables

* Restore the 'Asset Notes' and 'Model Notes' in the Map Asset Import Fields form

* Tweak 'exist' rule in Asset->model_id field so it ignores soft-deleted models

* Show signature column regardless of “require sig” state

Signed-off-by: snipe <snipe@snipe.net>

* Added missing use statement

Signed-off-by: snipe <snipe@snipe.net>

* Fixed misplaced div when saml is disabled

Signed-off-by: snipe <snipe@snipe.net>

* Add optional filename to backup

Signed-off-by: snipe <snipe@snipe.net>

* Check that the filename we pass ends in zip, add it if not

Signed-off-by: snipe <snipe@snipe.net>

* Make validation match database fields

Signed-off-by: snipe <snipe@snipe.net>

* Migration to embiggen state fields

Signed-off-by: snipe <snipe@snipe.net>

* Added maxlenth to form fields

Signed-off-by: snipe <snipe@snipe.net>

* Pass filename to pre-import backup

Signed-off-by: snipe <snipe@snipe.net>

* Pass filename for manual backups

Signed-off-by: snipe <snipe@snipe.net>

* Removed whitespace

Signed-off-by: snipe <snipe@snipe.net>

* Add ejected pipeline configuration for ChipperCI

* Configure Dusk for ChipperCI

* Limit ChipperCI to running on push to master or develop

* Fixed width of columns in details

Signed-off-by: snipe <snipe@snipe.net>

* Added icon field back into assets page

Signed-off-by: snipe <snipe@snipe.net>

* Made spacing more compact

Signed-off-by: snipe <snipe@snipe.net>

* Tightened up some layout issues, checkbox issues in LDAP settings

Signed-off-by: snipe <snipe@snipe.net>

* Google oauth login

Signed-off-by: snipe <snipe@snipe.net>

* Added migration

Signed-off-by: snipe <snipe@snipe.net>

* Removed env dependency, switched to DB

Signed-off-by: snipe <snipe@snipe.net>

* Add validation and fillable fields

Signed-off-by: snipe <snipe@snipe.net>

* Added settings routes for google auth

Signed-off-by: snipe <snipe@snipe.net>

* Changed redirect

Signed-off-by: snipe <snipe@snipe.net>

* Added methods for google settings

Signed-off-by: snipe <snipe@snipe.net>

* Removed redirect option

Signed-off-by: snipe <snipe@snipe.net>

* Added google option to settings index

Signed-off-by: snipe <snipe@snipe.net>

* Added google settings blade

Signed-off-by: snipe <snipe@snipe.net>

* Pulled redirect from settings

Signed-off-by: snipe <snipe@snipe.net>

* Use google logo

Signed-off-by: snipe <snipe@snipe.net>

* Disabled fields in demo mode

Signed-off-by: snipe <snipe@snipe.net>

* Very ugly login shim just to test functionality

Signed-off-by: snipe <snipe@snipe.net>

* Disallow saving data if app is locked

Signed-off-by: snipe <snipe@snipe.net>

* Create constructor to override expected config variables

Signed-off-by: snipe <snipe@snipe.net>

* Added debugging

Signed-off-by: snipe <snipe@snipe.net>

* Switch to using username as match for google login

Signed-off-by: snipe <snipe@snipe.net>

* Remove avatar update, since we don’t take URLs for that

Signed-off-by: snipe <snipe@snipe.net>

* Use normal translation style

Signed-off-by: snipe <snipe@snipe.net>

* Clearer comments

Signed-off-by: snipe <snipe@snipe.net>

* Re-add the image update

Signed-off-by: snipe <snipe@snipe.net>

* Check for http or https in avatar value

Signed-off-by: snipe <snipe@snipe.net>

* Added translation string for google auth failure

Signed-off-by: snipe <snipe@snipe.net>

* Hide client secret if app is locked

Signed-off-by: snipe <snipe@snipe.net>

* Nicer button

Signed-off-by: snipe <snipe@snipe.net>

* Added validation on google client ID

Signed-off-by: snipe <snipe@snipe.net>

* Added ends_with validation message

Signed-off-by: snipe <snipe@snipe.net>

* Added translations

Signed-off-by: snipe <snipe@snipe.net>

* Few more login page tweaks

Signed-off-by: snipe <snipe@snipe.net>

* Final google login tweaks

Signed-off-by: snipe <snipe@snipe.net>

* I lied. Missed one

Signed-off-by: snipe <snipe@snipe.net>

* Extra debugging

Signed-off-by: snipe <snipe@snipe.net>

* Added Google test user

Signed-off-by: snipe <snipe@snipe.net>

* Bumped hash

Signed-off-by: snipe <snipe@snipe.net>

* Disable browser tests in ChipperCI

* Updated webpack, new asset files

Signed-off-by: snipe <snipe@snipe.net>

* Production assets

Signed-off-by: snipe <snipe@snipe.net>

* Add @vikaas-cyper as a contributor

* Used brackets for multiselect company

Signed-off-by: snipe <snipe@snipe.net>

* Fixed multiselect for companies

Signed-off-by: snipe <snipe@snipe.net>

* Wrong eval

Signed-off-by: snipe <snipe@snipe.net>

* Added multi-select option to custom report

Signed-off-by: snipe <snipe@snipe.net>

* standardizes the importer colors no matter the theme

* adds translation to checkout notification

* removes assigned_to if archived

* Additional multi-select options for custom report

Signed-off-by: snipe <snipe@snipe.net>

* Use actions text in backups table

Signed-off-by: snipe <snipe@snipe.net>

* Importer fix for non-Location imports

* Updated dev assets

Signed-off-by: snipe <snipe@snipe.net>

* Added EOL date to importer

Signed-off-by: snipe <snipe@snipe.net>

* Removed todo

Signed-off-by: snipe <snipe@snipe.net>

* Remove 99% of the defaultMap stuff (might pull all of this later)

Signed-off-by: snipe <snipe@snipe.net>

* Refactored the static arrays into mount arrays for translations

Signed-off-by: snipe <snipe@snipe.net>

* testing input paddings

* adds padding to multi select2 inputs

* testing overflow solutions

* adds overflow-wrap to asset info table

* Adapt multiple column search based on database driver

* Move multiple column search function to Searchable trait

* Simplify sqlite query

* Apply formatting

* Define required fields in Custom Field seeder so sqlite can be seeded

* Update advancedTextSearch methods in Asset and User models

* Added translation

Signed-off-by: snipe <snipe@snipe.net>

* Added component mapping switch

Signed-off-by: snipe <snipe@snipe.net>

* Updated arrays with translations

Signed-off-by: snipe <snipe@snipe.net>

* Removed item number, since not everything will have it

Signed-off-by: snipe <snipe@snipe.net>

* Updated translations

Signed-off-by: snipe <snipe@snipe.net>

* Removed requestable field in sample consumable CSV

Signed-off-by: snipe <snipe@snipe.net>

* Added/fixed a few more translations

Signed-off-by: snipe <snipe@snipe.net>

* Added gravatar, avatar, start_date and end_date to user importer

Signed-off-by: snipe <snipe@snipe.net>

* Additional alias fields

Signed-off-by: snipe <snipe@snipe.net>

* New user import sample CSV

Signed-off-by: snipe <snipe@snipe.net>

* Eager load fieldset default values in asset model endpoint

* Add a condition to check if images should be shown in notification

* Update scopeAssignedSearch in Asset

* Update searchRelations in Searchable trait

* Formatting

* Add docblock

* Pass user count to the eloquent query

* Add comment

* More refactoring

Signed-off-by: snipe <snipe@snipe.net>

* Updated CSVs

Signed-off-by: snipe <snipe@snipe.net>

* fixes mobile nav bar and notification position

* Removed unneeded mapping file

Signed-off-by: snipe <snipe@snipe.net>

* More user fields in asset importer

Signed-off-by: snipe <snipe@snipe.net>

* Clarifying comment

Signed-off-by: snipe <snipe@snipe.net>

* More translations

Signed-off-by: snipe <snipe@snipe.net>

* More aliases

Signed-off-by: snipe <snipe@snipe.net>

* Add dynamic scope for prettier multiple column search

* Add docblock

* Use new dynamic scope where possible

* Add test for searching for user's first and last name

* Removed comment

Signed-off-by: snipe <snipe@snipe.net>

* Updated dev assets

Signed-off-by: snipe <snipe@snipe.net>

* Automatically add table prefixes when building multi-column search string

* Clearer comments

Signed-off-by: snipe <snipe@snipe.net>

* Added first name and last name

Signed-off-by: snipe <snipe@snipe.net>

* Removed method that does the same return

Signed-off-by: snipe <snipe@snipe.net>

* New assets CSV

Signed-off-by: snipe <snipe@snipe.net>

* Renamed sample csv

Signed-off-by: snipe <snipe@snipe.net>

* More translations

Signed-off-by: snipe <snipe@snipe.net>

* Indenting

Signed-off-by: snipe <snipe@snipe.net>

* Renamed import samples

Signed-off-by: snipe <snipe@snipe.net>

* Refactor to remove general_fields

Signed-off-by: snipe <snipe@snipe.net>

* Use trim() function when format the custom field values as array

* Updated dev assets

Signed-off-by: snipe <snipe@snipe.net>

* Fixed missing brace from conflict

Signed-off-by: snipe <snipe@snipe.net>

* Updated dev assets

Signed-off-by: snipe <snipe@snipe.net>

* Updated hash

Signed-off-by: snipe <snipe@snipe.net>

* Updated dev assets

Signed-off-by: snipe <snipe@snipe.net>

* Added asset_tag column in requestable assets page

* Fixed

* Fixed typo

Signed-off-by: snipe <snipe@snipe.net>

* Fixes: issue snipe#13073: deleted component addearing in asset component tab fixed

* Add @ak-piracha as a contributor

* follow best practices when working with blade and javascript

* Replace join with left join in pertinent eloquent query

* More license translations

Signed-off-by: snipe <snipe@snipe.net>

* Ensure consumable name is valid in factory

* Get name as a string and not an array

* fix: slack channel

* Fix of typo in an HTML tag

* Added missing assets_fields declaration

Signed-off-by: snipe <snipe@snipe.net>

* Add @NojoudAlshehri as a contributor

* Updated webpack, added new dev assets

Signed-off-by: snipe <snipe@snipe.net>

* Add @stefanstidlffg as a contributor

* Updated libraries and dev assets

Signed-off-by: snipe <snipe@snipe.net>

* Bumped hash

Signed-off-by: snipe <snipe@snipe.net>

* Fixed snipe#12434: Include Docker Specific Paths for dompdf chroot

* Fix missing ldap packages

This should provide LDAPS support out of the box, and fix snipe#13129

* Applied snipe#13143 to develop

Signed-off-by: snipe <snipe@snipe.net>

* Add @qay21 as a contributor

* adds warranty confirmation to asset maintenance table

* uses the trueFalseFormatter now

* Updated translation strings

Signed-off-by: snipe <snipe@snipe.net>

* attempt to add warranty to api controller

* Accept user ID as authoratative field for updates

Signed-off-by: snipe <snipe@snipe.net>

---------

Signed-off-by: snipe <snipe@snipe.net>
Signed-off-by: Ryan Huntington <rhuntington719@gmail.com>
Co-authored-by: snipe <snipe@snipe.net>
Co-authored-by: akemidx <kojotek.dx@gmail.com>
Co-authored-by: Marcus Moore <contact@marcusmoore.io>
Co-authored-by: Ivan Nieto Vivanco <inietov@gmail.com>
Co-authored-by: Godfrey M <godmartinz@gmail.com>
Co-authored-by: Brady Wetherington <bwetherington@grokability.com>
Co-authored-by: NojoudAlshehri <111287779+NojoudAlshehri@users.noreply.github.com>
Co-authored-by: ak-piracha <abdulkareem.w@outlook.com>
Co-authored-by: Stefan Stidl <54367449+stefanstidlffg@users.noreply.github.com>
Co-authored-by: Lukas Jung <jung@synyx.de>
Co-authored-by: Quentin Aymard <87803479+qay21@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants