Page 1 of 1

When using the dev. master code, how to update vendor/dependencies?

Posted: 19 Mar 2022, 02:43
by amphetamine
Is there any update process for using the current development master code?
The latest master code (2.26dev) has a lot of issues fixed that I'd like to apply to my instances.
but for the vendor folder, how to update?

Re: When using the dev. master code, how to update vendor/dependencies?

Posted: 19 Mar 2022, 08:07
by atrol

Re: When using the dev. master code, how to update vendor/dependencies?

Posted: 20 Mar 2022, 11:37
by amphetamine
Thank you! :mrgreen:

Re: When using the dev. master code, how to update vendor/dependencies?

Posted: 24 Mar 2022, 09:01
by amphetamine
i don't know why this issue (https://mantisbt.org/bugs/view.php?id=22109) not fixed.
Image
still show "-"

Update local font files and CSS folder

Re: When using the dev. master code, how to update vendor/dependencies?

Posted: 24 Mar 2022, 10:36
by atrol
clearing browser cache might help

Re: When using the dev. master code, how to update vendor/dependencies?

Posted: 25 Mar 2022, 00:52
by amphetamine
Yeah, I've done it before, but not for work.
and trying another browser doesn't help.

Re: When using the dev. master code, how to update vendor/dependencies?

Posted: 25 Mar 2022, 08:42
by atrol
I am not able to reproduce.
Check with browser networks tool if the following font gets requested <YourMantisURL>/fonts/open-sans-v23-latin-regular.woff2

Re: When using the dev. master code, how to update vendor/dependencies?

Posted: 28 Mar 2022, 00:57
by amphetamine
General
Request URL: http://intranet/mantis/fonts/open-sans- ... ular.woff2
Request Method: GET
Status Code: 200 OK (from memory cache)

DevTools failed to load source map: Could not load content for http://intranet/mantis/autocomplete.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://instranet/mantis/axios.min.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
--
Refused to connect to 'https://jec.fyi.com/unknown-url/' because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.

(anonymous) @ VM110:1
VM110:1 Refused to connect to 'https://jec.fyi.com/unknown-url/' because it violates the document's Content Security Policy.

Re: When using the dev. master code, how to update vendor/dependencies?

Posted: 29 Mar 2022, 19:50
by atrol
Not from standard MantisBT, maybe used by some 3rd party plugin
jec.fyi.com? Is this your URL?

Re: When using the dev. master code, how to update vendor/dependencies?

Posted: 30 Mar 2022, 01:25
by amphetamine
fyi, (After removing the specified add-on, this header error is fixed)
Provisional headers are shown. Disable cache to see full headers.
Learn more
Referer https://developer.chrome.com/docs/devto ... al-headers
--

:arrow: The font issue is still there. :(

Request URL: http://intranet/mantis/fonts/fontawesom ... f2?v=4.7.0
Request Method: GET
Status Code: 200 OK (from disk cache)

Request URL: http://intranet/mantis/fonts/open-sans- ... ular.woff2
Request Method: GET
Status Code: 200 OK (from disk cache)

Code: Select all

This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”.

Re: When using the dev. master code, how to update vendor/dependencies?

Posted: 14 Apr 2022, 08:32
by atrol
@amphetamine I noticed in the bugtracker that you are now also using 2.25.3.
Do you see the font issue with 2.25.3?

[Edit] Forget it, this was a stupid question, as the issue is planned to be fixed in 2.26.0 https://mantisbt.org/bugs/view.php?id=22109

Re: When using the dev. master code, how to update vendor/dependencies?

Posted: 16 Apr 2022, 12:50
by amphetamine
I TESTED on another windows machine, the "-" is not fixed. :(

download the file from https://github.com/mantisbt/mantisbt/ar ... master.zip
2.26.0-dev

Re: When using the dev. master code, how to update vendor/dependencies?

Posted: 17 Apr 2022, 11:52
by atrol
This seems to be OS dependant.
You might want to join the discussion on https://mantisbt.org/bugs/view.php?id=22109 and add some screen shots.

Re: When using the dev. master code, how to update vendor/dependencies?

Posted: 19 Apr 2022, 11:20
by amphetamine
bug fixed after executing

Code: Select all

php build/update-fonts.php

Re: When using the dev. master code, how to update vendor/dependencies?

Posted: 19 Apr 2022, 11:28
by atrol
Thanks @amphetamine for the feedback.