Commit Graph

459 Commits (2387e00ca813ef889977683d2f0580754c33b042)

Author SHA1 Message Date
Tyler McIntyre dfc5a2c435 stripe API added 2014-03-31 16:00:51 -04:00
Brian Ridings 096e4d4d71 Merged view 2014-03-28 13:46:04 -04:00
Brian Ridings f88a09081f Changed Varable from token to _csrf 2014-03-28 13:40:55 -04:00
Brian Ridings 205318ea42 Change token to _csrf 2014-03-28 10:38:29 -04:00
Brian Ridings 9587150e7b Change token to _csrf 2014-03-28 10:38:04 -04:00
Brian Ridings eb0332609c CSRF token to headers for AJAX POST. Fix for #113
This is how you do a JS post with the CSRF Protection

```
$.ajax({
url: "http://test.com",
type:"post"
headers: {'X-CSRF-Token': $('meta[name="csrf-token"]').attr('content')}})
```
2014-03-27 14:09:13 -04:00
Sahat Yalkabov 783598398d Updated footer 2014-03-17 03:00:18 -04:00
Sahat Yalkabov 65ae9b18ad PayPal api example refactoring 2014-03-16 14:07:15 -04:00
Sahat Yalkabov b3a47677da Added Google Analytics script 2014-03-09 13:53:12 -04:00
Sahat Yalkabov e8365c7321 Removed .row from login form 2014-03-07 14:42:37 -05:00
Sahat Yalkabov d6020beebb Updated footer 2014-03-07 14:02:38 -05:00
Sahat Yalkabov 9396ff1b69 Removed login required text from Paypal api link (false) 2014-03-06 03:03:27 -05:00
Sahat Yalkabov c046c990b7 Updated button text to Change Password 2014-03-06 02:48:59 -05:00
Sahat Yalkabov aa1b9dbc26 Removed hacker news logo 2014-03-06 02:47:50 -05:00
Sahat Yalkabov 5fef9092ad Placed single sign-in buttons at the bottom of the login form 2014-03-05 16:41:42 -05:00
Sahat Yalkabov faa0781c06 Changed layout title to Hackathon Starter 2014-03-05 16:26:56 -05:00
Sahat Yalkabov e5cb5607db Consolidated clockwork updates 2014-02-27 19:42:07 -05:00
Sahat Yalkabov 007d561d88 Merge branch 'master' of https://github.com/mediaburst/hackathon-starter into mediaburst-master
* 'master' of https://github.com/mediaburst/hackathon-starter:
  Update README.md
  Using the newest clockwork npm package
  Removed commentted out lines from clockwork.jade
  Tweak to the clockwork view
  Adding clockwork SMS to the API mix

Conflicts:
	controllers/api.js
	package.json
2014-02-27 19:27:11 -05:00
Sahat Yalkabov 53f89c355f Code formatting update 2014-02-27 17:39:18 -05:00
Sahat Yalkabov 582cdf4e54 A bunch of improvements to Linkedin API 2014-02-27 17:29:16 -05:00
Sahat Yalkabov c3320f28f2 Added LinkedIn API example that displays connection and your profile information 2014-02-27 16:51:38 -05:00
Sahat Yalkabov af4a2a33f6 Add link/unlink LinkedIn to profile template 2014-02-27 13:10:50 -05:00
Sahat Yalkabov bf02667e9e Redesigned Login page (now includes Sign in with LinkedIn) 2014-02-27 12:39:51 -05:00
Matt Roberts 3f9d2f3d7d Removed commentted out lines from clockwork.jade 2014-02-27 16:19:55 +00:00
Matt Roberts c78085b73e Merge remote-tracking branch 'upstream/master'
Conflicts:
	package.json
