NPM Resource Changed ? Pending

User tests: Successful: Unsuccessful:

avatar dgrammatiko
dgrammatiko
3 Mar 2021

Pull Request for Issue #32573 (partially) .

Summary of Changes

Testing Instructions

Make a copy of the media and also the css folder of cassiopeia, atum and installtion
On this PR's code you need to run npm install
Then compare the produced css with the one you've backup before for example: search for url(, The new css files should have someting like ?v=13423-random-alphanumeric at the end (only for local images/fonts)

Actual result BEFORE applying this Pull Request

Urls don;t have a hash

Expected result AFTER applying this Pull Request

Urls have a hash

Screenshot 2021-03-03 at 16 33 38

Documentation Changes Required

No

One comment here, although at the original issue I mentioned another plugin there were bugs and also it's abandoned for some years. (I didn't either wanted to write a plugin, ok less than 100locs, but still)

@wilsonge is this ok for 4.0.x or should I rebase it to 4.0.x?

avatar dgrammatiko dgrammatiko - open - 3 Mar 2021
avatar dgrammatiko dgrammatiko - change - 3 Mar 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Mar 2021
Category JavaScript Repository NPM Change
avatar dgrammatiko dgrammatiko - change - 3 Mar 2021
Labels Added: NPM Resource Changed ?
avatar alikon
alikon - comment - 17 Mar 2021

please fix conflict

avatar dgrammatiko dgrammatiko - change - 17 Mar 2021
Labels Added: Conflicting Files
avatar joomla-cms-bot joomla-cms-bot - change - 17 Mar 2021
Category JavaScript Repository NPM Change Repository Administration com_admin SQL Postgresql com_config com_contact com_content com_fields com_installer com_menus com_modules com_newsfeeds com_users com_workflow Language & Strings
avatar dgrammatiko dgrammatiko - change - 17 Mar 2021
Labels Added: ?
Removed: NPM Resource Changed
avatar joomla-cms-bot joomla-cms-bot - change - 17 Mar 2021
Category Repository Administration com_admin SQL Postgresql com_config com_contact com_content com_fields com_installer com_menus com_modules com_newsfeeds com_users com_workflow Language & Strings JavaScript Repository NPM Change
avatar dgrammatiko dgrammatiko - change - 17 Mar 2021
Labels Added: NPM Resource Changed
Removed: ?
avatar dgrammatiko
dgrammatiko - comment - 17 Mar 2021

@alikon done

avatar socke300 socke300 - test_item - 16 Aug 2021 - Tested successfully
avatar socke300
socke300 - comment - 16 Aug 2021

I have tested this item successfully on 0977e1e

First of all

Hey, it's cool that you developed the plugin "postcss-url-version" yourself and have now integrated it into Joomla.

That's how I tested it

I cloned your project and installed it. Then I went through various css files and also checked whether the version number changes depending on the URL.

These files were checked

fontawesome.min.css
template.min.css (in the "Home Dashboard" view)

Result

The test was successful, I did not notice any problems during the test.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32574.

avatar scout507 scout507 - test_item - 16 Aug 2021 - Tested successfully
avatar scout507
scout507 - comment - 16 Aug 2021

I have tested this item successfully on 0977e1e


Checked all css files. Hash values were applied correctly.

This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32574.

avatar richard67
richard67 - comment - 21 Aug 2021

@dgrammatiko We have again a conflict here in the package-lock.json.

avatar dgrammatiko dgrammatiko - change - 21 Aug 2021
Labels Added: ?
Removed: Conflicting Files ?
avatar dgrammatiko dgrammatiko - change - 8 Sep 2021
Labels Added: ?
Removed: ?
avatar dgrammatiko
dgrammatiko - comment - 8 Sep 2021

@socke300 @scout507 can you repeat your tests?

Thanks

avatar dgrammatiko dgrammatiko - change - 8 Sep 2021
The description was changed
avatar dgrammatiko dgrammatiko - edited - 8 Sep 2021
avatar dgrammatiko
dgrammatiko - comment - 6 Nov 2021

@bembelimen something for 4.1?

avatar bembelimen
bembelimen - comment - 7 Nov 2021

Yes, if we get the two tests, for sure it's something for 4.1

avatar joomla-cms-bot joomla-cms-bot - change - 7 Nov 2021
Category Repository JavaScript NPM Change Unit Tests Repository Administration com_content com_finder com_tags com_users Language & Strings Modules
avatar dgrammatiko dgrammatiko - change - 7 Nov 2021
Title
[4.0] Proper cache invalidation for css urls
[4.1] Proper cache invalidation for css urls
avatar dgrammatiko dgrammatiko - edited - 7 Nov 2021
avatar joomla-cms-bot joomla-cms-bot - change - 7 Nov 2021
Category Repository Unit Tests Administration com_content com_finder com_tags com_users Language & Strings Modules JavaScript Repository NPM Change
avatar dgrammatiko
dgrammatiko - comment - 7 Nov 2021

@bembelimen I rebased on 4.1 and fixed the conflicts, this should be ready for testing again

avatar dgrammatiko dgrammatiko - change - 7 Nov 2021
Labels Added: ?
Removed: ?
avatar richard67 richard67 - change - 7 Nov 2021
Build 4.0-dev 4.1-dev
644470b 9 Jan 2022 avatar dgrammatiko CS
cca784d 9 Jan 2022 avatar dgrammatiko upd
avatar dgrammatiko
dgrammatiko - comment - 28 Jan 2022

@bembelimen is there any chance to get this for 4.1?

avatar dgrammatiko dgrammatiko - change - 3 Feb 2022
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2022-02-03 15:23:33
Closed_By dgrammatiko
avatar dgrammatiko dgrammatiko - close - 3 Feb 2022
avatar bembelimen
bembelimen - comment - 3 Feb 2022

@dgrammatiko it's still valid for 4.1(.1), we just need some tests, probably the @joomla/bug-squad can help with it?

avatar dgrammatiko
dgrammatiko - comment - 3 Feb 2022

I will re open this after the 4.1 release

Add a Comment

Login with GitHub to post a comment