Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A toast shows to user if username or password is invalid in ionic #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A simple Income and Expense system.

To run Bestoon in development mode; Just use steps below:

1. Install `python2`, `pip`, `virtualenv` in your system.
1. Install `python2`, `pip`, `virtualenv`, `bower` in your system.
2. Clone the project `https://github.com/jadijadi/bestoon`.
3. Make development environment ready using commands below;

Expand All @@ -18,6 +18,8 @@ To run Bestoon in development mode; Just use steps below:
pip install -r requirements.txt
mv bestoon/settings.py.sample bestoon/settings.py
python manage.py migrate # Create database tables
cd clients/ionic/bestoon
bower install ionic-toast --save
```

4. Run `Bestoon` using `python manage.py runserver`
Expand All @@ -36,6 +38,8 @@ build\Scripts\activate # Activate The Virutal Environment
pip install -r requirements.txt
move bestoon\settings.py.sample bestoon/settings.py
python manage.py migrate # Create Database Tables
cd clients\ionic\bestoon
bower install ionic-toast --save
```
4. Run `Bestoon` using `python manage.py runserver`
5. Go to [http://localhost:8000](http://localhost:8000) to see your Bestoon version.
Expand Down Expand Up @@ -67,5 +71,5 @@ The project contains two different clients (command line and an ionic app for an
- [x] a restful login service. user will give user pass and will get her token
- [x] local storage for ionic app. will store token and will using it when calling anything
- [x] create and submit the APK!
- [ ] expand the error messages on the server side. client should understand that token was not valid and refer user to login page
- [x] expand the error messages on the server side. client should understand that token was not valid and refer user to login page
- [ ] logging system
128 changes: 0 additions & 128 deletions bestoon/settings.py.sample

This file was deleted.

3 changes: 3 additions & 0 deletions clients/ionic/bestoon/bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
"private": "true",
"devDependencies": {
"ionic": "driftyco/ionic-bower#1.3.2"
},
"dependencies": {
"ionic-toast": "^0.4.1"
}
}
4 changes: 3 additions & 1 deletion clients/ionic/bestoon/ionic.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@
"www/**/*",
"!www/lib/**/*",
"!www/**/*.map"
]
],
"integrations": {},
"type": "ionic1"
}
Loading