2014-02-27 16:16:13 +00:00
Matt Roberts 675156629d Tweak to the clockwork view 2014-02-27 16:05:23 +00:00
Matt Roberts babcdd3afe Adding clockwork SMS to the API mix 2014-02-24 11:25:51 +00:00
Sahat Yalkabov b0daedd3a6 Updated login template 2014-02-18 03:49:31 -05:00
Sahat Yalkabov 85ab327432 Renamed forgot password link 2014-02-18 03:10:46 -05:00
Sahat Yalkabov 1a12c07810 Updated reset password template 2014-02-18 03:10:24 -05:00
Sahat Yalkabov ac61a33867 Cleaned up and refactored reset password template 2014-02-18 02:58:16 -05:00
Sahat Yalkabov 89a8b72181 Updated forgot password and login templates 2014-02-17 19:44:51 -05:00
Sahat Yalkabov fcd8773518 Updated login template 2014-02-17 19:36:06 -05:00
Dan Stroot 1faf279877 Added complete password reset function 2014-02-17 10:00:43 -08:00
Sahat Yalkabov d97e05434f Add Facebook profile photo to /me section 2014-02-12 15:06:22 -05:00
Sahat Yalkabov 2d8188c8df UI improvements to "My friends list" on Facebook API page 2014-02-12 14:59:51 -05:00
Sahat Yalkabov f967c5ca20 Added extra profile information on Facebook API page for "/me" 2014-02-12 14:24:31 -05:00
Sahat Yalkabov b6391fccf8 Merge branch 'add-mailgun' of https://github.com/leemunroe/hackathon-starter into leemunroe-add-mailgun
* 'add-mailgun' of https://github.com/leemunroe/hackathon-starter:
  Add Nodemailer and Mailgun option for contact form
2014-02-11 10:32:14 -05:00
Sahat Yalkabov 82bf9df29d Add login required label on Vemo link 2014-02-11 08:29:00 -05:00
Sahat Yalkabov 3b570cd9e0 Minor template cleanup 2014-02-11 08:26:05 -05:00
Sahat Yalkabov 6b7c68c1c6 Fixed a typo and added form placeholders 2014-02-11 08:24:04 -05:00
Sahat Yalkabov c5a73443d6 Fixed typo and added payment.target.user to recentPayments table in case User ID was used instead of email or phone # to send a payment 2014-02-11 08:14:50 -05:00
Sahat Yalkabov 241baf179a Add venmo recent payments 2014-02-11 08:04:20 -05:00
Sahat Yalkabov 5275607bdb Add send a payment form, route and controller for Venmo API 2014-02-10 23:55:32 -05:00
Sahat Yalkabov 86801331a3 Added make payment form for Venmo API 2014-02-10 22:16:18 -05:00
Sahat Yalkabov fa96ffde30 Update textfield type for Name 2014-02-10 22:12:19 -05:00
Sahat Yalkabov 2ccd46e69b Add Venmo template 2014-02-10 22:03:02 -05:00
Sahat Yalkabov 45613cda0e Add venmo authorize, callback and API urls, and a corresponding Venmo controller 2014-02-10 19:21:54 -05:00
Lee Munroe c46c321978 Add Nodemailer and Mailgun option for contact form 2014-02-10 13:32:38 -08:00
Sahat Yalkabov 7c79609659 Merge branch 'seafoodbuffet-configurable_auth'
* seafoodbuffet-configurable_auth:
  Replaced tabs to spaces
  Converted tabs to spaces
  enable localAuth
  introduce configurable login providers to selectively show/hide different login methods
2014-02-10 11:27:18 -05:00
Sahat Yalkabov 414b0483ca Replaced tabs to spaces 2014-02-10 11:20:14 -05:00
Sahat Yalkabov b85954b62f Converted tabs to spaces 2014-02-10 11:16:31 -05:00
Sahat Yalkabov 0d4f2ae8fd Merge branch 'master' of https://github.com/JahlomP/hackathon-starter into JahlomP-master
* 'master' of https://github.com/JahlomP/hackathon-starter:
  Replaced hardcoded success flash with express-flash
2014-02-10 10:58:31 -05:00
Cheng Zhou 9d9f9c926c merge from upstream 2014-02-07 23:08:11 -06:00
Sahat Yalkabov 517e2f13d2 Removed form-control and form-group classes from CSRF inputs. Placed them at the top right after form block for consistency 2014-02-07 23:45:24 -05:00
Sahat Yalkabov 1143ac4320 Add CSRF input to Account Delete form. 2014-02-07 23:41:15 -05:00
Sahat Yalkabov fab3c1455d Pass size of 60px to gravatar function from navbar. Since it won't be larger than that, no point loading a larger 200px image and then shrinking it. 60px already takes into consideration retina displays. The actual size of avatar is 30px. 2014-02-07 09:53:48 -05:00
Precious Jahlom Agboado de3d62b66b Replaced hardcoded success flash with express-flash 2014-02-07 08:04:22 +00:00
Cheng Zhou ed70466c43 introduce configurable login providers to selectively show/hide different login methods 2014-02-06 21:52:49 -06:00
Sahat Yalkabov aec3807d34 Updated docs button group on Twilio page.
Pass err.message instead of error object to the middleware.
2014-02-06 08:33:37 -05:00
Sahat Yalkabov a34dabbc68 Added Twilio POST route and controller 2014-02-06 08:09:54 -05:00
Sahat Yalkabov 41cfc59cda Added Twilio API template, controller and route; + twilio library. 2014-02-06 07:46:47 -05:00
Sahat Yalkabov 2475825c9b Responsive forms on User profile page. Fixes #58. 2014-02-06 04:40:13 -05:00
Sahat Yalkabov 78b27a4841 Updated API index page 2014-02-06 04:07:12 -05:00
Sahat Yalkabov f34e5d57dc Changed playerSummaries to playerSummary since i am only getting information a single Steam ID 2014-02-06 03:54:26 -05:00
Sahat Yalkabov 6fcdabb1b4 Added profile information, avatar, login status, and other nice improvements on Steam page 2014-02-06 03:51:06 -05:00
Sahat Yalkabov 888f4eb86a Include free games in getOwnedGames, added custom thumbnail hover effect 2014-02-06 02:51:16 -05:00
Sahat Yalkabov 0774772dcd Add owned games thumbnails 2014-02-05 23:27:13 -05:00
Sahat Yalkabov 73411a03b0 Merge branch 'KarlJakober-master'
* KarlJakober-master:
  Add profile information and owned games to Steam template
  Steam API template display achievements
  Steam API code refactoring, added ownedGames API call
  removes steam auth, sets up steam api requests in async
  Adds Steam auth and API

