├── .htaccess ├── app ├── Listeners │ └── .gitkeep ├── Policies │ └── .gitkeep ├── Http │ ├── Controllers │ │ ├── Apiv2 │ │ │ ├── EventsController.php │ │ │ └── UsersController.php │ │ ├── Api │ │ │ ├── Health.php │ │ │ ├── Application.php │ │ │ ├── TokenController.php │ │ │ ├── Stats.php │ │ │ ├── Batches.php │ │ │ └── UserController.php │ │ └── Manage │ │ │ ├── Batch │ │ │ ├── StatusController.php │ │ │ ├── DirectoryController.php │ │ │ ├── FinancesController.php │ │ │ ├── ChangeController.php │ │ │ ├── CsvController.php │ │ │ ├── NewsController.php │ │ │ └── SendSmsController.php │ │ │ ├── Tools │ │ │ ├── TidbitsController.php │ │ │ └── PreviewController.php │ │ │ ├── DayOf │ │ │ ├── DeckController.php │ │ │ ├── CodeCupController.php │ │ │ └── SupportCallsController.php │ │ │ ├── Docs │ │ │ └── ModelController.php │ │ │ ├── Debug │ │ │ └── QueueController.php │ │ │ ├── Event │ │ │ ├── SubscriptionsController.php │ │ │ └── OverviewController.php │ │ │ └── Settings │ │ │ └── SmsController.php │ ├── events │ │ ├── announcement.php │ │ └── registration.php │ ├── Requests │ │ └── Request.php │ ├── routes │ │ ├── 910-docs.php │ │ ├── 000-auth.php │ │ ├── 903-debug.php │ │ ├── 906-phone.php │ │ ├── 850-apiv2.php │ │ ├── 100-email.php │ │ └── 999-dashboard.php │ ├── Middleware │ │ ├── ShareRaygunApiKey.php │ │ ├── ShareSessionErrors.php │ │ ├── EncryptCookies.php │ │ ├── ShareBatch.php │ │ ├── RedirectIfAuthenticated.php │ │ ├── ApiResponse.php │ │ ├── Apiv2Response.php │ │ └── Authenticate.php │ └── Controller.php ├── Events │ └── Event.php ├── Models │ ├── Cronjob.php │ ├── EmailTemplate.php │ ├── SavedQuery.php │ ├── Unsubscribe.php │ ├── FailedJob.php │ ├── Batch │ │ ├── Event │ │ │ ├── Sponsor.php │ │ │ ├── SpecialLink.php │ │ │ ├── Registration │ │ │ │ ├── Device.php │ │ │ │ └── Equipment.php │ │ │ └── Activity.php │ │ └── Supply.php │ ├── TransactionalEmail.php │ ├── EvangelistSms.php │ ├── GiftCard.php │ ├── User │ │ └── Grant.php │ ├── EvangelistSms │ │ └── Sent.php │ ├── Notify.php │ ├── EmailSent.php │ └── Application.php ├── Exceptions │ └── Registration │ │ ├── Exception.php │ │ ├── InvalidValue.php │ │ ├── MissingRequiredField.php │ │ └── Banned.php ├── TwigFilters │ ├── VarDumpFilter.php │ ├── JsonDecodeFilter.php │ ├── LambdaFilter.php │ └── MarkdownFilter.php ├── Providers │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ └── EventServiceProvider.php ├── User.php ├── Console │ ├── Commands │ │ ├── Jobs │ │ │ └── UpdateUsersJob.php │ │ └── DispatchTransactionalEmailsCommand.php │ └── Kernel.php └── Jobs │ └── Job.php ├── database ├── seeds │ └── .gitkeep ├── .gitignore ├── migrations │ ├── 2014_12_31_153305_modify_ticket_id_to_string.php │ ├── 2015_01_27_115048_add_logged_in_at.php │ ├── 2015_08_14_172200_add_sponsor_rev_tracking.php │ ├── 2015_03_29_205719_add_public_notes_to_events.php │ ├── 2015_03_05_174448_add_s5_id_to_promotions.php │ ├── 2016_02_28_194006_add-news.php │ ├── 2015_05_11_134577_create_cronjob_tracking.php │ ├── 2014_12_31_155835_create_failed_jobs_table.php │ ├── 2015_03_05_154607_add_s5_invite_code_to_registrations.php │ ├── 2015_03_05_164935_remove_s5_invite_code_from_registrations.php │ ├── 2017_09_18_005421_add_timestamps_to_oauth_tokens.php │ ├── 2014_10_13_170736_add_notes.php │ ├── 2015_05_21_093940_add_sms_optout.php │ ├── 2015_02_13_180632_add_notice.php │ ├── 2017_03_27_112546_add_coach.php │ ├── 2014_10_30_200312_add_ship_for.php │ ├── 2017_05_19_175713_add-phone.php │ ├── 2014_09_30_174640_add_custom_css.php │ ├── 2017_07_19_193421_add_timestamps_to_devices.php │ ├── 2015_05_26_133115_add_survey_email.php │ ├── 2017_09_18_010800_add_primary_key_to_oauth_tokens.php │ ├── 2016_02_06_133155_add_hide_meals_to_events.php │ ├── 2017_05_18_071658_add-attendee-notes.php │ ├── 2018_02_28_134144_add_venue_agreement.php │ ├── 2014_09_26_171826_add_batch_published.php │ ├── 2014_10_02_170158_add_evangelist.php │ ├── 2015_01_09_150020_add_overflow_events.php │ ├── 2019_02_24_092110_add_tax_paid.php │ ├── 2016_02_12_083912_add_new_ticket_types.php │ ├── 2017_02_10_142245_add_coupon_ticket_types.php │ ├── 2017_05_19_174157_add-on-break.php │ ├── 2016_11_11_081916_add-profile-image.php │ ├── 2017_07_19_162539_recreate_service_column.php │ ├── 2015_04_30_145249_add_certified_evangelist.php │ ├── 2015_05_28_091149_add_support_destination.php │ ├── 2014_10_28_220152_add_checked_in_at.php │ ├── 2015_02_13_120407_add_sponsor_information.php │ ├── 2015_05_11_134581_add_parent_info_optout.php │ ├── 2016_02_29_175700_add_judges.php │ ├── 2017_07_19_165222_add_creator_to_announcements.php │ ├── 2017_07_19_171730_add_event_id_to_announcements.php │ ├── 2015_01_05_112104_add_hide_workshops_option.php │ ├── 2016_06_04_104702_add-region-images.php │ ├── 2016_08_21_151355_track-waiver-signing-link.php │ ├── 2014_09_28_034629_add_sub_accounts.php │ ├── 2015_03_30_160037_add_giftcards.php │ ├── 2015_04_30_164721_add_venue_emails.php │ ├── 2017_07_14_125759_remove-region-images.php │ ├── 2016_02_29_092817_create_transactional_emails.php │ ├── 2017_07_19_162457_drop_services_column_from_devices.php │ ├── 2017_07_19_164629_create_announcements.php │ ├── 2018_01_18_172608_add_equipment.php │ ├── 2015_08_24_222111_create_saved_queries.php │ ├── 2014_08_19_180948_create_batches.php │ ├── 2017_02_24_123409_add_firebase_support.php │ ├── 2015_05_21_135042_create_phonecalls.php │ ├── 2017_07_19_173707_fix_dumb_typo.php │ ├── 2017_07_19_190213_add_cta_and_link_to_announcements.php │ ├── 2017_09_17_232956_create_users_oauth_tokens.php │ ├── 2015_01_09_134440_add_event_overrides.php │ ├── 2017_11_15_090447_add-internal.php │ ├── 2017_11_03_184030_add_spotify_tokens_to_events_table.php │ ├── 2014_08_19_225927_create_users.php │ ├── 2014_08_19_181332_create_regions.php │ ├── 2015_05_15_160451_add_applications_webhooks.php │ ├── 2016_01_20_151713_add_special_links.php │ ├── 2018_09_14_145827_add-force-ticket-price.php │ ├── 2015_03_11_180030_add_parent_info_to_registrations.php │ ├── 2014_09_25_210325_create_email_templates.php │ ├── 2015_03_30_164716_add_ticket_type.php │ └── 2015_02_17_220817_add_applications.php └── factories │ └── ModelFactory.php ├── public ├── faviconold.ico ├── health ├── robots.txt ├── assets │ ├── mp3 │ │ ├── vip.mp3 │ │ ├── staff.mp3 │ │ ├── checkout.mp3 │ │ ├── failure.mp3 │ │ ├── success.mp3 │ │ ├── phone │ │ │ ├── invalid.mp3 │ │ │ ├── press_1.mp3 │ │ │ ├── press_2.mp3 │ │ │ ├── press_3.mp3 │ │ │ ├── press_4.mp3 │ │ │ ├── press_5.mp3 │ │ │ ├── press_6.mp3 │ │ │ ├── press_7.mp3 │ │ │ ├── press_8.mp3 │ │ │ ├── press_9.mp3 │ │ │ ├── timezones.mp3 │ │ │ ├── codeday_pre.mp3 │ │ │ ├── connecting.mp3 │ │ │ ├── support_open.mp3 │ │ │ └── support_closed.mp3 │ │ └── registration.mp3 │ ├── img │ │ ├── favicon.png │ │ ├── markdown.png │ │ ├── devices │ │ │ ├── sms.png │ │ │ └── messenger.svg │ │ ├── kickoff │ │ │ ├── build.jpg │ │ │ ├── busy.jpg │ │ │ ├── fun.jpg │ │ │ ├── ideas.jpg │ │ │ ├── intro.jpg │ │ │ ├── learn.jpg │ │ │ ├── pitch.jpg │ │ │ ├── teams.jpg │ │ │ ├── time.jpg │ │ │ ├── awards.jpg │ │ │ ├── present.jpg │ │ │ ├── nottoday.jpg │ │ │ ├── workshops.jpg │ │ │ └── technologists.jpg │ │ ├── logo-square.png │ │ ├── sponsors │ │ │ ├── lob.png │ │ │ ├── splunk.png │ │ │ ├── kettering.png │ │ │ ├── fancyhands.png │ │ │ ├── lexisnexis.jpg │ │ │ └── intellectualventures.png │ │ ├── ticket-apple.png │ │ ├── ticket-print.png │ │ ├── default_region.png │ │ ├── logo-square-white.png │ │ ├── now_playing_card.png │ │ ├── email_confirm_header_01.jpg │ │ └── email_preevent_header_01.jpg │ ├── fonts │ │ ├── hinted-AvenirNext-Bold.eot │ │ ├── hinted-AvenirNext-Bold.ttf │ │ ├── hinted-AvenirNext-Bold.woff │ │ ├── hinted-AvenirNext-Heavy.eot │ │ ├── hinted-AvenirNext-Heavy.ttf │ │ ├── hinted-AvenirNext-DemiBold.eot │ │ ├── hinted-AvenirNext-DemiBold.ttf │ │ ├── hinted-AvenirNext-Heavy.woff │ │ ├── hinted-AvenirNext-Italic.eot │ │ ├── hinted-AvenirNext-Italic.ttf │ │ ├── hinted-AvenirNext-Italic.woff │ │ ├── hinted-AvenirNext-Medium.eot │ │ ├── hinted-AvenirNext-Medium.ttf │ │ ├── hinted-AvenirNext-Medium.woff │ │ ├── hinted-AvenirNext-Regular.eot │ │ ├── hinted-AvenirNext-Regular.ttf │ │ ├── hinted-AvenirNext-Regular.woff │ │ ├── hinted-AvenirNext-BoldItalic.eot │ │ ├── hinted-AvenirNext-BoldItalic.ttf │ │ ├── hinted-AvenirNext-DemiBold.woff │ │ ├── hinted-AvenirNext-UltraLight.eot │ │ ├── hinted-AvenirNext-UltraLight.ttf │ │ ├── hinted-AvenirNext-BoldItalic.woff │ │ ├── hinted-AvenirNext-HeavyItalic.eot │ │ ├── hinted-AvenirNext-HeavyItalic.ttf │ │ ├── hinted-AvenirNext-HeavyItalic.woff │ │ ├── hinted-AvenirNext-MediumItalic.eot │ │ ├── hinted-AvenirNext-MediumItalic.ttf │ │ ├── hinted-AvenirNext-MediumItalic.woff │ │ ├── hinted-AvenirNext-UltraLight.woff │ │ ├── transfonter.org-20160412-024328.zip │ │ ├── hinted-AvenirNext-DemiBoldItalic.eot │ │ ├── hinted-AvenirNext-DemiBoldItalic.ttf │ │ ├── hinted-AvenirNext-DemiBoldItalic.woff │ │ ├── hinted-AvenirNext-UltraLightItalic.eot │ │ ├── hinted-AvenirNext-UltraLightItalic.ttf │ │ └── hinted-AvenirNext-UltraLightItalic.woff │ ├── js │ │ ├── deck │ │ │ ├── extensions │ │ │ │ ├── status │ │ │ │ │ ├── deck.status.html │ │ │ │ │ ├── deck.status.scss │ │ │ │ │ └── deck.status.css │ │ │ │ ├── navigation │ │ │ │ │ ├── deck.navigation.html │ │ │ │ │ └── deck.navigation.scss │ │ │ │ ├── goto │ │ │ │ │ ├── deck.goto.html │ │ │ │ │ ├── deck.goto.scss │ │ │ │ │ └── deck.goto.css │ │ │ │ └── scale │ │ │ │ │ ├── deck.scale.scss │ │ │ │ │ └── deck.scale.css │ │ │ └── core │ │ │ │ ├── print.scss │ │ │ │ └── print.css │ │ └── announcement-preview.js │ └── test │ │ └── badroster.csv ├── .htaccess └── web.config ├── config ├── .gitignore ├── compile.php ├── postmark.php ├── raygun.php ├── firebase.php ├── cognitoforms.php ├── s5.php ├── stripe.php ├── taxjar.php ├── messenger.php ├── twilio.php ├── view.php ├── apple.php ├── cache.php ├── auth0.php ├── shipstation.php ├── mattermost.php ├── mail.php ├── aws.php ├── sendgrid.php ├── session.php ├── queue.php ├── database.php └── workbench.php ├── test.sh ├── bootstrap └── cache │ └── .gitignore ├── resources ├── signing │ └── .gitignore ├── views │ ├── signing │ │ └── .gitignore │ ├── emails │ │ ├── registration │ │ │ ├── parts │ │ │ │ ├── vip.twig │ │ │ │ ├── student.twig │ │ │ │ ├── judge.twig │ │ │ │ ├── sponsor.twig │ │ │ │ ├── volunteer.twig │ │ │ │ └── mentor.twig │ │ │ ├── transfer.twig │ │ │ ├── cancel.twig │ │ │ └── refund.twig │ │ ├── actions │ │ │ ├── shownotes.twig │ │ │ └── subuser.twig │ │ ├── event_communication_html.twig │ │ └── postevent │ │ │ ├── rm.twig │ │ │ └── venue_html.twig │ ├── front │ │ ├── no-attendee.twig │ │ ├── template.twig │ │ └── plugin.twig │ ├── debug │ │ ├── subnav.twig │ │ ├── log.twig │ │ ├── decrypt.twig │ │ └── queue-failed.twig │ ├── widgets │ │ └── regions.twig │ ├── settings │ │ ├── subnav.twig │ │ ├── agreements │ │ │ └── index.twig │ │ ├── batches │ │ │ ├── delete.twig │ │ │ ├── create.twig │ │ │ └── load.twig │ │ └── regions │ │ │ └── index.twig │ ├── batch │ │ ├── status.twig │ │ ├── shipments │ │ │ └── push.twig │ │ └── news.twig │ ├── search.twig │ ├── dayof │ │ ├── deck │ │ │ └── index.twig │ │ ├── emergency │ │ │ └── call.twig │ │ └── codecup.twig │ ├── email-pages │ │ └── sms_unsubscribe.twig │ ├── tools │ │ ├── subnav.twig │ │ ├── tidbits │ │ │ └── index.twig │ │ ├── preview.twig │ │ └── giftcards.twig │ ├── help.twig │ ├── event │ │ ├── registrations │ │ │ └── bulk │ │ │ │ └── index.twig │ │ ├── overview.twig │ │ └── agreement.twig │ ├── docs │ │ └── subnav.twig │ └── csv-landing.twig ├── assets │ ├── sass │ │ ├── pages │ │ │ ├── settings.sass │ │ │ ├── front.sass │ │ │ ├── debug.sass │ │ │ └── csv-landing.sass │ │ ├── parts │ │ │ ├── shepherd.sass │ │ │ ├── footer.sass │ │ │ ├── region-picker.sass │ │ │ └── info.sass │ │ ├── app.sass │ │ └── widgets │ │ │ └── region.sass │ └── img │ │ └── flyers │ │ └── diverse.jpg ├── img │ ├── jump.png │ ├── logo.png │ └── pass.png ├── pdf │ ├── handout.pdf │ └── poster.pdf ├── fonts │ ├── ProximaNova-Bold.z │ ├── ProximaNova-Regular.z │ └── ProximaNova-Regular.ttf └── lang │ └── en │ ├── pagination.php │ ├── auth.php │ └── passwords.php ├── .gitattributes ├── .gitignore ├── docker ├── crontab └── docker-entrypoint.sh ├── .dockerignore ├── package.json ├── gulpfile.js ├── server.php ├── tests └── TestCase.php ├── update_curl.sh └── Dockerfile /.htaccess: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/Listeners/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/Policies/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /database/seeds/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/faviconold.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/health: -------------------------------------------------------------------------------- 1 | ok 2 | -------------------------------------------------------------------------------- /config/.gitignore: -------------------------------------------------------------------------------- 1 | local.json 2 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | -------------------------------------------------------------------------------- /test.sh: -------------------------------------------------------------------------------- 1 | vendor/phpunit/phpunit/phpunit 2 | -------------------------------------------------------------------------------- /app/Http/Controllers/Apiv2/EventsController.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /config/compile.php: -------------------------------------------------------------------------------- 1 | env("POSTMARK_API_KEY"), 5 | ]; 6 | -------------------------------------------------------------------------------- /config/raygun.php: -------------------------------------------------------------------------------- 1 | env("RAYGUN_API_KEY"), 5 | ]; 6 | -------------------------------------------------------------------------------- /resources/img/jump.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/resources/img/jump.png -------------------------------------------------------------------------------- /resources/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/resources/img/logo.png -------------------------------------------------------------------------------- /resources/img/pass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/resources/img/pass.png -------------------------------------------------------------------------------- /config/firebase.php: -------------------------------------------------------------------------------- 1 | env('FIREBASE_API_KEY'), 5 | ]; 6 | -------------------------------------------------------------------------------- /public/assets/mp3/vip.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/mp3/vip.mp3 -------------------------------------------------------------------------------- /resources/pdf/handout.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/resources/pdf/handout.pdf -------------------------------------------------------------------------------- /resources/pdf/poster.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/resources/pdf/poster.pdf -------------------------------------------------------------------------------- /config/cognitoforms.php: -------------------------------------------------------------------------------- 1 | env('COGNITOFORMS_SECRET'), 5 | ]; 6 | -------------------------------------------------------------------------------- /public/assets/mp3/staff.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/mp3/staff.mp3 -------------------------------------------------------------------------------- /docker/crontab: -------------------------------------------------------------------------------- 1 | * * * * * cd /app && sudo -u www-data php artisan schedule:run > /proc/1/fd/1 2>/proc/1/fd/2 2 | -------------------------------------------------------------------------------- /public/assets/img/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/favicon.png -------------------------------------------------------------------------------- /public/assets/img/markdown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/markdown.png -------------------------------------------------------------------------------- /public/assets/mp3/checkout.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/mp3/checkout.mp3 -------------------------------------------------------------------------------- /public/assets/mp3/failure.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/mp3/failure.mp3 -------------------------------------------------------------------------------- /public/assets/mp3/success.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/mp3/success.mp3 -------------------------------------------------------------------------------- /config/s5.php: -------------------------------------------------------------------------------- 1 | env('S5_TOKEN'), 5 | 'secret' => env('S5_SECRET'), 6 | ]; 7 | -------------------------------------------------------------------------------- /public/assets/img/devices/sms.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/devices/sms.png -------------------------------------------------------------------------------- /public/assets/img/kickoff/build.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/kickoff/build.jpg -------------------------------------------------------------------------------- /public/assets/img/kickoff/busy.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/kickoff/busy.jpg -------------------------------------------------------------------------------- /public/assets/img/kickoff/fun.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/kickoff/fun.jpg -------------------------------------------------------------------------------- /public/assets/img/kickoff/ideas.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/kickoff/ideas.jpg -------------------------------------------------------------------------------- /public/assets/img/kickoff/intro.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/kickoff/intro.jpg -------------------------------------------------------------------------------- /public/assets/img/kickoff/learn.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/kickoff/learn.jpg -------------------------------------------------------------------------------- /public/assets/img/kickoff/pitch.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/kickoff/pitch.jpg -------------------------------------------------------------------------------- /public/assets/img/kickoff/teams.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/kickoff/teams.jpg -------------------------------------------------------------------------------- /public/assets/img/kickoff/time.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/kickoff/time.jpg -------------------------------------------------------------------------------- /public/assets/img/logo-square.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/logo-square.png -------------------------------------------------------------------------------- /public/assets/img/sponsors/lob.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/sponsors/lob.png -------------------------------------------------------------------------------- /public/assets/img/ticket-apple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/ticket-apple.png -------------------------------------------------------------------------------- /public/assets/img/ticket-print.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/ticket-print.png -------------------------------------------------------------------------------- /public/assets/mp3/phone/invalid.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/mp3/phone/invalid.mp3 -------------------------------------------------------------------------------- /public/assets/mp3/phone/press_1.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/mp3/phone/press_1.mp3 -------------------------------------------------------------------------------- /public/assets/mp3/phone/press_2.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/mp3/phone/press_2.mp3 -------------------------------------------------------------------------------- /public/assets/mp3/phone/press_3.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/mp3/phone/press_3.mp3 -------------------------------------------------------------------------------- /public/assets/mp3/phone/press_4.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/mp3/phone/press_4.mp3 -------------------------------------------------------------------------------- /public/assets/mp3/phone/press_5.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/mp3/phone/press_5.mp3 -------------------------------------------------------------------------------- /public/assets/mp3/phone/press_6.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/mp3/phone/press_6.mp3 -------------------------------------------------------------------------------- /public/assets/mp3/phone/press_7.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/mp3/phone/press_7.mp3 -------------------------------------------------------------------------------- /public/assets/mp3/phone/press_8.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/mp3/phone/press_8.mp3 -------------------------------------------------------------------------------- /public/assets/mp3/phone/press_9.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/mp3/phone/press_9.mp3 -------------------------------------------------------------------------------- /public/assets/mp3/registration.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/mp3/registration.mp3 -------------------------------------------------------------------------------- /resources/fonts/ProximaNova-Bold.z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/resources/fonts/ProximaNova-Bold.z -------------------------------------------------------------------------------- /app/Events/Event.php: -------------------------------------------------------------------------------- 1 | env('STRIPE_SECRET'), 5 | 'public' => env('STRIPE_PUBLIC'), 6 | ]; 7 | -------------------------------------------------------------------------------- /public/assets/img/kickoff/nottoday.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/kickoff/nottoday.jpg -------------------------------------------------------------------------------- /public/assets/img/kickoff/workshops.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/kickoff/workshops.jpg -------------------------------------------------------------------------------- /public/assets/img/logo-square-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/logo-square-white.png -------------------------------------------------------------------------------- /public/assets/img/now_playing_card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/now_playing_card.png -------------------------------------------------------------------------------- /public/assets/img/sponsors/kettering.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/sponsors/kettering.png -------------------------------------------------------------------------------- /public/assets/mp3/phone/codeday_pre.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/mp3/phone/codeday_pre.mp3 -------------------------------------------------------------------------------- /public/assets/mp3/phone/connecting.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/mp3/phone/connecting.mp3 -------------------------------------------------------------------------------- /public/assets/mp3/phone/support_open.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/mp3/phone/support_open.mp3 -------------------------------------------------------------------------------- /resources/assets/img/flyers/diverse.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/resources/assets/img/flyers/diverse.jpg -------------------------------------------------------------------------------- /resources/fonts/ProximaNova-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/resources/fonts/ProximaNova-Regular.ttf -------------------------------------------------------------------------------- /config/taxjar.php: -------------------------------------------------------------------------------- 1 | env('TAXJAR_TOKEN'), 5 | 'category' => env('TAXJAR_CATEGORY'), 6 | ]; 7 | -------------------------------------------------------------------------------- /public/assets/img/sponsors/fancyhands.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/sponsors/fancyhands.png -------------------------------------------------------------------------------- /public/assets/img/sponsors/lexisnexis.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/sponsors/lexisnexis.jpg -------------------------------------------------------------------------------- /public/assets/mp3/phone/support_closed.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/mp3/phone/support_closed.mp3 -------------------------------------------------------------------------------- /public/assets/img/email_confirm_header_01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/email_confirm_header_01.jpg -------------------------------------------------------------------------------- /public/assets/img/kickoff/technologists.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/img/kickoff/technologists.jpg -------------------------------------------------------------------------------- /app/Models/Cronjob.php: -------------------------------------------------------------------------------- 1 | env("MESSENGER_ACCESS_TOKEN"), 5 | "app_secret" => env("MESSENGER_APP_SECRET"), 6 | ]; 7 | -------------------------------------------------------------------------------- /config/twilio.php: -------------------------------------------------------------------------------- 1 | env('TWILIO_SID'), 5 | 'token' => env('TWILIO_TOKEN'), 6 | 'from' => env('TWILIO_FROM'), 7 | ]; 8 | -------------------------------------------------------------------------------- /public/assets/fonts/hinted-AvenirNext-BoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/fonts/hinted-AvenirNext-BoldItalic.woff -------------------------------------------------------------------------------- /public/assets/fonts/hinted-AvenirNext-HeavyItalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/fonts/hinted-AvenirNext-HeavyItalic.eot -------------------------------------------------------------------------------- /public/assets/fonts/hinted-AvenirNext-HeavyItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/fonts/hinted-AvenirNext-HeavyItalic.ttf -------------------------------------------------------------------------------- /public/assets/fonts/hinted-AvenirNext-HeavyItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/fonts/hinted-AvenirNext-HeavyItalic.woff -------------------------------------------------------------------------------- /public/assets/fonts/hinted-AvenirNext-MediumItalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/fonts/hinted-AvenirNext-MediumItalic.eot -------------------------------------------------------------------------------- /public/assets/fonts/hinted-AvenirNext-MediumItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/fonts/hinted-AvenirNext-MediumItalic.ttf -------------------------------------------------------------------------------- /public/assets/fonts/hinted-AvenirNext-MediumItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/fonts/hinted-AvenirNext-MediumItalic.woff -------------------------------------------------------------------------------- /public/assets/fonts/hinted-AvenirNext-UltraLight.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/fonts/hinted-AvenirNext-UltraLight.woff -------------------------------------------------------------------------------- /public/assets/fonts/transfonter.org-20160412-024328.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/fonts/transfonter.org-20160412-024328.zip -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /node_modules 3 | /.sass-cache 4 | /storage 5 | /.git 6 | /.vs 7 | /.sass-cache 8 | .env 9 | README.markdown 10 | LICENSE.txt 11 | -------------------------------------------------------------------------------- /public/assets/fonts/hinted-AvenirNext-DemiBoldItalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/fonts/hinted-AvenirNext-DemiBoldItalic.eot -------------------------------------------------------------------------------- /public/assets/fonts/hinted-AvenirNext-DemiBoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/fonts/hinted-AvenirNext-DemiBoldItalic.ttf -------------------------------------------------------------------------------- /public/assets/fonts/hinted-AvenirNext-DemiBoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codeday/clear-php/HEAD/public/assets/fonts/hinted-AvenirNext-DemiBoldItalic.woff -------------------------------------------------------------------------------- /app/Models/EmailTemplate.php: -------------------------------------------------------------------------------- 1 | {{ registration.first_name }},
2 | 3 |We're very excited to have you join us at CodeDay. This email confirms your registration.
4 | -------------------------------------------------------------------------------- /config/view.php: -------------------------------------------------------------------------------- 1 | [ 5 | realpath(base_path('resources/views')), 6 | ], 7 | 'compiled' => realpath(storage_path('framework/views')), 8 | ]; 9 | -------------------------------------------------------------------------------- /resources/views/front/no-attendee.twig: -------------------------------------------------------------------------------- 1 | {% extends "front/template.twig" %} 2 | {% import "widgets/attendees.twig" as a %} 3 | {% block content %} 4 |No attendee found.
5 | {% endblock %} 6 | -------------------------------------------------------------------------------- /app/Models/SavedQuery.php: -------------------------------------------------------------------------------- 1 | env('APPLE_PASS_ID'), 5 | "teamid" => env('APPLE_TEAM_ID'), 6 | "team" => env('APPLE_TEAM'), 7 | "passp12password" => env('APPLE_P12_PASSWORD'), 8 | ]; 9 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true, 3 | "devDependencies": { 4 | "gulp": "^3.8.8" 5 | }, 6 | "dependencies": { 7 | "laravel-elixir": "^4.0.0", 8 | "bootstrap-sass": "^3.0.0" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /app/Http/Requests/Request.php: -------------------------------------------------------------------------------- 1 | 2 |3 | 4 | / 5 | 6 |
7 | -------------------------------------------------------------------------------- /config/auth0.php: -------------------------------------------------------------------------------- 1 | env('AUTH0_DOMAIN'), 5 | 'client_id' => env('AUTH0_CLIENT_ID'), 6 | 'secret' => env('AUTH0_SECRET'), 7 | 'management_id' => env('AUTH0_MANAGEMENT_ID'), 8 | 'management_secret' => env('AUTH0_MANAGEMENT_SECRET'), 9 | ]; 10 | -------------------------------------------------------------------------------- /resources/assets/sass/parts/footer.sass: -------------------------------------------------------------------------------- 1 | body > footer 2 | width: 100% 3 | margin: 0 auto 4 | max-width: $max-width 5 | font-weight: 400 6 | font-size: 0.75rem 7 | 8 | clear: both 9 | 10 | padding: 1rem 0 11 | border-top: 1px solid $foreground-color-lighter -------------------------------------------------------------------------------- /config/shipstation.php: -------------------------------------------------------------------------------- 1 | env('SHIPSTATION_KEY'), 5 | 'secret' => env('SHIPSTATION_SECRET'), 6 | 'tags' => [ 7 | 'event_supplies' => env('SHIPSTATION_TAG_EVENT'), 8 | 'general_supplies' => env('SHIPSTATION_TAG_GENERAL'), 9 | ], 10 | ]; 11 | -------------------------------------------------------------------------------- /app/Http/Controllers/Api/Health.php: -------------------------------------------------------------------------------- 1 | {{registration.first_name }}! Can it be true? We just heard you're going to CodeDay {{ registration.event.name }}! 2 |There's just one last step: please sign your waiver.
3 | -------------------------------------------------------------------------------- /public/assets/js/deck/extensions/navigation/deck.navigation.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | -------------------------------------------------------------------------------- /config/mattermost.php: -------------------------------------------------------------------------------- 1 | [ 5 | "username" => env("MM_COMMUNITY_USERNAME"), 6 | "webhook" => env("MM_COMMUNITY_WEBHOOK"), 7 | ], 8 | "staff" => [ 9 | "username" => env("MM_STAFF_USERNAME"), 10 | "webhook" => env("MM_STAFF_WEBHOOK"), 11 | ] 12 | ]; 13 | -------------------------------------------------------------------------------- /config/mail.php: -------------------------------------------------------------------------------- 1 | 'smtp', 5 | 'host' => 'smtp,sendgrid.net', 6 | 'port' => 587, 7 | 'from' => ['name' => null, 'address' => null], 8 | 'username' => env('SENDGRID_USERNAME'), 9 | 'password' => env('SENDGRID_PASSWORD'), 10 | 'pretend' => false 11 | ]; 12 | -------------------------------------------------------------------------------- /resources/views/debug/log.twig: -------------------------------------------------------------------------------- 1 | {% extends "template.twig" %} 2 | {% block title %}Log{% endblock %} 3 | {% block section %}debug{% endblock %} 4 | {% block subnav %}{% include "debug/subnav.twig" %}{% endblock %} 5 | {% block content %} 6 |HUD for what's done in the batch.
9 |The opening presentation! Automatically generates a slide deck and notes including local sponsors, workshops, etc.
9 | 10 | 11 |12 | Slides 13 |
14 | 15 | {% endblock %} 16 | -------------------------------------------------------------------------------- /app/Http/Controllers/Manage/Tools/TidbitsController.php: -------------------------------------------------------------------------------- 1 | \Route::input('region')]); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /app/Providers/AppServiceProvider.php: -------------------------------------------------------------------------------- 1 | belongsTo('\CodeDay\Clear\Models\Batch\Event\Registration', 'batches_events_registration_id', 'id'); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- 1 | var elixir = require('laravel-elixir'); 2 | 3 | /* 4 | |-------------------------------------------------------------------------- 5 | | Elixir Asset Management 6 | |-------------------------------------------------------------------------- 7 | | 8 | | Elixir provides a clean, fluent API for defining some basic Gulp tasks 9 | | for your Laravel application. By default, we are compiling the Sass 10 | | file for our application, as well as publishing vendor resources. 11 | | 12 | */ 13 | 14 | elixir(function(mix) { 15 | mix.sass('app.scss'); 16 | }); 17 | -------------------------------------------------------------------------------- /resources/views/emails/event_communication_html.twig: -------------------------------------------------------------------------------- 1 | {% extends "emails/template_transactional.twig" %} 2 | {% block img %}https://srnd-cdn.net/emails/header-team.jpg{% endblock %} 3 | {% block title %}{{ subject }}{% endblock %} 4 | {% block body %} 5 | {{ include(template_from_string(content))|markdown|raw }} 6 | {% endblock %} 7 | {% block unsubscribe %} 8 | You got this email because you registered for CodeDay. 9 | {% if is_marketing %} 10 | You can unsubscribe from emails like this. 11 | {% endif %} 12 | {% endblock %} 13 | -------------------------------------------------------------------------------- /app/Models/Batch/Event/Registration/Equipment.php: -------------------------------------------------------------------------------- 1 | belongsTo('\CodeDay\Clear\Models\Batch\Event\Registration', 'batches_events_registration_id', 'id'); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /app/User.php: -------------------------------------------------------------------------------- 1 | belongsTo('\CodeDay\Clear\Models\Region', 'region_id', 'id'); 10 | } 11 | 12 | public function batch() 13 | { 14 | return $this->belongsTo('\CodeDay\Clear\Models\Batch', 'batch_id', 'id'); 15 | } 16 | 17 | public function event() 18 | { 19 | return $this->belongsTo('\CodeDay\Clear\Models\Batch\Event', 'batches_event_id', 'id'); 20 | } 21 | } -------------------------------------------------------------------------------- /resources/views/batch/shipments/push.twig: -------------------------------------------------------------------------------- 1 | {% extends "template.twig" %} 2 | {% block title %}Shipments{% endblock %} 3 | {% block section %}batch{% endblock %} 4 | {% block subnav %}{% include "batch/subnav.twig" %}{% endblock %} 5 | {% block content %} 6 |This tool will push all boxes to ShipStation.
9 |A few days before the event, you'll receive an email reminder with the address, arrival procedures, and contact 5 | information. If you'd like, you can read how judging works 6 | here, although we're happy to explain when you arrive.
7 | 8 |We're looking forward to seeing you soon! Please let me know if you have any questions.
9 | -------------------------------------------------------------------------------- /app/Http/Controllers/Manage/Batch/ChangeController.php: -------------------------------------------------------------------------------- 1 | manage(); 12 | return \Redirect::to('/batch'); 13 | } else { 14 | \View::share('all_batches', Models\Batch::orderBy('starts_at', 'ASC')->get()); 15 | return \View::make('batch/change'); 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/Http/routes/999-dashboard.php: -------------------------------------------------------------------------------- 1 | 'Manage', 'before' => 's5_manage_events', 'middleware' => ['web']], function() { 3 | \Route::get('/', 'DashboardController@getIndex'); 4 | \Route::get('/help', 'DashboardController@getHelp'); 5 | \Route::get('/updates.json', 'DashboardController@getUpdates'); 6 | \Route::post('/new', 'DashboardController@postNew'); 7 | \Route::controller('/search', 'SearchController'); 8 | }); 9 | 10 | \Route::group(['namespace' => 'Manage', 'before' => 's5_manage_events'], function() { 11 | \Route::controller('/front', 'FrontController'); 12 | }); 13 | -------------------------------------------------------------------------------- /app/Http/Controllers/Api/Stats.php: -------------------------------------------------------------------------------- 1 | requirePermission(["internal"]); 10 | $registrations = Models\Batch\Event\Registration::count(); 11 | $events = Models\Batch\Event::count(); 12 | $batches = Models\Batch::count(); 13 | 14 | return json_encode([ 15 | "registrations_all_time" => $registrations, 16 | "events_all_time" => $events, 17 | "batches_all_time" => $batches 18 | ]); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /app/Http/Controllers/Manage/Batch/CsvController.php: -------------------------------------------------------------------------------- 1 | events); 12 | 13 | return (new \Illuminate\Http\Response($content, 200)) 14 | ->header('Content-type', 'text/csv') 15 | ->header('Content-disposition', 'attachment;filename=all-attendees-'.time().'.csv'); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /app/Http/Controllers/Manage/Batch/NewsController.php: -------------------------------------------------------------------------------- 1 | news = \Input::get('news'); 16 | $batch->save(); 17 | 18 | \Session::flash('status_message', 'News updated.'); 19 | 20 | return \Redirect::to('/batch/news'); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /app/Http/Controllers/Manage/Tools/PreviewController.php: -------------------------------------------------------------------------------- 1 | Models\Batch\Event\Registration::where('id', '=', \Input::get('id'))->firstOrFail(), 17 | 'user' => Models\User::me() 18 | ]); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /public/assets/js/deck/extensions/scale/deck.scale.scss: -------------------------------------------------------------------------------- 1 | .csstransforms .deck-container.deck-scale:not(.deck-menu) { 2 | overflow:hidden; 3 | 4 | > .slide { 5 | -moz-box-sizing: padding-box; 6 | box-sizing: padding-box; 7 | width:100%; 8 | padding-bottom:20px; 9 | 10 | > .deck-slide-scaler { 11 | -webkit-transform-origin: 50% 0; 12 | -ms-transform-origin: 50% 0; 13 | transform-origin: 50% 0; 14 | } 15 | } 16 | } 17 | 18 | .csstransforms .deck-container.deck-menu .deck-slide-scaler { 19 | -webkit-transform:none !important; 20 | -ms-transform:none !important; 21 | transform:none !important; 22 | } -------------------------------------------------------------------------------- /resources/lang/en/pagination.php: -------------------------------------------------------------------------------- 1 | '« Previous', 17 | 'next' => 'Next »', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /resources/assets/sass/parts/info.sass: -------------------------------------------------------------------------------- 1 | body > .info 2 | width: 100% 3 | text-align: center 4 | padding: 0.5rem 5 | border-bottom-style: solid 6 | border-bottom-width: 2px 7 | text-transform: uppercase 8 | font-size: 0.8rem 9 | overflow: hidden 10 | 11 | a 12 | color: #fff 13 | 14 | &.status 15 | background-color: $color-green 16 | border-bottom-color: lighten($color-green, 25) 17 | color: darken($color-green, 20) 18 | 19 | &.old-batch, &.error 20 | background-color: $color-red 21 | border-bottom-color: lighten($color-red, 25) 22 | color: darken($color-red, 20) -------------------------------------------------------------------------------- /resources/views/email-pages/sms_unsubscribe.twig: -------------------------------------------------------------------------------- 1 | {% extends 'email-pages/template' %} 2 | {% block title %}SMS Optout{% endblock %} 3 | {% block content %} 4 |Optout status changed.
7 | {% endif %} 8 | 16 | {% endblock %} 17 | 18 | -------------------------------------------------------------------------------- /server.php: -------------------------------------------------------------------------------- 1 | 8 | */ 9 | 10 | $uri = urldecode( 11 | parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) 12 | ); 13 | 14 | // This file allows us to emulate Apache's "mod_rewrite" functionality from the 15 | // built-in PHP web server. This provides a convenient way to test a Laravel 16 | // application without having installed a "real" web server software here. 17 | if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) { 18 | return false; 19 | } 20 | 21 | require_once __DIR__.'/public/index.php'; 22 | -------------------------------------------------------------------------------- /resources/assets/sass/pages/debug.sass: -------------------------------------------------------------------------------- 1 | body.debug 2 | .log 3 | border: 1px solid $foreground-color-light 4 | overflow-y: scroll 5 | font-family: monospace 6 | white-space: nowrap 7 | .queue-failed 8 | padding: 0 9 | li 10 | list-style-type: none 11 | border-bottom: 1px solid $foreground-color-light 12 | padding: 1rem 0 13 | form 14 | display: inline 15 | input 16 | display: inline 17 | width: auto 18 | padding: 0 19 | float: none 20 | .payload 21 | overflow-y: scroll -------------------------------------------------------------------------------- /app/Http/Controllers/Manage/Docs/ModelController.php: -------------------------------------------------------------------------------- 1 | $modelName, 19 | 'fields' => $modelClass::getFields() 20 | ]); 21 | } 22 | } -------------------------------------------------------------------------------- /resources/assets/sass/widgets/region.sass: -------------------------------------------------------------------------------- 1 | .region-link 2 | text-decoration: none 3 | .region-widget 4 | width: 12rem 5 | display: inline-block 6 | margin: 1rem 7 | .data, .image 8 | width: 100% 9 | height: 4rem 10 | padding: 1rem 11 | 12 | .data 13 | background-color: transparentize($foreground-color, 0.3) 14 | 15 | .image 16 | z-index: -100 17 | margin-bottom: -4rem 18 | background-size: cover 19 | background-position: 50% 50% 20 | 21 | .name 22 | display: block 23 | font-size: 1.25rem 24 | color: $background-color 25 | margin-bottom: 1rem 26 | -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- 1 | make(\Illuminate\Contracts\Console\Kernel::class)->bootstrap(); 21 | return $app; 22 | } 23 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Manage/DayOf/CodeCupController.php: -------------------------------------------------------------------------------- 1 | events as $event) { 12 | $keyFull = hash_hmac('whirlpool', $event->webname . $event->batch->starts_at, config('app.key')); 13 | $keys[$event->webname] = substr($keyFull, 0, 3).'-'.substr($keyFull, 3, 3); 14 | } 15 | return \View::make('dayof/codecup', ['keys' => $keys]); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /update_curl.sh: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env bash 2 | # This script is from https://gist.github.com/fideloper/f72997d2e2c9fbe66459 3 | 4 | # Install any build dependencies needed for curl 5 | sudo apt-get build-dep curl 6 | 7 | # Get latest (as of Feb 25, 2016) libcurl 8 | mkdir ~/curl 9 | cd ~/curl 10 | wget http://curl.haxx.se/download/curl-7.50.2.tar.bz2 11 | tar -xvjf curl-7.50.2.tar.bz2 12 | cd curl-7.50.2 13 | 14 | # The usual steps for building an app from source 15 | # ./configure 16 | # ./make 17 | # sudo make install 18 | ./configure 19 | make 20 | sudo make install 21 | 22 | # Resolve any issues of C-level lib 23 | # location caches ("shared library cache") 24 | sudo ldconfig 25 | -------------------------------------------------------------------------------- /app/Http/Middleware/RedirectIfAuthenticated.php: -------------------------------------------------------------------------------- 1 | check()) { 21 | return redirect('/'); 22 | } 23 | 24 | return $next($request); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /resources/views/tools/subnav.twig: -------------------------------------------------------------------------------- 1 |See tidbits of information for past events.
10 |Update the message displayed on the dashboard to all volunteers and staff.
9 |This will call you at {{ me.phone }} and connect you automatically.
9 |Agreements are documents which RMs can be required to sign before accessing their event.
9 |You can't delete the loaded batch.
11 | {% else %} 12 |Are you sure you want to delete {{ batch.name }}? There is no undo.
13 | 17 | {% endif %} 18 | {% endblock %} -------------------------------------------------------------------------------- /database/migrations/2015_03_05_154607_add_s5_invite_code_to_registrations.php: -------------------------------------------------------------------------------- 1 | string('s5_invite_code')->nullable(); 18 | }); 19 | } 20 | 21 | /** 22 | * Reverse the migrations. 23 | * 24 | * @return void 25 | */ 26 | public function down() 27 | { 28 | \Schema::table('batches_events_registrations', function($table) 29 | { 30 | $table->dropColumn('s5_invite_code'); 31 | }); 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /database/migrations/2015_03_05_164935_remove_s5_invite_code_from_registrations.php: -------------------------------------------------------------------------------- 1 | dropColumn('s5_invite_code'); 18 | }); 19 | } 20 | 21 | /** 22 | * Reverse the migrations. 23 | * 24 | * @return void 25 | */ 26 | public function down() 27 | { 28 | \Schema::table('batches_events_registrations', function($table) 29 | { 30 | $table->string('s5_invite_code')->nullable(); 31 | }); 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /database/migrations/2017_09_18_005421_add_timestamps_to_oauth_tokens.php: -------------------------------------------------------------------------------- 1 | timestamps(); 17 | }); 18 | } 19 | 20 | /** 21 | * Reverse the migrations. 22 | * 23 | * @return void 24 | */ 25 | public function down() 26 | { 27 | Schema::table('users_oauth_tokens', function (Blueprint $table) { 28 | // 29 | }); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /resources/views/debug/decrypt.twig: -------------------------------------------------------------------------------- 1 | {% extends "template.twig" %} 2 | {% block title %}Decrypt{% endblock %} 3 | {% block section %}debug{% endblock %} 4 | {% block subnav %}{% include "debug/subnav.twig" %}{% endblock %} 5 | {% block content %} 6 | {% if traceback %} 7 |If you're not sure what to do, don't worry! Call, text, email, or Slack us, we're here to help!
6 | {% for event in me.current_managed_events %} 7 |Your StudentRND contact is {{ event.coach.name }}:
9 | {{ event.coach.phone }}
10 | {{ event.coach.username }}@srnd.org
11 | @{{ event.coach.username }}
12 |
We appreciate your organization's support of CodeDay {{ registration.event.name }} on 2 | {{ registration.event.ends_at|date('F j') }}. We work to inspire diverse students to pursue Computer Science, 3 | and spend just over $30 per student to do so. As a non-profit, we rely on the help of companies like yours to 4 | make that possible.
5 | 6 |This email confirms that you will be attending CodeDay. Please let us know if your plans change.
7 | 8 |We recommend you take a look at any relevant sections of our 9 | sponsor guide to learn how to get the most from your 10 | sponsorship.
11 | 12 |Thanks again for your support. Please let me know if you have any questions.
13 | -------------------------------------------------------------------------------- /app/Http/Controllers/Manage/Event/SubscriptionsController.php: -------------------------------------------------------------------------------- 1 | firstOrFail(); 16 | 17 | if ($subscription->batches_event_id !== $event->id) { 18 | \App::abort(401); 19 | } 20 | 21 | \Session::flash('status_message', 'Subscription removed'); 22 | $subscription->delete(); 23 | return \Redirect::to('/event/'.$event->id.'/subscriptions'); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /app/Http/Middleware/ApiResponse.php: -------------------------------------------------------------------------------- 1 | headers->set('Access-Control-Allow-Origin', '*'); 23 | $response->headers->set('Access-Control-Allow-Methods', '*'); 24 | $response->headers->set('Content-type', 'text/javascript'); 25 | 26 | return $response; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /app/Http/Middleware/Apiv2Response.php: -------------------------------------------------------------------------------- 1 | headers->set('Access-Control-Allow-Origin', '*'); 23 | $response->headers->set('Access-Control-Allow-Methods', '*'); 24 | $response->headers->set('Content-type', 'text/javascript'); 25 | 26 | return $response; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /app/Http/Middleware/Authenticate.php: -------------------------------------------------------------------------------- 1 | guest()) { 21 | if ($request->ajax()) { 22 | return response('Unauthorized.', 401); 23 | } else { 24 | return redirect()->guest('login'); 25 | } 26 | } 27 | 28 | return $next($request); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /database/migrations/2014_09_30_174640_add_custom_css.php: -------------------------------------------------------------------------------- 1 | text('custom_css')->nullable(); 18 | }); 19 | } 20 | 21 | /** 22 | * Reverse the migrations. 23 | * 24 | * @return void 25 | */ 26 | public function down() 27 | { 28 | \Schema::table('batches_events', function($table) 29 | { 30 | $table->dropColumn('custom_css'); 31 | }); 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /database/migrations/2017_07_19_193421_add_timestamps_to_devices.php: -------------------------------------------------------------------------------- 1 | timestamps(); 17 | }); 18 | } 19 | 20 | /** 21 | * Reverse the migrations. 22 | * 23 | * @return void 24 | */ 25 | public function down() 26 | { 27 | Schema::table('batches_events_registrations_devices', function (Blueprint $table) { 28 | // 29 | }); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /database/migrations/2015_05_26_133115_add_survey_email.php: -------------------------------------------------------------------------------- 1 | datetime('survey_email_sent_at')->nullable(); 18 | }); 19 | } 20 | 21 | /** 22 | * Reverse the migrations. 23 | * 24 | * @return void 25 | */ 26 | public function down() 27 | { 28 | \Schema::table('batches', function($table) 29 | { 30 | $table->dropColumn('survey_email_sent_at'); 31 | }); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /database/migrations/2017_09_18_010800_add_primary_key_to_oauth_tokens.php: -------------------------------------------------------------------------------- 1 | string("access_token")->primary()->change(); 17 | }); 18 | } 19 | 20 | /** 21 | * Reverse the migrations. 22 | * 23 | * @return void 24 | */ 25 | public function down() 26 | { 27 | Schema::table('users_oauth_tokens', function (Blueprint $table) { 28 | // 29 | }); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /database/migrations/2016_02_06_133155_add_hide_meals_to_events.php: -------------------------------------------------------------------------------- 1 | boolean('hide_meals')->default(false); 17 | }); 18 | } 19 | 20 | /** 21 | * Reverse the migrations. 22 | * 23 | * @return void 24 | */ 25 | public function down() 26 | { 27 | Schema::table('batches_events', function (Blueprint $table) { 28 | $table->dropColumn('hide_meals'); 29 | }); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /database/migrations/2017_05_18_071658_add-attendee-notes.php: -------------------------------------------------------------------------------- 1 | text('notes')->nullable(); 17 | }); 18 | } 19 | 20 | /** 21 | * Reverse the migrations. 22 | * 23 | * @return void 24 | */ 25 | public function down() 26 | { 27 | \Schema::table('batches_events_registrations', function(Blueprint $table) { 28 | $table->dropColumn('notes'); 29 | }); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /database/migrations/2018_02_28_134144_add_venue_agreement.php: -------------------------------------------------------------------------------- 1 | string('venue_agreement')->nullable(); 17 | }); 18 | } 19 | 20 | /** 21 | * Reverse the migrations. 22 | * 23 | * @return void 24 | */ 25 | public function down() 26 | { 27 | \Schema::table('batches_events', function(Blueprint $table) { 28 | $table->dropColumn('venue_agreement'); 29 | }); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /resources/views/tools/preview.twig: -------------------------------------------------------------------------------- 1 | {% extends "template.twig" %} 2 | {% block title %}Preview{% endblock %} 3 | {% block section %}tools{% endblock %} 4 | {% block subnav %}{% include "tools/subnav.twig" %}{% endblock %} 5 | {% block content %} 6 |You can use this tool to preview email templates.
9 |Regions are areas where CodeDay events happen. Except in the case of sparsely populated 10 | states (in which case, the state name should be used), these are usually cities. Creating 11 | a region simplifies running events there in the future.
12 |Select a region on the map below to edit it, or create a new region with the New button.
13 |This creates a new batch of events. You'll be able to select the events 9 | and customize the name in the next step.
10 |Hi {{ user.first_name }},
8 | 9 |{{ from.name }} has just granted you access to 10 | {{ event.full_name }} on Clear.
11 | 12 |Clear is the CodeDay management system. You're now able to create promo codes, set a venue, see the schedule, 13 | check-in attendees, and more. Click the link above to start exploring.
14 | {% endblock %} 15 | -------------------------------------------------------------------------------- /app/Http/Controllers/Api/UserController.php: -------------------------------------------------------------------------------- 1 | permissions = ['admin']; 20 | $this->application = true; 21 | } else { 22 | \App::abort(403); 23 | } 24 | } 25 | 26 | public function getManagedEvents(){ 27 | return json_encode(ModelContracts\Event::Collection($user->current_managed_events, $this->permissions)); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /database/migrations/2018_01_18_172608_add_equipment.php: -------------------------------------------------------------------------------- 1 | increments('id'); 17 | $table->string('batches_events_registration_id'); 18 | $table->string('equipment_id'); 19 | $table->timestamps(); 20 | }); 21 | } 22 | 23 | /** 24 | * Reverse the migrations. 25 | * 26 | * @return void 27 | */ 28 | public function down() 29 | { 30 | \Schema::drop('batches_events_registrations_equipment'); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /resources/lang/en/passwords.php: -------------------------------------------------------------------------------- 1 | 'Passwords must be at least six characters and match the confirmation.', 17 | 'reset' => 'Your password has been reset!', 18 | 'sent' => 'We have e-mailed your password reset link!', 19 | 'token' => 'This password reset token is invalid.', 20 | 'user' => "We can't find a user with that e-mail address.", 21 | 22 | ]; 23 | -------------------------------------------------------------------------------- /app/TwigFilters/MarkdownFilter.php: -------------------------------------------------------------------------------- 1 | 13 | * @copyright Copyright (c) Tyler Menezes. Released under the Perl Artistic License 2.0. 14 | * 15 | * @package TwigMarkdown 16 | */ 17 | class MarkdownFilter extends \Twig_Extension 18 | { 19 | public function getFilters() 20 | { 21 | $filters = array( 22 | // formatting filters 23 | 'markdown'=> new \Twig_Filter_Function(function($data) 24 | { 25 | return \Markdown($data); 26 | }), 27 | ); 28 | 29 | return $filters; 30 | } 31 | 32 | public function getName() 33 | { 34 | return 'markdown'; 35 | } 36 | 37 | } 38 | 39 | -------------------------------------------------------------------------------- /database/migrations/2015_08_24_222111_create_saved_queries.php: -------------------------------------------------------------------------------- 1 | increments('id'); 18 | 19 | $table->string('name'); 20 | $table->string('description'); 21 | $table->text('sql'); 22 | 23 | $table->timestamps(); 24 | }); 25 | } 26 | 27 | /** 28 | * Reverse the migrations. 29 | * 30 | * @return void 31 | */ 32 | public function down() 33 | { 34 | \Schema::drop('saved_queries'); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /database/migrations/2014_08_19_180948_create_batches.php: -------------------------------------------------------------------------------- 1 | string('id')->primary(); 17 | 18 | $table->string('name'); 19 | $table->boolean('is_loaded'); 20 | 21 | $table->datetime('starts_at'); 22 | $table->timestamps(); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | \Schema::drop('batches'); 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /database/migrations/2017_02_24_123409_add_firebase_support.php: -------------------------------------------------------------------------------- 1 | increments('id'); 17 | $table->string('batches_events_registration_id'); 18 | $table->enum('service', ['sms', 'firebase']); 19 | $table->text('token'); 20 | }); 21 | } 22 | 23 | /** 24 | * Reverse the migrations. 25 | * 26 | * @return void 27 | */ 28 | public function down() 29 | { 30 | \Schema::drop('batches_events_registrations_devices'); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /database/migrations/2015_05_21_135042_create_phonecalls.php: -------------------------------------------------------------------------------- 1 | increments('id'); 17 | 18 | $table->string('batches_event_id'); 19 | $table->text('transcript'); 20 | $table->string('creator_username'); 21 | 22 | $table->timestamps(); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | \Schema::drop('batches_events_calls'); 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /app/Console/Commands/DispatchTransactionalEmailsCommand.php: -------------------------------------------------------------------------------- 1 | dispatch(new Jobs\SendTransactionalEmailsJob()); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /app/Http/Controllers/Manage/Batch/SendSmsController.php: -------------------------------------------------------------------------------- 1 | firstOrFail(); 21 | Services\Sms::sendToUser($user, $message); 22 | } else { 23 | Services\Sms::sendToList($to, $message); 24 | } 25 | 26 | \Session::flash('status', 'SMS enqued.'); 27 | return \Redirect::to('/batch/send-sms'); 28 | } 29 | 30 | } -------------------------------------------------------------------------------- /app/Providers/EventServiceProvider.php: -------------------------------------------------------------------------------- 1 | [ 17 | 'CodeDay\Clear\Listeners\EventListener', 18 | ], 19 | ]; 20 | 21 | /** 22 | * Register any other events for your application. 23 | * 24 | * @param \Illuminate\Contracts\Events\Dispatcher $events 25 | * @return void 26 | */ 27 | public function boot(DispatcherContract $events) 28 | { 29 | parent::boot($events); 30 | 31 | // 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /database/migrations/2017_07_19_173707_fix_dumb_typo.php: -------------------------------------------------------------------------------- 1 | dropColumn('batches_events_id'); 17 | $table->string('batches_event_id'); 18 | }); 19 | } 20 | 21 | /** 22 | * Reverse the migrations. 23 | * 24 | * @return void 25 | */ 26 | public function down() 27 | { 28 | Schema::table('batches_events_announcements', function (Blueprint $table) { 29 | $table->dropColumn('batches_event_id'); 30 | $table->string('batches_events_id'); 31 | }); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /resources/views/docs/subnav.twig: -------------------------------------------------------------------------------- 1 |Confidential. For your eyes only. Do not distribute.
12 |You may use this list only for security or reporting purposes. You may not share it except for those purposes.
13 |This batch is already loaded.
11 | {% else %} 12 |Are you sure you want to switch the loaded batch to {{ batch.name }}? This will unload 13 | {{ loaded_batch.name }}.
14 | 19 | {% endif %} 20 | {% endblock %} 21 | -------------------------------------------------------------------------------- /database/migrations/2015_01_09_134440_add_event_overrides.php: -------------------------------------------------------------------------------- 1 | string('name_override')->nullable(); 18 | $table->string('abbr_override')->nullable(); 19 | $table->string('webname_override')->nullable(); 20 | }); 21 | } 22 | 23 | /** 24 | * Reverse the migrations. 25 | * 26 | * @return void 27 | */ 28 | public function down() 29 | { 30 | \Schema::table('batches_events', function($table) 31 | { 32 | $table->dropColumn('name_override'); 33 | $table->dropColumn('abbr_override'); 34 | $table->dropColumn('webname_override'); 35 | }); 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /database/migrations/2017_11_15_090447_add-internal.php: -------------------------------------------------------------------------------- 1 | \PDO::FETCH_CLASS, 5 | 'default' => 'mysql', 6 | 'strict' => true, 7 | 'migrations' => 'migrations', 8 | 'connections' => [ 9 | 'mysql' => [ 10 | 'driver' => env('DB_DRIVER', 'mysql'), 11 | 'host' => env('DB_HOST', 'localhost'), 12 | 'database' => env('DB_DATABASE', 'clear'), 13 | 'username' => env('DB_USERNAME', 'root'), 14 | 'password' => env('DB_PASSWORD'), 15 | 'charset' => 'utf8', 16 | 'collation' => 'utf8_bin', 17 | 'prefix' => '', 18 | 'strict' => false, 19 | ] 20 | ], 21 | 'redis' => [ 22 | 'client' => 'phpredis', 23 | 'default' => [ 24 | 'host' => env('REDIS_HOST', 'localhost'), 25 | 'port' => env('REDIS_PORT', 6379), 26 | 'database' => env('REDIS_DB', 0), 27 | 'prefix' => env('REDIS_PREFIX', 'clear_'), 28 | 'presistent' => true, 29 | ] 30 | ] 31 | ]; 32 | -------------------------------------------------------------------------------- /database/migrations/2017_11_03_184030_add_spotify_tokens_to_events_table.php: -------------------------------------------------------------------------------- 1 | string('spotify_access_token')->nullable(); 17 | $table->string('spotify_refresh_token')->nullable(); 18 | }); 19 | } 20 | 21 | /** 22 | * Reverse the migrations. 23 | * 24 | * @return void 25 | */ 26 | public function down() 27 | { 28 | Schema::table('batches_events', function (Blueprint $table) { 29 | $table->dropColumn('spotify_access_token'); 30 | $table->dropColumn('spotify_refresh_token'); 31 | }); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /resources/views/emails/registration/parts/volunteer.twig: -------------------------------------------------------------------------------- 1 |{{ registration.first_name }}, this email confirms that you are a volunteer at CodeDay! We're so happy to have your 2 | help! Here are your next steps:
3 | 4 |Hi {{ event.manager.first_name }},
10 | 11 |Thanks for making CodeDay a success this season. It's me, the definitely not automated Tyler.
12 | 13 |Two things we need from you to wrap things up:
14 | 15 |Hi {{ event.venue_contact_first_name }},
10 | 11 |I just wanted to take a quick moment to thank you for hosting CodeDay.
12 | 13 |Our staff made every effort to return your venue to the way we found it. If you notice any problems, can you 14 | please let me know as soon as possible? We really appreciate that you hosted CodeDay, and we'll do everything we 15 | can to fix any problems.
16 | 17 |If you see any problems, you can reply to this email or call me at (206) 739-4741.
18 | {% endblock %} 19 | -------------------------------------------------------------------------------- /resources/views/dayof/codecup.twig: -------------------------------------------------------------------------------- 1 | {% extends "template.twig" %} 2 | {% block title %}CodeCup{% endblock %} 3 | {% block section %}dayof{% endblock %} 4 | {% block subnav %}{% include "dayof/subnav.twig" %}{% endblock %} 5 | {% block content %} 6 |Your city's CodeCup login information is:
11 | 12 |
13 | PlayCodeCup.com
14 | Register for an account, then join your region's team!
15 | Team: {{event.webname}}
16 | Pass: {{keys[event.webname]}}
17 |
Thank you for your interest in being a CodeDay mentor. Your application was accepted! Here's what you need to 2 | know about mentoring.
3 | 4 |Your local CodeDay team might contact you to schedule a specific shift, otherwise you can arrive any time 5 | between 2pm and midnight on Saturday, {{ registration.event.starts_at|date('F j') }}. Please plan to stay for at 6 | least two hours.
7 | 8 |Mentoring at CodeDay is different from mentoring at a traditional hackathon:
9 | 10 |We're looking forward to seeing you soon! Please let me know if you have any questions.
18 | -------------------------------------------------------------------------------- /resources/views/event/overview.twig: -------------------------------------------------------------------------------- 1 | {% extends "template.twig" %} 2 | {% block title %}Run of Show // {{ event.full_name }}{% endblock %} 3 | {% block section %}event{% endblock %} 4 | {% block subnav %}{% include "event/subnav.twig" %}{% endblock %} 5 | {% block content %} 6 |This tool lets you issue new giftcards.
9 |You are required to sign "{{ event.agreement.name }}" before managing this event.
9 |For legal reasons, we need to be extra sure you're the one signing this. A link to sign this agreement is being 12 | sent to your personal email, {{ event.manager.email }}.
13 |When you've completed the signing process, click "check for signature" to continue.
14 | 15 | 18 | 19 | 22 | {% endblock %} 23 | -------------------------------------------------------------------------------- /database/migrations/2015_03_30_164716_add_ticket_type.php: -------------------------------------------------------------------------------- 1 | enum('type', ['student', 'teacher', 'volunteer', 'sponsor'])->default('student'); 18 | }); 19 | 20 | \Schema::table('batches_events_promotions', function($table) 21 | { 22 | $table->enum('type', ['student', 'teacher', 'volunteer', 'sponsor'])->default('student'); 23 | }); 24 | } 25 | 26 | /** 27 | * Reverse the migrations. 28 | * 29 | * @return void 30 | */ 31 | public function down() 32 | { 33 | \Schema::table('batches_events_promotions', function($table) 34 | { 35 | $table->dropColumn('type'); 36 | }); 37 | 38 | \Schema::table('batches_events_registrations', function($table) 39 | { 40 | $table->dropColumn('type'); 41 | }); 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /database/migrations/2015_02_17_220817_add_applications.php: -------------------------------------------------------------------------------- 1 | string('public')->primary(); 17 | $table->string('private'); 18 | 19 | $table->string('name'); 20 | $table->text('description'); 21 | 22 | $table->boolean('permission_admin'); 23 | $table->boolean('permission_internal'); 24 | 25 | $table->string('admin_username'); 26 | 27 | $table->timestamps(); 28 | $table->softDeletes(); 29 | }); 30 | } 31 | 32 | /** 33 | * Reverse the migrations. 34 | * 35 | * @return void 36 | */ 37 | public function down() 38 | { 39 | \Schema::drop('applications'); 40 | } 41 | 42 | } 43 | --------------------------------------------------------------------------------