1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00

update to movim 0.9 git20151124

This commit is contained in:
Xavier ROOT 2015-12-24 14:21:18 +01:00
parent dd11b17d34
commit 97aebb59b2
10 changed files with 55 additions and 35 deletions

View file

@ -10,7 +10,7 @@
- script/install : new SSO policy - script/install : new SSO policy
- script/upgrade : removed "addaccess" parameter and added "clearaccess" (reset) - script/upgrade : removed "addaccess" parameter and added "clearaccess" (reset)
- script/upgrade : new SSO policy - script/upgrade : new SSO policy
- update to movim 0.9 git2015-12-23 - update to movim 0.9 git2015-12-24
1.3 2015-12-15 1.3 2015-12-15
- Update to Movim 0.9 git2015-12-15 - Update to Movim 0.9 git2015-12-15

View file

@ -5,7 +5,7 @@ Movim is a decentralized social network, written in PHP and HTML5 and based on t
It is recommended to use a "valid" certificate to use Movim, auto-signed is sometimes problematic. You might want to take a look a StartSSL or Let's Encrypt. It is recommended to use a "valid" certificate to use Movim, auto-signed is sometimes problematic. You might want to take a look a StartSSL or Let's Encrypt.
Current Movim version : 0.9 git2015-12-23 Current Movim version : 0.9 git2015-12-24
Please read CHANGELOG. Please read CHANGELOG.

View file

@ -8,9 +8,9 @@
</div> </div>
<div id="subscription_form" class="block"> <div id="subscription_form" class="block">
<ul class="simple thick"> <ul class="list simple thick">
<li> <li>
<span>{$c->__('create.title')} {$c->__('create.server_on')} {$host}</span> <p>{$c->__('create.title')} {$c->__('create.server_on')} {$host}</p>
<p>{$c->__('create.loading')}</p> <p>{$c->__('create.loading')}</p>
</li> </li>
</ul> </ul>

View file

