From 255c33f6f5e8c46e3f98c1974f411f381981ca55 Mon Sep 17 00:00:00 2001 From: Emile Date: Fri, 28 Nov 2014 07:52:03 +0100 Subject: [PATCH 1/6] a few more instructions --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 17f0440..70d1ca2 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,9 @@ Then to really get the most out of the repo, you can access the template mailer. Some of the pages functionality:

- Founders can upload their own companies as per normal, using pagelane's sweet form
-- You can curate and upload new, white logos on the backend
+- You can curate and upload new, white logos on the backend (/dashboard/logo), only once you upload a new logo will the startup be displayed on your page
+- To repace a logo, simple upload a new logo, the old one will be overwritten
+- Only click "Delete" on /dashboard/logo if you want to completely remove the startup, i.e. its spam
- All data is accessible from the dashboard or through the google cloud console
- you can collect mailers through the early adopter mailing list form

@@ -85,7 +87,10 @@ I think you have about 1GB of free storage on GAE, if you upload so many logos t You can read more about the google cloud platform at http://cloud.google.com

-..........if all this is too much for you look me up on slack and if I have a minute I'll help you out. +..........if all this is too much for you look me up (@emile - Foundedx) on slack and if I have a minute I'll help you out. +
+
+ From 5c62997dfb01a0d650f1fa214326cddfaea379ae Mon Sep 17 00:00:00 2001 From: Emile Date: Fri, 28 Nov 2014 07:52:53 +0100 Subject: [PATCH 2/6] typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 70d1ca2..1d4c60d 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ Some of the pages functionality:

