-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[4.0] Updated files and folders deletion on updates and remove 3.9.x update SQL scripts #33060
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
[4.0] Updated files and folders deletion on updates and remove 3.9.x update SQL scripts #33060
Conversation
|
I have diffs up to beta 7 (https://github.com/dgrammatiko/JfixMediaFolder/blob/main/diff_beta_6_7.json) and those are inline with your results. For the diff with the tip of the head I need to alter the script a bit (will do it tomorrow) Can we also get a decision on the data separation? This script.php is becoming unreadable... |
@dgrammatiko I'm not the guy to decide anything, that's George, I think. I am in favour of data separation, but I'm not sure if we will have it ready before the next Beta. So I thought I have to make a quick fix to be sure the next Beta will be ok. |
|
@dgrammatiko I did use George's script in the following way to make this PR:
|
|
On a quick check, you have 4515 entries (5011 -496) for the 3x to 4.0-beta1 and I have 4833 files https://github.com/dgrammatiko/jdiff/blob/main/Redundant.json and 1167 folders (you have 1171) https://github.com/dgrammatiko/jdiff/blob/main/RedundantFolders.json (the folders are off because the script is echoing all the nested folders) so I guess we are on the same boat here. A small detail my script is diffing the tip of 3.10 against the tip of 4.0-dev which is not ideal in this case @wilsonge can you decide on the data separation here? It would make the checks here so much easier if we have to compare xmls or jsons... #32715 is already using XML files so the only question is if we want multiple files or the build tools could append to one existing file instead |
@dgrammatiko What I was trying to explain above is that we shall not compare 3.x to 4.0-beta1, because they are 2 branches and things which are merged up go into the last 4.0 comparison, too. It is better if we compare 3.x with the end point of the 4.0 comparisons, e.g. current 4.0-dev or last nightly. For this reason I could have changed the comments "// Joomla 4.0 Beta 1" in script.php to "// From 3.x to current 4.0" or so, but I was not sure if this might confuse people. |
|
@dgrammatiko You should also check wilsonge#60 and wilsonge#61 . We need that in your scripts, too:
|
Ok, so we are doing the same diffing then. If you have the raw results can you put them on a gist, it would be easier to check against my scripts, although this shouldn't be a code validation rather a consistency check (what needs to stay or not) which tbh I don't have the complete oversight on many parts
We can add another section in the xmls, eg: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<files>
<filename>components/com_config/src/Model/CmsModel.php</filename>
<folder>components/com_config/src/Model</folder >
<rename from="media/vendor/skipto/js/skipTo.js" to="media/vendor/skipto/js/skipto.js"></rename>
</files>
https://github.com/dgrammatiko/JfixMediaFolder/blob/main/diff_beta_1_2.xml |
|
@dgrammatiko Get my raw files plus my modified PHP script and my shell script as Zip from here: http://test5.richard-fath.de/j4-update-script-deleted-files.zip . Let me know if you got it so I can remove it from there. |
|
@dgrammatiko I have a new version of the PHP and the shell script and my raw files: http://test5.richard-fath.de/j4-update-script-deleted-files_2021-04-19.zip . My latest changes on this PR here are based on that. When comparing J4 versions, files and folders will only be added to the lists if they are not already present in the lists from the 3.10 to current 4.0 comparison. This means I could use the raw files to make up the sections in script.php without making any manual modifications (except of removing stuff from the lists which is on the way being merged up from 3.10 to 4.0 soon). |
|
@richard67 so the idea is to keep a registry (some ref files) in the repo? If so maybe it worth keeping the data in a |
Not necessarily, but it could make sense. |
|
@dgrammatiko @wilsonge I've just updated this PR to the latest upmerges so it is up to date and ready for the next beta or RC release. You can find the raw files, my modified PHP script and the shell script which I've used in that zip: http://test5.richard-fath.de/j4-update-script-deleted-files_2021-05-03.zip . Just check the shell script and you will see how it worked. The modified PHP script contains a change for an optional new parameter to check the files from the 3.10-to-4 comparison in addition and if something is in that file already, it will not be added to any of the 4.0-x-to-4.0-y files. P.S.: I did not have to make any modifications on the raw files. I could copy their content as is to the corresponding sections in scrip.php. This worked because after the recent upmerge, the the 4.0-dev branch is fully up to date with the 3.10-dev branch. |
|
Thankyou! |
|
Thank you, too. |
* Empty State for System-> Discover * Add period * make private * Update administrator/language/en-GB/com_installer.ini Co-authored-by: Brian Teeman <[email protected]> * simplify code Signed-off-by: Phil E. Taylor <[email protected]> * Change empty state content for com_installer * fix merge * remove unused import * no quote * oops * oops again * Squashed commit of the following: commit 9b0a9f7 Author: Hannes Papenberg <[email protected]> Date: Mon May 3 17:32:57 2021 +0200 [4.0] Removing GUI parts of FTP layer (#33390) commit b013350 Author: Brian Teeman <[email protected]> Date: Mon May 3 16:29:00 2021 +0100 [4.0] namespace (#33511) Minor tweaks after merge 964d90f code review commit 9e54032 Author: Richard Fath <[email protected]> Date: Mon May 3 17:06:17 2021 +0200 [4.0] Update download URL of composer 1 for appveyor (#33507) * Update download URL of composer 1 for appveyor * Fix file name in bat file, too commit 8eb9661 Author: Brian Teeman <[email protected]> Date: Mon May 3 16:03:07 2021 +0100 [4.0] filter integer (#33498) In most cases a field with a type of number should also have a filter of integer For example you can not have 3.7 columns or 1.4 links This PR updates those fields where a filter was not, if appropriate. To test either code review or create a blog category menu item and set the column count to 4.1 Before this PR the value saved will be 4.1 After this PR the value saved will be 4 commit 645d8d7 Author: Christiane Maier-Stadtherr <[email protected]> Date: Mon May 3 17:02:46 2021 +0200 better tags in sample data (#33502) commit 394afb7 Author: Richard Fath <[email protected]> Date: Mon May 3 16:52:05 2021 +0200 [4.0] Updated files and folders deletion on updates and remove 3.9.x update SQL scripts (#33060) commit 369b1fb Author: Brian Teeman <[email protected]> Date: Mon May 3 15:50:59 2021 +0100 [4.0] br element (#33510) remove the closing slash from the br tag introduced with merge 9c3371f commit 374b2cd Author: Brian Teeman <[email protected]> Date: Mon May 3 15:50:38 2021 +0100 [4.0] database fix text (#33506) After merge 05b83c9 update the string to match changes in joomla 4 commit 8947028 Author: Phil E. Taylor <[email protected]> Date: Mon May 3 13:53:50 2021 +0100 [4] com_modules empty state (#33398) * com_modules empty state * make button reuseable * alpha sort * cs * lowercase * make private Co-authored-by: Quy <[email protected]> commit 8a1d803 Author: wilsonge <[email protected]> Date: Mon May 3 11:56:54 2021 +0100 Fix namespace commit 9b54e8b Author: Saurabh Kumar Suryan <[email protected]> Date: Mon May 3 13:45:03 2021 +0530 ✨ fixes issue where dropdown item doesn't have border radius (#33483) Co-authored-by: Richard Fath <[email protected]> commit e9afa7c Author: wilsonge <[email protected]> Date: Mon May 3 01:48:21 2021 +0100 PHPCS commit 904f8a4 Merge: 05b83c9 907af36 Author: wilsonge <[email protected]> Date: Mon May 3 01:47:12 2021 +0100 Merge branch '3.10-dev' into 4.0-dev commit 907af36 Merge: 83dc4d8 69a1a58 Author: wilsonge <[email protected]> Date: Mon May 3 01:39:00 2021 +0100 Merge branch 'staging' into 3.10-dev commit 05b83c9 Merge: fa08394 83dc4d8 Author: wilsonge <[email protected]> Date: Mon May 3 01:33:54 2021 +0100 Merge branch '3.10-dev' into 4.0-dev commit fa08394 Merge: 4354291 8004e90 Author: wilsonge <[email protected]> Date: Mon May 3 01:23:12 2021 +0100 Merge commit '8004e90' into 4.0-dev commit 4354291 Merge: 5ae7cb8 54c394d Author: wilsonge <[email protected]> Date: Mon May 3 00:43:44 2021 +0100 Merge commit '54c394d' into 4.0-dev commit 5ae7cb8 Merge: 9c3371f 461c57e Author: wilsonge <[email protected]> Date: Mon May 3 00:18:15 2021 +0100 Merge commit '461c57e' into 4.0-dev commit 9c3371f Merge: 6bfdcb2 3d8593c Author: wilsonge <[email protected]> Date: Mon May 3 00:10:07 2021 +0100 Merge commit '3d8593c' into 4.0-dev commit 6bfdcb2 Merge: 4c84b72 30d26a1 Author: wilsonge <[email protected]> Date: Sun May 2 23:53:05 2021 +0100 Merge commit '30d26a1' into 4.0-dev commit 4c84b72 Merge: b9ae1ca 3c08cfe Author: wilsonge <[email protected]> Date: Sun May 2 23:31:18 2021 +0100 Merge commit '3c08cfe' into 4.0-dev commit b9ae1ca Author: Richard Fath <[email protected]> Date: Mon May 3 00:16:29 2021 +0200 [4.0] Remove display widths for integer data types from SQL scripts for MySQL and MariaDB databases (#32608) commit c590711 Author: Phil E. Taylor <[email protected]> Date: Sun May 2 23:10:21 2021 +0100 [4] Empty State for Checking for updates (#33474) commit e32f5d8 Author: Phil E. Taylor <[email protected]> Date: Sun May 2 22:30:30 2021 +0100 s/2008/2021 (#33496) commit 7b98bbb Author: Brian Teeman <[email protected]> Date: Sun May 2 20:57:59 2021 +0100 [4.0] Installation Remove [a11y] (#33448) This pr moves the paragraph description from outside the table to place it correctly as a caption inside the table. It adds scope=col to the table headers and scope=row to the label commit 3258123 Author: Quy <[email protected]> Date: Sun May 2 12:53:01 2021 -0700 Move form text below field. (#33436) Co-authored-by: Richard Fath <[email protected]> commit e22b42d Author: Christiane Maier-Stadtherr <[email protected]> Date: Sun May 2 21:52:04 2021 +0200 [4.0] [UX] Use number field for num_columns in blog and featured layout (#33482) * use dropdown list for num_colums * Use number field Co-authored-by: Richard Fath <[email protected]> commit 7180483 Author: Phil E. Taylor <[email protected]> Date: Sun May 2 20:48:48 2021 +0100 [4] remove space in output html class list (#33456) * remove space in output html Co-authored-by: Richard Fath <[email protected]> Co-authored-by: Quy <[email protected]> commit a1ab74a Author: Phil E. Taylor <[email protected]> Date: Sun May 2 20:34:48 2021 +0100 [4] Catch, translate, and expound when GD not available. (#33055) * Catch, translate, and expound when GD not available. Signed-off-by: Phil E. Taylor <[email protected]> * Update administrator/components/com_templates/src/View/Template/HtmlView.php Co-authored-by: Richard Fath <[email protected]> Co-authored-by: Richard Fath <[email protected]> commit 42cd2ee Author: Phil E. Taylor <[email protected]> Date: Sun May 2 20:30:43 2021 +0100 [4] redo the logic behind Empty State Queries. (#33471) * redo the logic behind Empty State Queries. * need to clear offset too * Add static based caching for repeated calls of getIsEmptyState * Remove resetState * Clean up * Sorry, forgot return command * remove limit and offset - these are removed by _getListCount anyway * remove return type * remove return type Co-authored-by: Tuan Pham Ngoc <[email protected]> Co-authored-by: Richard Fath <[email protected]> commit 993598a Author: Yatharth Vyas <[email protected]> Date: Mon May 3 00:52:28 2021 +0530 Remove cellspacing and cellpadding (#33486) Co-authored-by: Richard Fath <[email protected]> commit 326153f Author: Yatharth Vyas <[email protected]> Date: Mon May 3 00:50:45 2021 +0530 [4.0] Fix tabs in User Access levels and Joomla Update Complete View (#33473) * add tabs * remove redundant div * change fieldset to tab It doesn't make sense to enclose an alert in a fieldset * add newline after tab end commit d127585 Author: Hannes Papenberg <[email protected]> Date: Sun May 2 20:05:39 2021 +0200 JS codestyle (#33484) commit 900ae17 Author: wilsonge <[email protected]> Date: Sun May 2 01:03:30 2021 +0100 JS CS commit 53ea0df Author: Richard Fath <[email protected]> Date: Sun May 2 01:58:03 2021 +0200 PHPCS fixes after upmerge (#33479) commit a2a5c8c Author: Richard Fath <[email protected]> Date: Sun May 2 01:30:07 2021 +0200 Fix merge conflict remainder from upmerge (#33478) commit 25528e3 Merge: 964d90f 4224c76 Author: wilsonge <[email protected]> Date: Sat May 1 23:50:44 2021 +0100 Merge branch '4.0-dev' of github.com:joomla/joomla-cms into 4.0-dev commit 964d90f Merge: 7b9449d 60260bb Author: wilsonge <[email protected]> Date: Sat May 1 23:49:58 2021 +0100 Merge commit '60260bb' into 4.0-dev commit 4224c76 Author: Brian Teeman <[email protected]> Date: Sat May 1 22:53:53 2021 +0100 [4.0] toggle editor icon (#33470) Pull Request for Issue #33465 Change the icon when the toggle editor button is toggled commit 944f5ae Author: Phil E. Taylor <[email protected]> Date: Sat May 1 22:51:20 2021 +0100 [4] Cleanup output html of email field (#33475) Cleanup output of email field commit 8ef49ee Author: Yatharth Vyas <[email protected]> Date: Sun May 2 00:20:00 2021 +0530 [4.0] Private Messages: Add legend in Configuration Form (#33442) * add fieldset and legend in com_messages * remove unused language constant Ran a global search using IDE and couldn't find this being used anywhere in the entire repository * add new constant for configuration form * update legend text * arrange imports in lexicographic order * rename constant * rename constant in legend text Co-authored-by: Richard Fath <[email protected]> Co-authored-by: Richard Fath <[email protected]> commit 057c96f Author: Rishabh Ranjan Jha <[email protected]> Date: Sun May 2 00:12:29 2021 +0530 add class options-form (#33441) commit 15c7ecb Author: Phil E. Taylor <[email protected]> Date: Sat May 1 19:41:41 2021 +0100 [4] Add intl extension check to system info, and while there clean up deprecations/types/[] (#33457) * add check for intl and moderise code and remove deprecated calls * php modernisation * HArd code the names of PHP Extensions to avoid them being translated commit 2c57a4a Author: Yatharth Vyas <[email protected]> Date: Sat May 1 23:53:15 2021 +0530 [4.0] com_templates: Validate input for copy template form (#33444) * add required attribute to input * add invalid template name in language * display error message * revert template error message * use existing language constant for error message * Update administrator/components/com_templates/src/Controller/TemplateController.php Co-authored-by: Quy <[email protected]> Co-authored-by: Quy <[email protected]> commit b700e11 Author: Rishabh Ranjan Jha <[email protected]> Date: Sat May 1 23:34:00 2021 +0530 [4.0] Separable buttons on Joomla Update Page (#33446) * remove btn-group * remove blank lines * indent commit b5b9b5c Author: Fedir Zinchuk <[email protected]> Date: Sat May 1 20:56:41 2021 +0300 Fix tinymce the options form (#33464) commit ab2222b Author: Quy <[email protected]> Date: Sat May 1 10:23:52 2021 -0700 Hide columns in mobile view (#33458) This is the same behavior as Menus > Manage to hide columns in mobile viewport. commit 41abe13 Author: Konstantin Kolos <[email protected]> Date: Sat May 1 20:18:33 2021 +0300 Removed <hr> tag in installation plugins (#33462) commit c6ced8c Author: Brian Teeman <[email protected]> Date: Sat May 1 18:01:13 2021 +0100 [4.0] privacy request scope (#33461) The attribute scope is essential to tell users of assistive technology if the header applies to the column or the row. However that means it can only be applied to a table header (th) and not to a table cell (td). There is a small cosmetic change as a result in that the contents of the cell are now visually displayed in bold. To test go to users-> privacy requests and create a new request and then save All the content in the Email column should be in a th with a scope of row and visually displayed as bold commit 43891a2 Author: Rishabh Ranjan Jha <[email protected]> Date: Sat May 1 21:55:20 2021 +0530 remove attributes (#33469) commit cc70dbd Author: infograf768 <[email protected]> Date: Sat May 1 00:01:11 2021 +0200 [4.0] Language switcher: improving display of dropdown with flags (#33082) Co-authored-by: Brian Teeman <[email protected]> commit 6f98135 Author: Quy <[email protected]> Date: Fri Apr 30 13:57:55 2021 -0700 Rename alert-default to alert-secondary (#33429) There is no "alert-default" in BS5. Rename it to its equivalency. commit 7b9449d Author: Brian Teeman <[email protected]> Date: Fri Apr 30 18:19:07 2021 +0100 [4.0] Modules modal scope (#33427) The attribute scope is essential to tell users of assistive technology if the header applies to the column or the row. However that means it can only be applied to a table header (th) and not to a table cell (td). There is a small cosmetic change as a result in that the contents of the cell are now visually displayed in bold. Easiest way to test is to try and insert a module into an article. The module modal will be displayed All the content in the first column should be in a th with a scope of row and visually displayed as bold commit 1c74bef Author: jsanders <[email protected]> Date: Fri Apr 30 19:18:25 2021 +0200 Move the dif tag (#33426) Move the div tag commit 660f084 Author: Brian Teeman <[email protected]> Date: Fri Apr 30 17:44:16 2021 +0100 [4.0] Debug Group scope (#33425) The attribute scope is essential to tell users of assistive technology if the header applies to the column or the row. However that means it can only be applied to a table header (th) and not to a table cell (td). There is a small cosmetic change as a result in that the contents of the cell are now visuall displayed in bold. To test go to users-> groups and click on the permissions icon. All the content in the first column should be in a th with a scope of row and visually displayed as bold commit 949357a Author: Brian Teeman <[email protected]> Date: Fri Apr 30 17:41:06 2021 +0100 [4.0] user groups - col headers (#33423) * [4.0] user groups - col headers There really is no need to hide the column header text here - there is more than enough space in the view * remove duplicate title commit c39fe3a Author: Brian Teeman <[email protected]> Date: Fri Apr 30 13:34:53 2021 +0100 [4.0] behaviour plugin (#33420) change the description of the behaviour plugins to remove the word "content" to avoid confusion with the word "articles" commit 08c4dd1 Author: Rishabh Ranjan Jha <[email protected]> Date: Fri Apr 30 18:01:11 2021 +0530 [4.0] click to check the checkbox in com_cache (#33413) * class-attribute two to one * add previous label commit 441f2e3 Author: Richard Fath <[email protected]> Date: Fri Apr 30 13:23:51 2021 +0200 [4.0] Add update SQL script for admin modules parameters changed by PR #33045 (#33375) commit 9c0b9f3 Author: Brian Teeman <[email protected]> Date: Fri Apr 30 12:09:44 2021 +0100 [4.0] icon for non featured (#33417) commit 3239d0d Author: Phil E. Taylor <[email protected]> Date: Fri Apr 30 12:08:24 2021 +0100 [4] When item doesn't exist, show specific message (#33414) commit 9eef041 Author: Phil E. Taylor <[email protected]> Date: Fri Apr 30 12:05:01 2021 +0100 Only show versions if the article has been saved at least once (#33412) commit 3dfaeed Author: Konstantin Kolos <[email protected]> Date: Fri Apr 30 14:03:41 2021 +0300 [4] [Workflow] Removed unused constants (#33377) commit 3a9ebcb Author: Phil E. Taylor <[email protected]> Date: Fri Apr 30 11:47:17 2021 +0100 [4] Allow banner creation if there are not categories (#33399) * add ACL check * allow adding banners from empty state if no categories commit aedf7e3 Author: Phil E. Taylor <[email protected]> Date: Fri Apr 30 11:10:20 2021 +0100 [4] Fix trash menu items displaying logic (#33406) Fix trashing items ACL checks commit 1e35de4 Author: Brian Teeman <[email protected]> Date: Fri Apr 30 10:59:26 2021 +0100 [4.0] regenerate helptoc (#33415) Runs the buildTOC.php script. There is at least one new entry when you go to the help page Action Logs commit 3935893 Author: Brian Teeman <[email protected]> Date: Fri Apr 30 10:56:32 2021 +0100 [4.0] Media Manager - Can't preview entire image (#33323) * [4.0] Media Manager - Can't preview entire image Pull request for #29149 This requires npm ci as it's a css change ### Steps to reproduce the issue - Download https://unsplash.com/photos/xnEZYWmfPwU/download?force=true (original size) - Upload to the Media Manage or place in your images directory - Double click the image to preview it ### Before Half the image is cropped and you cannot scroll down to view the other half ### After The entire image is visable * tabs * lint * portrait commit 260feca Author: Brian Teeman <[email protected]> Date: Fri Apr 30 10:47:05 2021 +0100 [4.0] TinyMCE plugin layout (#33177) * [4.0] (WIP) TinyMCE plugin layout There have been multiple issues raised about the UI of the tinymce plugin and the lack of clarity that the options are for different sets. It's also a very regular topic on the forum whereby users believe they have configured the plugin and it doesn't work. When the problem is that they are simply in the wrong set. This is a work in progress attempt to improve this. The basic concept of this change it to move the "All available menus and buttons." inside each set so that the tabs are at the top. The other main change (which is not done yet) is to move the "Assign this Set to" field and label to the very first field in the tab. Hopefully this will make it much much more obvious that you are completing a set of options for a usergroup and not for the entire plugin. (If anyone has a suggestion how to display that field at the very top it would be appreciated) * access field * draft * date commit a069901 Author: Phil E. Taylor <[email protected]> Date: Fri Apr 30 10:40:54 2021 +0100 [4] Remove disabled and useless buttons on empty state leaving just New (#33380) * Remove disabled and useless buttons on empty state leaving just New * Hide empty trash if last status filtered was trashed * Update administrator/components/com_tags/src/View/Tags/HtmlView.php Co-authored-by: Richard Fath <[email protected]> Co-authored-by: Richard Fath <[email protected]> commit 875b8c9 Author: Phil E. Taylor <[email protected]> Date: Fri Apr 30 09:41:14 2021 +0100 com_csp empty state (#33416) commit 3f58bda Author: Phil E. Taylor <[email protected]> Date: Fri Apr 30 09:40:35 2021 +0100 com_installer warnings empty state (#33411) commit 770e24b Author: Phil E. Taylor <[email protected]> Date: Fri Apr 30 09:39:39 2021 +0100 [4] Empty state for com_redirect (#33384) * Empty state for com_redirect * merge from other pr * change icon * cs * alpha * Update administrator/language/en-GB/com_redirect.ini Co-authored-by: Quy <[email protected]> * Update administrator/components/com_redirect/tmpl/links/emptystate.php Co-authored-by: Brian Teeman <[email protected]> Co-authored-by: Quy <[email protected]> Co-authored-by: Brian Teeman <[email protected]> commit 1293461 Author: Phil E. Taylor <[email protected]> Date: Fri Apr 30 09:39:02 2021 +0100 [4] Global Check-in Empty State (#33383) * Global Check-in Empty State * remove language string not used * tabs * change text * cs * remove formURL Co-authored-by: Quy <[email protected]> commit 4e930a7 Author: Phil E. Taylor <[email protected]> Date: Fri Apr 30 09:38:30 2021 +0100 [4] Empty State for Banner clients and tracks (#33381) * Empty State for Banner clients and tracks * Remove formURL Co-authored-by: Quy <[email protected]> commit 30aa741 Author: Phil E. Taylor <[email protected]> Date: Fri Apr 30 09:36:26 2021 +0100 [4] Blank State for com_cache (#33325) * add com_cache blank slate * Dont display toolbar if no cache items * Add blank state language strings * namespace \count function calls * /s/you/if * Update administrator/components/com_cache/tmpl/cache/blankstate.php Co-authored-by: Brian Teeman <[email protected]> * Update administrator/components/com_cache/tmpl/cache/blankstate.php Co-authored-by: Brian Teeman <[email protected]> * Update administrator/language/en-GB/com_cache.ini Co-authored-by: Brian Teeman <[email protected]> * Add icon Signed-off-by: Phil E. Taylor <[email protected]> * a-z lang strings Signed-off-by: Phil E. Taylor <[email protected]> * s/blankslate/emptystate * Short array syntax * Update administrator/language/en-GB/com_cache.ini Co-authored-by: Brian Teeman <[email protected]> Co-authored-by: Brian Teeman <[email protected]> Co-authored-by: Quy <[email protected]> commit 9632877 Author: Phil E. Taylor <[email protected]> Date: Fri Apr 30 09:34:01 2021 +0100 [4] Generic Blank State for Categories of Extensions & Tags (#33286) * Blank State for Categories of Extensions Allow more generic use of filering by where Further refine use of filtering Add Tags Blank State Refine the lookup with a non-generic filter dont use input use filter update copyright date Co-authored-by: Brian Teeman <[email protected]> update copyright date Co-authored-by: Brian Teeman <[email protected]> refactor due to upstream changes Refactor due to upstream change convert array to short syntax correct url remove unused lang Co-authored-by: Quy <[email protected]> Correct help url add really unhelpful documentation link reindex array remove indent Special handling for the title as com_categories is a service component Update administrator/components/com_categories/tmpl/categories/blankstate.php add correct icon Signed-off-by: Phil E. Taylor <[email protected]> add link for learn more button Signed-off-by: Phil E. Taylor <[email protected]> revert Update administrator/components/com_tags/tmpl/tags/blankstate.php Co-authored-by: Quy <[email protected]> Align => empty state rename from blank slate * Update administrator/components/com_categories/src/Model/CategoriesModel.php * Update administrator/components/com_tags/src/Model/TagsModel.php * remove deprecated calls and ensure only new button shown on empty state * Remove spaces * Prepared statement * make private Co-authored-by: Quy <[email protected]> commit 7d02ff8 Author: Brian Teeman <[email protected]> Date: Thu Apr 29 17:01:59 2021 +0100 [4.0] Empty Trash Button (#33402) When you have filtered your items by the trashed status in most components there is an empty trash button on the toolbar. However for contacts, newsfeeds, redirects and tags the button is in the actions dropdown. For a consistent UI they should all be the same. To test apply the pr filter a component by trashed and observe the button commit fd15e91 Author: Konstantin Kolos <[email protected]> Date: Thu Apr 29 17:12:36 2021 +0300 [4] [mod_tags_similar] Transferring the class from DIV to UL (#33385) * Removed unused constants * Update com_workflow.ini * Transferring the class from DIV to UL commit 4022a2e Author: Viviana Menzel <[email protected]> Date: Thu Apr 29 16:09:09 2021 +0200 [4.0] Set color for text and links in position topbar (#33394) * Set color for text and links in position topbar * Add empty line commit a985874 Author: Phil E. Taylor <[email protected]> Date: Thu Apr 29 15:04:02 2021 +0100 Allow newsfeed creation if no categories (#33405) commit 0b6e297 Author: Brian Teeman <[email protected]> Date: Thu Apr 29 15:03:00 2021 +0100 [4.0] Sample Data focus ring (#33407) Adds some margin so that the entire focus ring is visible. (Usually seen when you navigate using the keyboard) ### Before ### After commit 69a1a58 Author: Tuan Pham Ngoc <[email protected]> Date: Thu Apr 22 13:56:43 2021 +0700 Update field.php (#33129) Fix fieldname commit 83dc4d8 Author: Richard Fath <[email protected]> Date: Tue Apr 20 20:18:04 2021 +0200 Add database structure check to pre-update checker (#33080) commit 0dc0a3a Author: DelPoint <[email protected]> Date: Tue Apr 20 18:59:47 2021 +0200 Update default.php in mod_banners (#32622) * Update default.php in mod_banners Missing container element for $headerText (optional in banner module), which limits the header text's CSS styling. (While $footerText has container element.) * Update modules/mod_banners/tmpl/default.php Co-authored-by: Quy <[email protected]> Co-authored-by: Robert Deutz <[email protected]> commit 697a331 Author: Thomas Hunziker <[email protected]> Date: Mon Apr 19 15:04:46 2021 +0200 Reverse ordering is hardcoded to articles (#33190) Batch copying a category no enables reverse ordering only when extension = com_content commit b7fb043 Author: Phil E. Taylor <[email protected]> Date: Fri Apr 16 08:52:42 2021 +0100 Implement security fix (#33128) commit 7c0389a Author: eopws <[email protected]> Date: Wed Apr 14 21:32:11 2021 +0300 Delete unnecessary code (#33115) commit d105adf Author: Brian Teeman <[email protected]> Date: Tue Apr 13 22:16:10 2021 +0100 [3.9.26] typos (#33121) Fix obvious typos/spelling commit 8004e90 Merge: f9f6904 10f8eb4 Author: Harald Leithner <[email protected]> Date: Tue Apr 13 17:13:18 2021 +0200 Merge branch 'staging' into 3.10-dev # Conflicts: # administrator/language/en-GB/en-GB.xml # administrator/language/en-GB/install.xml # administrator/manifests/files/joomla.xml # administrator/manifests/packages/pkg_en-GB.xml # installation/language/en-GB/en-GB.xml # installation/language/ja-JP/ja-JP.xml # language/en-GB/en-GB.xml # language/en-GB/install.xml # libraries/src/Version.php commit 10f8eb4 Author: Harald Leithner <[email protected]> Date: Tue Apr 13 17:08:36 2021 +0200 Reset to dev commit 6c7b17c Author: Harald Leithner <[email protected]> Date: Sun Apr 11 22:53:30 2021 +0200 Prepare 3.9.26 release commit 443f593 Author: Harald Leithner <[email protected]> Date: Thu Apr 8 09:54:15 2021 +0200 Fix Typo (#33068) commit 54c394d Author: Harald Leithner <[email protected]> Date: Wed Apr 7 23:51:24 2021 +0200 Reset to dev commit 6796300 Author: Harald Leithner <[email protected]> Date: Wed Apr 7 23:45:23 2021 +0200 Prepare Joomla! 3.9.26-rc commit 21aff1d Author: Phil E. Taylor <[email protected]> Date: Wed Apr 7 22:31:42 2021 +0100 [3][Security] Correctly allow use of IP headers behind Load Balancers, and Not. (#32866) Co-authored-by: Richard Fath <[email protected]> Co-authored-by: Brian Teeman <[email protected]> Co-authored-by: Quy <[email protected]> commit 41566bb Author: Thomas Hunziker <[email protected]> Date: Wed Apr 7 21:16:08 2021 +0200 Updated japanese installation language files (#33054) commit eda4eff Author: Phil E. Taylor <[email protected]> Date: Tue Apr 6 22:37:17 2021 +0100 [3] Flush administrator system cache after rebuilding update sites (#33040) * Flush both system caches after rebuilding update sites * Update updatesites.php commit 461c57e Author: Tobias Zulauf <[email protected]> Date: Tue Apr 6 19:47:14 2021 +0200 Update CodeMirror to 5.60.0 (#32926) commit 3d8593c Author: Phil E. Taylor <[email protected]> Date: Tue Apr 6 14:56:19 2021 +0100 s/__DEPLOY_VERSION/__DEPLOY_VERSION__ (#33038) commit 7f1ae61 Author: Phil E. Taylor <[email protected]> Date: Tue Apr 6 14:10:14 2021 +0100 [3] Preserve update site extra_query on rebuild and use extra_query from update site if update has none (#32862) Co-authored-by: Brian Teeman <[email protected]> Co-authored-by: Richard Fath <[email protected]> Co-authored-by: Tuan Pham Ngoc <[email protected]> commit 661407c Author: George Wilson <[email protected]> Date: Thu Apr 1 23:40:24 2021 +0100 Change deprecated version to match 4.x a2004ea commit f9f6904 Author: Richard Fath <[email protected]> Date: Tue Mar 30 22:38:33 2021 +0200 [3.10] Remove display widths for integer data types from SQL scripts for MySQL and MariaDB databases (#32607) * Remove display widths for integer types from 3.10 schema updates for mysql * 3.10 - Remove display widths for integer types from mysql/joomla.sql Co-authored-by: Tobias Zulauf <[email protected]> commit 30d26a1 Merge: 1770ffb afc196a Author: zero-24 <[email protected]> Date: Tue Mar 30 22:37:20 2021 +0200 Merge branch 'staging' of github.com:joomla/joomla-cms into 3.10-dev commit afc196a Author: Phil E. Taylor <[email protected]> Date: Tue Mar 30 06:47:50 2021 +0100 replace https://resources.joomla.org (#32907) * update url * replace redirected and dead urls Signed-off-by: Phil E. Taylor <[email protected]> commit 1770ffb Author: Richard Fath <[email protected]> Date: Mon Mar 29 19:04:37 2021 +0200 [3.10] Add back com_joomlaupdate default.min.js (#32883) * Add back com_joomlaupdate default.min.js * Add missing new line to end of file commit 8e8a69c Author: infograf768 <[email protected]> Date: Sun Mar 28 13:25:05 2021 +0200 Administrator menu items type not translated (#32871) commit 0d945e4 Author: Richard Fath <[email protected]> Date: Sat Mar 27 17:10:55 2021 +0100 Fix wrong td in thead of pre-update check (#32884) commit 3c08cfe Author: Richard Fath <[email protected]> Date: Sat Mar 27 15:53:58 2021 +0100 [3.x] Remove display widths for integer data types from SQL scripts for MySQL and MariaDB databases (#32606) commit 60260bb Author: Geraint Edwards <[email protected]> Date: Fri Mar 26 20:41:53 2021 +0000 Pre-Upgrade Compatibility Check on Plugins That Could Kill Joomla Upgrade (#31200) * Alternative presentation of compatibility checks for Joomla 4 from Joomla 3.10 * Alternative presentation of compatibility checks for Joomla 4 from Joomla 3.10 * remove accidental commit of .gitignore * Handle situation where we are running 3.10 with an extension what doesn't say its compatible with 3.10 - was incorrectly being reported as not supporting Joomla updater * Adding user guidance notes for update check * code style * Update administrator/components/com_joomlaupdate/controllers/update.php Co-authored-by: Quy <[email protected]> * Update administrator/components/com_joomlaupdate/controllers/update.php Co-authored-by: Quy <[email protected]> * Changed styling of compatibility feedback columns so that they are aligned Make warning message display be conditional on being relevant to the displayed output. * Revert accidentally committed file * Use tabs for HTML spacing Alphabetical language string key definition Resolve undeclared updateInfo['current'] * Missing ->state when checking "if ($currentCompatibilityStatus->state == 1)" * implement php cs changes * Changes suggested by zero-24 * change updating icon to Joomla ajax-loader.gif * Styling the results with margin left and right Also corrected language type Jomla instead of Joomla * Revert accidentally committed file * More changes suggested by zero-24 * Remove double spacing after full stop in language strings * Changes suggested by zero-24 'is not supported' - awaiting feedback on capitalisation * Changes suggested by zero-24 * js file spacing * Changes suggested by zero-24 * Hathor template override php layout * Changes suggested by zero-24 * Add link to Joomla updater instructions for developer's benefit * Revised version to reflect some of Brian's ideas * Revised layout in traffic light colour sequence, using 'More Detail' and chevrons to indicate more detail available link and including introductory explanation * Revised layout in traffic light colour sequence, using 'More Detail' and chevrons to indicate more detail available link and including introductory explanation * Revised layout in traffic light colour sequence, using 'More Detail' and chevrons to indicate more detail available link and including introductory explanation * Update administrator/language/en-GB/en-GB.com_joomlaupdate.ini Co-authored-by: Brian Teeman <[email protected]> * Update media/com_joomlaupdate/js/default.js Co-authored-by: Quy <[email protected]> * Update media/com_joomlaupdate/js/default.js Co-authored-by: Quy <[email protected]> * Language string tweak as per bayareajenn's suggestion * First cut at flagging plugins that need attention * Add language string, confirm dialog and messages * should not have committed .gitignore * phpcs correction * Update administrator/components/com_joomlaupdate/models/default.php Co-authored-by: Tobias Zulauf <[email protected]> * Update administrator/components/com_joomlaupdate/models/default.php Co-authored-by: Tobias Zulauf <[email protected]> * Update administrator/language/en-GB/en-GB.com_joomlaupdate.ini Co-authored-by: Tobias Zulauf <[email protected]> * Update administrator/language/en-GB/en-GB.com_joomlaupdate.ini Co-authored-by: Tobias Zulauf <[email protected]> * Update administrator/components/com_joomlaupdate/views/default/tmpl/default_update.php Co-authored-by: Tobias Zulauf <[email protected]> * Update administrator/components/com_joomlaupdate/views/default/tmpl/default_update.php Co-authored-by: Tobias Zulauf <[email protected]> * Update administrator/components/com_joomlaupdate/views/default/tmpl/default_update.php Co-authored-by: Tobias Zulauf <[email protected]> * Update administrator/components/com_joomlaupdate/views/default/tmpl/default_update.php Co-authored-by: Tobias Zulauf <[email protected]> * zero-24 suggestions * Update administrator/language/en-GB/en-GB.com_joomlaupdate.ini Co-authored-by: Brian Teeman <[email protected]> * Update administrator/language/en-GB/en-GB.com_joomlaupdate.ini Co-authored-by: Brian Teeman <[email protected]> * Update administrator/language/en-GB/en-GB.com_joomlaupdate.ini Co-authored-by: Brian Teeman <[email protected]> * Update administrator/language/en-GB/en-GB.com_joomlaupdate.ini Co-authored-by: Brian Teeman <[email protected]> * Update administrator/language/en-GB/en-GB.com_joomlaupdate.ini Co-authored-by: Brian Teeman <[email protected]> * Update administrator/language/en-GB/en-GB.com_joomlaupdate.ini Co-authored-by: Brian Teeman <[email protected]> * Updates as suggested in Git Discussion to make potentially serious problem message clearer and to reduce prominence of php settings check adding in More Detail option * Updates as suggested in Git Discussion * Add problem plugin author and author URL information to the warning information Fix for javascript error thrown when no no live update is available Start update checker on DOMContentLoaded * phpcs * Fix for preupdatechecker not auto-starting automatically * Change language string COM_JOOMLAUPDATE_VIEW_DEFAULT_SHOW_MORE_COMPATIBILITY_INFORMATION to COM_JOOMLAUPDATE_VIEW_DEFAULT_EXTENSIONS_SHOW_MORE_COMPATIBILITY_INFORMATION so that it fits the relevant pattern of strings better Change "Currently Compatible Version" and "Update Compatible Version" to refer to current and target Joomla versions (@particthistle) Re-ordered columns -> "Extension Name, Extension Type, Installed Version, Joomla '3.x' Compatible Version, Joomla '4.x' Compatible Version" to make it easier to read and show progression of Joomla versions (@particthistle) Hide plugin warning and table headings as soon as all the plugins have been tested if they are all 'safe' on the 'live update' tab (@zero-24) * When there are no extensions installed or no non-Core Critical Plugins installed disable the wanrning messages and immediately exit the checking process. Co-authored-by: Geraint Edwards <[email protected]> Co-authored-by: Quy <[email protected]> Co-authored-by: zero-24 <[email protected]> Co-authored-by: Brian Teeman <[email protected]> Co-authored-by: Richard Fath <[email protected]> * Fix conflicts and implement new getEmptyStateQuery Co-authored-by: Quy <[email protected]> Co-authored-by: Brian Teeman <[email protected]>
Pull Request for Issue # .
Summary of Changes
Updates the list of files and folders to be deleted to the changes since 4.0 Beta 5 and last changes in staging and 3.10-dev.
Add also files and folders having been forgotten with the release of 4.0 beta 2.
Changes comments for sections so they tell start and end point ("from" and "to") of the comparison.
Moved some Joomla 3.10 deletions form later sections to the first section and removed some duplicates.
Old J3 sample data images will not be deleted on update because they might be used in content, see discussion here #32744 .
The lists have been pre-generated with use of #25559 .
Order of folders within a release section changed to descending so it fits to what the tool produces because this makes sure the folders are delete from child to parent.
The
/libraries/vendor/paragonie/sodium_compat/src/Core/Xsalsa20.phpfile is removed from this list of files to be deleted. This file has been renamed once fromXsalsa20.phptoXSalsa20.phpon Joomla 3 and is still present on Joomla 4 with the correct name. Having it in the list with the old name will cause it to be deleted on OS and files systems with case-insensitive file names. When using the script modified by PR #25559 , that file correctly doesn't appear on the list of files to be deleted.In addition, this PR deletes from sources those new 3.9.x SQL update scripts which meanwhile have been merged up to 4.0-dev but should not be there.
Testing Instructions
Expand the changes in file
script.phpon GitHub and check that what has been added fits to the recent changes, like change of the build process for javascript or the change from Bootstrap 5.=> Ping @dgrammatiko and @wilsonge .
Actual result BEFORE applying this Pull Request
After an update from 3.10 or a previous 4.0 Beta to current 4.0-dev or latest 4.0 nightly, there are lots of obsolete files and folder left compared to a new installation of the same current 4.0-dev or latest 4.0 nightly, lots more than the exceptions mentioned below in section "Expected result AFTER applying this Pull Request".
E.g. this gazillion of
.es6.files and their minified and gzipped versions being obsolete after the change of the build process, or all that old BS 4 stuff which should not be there.On the other hand there are 2 "3.9.x" update SQL scripts for each database type after an update from 3.10, which should be deleted but they aren't.
Expected result AFTER applying this Pull Request
After an update from 3.10 or a previous 4.0 Beta to the update package or custom update URL made by drone for this PR, there are only following old files and folders left compared to a new installation of current 4.0-dev.
There might be other files present after an update from 3.10 which are not mentioned in the list above. In this case there are files which have been recently added to the staging branch and merged up into 3.10-dev but not have been merged up into 4.10-dev yet.
There are no "3.9.x" update SQL scripts anymore after an update from 3.10.
Documentation Changes Required
None.