
Doc https://docs.google.com/document/d/1gOAceevwutF3QHYWD0_6aESQMZEiIz3YVBVXlyUuRy8 * Summit Registration External Feed https://docs.google.com/document/d/1_2QZUK--A350jxh2USKBtVtisKrrcUcVjdKnbcZ7-4M/edit# * Multi Stripe Config * Added stripe payment configuration per summit * Added webhook automatic creation * Added CRUD endpoints for payment profiles per summit GET api/v1/summits/{id}/payment-gateway-profiles filters active ['=='] application_type ['=@', '=='] scopes summits/read/all summits/payment-gateway-profiles/read POST api/v1/summits/{id}/payment-gateway-profiles payload 'active' => 'sometimes|boolean', 'application_type' => 'sometimes|string|in:Registration,BookableRooms' 'provider' => 'required|string|in:Stripe', 'test_mode_enabled' => 'required|boolean', 'live_secret_key' => 'sometimes|string', 'live_publishable_key' => 'required_with:live_secret_key|string', 'test_secret_key' => 'sometimes|string', 'test_publishable_key' => 'required_with:test_secret_key|string' scopes summits/write summits/payment-gateway-profiles/write GET api/v1/summits/{id}/payment-gateway-profiles/{payment_profile_id} scopes summits/read/all summits/payment-gateway-profiles/read PUT api/v1/summits/{id}/payment-gateway-profiles/{payment_profile_id} payload 'active' => 'sometimes|boolean', 'application_type' => 'sometimes|string|in:Registration,BookableRooms' 'provider' => 'required|string|in:Stripe', 'test_mode_enabled' => 'required|boolean', 'live_secret_key' => 'sometimes|string', 'live_publishable_key' => 'required_with:live_secret_key|string', 'test_secret_key' => 'sometimes|string', 'test_publishable_key' => 'required_with:test_secret_key|string' scopes summits/payment-gateway-profiles/write summits/write DELETE api/v1/summits/{id}/payment-gateway-profiles/{payment_profile_id} scopes summits/payment-gateway-profiles/write summits/write Stripe Webhooks default webhook (SECRET set per application under .env, should be created previously on stripe default account) POST api/public/v1/summits/all/payments/{application_name}/confirm where application_name could be Registration or BookableRooms otherwise if a stripe account is set per summit, when the profile gets activated a webhook will be automatically be created using following url POST api/public/v1/summits/{id}/payments/{application_name}/confirm * Email API Integration * moved all blade templates to mail api ( DB Seeding) * defined email events flows per summmit * created endpoint to set up templates per email events on each flow PUT /api/v1/summits/{id}/email-flows-events/{event_id} payload email_template_identifier: string * added endpoint to get all email events per summit GET /api/v1/summits/{id}/email-flows-events * added endpoint to get email event per summit/id GET /api/v1/summits/{id}/email-flows-events/{event_id} Summit Documents endpoints add summit document POST /api/v1/summits/{id}/summit-documents payload file (mandatory|file stream) label ( mandatory|string) name ( mandatory|string) description (optional|string) get all summit documents GET /api/v1/summits/{id}/summit-documents get by id GET /api/v1/summits/{id}/summit-documents/{document_id} update PUT GET /api/v1/summits/{id}/summit-documents/{document_id} file (optional|file stream) label (optional|string) name (optional|string) description (optional|string) delete DELETE GET /api/v1/summits/{id}/summit-documents/{document_id} add event type to doc PUT /api/v1/summits/{id}/summit-documents/{document_id}/event-types/{event_type_id} delete event type from doc DELETE /api/v1/summits/{id}/summit-documents/{document_id}/event-types/{event_type_id} add document to event type PUT /api/v1/summits/{id}/event-types/{event_type_id}/summit-documents/{document_id} delete document from event type DELETE /api/v1/summits/{id}/event-types/{event_type_id}/summit-documents/{document_id} Updated Summit events to support streaming url, meeting_url and etherpad link * Summit Registration - Invite only Summit Administrator Permission Groups GET /api/v1/summit-administrator-groups filter * title * member_first_name * member_last_name * member_full_name * member_email * summit_id * member_id ordering id title scopes %s/summit-administrator-groups/read /api/v1/summit-administrator-groups/{group_id} scopes %s/summit-administrator-groups/read POST /api/v1/summit-administrator-groups title summits members scopes %s/summit-administrator-groups/write PUT /api/v1/summit-administrator-groups/{group_id} title summits members scopes %s/summit-administrator-groups/write DELETE /api/v1/summit-administrator-groups/{group_id} scopes %s/summit-administrator-groups/write PUT /api/v1/summit-administrator-groups/{group_id}/members/{member_id} DELETE /api/v1/summit-administrator-groups/{group_id}/members/{member_id} PUT /api/v1/summit-administrator-groups/{group_id}/summits/{summit_id} DELETE /api/v1/summit-administrator-groups/{group_id}/summits/{summit_id} Room Metrics PUT /api/v1/summits/{id}/members/{member_id}/schedule/{event_id}/enter Scopes %s/me/summits/events/enter PUT /api/v1/summits/{id}/members/{member_id}/schedule/{event_id}/leave %s/me/summits/events/leave update summit_event serializer new fields total_attendance_count current_attendance_count attendance current_attendance Added new Speakers Endpoints GET /api/v1/summits/{id}/speakers/on-schedule retrieves all speakers on summit schedule filters 'first_name' => ['=@', '=='], 'last_name' => ['=@', '=='], 'email' => ['=@', '=='], 'id' => ['=='], 'full_name' => ['=@', '=='], 'start_date' => ['>', '<', '<=', '>=', '=='], 'end_date' => ['>', '<', '<=', '>=', '=='], Summit Events Image POST /api/v1/summits/{id}/events/{event_id}/image DELETE /api/v1/summits/{id}/events/{event_id}/image Speakers Image Big Pic POST /api/v1/speakers/{speaker_id}/big-photo DELETE /api/v1/speakers/{speaker_id}/big-photo CFP - multiple summits Presentation Materials - Media Uploads New Endpoints GET api/v1/summit-media-file-types filter 'name' => ['=@', '=='] order id, name POST api/v1/summit-media-file-types payload 'name' => 'required|string|max:255', 'description' => 'sometimes|string|max:255', 'allowed_extensions' => 'required|string_array', GET api/v1/summit-media-file-types/{id} PUT api/v1/summit-media-file-types/{id} payload 'name' => 'sometimes|string|max:255', 'description' => 'sometimes|string|max:255', 'allowed_extensions' => 'required|string_array', DELETE api/v1/summit-media-file-types/{id} GET api/v1/summits/{id}/media-upload-types POST payload 'name' => 'required|string|max:255', 'description' => 'sometimes|string|max:255', 'is_mandatory' => 'required|boolean', 'max_size' => 'required|int|megabyte_aligned', 'private_storage_type' => 'required|string|in:None,DropBox,Swift,Local', 'public_storage_type' => 'required|string|in:None,DropBox,Swift,Local' 'type_id' => 'required|int', 'presentation_types' => 'sometimes|int_array', GET api/v1/summits/{id}/media-upload-types/{media_upload_type_id} PUT api/v1/summits/{id}/media-upload-types/{media_upload_type_id} payload 'name' => 'sometimes|string|max:255', 'description' => 'sometimes|string|max:255', 'is_mandatory' => 'sometimes|boolean', 'max_size' => 'sometimes|int|megabyte_aligned', 'private_storage_type' => 'sometimes|string|in:None,DropBox,Swift,Local', 'public_storage_type' => 'sometimes|string|in:None,DropBox,Swift,Local' 'type_id' => 'sometimes|int', 'presentation_types' => 'sometimes|int_array', DELETE api/v1/summits/{id}/media-upload-types/{media_upload_type_id} PUT api/v1/summits/{id}/media-upload-types/{media_upload_type_id}/presentation-types/{event_type_id} DELETE api/v1/summits/{id}/media-upload-types/{media_upload_type_id}/presentation-types/{event_type_id} GET api/v1/summits/{id}/presentations/{presentation_id}/media-uploads POST api/v1/summits/{id}/presentations/{presentation_id}/media-uploads payload multiform file media_upload_type_id GET api/v1/summits/{id}/presentations/{presentation_id}/media-uploads/{media_upload_id} PUT api/v1/summits/{id}/presentations/{presentation_id}/media-uploads/{media_upload_id} payload multiform file DELETE api/v1/summits/{id}/presentations/{presentation_id}/media-uploads/{media_upload_id} POST /api/v1/summits/{id}/media-upload-types/all/clone/{to_summit_id} Summit Invitation Only endpoints V2 CRUD invitations Change-Id: Ia23c247a59c3810f2a738265efdd890fe6f59dfb Signed-off-by: smarcet <smarcet@gmail.com>
170 lines
4.4 KiB
Plaintext
170 lines
4.4 KiB
Plaintext
APP_ENV=local
|
|
APP_DEBUG=true
|
|
APP_DEBUG_EMAIL=
|
|
APP_KEY=SomeRandomString
|
|
APP_URL=http://localhost
|
|
APP_SCOPE_BASE_REALM=http://localhost
|
|
APP_OAUTH_2_0_CLIENT_ID=clientid
|
|
APP_OAUTH_2_0_CLIENT_SECRET=clientsecret
|
|
APP_OAUTH_2_0_AUTH_SERVER_BASE_URL=http://localhost
|
|
|
|
DB_HOST=localhost
|
|
DB_DATABASE=homestead
|
|
DB_USERNAME=homestead
|
|
DB_PASSWORD=secret
|
|
|
|
SS_DB_HOST=localhost
|
|
SS_DB_DATABASE=homestead
|
|
SS_DB_USERNAME=homestead
|
|
SS_DB_PASSWORD=secret
|
|
|
|
REDIS_HOST=127.0.0.1
|
|
REDIS_PORT=port
|
|
REDIS_DB=0
|
|
REDIS_PASSWORD=
|
|
|
|
CACHE_DRIVER=file
|
|
|
|
SESSION_DRIVER=redis
|
|
SESSION_COOKIE_DOMAIN=
|
|
SESSION_COOKIE_SECURE=false
|
|
|
|
QUEUE_DRIVER=database
|
|
QUEUE_CONN=
|
|
QUEUE_DATABASE=
|
|
|
|
MAIL_DRIVER=sendgrid
|
|
SENDGRID_API_KEY='YOUR_SENDGRID_API_KEY'
|
|
|
|
CORS_ALLOWED_HEADERS=origin, content-type, accept, authorization, x-requested-with
|
|
CORS_ALLOWED_METHODS=GET, POST, OPTIONS, PUT, DELETE
|
|
CORS_USE_PRE_FLIGHT_CACHING=true
|
|
CORS_MAX_AGE=3200
|
|
CORS_EXPOSED_HEADERS=
|
|
|
|
CURL_TIMEOUT=3600
|
|
CURL_ALLOWS_REDIRECT=false
|
|
CURL_VERIFY_SSL_CERT=false
|
|
|
|
ASSETS_BASE_URL=http://www.openstack.org
|
|
SSL_ENABLED=true
|
|
DB_LOG_ENABLED=true
|
|
ACCESS_TOKEN_CACHE_LIFETIME=300
|
|
API_RESPONSE_CACHE_LIFETIME=600
|
|
|
|
LOG_EMAIL_TO=smarcet@gmail.com
|
|
LOG_EMAIL_FROM=smarcet@gmail.com
|
|
LOG_LEVEL=debug
|
|
|
|
EVENTBRITE_OAUTH2_PERSONAL_TOKEN=
|
|
SS_ENCRYPT_KEY=
|
|
SS_ENCRYPT_CYPHER=AES-256-CBC
|
|
|
|
GOOGLE_CLIENT_ID=""
|
|
GOOGLE_CLIENT_SECRET=""
|
|
GOOGLE_SCOPES=""
|
|
|
|
SSH_USER=
|
|
SSH_PUBLIC_KEY=
|
|
SSH_PRIVATE_KEY=
|
|
SCP_HOST=
|
|
SCP_REMOTE_BASE_PATH=/tmp
|
|
|
|
GOOGLE_GEO_CODING_API_KEY=
|
|
|
|
# swift configuration
|
|
CLOUD_STORAGE_BASE_URL=
|
|
CLOUD_STORAGE_AUTH_URL=
|
|
CLOUD_STORAGE_USERNAME=
|
|
CLOUD_STORAGE_APIKEY=
|
|
CLOUD_STORAGE_PROJECT_NAME=
|
|
CLOUD_STORAGE_REGION=
|
|
CLOUD_STORAGE_ASSETS_CONTAINER=
|
|
CLOUD_STORAGE_IMAGES_CONTAINER=
|
|
CLOUD_STORAGE_MEDIA_UPLOADS_CONTAINER=
|
|
# enable/disable cal sync background task
|
|
ENABLE_CAL_SYNC=true
|
|
# enable/disable bookable rooms reservation revocation task
|
|
ENABLE_BOOKABLE_ROOMS_RESERVATION_REVOCATION=false
|
|
|
|
MAIL_FROM_NAME=
|
|
MAIL_FROM_EMAIL=
|
|
|
|
#stripe
|
|
|
|
STRIPE_BOOKING_PRIVATE_KEY=
|
|
STRIPE_BOOKING_ENDPOINT_SECRET=
|
|
STRIPE_REGISTRATION_PRIVATE_KEY=
|
|
STRIPE_REGISTRATION_ENDPOINT_SECRET=
|
|
|
|
#registration
|
|
REGISTRATION_SERVICE_OAUTH2_CLIENT_ID=
|
|
REGISTRATION_SERVICE_OAUTH2_CLIENT_SECRET=
|
|
REGISTRATION_SERVICE_OAUTH2_SCOPES=
|
|
REGISTRATION_DASHBOARD_OAUTH2_CLIENT_ID=
|
|
REGISTRATION_FROM_EMAIL=
|
|
REGISTRATION_DASHBOARD_BASE_URL=
|
|
REGISTRATION_DASHBOARD_BACK_URL=%s/a/orders
|
|
REGISTRATION_DASHBOARD_INVITATION_FORM_URL=%s/a/invitations/%s
|
|
REGISTRATION_DASHBOARD_ATTENDEE_EDIT_FORM_URL=%s/a/guests/%s
|
|
REGISTRATION_REMINDER_EMAIL_DAYS_INTERVAL=7
|
|
REGISTRATION_SUPPORT_EMAIL=
|
|
#IDP
|
|
# CHECK /.well-known/openid-configuration at idp
|
|
IDP_BASE_URI=
|
|
IDP_AUTHORIZATION_ENDPOINT=
|
|
IDP_TOKEN_ENDPOINT=
|
|
IDP_INTROSPECTION_ENDPOINT=
|
|
IDP_USERINFO_ENDPOINT=
|
|
|
|
REGISTRATION_VALIDATE_TICKET_TYPE_REMOVAL=true
|
|
|
|
# default stripe config
|
|
# if not set at summit level this will be used ( if set by default)
|
|
# *_WEBHOOK_SECRET variables should be populated by manually created webhooks at set stripe account
|
|
# and should be pointed to $API_BASE_URL/api/public/v1/summits/all/payments/Registration/confirm
|
|
# and set to attended following events types
|
|
# * payment_intent.payment_failed
|
|
# payment_intent.succeeded
|
|
|
|
REGISTRATION_DEFAULT_PAYMENT_PROVIDER=Stripe
|
|
REGISTRATION_DEFAULT_STRIPE_TEST_MODE=
|
|
REGISTRATION_DEFAULT_LIVE_STRIPE_PRIVATE_KEY=
|
|
REGISTRATION_DEFAULT_LIVE_STRIPE_PUBLISHABLE_KEY=
|
|
REGISTRATION_DEFAULT_LIVE_WEBHOOK_SECRET=
|
|
REGISTRATION_DEFAULT_TEST_STRIPE_PRIVATE_KEY=
|
|
REGISTRATION_DEFAULT_TEST_STRIPE_PUBLISHABLE_KEY=
|
|
REGISTRATION_DEFAULT_TEST_WEBHOOK_SECRET=
|
|
|
|
BOOKABLE_ROOMS_DEFAULT_PAYMENT_PROVIDER=Stripe
|
|
BOOKABLE_ROOMS_DEFAULT_STRIPE_TEST_MODE=
|
|
BOOKABLE_ROOMS_DEFAULT_LIVE_STRIPE_PRIVATE_KEY=
|
|
BOOKABLE_ROOMS_DEFAULT_LIVE_STRIPE_PUBLISHABLE_KEY=
|
|
BOOKABLE_ROOMS_DEFAULT_LIVE_WEBHOOK_SECRET=
|
|
BOOKABLE_ROOMS_DEFAULT_TEST_STRIPE_PRIVATE_KEY=
|
|
BOOKABLE_ROOMS_DEFAULT_TEST_STRIPE_PUBLISHABLE_KEY=
|
|
BOOKABLE_ROOMS_DEFAULT_TEST_WEBHOOK_SECRET=
|
|
|
|
MAIL_API_BASE_URL=
|
|
MAIL_API_OAUTH2_CLIENT_ID=
|
|
MAIL_API_OAUTH2_CLIENT_SECRET=
|
|
MAIL_API_OAUTH2_CLIENT_SCOPES=
|
|
|
|
CFP_APP_BASE_URL=
|
|
CFP_SUPPORT_EMAIL=
|
|
|
|
## RABBIT MQ
|
|
RABBITMQ_EXCHANGE_NAME=databus-exchange
|
|
RABBITMQ_HOST=
|
|
RABBITMQ_PORT=5671
|
|
RABBITMQ_VHOST=databus
|
|
RABBITMQ_LOGIN=admin
|
|
RABBITMQ_PASSWORD=1qaz2wsx
|
|
RABBITMQ_QUEUE=default
|
|
RABBITMQ_SSL=true
|
|
RABBITMQ_SSL_CAFILE=/certs/rabbit/ca-osf.pem
|
|
RABBITMQ_SSL_LOCALCERT=/certs/rabbit/client-cert-osf.pem
|
|
RABBITMQ_SSL_LOCALKEY=/certs/rabbit/client-key-osf.pem
|
|
RABBITMQ_SSL_VERIFY_PEER=false
|
|
|
|
DROPBOX_ACCESS_TOKEN= |