1
0
mirror of https://github.com/XFox111/GUTSchedule.git synced 2026-04-22 06:58:01 +03:00

Revert "- Updated first week of the first semester start date"

This reverts commit 423646eed5.
This commit is contained in:
Eugene Fox
2023-02-06 14:21:39 +03:00
parent 6737efe330
commit 47477dc406
6 changed files with 19 additions and 20 deletions
@@ -92,19 +92,19 @@ namespace GUTSchedule.Droid.Activities
start.Text = startDate.ToShortDateString();
groupTitle.Checked = prefs.GetBoolean("AddGroupToHeader", false);
authorize.Checked = false; // prefs.GetBoolean("Authorize", true);
authorize.Checked = prefs.GetBoolean("Authorize", true);
//email.Text = prefs.GetString("email", "");
//password.Text = prefs.GetString("password", "");
email.Text = prefs.GetString("email", "");
password.Text = prefs.GetString("password", "");
/*try
try
{
AvailableOccupations = await Parser.CheckAvailableOccupations(email.Text, password.Text);
}
catch
{
AvailableOccupations = new List<(string, string)>();
}*/
}
}
private void Export_Click(object sender, EventArgs e)
@@ -32,7 +32,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:checked="true"
android:visibility="gone"
android:text="@string/authorizeCheckbox"/>
<LinearLayout
@@ -40,7 +39,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:visibility="visible">
android:visibility="gone">
<TextView
android:layout_width="match_parent"
@@ -77,8 +76,7 @@
android:id="@+id/professorParams"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:visibility="gone">
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
@@ -248,4 +246,4 @@
android:layout_height="wrap_content"
android:text="v$(Build.BuildNumber) (ci-id #$(Build.BuildId))"/>
</LinearLayout>
</ScrollView>
</ScrollView>
@@ -69,8 +69,8 @@ namespace GUTSchedule.Test
var list = await Parser.GetSchedule(new DefaultExportParameters
{
Course = "0",
FacultyId = "50005",
GroupId = "54222",
FacultyId = faculty.id,
GroupId = group.id,
EndDate = DateTime.Today.AddDays(7),
StartDate = DateTime.Today
});
@@ -95,4 +95,4 @@ namespace GUTSchedule.Test
}
}
}
}
}
@@ -1,3 +1,4 @@
- Updated first week of the first semester start date for anonymous timetable export
- Disabled the ability to sign in with an account
This is a temporary measure as at the time this feature is blocked by DDoS protection software that was recently installed on the SPbSUT website
Since anonymous schedule on SPbSUT website is based on week numbers, it is crucial to manually set the date of first week's monday to get correct dates for the timetable
- Re-enabled the ability to sign in with an account
You can sign in with your SPbSUT profile to have access to correct timetable anytime
@@ -1,3 +1,4 @@
- Обновлена дата начала первой недели семестра для анонимного экспорта расписания
- Отключена возможность входа с помощью аккаунта
Это временное решение, так как на данный момент данная функция заблокирована защитой от DDoS, которая была недавно установлена на сайте СПбГУТ
Так как анонимное расписание на сайте СПбГУТ представлено по номерам недели, перед началом каждого семестра необходимо вручную обновлять дату понедельника первой недели для корректного указания даты в расписании
- Вход с помощью аккаунта снова работает
Чтобы всегда иметь возможность узнать правильное расписание, пользуйтесь авторизацией через Личный кабинет
+2 -3
View File
@@ -2,9 +2,8 @@
- Updated first week of the first semester start date for anonymous timetable export
Since anonymous schedule on SPbSUT website is based on week numbers, it is crucial to manually set the date of first week's monday to get correct dates for the timetable
## Android
- Updated target SDK to 31 (Android 12)
- Disabled the ability to sign in with an account
This is a temporary measure as at the time this feature is blocked by DDoS protection software that was recently installed on the SPbSUT website. We are working on a solution to this problem
- Re-activated account sign in
Note: this feature at the time might be unstable. If you have any issues with it, use anonymous export instead
## Windows
At this time UWP version of the app is not being supported