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

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
amphetamine
Posts: 113
Joined: 05 Jun 2019, 00:17

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

Post 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?
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

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

Post by atrol »

Please use Search before posting and read the Manual
amphetamine
Posts: 113
Joined: 05 Jun 2019, 00:17

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

Post 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
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

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

Post by atrol »

clearing browser cache might help
Please use Search before posting and read the Manual
amphetamine
Posts: 113
Joined: 05 Jun 2019, 00:17

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

Post by amphetamine »

Yeah, I've done it before, but not for work.
and trying another browser doesn't help.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

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

Post 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
Please use Search before posting and read the Manual
amphetamine
Posts: 113
Joined: 05 Jun 2019, 00:17

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

Post 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.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

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

Post by atrol »

Not from standard MantisBT, maybe used by some 3rd party plugin
jec.fyi.com? Is this your URL?
Please use Search before posting and read the Manual
amphetamine
Posts: 113
Joined: 05 Jun 2019, 00:17

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

Post 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”.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

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

Post 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
Please use Search before posting and read the Manual
amphetamine
Posts: 113
Joined: 05 Jun 2019, 00:17

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

Post 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
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

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

Post 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.
Please use Search before posting and read the Manual
amphetamine
Posts: 113
Joined: 05 Jun 2019, 00:17

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

Post by amphetamine »

bug fixed after executing

Code: Select all

php build/update-fonts.php
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

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

Post by atrol »

Thanks @amphetamine for the feedback.
Please use Search before posting and read the Manual
Post Reply