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(); start.Text = startDate.ToShortDateString();
groupTitle.Checked = prefs.GetBoolean("AddGroupToHeader", false); groupTitle.Checked = prefs.GetBoolean("AddGroupToHeader", false);
authorize.Checked = false; // prefs.GetBoolean("Authorize", true); authorize.Checked = prefs.GetBoolean("Authorize", true);
//email.Text = prefs.GetString("email", ""); email.Text = prefs.GetString("email", "");
//password.Text = prefs.GetString("password", ""); password.Text = prefs.GetString("password", "");
/*try try
{ {
AvailableOccupations = await Parser.CheckAvailableOccupations(email.Text, password.Text); AvailableOccupations = await Parser.CheckAvailableOccupations(email.Text, password.Text);
} }
catch catch
{ {
AvailableOccupations = new List<(string, string)>(); AvailableOccupations = new List<(string, string)>();
}*/ }
} }
private void Export_Click(object sender, EventArgs e) private void Export_Click(object sender, EventArgs e)
@@ -32,7 +32,6 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:checked="true" android:checked="true"
android:visibility="gone"
android:text="@string/authorizeCheckbox"/> android:text="@string/authorizeCheckbox"/>
<LinearLayout <LinearLayout
@@ -40,7 +39,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
android:visibility="visible"> android:visibility="gone">
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
@@ -77,8 +76,7 @@
android:id="@+id/professorParams" android:id="@+id/professorParams"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical">
android:visibility="gone">
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
@@ -69,8 +69,8 @@ namespace GUTSchedule.Test
var list = await Parser.GetSchedule(new DefaultExportParameters var list = await Parser.GetSchedule(new DefaultExportParameters
{ {
Course = "0", Course = "0",
FacultyId = "50005", FacultyId = faculty.id,
GroupId = "54222", GroupId = group.id,
EndDate = DateTime.Today.AddDays(7), EndDate = DateTime.Today.AddDays(7),
StartDate = DateTime.Today StartDate = DateTime.Today
}); });
@@ -1,3 +1,4 @@
- Updated first week of the first semester start date for anonymous timetable export - Updated first week of the first semester start date for anonymous timetable export
- Disabled the ability to sign in with an account 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
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 - 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 - 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 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 ## Android
- Updated target SDK to 31 (Android 12) - Re-activated account sign in
- Disabled the ability to sign in with an account Note: this feature at the time might be unstable. If you have any issues with it, use anonymous export instead
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
## Windows ## Windows
At this time UWP version of the app is not being supported At this time UWP version of the app is not being supported