Skip to content

Commit 6fb452e

Browse files
authored
Merge pull request #42 from just4fun/v1.7.0
v1.7.0
2 parents 52b3055 + 3102083 commit 6fb452e

File tree

207 files changed

+8909
-10911
lines changed

Some content is hidden

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

207 files changed

+8909
-10911
lines changed

README.md

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@
44
[![GitHub issues](https://img.shields.io/github/issues/just4fun/stuhome.svg)](https://github.com/just4fun/stuhome/issues)
55
[![MIT](https://img.shields.io/dub/l/vibe-d.svg)](http://opensource.org/licenses/MIT)
66

7-
An officially recommended iOS client for http://bbs.uestc.edu.cn/ written in [React Native](https://facebook.github.io/react-native/) with [Redux](http://redux.js.org/). APIs are provided by [UESTC-BBS/API-Docs](https://github.com/UESTC-BBS/API-Docs/wiki/Mobcent-API) and [appbyme/mobcent-discuz](https://github.com/appbyme/mobcent-discuz).
7+
An officially recommended 3rd party iOS client for http://bbs.uestc.edu.cn/ written in [react-native](https://facebook.github.io/react-native/), [redux](http://redux.js.org/) and [redux-observable](https://redux-observable.js.org/).
88

9-
For all officially recommended clients, please visit http://bbs.uestc.edu.cn/forum.php?mod=viewthread&tid=1554255.
10-
11-
## Old logo (from v1.0.0 to v1.3.0)
9+
APIs are provided by [appbyme/mobcent-discuz](https://github.com/appbyme/mobcent-discuz) and partly documented by [UESTC-BBS/API-Docs](https://github.com/UESTC-BBS/API-Docs/wiki/Mobcent-API).
1210

13-
![app_icon](https://cloud.githubusercontent.com/assets/7512625/18613513/348f7322-7daf-11e6-902d-94776bb55670.jpg)
11+
For all officially recommended clients, please visit http://bbs.uestc.edu.cn/forum.php?mod=viewthread&tid=1554255.
1412

15-
## Status (v1.6.1)
13+
## Status (v1.7.0)
1614

1715
[<img width="250" alt="download_on_the_app_store" src="https://user-images.githubusercontent.com/7512625/27969868-353f554c-637f-11e7-869d-3963933461ca.png">](https://itunes.apple.com/cn/app/qing-shui-he-pan-stuhome/id1190564355)
1816

@@ -22,7 +20,7 @@ For all officially recommended clients, please visit http://bbs.uestc.edu.cn/for
2220

2321
![stuhome](https://user-images.githubusercontent.com/7512625/36350789-f5a43838-14d8-11e8-8a90-801e69f665c1.gif)
2422

25-
## Existing functionalities
23+
## Features
2624

2725
- [x] Authentication
2826
- [x] Sign up (WebView)
@@ -44,7 +42,7 @@ For all officially recommended clients, please visit http://bbs.uestc.edu.cn/for
4442
- [x] Favor topic
4543
- [x] Upload images
4644
- [x] Emoji
47-
- [x] Show friend list to @
45+
- [x] Show friend list to mention (@)
4846
- [ ] Report objectionable content
4947
- [ ] Vote
5048
- [ ] Create vote
@@ -60,8 +58,8 @@ For all officially recommended clients, please visit http://bbs.uestc.edu.cn/for
6058
- [ ] Individual
6159
- [x] View my recent topics
6260
- [x] View my favorite topics
63-
- [ ] Update password
6461
- [x] Upload avatar
62+
- [ ] Update password
6563

6664
## Try it out
6765

@@ -70,34 +68,27 @@ For all officially recommended clients, please visit http://bbs.uestc.edu.cn/for
7068
```bash
7169
git clone git@github.com:just4fun/stuhome.git
7270
cd stuhome
73-
npm install
71+
yarn
7472
```
7573
Then use Xcode to open this project and simply click **Run**.
7674

7775
#### Run on your iOS device
7876

7977
http://facebook.github.io/react-native/docs/running-on-device.html#running-your-app-on-ios-devices
8078

81-
## Run ESlint
82-
83-
```bash
84-
npm run eslint
85-
```
86-
8779
## Todo list
8880

8981
- ~~Update UI per new design~~
9082
- ~~Submit to [App Store](https://itunes.apple.com/cn/app/qing-shui-he-pan-stuhome/id1190564355)~~
91-
- ~~Replace [redux-thunk](https://github.com/gaearon/redux-thunk) with [redux-saga](https://github.com/redux-saga/redux-saga)~~ ([#7](https://github.com/just4fun/stuhome/pull/7))
92-
- ~~Unit Testing Infrastructure~~ ([#8](https://github.com/just4fun/stuhome/pull/8))
93-
- ~~Replace deprecated Navigator with [React Navigation](https://github.com/react-navigation/react-navigation)~~ ([#19](https://github.com/just4fun/stuhome/pull/19))
83+
- ~~Replace deprecated Navigator with [React Navigation](https://github.com/react-navigation/react-navigation):~~ [#19](https://github.com/just4fun/stuhome/pull/19)
84+
- Unit Testing Infrastructure: ~~[#8](https://github.com/just4fun/stuhome/pull/8)~~, [#40](https://github.com/just4fun/stuhome/issues/40)
9485

9586
## Known issues
9687

97-
- ~~User avatar is not displayed sometimes: [RN/issue](https://github.com/facebook/react-native/issues/5616)~~ (Fixed by this [PR](https://github.com/facebook/react-native/pull/7262) for React Native, and the patch is released in `0.26.0`)
98-
- ~~Switching between pages is not very smooth sometimes~~ (Fixed by replacing deprecated Navigator with [React Navigation](https://github.com/react-navigation/react-navigation))
99-
- Emoji could not be displayed in text input: [RN/issue](https://github.com/facebook/react-native/issues/17468)
100-
- Unit tests are not working due to deprecated property in [react-native-mock](https://github.com/RealOrangeOne/react-native-mock/pull/158)
88+
- ~~User avatar is not displayed sometimes:~~ [RN/#5616](https://github.com/facebook/react-native/issues/5616) (Fixed by [RN/#7262](https://github.com/facebook/react-native/pull/7262), and the patch is released in `0.26.0`)
89+
- ~~Switching between pages is not very smooth sometimes~~ (Fixed by [#19](https://github.com/just4fun/stuhome/pull/19))
90+
- Image could not be inserted to TextInput: [RN/#17468](https://github.com/facebook/react-native/issues/17468), [RN/#18566](https://github.com/facebook/react-native/issues/18566)
91+
- Unit tests are not working due to deprecated property in react-native-mock. [react-native-mock/#158](https://github.com/RealOrangeOne/react-native-mock/pull/158), [#40](https://github.com/just4fun/stuhome/issues/40)
10192

10293
## FAQ
10394

index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
// make `Symbol` available on iOS 8
2-
import 'es6-symbol/implement';
3-
41
import { AppRegistry } from 'react-native';
5-
import App from './src/containers/App';
2+
import App from '~/containers/App/App';
63

74
AppRegistry.registerComponent('stuhome', () => App);

ios/stuhome/Info.plist

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundlePackageType</key>
2020
<string>APPL</string>
2121
<key>CFBundleShortVersionString</key>
22-
<string>1.6.1</string>
22+
<string>1.7.0</string>
2323
<key>CFBundleSignature</key>
2424
<string>????</string>
2525
<key>CFBundleVersion</key>
@@ -63,6 +63,8 @@
6363
<array>
6464
<string>armv7</string>
6565
</array>
66+
<key>UIStatusBarStyle</key>
67+
<string>UIStatusBarStyleLightContent</string>
6668
<key>UISupportedInterfaceOrientations</key>
6769
<array>
6870
<string>UIInterfaceOrientationPortrait</string>

0 commit comments

Comments
 (0)