diff --git a/.gitattributes b/.gitattributes
index bdb0cab..60dd516 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -15,3 +15,9 @@
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
+
+# ensures font files are loaded as binary not text
+*.ttf binary
+*.eot binary
+*.woff binary
+*.woff2 binary
diff --git a/.travis.yml b/.travis.yml
index f0c1c52..428a222 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,3 +1,5 @@
+# Force sudo due to issue in travis
+sudo: required
addons:
chrome: stable
language: node_js
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7923872..74408eb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,19 @@
# Next Release
+* Amended category list on transaction submission
+* Added budget view for weekly breakdown of spend by category
+
+# v0.1.3
+
+* Made fix to Travis config
+
+# v0.1.2
+
+* Removed unused button
+* Added ability to choose category for transaction
+* Added version bump on Angular
+
# v0.1.1
* Redid layout on circle customer view
diff --git a/package-lock.json b/package-lock.json
index cb1c91b..3e727f5 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "localloop-web",
- "version": "0.1.1",
+ "version": "0.1.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/package.json b/package.json
index 11398d1..4439085 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "localloop-web",
- "version": "0.1.1",
+ "version": "0.1.3",
"description": "LocalLoop Web - Web interface for LocalLoop app",
"author": "",
"url": "http://www.peartrade.org",
diff --git a/src/app/dashboard/add-data.component.html b/src/app/dashboard/add-data.component.html
index edcb5e2..c413237 100644
--- a/src/app/dashboard/add-data.component.html
+++ b/src/app/dashboard/add-data.component.html
@@ -25,17 +25,33 @@
-
+
-
10 && disableSectorButton == false" class="divider text-center">
+ sectorLimit && disableSectorButton == false" class="divider text-center">
diff --git a/src/app/dashboard/dashboard-customer.component.ts b/src/app/dashboard/dashboard-customer.component.ts
index 54867f2..55f1b6a 100644
--- a/src/app/dashboard/dashboard-customer.component.ts
+++ b/src/app/dashboard/dashboard-customer.component.ts
@@ -168,7 +168,7 @@ export class DashboardCustomerComponent implements OnInit {
this.sectorPurchases = Object.keys(data.purchases).map(key => data.purchases[key]);
}
- public loadMore () {
+ private loadMore () {
this.disableSectorButton = true;
this.sectorLimit = 22;
}
diff --git a/src/app/dashboard/dashboard.module.ts b/src/app/dashboard/dashboard.module.ts
index d44e4ae..e41c4ea 100644
--- a/src/app/dashboard/dashboard.module.ts
+++ b/src/app/dashboard/dashboard.module.ts
@@ -16,6 +16,7 @@ import { AccountEditComponent } from './account-edit.component';
import { AddDataComponent } from './add-data.component';
import { FeedbackComponent } from './feedback.component';
import { TransactionLogComponent } from './transaction-log.component';
+import { CategoryMonthComponent } from './category-month.component';
import { PayrollLogComponent } from './payroll-log.component';
import { LeaderboardComponent } from './leaderboard.component';
import { MapComponent } from './map.component';
@@ -67,6 +68,7 @@ import { NgPipesModule } from 'ngx-pipes';
OrgResultComponent,
OrgTableComponent,
TransactionLogComponent,
+ CategoryMonthComponent,
TransactionResultComponent,
PayrollLogComponent,
PayrollResultComponent,
diff --git a/src/app/dashboard/dashboard.routing.ts b/src/app/dashboard/dashboard.routing.ts
index 3e137a6..d222386 100644
--- a/src/app/dashboard/dashboard.routing.ts
+++ b/src/app/dashboard/dashboard.routing.ts
@@ -12,6 +12,7 @@ import { AccountEditComponent } from './account-edit.component';
import { AddDataComponent } from './add-data.component';
import { FeedbackComponent } from './feedback.component';
import { TransactionLogComponent } from './transaction-log.component';
+import { CategoryMonthComponent } from './category-month.component';
import { PayrollLogComponent } from './payroll-log.component';
import { LeaderboardComponent } from './leaderboard.component';
import { MapComponent } from './map.component';
@@ -59,6 +60,11 @@ const routes: Routes = [
component: TransactionLogComponent,
data: { title: 'Transaction Log' },
},
+ {
+ path: 'category-month',
+ component: CategoryMonthComponent,
+ data: { title: 'Budget' },
+ },
{
path: 'map',
component: MapComponent,
diff --git a/src/app/layouts/full-layout.component.html b/src/app/layouts/full-layout.component.html
index b9b7cae..94ecad1 100644
--- a/src/app/layouts/full-layout.component.html
+++ b/src/app/layouts/full-layout.component.html
@@ -81,6 +81,14 @@
+
+
+
+
+
diff --git a/src/app/panels/pie-panel.component.html b/src/app/panels/pie-panel.component.html
index 7e2dd4a..5a6376b 100644
--- a/src/app/panels/pie-panel.component.html
+++ b/src/app/panels/pie-panel.component.html
@@ -4,15 +4,6 @@
All Purchases
-