{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/12237","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/12237/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/12237/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/12237/events","html_url":"https://github.com/joomla/joomla-cms/pull/12237","id":180412422,"number":12237,"title":"[3.7] Add a Postinstall Message to warn users on nearly unsupported envoirments","user":{"login":"zero-24","id":2596554,"avatar_url":"https://avatars.githubusercontent.com/u/2596554?v=3","gravatar_id":"","url":"https://api.github.com/users/zero-24","html_url":"https://github.com/zero-24","followers_url":"https://api.github.com/users/zero-24/followers","following_url":"https://api.github.com/users/zero-24/following{/other_user}","gists_url":"https://api.github.com/users/zero-24/gists{/gist_id}","starred_url":"https://api.github.com/users/zero-24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zero-24/subscriptions","organizations_url":"https://api.github.com/users/zero-24/orgs","repos_url":"https://api.github.com/users/zero-24/repos","events_url":"https://api.github.com/users/zero-24/events{/privacy}","received_events_url":"https://api.github.com/users/zero-24/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/Language%20Change","name":"Language Change","color":"eb6420"},{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-3.7.x","name":"PR-3.7.x","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/joomla/joomla-cms/milestones/14","html_url":"https://github.com/joomla/joomla-cms/milestones/Joomla%203.7.0","labels_url":"https://api.github.com/repos/joomla/joomla-cms/milestones/14/labels","id":1750036,"number":14,"title":"Joomla 3.7.0","description":"","creator":{"login":"brianteeman","id":1296369,"avatar_url":"https://avatars.githubusercontent.com/u/1296369?v=3","gravatar_id":"","url":"https://api.github.com/users/brianteeman","html_url":"https://github.com/brianteeman","followers_url":"https://api.github.com/users/brianteeman/followers","following_url":"https://api.github.com/users/brianteeman/following{/other_user}","gists_url":"https://api.github.com/users/brianteeman/gists{/gist_id}","starred_url":"https://api.github.com/users/brianteeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianteeman/subscriptions","organizations_url":"https://api.github.com/users/brianteeman/orgs","repos_url":"https://api.github.com/users/brianteeman/repos","events_url":"https://api.github.com/users/brianteeman/events{/privacy}","received_events_url":"https://api.github.com/users/brianteeman/received_events","type":"User","site_admin":false},"open_issues":34,"closed_issues":104,"state":"open","created_at":"2016-05-05T16:42:34Z","updated_at":"2016-09-30T22:08:21Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-09-30T22:08:21Z","updated_at":"2016-10-01T00:18:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/12237","html_url":"https://github.com/joomla/joomla-cms/pull/12237","diff_url":"https://github.com/joomla/joomla-cms/pull/12237.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/12237.patch"},"body":"Pull Request for 3.7.x\r\n\r\n### Summary of Changes\r\n\r\nBased on the Joomla 4 Manifesto by @wilsonge https://developer.joomla.org/news/658-joomla4-manifesto.html i have created a postinstall warning to all not supported versions.\r\n\r\n### Testing Instructions\r\n\r\n- apply this patch\r\nFire this SQL statment (replace #__ by your prefix)\r\n```sql\r\nINSERT INTO `#__postinstall_messages` (`extension_id`, `title_key`, `description_key`, `action_key`, `language_extension`, `language_client_id`, `type`, `action_file`, `action`, `condition_file`, `condition_method`, `version_introduced`, `enabled`)\r\nVALUES\r\n(700, 'COM_CPANEL_MSG_JOOMLA40_PRE_CHECKS_TITLE', 'COM_CPANEL_MSG_JOOMLA40_PRE_CHECKS_BODY', '', 'com_cpanel', 1, 'message', '', '', 'admin://components/com_admin/postinstall/joomla40checks.php', 'admin_postinstall_joomla40checks_condition', '3.7.0', 1);\r\n```\r\n\r\nIf you have a unspported version or use mssql you get a postinstall like this:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2596554/19008150/8e977446-8769-11e6-919d-602dbcaeb49d.png)\r\n\r\nIf you want you can test this but you have no unsupported version you can change e.g. the PHP Version check to  `version_compare(PHP_VERSION, '8.5.9', 'lt');`\r\n\r\n### Documentation Changes Required\r\n\r\nNone"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/250879774","html_url":"https://github.com/joomla/joomla-cms/pull/12237#issuecomment-250879774","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/12237","id":250879774,"user":{"login":"wilsonge","id":1986000,"avatar_url":"https://avatars.githubusercontent.com/u/1986000?v=3","gravatar_id":"","url":"https://api.github.com/users/wilsonge","html_url":"https://github.com/wilsonge","followers_url":"https://api.github.com/users/wilsonge/followers","following_url":"https://api.github.com/users/wilsonge/following{/other_user}","gists_url":"https://api.github.com/users/wilsonge/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonge/subscriptions","organizations_url":"https://api.github.com/users/wilsonge/orgs","repos_url":"https://api.github.com/users/wilsonge/repos","events_url":"https://api.github.com/users/wilsonge/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonge/received_events","type":"User","site_admin":false},"created_at":"2016-10-01T00:18:10Z","updated_at":"2016-10-01T00:18:10Z","body":"Hmm I'm unsure what to do about this. I think it's good. But these were provisional and not final requirements..... as per the manifesto. These versions are definitely going to be unsupported. But don't want people on higher req's to feel like they are 100% safe :/"}}
{"actor":{"display_login":"wilsonge"}}