├── src
├── frontend
│ ├── index
│ │ ├── production.json
│ │ ├── development.json
│ │ └── index.mustache
│ ├── public
│ │ ├── admin
│ │ │ └── events
│ │ │ │ └── static
│ │ │ │ ├── ckeditor
│ │ │ │ ├── plugins
│ │ │ │ │ ├── icons.png
│ │ │ │ │ ├── icons_hidpi.png
│ │ │ │ │ ├── link
│ │ │ │ │ │ ├── images
│ │ │ │ │ │ │ ├── anchor.png
│ │ │ │ │ │ │ └── hidpi
│ │ │ │ │ │ │ │ └── anchor.png
│ │ │ │ │ │ └── dialogs
│ │ │ │ │ │ │ └── anchor.js
│ │ │ │ │ ├── about
│ │ │ │ │ │ └── dialogs
│ │ │ │ │ │ │ ├── logo_ckeditor.png
│ │ │ │ │ │ │ ├── hidpi
│ │ │ │ │ │ │ └── logo_ckeditor.png
│ │ │ │ │ │ │ └── about.js
│ │ │ │ │ ├── blockquote
│ │ │ │ │ │ ├── icons
│ │ │ │ │ │ │ ├── blockquote.png
│ │ │ │ │ │ │ └── hidpi
│ │ │ │ │ │ │ │ └── blockquote.png
│ │ │ │ │ │ └── lang
│ │ │ │ │ │ │ ├── ar.js
│ │ │ │ │ │ │ ├── cs.js
│ │ │ │ │ │ │ ├── eo.js
│ │ │ │ │ │ │ ├── es.js
│ │ │ │ │ │ │ ├── fi.js
│ │ │ │ │ │ │ ├── fr.js
│ │ │ │ │ │ │ ├── gl.js
│ │ │ │ │ │ │ ├── ja.js
│ │ │ │ │ │ │ ├── ka.js
│ │ │ │ │ │ │ ├── ko.js
│ │ │ │ │ │ │ ├── lt.js
│ │ │ │ │ │ │ ├── pl.js
│ │ │ │ │ │ │ ├── ro.js
│ │ │ │ │ │ │ ├── ru.js
│ │ │ │ │ │ │ ├── sk.js
│ │ │ │ │ │ │ ├── sl.js
│ │ │ │ │ │ │ ├── sq.js
│ │ │ │ │ │ │ ├── uk.js
│ │ │ │ │ │ │ ├── zh.js
│ │ │ │ │ │ │ ├── af.js
│ │ │ │ │ │ │ ├── bg.js
│ │ │ │ │ │ │ ├── ca.js
│ │ │ │ │ │ │ ├── cy.js
│ │ │ │ │ │ │ ├── da.js
│ │ │ │ │ │ │ ├── de.js
│ │ │ │ │ │ │ ├── en.js
│ │ │ │ │ │ │ ├── et.js
│ │ │ │ │ │ │ ├── fa.js
│ │ │ │ │ │ │ ├── fo.js
│ │ │ │ │ │ │ ├── he.js
│ │ │ │ │ │ │ ├── hi.js
│ │ │ │ │ │ │ ├── hr.js
│ │ │ │ │ │ │ ├── hu.js
│ │ │ │ │ │ │ ├── id.js
│ │ │ │ │ │ │ ├── is.js
│ │ │ │ │ │ │ ├── it.js
│ │ │ │ │ │ │ ├── lv.js
│ │ │ │ │ │ │ ├── mn.js
│ │ │ │ │ │ │ ├── nb.js
│ │ │ │ │ │ │ ├── nl.js
│ │ │ │ │ │ │ ├── no.js
│ │ │ │ │ │ │ ├── pt-br.js
│ │ │ │ │ │ │ ├── si.js
│ │ │ │ │ │ │ ├── sv.js
│ │ │ │ │ │ │ ├── th.js
│ │ │ │ │ │ │ ├── tr.js
│ │ │ │ │ │ │ ├── tt.js
│ │ │ │ │ │ │ ├── ug.js
│ │ │ │ │ │ │ ├── zh-cn.js
│ │ │ │ │ │ │ ├── el.js
│ │ │ │ │ │ │ ├── en-au.js
│ │ │ │ │ │ │ ├── en-ca.js
│ │ │ │ │ │ │ ├── en-gb.js
│ │ │ │ │ │ │ ├── eu.js
│ │ │ │ │ │ │ ├── fr-ca.js
│ │ │ │ │ │ │ ├── km.js
│ │ │ │ │ │ │ ├── pt.js
│ │ │ │ │ │ │ ├── vi.js
│ │ │ │ │ │ │ ├── bn.js
│ │ │ │ │ │ │ ├── bs.js
│ │ │ │ │ │ │ ├── gu.js
│ │ │ │ │ │ │ ├── mk.js
│ │ │ │ │ │ │ ├── ms.js
│ │ │ │ │ │ │ ├── sr.js
│ │ │ │ │ │ │ ├── ku.js
│ │ │ │ │ │ │ └── sr-latn.js
│ │ │ │ │ ├── dialog
│ │ │ │ │ │ └── dialogDefinition.js
│ │ │ │ │ └── clipboard
│ │ │ │ │ │ └── dialogs
│ │ │ │ │ │ └── paste.js
│ │ │ │ ├── samples
│ │ │ │ │ ├── img
│ │ │ │ │ │ ├── logo.png
│ │ │ │ │ │ ├── github-top.png
│ │ │ │ │ │ ├── header-bg.png
│ │ │ │ │ │ ├── navigation-tip.png
│ │ │ │ │ │ └── header-separator.png
│ │ │ │ │ ├── old
│ │ │ │ │ │ ├── assets
│ │ │ │ │ │ │ ├── sample.jpg
│ │ │ │ │ │ │ ├── inlineall
│ │ │ │ │ │ │ │ └── logo.png
│ │ │ │ │ │ │ ├── uilanguages
│ │ │ │ │ │ │ │ └── languages.js
│ │ │ │ │ │ │ ├── posteddata.php
│ │ │ │ │ │ │ └── outputxhtml
│ │ │ │ │ │ │ │ └── outputxhtml.css
│ │ │ │ │ │ ├── sample_posteddata.php
│ │ │ │ │ │ ├── dialog
│ │ │ │ │ │ │ └── assets
│ │ │ │ │ │ │ │ └── my_dialog.js
│ │ │ │ │ │ ├── sample.js
│ │ │ │ │ │ ├── appendto.html
│ │ │ │ │ │ ├── tabindex.html
│ │ │ │ │ │ ├── uicolor.html
│ │ │ │ │ │ ├── ajax.html
│ │ │ │ │ │ └── readonly.html
│ │ │ │ │ ├── toolbarconfigurator
│ │ │ │ │ │ ├── font
│ │ │ │ │ │ │ ├── fontello.eot
│ │ │ │ │ │ │ ├── fontello.ttf
│ │ │ │ │ │ │ ├── fontello.woff
│ │ │ │ │ │ │ ├── LICENSE.txt
│ │ │ │ │ │ │ ├── config.json
│ │ │ │ │ │ │ └── fontello.svg
│ │ │ │ │ │ ├── lib
│ │ │ │ │ │ │ └── codemirror
│ │ │ │ │ │ │ │ ├── show-hint.css
│ │ │ │ │ │ │ │ ├── neo.css
│ │ │ │ │ │ │ │ └── LICENSE
│ │ │ │ │ │ ├── css
│ │ │ │ │ │ │ └── fontello.css
│ │ │ │ │ │ └── js
│ │ │ │ │ │ │ └── fulltoolbareditor.js
│ │ │ │ │ └── js
│ │ │ │ │ │ └── sample.js
│ │ │ │ ├── skins
│ │ │ │ │ └── moono
│ │ │ │ │ │ ├── icons.png
│ │ │ │ │ │ ├── icons_hidpi.png
│ │ │ │ │ │ ├── images
│ │ │ │ │ │ ├── arrow.png
│ │ │ │ │ │ ├── close.png
│ │ │ │ │ │ ├── lock.png
│ │ │ │ │ │ ├── refresh.png
│ │ │ │ │ │ ├── spinner.gif
│ │ │ │ │ │ ├── hidpi
│ │ │ │ │ │ │ ├── close.png
│ │ │ │ │ │ │ ├── lock.png
│ │ │ │ │ │ │ ├── refresh.png
│ │ │ │ │ │ │ └── lock-open.png
│ │ │ │ │ │ └── lock-open.png
│ │ │ │ │ │ └── readme.md
│ │ │ │ ├── config.js
│ │ │ │ ├── README.md
│ │ │ │ ├── contents.css
│ │ │ │ ├── adapters
│ │ │ │ │ └── jquery.js
│ │ │ │ └── build-config.js
│ │ │ │ └── clndr.less
│ │ └── BSDSurveyWrapper.js
│ ├── components
│ │ ├── InfoHeader.js
│ │ ├── forms
│ │ │ ├── GCFormField.js
│ │ │ ├── GCSubmitButton.js
│ │ │ ├── GCToggleField.js
│ │ │ ├── GCTextField.js
│ │ │ ├── GCPasswordField.js
│ │ │ ├── GCPhoneField.js
│ │ │ ├── GCDateField.js
│ │ │ ├── GCTimeField.js
│ │ │ ├── GCRadioButtonsField.js
│ │ │ ├── GCDateTimeField.js
│ │ │ ├── GCCheckboxesField.js
│ │ │ ├── GCBooleanField.js
│ │ │ ├── GCSelectField.js
│ │ │ └── GCForm.js
│ │ ├── NotFound.js
│ │ ├── Unauthorized.js
│ │ ├── volunteer-dashboard
│ │ │ ├── EventEditor.js
│ │ │ ├── EventViewer.js
│ │ │ ├── VolunteerEventsDashboard.js
│ │ │ └── VolunteerDashboard.js
│ │ ├── data
│ │ │ └── USTimeZones.js
│ │ ├── styles
│ │ │ ├── bernie-theme.js
│ │ │ └── bernie-css.js
│ │ ├── AdminCallAssignment.js
│ │ ├── CallAssignmentsDashboard.js
│ │ ├── survey-renderers
│ │ │ └── SurveyRenderer.js
│ │ ├── CallAssignmentList.js
│ │ ├── AdminDashboard.js
│ │ ├── SurveyRenderer.js
│ │ ├── AdminCallAssignmentsSection.js
│ │ ├── SideBarLayout.js
│ │ ├── Dashboard.js
│ │ ├── CallAssignmentsSection.js
│ │ ├── MutationHandler.js
│ │ ├── EventPreview.js
│ │ └── TopNav.js
│ ├── BSD
│ │ └── BSDAdminSurveyWrapper.js
│ ├── mutations
│ │ ├── EditEvents.js
│ │ ├── DeleteEvents.js
│ │ ├── SubmitCallSurvey.js
│ │ └── CreateCallAssignment.js
│ └── relay-extensions
│ │ └── GCNetworkLayer.js
├── backend
│ ├── email-templates
│ │ ├── phone-bank-instructions
│ │ │ ├── style.hbs
│ │ │ ├── text.hbs
│ │ │ └── html.hbs
│ │ ├── event-create-confirmation
│ │ │ ├── style.hbs
│ │ │ ├── text.hbs
│ │ │ └── html.hbs
│ │ ├── header.hbs
│ │ └── footer.hbs
│ ├── bsd-instance.js
│ ├── data
│ │ ├── migrations
│ │ │ ├── 20151219155318_add_is_primary_index_to_phones.js
│ │ │ ├── 20151222165715_add_completed_to_calls.js
│ │ │ ├── 20151223084757_add_instructions_to_call_assignments.js
│ │ │ ├── 20151222224835_make_ids_bigint.js
│ │ │ └── 20151222230001_make_other_columns_bigint.js
│ │ ├── knexfile.js
│ │ ├── writeSchema.js
│ │ └── knex.js
│ ├── log.js
│ ├── bcrypt-promise.js
│ └── maestro.js
└── jobs
│ ├── jobs.json
│ ├── README.md
│ ├── jobs
│ ├── bsd-assigned-calls-ttl.js
│ └── refresh-group-memberships.js
│ └── app.js
├── vendor
└── dante
│ ├── lib
│ ├── libsocks.so
│ ├── libsocks.so.0
│ ├── libsocks.a
│ ├── libdsocks.so
│ ├── libsocks.so.0.1.1
│ ├── libdsocks.la
│ └── libsocks.la
│ ├── bin
│ └── socksify
│ ├── include
│ └── socks.h
│ ├── share
│ └── man
│ │ └── man1
│ │ └── socksify.1
│ └── socks.conf.template
├── Procfile
├── run
├── .tern-project
├── webpack
├── babelRelayPlugin.js
├── schemaPlugin.js
├── config.js
└── server.js
├── docker-compose.yml
├── .gitignore
├── Procfile.dev
├── .env
├── .eslintrc
├── setup-osx
├── setup-linux
├── bin
└── proximo
├── docs
├── SPECS.md
└── CALL_ASSIGNMENTS.md
└── package.json
/src/frontend/index/production.json:
--------------------------------------------------------------------------------
1 | {
2 |
3 | }
--------------------------------------------------------------------------------
/vendor/dante/lib/libsocks.so:
--------------------------------------------------------------------------------
1 | libsocks.so.0.1.1
--------------------------------------------------------------------------------
/vendor/dante/lib/libsocks.so.0:
--------------------------------------------------------------------------------
1 | libsocks.so.0.1.1
--------------------------------------------------------------------------------
/Procfile:
--------------------------------------------------------------------------------
1 | web: npm start
2 | worker: ./run ./src/jobs/app.js
--------------------------------------------------------------------------------
/src/backend/email-templates/phone-bank-instructions/style.hbs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/run:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | require('babel/register');
3 | require(process.argv[2]);
--------------------------------------------------------------------------------
/.tern-project:
--------------------------------------------------------------------------------
1 | {
2 | "ecmaVersion": 6,
3 | "libs": [
4 | "browser",
5 | "jquery"
6 | ]
7 | }
--------------------------------------------------------------------------------
/vendor/dante/bin/socksify:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/vendor/dante/bin/socksify
--------------------------------------------------------------------------------
/src/frontend/index/development.json:
--------------------------------------------------------------------------------
1 | {
2 | "extra_head": ""
3 | }
--------------------------------------------------------------------------------
/vendor/dante/include/socks.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/vendor/dante/include/socks.h
--------------------------------------------------------------------------------
/vendor/dante/lib/libsocks.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/vendor/dante/lib/libsocks.a
--------------------------------------------------------------------------------
/vendor/dante/lib/libdsocks.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/vendor/dante/lib/libdsocks.so
--------------------------------------------------------------------------------
/src/backend/email-templates/event-create-confirmation/style.hbs:
--------------------------------------------------------------------------------
1 | ul {
2 | list-style-type: none;
3 | padding-left: 0;
4 | }
--------------------------------------------------------------------------------
/vendor/dante/lib/libsocks.so.0.1.1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/vendor/dante/lib/libsocks.so.0.1.1
--------------------------------------------------------------------------------
/vendor/dante/share/man/man1/socksify.1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/vendor/dante/share/man/man1/socksify.1
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/icons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/plugins/icons.png
--------------------------------------------------------------------------------
/src/backend/bsd-instance.js:
--------------------------------------------------------------------------------
1 | import BSD from './bsd';
2 |
3 | const BSDClient = new BSD(process.env.BSD_HOST, process.env.BSD_API_ID, process.env.BSD_API_SECRET);
4 |
5 | export default BSDClient
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/samples/img/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/samples/img/logo.png
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/skins/moono/icons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/skins/moono/icons.png
--------------------------------------------------------------------------------
/webpack/babelRelayPlugin.js:
--------------------------------------------------------------------------------
1 | var getbabelRelayPlugin = require('babel-relay-plugin');
2 | var schema = require('/tmp/schema.json');
3 |
4 | module.exports = getbabelRelayPlugin(schema.data);
5 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/icons_hidpi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/plugins/icons_hidpi.png
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/samples/img/github-top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/samples/img/github-top.png
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/samples/img/header-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/samples/img/header-bg.png
--------------------------------------------------------------------------------
/vendor/dante/socks.conf.template:
--------------------------------------------------------------------------------
1 | route {
2 | from: 0.0.0.0/0 to: %PROXIMO_MASK% via: %PROXIMO_HOST% port = 1080
3 | proxyprotocol: socks_v5
4 | method: username
5 | command: connect
6 | }
7 |
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/samples/old/assets/sample.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/samples/old/assets/sample.jpg
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/skins/moono/icons_hidpi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/skins/moono/icons_hidpi.png
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/skins/moono/images/arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/skins/moono/images/arrow.png
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/skins/moono/images/close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/skins/moono/images/close.png
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/skins/moono/images/lock.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/skins/moono/images/lock.png
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/link/images/anchor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/plugins/link/images/anchor.png
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/samples/img/navigation-tip.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/samples/img/navigation-tip.png
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/skins/moono/images/refresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/skins/moono/images/refresh.png
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/skins/moono/images/spinner.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/skins/moono/images/spinner.gif
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/samples/img/header-separator.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/samples/img/header-separator.png
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/skins/moono/images/hidpi/close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/skins/moono/images/hidpi/close.png
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/skins/moono/images/hidpi/lock.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/skins/moono/images/hidpi/lock.png
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/skins/moono/images/lock-open.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/skins/moono/images/lock-open.png
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/link/images/hidpi/anchor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/plugins/link/images/hidpi/anchor.png
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/skins/moono/images/hidpi/refresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/skins/moono/images/hidpi/refresh.png
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/about/dialogs/logo_ckeditor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/plugins/about/dialogs/logo_ckeditor.png
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/icons/blockquote.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/icons/blockquote.png
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/samples/old/assets/inlineall/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/samples/old/assets/inlineall/logo.png
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/skins/moono/images/hidpi/lock-open.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/skins/moono/images/hidpi/lock-open.png
--------------------------------------------------------------------------------
/src/frontend/components/InfoHeader.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import {BernieText} from './styles/bernie-css';
3 | export default function({content}) {
4 | return (
5 |
{content}
6 | );
7 | }
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/icons/hidpi/blockquote.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/icons/hidpi/blockquote.png
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/dialog/dialogDefinition.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/samples/toolbarconfigurator/font/fontello.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/samples/toolbarconfigurator/font/fontello.eot
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/samples/toolbarconfigurator/font/fontello.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/samples/toolbarconfigurator/font/fontello.ttf
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/samples/toolbarconfigurator/font/fontello.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/al3x/ground-control/master/src/frontend/public/admin/events/static/ckeditor/samples/toolbarconfigurator/font/fontello.woff
--------------------------------------------------------------------------------
/docker-compose.yml:
--------------------------------------------------------------------------------
1 | db:
2 | image: mdillon/postgis
3 | environment:
4 | - POSTGRES_PASSWORD=
5 | - POSTGRES_USER=postgres
6 | - POSTGRES_DBNAME=ground_control
7 | ports:
8 | - 5432
9 | ports:
10 | - 5432:5432
11 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules
3 | npm-debug.log
4 | src/backend/data/schema.graphql
5 | src/backend/data/schema.json
6 | rethinkdb_data
7 | src/frontend/public/js
8 | src/frontend/public/index.html
9 | *-compiled.js
10 | *-compiled.js.map
11 |
--------------------------------------------------------------------------------
/Procfile.dev:
--------------------------------------------------------------------------------
1 | graphql: nodemon -e js -w ./src/backend --exec ./run -- ./src/backend/server.js
2 | webpack: ./run ./webpack/server.js
3 | postgres: postgres -D /usr/local/var/postgres
4 | worker: nodemon -e js -w ./src/jobs --exec ./run -- ./src/jobs/app.js
5 |
--------------------------------------------------------------------------------
/src/frontend/components/forms/GCFormField.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | export default class GCFormField extends React.Component {
3 | floatingLabelText() {
4 | return this.props.floatingLabelText === false ? null : this.props.floatingLabelText || this.props.label;
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/src/jobs/jobs.json:
--------------------------------------------------------------------------------
1 | {
2 | "jobs": [
3 | {
4 | "cron": "00 */10 * * * *",
5 | "job": "./jobs/bsd-assigned-calls-ttl.js"
6 | },
7 | {
8 | "cron": "*/5 * * * * *",
9 | "job": "./jobs/refresh-group-memberships.js"
10 | }
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/src/backend/data/migrations/20151219155318_add_is_primary_index_to_phones.js:
--------------------------------------------------------------------------------
1 |
2 | exports.up = function(knex, Promise) {
3 | return knex.schema.table('bsd_phones', function(table) {
4 | table.index('is_primary')
5 | })
6 | };
7 |
8 | exports.down = function(knex, Promise) {
9 |
10 | };
11 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/ar.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'ar', {
6 | toolbar: 'اقتباس'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/cs.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'cs', {
6 | toolbar: 'Citace'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/eo.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'eo', {
6 | toolbar: 'Citaĵo'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/es.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'es', {
6 | toolbar: 'Cita'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/fi.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'fi', {
6 | toolbar: 'Lainaus'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/fr.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'fr', {
6 | toolbar: 'Citation'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/gl.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'gl', {
6 | toolbar: 'Cita'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/ja.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'ja', {
6 | toolbar: 'ブロック引用文'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/ka.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'ka', {
6 | toolbar: 'ციტატა'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/ko.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'ko', {
6 | toolbar: '인용 단락'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/lt.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'lt', {
6 | toolbar: 'Citata'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/pl.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'pl', {
6 | toolbar: 'Cytat'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/ro.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'ro', {
6 | toolbar: 'Citat'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/ru.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'ru', {
6 | toolbar: 'Цитата'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/sk.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'sk', {
6 | toolbar: 'Citácia'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/sl.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'sl', {
6 | toolbar: 'Citat'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/sq.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'sq', {
6 | toolbar: 'Citatet'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/uk.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'uk', {
6 | toolbar: 'Цитата'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/zh.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'zh', {
6 | toolbar: '引用段落'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/af.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'af', {
6 | toolbar: 'Sitaatblok'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/bg.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'bg', {
6 | toolbar: 'Блок за цитат'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/ca.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'ca', {
6 | toolbar: 'Bloc de cita'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/cy.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'cy', {
6 | toolbar: 'Dyfyniad bloc'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/da.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'da', {
6 | toolbar: 'Blokcitat'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/de.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'de', {
6 | toolbar: 'Zitatblock'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/en.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'en', {
6 | toolbar: 'Block Quote'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/et.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'et', {
6 | toolbar: 'Blokktsitaat'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/fa.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'fa', {
6 | toolbar: 'بلوک نقل قول'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/fo.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'fo', {
6 | toolbar: 'Blockquote'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/he.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'he', {
6 | toolbar: 'בלוק ציטוט'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/hi.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'hi', {
6 | toolbar: 'ब्लॉक-कोट'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/hr.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'hr', {
6 | toolbar: 'Blockquote'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/hu.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'hu', {
6 | toolbar: 'Idézet blokk'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/id.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'id', {
6 | toolbar: 'Kutipan Blok'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/is.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'is', {
6 | toolbar: 'Inndráttur'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/it.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'it', {
6 | toolbar: 'Citazione'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/lv.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'lv', {
6 | toolbar: 'Bloka citāts'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/mn.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'mn', {
6 | toolbar: 'Ишлэл хэсэг'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/nb.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'nb', {
6 | toolbar: 'Blokksitat'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/nl.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'nl', {
6 | toolbar: 'Citaatblok'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/no.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'no', {
6 | toolbar: 'Blokksitat'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/pt-br.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'pt-br', {
6 | toolbar: 'Citação'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/si.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'si', {
6 | toolbar: 'උද්ධෘත කොටස'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/sv.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'sv', {
6 | toolbar: 'Blockcitat'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/th.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'th', {
6 | toolbar: 'Block Quote'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/tr.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'tr', {
6 | toolbar: 'Blok Oluştur'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/tt.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'tt', {
6 | toolbar: 'Өземтә блогы'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/ug.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'ug', {
6 | toolbar: 'بۆلەك نەقىل'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/zh-cn.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'zh-cn', {
6 | toolbar: '块引用'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/el.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'el', {
6 | toolbar: 'Περιοχή Παράθεσης'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/en-au.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'en-au', {
6 | toolbar: 'Block Quote'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/en-ca.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'en-ca', {
6 | toolbar: 'Block Quote'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/en-gb.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'en-gb', {
6 | toolbar: 'Block Quote'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/eu.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'eu', {
6 | toolbar: 'Aipamen blokea'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/fr-ca.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'fr-ca', {
6 | toolbar: 'Citation'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/km.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'km', {
6 | toolbar: 'ប្លក់ពាក្យសម្រង់'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/pt.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'pt', {
6 | toolbar: 'Bloco de citação'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/vi.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'vi', {
6 | toolbar: 'Khối trích dẫn'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/samples/toolbarconfigurator/font/LICENSE.txt:
--------------------------------------------------------------------------------
1 | Font license info
2 |
3 |
4 | ## Font Awesome
5 |
6 | Copyright (C) 2012 by Dave Gandy
7 |
8 | Author: Dave Gandy
9 | License: SIL ()
10 | Homepage: http://fortawesome.github.com/Font-Awesome/
11 |
--------------------------------------------------------------------------------
/src/backend/log.js:
--------------------------------------------------------------------------------
1 | import Minilog from 'minilog';
2 |
3 | Minilog.suggest.deny(/.*/, process.env.NODE_ENV === 'development' ? 'debug' : 'info')
4 |
5 | Minilog.enable()
6 | .pipe(Minilog.backends.console.formatWithStack)
7 | .pipe(Minilog.backends.console)
8 |
9 | const log = Minilog('backend');
10 | export default log;
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/bn.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'bn', {
6 | toolbar: 'Block Quote' // MISSING
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/bs.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'bs', {
6 | toolbar: 'Block Quote' // MISSING
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/gu.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'gu', {
6 | toolbar: 'બ્લૉક-કોટ, અવતરણચિહ્નો'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/mk.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'mk', {
6 | toolbar: 'Block Quote' // MISSING
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/ms.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'ms', {
6 | toolbar: 'Block Quote' // MISSING
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/sr.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'sr', {
6 | toolbar: 'Block Quote' // MISSING
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/ku.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'ku', {
6 | toolbar: 'بەربەستکردنی ووتەی وەرگیراو'
7 | } );
8 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/plugins/blockquote/lang/sr-latn.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang( 'blockquote', 'sr-latn', {
6 | toolbar: 'Block Quote' // MISSING
7 | } );
8 |
--------------------------------------------------------------------------------
/.env:
--------------------------------------------------------------------------------
1 | NODE_ENV=development
2 | WEBPACK_PORT=3000
3 | WEBPACK_PROXY_PORT=8090
4 | APP_HOST=localhost
5 | PORT=8090
6 | BSD_HOST=bernietest.bsd.net
7 | BSD_API_ID=ground-control
8 | BSD_API_SECRET=0cd514daf066ddc438930f86388a42a5e5eb667d
9 | SESSION_SECRET=bigbadsecretforuseindev
10 | DATABASE_URL=postgres://ground_control:@localhost:5432/ground_control
--------------------------------------------------------------------------------
/src/frontend/components/NotFound.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import {BernieTheme} from './styles/bernie-theme';
3 | import {BernieColors, BernieText} from './styles/bernie-css';
4 |
5 | export default class NotFound extends React.Component {
6 | render() {
7 | return (
8 |
9 | Nothing to see here...
10 |
11 | )
12 | }
13 | }
--------------------------------------------------------------------------------
/src/frontend/components/Unauthorized.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import {BernieTheme} from './styles/bernie-theme';
3 | import {BernieColors, BernieText} from './styles/bernie-css';
4 |
5 | export default class Unauthorized extends React.Component {
6 | render() {
7 | return (
8 |
9 | You don't have access to that.
10 |
11 | )
12 | }
13 | }
--------------------------------------------------------------------------------
/src/backend/data/migrations/20151222165715_add_completed_to_calls.js:
--------------------------------------------------------------------------------
1 |
2 | exports.up = function(knex, Promise) {
3 | return knex.schema.table('bsd_calls', function(table) {
4 | table.boolean('completed')
5 | })
6 | };
7 |
8 | exports.down = function(knex, Promise) {
9 | return knex.schema.table('bsd_calls', function(table) {
10 | table.dropColumn('completed')
11 | })
12 | };
13 |
--------------------------------------------------------------------------------
/webpack/schemaPlugin.js:
--------------------------------------------------------------------------------
1 | function apply(options, compiler) {
2 | compiler.plugin('compile', function(params) {
3 | require('babel/register')({
4 | optional: ['es7.asyncFunctions']
5 | });
6 | require('../src/backend/data/writeSchema')();
7 | });
8 | }
9 |
10 | module.exports = function(options) {
11 | return {
12 | apply: apply.bind(this, options)
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/frontend/components/forms/GCSubmitButton.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import {TextField} from 'material-ui';
3 | import {RaisedButton} from 'material-ui';
4 |
5 | export default class GCSubmitButton extends React.Component {
6 | render() {
7 | return
13 | }
14 | }
--------------------------------------------------------------------------------
/src/backend/data/migrations/20151223084757_add_instructions_to_call_assignments.js:
--------------------------------------------------------------------------------
1 |
2 | exports.up = function(knex, Promise) {
3 | return knex.schema.table('bsd_call_assignments', function(table) {
4 | table.text('instructions').notNullable().defaultTo('')
5 | })
6 | };
7 |
8 | exports.down = function(knex, Promise) {
9 | return knex.schema.table('bsd_call_assignments', function(table) {
10 | table.dropColumn('instructions')
11 | })
12 | };
13 |
--------------------------------------------------------------------------------
/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "parser": "babel-eslint",
3 | "ecmaFeatures": {
4 | "jsx": true,
5 | "modules": true
6 | },
7 | "env": {
8 | "browser": true,
9 | "node": true
10 | },
11 | "rules": {
12 | "no-var": 1,
13 | "no-this-before-super": 2,
14 | "constructor-super": 1,
15 | "react/jsx-uses-react": 2,
16 | "react/jsx-uses-vars": 2,
17 | "react/react-in-jsx-scope": 2,
18 | "react/prefer-es6-class": 2,
19 | },
20 | "plugins": [
21 | "react"
22 | ]
23 | }
--------------------------------------------------------------------------------
/src/frontend/components/volunteer-dashboard/EventEditor.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import Relay from 'react-relay';
3 | import {BernieText} from './styles/bernie-css'
4 | import Radium from 'radium'
5 | import SideBarLayout from './SideBarLayout';
6 |
7 | @Radium
8 | class EventEditor extends React.Component {
9 | render() {
10 | return (
11 | event editor
12 | )
13 | }
14 | }
15 |
16 | export default Relay.createContainer(EventEditor, {
17 | fragments: {
18 |
19 | },
20 | });
--------------------------------------------------------------------------------
/src/frontend/components/volunteer-dashboard/EventViewer.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import Relay from 'react-relay';
3 | import {BernieText} from './styles/bernie-css'
4 | import Radium from 'radium'
5 | import SideBarLayout from './SideBarLayout';
6 |
7 | @Radium
8 | class EventViewer extends React.Component {
9 | render() {
10 | return (
11 | event viewer
12 | )
13 | }
14 | }
15 |
16 | export default Relay.createContainer(EventViewer, {
17 | fragments: {
18 |
19 | },
20 | });
--------------------------------------------------------------------------------
/src/frontend/components/forms/GCToggleField.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import {Toggle} from 'material-ui';
3 | import {BernieText, BernieColors} from '../styles/bernie-css'
4 |
5 | export default class GCToggleField extends React.Component {
6 | styles = {
7 | label: {
8 | ...BernieText.inputLabel
9 | },
10 | selectedButton: {
11 | color: BernieColors.lightBlue,
12 | backgroundColor: BernieColors.blue
13 | },
14 | }
15 | render() {
16 | return
19 | }
20 | }
--------------------------------------------------------------------------------
/src/frontend/components/volunteer-dashboard/VolunteerEventsDashboard.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import Relay from 'react-relay';
3 | import {BernieText} from './styles/bernie-css'
4 | import Radium from 'radium'
5 | import SideBarLayout from './SideBarLayout';
6 |
7 | @Radium
8 | class VolunteerEventsDashboard extends React.Component {
9 | render() {
10 | return (
11 | events dashboard content
12 | )
13 | }
14 | }
15 |
16 | export default Relay.createContainer(VolunteerEventsDashboard, {
17 | fragments: {
18 |
19 | },
20 | });
--------------------------------------------------------------------------------
/src/frontend/components/forms/GCTextField.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import {TextField} from 'material-ui';
3 | import {BernieText} from '../styles/bernie-css';
4 | import GCFormField from './GCFormField';
5 |
6 | export default class GCTextField extends GCFormField {
7 | render() {
8 | return {
14 | this.props.onChange(event.target.value)
15 | }}
16 | />
17 | }
18 | }
--------------------------------------------------------------------------------
/src/frontend/components/forms/GCPasswordField.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import {TextField} from 'material-ui';
3 | import {BernieText} from '../styles/bernie-css';
4 | import GCFormField from './GCFormField';
5 |
6 | export default class GCPasswordField extends GCFormField {
7 | render() {
8 | return {this.props.onChange(event.target.value)}}
15 | />
16 | }
17 | }
--------------------------------------------------------------------------------
/src/frontend/components/data/USTimeZones.js:
--------------------------------------------------------------------------------
1 | // modified from https://gist.github.com/ykessler/3349960#file-timezones
2 |
3 | export const USTimeZones = [
4 | {"value":"US/Atlantic","name":"Puerto Rico (Atlantic)"},
5 | {"value":"US/Eastern","name":"New York (Eastern)"},
6 | {"value":"US/Central","name":"Chicago (Central)"},
7 | {"value":"US/Mountain","name":"Denver (Mountain)"},
8 | {"value":"US/MST","name":"Phoenix (MST)"},
9 | {"value":"US/Pacific","name":"Los Angeles (Pacific)"},
10 | {"value":"US/Alaska","name":"Anchorage (Alaska)"},
11 | {"value":"Pacific/Honolulu","name":"Honolulu (Hawaii)"}
12 | ];
--------------------------------------------------------------------------------
/src/backend/bcrypt-promise.js:
--------------------------------------------------------------------------------
1 | import Promise from 'bluebird';
2 | import bcrypt from 'bcrypt';
3 |
4 | export function hash(password, salt) {
5 | salt = salt || 10
6 | return new Promise((resolve, reject) => {
7 | bcrypt.hash(password, salt, (err, hashedValue) => {
8 | if (err) return reject(err)
9 | resolve(hashedValue)
10 | })
11 | })
12 | }
13 |
14 | export function compare(expected, hashedValue) {
15 | return new Promise((resolve, reject) => {
16 | bcrypt.compare(expected, hashedValue, (err, res) => {
17 | if (err) return reject(err)
18 | resolve(res)
19 | })
20 | })
21 | }
--------------------------------------------------------------------------------
/webpack/config.js:
--------------------------------------------------------------------------------
1 | var SchemaPlugin = require('./schemaPlugin')
2 |
3 | module.exports = {
4 | entry: './src/frontend/app.js',
5 | module: {
6 | loaders: [
7 | { test: /\.json$/, loader: 'json'},
8 | { test: /\.css$/, loader: "style!css" },
9 | {
10 | exclude: /node_modules/,
11 | loader: 'babel',
12 | query: {stage: 0, plugins: ['./webpack/babelRelayPlugin']},
13 | test: /\.js$/,
14 | }
15 | ]
16 | },
17 | plugins: [
18 | new SchemaPlugin()
19 | ],
20 | output: {filename: 'app.js', path: './src/frontend/public/js/'},
21 | devtool: "#inline-source-map"
22 | }
23 |
--------------------------------------------------------------------------------
/src/backend/data/knexfile.js:
--------------------------------------------------------------------------------
1 | if (typeof process.env.DATABASE_URL === 'undefined')
2 | require('dotenv').load({path: '../../../.env'});
3 | require("babel/register");
4 | var sharedConfig = {
5 | connection: process.env.DATABASE_URL,
6 | client: 'pg',
7 | migrations: {
8 | tableName: 'knex_migrations',
9 | directory: './migrations'
10 | }
11 | }
12 |
13 | var development = {
14 | seeds: {
15 | directory: './seeds/development'
16 | }
17 | };
18 |
19 | var production = {
20 | seeds: {
21 | directory: './seeds/production'
22 | }
23 | };
24 |
25 | Object.assign(development, sharedConfig);
26 | Object.assign(production, sharedConfig);
27 |
28 | module.exports = {
29 | development: development,
30 | production: production
31 | }
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/samples/toolbarconfigurator/font/config.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "",
3 | "css_prefix_text": "icon-",
4 | "css_use_suffix": false,
5 | "hinting": true,
6 | "units_per_em": 1000,
7 | "ascent": 850,
8 | "glyphs": [
9 | {
10 | "uid": "f48ae54adfb27d8ada53d0fd9e34ee10",
11 | "css": "trash-empty",
12 | "code": 59392,
13 | "src": "fontawesome"
14 | },
15 | {
16 | "uid": "1c4068ed75209e21af36017df8871802",
17 | "css": "down-big",
18 | "code": 59393,
19 | "src": "fontawesome"
20 | },
21 | {
22 | "uid": "95376bf082bfec6ce06ea1cda7bd7ead",
23 | "css": "up-big",
24 | "code": 59394,
25 | "src": "fontawesome"
26 | }
27 | ]
28 | }
--------------------------------------------------------------------------------
/src/frontend/components/forms/GCPhoneField.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import {TextField} from 'material-ui';
3 | import {BernieText} from '../styles/bernie-css';
4 | import GCFormField from './GCFormField';
5 |
6 | export default class GCPhoneField extends GCFormField {
7 |
8 | render() {
9 | let phone = this.props.value
10 | let formattedValue = `(${phone.slice(0, 3)}) ${phone.slice(3,6)}-${phone.slice(6)}`
11 | return {
18 | let val = event.target.value.replace(/\D/g,'')
19 | this.props.onChange(val)
20 | }}
21 | />
22 | }
23 | }
--------------------------------------------------------------------------------
/src/frontend/components/styles/bernie-theme.js:
--------------------------------------------------------------------------------
1 | import {Styles, Utils} from 'material-ui';
2 | import {BernieColors, BernieText} from './bernie-css';
3 |
4 | export const BernieTheme = {
5 | spacing: Styles.Spacing,
6 | fontFamily: BernieText.default.fontFamily,
7 |
8 | palette: {
9 | primary1Color: BernieColors.blue,
10 | primary2Color: BernieColors.red,
11 | primary3Color: Styles.Colors.grey400,
12 | accent1Color: BernieColors.red,
13 | accent2Color: BernieColors.lightGray,
14 | accent3Color: Styles.Colors.grey500,
15 | textColor: BernieText.default.color,
16 | alternateTextColor: Styles.Colors.white,
17 | canvasColor: Styles.Colors.white,
18 | borderColor: BernieColors.lightGray,
19 | disabledColor: Utils.ColorManipulator.fade(Styles.Colors.darkBlack, 0.3),
20 | },
21 | };
--------------------------------------------------------------------------------
/src/backend/data/migrations/20151222224835_make_ids_bigint.js:
--------------------------------------------------------------------------------
1 |
2 | exports.up = async function(knex, Promise) {
3 | await knex.schema.raw('ALTER TABLE bsd_assigned_calls ALTER id SET DATA TYPE bigint;');
4 | await knex.schema.raw('ALTER TABLE bsd_audits ALTER id SET DATA TYPE bigint;');
5 | await knex.schema.raw('ALTER TABLE bsd_call_assignments ALTER id SET DATA TYPE bigint;');
6 | await knex.schema.raw('ALTER TABLE bsd_calls ALTER id SET DATA TYPE bigint;');
7 | await knex.schema.raw('ALTER TABLE gc_bsd_groups ALTER id SET DATA TYPE bigint;');
8 | await knex.schema.raw('ALTER TABLE gc_bsd_surveys ALTER id SET DATA TYPE bigint;');
9 | await knex.schema.raw('ALTER TABLE users ALTER id SET DATA TYPE bigint;');
10 | await knex.schema.raw('ALTER TABLE zip_codes ALTER id SET DATA TYPE bigint;');
11 | };
12 |
13 | exports.down = function(knex, Promise) {
14 |
15 | };
16 |
--------------------------------------------------------------------------------
/src/frontend/BSD/BSDAdminSurveyWrapper.js:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/src/frontend/components/forms/GCDateField.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import {DatePicker} from 'material-ui';
3 | import {BernieText} from '../styles/bernie-css';
4 | import moment from 'moment';
5 | import GCFormField from './GCFormField'
6 |
7 | export default class GCDateField extends GCFormField {
8 | render() {
9 | let oldDate = moment(this.props.value).utcOffset(this.props.utcOffset);
10 | return {
15 | let newDate = moment(date).utcOffset(this.props.utcOffset);
16 | newDate.set('hour', oldDate.get('hour'))
17 | newDate.set('minute', oldDate.get('minute'))
18 | newDate.set('second', oldDate.get('second'))
19 | this.props.onChange(newDate.toDate())
20 | }}
21 | />
22 | }
23 | }
--------------------------------------------------------------------------------
/src/frontend/mutations/EditEvents.js:
--------------------------------------------------------------------------------
1 | import Relay from 'react-relay';
2 |
3 | export default class EditEvents extends Relay.Mutation {
4 | static fragments = {
5 | listContainer: () => Relay.QL`
6 | fragment on ListContainer {
7 | id
8 | }
9 | `,
10 | };
11 |
12 | getMutation() {
13 | return Relay.QL`
14 | mutation{ editEvents }
15 | `;
16 | }
17 |
18 | getFatQuery() {
19 | return Relay.QL`
20 | fragment on EditEventsPayload {
21 | listContainer {
22 | id,
23 | events
24 | },
25 | }
26 | `;
27 | }
28 |
29 | getConfigs() {
30 | return [{
31 | type: 'FIELDS_CHANGE',
32 | fieldIDs: {
33 | listContainer: this.props.listContainer.id
34 | }
35 | }];
36 | }
37 |
38 | getVariables() {
39 | return {
40 | events: this.props.events
41 | }
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/src/backend/data/migrations/20151222230001_make_other_columns_bigint.js:
--------------------------------------------------------------------------------
1 |
2 | exports.up = async function(knex, Promise) {
3 | await knex.schema.raw('ALTER TABLE bsd_assigned_calls ALTER caller_id SET DATA TYPE bigint;');
4 | await knex.schema.raw('ALTER TABLE bsd_assigned_calls ALTER call_assignment_id SET DATA TYPE bigint;');
5 | await knex.schema.raw('ALTER TABLE bsd_call_assignments ALTER gc_bsd_survey_id SET DATA TYPE bigint;');
6 | await knex.schema.raw('ALTER TABLE bsd_call_assignments ALTER gc_bsd_group_id SET DATA TYPE bigint;');
7 | await knex.schema.raw('ALTER TABLE bsd_call_assignments ALTER gc_bsd_group_id SET DATA TYPE bigint;');
8 | await knex.schema.raw('ALTER TABLE bsd_calls ALTER caller_id SET DATA TYPE bigint;');
9 | await knex.schema.raw('ALTER TABLE bsd_calls ALTER call_assignment_id SET DATA TYPE bigint;');
10 | };
11 |
12 | exports.down = function(knex, Promise) {
13 |
14 | };
15 |
--------------------------------------------------------------------------------
/src/frontend/mutations/DeleteEvents.js:
--------------------------------------------------------------------------------
1 | import Relay from 'react-relay';
2 |
3 | export default class DeleteEvents extends Relay.Mutation {
4 | static fragments = {
5 | listContainer: () => Relay.QL`
6 | fragment on ListContainer {
7 | id
8 | }
9 | `,
10 | };
11 |
12 | getMutation() {
13 | return Relay.QL`
14 | mutation{ deleteEvents }
15 | `;
16 | }
17 |
18 | getFatQuery() {
19 | return Relay.QL`
20 | fragment on DeleteEventsPayload {
21 | listContainer {
22 | id,
23 | events
24 | },
25 | }
26 | `;
27 | }
28 |
29 | getConfigs() {
30 | return [{
31 | type: 'FIELDS_CHANGE',
32 | fieldIDs: {
33 | listContainer: this.props.listContainer.id
34 | }
35 | }];
36 | }
37 |
38 | getVariables() {
39 | return {
40 | ids: this.props.eventIDs
41 | }
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/src/frontend/public/admin/events/static/ckeditor/samples/old/sample_posteddata.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | -------------------------------------------------------------------------------------------
4 | CKEditor - Posted Data
5 |
6 | We are sorry, but your Web server does not support the PHP language used in this script.
7 |
8 | Please note that CKEditor can be used with any other server-side language than just PHP.
9 | To save the content created with CKEditor you need to read the POST data on the server
10 | side and write it to a file or the database.
11 |
12 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
13 | For licensing, see LICENSE.md or http://ckeditor.com/license
14 | -------------------------------------------------------------------------------------------
15 |
16 |