*/
public function up(Schema $schema)
{
- $this->addSql('ALTER TABLE '.$this->getTable('oauth2_clients').' ADD name longtext COLLATE \'utf8_unicode_ci\' DEFAULT NULL');
+ if ($this->connection->getDatabasePlatform()->getName() == 'sqlite') {
+ $this->addSql('ALTER TABLE '.$this->getTable('oauth2_clients').' ADD name longtext DEFAULT NULL');
+ } else {
+ $this->addSql('ALTER TABLE '.$this->getTable('oauth2_clients').' ADD name longtext COLLATE \'utf8_unicode_ci\' DEFAULT NULL');
+ }
}
/**
master_doc = 'index'
project = u'wallabag-fr'
copyright = u'2013-2016, Nicolas Lœuillet - MIT Licence'
-version = '2.0.0'
+version = '2.1.0'
release = version
exclude_patterns = ['_build']
pygments_style = 'sphinx'
git fetch origin
git fetch --tags
git checkout 2.1.0
- ./install.sh
+ ASSETS=build ./install.sh
+ php bin/console doctrine:migrations:migrate --env=prod
+ php bin/console cache:clear --env=prod
Update auf einem Shared Webhosting
----------------------------------
master_doc = 'index'
project = u'wallabag'
copyright = u'2013-2016, Nicolas Lœuillet - MIT Licence'
-version = '2.0.0'
+version = '2.1.0'
release = version
exclude_patterns = ['_build']
pygments_style = 'sphinx'
git fetch origin
git fetch --tags
git checkout 2.1.0
- ./install.sh
+ ASSETS=build ./install.sh
+ php bin/console doctrine:migrations:migrate --env=prod
+ php bin/console cache:clear --env=prod
Upgrade on a shared hosting
---------------------------
master_doc = 'index'
project = u'wallabag-fr'
copyright = u'2013-2016, Nicolas Lœuillet - MIT Licence'
-version = '2.0.0'
+version = '2.1.0'
release = version
exclude_patterns = ['_build']
pygments_style = 'sphinx'
git fetch origin
git fetch --tags
git checkout 2.1.0
- ./install.sh
+ ASSETS=build ./install.sh
+ php bin/console doctrine:migrations:migrate --env=prod
+ php bin/console cache:clear --env=prod
Mise à jour sur un hébergement mutualisé
----------------------------------------
page_title: 'Configuration'
config:
+ page_title: 'Configuration'
tab_menu:
settings: 'Paramètres'
rss: 'RSS'
$this->assertEquals(1, count($entry->getTags()));
- # tag already exists and already assigned
+ // tag already exists and already assigned
$client->submit($form, $data);
$this->assertEquals(302, $client->getResponse()->getStatusCode());
$this->assertEquals(1, count($newEntry->getTags()));
- # tag already exists but still not assigned to this entry
+ // tag already exists but still not assigned to this entry
$data = [
'tag[label]' => 'foo',
];
/**
* Check if Redis is installed.
- * If not, mark test as skip
+ * If not, mark test as skip.
*/
protected function checkRedis()
{
);
$this->mailer = new \Swift_Mailer($transport);
- $twigTemplate = <<<TWIG
+ $twigTemplate = <<<'TWIG'
{% block subject %}subject{% endblock %}
{% block body_html %}html body {{ code }}{% endblock %}
{% block body_text %}text body {{ support_url }}{% endblock %}