diff --git a/GUT.Schedule/GUTSchedule.Droid/Activities/MainActivity.cs b/GUT.Schedule/GUTSchedule.Droid/Activities/MainActivity.cs index e4dcbc3..e6d0c9a 100644 --- a/GUT.Schedule/GUTSchedule.Droid/Activities/MainActivity.cs +++ b/GUT.Schedule/GUTSchedule.Droid/Activities/MainActivity.cs @@ -92,19 +92,19 @@ namespace GUTSchedule.Droid.Activities start.Text = startDate.ToShortDateString(); groupTitle.Checked = prefs.GetBoolean("AddGroupToHeader", false); - authorize.Checked = prefs.GetBoolean("Authorize", true); + authorize.Checked = false; // 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) diff --git a/GUT.Schedule/GUTSchedule.Droid/GUTSchedule.Droid.csproj b/GUT.Schedule/GUTSchedule.Droid/GUTSchedule.Droid.csproj index f5b31dd..5070313 100644 --- a/GUT.Schedule/GUTSchedule.Droid/GUTSchedule.Droid.csproj +++ b/GUT.Schedule/GUTSchedule.Droid/GUTSchedule.Droid.csproj @@ -18,7 +18,7 @@ Resource Off false - v9.0 + v11.0 Properties\AndroidManifest.xml Resources Assets diff --git a/GUT.Schedule/GUTSchedule.Droid/Resources/Resource.designer.cs b/GUT.Schedule/GUTSchedule.Droid/Resources/Resource.designer.cs index e87a6a6..4c8fe4b 100644 --- a/GUT.Schedule/GUTSchedule.Droid/Resources/Resource.designer.cs +++ b/GUT.Schedule/GUTSchedule.Droid/Resources/Resource.designer.cs @@ -14,7 +14,7 @@ namespace GUTSchedule.Droid { - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "12.0.99.19")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "13.1.0.5")] public partial class Resource { diff --git a/GUT.Schedule/GUTSchedule.Droid/Resources/layout/Main.xml b/GUT.Schedule/GUTSchedule.Droid/Resources/layout/Main.xml index f7c9630..d154ed8 100644 --- a/GUT.Schedule/GUTSchedule.Droid/Resources/layout/Main.xml +++ b/GUT.Schedule/GUTSchedule.Droid/Resources/layout/Main.xml @@ -32,6 +32,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:checked="true" + android:visibility="gone" android:text="@string/authorizeCheckbox"/> + android:visibility="visible"> + android:orientation="vertical" + android:visibility="gone"> 0); Console.WriteLine("Events list:"); - foreach (var i in list) + foreach (var i in list.OrderBy(i => i.StartTime)) { Console.WriteLine("--------------------------------------------------"); Console.WriteLine($"[{i.Group}] {i.Order}. {i.Name} ({i.Type})"); diff --git a/GUT.Schedule/GUTSchedule/Parser.cs b/GUT.Schedule/GUTSchedule/Parser.cs index f4fe6b2..7782774 100644 --- a/GUT.Schedule/GUTSchedule/Parser.cs +++ b/GUT.Schedule/GUTSchedule/Parser.cs @@ -70,7 +70,7 @@ namespace GUTSchedule } else if (exportParameters is DefaultExportParameters args) { - DateTime startDate = new DateTime(2022, 8, 29); + DateTime startDate = new DateTime(2023, 2, 6); IHtmlDocument[] rawSchedule = await GetRawSchedule(args.FacultyId, args.Course, args.GroupId); if(rawSchedule[0] != null) schedule.AddRange(ParseRegularSchedule(startDate, rawSchedule[0])); diff --git a/changelogs/android/en-IN/changelogs/android-changelog.txt b/changelogs/android/en-IN/changelogs/android-changelog.txt index 935dd04..5cf69a2 100644 --- a/changelogs/android/en-IN/changelogs/android-changelog.txt +++ b/changelogs/android/en-IN/changelogs/android-changelog.txt @@ -1,5 +1,5 @@ - 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 -You can sign in with your SPbSUT profile to have access to correct timetable anytime \ No newline at end of file +- 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 diff --git a/changelogs/android/ru-RU/changelogs/android-changelog.txt b/changelogs/android/ru-RU/changelogs/android-changelog.txt index e77ddad..421c9f2 100644 --- a/changelogs/android/ru-RU/changelogs/android-changelog.txt +++ b/changelogs/android/ru-RU/changelogs/android-changelog.txt @@ -1,5 +1,5 @@ - Обновлена дата начала первой недели семестра для анонимного экспорта расписания - Так как анонимное расписание на сайте СПбГУТ представлено по номерам недели, перед началом каждого семестра необходимо вручную обновлять дату понедельника первой недели для корректного указания даты в расписании -Чтобы всегда иметь возможность узнать правильное расписание, пользуйтесь авторизацией через Личный кабинет \ No newline at end of file +- Отключена возможность входа с помощью аккаунта +Это временное решение, так как на данный момент данная функция заблокирована защитой от DDoS, которая была недавно установлена на сайте СПбГУТ. Мы работаем над решением данной проблемы diff --git a/changelogs/github.md b/changelogs/github.md index fc5177c..421e366 100644 --- a/changelogs/github.md +++ b/changelogs/github.md @@ -1,2 +1,9 @@ ## Core -- Updated first week of the first semester start date for anonymous timetable export \ No newline at end of file +- 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 +- 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 + +## Windows +At this time UWP version of the app is not being supported