Merge https://github.com/redmatrix/redmatrix into pending_merge
This commit is contained in:
commit
5751437c93
@ -4588,10 +4588,12 @@ function zot_feed($uid,$observer_hash,$arr) {
|
||||
|
||||
$items = array();
|
||||
|
||||
/** @FIXME fix this part for PostgreSQL */
|
||||
/** @FIXME re-unite these SQL statements. There is no need for them to be separate. The mySQL is convoluted with misuse of group by. As it stands, there is a slight difference where the postgres version doesn't remove the duplicate parents up to 100. In practice this doesn't matter. It could be made to match behavior by adding "distinct on (parent) " to the front of the selection list, at a not-worth-it performance penalty (page temp results to disk). duplicates are still ignored in the in() clause, you just get less than 100 parents if there are many children. */
|
||||
|
||||
if(ACTIVE_DBTYPE == DBTYPE_POSTGRES) {
|
||||
return array();
|
||||
$groupby = '';
|
||||
} else {
|
||||
$groupby = 'GROUP BY parent';
|
||||
}
|
||||
|
||||
if(is_sys_channel($uid)) {
|
||||
@ -4599,7 +4601,7 @@ function zot_feed($uid,$observer_hash,$arr) {
|
||||
WHERE uid != %d
|
||||
AND item_private = 0 AND item_restrict = 0 AND uid in (" . stream_perms_api_uids(PERMS_PUBLIC,10,1) . ")
|
||||
AND (item_flags & %d) > 0
|
||||
$sql_extra GROUP BY parent ORDER BY created ASC $limit",
|
||||
$sql_extra $groupby ORDER BY created ASC $limit",
|
||||
intval($uid),
|
||||
intval(ITEM_WALL)
|
||||
);
|
||||
@ -4608,7 +4610,7 @@ function zot_feed($uid,$observer_hash,$arr) {
|
||||
$r = q("SELECT parent, created, postopts from item
|
||||
WHERE uid = %d AND item_restrict = 0
|
||||
AND (item_flags & %d) > 0
|
||||
$sql_extra GROUP BY parent ORDER BY created ASC $limit",
|
||||
$sql_extra $groupby ORDER BY created ASC $limit",
|
||||
intval($uid),
|
||||
intval(ITEM_WALL)
|
||||
);
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -903,7 +903,7 @@ $a->strings["Purchase"] = "Acquista";
|
||||
$a->strings["Image/photo"] = "Immagine";
|
||||
$a->strings["Encrypted content"] = "Contenuto crittografato";
|
||||
$a->strings["Install %s element: "] = "Installa l'elemento %s:";
|
||||
$a->strings["This post contains an installable %s element, however you lack permissions to install it on this site."] = "Questo post contiene un elemento %s installabile, tuttavia non hai i permessi necessari.";
|
||||
$a->strings["This post contains an installable %s element, however you lack permissions to install it on this site."] = "Questo post contiene un elemento %s installabile, tuttavia non hai i permessi necessari per l'installazione.";
|
||||
$a->strings["webpage"] = "pagina web";
|
||||
$a->strings["layout"] = "layout";
|
||||
$a->strings["block"] = "riquadro";
|
||||
@ -1046,6 +1046,7 @@ $a->strings["Create New Event"] = "Crea un nuovo evento";
|
||||
$a->strings["Previous"] = "Precendente";
|
||||
$a->strings["Next"] = "Successivo";
|
||||
$a->strings["Export"] = "Esporta";
|
||||
$a->strings["Import"] = "Importa";
|
||||
$a->strings["Event removed"] = "Evento eliminato";
|
||||
$a->strings["Failed to remove event"] = "Impossibile eliminare l'evento";
|
||||
$a->strings["Event details"] = "Dettagli evento";
|
||||
@ -1114,10 +1115,6 @@ $a->strings["No channel."] = "Nessun canale.";
|
||||
$a->strings["Common connections"] = "Contatti in comune";
|
||||
$a->strings["No connections in common."] = "Nessun contatto in comune.";
|
||||
$a->strings["This site is not a directory server"] = "Questo sito non è un server di elenchi pubblici";
|
||||
$a->strings["Could not access contact record."] = "Non è possibile accedere alle informazioni sul contatto.";
|
||||
$a->strings["Could not locate selected profile."] = "Non riesco a trovare il profilo selezionato.";
|
||||
$a->strings["Connection updated."] = "Contatto aggiornato.";
|
||||
$a->strings["Failed to update connection record."] = "Impossibile aggiornare le informazioni del contatto.";
|
||||
$a->strings["Blocked"] = "Bloccati";
|
||||
$a->strings["Ignored"] = "Ignorati";
|
||||
$a->strings["Hidden"] = "Nascosti";
|
||||
@ -1231,7 +1228,7 @@ $a->strings["Edit Layout"] = "Modifica il layout";
|
||||
$a->strings["You must be logged in to see this page."] = "Devi aver effettuato l'accesso per vedere questa pagina.";
|
||||
$a->strings["Room not found"] = "Area chat non trovata";
|
||||
$a->strings["Leave Room"] = "Lascia l'area chat";
|
||||
$a->strings["Delete This Room"] = "Elimina questa area chat";
|
||||
$a->strings["Delete This Room"] = "Elimina questa chat";
|
||||
$a->strings["I am away right now"] = "Non sono presente";
|
||||
$a->strings["I am online"] = "Sono online";
|
||||
$a->strings["Bookmark this room"] = "Aggiungi l'area chat ai segnalibri";
|
||||
@ -1662,17 +1659,18 @@ $a->strings["Destination URL"] = "URL di destinazione";
|
||||
$a->strings["Mark hub permanently offline"] = "Questo hub è definitivamente offline";
|
||||
$a->strings["Empty queue for this hub"] = "Svuota la coda per questo hub";
|
||||
$a->strings["Last known contact"] = "Ultimo scambio dati";
|
||||
$a->strings["%s user blocked/unblocked"] = array(
|
||||
0 => "%s utente bloccato/sbloccato",
|
||||
1 => "%s utenti bloccati/sbloccati",
|
||||
$a->strings["%s account blocked/unblocked"] = array(
|
||||
0 => "Modificato il blocco su %s account",
|
||||
1 => "Modificato il blocco verso %s",
|
||||
);
|
||||
$a->strings["%s user deleted"] = array(
|
||||
0 => "%s utente cancellato",
|
||||
1 => "%s utenti cancellati",
|
||||
$a->strings["%s account deleted"] = array(
|
||||
0 => "%s account eliminato",
|
||||
1 => "%s account eliminati",
|
||||
);
|
||||
$a->strings["Account not found"] = "Account non trovato";
|
||||
$a->strings["User '%s' blocked"] = "Utente '%s' bloccato";
|
||||
$a->strings["User '%s' unblocked"] = "Utente '%s' sbloccato";
|
||||
$a->strings["Account '%s' deleted"] = "Account '%s' eliminato";
|
||||
$a->strings["Account '%s' blocked"] = "Aggiunto un blocco verso '%s'";
|
||||
$a->strings["Account '%s' unblocked"] = "Rimosso il blocco verso '%s'";
|
||||
$a->strings["Users"] = "Utenti";
|
||||
$a->strings["select all"] = "seleziona tutti";
|
||||
$a->strings["User registrations waiting for confirm"] = "Richieste di registrazione in attesa di conferma";
|
||||
@ -1686,8 +1684,8 @@ $a->strings["Register date"] = "Data registrazione";
|
||||
$a->strings["Last login"] = "Ultimo accesso";
|
||||
$a->strings["Expires"] = "Con scadenza";
|
||||
$a->strings["Service Class"] = "Classe dell'account";
|
||||
$a->strings["Selected users will be deleted!\\n\\nEverything these users had posted on this site will be permanently deleted!\\n\\nAre you sure?"] = "Gli utenti selezionati saranno eliminati!\\n\\nTutto quello che gli utenti hanno pubblicato su questo sito sarà permanentemente eliminato!\\n\\nConfermi?";
|
||||
$a->strings["The user {0} will be deleted!\\n\\nEverything this user has posted on this site will be permanently deleted!\\n\\nAre you sure?"] = "L'utente {0} sarà eliminato!\\n\\nTutto quello che ha pubblicato su questo sito sarà permanentemente eliminato!\\n\\nConfermi?";
|
||||
$a->strings["Selected accounts will be deleted!\\n\\nEverything these accounts had posted on this site will be permanently deleted!\\n\\nAre you sure?"] = "Gli account selezionati saranno eliminati!\\n\\nTutto ciò che hanno caricato o pubblicato su questo sito sarà eliminato definitivamente!\\n\\nVuoi confermare?";
|
||||
$a->strings["The account {0} will be deleted!\\n\\nEverything this account has posted on this site will be permanently deleted!\\n\\nAre you sure?"] = "L'account {0} sarà eliminato!\\n\\nTutto ciò che ha caricato o pubblicato su questo sito sarà eliminato definitivamente!\\n\\nVuoi confermare?";
|
||||
$a->strings["%s channel censored/uncensored"] = array(
|
||||
0 => "Censura modificata per %s canale",
|
||||
1 => "Censura modificata per %s canali",
|
||||
@ -1943,6 +1941,10 @@ $a->strings["Remove This Channel"] = "Elimina questo canale";
|
||||
$a->strings["This channel will be completely removed from the network. "] = "Questo canale sarà completamente eliminato dalla rete.";
|
||||
$a->strings["Remove this channel and all its clones from the network"] = "Rimuovi questo canale e tutti i suoi cloni dalla rete";
|
||||
$a->strings["By default only the instance of the channel located on this hub will be removed from the network"] = "L'impostazione predefinita è che sia eliminata solo l'istanza del canale presente su questo hub, non gli eventuali cloni";
|
||||
$a->strings["Could not access contact record."] = "Non è possibile accedere alle informazioni sul contatto.";
|
||||
$a->strings["Could not locate selected profile."] = "Non riesco a trovare il profilo selezionato.";
|
||||
$a->strings["Connection updated."] = "Contatto aggiornato.";
|
||||
$a->strings["Failed to update connection record."] = "Impossibile aggiornare le informazioni del contatto.";
|
||||
$a->strings["is now connected to"] = "ha come nuovo contatto";
|
||||
$a->strings["Could not access address book record."] = "Impossibile accedere alle informazioni della rubrica.";
|
||||
$a->strings["Refresh failed - channel is currently unavailable."] = "Il canale non è disponibile - impossibile aggiornare.";
|
||||
@ -2058,7 +2060,7 @@ $a->strings["My Connections Bookmarks"] = "I segnalibri dei miei contatti";
|
||||
$a->strings["Insufficient permissions. Request redirected to profile page."] = "Permessi insufficienti. Sarà visualizzata la pagina del profilo.";
|
||||
$a->strings["This setting requires special processing and editing has been blocked."] = "Questa impostazione è bloccata, richiede criteri di modifica speciali";
|
||||
$a->strings["Configuration Editor"] = "Editor di configurazione";
|
||||
$a->strings["Warning: Changing some settings could render your channel inoperable. Please leave this page unless you are comfortable with and knowledgeable about how to correctly use this feature."] = "Avviso: alcune delle impostazioni, se cambiate, potrebbero rendere questo canale non funzionante. Lascia questa pagina a meno che tu non sappia con assoluta certezza quali modifiche effettuare.";
|
||||
$a->strings["Warning: Changing some settings could render your channel inoperable. Please leave this page unless you are comfortable with and knowledgeable about how to correctly use this feature."] = "Attenzione: alcune delle impostazioni, se cambiate, potrebbero rendere questo canale non funzionante. Lascia questa pagina a meno che tu non sappia con assoluta certezza quali modifiche effettuare.";
|
||||
$a->strings["No suggestions available. If this is a new site, please try again in 24 hours."] = "Nessun suggerimento disponibile. Se questo sito è nuovo, riprova tra 24 ore.";
|
||||
$a->strings["Poll"] = "Sondaggio";
|
||||
$a->strings["View Results"] = "Guarda i risultati";
|
||||
|
Reference in New Issue
Block a user