Skip to content

Commit

Permalink
Some improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Skyost committed Feb 17, 2017
1 parent 9200160 commit 6b386e9
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 12 deletions.
5 changes: 3 additions & 2 deletions app/build.gradle
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "fr.skyost.timetable"
minSdkVersion 17
targetSdkVersion 25
versionCode 7
versionName "v0.2.4"
versionCode 8
versionName "v0.2.5"
}
buildTypes {
release {
Expand All @@ -26,6 +26,7 @@ dependencies {
compile 'com.android.support:support-v4:25.0.0'
compile 'org.slf4j:slf4j-android:1.7.22'
compile 'org.apache.commons:commons-lang3:3.5'
//compile 'org.mnode.ical4j:ical4j:2.0.0'
compile 'com.github.paolorotolo:appintro:4.1.0'
compile 'com.github.hotchemi:android-rate:1.0.1'
compile 'joda-time:joda-time:2.9.7'
Expand Down
Binary file removed app/libs/ical4j-2.0-beta1.jar
Binary file not shown.
Binary file added app/libs/ical4j-2.0.0.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion app/proguard-rules.pro
Expand Up @@ -14,4 +14,4 @@
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
#}
3 changes: 0 additions & 3 deletions app/src/main/java/fr/skyost/timetable/Timetable.java
@@ -1,7 +1,6 @@
package fr.skyost.timetable;

import android.content.Context;
import android.graphics.Color;

import net.fortuna.ical4j.data.CalendarBuilder;
import net.fortuna.ical4j.data.ParserException;
Expand All @@ -18,10 +17,8 @@
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.Serializable;
import java.text.DateFormat;
import java.util.Calendar;
import java.util.HashSet;
import java.util.Locale;
import java.util.Random;
import java.util.Set;

Expand Down
6 changes: 3 additions & 3 deletions app/src/main/res/values-fr/strings.xml
Expand Up @@ -2,7 +2,7 @@
<string name="app_name">Emploi du temps Unicaen</string>

<string name="about_title">À propos</string>
<string name="about_description">\nCe logiciel a été créé par Skyost et utilise certaines dépendances : AppIntro v4.0.0, Android-Rate v1.0.1, WeekView (by Quivr) v2.0.2 et iCal4j v2.0.0-beta1.\n\nVous pouvez consulter le code source de l\'application sur Github.\n\nLe logiciel et son code source sont disponibles sous licence GNU GPL v3.\n\nAvertissement :\nCette application n\'a en aucun cas été conçue par un quelconque officiel de l\'Université. Par conséquent, il est inutile de s\'adresser à l\'établissement en cas de problème avec l\'application.\nDe plus, il faut préciser que cette application a besoin de votre numéro d\'étudiant ainsi que de votre mot de passe pour fonctionner. Ceux-ci ne seront envoyés à aucun tiers, excepté aux serveurs de l\'Université pour récupérer votre emploi du temps.\nSi vous n\'êtes pas convaincu du fonctionnement de l\'application, le code source est disponible via le lien "Github" ci-dessus.</string>
<string name="about_description">\nCe logiciel a été créé par Skyost et utilise certaines dépendances : AppIntro v4.1.0, Android-Rate v1.0.1, WeekView (by Quivr) v2.0.2 et iCal4j v2.0.0.\n\nVous pouvez consulter le code source de l\'application sur Github.\n\nLe logiciel et son code source sont disponibles sous licence GNU GPL v3.\n\nAvertissement :\nCette application n\'a en aucun cas été conçue par un quelconque officiel de l\'Université. Par conséquent, il est inutile de s\'adresser à l\'établissement en cas de problème avec l\'application.\nDe plus, il faut préciser que cette application a besoin de votre numéro d\'étudiant ainsi que de votre mot de passe pour fonctionner. Ceux-ci ne seront envoyés à aucun tiers, excepté aux serveurs de l\'Université pour récupérer votre emploi du temps.\nSi vous n\'êtes pas convaincu du fonctionnement de l\'application, le code source est disponible via le lien "Github" ci-dessus.</string>
<string name="about_share_share">Partager avec…</string>
<string name="about_share_title">Emploi du temps Unicaen</string>
<string name="about_share_description">Consultez votre emploi du temps directement sur votre smartphone : https://play.google.com/store/apps/details?id=fr.skyost.timetable.</string>
Expand Down Expand Up @@ -31,10 +31,10 @@
<string name="main_default_title">Bonjour !</string>
<string name="main_default_description" formatted="false">Et bienvenue sur votre emploi du temps !\n\nVeuillez cliquer sur le bouton en haut à gauche pour visualiser votre emploi du temps et configurer l\'application.\n\nLe bouton flottant du bas sert à rafraîchir l\'emploi du temps.\n\nEmploi du temps mis à jour pour la dernière fois : %s.</string>
<string name="main_default_description_never">Jamais</string>
<string name="main_default_description_updaterequired">(mise à jour requise)</string>
<string name="main_default_description_updaterequired">(une mise à jour est requise ou vous êtes en vacances)</string>

<string name="main_snackbar_downloading">Téléchargement de votre emploi du temps…</string>
<string name="main_snackbar_pinchtozoom">N\'oubliez pas que vous pouvez pincer pour zoomer pour voir plus d\'informations !</string>
<string name="main_snackbar_pinchtozoom">N\'oubliez pas que vous pouvez pincer pour zoomer ou appuyer sur un cours pour voir plus d\'informations !</string>
<string name="main_snackbar_success">Succès !</string>
<string name="main_snackbar_error_network">Erreur réseau.</string>
<string name="main_snackbar_error_credentials">Mauvais nom d\'utilisateur ou mot de passe. Redirection vers l\'écran de connexion…</string>
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/res/values/strings.xml
Expand Up @@ -2,7 +2,7 @@
<string name="app_name">Unicaen Timetable</string>

<string name="about_title">About</string>
<string name="about_description">\nThis software has been created by Skyost by using some libraries : AppIntro v4.0.0, Android-Rate v1.0.1, WeekView (by Quivr) v2.0.2 and iCal4j v2.0.0-beta1. \n\nYou can check the source code of this software on Github.\n\nThe software and its source code are available under GNU GPL v3.\n\nDisclaimer :\nThis application has not been developed by any official member of the University. Consequently, do not send any request to the establishment if you have a problem with this application.\nFurthermore, this application needs your student number with your password to work. Your credentials will not be send to any third party, except to the University server in order to download your timetable.\nIf you do not trust this application, you can still check the source code with the "Github" link below.</string>
<string name="about_description">\nThis software has been created by Skyost by using some libraries : AppIntro v4.1.0, Android-Rate v1.0.1, WeekView (by Quivr) v2.0.2 and iCal4j v2.0.0. \n\nYou can check the source code of this software on Github.\n\nThe software and its source code are available under GNU GPL v3.\n\nDisclaimer :\nThis application has not been developed by any official member of the University. Consequently, do not send any request to the establishment if you have a problem with this application.\nFurthermore, this application needs your student number with your password to work. Your credentials will not be send to any third party, except to the University server in order to download your timetable.\nIf you do not trust this application, you can still check the source code with the "Github" link below.</string>
<string name="about_share_share">Share with…</string>
<string name="about_share_title">Unicaen Timetable</string>
<string name="about_share_description">Check your timetable on your smartphone : https://play.google.com/store/apps/details?id=fr.skyost.timetable.</string>
Expand Down Expand Up @@ -32,11 +32,11 @@
<string name="main_default_title">Hello !</string>
<string name="main_default_description" formatted="false">And welcome to your timetable !\n\nPlease tap on the top button to check your timetable or to configure the application.\n\nPress the bottom button to refresh your timetable.\n\nUpdated your timetable for the last time : %s.</string>
<string name="main_default_description_never">Never</string>
<string name="main_default_description_updaterequired"> (update required)</string>
<string name="main_default_description_updaterequired">(an update is required or you are in holidays)</string>

<string name="main_snackbar_downloading">Downloading your timetable…</string>
<string name="main_snackbar_success">Success !</string>
<string name="main_snackbar_pinchtozoom">Don\'t forget that you can pinch to zoom to see more informations !</string>
<string name="main_snackbar_pinchtozoom">Don\'t forget that you can pinch to zoom or tap on a lesson to see more informations !</string>
<string name="main_snackbar_error_network">Network error.</string>
<string name="main_snackbar_error_credentials">Bad username or password. Redirecting you to the login screen…</string>
<string name="main_snackbar_error_loadfromdisk">Unable to load your timetable from the disk !</string>
Expand Down

0 comments on commit 6b386e9

Please sign in to comment.