Conflicts:
	views/api/index.jade
#
# It looks like you may be committing a merge.
# If this is not correct, please remove the file
#	.git/MERGE_HEAD
# and try again.

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch master
# All conflicts fixed but you are still merging.
#   (use "git commit" to conclude merge)
#
# Changes to be committed:
#
#	modified:   README.md
#	modified:   app.js
#	modified:   config/passport.js
#	modified:   config/secrets.js
#	modified:   controllers/api.js
#	modified:   models/User.js
#	new file:   views/api/steam.jade
#
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#	modified:   config/passport.js
#	modified:   config/secrets.js
#	modified:   models/User.js
#	modified:   views/api/index.jade
#
2014-02-05 19:45:05 -05:00
Sahat Yalkabov 38296e38b1 Merge branch 'KarlJakober-master'
* KarlJakober-master:
  Add profile information and owned games to Steam template
  Steam API template display achievements
  Steam API code refactoring, added ownedGames API call
  removes steam auth, sets up steam api requests in async
  Adds Steam auth and API

Conflicts:
	views/api/index.jade
2014-02-05 19:44:54 -05:00
Sahat Yalkabov aa3e6e6a67 Add profile information and owned games to Steam template 2014-02-05 19:39:31 -05:00
Sahat Yalkabov eedfb77ac6 Steam API template display achievements 2014-02-05 19:30:00 -05:00
Sahat Yalkabov a2f4ffbf2b Merge branch 'master' of https://github.com/KarlJakober/hackathon-starter into KarlJakober-master
* 'master' of https://github.com/KarlJakober/hackathon-starter:
  removes steam auth, sets up steam api requests in async
2014-02-05 17:13:43 -05:00
Karl Jakober 1687440588 removes steam auth, sets up steam api requests in async 2014-02-05 21:04:02 +00:00
Sahat Yalkabov a86326c40c Placed lock icon outside of URL 2014-02-05 12:53:30 -05:00
Sahat Yalkabov 20621d535d Merge branch 'master' of https://github.com/KarlJakober/hackathon-starter into KarlJakober-master
* 'master' of https://github.com/KarlJakober/hackathon-starter:
  Adds Steam auth and API
2014-02-05 12:26:23 -05:00
Sahat Yalkabov e4d3fba68b Radio button text wrapped with span tag 2014-02-05 12:11:20 -05:00
Karl Jakober aa36ad9fbb Adds Steam auth and API 2014-02-05 16:37:48 +00:00
Abimael Martell adedc05b54 fix form inputs labels
some form inputs has a wrong "for" attribute
2014-02-04 09:24:04 -08:00
Sahat Yalkabov 61e95b582b Merge branch 'patch-1' of https://github.com/GeneralZero/hackathon-starter into GeneralZero-patch-1
* 'patch-1' of https://github.com/GeneralZero/hackathon-starter:
  Update profile.jade
  Readded newline
  Removed extra app.use(express.csrf());
  Removed dynamicHelpers comment
  Changed Views to accept CSRF token
  Added CSRF Protection to all form views
  Add CSRF Security measures on login forms

Conflicts:
	views/account/profile.jade
