Skip to content

Commit

Permalink
Merge pull request #42 from just4fun/v1.7.0
Browse files Browse the repository at this point in the history
v1.7.0
  • Loading branch information
just4fun authored Sep 18, 2018
2 parents 52b3055 + 3102083 commit 6fb452e
Show file tree
Hide file tree
Showing 207 changed files with 8,909 additions and 10,911 deletions.
37 changes: 14 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@
[![GitHub issues](https://img.shields.io/github/issues/just4fun/stuhome.svg)](https://github.com/just4fun/stuhome/issues)
[![MIT](https://img.shields.io/dub/l/vibe-d.svg)](http://opensource.org/licenses/MIT)

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).
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/).

For all officially recommended clients, please visit http://bbs.uestc.edu.cn/forum.php?mod=viewthread&tid=1554255.

## Old logo (from v1.0.0 to v1.3.0)
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).

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

## Status (v1.6.1)
## Status (v1.7.0)

[<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)

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

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

## Existing functionalities
## Features

- [x] Authentication
- [x] Sign up (WebView)
Expand All @@ -44,7 +42,7 @@ For all officially recommended clients, please visit http://bbs.uestc.edu.cn/for
- [x] Favor topic
- [x] Upload images
- [x] Emoji
- [x] Show friend list to @
- [x] Show friend list to mention (@)
- [ ] Report objectionable content
- [ ] Vote
- [ ] Create vote
Expand All @@ -60,8 +58,8 @@ For all officially recommended clients, please visit http://bbs.uestc.edu.cn/for
- [ ] Individual
- [x] View my recent topics
- [x] View my favorite topics
- [ ] Update password
- [x] Upload avatar
- [ ] Update password

## Try it out

Expand All @@ -70,34 +68,27 @@ For all officially recommended clients, please visit http://bbs.uestc.edu.cn/for
```bash
git clone [email protected]:just4fun/stuhome.git
cd stuhome
npm install
yarn
```
Then use Xcode to open this project and simply click **Run**.

#### Run on your iOS device

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

## Run ESlint

```bash
npm run eslint
```

## Todo list

- ~~Update UI per new design~~
- ~~Submit to [App Store](https://itunes.apple.com/cn/app/qing-shui-he-pan-stuhome/id1190564355)~~
- ~~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))
- ~~Unit Testing Infrastructure~~ ([#8](https://github.com/just4fun/stuhome/pull/8))
- ~~Replace deprecated Navigator with [React Navigation](https://github.com/react-navigation/react-navigation)~~ ([#19](https://github.com/just4fun/stuhome/pull/19))
- ~~Replace deprecated Navigator with [React Navigation](https://github.com/react-navigation/react-navigation):~~ [#19](https://github.com/just4fun/stuhome/pull/19)
- Unit Testing Infrastructure: ~~[#8](https://github.com/just4fun/stuhome/pull/8)~~, [#40](https://github.com/just4fun/stuhome/issues/40)

## Known issues

- ~~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`)
- ~~Switching between pages is not very smooth sometimes~~ (Fixed by replacing deprecated Navigator with [React Navigation](https://github.com/react-navigation/react-navigation))
- Emoji could not be displayed in text input: [RN/issue](https://github.com/facebook/react-native/issues/17468)
- Unit tests are not working due to deprecated property in [react-native-mock](https://github.com/RealOrangeOne/react-native-mock/pull/158)
- ~~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`)
- ~~Switching between pages is not very smooth sometimes~~ (Fixed by [#19](https://github.com/just4fun/stuhome/pull/19))
- 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)
- 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)

## FAQ

Expand Down
5 changes: 1 addition & 4 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
// make `Symbol` available on iOS 8
import 'es6-symbol/implement';

import { AppRegistry } from 'react-native';
import App from './src/containers/App';
import App from '~/containers/App/App';

AppRegistry.registerComponent('stuhome', () => App);
4 changes: 3 additions & 1 deletion ios/stuhome/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.6.1</string>
<string>1.7.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down Expand Up @@ -63,6 +63,8 @@
<array>
<string>armv7</string>
</array>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleLightContent</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
Expand Down
Loading

0 comments on commit 6fb452e

Please sign in to comment.