Skip to content

Commit

Permalink
Release v0.2.2
Browse files Browse the repository at this point in the history
* Move toggle mobile/desktop to navslider (opt-in)
* Update TR
  • Loading branch information
gsantner authored Dec 20, 2016
1 parent 05e6e4d commit a31a530
Show file tree
Hide file tree
Showing 33 changed files with 291 additions and 59 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# v0.2.2
- Move "toggle mobile/deskop" to nav-slider
- Reduce messages sent via broadcast
- Allow to jump to last visited page on stream
- New language: Hungarian
- FIX NullPtr in shared text methods
- FIX #117 - Reset NavHeader on change account, reset web profile
- FIX #92 Roation settings
- FIX #111 Remove legacy code

# v0.2.1
- App name changed to **dandelion\***
- App name changed to **dandelion***
- Rotation options
- Top toolbar loads screen again (toggleable in settings)
- Fixed overlapping fragments
Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ Airon90 (https://diasp.eu/u/airon90): Italian translation
Gaukler Faun (https://github.com/scoute-dich): Diaspora Native WebApp additions
Martín Vukovic (martinvukovic AT protonmail DOT com): Diaspora Native WebApp
Nacho Fernández (nacho_f AT joindiaspora DOT com): Spanish translation
Naofumi Fukue (https://github.com/naofum): Japanese translation
pskosinski (email AT pskosinski DOT pl): Polish translation
SansPseudoFix (https://github.com/SansPseudoFix): French translation
Zsolt Szakács (maxigaz AT diaspora DOT zone): Hungarian translation
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# dandelion\*
FORMERLY KNOWN AS DIASPORA-FOR-ANDROID

This is an unofficial webview based client for the community-run, distributed social network **[Diaspora*](https://diasporafoundation.org/)**. It's currently under development and should be used with that in mind. Please submit any bugs you might find.
This is an unofficial webview based client for the community-run, distributed social network **[diaspora*](https://diasporafoundation.org/)**. It's currently under development and should be used with that in mind. Please submit any bugs you might find.

- Download ([F-Droid](https://f-droid.org/repository/browse/?fdid=com.github.dfa.diaspora_android), [Release Archive](https://github.com/Diaspora-for-Android/dandelion/releases))
- Watch [Changelog](https://github.com/Diaspora-for-Android/dandelion/blob/master/CHANGELOG.md)
Expand Down Expand Up @@ -41,4 +41,4 @@ dandelion\* requires access to the Internet and to external storage to be able t

## Maintainers
- gsantner ([GitHub](https://github.com/gsantner), [Web](https://gsantner.github.io), [diaspora*](https://pod.geraspora.de/people/d1cbdd70095301341e834860008dbc6c))
- vanitasvitae ([GitHub](https://github.com/vanitasvitae), [Diaspora](https://pod.geraspora.de/people/bbd7af90fbec013213e34860008dbc6c))
- vanitasvitae ([GitHub](https://github.com/vanitasvitae), [diaspora*](https://pod.geraspora.de/people/bbd7af90fbec013213e34860008dbc6c))
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ android {
minSdkVersion 17
targetSdkVersion 24
versionCode 12
versionName "0.2.1-next"
versionName "0.2.2"
setProperty("archivesBaseName", "dandelion__${versionName}__")

vectorDrawables.useSupportLibrary = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,6 @@ public boolean onOptionsItemSelected(MenuItem item) {
}
}

case R.id.action_toggle_desktop_page: {
loadUrl(urls.getToggleMobileUrl());
return true;
}

case R.id.action_go_to_top: {
ObjectAnimator anim = ObjectAnimator.ofInt(webView, "scrollY", webView.getScrollY(), 0);
anim.setDuration(400);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ protected void updateNavigationViewEntryVisibilities() {
navMenu.findItem(R.id.nav_public).setVisible(appSettings.isVisibleInNavPublic_activities());
navMenu.findItem(R.id.nav_stream).setVisible(true);
navMenu.findItem(R.id.nav_reports).setVisible(appSettings.isVisibleInNavReports());
navMenu.findItem(R.id.nav_toggle_desktop_page).setVisible(appSettings.isVisibleToggleMobileDesktop());


// Hide whole group (for logged in use) if no pod was selected
Expand Down Expand Up @@ -769,12 +770,6 @@ public boolean onOptionsItemSelected(MenuItem item) {
}
}

case R.id.action_exit: {
moveTaskToBack(true);
finish();
return true;
}

case R.id.action_compose: {
if (WebHelper.isOnline(MainActivity.this)) {
openDiasporaUrl(urls.getNewPostUrl());
Expand Down Expand Up @@ -1076,6 +1071,11 @@ public boolean onNavigationItemSelected(MenuItem item) {
}
break;

case R.id.nav_toggle_desktop_page: {
openDiasporaUrl(urls.getToggleMobileUrl());
}
break;

case R.id.nav_exit: {
moveTaskToBack(true);
finish();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,10 @@ public boolean isVisibleInNavReports() {
return getBoolean(prefApp, R.string.pref_key__visibility_nav__reports, false);
}

public boolean isVisibleToggleMobileDesktop() {
return getBoolean(prefApp, R.string.pref_key__visibility_nav__toggle_mobile_desktop, false);
}

public boolean isTopbarStreamShortcutEnabled() {
return getBoolean(prefApp, R.string.pref_key__topbar_stream_shortcut, false);
}
Expand Down
7 changes: 0 additions & 7 deletions app/src/main/res/menu/main__menu_bottom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,4 @@
android:title="@string/action_compose_new_post"
app:showAsAction="always" />

<!-- overflow menu -->
<item
android:id="@+id/action_exit"
android:orderInCategory="600"
android:title="@string/action_exit_app"
app:showAsAction="never" />

</menu>
5 changes: 5 additions & 0 deletions app/src/main/res/menu/main__navdrawer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@

<item android:title="@string/nav_menu_more">
<menu>
<item
android:id="@+id/nav_toggle_desktop_page"
android:icon="@drawable/ic_sync_white_48px"
android:title="@string/action_toggle_desktop_page" />

<item
android:id="@+id/nav_settings"
android:icon="@drawable/ic_settings_black_48px"
Expand Down
9 changes: 0 additions & 9 deletions app/src/main/res/menu/stream__menu_bottom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,4 @@
android:title="@string/action_go_to_top"
app:showAsAction="always" />


<!-- overflow menu -->
<item
android:id="@+id/action_toggle_desktop_page"
android:icon="@drawable/ic_sync_white_48px"
android:orderInCategory="700"
android:title="@string/action_toggle_desktop_page"
app:showAsAction="never" />

</menu>
3 changes: 2 additions & 1 deletion app/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,13 @@
nachträglich erteilen. Öffne dafür: Systemeinstellungen - Apps - Diaspora. Im Bereich Berechtigungen kannst
dann die entsprechende Einstellung vornehmen.</string>
<string name="permissions_image">Du musst der App Zugriff auf den Gerätespeicher gewähren, damit Bilder gespeichert oder hochgeladen werden können. Danach solltest du die Anwendung komplett schließen oder das Telefon neu starten. Wenn du den Zugriff verweigerst und die Funktion später doch nutzen willst, kannst du die Berechtigung
nachträglich erteilen. Öffne dafür: Systemeinstellungen - Apps - Diaspora. Im Bereich Berechtigungen kannst dann die entsprechende Einstellung vornehmen.</string>
nachträglich erteilen. Öffne dafür: Systemeinstellungen - Apps - dandelion*. Im Bereich Berechtigungen kannst dann die entsprechende Einstellung vornehmen.</string>
<string name="permission_denied">Berechtigung verweigert.</string>
<string name="permission_granted_try_again">Berechtigung erteilt. Bitte versuche es erneut.</string>
<string name="podselection__custom_pod">Benutzerdefinierter Pod</string>
<string name="pod_name">Pod Name</string>
<string name="http_protocol">Protokoll</string>
<string name="pod_address">Pod Adresse</string>
<string name="missing_value">Fehlender Wert</string>
<string name="jump_to_last_visited_timestamp_in_stream">Zuletzt besuchte Seite im Stream aufrufen?</string>
</resources>
2 changes: 2 additions & 0 deletions app/src/main/res/values-es/strings-preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
<!-- Screen rotation -->
<string name="pref_title__screen_rotation">Rotación de la pantalla</string>
<string name="pref_desc__screen_rotation">Controlar la rotación automática de la pantalla</string>
<string name="rotation_system">Predeterminado</string>
<string name="rotation_sensor">Sensor\n(ignorar la configuración de la sistema)</string>
<string name="rotation_portrait">Vertical</string>
<string name="rotation_landscape">Apaisado</string>
<!-- Proxy -->
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,13 @@
<string name="unable_to_load_image">No se pudo cargar la imagen</string>
<!-- Permissions -->
<string name="permissions_screenshot">Debe conceder \"Permiso de Almacenamiento de Información\" para guardar capturas de pantalla. Después debe cerrar completamente la aplicación o reiniciar el teléfono. Si usted no permite el acceso al almacenamiento pero desea utilizar la función de captura de pantalla en un momento posterior, puede conceder el permiso más adelante. Por favor vaya a: ajustes del sistema - aplicaciones - Diaspora. En la sección de permisos puede conceder el \"permiso de almacenamiento de escritura\".</string>
<string name="permissions_image">Debe conceder \"Permiso de acceso al almacenamiento\" para guardar imágenes. Después, debe cerrar completamente la aplicación o reiniciar el aparato. Si usted no permite el almacenamiento pero quiere guardar imágenes en otro momento, puede conceder el permiso más tarde. Por favor abra: ajustes del sistema -aplicaciones- Diaspora. En la sección de permisos puede conceder el \"permiso de almacenamiento de escritura\".</string>
<string name="permissions_image">Debe conceder \"Permiso de acceso al almacenamiento\" para guardar imágenes. Después, debe cerrar completamente la aplicación o reiniciar el aparato. Si usted no permite el almacenamiento pero quiere guardar imágenes en otro momento, puede conceder el permiso más tarde. Por favor abra: ajustes del sistema -aplicaciones- dandelion*. En la sección de permisos puede conceder el \"permiso de almacenamiento de escritura\".</string>
<string name="permission_denied">Permiso denegado.</string>
<string name="permission_granted_try_again">Permiso concedido. Por favor, inténtelo de nuevo.</string>
<string name="podselection__custom_pod">Pod personalizado</string>
<string name="pod_name">Nombre de Pod</string>
<string name="http_protocol">Protocolo</string>
<string name="pod_address">Dirección de Pod</string>
<string name="missing_value">Valor ausente</string>
<string name="jump_to_last_visited_timestamp_in_stream">¿Saltar a la última página visitada?</string>
</resources>
2 changes: 2 additions & 0 deletions app/src/main/res/values-fr/strings-preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
<!-- Screen rotation -->
<string name="pref_title__screen_rotation">Rotation de l\'écran</string>
<string name="pref_desc__screen_rotation">Rotation automatique de l\'écran</string>
<string name="rotation_system">Par défaut</string>
<string name="rotation_sensor">Capteur\n(ignore les paramètres du système)</string>
<string name="rotation_portrait">Portrait</string>
<string name="rotation_landscape">Paysage</string>
<!-- Proxy -->
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,13 @@
<string name="unable_to_load_image">Impossible de récupérer l\'image</string>
<!-- Permissions -->
<string name="permissions_screenshot">Vous devez autoriser \"Modifier ou supprimer le contenu de la carte Sd \" pour sauvegarder les captures d\'écrans. Ensuite, vous devriez fermer l\'application ou redémarrer votre téléphone. Si vous n\'avez pas autorisé l\'accès à l\'espace de stockage mais que vous souhaitez utiliser la fonctionnalité de prise de capture d\'écran plus tard, vous pouvez donner la permission plus tard. Veuillez ouvrir : Paramètres - applications - Diaspora. Dans la section Autorisations, vous pouvez autoriser \"Modifier ou supprimer le contenu de la carte Sd \".</string>
<string name="permissions_image">Vous devez autoriser \"Modifier ou supprimer le contenu de la carte Sd \" pour sauvegarder/téléverser les images. Ensuite, vous devriez fermer l\'application ou redémarrer votre téléphone. Si vous n\'avez pas autorisé l\'accès à l\'espace de stockage mais que vous souhaitez sauvegarder des images ultérieurement, vous pouvez donner la permission plus tard. Veuillez ouvrir : Paramètres - applications - Diaspora. Dans la section Autorisations, vous pouvez autoriser \"Modifier ou supprimer le contenu de la carte Sd \".</string>
<string name="permissions_image">Vous devez autoriser \"Modifier ou supprimer le contenu de la carte Sd \" pour sauvegarder/téléverser les images. Ensuite, vous devriez fermer l\'application ou redémarrer votre téléphone. Si vous n\'avez pas autorisé l\'accès à l\'espace de stockage mais que vous souhaitez sauvegarder des images ultérieurement, vous pouvez donner la permission plus tard. Veuillez ouvrir : Paramètres - applications - dandelion*. Dans la section Autorisations, vous pouvez autoriser \"Modifier ou supprimer le contenu de la carte Sd \".</string>
<string name="permission_denied">Permission refusée.</string>
<string name="permission_granted_try_again">Permission accordée. Veuillez réessayer.</string>
<string name="podselection__custom_pod">Pod personnalisé</string>
<string name="pod_name">Nom du Pod</string>
<string name="http_protocol">Protocole</string>
<string name="pod_address">Adresse du Pod</string>
<string name="missing_value">Valeur manquante</string>
<string name="jump_to_last_visited_timestamp_in_stream">Sauter à la dernière page visitée dans le flux ?</string>
</resources>
44 changes: 44 additions & 0 deletions app/src/main/res/values-hu/strings-about.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Generated by crowdin.com-->
<resources>
<string name="about_activity__title_about_app">Névjegy</string>
<string name="about_activity__title_about_license">Licensz</string>
<string name="about_activity__title_debug_info">Hibakeresés</string>
<string name="fragment_debug__section_app">Alkalmazás</string>
<string name="fragment_debug__section_device">Eszköz</string>
<string name="fragment_debug__section_pod">diaspora*-pod</string>
<string name="fragment_debug__section_log">Hibakeresési napló</string>
<string name="fragment_debug__section_log_spam">Hibakeresési napló (részletes)</string>
<string name="fragment_debug__app_version">Alkalmazásverzió: %1$s</string>
<string name="fragment_debug__android_version">Android verzió: %1$s</string>
<string name="fragment_debug__device_name">Eszköznév: %1$s</string>
<string name="fragment_debug__app_codename">Kódnév: %1$s</string>
<string name="fragment_debug__pod_profile_name">Podprofilnév: %1$s</string>
<string name="fragment_debug__pod_profile_url">Pod domain: %1$s</string>
<string name="fragment_debug__toast_log_copied">Hibakeresési napló átmásolva a vágólapra</string>
<string name="fragment_about__about_text">A dandelion* a te segédalkalmazásod a diaspora* közösségi hálózat böngészésére. Olyan funkciókat ad hozzá a közösségi élményedhez, mint hasznos eszköztárak és proxyszerver-támogatás (pl. Tor).</string>
<string name="fragment_about__contribute">Járulj hozzá a fejlesztéshez!</string>
<string name="fragment_about__contribute_text">A dandelion* szabad szoftver és a diaspora* projekt elképzeléseit követi. Ha hozzá akarsz járulni, csak rajta! Jelenleg egy nagyon kis csapat vagyunk, így nagyra értékelünk bármilyen segítséget!
</string>
<string name="fragment_about__contribute_button">A program forrása</string>
<string name="fragment_about__translate">Fordítsd le az alkalmazást!</string>
<string name="fragment_about__translate_text">Nem érhető el az alkalmazás a nyelveden? Ezen változtathatsz! Mit szólnál ahhoz, ha segítenél nekünk a lefordításában? A crowdin platformot használjuk, hogy bárki le tudja fordítani az alkalmazást.</string>
<string name="fragment_about__translate_button">Hadd fordítsak</string>
<string name="fragment_about__feedback">Adj visszajelzést!</string>
<string name="fragment_about__feedback_text">A dandelion* még mindig fejlesztés alatt áll, szóval ha vannak javaslataid vagy bármilyen visszajelzésed, kérlek, használd a hibanyomkövetőt!</string>
<string name="fragment_about__feedback_button">Hibajelentés</string>
<string name="fragment_about__spread_the_word">Ajánld másoknak!</string>
<string name="fragment_about__spread_the_word_text">Beszélj a barátaiddal és családtagjaiddal a diaspora*-ról és a #dandelionról! Mi lenne, ha blogolnál a tapasztalataidról? Szeretnénk hallani tőled valamit!</string>
<string name="fragment_about__spread_the_word_button">Az alkalmazás megosztása</string>
<string name="fragment_about__spread_the_word_share_text">Szia! Próbáld ki a #dandeliont! %1$s</string>
<!-- License & help (large amount of text) -->
<string name="fragment_license__maintainers">Karbantartók</string>
<string name="fragment_license__maintainers_text">Ezt az alkalmazást jelenleg &lt;br&gt;&lt;br&gt;%1$s fejleszti és tartja karban.</string>
<string name="fragment_license__contributors">Hozzájárulók</string>
<string name="fragment_license__contributors_thank_you">%1$s&lt;br&gt;&lt;br&gt;Köszönjük!</string>
<string name="fragment_license__license_button">GNU GPLv3+ Licenc</string>
<string name="fragment_license__thirdparty_libs">3. személytől származó könyvtárak</string>
<string name="fragment_license__thirdparty_libs_text">A következő könyvtárak vannak használatban:</string>
<string name="fragment_license__misc_leafpic">A LeafPicből merítettünk némi inspirációt és programkódot. Próbáld ki, ez is szabad szoftver!</string>
<string name="fragment_license__misc_leafpic_button">Tudj meg többet</string>
</resources>
Loading

0 comments on commit a31a530

Please sign in to comment.