Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
c0999b7
Refactor: Migrate course related JSON
c1ydehhx Feb 2, 2024
540eca7
Fix: Loading semester list when year and semester not exists.
c1ydehhx Feb 2, 2024
488dc96
Refactor: course_connector.dart
c1ydehhx Feb 4, 2024
8fda432
Refactor: course_connector.dart
c1ydehhx Feb 8, 2024
22a870b
Migrate: Remove redundant json
c1ydehhx Feb 8, 2024
0d2b1c0
Rename: course_syllabus and course_semester
c1ydehhx Feb 8, 2024
f10d450
Migrate: Remove must.dart
c1ydehhx Feb 9, 2024
27770d7
Chore: format
c1ydehhx Feb 9, 2024
a1471a1
Chore: fix the issues from analyzer
c1ydehhx Feb 9, 2024
c0d8d0a
Chore: format
c1ydehhx Feb 9, 2024
4aa1390
Implement: Use EEquatableMixin to instead of operator overloading
c1ydehhx Feb 12, 2024
65d8bc8
Implement: use final when the value won't modify
c1ydehhx Feb 12, 2024
4ae3cde
Implement: use final when the value won't modify
c1ydehhx Feb 12, 2024
7ca37d3
Implement: use final when the value won't modify
c1ydehhx Feb 12, 2024
24d296a
Implement: use final when the value won't modify
c1ydehhx Feb 12, 2024
530cea0
Chore: Change required key to nullable key
c1ydehhx Feb 12, 2024
1eea804
Chore: Simply the unique process with Set data structure
c1ydehhx Feb 12, 2024
29e7c9b
Chore: Simply the unique process with addAll function
c1ydehhx Feb 12, 2024
df623de
Chore: Simply getUnknownCourse when reuse complex method chains
c1ydehhx Feb 12, 2024
b4b19a3
Chore: Add comma after the final things in a series of long parameters
c1ydehhx Feb 12, 2024
4dc5e46
Chore: Optimize huge function chain when Pre-build member
c1ydehhx Feb 12, 2024
54e8d44
Chore: Run format
c1ydehhx Feb 12, 2024
dfcf849
Chore: Optimize the implementation by add a value-mapping constructor
c1ydehhx Feb 12, 2024
8ee64bb
Chore: Run format
c1ydehhx Feb 12, 2024
f990968
Chore: Add origin constructor & passed analyze & format it
c1ydehhx Feb 12, 2024
a014bc5
Implement: Load the student from iplus
c1ydehhx Feb 12, 2024
a6df93e
Implement: Course Student List
c1ydehhx Feb 12, 2024
71b7878
Chore: format
c1ydehhx Feb 12, 2024
7462308
Chore: analyze
c1ydehhx Feb 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ SPEC CHECKSUMS:
FirebaseCoreExtension: 2dbc745b337eb99d2026a7a309ae037bd873f45e
FirebaseCoreInternal: 26233f705cc4531236818a07ac84d20c333e505a
FirebaseCrashlytics: a83f26fb922a3fe181eb738fb4dcf0c92bba6455
FirebaseFirestore: 58d92e3cc19fd1c93e279d466aaf148ce6dbf635
FirebaseFirestore: 9a14eef134fd586d8200f4dfa0ee3cb093a05d8f
FirebaseInstallations: b822f91a61f7d1ba763e5ccc9d4f2e6f2ed3b3ee
FirebaseMessaging: 0c0ae1eb722ef0c07f7801e5ded8dccd1357d6d4
FirebaseRemoteConfig: 64b6ada098c649304114a817effd7e5f87229b11
Expand Down
9 changes: 9 additions & 0 deletions lib/generated/intl/messages_en.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class MessageLookup extends MessageLookupByLibrary {
"accountLock": MessageLookupByLibrary.simpleMessage("Account is locked, please try again in 15 minutes"),
"accountNull": MessageLookupByLibrary.simpleMessage("Please enter your account"),
"accountPasswordError": MessageLookupByLibrary.simpleMessage("Account password incorrect"),
"aduit": MessageLookupByLibrary.simpleMessage("Aduit"),
"aestheticDimension": MessageLookupByLibrary.simpleMessage("Aesthetic dimension"),
"alertError": MessageLookupByLibrary.simpleMessage("An error occurred"),
"androidPrivateBrowseGuideSubTitle":
Expand Down Expand Up @@ -122,6 +123,8 @@ class MessageLookup extends MessageLookupByLibrary {
"getCalendar": MessageLookupByLibrary.simpleMessage("Getting calendar..."),
"getCalendarError": MessageLookupByLibrary.simpleMessage("Getting calendar error"),
"getCourse": MessageLookupByLibrary.simpleMessage("Get schedule..."),
"getCourseClassmateList": MessageLookupByLibrary.simpleMessage("Getting classmate list..."),
"getCourseClassmateListError": MessageLookupByLibrary.simpleMessage("Get classmate list error"),
"getCourseDetail": MessageLookupByLibrary.simpleMessage("Reading course materials..."),
"getCourseDetailError": MessageLookupByLibrary.simpleMessage("Course data reading error"),
"getCourseError": MessageLookupByLibrary.simpleMessage("Getting schedule error"),
Expand Down Expand Up @@ -181,6 +184,8 @@ class MessageLookup extends MessageLookupByLibrary {
"logoutWarning":
MessageLookupByLibrary.simpleMessage("Are you sure you want to log out? \nAll data will be cleared"),
"missingRequiredInformation": MessageLookupByLibrary.simpleMessage("Missing required information"),
"name": MessageLookupByLibrary.simpleMessage("name"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this capitalized correctly?

"nationalTaipeiUniversity": MessageLookupByLibrary.simpleMessage("NTPU"),
"naturalDimension": MessageLookupByLibrary.simpleMessage("Natural dimension"),
"needsVerifyMobileWarning": MessageLookupByLibrary.simpleMessage(
"You may be asked to verify your phone number\nplease check the website entrance for further information."),
Expand Down Expand Up @@ -270,10 +275,12 @@ class MessageLookup extends MessageLookupByLibrary {
"sociologicalDimension": MessageLookupByLibrary.simpleMessage("Sociological Dimension"),
"sortBy": MessageLookupByLibrary.simpleMessage("Sort by"),
"startClass": MessageLookupByLibrary.simpleMessage("Start class"),
"studentId": MessageLookupByLibrary.simpleMessage("student id"),
"studentList": MessageLookupByLibrary.simpleMessage("Student list"),
"subscribe": MessageLookupByLibrary.simpleMessage("Subscribe"),
"sure": MessageLookupByLibrary.simpleMessage("Sure"),
"syllabus": MessageLookupByLibrary.simpleMessage("Syllabus"),
"taipeiMedicineUniversity": MessageLookupByLibrary.simpleMessage("TMU"),
"takeCore": MessageLookupByLibrary.simpleMessage("Take core"),
"takeForeignDepartmentCredits": MessageLookupByLibrary.simpleMessage("Foreign Dep Credits"),
"takeForeignDepartmentCreditsLimit": MessageLookupByLibrary.simpleMessage("Credit limit"),
Expand All @@ -285,9 +292,11 @@ class MessageLookup extends MessageLookupByLibrary {
"titleScore": MessageLookupByLibrary.simpleMessage("Score"),
"totalAverage": MessageLookupByLibrary.simpleMessage("Total average"),
"totalPeople": MessageLookupByLibrary.simpleMessage("Total people"),
"unknownDepartment": MessageLookupByLibrary.simpleMessage("Unknown Department"),
"unknownError": MessageLookupByLibrary.simpleMessage("An unknown error occurred"),
"unknownServerError": MessageLookupByLibrary.simpleMessage(
"A problem occurred when communicating with the campus server, most features may be affected\nPlease confirm that the campus system can be used normally and try again, thanks"),
"unknownStudent": MessageLookupByLibrary.simpleMessage("Unknown Student"),
"update": MessageLookupByLibrary.simpleMessage("Update"),
"useOldPassword": MessageLookupByLibrary.simpleMessage("Use old password"),
"versionInfo": MessageLookupByLibrary.simpleMessage("Version info"),
Expand Down
9 changes: 9 additions & 0 deletions lib/generated/intl/messages_zh_TW.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class MessageLookup extends MessageLookupByLibrary {
"accountLock": MessageLookupByLibrary.simpleMessage("帳號已被鎖住,請15分鐘後再試"),
"accountNull": MessageLookupByLibrary.simpleMessage("請輸入帳號"),
"accountPasswordError": MessageLookupByLibrary.simpleMessage("帳號密碼錯誤"),
"aduit": MessageLookupByLibrary.simpleMessage("隨班附讀"),
"aestheticDimension": MessageLookupByLibrary.simpleMessage("美學向度"),
"alertError": MessageLookupByLibrary.simpleMessage("發生錯誤"),
"androidPrivateBrowseGuideSubTitle": MessageLookupByLibrary.simpleMessage("開啟隱私瀏覽,安全更有保障"),
Expand Down Expand Up @@ -120,6 +121,8 @@ class MessageLookup extends MessageLookupByLibrary {
"getCalendar": MessageLookupByLibrary.simpleMessage("取得行事曆中..."),
"getCalendarError": MessageLookupByLibrary.simpleMessage("取得行事曆錯誤"),
"getCourse": MessageLookupByLibrary.simpleMessage("取得課表..."),
"getCourseClassmateList": MessageLookupByLibrary.simpleMessage("獲取學生名單中..."),
"getCourseClassmateListError": MessageLookupByLibrary.simpleMessage("獲取學生名單錯誤"),
"getCourseDetail": MessageLookupByLibrary.simpleMessage("課程資料讀取中..."),
"getCourseDetailError": MessageLookupByLibrary.simpleMessage("課程資料讀取錯誤"),
"getCourseError": MessageLookupByLibrary.simpleMessage("取得課表錯誤"),
Expand Down Expand Up @@ -175,6 +178,8 @@ class MessageLookup extends MessageLookupByLibrary {
"logout": MessageLookupByLibrary.simpleMessage("登出"),
"logoutWarning": MessageLookupByLibrary.simpleMessage("確定要登出嗎? \n將會清除所有資料"),
"missingRequiredInformation": MessageLookupByLibrary.simpleMessage("缺少必要資訊"),
"name": MessageLookupByLibrary.simpleMessage("姓名"),
"nationalTaipeiUniversity": MessageLookupByLibrary.simpleMessage("國立臺北大學"),
"naturalDimension": MessageLookupByLibrary.simpleMessage("自然向度"),
"needsVerifyMobileWarning": MessageLookupByLibrary.simpleMessage("您可能被要求進行手機號碼驗證\n請至網頁版入口網站進行查看"),
"networkError": MessageLookupByLibrary.simpleMessage("網路發生錯誤"),
Expand Down Expand Up @@ -255,10 +260,12 @@ class MessageLookup extends MessageLookupByLibrary {
"sociologicalDimension": MessageLookupByLibrary.simpleMessage("社哲向度"),
"sortBy": MessageLookupByLibrary.simpleMessage("排序"),
"startClass": MessageLookupByLibrary.simpleMessage("開課班級"),
"studentId": MessageLookupByLibrary.simpleMessage("學號"),
"studentList": MessageLookupByLibrary.simpleMessage("學生清單"),
"subscribe": MessageLookupByLibrary.simpleMessage("訂閱"),
"sure": MessageLookupByLibrary.simpleMessage("確定"),
"syllabus": MessageLookupByLibrary.simpleMessage("教學大綱"),
"taipeiMedicineUniversity": MessageLookupByLibrary.simpleMessage("臺北醫學大學"),
"takeCore": MessageLookupByLibrary.simpleMessage("實得核心"),
"takeForeignDepartmentCredits": MessageLookupByLibrary.simpleMessage("外系學分"),
"takeForeignDepartmentCreditsLimit": MessageLookupByLibrary.simpleMessage("學分上限"),
Expand All @@ -270,8 +277,10 @@ class MessageLookup extends MessageLookupByLibrary {
"titleScore": MessageLookupByLibrary.simpleMessage("成績"),
"totalAverage": MessageLookupByLibrary.simpleMessage("總平均"),
"totalPeople": MessageLookupByLibrary.simpleMessage("總人數"),
"unknownDepartment": MessageLookupByLibrary.simpleMessage("未知系所"),
"unknownError": MessageLookupByLibrary.simpleMessage("發生未知錯誤"),
"unknownServerError": MessageLookupByLibrary.simpleMessage("與校園系統溝通時發生問題,大部分功能可能將受影響\n請確認校園系統能正常使用後再試一次,謝謝"),
"unknownStudent": MessageLookupByLibrary.simpleMessage("未知學生"),
"update": MessageLookupByLibrary.simpleMessage("更新"),
"useOldPassword": MessageLookupByLibrary.simpleMessage("延長原始密碼時間"),
"versionInfo": MessageLookupByLibrary.simpleMessage("版本資訊"),
Expand Down
90 changes: 90 additions & 0 deletions lib/generated/l10n.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion lib/l10n/intl_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -256,5 +256,14 @@
"androidPrivateBrowseGuideTitle": "About Incognito Browse",
"androidPrivateBrowseGuideSubTitle": "Open Incognito browsing to enhanced security",
"kClass": "class",
"kDepartment": "department"
"kDepartment": "department",
"unknownDepartment": "Unknown Department",
"unknownStudent": "Unknown Student",
"name": "name",
"studentId": "student id",
"getCourseClassmateList": "Getting classmate list...",
"getCourseClassmateListError": "Get classmate list error",
"nationalTaipeiUniversity": "NTPU",
"taipeiMedicineUniversity": "TMU",
"aduit": "Aduit"
}
11 changes: 10 additions & 1 deletion lib/l10n/intl_zh_TW.arb
Original file line number Diff line number Diff line change
Expand Up @@ -256,5 +256,14 @@
"androidPrivateBrowseGuideTitle": "關於隱私瀏覽",
"androidPrivateBrowseGuideSubTitle": "開啟隱私瀏覽,安全更有保障",
"kClass": "班級",
"kDepartment": "系所"
"kDepartment": "系所",
"unknownDepartment": "未知系所",
"unknownStudent": "未知學生",
"name": "姓名",
"studentId": "學號",
"getCourseClassmateList": "獲取學生名單中...",
"getCourseClassmateListError": "獲取學生名單錯誤",
"nationalTaipeiUniversity": "國立臺北大學",
"taipeiMedicineUniversity": "臺北醫學大學",
"aduit": "隨班附讀"
}
Loading