This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Password Reset Script | |
* | |
* This command line script can be run as a cron job or on user request to flag user accounts on a site | |
* as requiring their passwords reset. This script flags all users who have not reset their passwords | |
* in the number of days specified by the user and compares to the lastResetTime column in the #__users | |
* table. | |
* | |
* The number of days can be specified in one of two manners: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<pre class='xdebug-var-dump' dir='ltr'> | |
<b>array</b> <i>(size=7)</i> | |
'site_name' <font color='#888a85'>=></font> <small>string</small> <font color='#cc0000'>'J!'</font> <i>(length=2)</i> | |
'site_metadesc' <font color='#888a85'>=></font> <small>string</small> <font color='#cc0000'>''</font> <i>(length=0)</i> | |
'admin_email' <font color='#888a85'>=></font> <small>string</small> <font color='#cc0000'>'[email protected]'</font> <i>(length=20)</i> | |
'admin_user' <font color='#888a85'>=></font> <small>string</small> <font color='#cc0000'>'admin'</font> <i>(length=5)</i> | |
'admin_password' <font color='#888a85'>=></font> <small>string</small> <font color='#cc0000'>'admin'</font> <i>(length=5)</i> | |
'admin_password2' <font color='#888a85'>=></font> <small>string</small> <font color='#cc0000'>'admin'</font> <i>(length=5)</i> | |
'site_offline' <font color='#888a85'>=></font> <small>string</small> <font color='#cc0000'>'0'</font> <i>(length=1)</i> | |
</pre><pre class='xdebug-var-dump' dir='ltr'> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Michaels-MacBook:framework-status mbabker$ composer update --dry-run -vvv joomla/compat | |
Reading ./composer.json | |
Executing command (CWD): git describe --exact-match --tags | |
Executing command (CWD): git branch --no-color --no-abbrev -v | |
Loading composer repositories with package information | |
Downloading https://packagist.org/packages.json | |
Writing ~/.composer/cache/repo/https---packagist.org/packages.json into cache | |
Updating dependencies (including require-dev) | |
Reading ./composer.lock | |
Downloading https://packagist.org/p/provider-active$6b1e374d6277a97170d8771d3cd383a2ee95e302739ab394e9f2a53c5e15635f.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Part of the Joomla Tracker's Tracker Application | |
* | |
* @copyright Copyright (C) 2012 - 2014 Open Source Matters, Inc. All rights reserved. | |
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License Version 2 or Later | |
*/ | |
namespace App\Tracker\View\Issue; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE `jos_banner_clients` SET `checked_out_time` = '1900-01-01 00:00:00'; | |
UPDATE `jos_banners` SET `checked_out_time` = '1900-01-01 00:00:00'; | |
UPDATE `jos_banners` SET `publish_up` = '1900-01-01 00:00:00'; | |
UPDATE `jos_banners` SET `publish_down` = '1900-01-01 00:00:00'; | |
UPDATE `jos_banners` SET `reset` = '1900-01-01 00:00:00'; | |
UPDATE `jos_banners` SET `modified` = '1900-01-01 00:00:00'; | |
UPDATE `jos_categories` SET `checked_out_time` = '1900-01-01 00:00:00'; | |
UPDATE `jos_categories` SET `modified_time` = '1900-01-01 00:00:00'; | |
UPDATE `jos_contact_details` SET `checked_out_time` = '1900-01-01 00:00:00'; | |
UPDATE `jos_contact_details` SET `modified` = '1900-01-01 00:00:00'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function installfromweb() { | |
$model = $this->getModel('install'); | |
$response = $model->installfromweb(); | |
echo new JResponseJson($response['body'], $response['message'], $response['error']); | |
jexit(); | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class stdClass#1 (5) { | |
public $comment => | |
class stdClass#2 (6) { | |
public $created_at => | |
string(20) "2012-10-28T02:50:43Z" | |
public $body => | |
string(68) "OK, last one on this issue. I think I have the payload figured out." | |
public $updated_at => | |
string(20) "2012-10-28T02:50:43Z" | |
public $url => |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Tweet Display Back Module for Joomla! | |
* | |
* @package TweetDisplayBack | |
* | |
* @copyright Copyright (C) 2010-2013 Michael Babker. All rights reserved. | |
* @license GNU/GPL - http://www.gnu.org/copyleft/gpl.html | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is a comparison of the loading time/memory for the legacy JApplication based app classes versus | |
the proposed app classes built on JApplicationWeb. | |
This comparison is taken on joomla/joomla-cms@d28d5d15073561cb4c79f3e7cbfa221119e11e0e (master) | |
compared to joomla-projects/joomla-cms@d849d4669b3b9f7684dd8dd54e396a859e4acde5 (feature-app) | |
For both tests, a fresh installation is performed and the "Learn Joomla English (GB) Sample Data" dataset is installed. | |
For the site tests, the homepage is compared. | |
For the administrator tests, the login page and control panel pages are compared. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Below are the debug console outputs comparing the current Joomla routing system versus Hannes' proposed improvements as collected on December 26, 2012. Tests were conducted on the CMS development HEAD with the "Learn Joomla English (GB) Sample Data" loaded. | |
Summary: | |
afterRender Time: 1.338 seconds (Current) vs. 0.542 seconds (Optimized) | |
Memory Usage: 2.84 MB (Current) vs. 2.61 MB (Optimized) | |
Current Routing: | |
Application 0.000 seconds (+0.000); 0.40 MB (+0.401) - afterLoad | |
Application 0.145 seconds (+0.145); 1.03 MB (+0.631) - afterInitialise | |
Application 0.557 seconds (+0.413); 2.07 MB (+1.043) - afterRoute |