- Founders can upload their own companies as per normal, using pagelane's sweet form
- You can curate and upload new, white logos on the backend (/dashboard/logo), only once you upload a new logo will the startup be displayed on your page
-- To repace a logo, simple upload a new logo, the old one will be overwritten
+- To repace a logo, simply upload a new logo, the old one will be overwritten
- Only click "Delete" on /dashboard/logo if you want to completely remove the startup, i.e. its spam
- All data is accessible from the dashboard or through the google cloud console
- you can collect mailers through the early adopter mailing list form
From ab50f40da33d434c16c5ae2d13a91e98b63d8b8a Mon Sep 17 00:00:00 2001 From: emileae Date: Sun, 30 Nov 2014 00:50:37 +0100 Subject: [PATCH 3/6] Updates now able to customise css from dashboard & fixed the swapped social links --- foundedin/main.py | 3 +++ foundedin/main.pyc | Bin 29004 -> 29170 bytes foundedin/model.py | 1 + foundedin/model.pyc | Bin 3403 -> 3449 bytes foundedin/templates/dashboard_general.html | 16 ++++++++++++++++ foundedin/templates/index.html | 13 +++++++++---- 6 files changed, 29 insertions(+), 4 deletions(-) diff --git a/foundedin/main.py b/foundedin/main.py index e29bfda..b455a5a 100755 --- a/foundedin/main.py +++ b/foundedin/main.py @@ -190,6 +190,7 @@ def post(self): seo_description = self.request.get("seo_description") seo_keywords = self.request.get("seo_keywords") share_url = self.request.get("share_url") + css = self.request.get("css") tw_handle = self.request.get("tw_handle") tw_short_url = self.request.get("tw_short_url") @@ -232,6 +233,7 @@ def post(self): logo_credit=logo_credit, logo_credit_name=logo_credit_name, about_html=about_html, + css=css ) settings.put() else: @@ -258,6 +260,7 @@ def post(self): settings.logo_credit=logo_credit settings.logo_credit_name=logo_credit_name settings.about_html=about_html + settings.css=css settings.put() tw = model.TwitterApi.query().get() diff --git a/foundedin/main.pyc b/foundedin/main.pyc index beb7fe99dc172065b720a02e49fbb16a901cfd33..b5cae62458719b937346955d0759e690522a7dbb 100644 GIT binary patch delta 6041 zcmbVQ3vg7`89sNDY#y6rH;-L537ah0O|nQN0is4B7*GQk3FW59Lm;l)O|nbaZ1yf7 zbu+=XQv>*_zm`(9%0qndXlGjsR(vpGXDmL@Y1OKAilWx3w${gtGu8I{&kcm^>`Lk+ z_uKEhzVrIefBt)qpH%++u9BVcSwUWX^ACQVy(e3lMLX@&%;Em%M*k*yFZ;2v8L#GS z8m%%@D!O_EVK-vWr}!~(6U5a5t>=VO+w2SapdQScqVFRDVh+SzFZ+hNAPn+2z@2! zf^PSw{`GEuG~kZ)2HbvaT`=tK?vElB)ZGz(Prx1NyC~q-1MaYYL$JpmL&bh~gXY(J zu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IC@fq$B7k1#yO@Dv08LeidP;9mn87vGw?wq9ZOI{CYcR~%)^Sy1ByrEvz) z_%_%0_SN|2)A%aVK4MU=;%(4)B8Va(npZAdJg>XEvwcHLw7n~g^YV6gfie5x&(`I3u7f+_A*5h<}(au7DHhR)snXVF7sg;iP K6w-;F;{OB7EQ(qH diff --git a/foundedin/model.py b/foundedin/model.py index 16593c4..19b75b3 100755 --- a/foundedin/model.py +++ b/foundedin/model.py @@ -70,6 +70,7 @@ class Settings(ndb.Model): logo_credit = ndb.StringProperty() logo_credit_name = ndb.StringProperty() about_html = ndb.TextProperty() + css = ndb.TextProperty() diff --git a/foundedin/model.pyc b/foundedin/model.pyc index 4e1962e83460a43f47efd969b2a16cd8f88d0142..4454a7d434e7f0e59ee7fce72030551035668bd3 100644 GIT binary patch delta 322 zcmX>t^;3$S`7T4B7JXi^>x#H_J2YF`|mJu{5HJOm<-NnEZ^r zc=CHTJ^>yE28NRI_~MNGqLTR1qMXTp*zzFy6(A<+=jNxR=I9kv2B`v-DgkjZNDmt$ z&*t6i0#K7h(behzm1s>C<}_xKVVwA1VsZlK57AU6hAdWwW(I~RX@;O+4WJ4J4Vle} zT=N(uOPGP2JYpP|64-tv5M_M}KlBkE;~Oz95h|RuiCsGg*OG JgPB8;0|2GPPS*ec delta 315 zcmewoKAUwXigz2~DQj^HWlD^a?72RDmj$fVh|o zNU&|b#x4LgTnt00Hc*A;WL-{UMuE+VoPvySi=;soZJy87#wZA}8K{r}%qj-^2Gdp} ppaMf6F4h4OY?CMQXinb2<0=KRAqXUg)fiZyO!ni|U}l%(0076jOVR)U diff --git a/foundedin/templates/dashboard_general.html b/foundedin/templates/dashboard_general.html index dffc508..d91c91c 100644 --- a/foundedin/templates/dashboard_general.html +++ b/foundedin/templates/dashboard_general.html @@ -320,6 +320,16 @@

For the early adopter email

{% endif %} +

Some custom CSS (not necessary)

+
+ + {% if settings.css %} + + {% else %} + + {% endif %} +
+ {% else %}

Page Name

@@ -503,6 +513,12 @@

For the early adopter email

+

Some custom CSS (not necessary)

+
+ + +
+ {% endif %} diff --git a/foundedin/templates/index.html b/foundedin/templates/index.html index fa20d63..085cc34 100644 --- a/foundedin/templates/index.html +++ b/foundedin/templates/index.html @@ -49,6 +49,11 @@ } + + + {% block style %} {% endblock %} @@ -170,22 +175,22 @@

Startups

Follow on {% if settings.follow_facebook %} -  Twitter +  Facebook  ·  {% endif %} {% if settings.follow_twitter %} -  Facebook +  Twitter  ·  {% endif %} {% if settings.follow_instagram %} -  Facebook +  Instagram  ·  {% endif %} {% if settings.follow_soundcloud %} -  Facebook +  SoundCloud  ·  {% endif %} From 0b97438b1832c506b5698fb20ca4853cfb40c715 Mon Sep 17 00:00:00 2001 From: emileae Date: Sun, 30 Nov 2014 15:27:34 +0100 Subject: [PATCH 4/6] Updates Fixed notification email bug, added a banner image in early adopter mailer (replace with your own) and also changed some settings to make mailer more generic --- foundedin/main.py | 28 ++++++++++-- foundedin/static/images/banner.png | Bin 0 -> 3014 bytes foundedin/templates/admin.html | 64 +--------------------------- foundedin/templates/index.html | 3 ++ foundedin/templates/mailer.html | 27 ++++++------ foundedin/templates/mailer_raw.html | 20 +++------ foundedin/utils.py | 5 ++- 7 files changed, 51 insertions(+), 96 deletions(-) create mode 100644 foundedin/static/images/banner.png diff --git a/foundedin/main.py b/foundedin/main.py index b455a5a..52b936b 100755 --- a/foundedin/main.py +++ b/foundedin/main.py @@ -103,16 +103,33 @@ def tweet(status): #serves the homepage class HomePage(MainHandler): def get(self): + curs = Cursor(urlsafe=self.request.get('cursor')) year = datetime.datetime.now().year settings = model.Settings.query().get() mail = model.MandrillApi.query().get() tw = model.TwitterApi.query().get() - startups = model.Startup.query(model.Startup.approved == True).order(model.Startup.q1).fetch(500) + #startups = model.Startup.query(model.Startup.approved == True).order(model.Startup.q1).fetch(500) + + startups, next_curs, more = model.Startup.query(model.Startup.approved == True).order(model.Startup.q1).fetch_page(500, start_cursor=curs) + if more and next_curs: + next_curs = next_curs.urlsafe() + else: + next_curs = False if not settings: self.response.out.write("If you are the admin for this page please navigate to /dashboard and complete the page setup") else: - self.render("index.html", startups=startups, year=year, settings=settings, mail=mail, tw=tw) + self.render("index.html", startups=startups, year=year, settings=settings, mail=mail, tw=tw, next_curs=next_curs) + +class ViewLogos(MainHandler): + def get(self): + year = datetime.datetime.now().year + settings = model.Settings.query().get() + mail = model.MandrillApi.query().get() + tw = model.TwitterApi.query().get() + startups = model.Startup.query(model.Startup.approved == True).order(model.Startup.q1).fetch(500) + + self.render("admin.html", startups=startups, year=year, settings=settings, mail=mail, tw=tw) # add a startup... completed by prospective startups class AddStartup(MainHandler): @@ -137,6 +154,7 @@ def post(self): try: utils.send_notification_mail(q1) except: + logging.error("no notification sent") pass #serve the admin page @@ -508,6 +526,9 @@ def get(self): class EarlyAdopter(MainHandler): def post(self): ea = self.request.get("ea") + settings = model.Settings.query().get() + mail = model.MandrillApi.query().get() + tw = model.TwitterApi.query().get() existing_email = model.EarlyAdopter.query(model.EarlyAdopter.ea == ea).get() @@ -518,7 +539,7 @@ def post(self): ea_id = ea.key.id() t = jinja_env.get_template("mailer.html") - html = t.render(ea_id=ea_id) + html = t.render(ea_id=ea_id, settings=settings, tw=tw, mail=mail) utils.send_mail(ea.ea, ea_id, html) @@ -801,6 +822,7 @@ def get(self): ('/', HomePage), ('/add_startup', AddStartup), ('/admin', Admin), + ('/view_logos', ViewLogos), ('/archive', Archive), #('/tweet/(\w+)', TweetStartup), ('/about', About), diff --git a/foundedin/static/images/banner.png b/foundedin/static/images/banner.png new file mode 100644 index 0000000000000000000000000000000000000000..e9526df008aa3c69e15c61b087b53669d9dc7d17 GIT binary patch literal 3014 zcmb7G_dnZ>6aN^scTuGxY863Ss!wC3YR9S(v8#QIRM9?mt(X;CYt-g3Vv7}{rM9XT zMG!GdtqP?|h4A(L6P_RL?sf0GpYC<<_Z`O6SeKnekOcq$c6~i9vy0eyVd_k@7hbST zndc(Vd28xhFflQamQ9ubfHhQK>%K)mE;&2M!dw?L7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m%qCwM4uOHdeG4kAdmin
    {% for s in startups %}
  • - - -
    - / -
    - -
    - -
    -
    - - Upload new logo -
    -
    - -
    - +

    @@ -54,48 +35,5 @@

    Admin

    {% block script %} - - - {% endblock %} diff --git a/foundedin/templates/index.html b/foundedin/templates/index.html index 085cc34..bf5aa22 100644 --- a/foundedin/templates/index.html +++ b/foundedin/templates/index.html @@ -100,6 +100,9 @@

    {{s.q1}}

  • {% endfor %}
+ {% if next_curs %} + See more + {% endif %} {% endblock %} {% block join %}
diff --git a/foundedin/templates/mailer.html b/foundedin/templates/mailer.html index ec65d18..e4c8e69 100644 --- a/foundedin/templates/mailer.html +++ b/foundedin/templates/mailer.html @@ -5,7 +5,7 @@ - @@ -88,7 +91,43 @@

+ + {% block feature %} + {% if features %} +
+ +
+ + {% endif %} + {% endblock %} {% block companies %} +
+ +
    {% for s in startups %}
  • @@ -264,13 +303,6 @@

    Become an

    {% endif %} {% endif %} - Foundedx @@ -423,16 +455,9 @@

    Become an

    - + {% if settings.ga %} + {{settings.ga|safe}} + {% endif %} - + + +
    @@ -249,8 +308,8 @@

    Startups

    -

    Become an

    - early adopter +

    Join our

    + Mailing List
    @@ -275,12 +334,6 @@

    Become an

-

- Share your email address with us and become an early adopter, we'll contact you if there are any exciting opportunities that our startups offer. -

-

- We will only share your email address with startups we feel are trustworthy and can offer exciting opportunities to consumers, you will be able to unsubscribe at any time. -

@@ -314,6 +367,13 @@

Become an

+ + +