Permalink
Browse files

Commit all code

  • Loading branch information...
pderksen committed Mar 26, 2017
1 parent fffd90e commit 2581dc0fe64d9ff1152e61b1b6abdacc36d9a420
Showing with 19,595 additions and 0 deletions.
  1. +29 −0 code/Attributes/IsPostedFromThisSiteAttribute.cs
  2. +519 −0 code/Controllers/AccountController.cs
  3. +118 −0 code/Controllers/HomeController.cs
  4. +68 −0 code/Controllers/ItemController.cs
  5. +374 −0 code/Controllers/ListController.cs
  6. +32 −0 code/Controllers/MobileAppController.cs
  7. +21 −0 code/Controllers/MobileWebController.cs
  8. +150 −0 code/Controllers/SectionController.cs
  9. +3 −0 code/Default.aspx
  10. +22 −0 code/Default.aspx.cs
  11. +1 −0 code/Global.asax
  12. +92 −0 code/Global.asax.cs
  13. +56 −0 code/Helpers/EmailHelper.cs
  14. +31 −0 code/Helpers/MembershipHelper.cs
  15. +30 −0 code/Helpers/MiscUtils.cs
  16. +52 −0 code/Helpers/MobileUtils.cs
  17. +18 −0 code/Helpers/StringHelper.cs
  18. +33 −0 code/Helpers/UIHelper.cs
  19. +22 −0 code/MobileAppShell/ajax.html
  20. +90 −0 code/MobileAppShell/index.html
  21. +373 −0 code/MobileAppShell/jqtouch/jqtouch.css
  22. +634 −0 code/MobileAppShell/jqtouch/jqtouch.js
  23. +1 −0 code/MobileAppShell/jqtouch/jqtouch.min.css
  24. +1 −0 code/MobileAppShell/jqtouch/jqtouch.min.js
  25. +60 −0 code/MobileAppShell/jqtouch/jqtouch.transitions.js
  26. BIN code/MobileAppShell/jqtouch/themes/apple/img/actionButton.png
  27. BIN code/MobileAppShell/jqtouch/themes/apple/img/backButton.png
  28. BIN code/MobileAppShell/jqtouch/themes/apple/img/blueButton.png
  29. BIN code/MobileAppShell/jqtouch/themes/apple/img/cancel.png
  30. BIN code/MobileAppShell/jqtouch/themes/apple/img/chevron.png
  31. BIN code/MobileAppShell/jqtouch/themes/apple/img/grayButton.png
  32. BIN code/MobileAppShell/jqtouch/themes/apple/img/greenButton.png
  33. BIN code/MobileAppShell/jqtouch/themes/apple/img/listArrowSel.png
  34. BIN code/MobileAppShell/jqtouch/themes/apple/img/listGroup.png
  35. BIN code/MobileAppShell/jqtouch/themes/apple/img/loading.gif
  36. BIN code/MobileAppShell/jqtouch/themes/apple/img/on_off.png
  37. BIN code/MobileAppShell/jqtouch/themes/apple/img/pinstripes.png
  38. BIN code/MobileAppShell/jqtouch/themes/apple/img/redButton.png
  39. BIN code/MobileAppShell/jqtouch/themes/apple/img/selection.png
  40. BIN code/MobileAppShell/jqtouch/themes/apple/img/thumb.png
  41. BIN code/MobileAppShell/jqtouch/themes/apple/img/toggle.png
  42. BIN code/MobileAppShell/jqtouch/themes/apple/img/toggleOn.png
  43. BIN code/MobileAppShell/jqtouch/themes/apple/img/toolButton.png
  44. BIN code/MobileAppShell/jqtouch/themes/apple/img/toolbar.png
  45. BIN code/MobileAppShell/jqtouch/themes/apple/img/whiteButton.png
  46. +677 −0 code/MobileAppShell/jqtouch/themes/apple/theme.css
  47. +1 −0 code/MobileAppShell/jqtouch/themes/apple/theme.min.css
  48. BIN code/MobileAppShell/jqtouch/themes/jqt/img/activeButton.png
  49. BIN code/MobileAppShell/jqtouch/themes/jqt/img/back_button.png
  50. BIN code/MobileAppShell/jqtouch/themes/jqt/img/back_button_clicked.png
  51. BIN code/MobileAppShell/jqtouch/themes/jqt/img/blueButton.png
  52. BIN code/MobileAppShell/jqtouch/themes/jqt/img/button.png
  53. BIN code/MobileAppShell/jqtouch/themes/jqt/img/button_clicked.png
  54. BIN code/MobileAppShell/jqtouch/themes/jqt/img/chevron.png
  55. BIN code/MobileAppShell/jqtouch/themes/jqt/img/chevron_circle.png
  56. BIN code/MobileAppShell/jqtouch/themes/jqt/img/grayButton.png
  57. BIN code/MobileAppShell/jqtouch/themes/jqt/img/greenButton.png
  58. BIN code/MobileAppShell/jqtouch/themes/jqt/img/loading.gif
  59. BIN code/MobileAppShell/jqtouch/themes/jqt/img/on_off.png
  60. BIN code/MobileAppShell/jqtouch/themes/jqt/img/redButton.png
  61. BIN code/MobileAppShell/jqtouch/themes/jqt/img/rowhead.png
  62. BIN code/MobileAppShell/jqtouch/themes/jqt/img/toggle.png
  63. BIN code/MobileAppShell/jqtouch/themes/jqt/img/toggleOn.png
  64. BIN code/MobileAppShell/jqtouch/themes/jqt/img/toolbar.png
  65. BIN code/MobileAppShell/jqtouch/themes/jqt/img/whiteButton.png
  66. +527 −0 code/MobileAppShell/jqtouch/themes/jqt/theme.css
  67. +1 −0 code/MobileAppShell/jqtouch/themes/jqt/theme.min.css
  68. +1 −0 code/MobileAppShell/main.css
  69. +58 −0 code/MobileAppShell/main.js
  70. +76 −0 code/Models/ItemRepository.cs
  71. +55 −0 code/Models/ListRepository.cs
  72. +32 −0 code/Models/OutOfEggs.dbml
  73. +38 −0 code/Models/OutOfEggs.dbml.layout
  74. +639 −0 code/Models/OutOfEggs.designer.cs
  75. +127 −0 code/Models/SectionRepository.cs
  76. +377 −0 code/OutOfEggs.csproj
  77. +35 −0 code/Properties/AssemblyInfo.cs
  78. +16 −0 code/Test/TestEmail.aspx
  79. +49 −0 code/Test/TestEmail.aspx.cs
  80. +27 −0 code/Test/TestEmail.aspx.designer.cs
  81. +178 −0 code/Test/base.css
  82. +160 −0 code/Test/home.html
  83. +203 −0 code/Test/list.css
  84. +1,885 −0 code/Test/list.html
  85. +14 −0 code/Test/print.html
  86. +38 −0 code/Test/test1.html
  87. +103 −0 code/Test/test2.css
  88. +55 −0 code/Test/test2.html
  89. +36 −0 code/Test/tumblr style drop down menu.htm
  90. +57 −0 code/Views/Account/ChangePassword.aspx
  91. +49 −0 code/Views/Account/ForgotPassword.aspx
  92. +60 −0 code/Views/Account/LogIn.aspx
  93. +40 −0 code/Views/Account/Profile.aspx
  94. +68 −0 code/Views/Account/Register.aspx
  95. +35 −0 code/Views/Account/Settings.aspx
  96. +68 −0 code/Views/Home/About.aspx
  97. +67 −0 code/Views/Home/Contact.aspx
  98. +130 −0 code/Views/Home/Index.aspx
  99. +37 −0 code/Views/Home/Privacy.aspx
  100. +23 −0 code/Views/Home/Terms.aspx
  101. +142 −0 code/Views/Home/Tour.aspx
  102. +25 −0 code/Views/Item/Details.aspx
  103. +11 −0 code/Views/List/ColumnContent.ascx
  104. +61 −0 code/Views/List/Create.aspx
  105. +42 −0 code/Views/List/Delete.aspx
  106. +68 −0 code/Views/List/Details.aspx
  107. +73 −0 code/Views/List/Index.aspx
  108. +99 −0 code/Views/List/ListHeader.ascx
  109. +123 −0 code/Views/List/ListHeader2.ascx
  110. +15 −0 code/Views/List/ListHelp.ascx
  111. +65 −0 code/Views/List/Print.aspx
  112. +13 −0 code/Views/List/SectionAddButtons.ascx
  113. +6 −0 code/Views/List/SingleListSummary.ascx
  114. +32 −0 code/Views/List/Top.aspx
  115. +9 −0 code/Views/List/UserLists.ascx
  116. BIN code/Views/Mobile folder 2010.04.26.zip
  117. +11 −0 code/Views/MobileApp/TopLists.ascx
  118. +49 −0 code/Views/MobileWeb/iPhone.aspx
  119. +20 −0 code/Views/Section/Details.aspx
  120. +11 −0 code/Views/Shared/Error.aspx
  121. +9 −0 code/Views/Shared/FlashMsg.ascx
  122. +14 −0 code/Views/Shared/FlashMsgFade.ascx
  123. +23 −0 code/Views/Shared/GoogleTrackingCode.ascx
  124. +5 −0 code/Views/Shared/IE6upgrade.ascx
  125. +32 −0 code/Views/Shared/MainFooter.ascx
  126. +43 −0 code/Views/Shared/MainHeader.ascx
  127. +65 −0 code/Views/Shared/Other.Master
  128. +9 −0 code/Views/Shared/RecentBlogPosts.ascx
  129. +12 −0 code/Views/Shared/RecentTweets.ascx
  130. +12 −0 code/Views/Shared/SignUpFooter1.ascx
  131. +13 −0 code/Views/Shared/SignUpFooter2.ascx
  132. +11 −0 code/Views/Shared/SignUpSmall.ascx
  133. +13 −0 code/Views/Shared/SingleItem.ascx
  134. +58 −0 code/Views/Shared/SingleSection.ascx
  135. +19 −0 code/Views/Shared/SingleSectionPrint.ascx
  136. +38 −0 code/Views/Shared/TopNav.ascx
  137. +24 −0 code/Views/Shared/UserVoiceFeedbackCode.ascx
  138. +34 −0 code/Views/Web.config
  139. +228 −0 code/Web.config
  140. +231 −0 code/Web.config.prod
  141. +238 −0 code/Web.config.test
  142. BIN code/bin/Elmah.dll
  143. BIN code/bin/Microsoft.Web.Mvc.dll
  144. +1 −0 code/css/960/960.css
  145. +1 −0 code/css/960/reset.css
  146. +1 −0 code/css/960/text.css
  147. +611 −0 code/css/960/uncompressed/960.css
  148. +53 −0 code/css/960/uncompressed/reset.css
  149. +84 −0 code/css/960/uncompressed/text.css
  150. BIN code/css/alert-overlay.png
  151. +430 −0 code/css/base.css
  152. +491 −0 code/css/fluid960/grid.css
  153. +31 −0 code/css/fluid960/ie.css
  154. +31 −0 code/css/fluid960/ie6.css
  155. +520 −0 code/css/fluid960/layout.css
  156. +167 −0 code/css/fluid960/nav.css
  157. +8 −0 code/css/hideImages.css
  158. +159 −0 code/css/home.css
  159. +458 −0 code/css/list.css
  160. +3 −0 code/css/list.ie7.css
  161. +49 −0 code/css/mobile_iPhone.css
  162. +2 −0 code/css/mobile_plain.css
  163. +94 −0 code/css/old/awesome-buttons.css
  164. +40 −0 code/css/old/awesome-buttons2.css
  165. +26 −0 code/css/old/list.readonly.css
  166. +452 −0 code/css/old/ooe.base.css
  167. +390 −0 code/css/old/ooe.list.css
  168. +361 −0 code/css/old/ooe.main.css
  169. +464 −0 code/css/old/unused.css
  170. +378 −0 code/css/other.css
  171. +71 −0 code/css/print.css
  172. +7 −0 code/css/printExtras.css
  173. BIN code/favicon.ico
  174. BIN code/img/home/background-column-left.png
  175. BIN code/img/home/background-column-middle.png
  176. BIN code/img/home/background-column-right.png
  177. BIN code/img/home/btn-signup.gif
  178. BIN code/img/home/img-main.png
  179. BIN code/img/home/nav-main.png
  180. BIN code/img/home/quote-left.png
  181. BIN code/img/home/quote-right.png
  182. BIN code/img/icons/add.png
  183. BIN code/img/icons/facebook16.png
  184. BIN code/img/icons/facebook24.png
  185. BIN code/img/icons/feed16.png
  186. BIN code/img/icons/feed24.png
  187. BIN code/img/icons/help.png
  188. BIN code/img/icons/key.png
  189. BIN code/img/icons/page_copy.png
  190. BIN code/img/icons/printer.png
  191. BIN code/img/icons/twitter16.png
  192. BIN code/img/icons/twitter24.png
  193. BIN code/img/list/btn-close.gif
  194. BIN code/img/list/nav-list.png
  195. BIN code/img/list/section-bottom.png
  196. BIN code/img/list/section-gradient.png
  197. BIN code/img/list/section-title-top.png
  198. BIN code/img/list/section-top.png
  199. BIN code/img/misc/gradient-tile.png
  200. BIN code/img/misc/indicator.gif
  201. BIN code/img/misc/login-account-underlay.png
  202. BIN code/img/misc/logo-main.png
  203. BIN code/img/misc/logo-print.png
  204. BIN code/img/misc/ooe-avatar.png
  205. BIN code/img/misc/phil-avatar.jpg
  206. BIN code/img/misc/tour1.png
  207. BIN code/img/misc/tour2.png
  208. BIN code/img/misc/tour3.png
  209. BIN code/img/misc/tour4.png
  210. BIN code/img/misc/tour5.png
  211. BIN code/img/misc/tour6.png
  212. BIN code/img/old/list_corner_1.png
  213. BIN code/img/old/screenshot_home_main.png
  214. BIN code/img/old/screenshot_home_step1.png
  215. BIN code/img/old/screenshot_home_step2.png
  216. BIN code/img/old/screenshot_home_step3.png
  217. BIN code/img/old/tour1.png
  218. BIN code/img/old/tour2.png
  219. BIN code/img/old/tour3_4.png
  220. BIN code/img/old/tour5.png
  221. BIN code/img/old/tour6.png
  222. BIN code/img/old/tour7_8.png
  223. +71 −0 code/js/base.js
  224. +4 −0 code/js/changePassword.js
  225. +4 −0 code/js/forgotPassword.js
  226. +14 −0 code/js/ie6/ie6.html
  227. +8 −0 code/js/ie6/ie6.js
  228. +50 −0 code/js/list.base.js
  229. +9 −0 code/js/list.create.js
  230. +7 −0 code/js/list.delete.js
  231. +516 −0 code/js/list.editable.js
  232. +10 −0 code/js/list.index.js
  233. +28 −0 code/js/list.readonly.js
  234. +4 −0 code/js/login.js
  235. +1 −0 code/js/mobile_iPhone.js
  236. +63 −0 code/js/old/unused.js
  237. +6 −0 code/js/other.js
  238. +477 −0 code/js/plugins/jquery.blockUI.js
  239. +97 −0 code/js/plugins/jquery.cookie.js
  240. +117 −0 code/js/plugins/jquery.elastic.js
  241. +1 −0 code/js/plugins/jquery.elastic.min.js
  242. +665 −0 code/js/plugins/jquery.form.js
  243. +543 −0 code/js/plugins/jquery.jeditable.js
  244. +38 −0 code/js/plugins/jquery.jeditable.min.js
  245. +226 −0 code/js/plugins/jquery.livequery.js
  246. +215 −0 code/js/plugins/jquery.scrollTo.js
  247. +11 −0 code/js/plugins/jquery.scrollTo.min.js
  248. +20 −0 code/js/plugins/jquery.tools.min.js
  249. +104 −0 code/js/plugins/jquery.twitter.js
  250. +13 −0 code/js/recentTweets.js
  251. +4 −0 code/js/register.js
  252. +8 −0 code/js/tour.js
@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace OutOfEggs.Attributes
{
//Make sure request is coming from this site
public class IsPostedFromThisSiteAttribute : ActionFilterAttribute
{
public override void OnActionExecuting(ActionExecutingContext filterContext)
{
if (filterContext.HttpContext != null)
{
if (filterContext.HttpContext.Request.UrlReferrer == null)
{
throw new System.Web.HttpException("Invalid submission");
}
if (filterContext.HttpContext.Request.UrlReferrer.Host != filterContext.HttpContext.Request.Url.Host)
{
throw new System.Web.HttpException("This form wasn't submitted from this site!");
}
}
base.OnActionExecuting(filterContext);
}
}
}
Oops, something went wrong.

0 comments on commit 2581dc0

Please sign in to comment.