From c4b2f26826c33c7a708e7bfe8f2043270b3ffe6b Mon Sep 17 00:00:00 2001
From: xnoirx
Date: Fri, 7 Oct 2016 20:28:06 +0200
Subject: [PATCH 1/2] Fix name template for load evolve pokemon task
---
app/views/tasks/{EvolveAll.html => EvolvePokemon.html} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename app/views/tasks/{EvolveAll.html => EvolvePokemon.html} (100%)
diff --git a/app/views/tasks/EvolveAll.html b/app/views/tasks/EvolvePokemon.html
similarity index 100%
rename from app/views/tasks/EvolveAll.html
rename to app/views/tasks/EvolvePokemon.html
From b95432ee521bc058b3d5f8567081e84890393a65 Mon Sep 17 00:00:00 2001
From: xnoirx
Date: Sat, 8 Oct 2016 17:07:32 +0200
Subject: [PATCH 2/2] Separate auth setting from the other conf options
---
app/data/default_config.json | 8 +-
app/index.html | 20 ++---
app/scripts/app.js | 6 +-
app/scripts/controllers/auth.js | 85 ++++++++++++++++++++
app/scripts/controllers/general.js | 33 +++-----
app/views/auth_config.html | 125 +++++++++++++++++++++++++++++
app/views/general_config.html | 45 +----------
7 files changed, 243 insertions(+), 79 deletions(-)
create mode 100644 app/scripts/controllers/auth.js
create mode 100644 app/views/auth_config.html
diff --git a/app/data/default_config.json b/app/data/default_config.json
index 3ef813d..1e0f17e 100644
--- a/app/data/default_config.json
+++ b/app/data/default_config.json
@@ -3,8 +3,14 @@
"auth_service": "google",
"username": "YOUR_USERNAME",
"password": "YOUR_PASSWORD",
- "location": "52.39037297896968,4.828920364379883",
+ "location": "",
+ "favorite_locations":[
+ {"name": "Default", "coords": "52.39037297896968,4.828920364379883"}
+ ],
"gmapkey": "GOOGLE_MAPS_API_KEY",
+ "encrypt_location": "",
+ "telegram_token": "",
+ "discord_token": "",
"tasks": [
{
"type": "HandleSoftBan"
diff --git a/app/index.html b/app/index.html
index cfce754..ae7fd15 100644
--- a/app/index.html
+++ b/app/index.html
@@ -22,28 +22,27 @@
your browser to improve your experience.
-