2014-02-04 00:37:32 -05:00
Sahat Yalkabov 0b89b41376 Display gravatar if no profile image is present 2014-02-03 19:12:21 -05:00
Sahat Yalkabov cf4b87988b Add icons to buttons on account page 2014-02-03 18:54:43 -05:00
Sahat Yalkabov 09ef5201e5 Made gravatar consistent with the rest of the form in Profile Information section 2014-02-03 18:51:19 -05:00
Daniel Mills 8e804c5a1a retro default, better size for xs 2014-02-03 18:18:28 -05:00
Daniel Mills f5ecfc507c add gravatar to profile 2014-02-03 17:50:47 -05:00
Brian Ridings c5199929a5 Update profile.jade 2014-02-03 13:32:13 -05:00
Brian Ridings 1b6aa2e603 Readded newline 2014-02-03 13:31:53 -05:00
Brian Ridings c99c8fe1f8 Changed Views to accept CSRF token 2014-02-03 13:08:34 -05:00
Brian Ridings f9ec861151 Added CSRF Protection to all form views 2014-02-03 13:02:24 -05:00
Sahat Yalkabov abd06d56c5 Removed blank lines 2014-02-03 09:25:33 -05:00
Ignazio Setti defa74f022 Use asset concatenation functions for loading styles and scripts inside layout file 2014-02-03 08:36:24 -05:00
Sahat Yalkabov 2412559ca7 Updated default style 2014-02-01 02:07:30 -05:00
Sahat Yalkabov f3a6cc4a89 Added lock icons instead of login required text 2014-02-01 01:58:40 -05:00
Sahat Yalkabov 8e17019208 Updated bootstrap and jquery references in layout 2014-02-01 01:33:45 -05:00
Sahat Yalkabov 77332fd641 Added fa icons to navbar 2014-02-01 01:32:36 -05:00
Sahat Yalkabov 6934aa1f98 Include CSS files inside styles.less, reduces number of HTTP requests 2014-01-31 00:29:29 -05:00
Sahat Yalkabov c5638ef5d2 Removed forgot password template and link on login page. 2014-01-29 19:40:40 -05:00
Sahat Yalkabov e9830325cd Update to Flip in X animation on home page success alert 2014-01-29 02:27:40 -05:00
Sahat Yalkabov 066bdd4f12 Display user email if Full Name is not present 2014-01-28 23:43:01 -05:00
Sahat Yalkabov a98844493a Removed .lead class from the list of APIs 2014-01-28 22:59:48 -05:00
Sahat Yalkabov 471f53f28b Added .profile-image class to an image in navbar to make it more explicit and easier to style 2014-01-28 22:49:23 -05:00
Sahat Yalkabov 12ee6a6b9d Add help-block with "Forgot your password" 2014-01-28 18:58:23 -05:00
Sahat Yalkabov 83fd4cc2a1 Add Forgot Password view 2014-01-28 18:57:58 -05:00
Sahat Yalkabov 717e47d52d Merge pull request #16 from williamle8300/patch-1
Fixed spelling typo: "irreversible"
2014-01-28 14:54:23 -08:00
Sahat Yalkabov 666a70a50e Update contact page to work with express-flash 2014-01-28 17:44:25 -05:00
Sahat Yalkabov 45d0c35f9d Update flash notifications on login, profile, signup pages to work with new express-flash 2014-01-28 17:41:13 -05:00
williamle8300 7890b38c28 Fixed spelling typo: "irreversible" 2014-01-28 14:35:44 -08:00
Ignazio Setti 32f64b3a92 Split the view into partials 2014-01-28 20:03:41 +01:00
Sahat Yalkabov 639db23067 Static content caching 2014-01-28 01:45:45 -05:00
Tim Messerschmidt 12d402f8fb Adds view for PayPal SDK sample 2014-01-27 12:21:43 -08:00
Tim Messerschmidt 3ca51fbbc4 Adds PayPal to the API browser 2014-01-27 11:36:59 -08:00
Sahat Yalkabov 839f91488a Fixed animation and data-dismiss on profile flash messages 2014-01-27 07:56:47 -05:00
Sahat Yalkabov 37fcec2221 Removed flat-ui-radios.js script call. 2014-01-27 07:56:30 -05:00
Sahat Yalkabov 802d685ee8 Add Login required text on some api links 2014-01-26 17:29:19 -05:00
Sahat Yalkabov ab09056976 Add sticky footer 2014-01-24 02:14:40 -05:00
Sahat Yalkabov 930aab7046 Update login and contact templates 2014-01-23 22:48:24 -05:00
Sahat Yalkabov be73f9c62f Add express validators to signup page, replaces custom written if statements 2014-01-23 22:39:59 -05:00
Sahat Yalkabov 76475411d1 Add contact page server side validation assertions using express-validator 2014-01-23 22:19:18 -05:00
Sahat Yalkabov 4af06e9169 Update button styles on login, signup, contact pages. Added font-awesome icons to them. 2014-01-23 21:42:52 -05:00
Sahat Yalkabov 8b81e3ef98 Removed flat-ui checkbox and radiobox 2014-01-23 21:36:10 -05:00
Sahat Yalkabov c1a0ea04e9 Add required fields on contact form 2014-01-23 21:34:41 -05:00
Sahat Yalkabov 6551020051 Update page header on contacts page 2014-01-23 20:36:41 -05:00
Sahat Yalkabov 4e1d5e5b06 Added dropdown menu on navbar, when clicked displays My Account and Logout links 2014-01-23 20:35:19 -05:00
Sahat Yalkabov faf23272a9 Add animte.css and fadeIn animations on alerts 2014-01-23 18:31:22 -05:00
Sahat Yalkabov 2a7c12d6ce Updated facebook page styling 2014-01-17 16:24:33 -05:00
Sahat Yalkabov 2a3955e25f Updated css styling on Twitter API page 2014-01-17 16:21:46 -05:00
Sahat Yalkabov 38245ccfb8 Code cleanup, updated jsdoc comments, added missing "next" error middleware to api.js controllers. 2014-01-13 04:24:31 -05:00
Sahat Yalkabov 0e82538dd3 Updated 404 page.
Deleted 500 page.
Switched to default Connect's expressHandler() that show stack trace.
2014-01-08 00:41:56 -05:00
Sahat Yalkabov 7e6dc8fefa Got rid of datatables.
Cleanup and refactoring.
2014-01-07 18:47:16 -05:00
Sahat Yalkabov dd9de5c4d0 removed requried=true attributes from inputs 2014-01-07 18:09:56 -05:00
Sahat Yalkabov 1837f558cb Updated navbar username display 2014-01-07 16:33:18 -05:00
Sahat Yalkabov b14eb88849 Email input fields set type to email 2014-01-07 16:32:59 -05:00
Sahat Yalkabov 8cb6f5e997 Minor changes on profile page 2014-01-07 15:55:56 -05:00
Sahat Yalkabov 09fb21b87a Simplified sign up form. Removed name. Changed username to email. 2014-01-07 15:54:57 -05:00
Sahat Yalkabov bedc91a25d Updated form name and id to email 2014-01-07 15:54:01 -05:00
Sahat Yalkabov d822249a2d Added unlink provider name to URLs 2014-01-07 14:37:23 -05:00
Sahat Yalkabov ae2b31c1fe Consolidated profile and settings tab onto a single page 2014-01-07 14:23:29 -05:00
Sahat Yalkabov 7e1db0e455 Top level index layout renamed to home 2014-01-07 13:39:58 -05:00
Sahat Yalkabov 72dd19c6f9 Moved api browser template into api folder, renamed to index.jade 2014-01-07 13:39:25 -05:00
Sahat Yalkabov 41f6b1c5f0 Renamed template account to profile 2014-01-07 13:37:13 -05:00
Sahat Yalkabov 6ad1073f7c Consolidated account login and signup templates under account folder 2014-01-07 13:36:44 -05:00
Sahat Yalkabov 5261bfef5f Changed to doctype html on 500 and 404 pages 2014-01-03 04:48:44 -05:00
Sahat Yalkabov a72900a5e1 Changed to doctype html 2014-01-03 04:47:31 -05:00
Sahat Yalkabov cd9b190d16 Added name field to signup, removed "I agree to terms" 2013-12-20 16:30:38 -05:00
Sahat Yalkabov 30a610be2c Cleaned up code + simplified 2013-12-20 14:12:29 -05:00
Sahat Yalkabov 2f0fe0eb27 Add authentication middleware to github route.
Removed old ios7 signup login page for now.
2013-12-20 02:39:51 -05:00
Sahat Yalkabov c6fddb33f5 Updated color scheme (green, node.js style) on 404 and 500 error pages 2013-12-20 00:26:55 -05:00
Sahat Yalkabov b4f1df3d18 Added error handling middleware that catches all errors. Also added 500.jade template for a user-friendly error template. 2013-12-19 13:53:00 -05:00
Sahat Yalkabov efa84dba1b Removed unusued code and images 2013-12-19 13:16:32 -05:00
Sahat Yalkabov b0390941f1 Input icon checkmark on signup page (username field) for live check if username is available 2013-12-18 14:56:48 -05:00