-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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] Revision of protected and locked states for core extensions in #__extensions table (update and installation) #28563
Conversation
Please add languagefilter system plugin to your list. |
It's already there can not be uninstalled (locked = 1). Correct? |
My list above is just a Summary of Changes. It doesn't include extensions that have already the correct states. |
@ReLater Just at the end when all is ready in the update sql, don't forget to change the joomla.sql, too, and please do all for both mysql and postgresql. |
Jepp. Please read #28527 (comment) |
@ReLater List in description looks ok to me, the actual sql changes I haven't verified yet. Update: I've just checked the changes in the update sql, and to me they look consistent to the descriptions. So that looks good to me so far. |
But I have the feeling that @alikon will want com_finder and workflows be uninstallable ;-) (joke for insider) |
ahhh sure i really want those 2 to be unistallable as well |
@alikon How about mail templates? (other joke for insiders)? |
@ReLater Don't take us serious: Workflows, smart search and mail templates should not be uninstallable. We're just making silly jokes. |
mail templates what ? p.s |
@ReLater |
If you say "We don't support updates and basta." Do we need the update files 4.0.0-2020-03-25.sql at all? Isn't joomla.sql sufficient then? At the end the update files change nothing in a fresh installtion. States are all identical then. |
@ReLater I haven't said we don't support updates, I have said we don't support updates yet between J4 versions existing up to now. But the update sql files are necessary for updating from 3.10 mainly. Most of the stuff in it is for updating from 3.10. It may be that statements for stuff added in J4 is not necessary in the update sql, but that's only a small part, and leaving it away would make it harder to maintain. And btw. don't forget postgresql. |
Yes, I forgot that completely ;-) What is Joomla 3? |
@ReLater The title of the last commit sounded as if it would also include postgresql/joomla.sql, but it didn't. Maybe just forgotten? Or still in progress? |
Hint for me: Commit "PostgreSql. Installation. All" is "PostgreSql. Update." (wrongly named). |
Reason "my" update sql 2020-03-25 runs before 2020-04-11. Latter one installs that plugin. |
@ReLater You can fix the |
Co-Authored-By: Quy <[email protected]>
Co-Authored-By: Quy <[email protected]>
@ReLater @mbabker posted a comment above regarding the last change. I think he is right. Unfortunately the comment is hidden in the resolved code conversation when not explicitly expanding that, so I post here the link: #28563 (comment) Update: Links seems not to help, at least not on mobile, when the resolved discussion is not expanded. |
I have tested this item ✅ successfully on c15bd16 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28563. |
|
I have tested this item 🔴 unsuccessfully on c15bd16
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28563. |
administrator/components/com_admin/sql/updates/postgresql/4.0.0-2020-03-25.sql
Outdated
Show resolved
Hide resolved
administrator/components/com_admin/sql/updates/postgresql/4.0.0-2020-03-25.sql
Outdated
Show resolved
Hide resolved
administrator/components/com_admin/sql/updates/postgresql/4.0.0-2020-03-25.sql
Outdated
Show resolved
Hide resolved
Co-Authored-By: Richard Fath <[email protected]>
Co-Authored-By: Richard Fath <[email protected]>
Co-Authored-By: Richard Fath <[email protected]>
I have tested this item ✅ successfully on c15bd16 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28563. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28563. |
Thankyou very much for working through this! |
…_extensions table (update and installation) (joomla#28563)
Pull Request for Issue #28527
Related pr #28462
Summary of Changes
protected
andlocked
state.protected
andlocked
entries were erroneously inverted.Before
After
Testing
J4: Updates from nightly builds that were installed AFTER merge date of pr [4.0] Add locked field to extensions table, prevent uninstalling core extensions, restructure protected extension list #28462 ARE NOT possible for correct tests.
Not guaranteed: Older installations are perhaps updateable with the custom updateserver mentioned on the download page of this pr.
See testing instructions in pr [4.0] Add locked field to extensions table, prevent uninstalling core extensions, restructure protected extension list #28462
See also comment [4] Revision of protected and locked states for core extensions in #__extensions table (update and installation) #28563 (comment) below: "A good test of this PR would be to make a new installation..." and so on.
This is a list of extensions that can be disabled at current state.
If somebody disagrees please add a short comment why.
I know that it's stupid to deactivate this or that in a pure core Joomla but from my point of view developers should have a chance to deactivate more than in the past when they want to replace core functionalities. Decisions like that (protected yes or no) are always a double-edged sword.
Hint: This list does not have a
locked
column because all core extensions are locked=1.It contains a
client_id
column to differentiate between FE and BE extensions with the same name; e.g. mod_custom.Last update: 2020-04-14.
This is a tab separated txt file of the list above that you can download
https://re-later.eu/e0mxh_extensions-2.txt