Skip to content

Commit 410a56c

Browse files
committed
v0.3.0
See CHANGELOG.md
2 parents 8a227f1 + 375a5bb commit 410a56c

File tree

20 files changed

+225
-31
lines changed

20 files changed

+225
-31
lines changed

.openshift/action_hooks/pre_build

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
# this install all dependencies + devDevdependencies
4+
NODE_ENV=development npm install
5+
6+
# building files
7+
npm build

.openshift/action_hooks/pre_start

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
3+
# this starts the logentries agent
4+
./${OPENSHIFT_DATA_DIR}/start-le

CHANGELOG.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,23 @@ This project adheres to [Semantic Versioning](http://semver.org/).
66
## [Unreleased][Unreleased]
77

88

9+
## [0.3.0][0.3.0] - 2016-06-16
10+
11+
Added:
12+
13+
* Add Support for [Airtel Money][airtel-money]
14+
* Rename 'Safaricom' to 'Mpesa'
15+
* Tracking page views with [Google Analytics][analytics]
16+
* Updated schema and views to accommodate for URL to networks' homepages
17+
18+
Changed:
19+
20+
* Minor UI polishes
21+
22+
[airtel-money]:http://africa.airtel.com/wps/wcm/connect/AfricaRevamp/Kenya/Airtel_Money/Home/Personal/AirtelMoney_tariffs
23+
[analytics]:https://analytics.google.com
24+
25+
926
## [0.2.0][0.2.0] - 2016-04-24
1027

1128
Added:
@@ -30,7 +47,8 @@ Added:
3047
This is the very first version.
3148

3249

33-
[Unreleased]: https://github.com/forfuturellc/mmtc-ke/compare/v0.2.0...HEAD
50+
[Unreleased]: https://github.com/forfuturellc/mmtc-ke/compare/v0.3.0...HEAD
3451
[0.0.0]:https://github.com/forfuturellc/mmtc-ke/releases/tag/v0.0.0
3552
[0.1.0]:https://github.com/forfuturellc/mmtc-ke/releases/tag/v0.1.0
3653
[0.2.0]:https://github.com/forfuturellc/mmtc-ke/releases/tag/v0.2.0
54+
[0.3.0]:https://github.com/forfuturellc/mmtc-ke/releases/tag/v0.3.0

data/SPEC.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
|Aspect|Detail|
44
|------|------|
5-
|Version|0.2|
5+
|Version|0.3|
66
|Written by|GochoMugo <mugo@forfuture.co.ke>|
77

88
The data used in the application in its computations is fed through data files
@@ -34,6 +34,7 @@ A single data file can **only** hold one [Network](#type-network) object.
3434
|---|----|-----------|
3535
|spec|String|Specification version the file adheres to|
3636
|date_updated|[Date](#type-date)|Date on which the data was last updated|
37+
|url|String|A valid URL to the network's homepage, preferably to the page concerning money transactions|
3738

3839

3940
<a name="type-transaction"></a>

data/airtel-money.json

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
{
2+
"name": "airtel money",
3+
"meta": {
4+
"spec": "0.2",
5+
"date_updated": "2016-06-16",
6+
"url": "http://africa.airtel.com/wps/wcm/connect/africarevamp/Kenya/Airtel_Money"
7+
},
8+
"transactions": [
9+
{
10+
"name": "transfer",
11+
"classes": [
12+
{
13+
"name": "registered users",
14+
"ranges": [
15+
{ "low": "-Infinity", "high": 49, "amount": -1 },
16+
{ "low": 50, "high": 100, "amount": 0 },
17+
{ "low": 101, "high": 1000, "amount": 0 },
18+
{ "low": 1001, "high": 2500, "amount": 0 },
19+
{ "low": 2501, "high": 5000, "amount": 0 },
20+
{ "low": 5001, "high": 10000, "amount": 0 },
21+
{ "low": 10001, "high": 20000, "amount": 0 },
22+
{ "low": 20001, "high": 35000, "amount": 0 },
23+
{ "low": 35001, "high": 50000, "amount": 0 },
24+
{ "low": 50001, "high": 70000, "amount": 0 },
25+
{ "low": 70001, "high": "+Infinity", "amount": -1 }
26+
]
27+
},
28+
{
29+
"name": "unregistered users",
30+
"ranges": [
31+
{ "low": "-Infinity", "high": 49, "amount": -1 },
32+
{ "low": 50, "high": 100, "amount": 0 },
33+
{ "low": 101, "high": 1000, "amount": 0 },
34+
{ "low": 1001, "high": 2500, "amount": 0 },
35+
{ "low": 2501, "high": 5000, "amount": 0 },
36+
{ "low": 5001, "high": 10000, "amount": 0 },
37+
{ "low": 10001, "high": 20000, "amount": 0 },
38+
{ "low": 20001, "high": 35000, "amount": 0 },
39+
{ "low": 35001, "high": 50000, "amount": 0 },
40+
{ "low": 50001, "high": 70000, "amount": 0 },
41+
{ "low": 70001, "high": "+Infinity", "amount": -1 }
42+
]
43+
}
44+
]
45+
},
46+
{
47+
"name": "withdrawal",
48+
"classes": [
49+
{
50+
"name": "agent",
51+
"ranges": [
52+
{ "low": "-Infinity", "high": 49, "amount": -1 },
53+
{ "low": 50, "high": 100, "amount": 9 },
54+
{ "low": 101, "high": 1000, "amount": 25 },
55+
{ "low": 1001, "high": 2500, "amount": 26 },
56+
{ "low": 2501, "high": 5000, "amount": 45 },
57+
{ "low": 5001, "high": 10000, "amount": 75 },
58+
{ "low": 10001, "high": 20000, "amount": 145 },
59+
{ "low": 20001, "high": 35000, "amount": 175 },
60+
{ "low": 35001, "high": 50000, "amount": 270 },
61+
{ "low": 50001, "high": 70000, "amount": 330 },
62+
{ "low": 70001, "high": "+Infinity", "amount": -1 }
63+
]
64+
}
65+
]
66+
},
67+
{
68+
"name": "others",
69+
"amount_input": false,
70+
"classes": [
71+
{
72+
"name": "deposits",
73+
"amount": 0
74+
},
75+
{
76+
"name": "transaction reports",
77+
"amount": 20
78+
},
79+
{
80+
"name": "airtime",
81+
"amount": 0
82+
},
83+
{
84+
"name": "balance enquiry",
85+
"amount": 0
86+
},
87+
{
88+
"name": "Nickname Change",
89+
"amount": 20
90+
},
91+
{
92+
"name": "PIN change",
93+
"amount": 20
94+
}
95+
]
96+
}
97+
],
98+
"ussd_codes": [
99+
]
100+
}
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
2-
"name": "safaricom",
2+
"name": "mpesa",
33
"meta": {
44
"spec": "0.2",
5-
"date_updated": "2016-03-25"
5+
"date_updated": "2016-06-16",
6+
"url": "http://www.safaricom.co.ke/personal/m-pesa"
67
},
78
"transactions": [
89
{
@@ -107,17 +108,17 @@
107108
}
108109
],
109110
"ussd_codes": [
111+
{
112+
"code": "*131#",
113+
"description": "okoa jahazi"
114+
},
110115
{
111116
"code": "*144#",
112117
"description": "credit balance"
113118
},
114119
{
115120
"code": "*544#",
116121
"description": "internet bundles"
117-
},
118-
{
119-
"code": "*131#",
120-
"description": "okoa jahazi"
121122
}
122123
]
123124
}

docs/news.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<h2>Updated Terms and Conditions <small>2016-06-16</small></h2>
2+
3+
We have updated our Terms and Conditions to reflect our change
4+
in **Privacy Policy**. This is to inform you that we are tracking
5+
page views using [Google Analytics][analytics].
6+
7+
[analytics]:https://analytics.google.com
8+
9+
10+
<h2>Terms and Conditions <small>2016-04-23</small></h2>
11+
12+
We have added a page detailing the Terms and Conditions, subject to
13+
application users. Please read through it and understand. It can be
14+
found at http://mmtc.forfuture.co.ke/tcs .
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# terms and conditions
22

3-
Your usage of this application, at http://mmtc.forfuture.co.ke, assumes your
3+
Your usage of this application, at http://mmtc.forfuture.co.ke , assumes your
44
acceptance of these terms and conditions.
55

66
1. **Source Code**: The source code for this application is available on
7-
Github at https://github.com/forfuturellc/mmtc-ke. Proceed to the code
7+
Github at https://github.com/forfuturellc/mmtc-ke . Proceed to the code
88
repository for more information on licensing. Auditing of the source
99
code is highly welcome.
1010
1. **Accuracy of Results**: We do **not** guarantee the accuracy of any
@@ -13,7 +13,8 @@ acceptance of these terms and conditions.
1313
reasons such as software crashes and development work.
1414
1. **Privacy Policy**: We do **not** use cookies or collect any personal
1515
information, except that submitted directly in the various forms made
16-
available in the application itself.
16+
available in the application itself. However, we track page views using
17+
[Google Analytics][analytics].
1718
1. **Copyright**: Any brand names and trademarks used in the application
1819
belong to the respective companies.
1920
1. **Service Abuse**: Any actions you undertake against this application
@@ -22,3 +23,6 @@ acceptance of these terms and conditions.
2223

2324
For any copyright-related and other legal issues may be addressed to
2425
Forfuture, LLC at we {at} forfuture {dot} co {dot} ke.
26+
27+
28+
[analytics]:https://analytics.google.com

engine/pages.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ var showdown = require('showdown');
2020

2121

2222
// module variables
23-
var converter = new showdown.Converter();
23+
var converter = new showdown.Converter({
24+
simplifiedAutoLink: true,
25+
tables: true,
26+
});
2427

2528

2629
/**

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"name": "mmtc-ke",
3-
"version": "0.2.0",
3+
"version": "0.3.0",
44
"private": true,
55
"scripts": {
6+
"build": "grunt build",
67
"postinstall": "bower install",
78
"start": "forever app.js",
89
"start-dev": "DEBUG=mmtc-ke:* nodemon app.js",

0 commit comments

Comments
 (0)