Skip to content

Commit

Permalink
Release of Version 1.1 (#240)
Browse files Browse the repository at this point in the history
* Change profile photo update progress bar

* Added Label for Edittext

* added margin

* Cache skip in Glide

* Edit Profile back button handled

* feat: Implement group notificatio

* feat: Implement change password api

* Added Utils class

* reformat lines spacing

* typo fix

* Removed unnecessary toast

* feat: Implement resend OTP API

* feat: Refactor logout, unsubscribe notification

* reformat spacing

* Added back button in otp activity

* Removed back button in Login page

* feat: Handle offline mode in login signup

* Handled empty edittext

* fix: Display employment type

* changed some fields

* View fullscreen gallery image

* Add signup error dialog

* empty edittext

* Fixed Nav issue on back pressed

* Handle back from profile page

* Add scrollview

* Handled Orientation Change in Fragments

* Updated Retrofit link (#202)

* Added Videos Fragment (#203)

* feat: Implement forgot password feature (#206)

* Enhance UI of event details page (#208)

* Visibility in View Profile incase of empty fields (#209)

* feat: Add videos of saar (#211)

* remove toast (#215)

* Added Square Logo (#216)

* fix: skip press issue in login page (#218)

* Enhance ui of video fragment (#219)

* Revert "fix: skip press issue in login page (#218)" (#220)

This reverts commit 88f8666.

* fix: Few UI improvements (#222)

* UI fix in Change password

* Improved login UI

* Otp pin (#223)

* Clear otp pinview

* Fix errors

* remove log messages (#225)

* remove log statements

* fix team fragment

* Update changes

* Update changes

* Mainactivity as opening screen (#230)

* patch: CircleImageView issue  (#231)

* Encoded Bitmap

* Improved Homepage and nav header

* fix: Check Permission properly (#227)

* Check Permission properly

* recheck permission

* feat: Implement skip login feature (#233)

* Updated readme

* fix: backbutton in login signup page (#235)

* fix: Few Improvements (#237)

* Fixed issue on Home Fragment

* Improvement in Login Page

* Deselected Selected item in NavDrawer

* chore: Update readme (#238)

* Added screenshots in Readme

* Added Libraries list

* Upgrade the version release in the app (#239)

* fix: backbutton in login signup page

* chnage version
  • Loading branch information
atm1504 authored Jun 21, 2019
1 parent 75376bf commit 0ee1742
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 12 deletions.
44 changes: 38 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,66 @@
# SAAR-Android-Client

Android app for [Students' Association for Alumni Relations](https://saar.iitp.ac.in/)-SAAR, IIT Patna

## Overview

The SAAR app is an android application to bring together all alumni and former faculties of IIT Patna to share their experiences with each other and with the current students and faculties. The app will maintain and update the database of all alumni of the college. SAAR aims to provide guidance to the present students in their endeavour for better employment and higher studies, improve campus placements with the help of the alumni working in reputed industries in India and abroad, organise seminars, debates, workshops as well as cultural and social welfare programs and publish periodical magazines or bulletins with valuable information useful to the members and students. The SAAR app would ease the process of collecting donations for alumni affairs and it would also send notifications for varios events.

## Screenshots

<table>
<tr>
<td><img src = "https://user-images.githubusercontent.com/43093724/59858973-90323680-9399-11e9-80c0-eee359cf836a.png" height = "600" width="360"></td>
<td><img src = "https://user-images.githubusercontent.com/43093724/59859021-a5a76080-9399-11e9-9215-993b70a78f39.png" height = "600" width="360"></td>
</tr>
<td><img src = "https://user-images.githubusercontent.com/43093724/59859102-c8397980-9399-11e9-8419-e59621693e49.png" height = "600" width="360"></td>
<td><img src = "https://user-images.githubusercontent.com/43093724/59859115-cf608780-9399-11e9-9ebf-8995c0e9031b.png" height = "600" width="360"></td>
</tr>
<td><img src = "https://user-images.githubusercontent.com/43093724/59859131-d6879580-9399-11e9-9bd7-fd94a2d491c2.png" height = "600" width="360"></td>
<td><img src = "https://user-images.githubusercontent.com/43093724/59859149-de473a00-9399-11e9-8892-0bbfa6d3e1b5.png" height = "600" width="360"></td>
</tr>
<td><img src = "https://user-images.githubusercontent.com/43093724/59859169-e4d5b180-9399-11e9-9c4d-d13cb732bd1c.png" height = "600" width="360"></td>
</tr>
</table>

## TODO
- [ ] Create the basic UI of the app
- [ ] Build a perfect login and signup system
- [ ] Create a well maintained alumni database
- [ ] Send notifications for various events
- [ ] A working payment gateway to collect donations

- [x] Create the basic UI of the app
- [x] Build a perfect login and signup system
- [x] Create a well maintained alumni database
- [x] Send notifications for various events

## Built With

- Client side
- Java
- Room Persistence Library
- Firebase
- Retrofit
- Gson
- Timeline View
- Volley
- Glide
- CircleImageView
- Timber
- Pin View
- Photo View
- Server side
- PHP

## Installing

Clone the repository using the following command:

`$ git clone https://github.com/dsciitpatna/SAAR-Android-Client.git`

Then open in Android Studio.

## Contributing

Please read [CONTRIBUTING.md](https://github.com/dsciitpatna/SAAR-Android-Client/blob/development/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.

## Branch Policy

We have the following branches:

- **master** The master branch contains all the stable and bug-free working code. The development branch once complete will be merged with this branch.
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "1.0"
versionName "1.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@

public class LoginSignupActivity extends AppCompatActivity implements BottomNavigationView.OnNavigationItemSelectedListener {
SharedPreferences preferences;
SharedPreferences.Editor sharedPreferenceEditor;

@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
preferences = PreferenceManager.getDefaultSharedPreferences(this);
sharedPreferenceEditor = preferences.edit();
if (preferences.getBoolean(Constant.LOGIN_STATUS, false)) {
//user logged in
Intent intent = new Intent(this, MainActivity.class);
Expand Down Expand Up @@ -75,6 +77,8 @@ private boolean loadFragment(Fragment fragment) {
@Override
public void onBackPressed() {
super.onBackPressed();
sharedPreferenceEditor.putBoolean(Constant.SKIP_LOGIN, true);
sharedPreferenceEditor.apply();
Intent intent = new Intent(getApplicationContext(), MainActivity.class);
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(intent);
Expand Down
5 changes: 3 additions & 2 deletions app/src/main/java/com/example/saar/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ protected void onCreate(Bundle savedInstanceState) {

preferences = PreferenceManager.getDefaultSharedPreferences(getApplicationContext());

if(!preferences.getBoolean(Constant.LOGIN_STATUS,false) && !preferences.getBoolean(Constant.SKIP_LOGIN,false)){
if (!preferences.getBoolean(Constant.LOGIN_STATUS, false) && !preferences.getBoolean(Constant.SKIP_LOGIN, false)) {
startActivity(new Intent(this, LoginSignupActivity.class));
}

Expand Down Expand Up @@ -140,10 +140,11 @@ private void showHomeFragment() {

@Override
public void onBackPressed() {
Fragment currentFragment = getSupportFragmentManager().findFragmentById(R.id.content_frame);
DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);
if (drawer.isDrawerOpen(GravityCompat.START)) {
drawer.closeDrawer(GravityCompat.START);
} else if (fragment instanceof HomeFragment) {
} else if (currentFragment instanceof HomeFragment) {
super.onBackPressed();
} else {
showHomeFragment();
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/menu/activity_main_drawer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
tools:showIn="navigation_view">

<group android:checkableBehavior="single">
<group android:checkableBehavior="none">
<item
android:id="@+id/nav_home"
android:icon="@drawable/ic_home_black_24dp"
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
<dimen name="share_margin_bottom">56dp</dimen>

<!--Login Fragment-->
<dimen name="view_height">250dp</dimen>
<dimen name="view_height">200dp</dimen>
<dimen name="card_login_radius">10dp</dimen>
<dimen name="card_login_elevation">10dp</dimen>
<dimen name="padding_login_big">20dp</dimen>
<dimen name="margin_50dp">50dp</dimen>
<dimen name="margin_5dp">5dp</dimen>
<dimen name="margin_10dp">10dp</dimen>
<dimen name="margin_30dp">30dp</dimen>
<dimen name="login_card_margin">128dp</dimen>
<dimen name="login_card_margin">100dp</dimen>

<!--Signup Fragment-->
<dimen name="ok_button_height">32dp</dimen>
Expand Down

0 comments on commit 0ee1742

Please sign in to comment.