@ -52,7 +52,7 @@ class Blog extends WidgetBase {
$pd = new \modl\PostnDAO(); $pd = new \modl\PostnDAO();
if($this->_id = $this->get('i')) { if($this->_id = $this->get('i')) {
if(Validator::intType()->between(0, 100)->validate((int)$this->_id)) { if(Validator::intType()->between(1, 100)->validate((int)$this->_id)) {
if(isset($this->_tag)) { if(isset($this->_tag)) {
$this->_messages = $pd->getPublicTag($this->get('t'), $this->_id * $this->_paging, $this->_paging + 1); $this->_messages = $pd->getPublicTag($this->get('t'), $this->_id * $this->_paging, $this->_paging + 1);
} else { } else {

View file

@ -1,4 +1,4 @@
<div class="card shadow" title="{$c->__('page.feed')}" id="blog" > <header>
<ul class="list thick"> <ul class="list thick">
{if="$mode == 'blog'"} {if="$mode == 'blog'"}
<li> <li>
@ -76,7 +76,9 @@
</li> </li>
{/if} {/if}
</ul> </ul>
</header>
<div class="card shadow" title="{$c->__('page.feed')}" id="blog" >
{loop="$posts"} {loop="$posts"}
{$c->preparePost($value)} {$c->preparePost($value)}
{/loop} {/loop}
@ -99,7 +101,10 @@
{if="$posts == null"} {if="$posts == null"}
<ul class="list simple thick"> <ul class="list simple thick">
<li> <li>
<p>{$c->__('blog.empty')}</p> <span class="primary icon gray">
<i class="zmdi zmdi-comment-outline"></i>
</span>
<p class="normal">{$c->__('blog.empty')}</p>
</li> </li>
</ul> </ul>
{/if} {/if}

View file

@ -1,6 +1,12 @@
<div> <div>
<a href="{$c->route('main')}" class="classic"> <ul class="list middle">
<span id="menu" class="icon"><i class="zmdi zmdi-home"></i></span> <li>
</a> <span class="primary active icon">
<h2>{$c->__('page.account_creation')}</h2> <a href="{$c->route('main')}">
<i class="zmdi zmdi-home"></i>
</a>
</span>
<p>{$c->__('page.account_creation')}</p>
</li>
</ul>
</div> </div>

View file

@ -1,6 +1,12 @@
<div> <div>
<a href="{$c->route('account')}" class="classic"> <ul class="list middle">
<span id="menu" class="icon"><i class="zmdi zmdi-arrow-back"></i></span> <li>
</a> <span id="menu" class="primary icon active ">
<h2>{$c->__('page.account_creation')}</h2> <a href="{$c->route('account')}">
<i class="zmdi zmdi-arrow-back"></i>
</a>
</span>
<p>{$c->__('page.account_creation')}</p>
</li>
</ul>
</div> </div>

View file

@ -87,11 +87,11 @@
{if="$c->supported('pubsub')"} {if="$c->supported('pubsub')"}
<ul id="news" class="list card shadow flex active"> <ul id="news" class="list card shadow flex active">
{if="empty($news)"} {if="empty($news)"}
<li> <li class="block">
<span class="control icon gray"> <span class="primary icon gray">
<i class="zmdi zmdi-info-outline"></i> <i class="zmdi zmdi-info-outline"></i>
</span> </span>
<p>{$c->__('menu.empty_title')}</p> <p class="normal">{$c->__('menu.empty_title')}</p>
</li> </li>
{/if} {/if}
{loop="$news"} {loop="$news"}

View file

@ -1,31 +1,33 @@
<div id="subscribe"> <div id="subscribe">
<ul class="simple thick"> <ul class="list thick">
<li class="condensed"> <li>
<span>{$c->__('subscribe.title')}</span> <p>{$c->__('subscribe.title')}</p>
<p>{$c->__('subscribe.info')}</p> <p>{$c->__('subscribe.info')}</p>
</li> </li>
</ul> </ul>
<ul class="thick active flex card"> <ul class="list thick active flex card">
{loop="$servers"} {loop="$servers"}
<li <li
class="block condensed" class="block"
onclick="movim_redirect('{$c->route('accountnext', array($value->domain, false))}')"> onclick="movim_redirect('{$c->route('accountnext', array($value->domain, false))}')">
<span class="icon bubble color {$value->description|stringToColor}"> <span class="primary icon bubble color {$value->description|stringToColor}">
{if="isset($value->checked) && $value->checked"} {if="isset($value->checked) && $value->checked"}
<i class="fa md-star-outline"></i> <i class="fa md-star-outline"></i>
{else} {else}
{$value->domain|firstLetterCapitalize} {$value->domain|firstLetterCapitalize}
{/if} {/if}
</span> </span>
<span class="info"> <p>
<img <span class="info">
class="flag" <img
title="{$value->geo_country}" class="flag"
alt="{$value->geo_country}" title="{$value->geo_country}"
src="{$c->flagPath($value->geo_country)}"/> alt="{$value->geo_country}"
</span> src="{$c->flagPath($value->geo_country)}"/>
<span>{$value->domain}</span> </span>
{$value->domain}
</p>
<p> <p>
{$value->description}<br /> {$value->description}<br />
<a target="_blank" href="{$value->url}"> <a target="_blank" href="{$value->url}">
@ -35,11 +37,11 @@
</li> </li>
{/loop} {/loop}
<li class="block condensed"> <li class="block">
<span class="icon bubble color orange"> <span class="primary icon bubble color orange">
<i class="zmdi zmdi-globe-alt"></i> <i class="zmdi zmdi-globe-alt"></i>
</span> </span>
<span>{$c->__('subscribe.server_question')}</span> <p>{$c->__('subscribe.server_question')}</p>
<p> <p>
{$c->__('subscribe.server_contact')} • <a href="https://movim.eu/">https://movim.eu/</a> {$c->__('subscribe.server_contact')} • <a href="https://movim.eu/">https://movim.eu/</a>
</p> </p>

View file

@ -108,6 +108,7 @@ main > section > div > header a:not(.classic):not(.activity):not(.action) {
.button:not(.color), .button:not(.color),
input[type=button], input[type=button],
header:not(.big) .icon a,
a/*, a/*,
a:not(.classic):not(.activity):not(.action):not(.button)*/ { color: #FF5722; border-color: #FF5722; } a:not(.classic):not(.activity):not(.action):not(.button)*/ { color: #FF5722; border-color: #FF5722; }