Skip to content

Commit 5eac2e1

Browse files
authored
Merge branch 'master' into generic-phone-call-and-email-funcs
2 parents 0c557ad + 6850e43 commit 5eac2e1

File tree

15 files changed

+50
-50
lines changed

15 files changed

+50
-50
lines changed

.eslintrc.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ rules:
7171

7272
# react rules – https://github.com/yannickcr/eslint-plugin-react
7373
react/display-name: off
74+
react/jsx-curly-brace-presence: [warn, never]
7475
react/jsx-key: warn
7576
react/jsx-no-bind:
7677
- warn
@@ -89,11 +90,11 @@ rules:
8990
react/sort-comp:
9091
- warn
9192
- order:
92-
- static-methods
93-
- type-annotations
94-
- lifecycle
95-
- everything-else
96-
- render
93+
- static-methods
94+
- type-annotations
95+
- lifecycle
96+
- everything-else
97+
- render
9798
react/sort-prop-types: warn
9899
react/wrap-multilines: off
99100
react/jsx-boolean-value: [error, always]

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ jobs:
178178
script:
179179
- bundle exec fastlane ios ci-run | tee ./logs/build
180180
- python2 ./scripts/analyze-gym.py -s 20 < ./logs/build | tee ./logs/analysis || true
181-
- bundle exec fastlane ios refresh_dsyms
182181

183182
cache:
184183
bundler: true

data/privacy.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,23 @@
22

33
This privacy policy has been compiled to better serve those who are concerned with how their 'Personally Identifiable Information' (PII) is being used online. PII, as described in US privacy law and information security, is information that can be used on its own or with other information to identify, contact, or locate a single person, or to identify an individual in context. Please read our privacy policy carefully to get a clear understanding of how we collect, use, protect or otherwise handle your Personally Identifiable Information in accordance with our website.
44

5-
> What personal information do we collect from the people that visit our blog, website or app? When do we collect information?
5+
## Introduction
6+
7+
### What personal information do we collect from the people that visit our blog, website or app? When do we collect information?
68

79
We collect information from you when you register on our site or enter information on our site.
810

9-
> How do we use your information?
11+
### How do we use your information?
1012

1113
We may use the information we collect from you when you register, make a purchase, sign up for our newsletter, respond to a survey or marketing communication, surf the website, or use certain other site features in the following ways:
1214

1315
- To improve our website in order to better serve you.
1416

15-
> How do we protect your information?
17+
### How do we protect your information?
1618

1719
Our website is scanned on a regular basis for security holes and known vulnerabilities in order to make your visit to our site as safe as possible. We use regular Malware Scanning. Your personal information is contained behind secured networks and is only accessible by a limited number of persons who have special access rights to such systems, and are required to keep the information confidential. In addition, all sensitive/credit information you supply is encrypted via Secure Socket Layer (SSL) technology. We implement a variety of security measures when a user places an order enters, submits, or accesses their information to maintain the safety of your personal information. All transactions are processed through a gateway provider and are not stored or processed on our servers.
1820

19-
> Do we use 'cookies'?
21+
### Do we use 'cookies'?
2022

2123
We do not use cookies for tracking purposes.
2224

@@ -44,9 +46,7 @@ According to CalOPPA, we agree to the following:
4446

4547
Users can visit our site anonymously. Once this privacy policy is created, we will add a link to it on our home page or as a minimum, on the first significant page after entering our website. Our Privacy Policy link includes the word 'Privacy' and can be easily be found on the page specified above.
4648

47-
You will be notified of any Privacy Policy changes:
48-
49-
- On our Privacy Policy Page
49+
You will be notified of any Privacy Policy changes on our Privacy Policy Page.
5050

5151
## COPPA (Children Online Privacy Protection Act)
5252

@@ -60,13 +60,9 @@ The Fair Information Practices Principles form the backbone of privacy law in th
6060

6161
In order to be in line with Fair Information Practices we will take the following responsive action, should a data breach occur:
6262

63-
We will notify you via email
64-
65-
- Within 1 business day
66-
67-
We will notify the users via in-site notification
63+
We will notify you via email within 1 business day.
6864

69-
- Within 1 business day
65+
We will notify the users via in-site notification within 1 business day.
7066

