Skip to content

Commit 184d698

Browse files
committed
Merge branch 'master' into andreicmirciu/feedback
2 parents 7277b83 + e0bf7a1 commit 184d698

File tree

5 files changed

+21
-4
lines changed

5 files changed

+21
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Added
2+
- You can now see events associated with a class directly on the class page. Just tap an event in your timetable, tap the class name and see the change!
3+
4+
Fixed
5+
- People photos not showing due to an expired certificate of cs.pub.ro
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Added
2+
- You can now see events associated with a class directly on the class page. Just tap an event in your timetable, tap the class name and see the change!
3+
4+
Fixed
5+
- People photos not showing due to an expired certificate of cs.pub.ro
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Adăugat
2+
- Acum poți vedea evenimentele asociate unei materii direct pe pagina materiei. Apasă pe un eveniment din orar, apoi pe numele materiei, și poți vedea schimbarea!
3+
4+
Rezolvat
5+
- Pozele persoanelor nu mai apăreau din cauza certificatului expirat de pe cs.pub.ro

lib/main.dart

+5-3
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,17 @@ import 'package:provider/provider.dart';
3939
import 'package:rrule/rrule.dart';
4040
import 'package:time_machine/time_machine.dart';
4141

42-
// FIXME: acs.pub.ro has some bad certificate configuration right now.
43-
// We get around this by accepting any certificate if the host is acs.pub.ro.
42+
// FIXME: acs.pub.ro has some bad certificate configuration right now, and the
43+
// cs.pub.ro certificate is expired.
44+
// We get around this by accepting any certificate if the host is either
45+
// acs.pub.ro or cs.pub.ro.
4446
// Remove this in the future.
4547
class MyHttpOverrides extends HttpOverrides {
4648
@override
4749
HttpClient createHttpClient(SecurityContext context) {
4850
return super.createHttpClient(context)
4951
..badCertificateCallback = (X509Certificate cert, String host, int port) {
50-
return host == 'acs.pub.ro';
52+
return host == 'acs.pub.ro' || host == 'cs.pub.ro';
5153
};
5254
}
5355
}

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ description: A mobile application for students at ACS UPB.
1313
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
1414
#
1515
# ACS UPB Mobile uses semantic versioning. You can read more in the CONTRIBUTING.md file.
16-
version: 1.2.11+13
16+
version: 1.2.11+14
1717

1818
environment:
1919
sdk: ">=2.7.0 <3.0.0"

0 commit comments

Comments
 (0)