Skip to content
This repository was archived by the owner on Oct 12, 2025. It is now read-only.

Commit 048f437

Browse files
authored
Merge pull request #340 from HackIllinois/yasha/dev-2020.2
2020.2-rc1
2 parents 7c942e2 + a1c4abd commit 048f437

File tree

211 files changed

+3631
-724
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

211 files changed

+3631
-724
lines changed

.gitattributes

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# codeowners' reviews are required before merging
22

3-
* @redsn0w422 @rauhul @sujaypat
3+
* @redsn0w422 @sujaypat @PatrickKan
44

.gitignore

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
#
33
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
44

5+
## User Workspace
6+
HackIllinois.xcodeproj/project.xcworkspace
7+
58
## Build generated
69
build/
710
DerivedData
@@ -27,38 +30,5 @@ xcuserdata
2730
*.hmap
2831
*.ipa
2932

30-
# CocoaPods
31-
#
32-
# We recommend against adding the Pods directory to your .gitignore. However
33-
# you should judge for yourself, the pros and cons are mentioned at:
34-
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
35-
#
36-
Pods/
37-
Podfile.lock
38-
*.xcworkspace
39-
40-
# Carthage
41-
#
42-
# Add this line if you want to avoid checking in source code from Carthage dependencies.
43-
# Carthage/Checkouts
44-
45-
Carthage/Build
46-
47-
# fastlane
48-
#
49-
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
50-
# screenshots whenever they are needed.
51-
# For more information about the recommended setup visit:
52-
# https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md
53-
54-
fastlane/report.xml
55-
fastlane/screenshots
56-
5733
# OS X cache files
5834
*.DS_Store
59-
60-
# Custom script to run database (NEVER commit)
61-
server_start.sh
62-
63-
# api repository for this branch only
64-
api-2017

.gitmodules

Lines changed: 0 additions & 4 deletions
This file was deleted.

.travis.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
language: swift
22
os: osx
3-
osx_image: xcode10.1
4-
5-
before_install:
6-
- pod repo update
3+
osx_image: xcode11.3
74

85
script:
96
- swiftlint --strict
10-
- xcodebuild clean build -workspace HackIllinois.xcworkspace -scheme HackIllinois -destination "platform=iOS Simulator,OS=12.1,name=iPhone X" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO -quiet
11-
12-
cache:
13-
- cocoapods
7+
- xcodebuild clean build -project HackIllinois.xcodeproj -scheme HackIllinois -destination "platform=iOS Simulator,OS=13.3,name=iPhone 11" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO -quiet

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Please contribute using [Github Flow](https://guides.github.com/introduction/flow/). Create a branch, add commits, and [open a pull request](https://github.com/Hackillinois/ios/compare/).

HIAPI/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.0.2</string>
18+
<string>$(MARKETING_VERSION)</string>
1919
<key>CFBundleVersion</key>
20-
<string>1</string>
20+
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
</dict>
2222
</plist>

HIAPI/Models/Attendee.swift

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,8 @@ public struct Attendee: Codable, APIReturnable {
2222
public let firstName: String?
2323
public let lastName: String?
2424
public let email: String
25-
public let shirtSize: String
26-
public let diet: DietaryRestrictions
27-
public let age: Int
2825
public let graduationYear: Int
29-
public let transportation: String
3026
public let school: String
3127
public let major: String
3228
public let gender: String
33-
public let professionalInterest: [String]?
34-
public let github: String
35-
public let linkedin: String?
36-
public let interests: [String]?
37-
public let phone: String
3829
}

HIAPI/Models/Event.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public struct EventContainer: Decodable, APIReturnable {
2525

2626
public struct Event: Codable {
2727
internal enum CodingKeys: String, CodingKey {
28+
case id
2829
case endTime
2930
case eventType
3031
case info = "description"
@@ -34,6 +35,7 @@ public struct Event: Codable {
3435
case startTime
3536
}
3637

38+
public let id: String
3739
public let endTime: Date
3840
// Could be made into an enum with some coredata work
3941
public let eventType: String
@@ -56,7 +58,7 @@ public struct Location: Codable {
5658
public let name: String
5759
}
5860

59-
public struct Favorite: Codable, APIReturnable {
61+
public struct EventFavorites: Codable, APIReturnable {
6062
public let events: Set<String>
6163
public let id: String
6264
}

HIAPI/Models/Project.swift

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
//
2+
// Project.swift
3+
// HackIllinois
4+
//
5+
// Created by HackIllinois Team on 12/20/19.
6+
// Copyright © 2019 HackIllinois. All rights reserved.
7+
// This file is part of the Hackillinois iOS App.
8+
// The Hackillinois iOS App is open source software, released under the University of
9+
// Illinois/NCSA Open Source License. You should have received a copy of
10+
// this license in a file with the distribution.
11+
//
12+
13+
import Foundation
14+
import APIManager
15+
16+
public struct ProjectContainer: Decodable, APIReturnable {
17+
public let projects: [Project]
18+
}
19+
20+
public struct Project: Codable {
21+
internal enum CodingKeys: String, CodingKey {
22+
case id
23+
case name
24+
case info = "description"
25+
case mentors
26+
case room
27+
case tags
28+
case number
29+
}
30+
31+
public let id: String
32+
public let name: String
33+
public let info: String
34+
public let mentors: [String]
35+
public let room: String
36+
public let tags: [String]
37+
public let number: Int32
38+
}
39+
40+
public struct ProjectFavorites: Codable, APIReturnable {
41+
public let projects: Set<String>
42+
public let id: String
43+
}

0 commit comments

Comments
 (0)