7167
We also agree to the Individual Redress Principle which requires that individuals have the right to legally pursue enforceable rights against data collectors and processors who fail to adhere to the law. This principle requires not only that individuals have enforceable rights against data users, but also that individuals have recourse to courts or government agencies to investigate and/or prosecute non-compliance by data processors.
7268

@@ -98,4 +94,4 @@ Student Government Assoc. ATTN: Webmaster
9894
Northfield, MN 55057 USA
9995
10096

101-
Last Edited on 2017-10-02
97+
Last Edited on 2018-01-14

fastlane/platforms/ios.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,8 @@
104104

105105
# and run
106106
auto_beta
107+
108+
# go ahead and download dSYMs for bugsnag too
109+
refresh_dsyms if travis?
107110
end
108111
end

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
"babel-plugin-transform-remove-console": "6.8.5",
116116
"babel-preset-react-native": "4.0.0",
117117
"bugsnag-sourcemaps": "1.0.1",
118-
"danger": "3.0.3",
118+
"danger": "3.0.4",
119119
"danger-plugin-yarn": "1.2.0",
120120
"directory-tree": "2.0.0",
121121
"eslint": "4.15.0",

source/lib/financials/balances.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,14 @@ async function fetchBalancesFromServer(): Promise<BalancesOrErrorType> {
6060
username: username,
6161
password: password,
6262
})
63-
await fetch(OLECARD_AUTH_URL, {method: 'POST', body: form})
63+
let loginResponse = await fetch(OLECARD_AUTH_URL, {
64+
method: 'POST',
65+
body: form,
66+
})
67+
68+
if (loginResponse.url.includes('message=')) {
69+
return {error: true, value: new Error('login failed!')}
70+
}
6471

6572
const resp: OleCardBalancesType = await fetchJson(OLECARD_DATA_ENDPOINT)
6673

source/views/components/markdown/formatting.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {SelectableText} from './selectable'
55

66
export const Paragraph = glamorous(SelectableText)({
77
marginVertical: 3,
8+
paddingRight: 4,
89
})
910

1011
export const BlockQuote = glamorous(Paragraph)({
Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
// @flow
22

33
import * as React from 'react'
4-
import {Text} from 'react-native'
5-
import glamorous from 'glamorous-native'
4+
import glamorous, {View, Text} from 'glamorous-native'
65
import {Paragraph} from './formatting'
76

87
// the list itself
9-
export const List = glamorous.view({})
8+
export const List = glamorous(View)({})
109

1110
// the list item's text
12-
export const ListText = glamorous(Paragraph)({})
11+
export const ListText = glamorous(Paragraph)({
12+
flex: 1,
13+
})
1314

1415
// the list item's container box thing
1516
type Props = {
@@ -19,10 +20,10 @@ type Props = {
1920
export class ListItem extends React.PureComponent<Props> {
2021
render() {
2122
return (
22-
<glamorous.View flexDirection="row">
23-
<Text></Text>
23+
<View alignItems="center" flexDirection="row">
24+
<Text paddingRight={4}></Text>
2425
<ListText {...this.props} />
25-
</glamorous.View>
26+
</View>
2627
)
2728
}
2829
}

source/views/home/button.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ const styles = StyleSheet.create({
4747

4848
elevation: 2,
4949

50-
marginTop: CELL_MARGIN / 2,
51-
marginBottom: CELL_MARGIN / 2,
50+
marginBottom: CELL_MARGIN,
5251
marginLeft: CELL_MARGIN / 2,
5352
marginRight: CELL_MARGIN / 2,
5453
},
@@ -59,9 +58,7 @@ const styles = StyleSheet.create({
5958
},
6059
rectangleButtonText: {
6160
color: c.white,
62-
// marginTop: cellVerticalPadding / 2,
6361
fontFamily: Platform.OS === 'ios' ? 'System' : 'sans-serif-condensed',
64-
// textAlign: 'center',
6562
fontSize: 14,
6663
},
6764
})

source/views/home/home.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ export default connect(mapStateToProps)(HomePage)
9090
const styles = StyleSheet.create({
9191
cells: {
9292
marginHorizontal: CELL_MARGIN / 2,
93-
marginTop: CELL_MARGIN / 2,
94-
paddingBottom: CELL_MARGIN / 2,
93+
paddingTop: CELL_MARGIN,
9594

9695
flexDirection: 'row',
9796
},

0 commit comments

Comments
 (0)