station 0.0.0 → 0.0.100
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.buildpacks +1 -0
- data/.editorconfig +23 -0
- data/.env.example +33 -0
- data/.gitignore +37 -22
- data/CODE_OF_CONDUCT.md +46 -0
- data/CONTRIBUTING.md +46 -0
- data/Dockerfile +69 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +14 -0
- data/LICENSE.md +400 -20
- data/LICENSE.txt +9 -0
- data/Procfile +1 -0
- data/README.md +54 -20
- data/app.json +24 -0
- data/babel.config.js +74 -0
- data/bin/nexmo-developer +120 -0
- data/docs/Getting-Started.md +39 -0
- data/docs/How-To-Use.md +272 -0
- data/docs/_config.yml +5 -0
- data/docs/index.md +46 -0
- data/lib/nexmo_developer/.disallowed_words +2 -0
- data/lib/nexmo_developer/.dockerignore +1 -0
- data/lib/nexmo_developer/.eslintrc.js +6 -0
- data/lib/nexmo_developer/.nvmrc +1 -0
- data/lib/nexmo_developer/.postcssrc.yml +4 -0
- data/lib/nexmo_developer/.pre-commit-config.yaml +8 -0
- data/lib/nexmo_developer/.rspec +3 -0
- data/lib/nexmo_developer/.rubocop.yml +276 -0
- data/lib/nexmo_developer/.ruby-version +1 -0
- data/lib/nexmo_developer/Dockerfile +28 -0
- data/lib/nexmo_developer/Gemfile +192 -0
- data/lib/nexmo_developer/Gemfile.lock +630 -0
- data/lib/nexmo_developer/Guardfile +109 -0
- data/lib/nexmo_developer/Procfile +2 -0
- data/lib/nexmo_developer/Rakefile +6 -0
- data/lib/nexmo_developer/Runbook.md +69 -0
- data/lib/nexmo_developer/app/admin/active_admin_feedback_author.rb +23 -0
- data/lib/nexmo_developer/app/admin/active_admin_redirect.rb +22 -0
- data/lib/nexmo_developer/app/admin/active_admin_session.rb +34 -0
- data/lib/nexmo_developer/app/admin/admin_building_block_event.rb +31 -0
- data/lib/nexmo_developer/app/admin/admin_event.rb +40 -0
- data/lib/nexmo_developer/app/admin/admin_feedback_feedback.rb +54 -0
- data/lib/nexmo_developer/app/admin/admin_feedback_resource.rb +42 -0
- data/lib/nexmo_developer/app/admin/admin_user.rb +37 -0
- data/lib/nexmo_developer/app/assets/config/manifest.js +5 -0
- data/lib/nexmo_developer/app/assets/fonts/Lato-Black.woff +0 -0
- data/lib/nexmo_developer/app/assets/fonts/Lato-Black.woff2 +0 -0
- data/lib/nexmo_developer/app/assets/fonts/Lato-Regular.woff +0 -0
- data/lib/nexmo_developer/app/assets/fonts/Lato-Regular.woff2 +0 -0
- data/lib/nexmo_developer/app/assets/fonts/Lato-Semibold.woff +0 -0
- data/lib/nexmo_developer/app/assets/fonts/Lato-Semibold.woff2 +0 -0
- data/lib/nexmo_developer/app/assets/fonts/icomoon.eot +0 -0
- data/lib/nexmo_developer/app/assets/fonts/icomoon.json +1257 -0
- data/lib/nexmo_developer/app/assets/fonts/icomoon.svg +55 -0
- data/lib/nexmo_developer/app/assets/fonts/icomoon.ttf +0 -0
- data/lib/nexmo_developer/app/assets/fonts/icomoon.woff +0 -0
- data/lib/nexmo_developer/app/assets/fonts/nexmo-developer.json +36483 -0
- data/lib/nexmo_developer/app/assets/images/.keep +0 -0
- data/lib/nexmo_developer/app/assets/images/logo@3x.png +0 -0
- data/lib/nexmo_developer/app/assets/images/logo_vonage.png +0 -0
- data/lib/nexmo_developer/app/assets/images/nexmo-developer-logo.svg +25 -0
- data/lib/nexmo_developer/app/assets/images/nexmo-logo-collapsed.svg +10 -0
- data/lib/nexmo_developer/app/assets/images/nexmo-vonage-white.svg +79 -0
- data/lib/nexmo_developer/app/assets/images/posters/chatapp.jpg +0 -0
- data/lib/nexmo_developer/app/assets/images/posters/chatapp_small.png +0 -0
- data/lib/nexmo_developer/app/assets/images/posters/nexmo.jpg +0 -0
- data/lib/nexmo_developer/app/assets/images/posters/numberinsight.jpg +0 -0
- data/lib/nexmo_developer/app/assets/images/posters/numberinsight_small.png +0 -0
- data/lib/nexmo_developer/app/assets/images/posters/sms.jpg +0 -0
- data/lib/nexmo_developer/app/assets/images/posters/sms_small.png +0 -0
- data/lib/nexmo_developer/app/assets/images/posters/verify.jpg +0 -0
- data/lib/nexmo_developer/app/assets/images/posters/verify_small.png +0 -0
- data/lib/nexmo_developer/app/assets/images/posters/voice.jpg +0 -0
- data/lib/nexmo_developer/app/assets/images/posters/voice_small.png +0 -0
- data/lib/nexmo_developer/app/assets/images/select-dropdown.png +0 -0
- data/lib/nexmo_developer/app/assets/images/slack.svg +33 -0
- data/lib/nexmo_developer/app/assets/images/themes/ea/topography.png +0 -0
- data/lib/nexmo_developer/app/assets/javascripts/active_admin.js.coffee +1 -0
- data/lib/nexmo_developer/app/assets/javascripts/application.js +19 -0
- data/lib/nexmo_developer/app/assets/javascripts/stats.js +14 -0
- data/lib/nexmo_developer/app/assets/regex/matching_chars.rb +1 -0
- data/lib/nexmo_developer/app/assets/regex/sequence_diagram_regex.rb +1 -0
- data/lib/nexmo_developer/app/assets/regex/stats_regex.rb +1 -0
- data/lib/nexmo_developer/app/assets/regex/webfont_regex.rb +1 -0
- data/lib/nexmo_developer/app/assets/stylesheets/active_admin.scss +17 -0
- data/lib/nexmo_developer/app/assets/stylesheets/application.css +1 -0
- data/lib/nexmo_developer/app/channels/application_cable/channel.rb +4 -0
- data/lib/nexmo_developer/app/channels/application_cable/connection.rb +4 -0
- data/lib/nexmo_developer/app/constraints/documentation_constraint.rb +25 -0
- data/lib/nexmo_developer/app/constraints/landing_page_constraint.rb +18 -0
- data/lib/nexmo_developer/app/constraints/locale_constraint.rb +17 -0
- data/lib/nexmo_developer/app/constraints/open_api_constraint.rb +49 -0
- data/lib/nexmo_developer/app/controllers/admin_api/code_snippets_controller.rb +45 -0
- data/lib/nexmo_developer/app/controllers/admin_api/feedback_controller.rb +11 -0
- data/lib/nexmo_developer/app/controllers/admin_api_controller.rb +17 -0
- data/lib/nexmo_developer/app/controllers/api_controller.rb +33 -0
- data/lib/nexmo_developer/app/controllers/api_errors_controller.rb +82 -0
- data/lib/nexmo_developer/app/controllers/application_controller.rb +93 -0
- data/lib/nexmo_developer/app/controllers/careers_controller.rb +9 -0
- data/lib/nexmo_developer/app/controllers/concerns/.keep +0 -0
- data/lib/nexmo_developer/app/controllers/dashboard_controller.rb +216 -0
- data/lib/nexmo_developer/app/controllers/extend_controller.rb +45 -0
- data/lib/nexmo_developer/app/controllers/feedback/feedbacks_controller.rb +85 -0
- data/lib/nexmo_developer/app/controllers/feeds_controller.rb +20 -0
- data/lib/nexmo_developer/app/controllers/jobs_controller.rb +64 -0
- data/lib/nexmo_developer/app/controllers/markdown_controller.rb +160 -0
- data/lib/nexmo_developer/app/controllers/search_controller.rb +35 -0
- data/lib/nexmo_developer/app/controllers/sessions_controller.rb +12 -0
- data/lib/nexmo_developer/app/controllers/slack_controller.rb +61 -0
- data/lib/nexmo_developer/app/controllers/static_controller.rb +195 -0
- data/lib/nexmo_developer/app/controllers/tutorial_controller.rb +113 -0
- data/lib/nexmo_developer/app/controllers/usage/ab_result_controller.rb +10 -0
- data/lib/nexmo_developer/app/controllers/usage/code_snippet_controller.rb +19 -0
- data/lib/nexmo_developer/app/controllers/use_case_controller.rb +65 -0
- data/lib/nexmo_developer/app/extensions/nokogiri/html/document.rb +23 -0
- data/lib/nexmo_developer/app/helpers/application_helper.rb +66 -0
- data/lib/nexmo_developer/app/helpers/date_range_helper.rb +9 -0
- data/lib/nexmo_developer/app/helpers/navigation_helper.rb +56 -0
- data/lib/nexmo_developer/app/helpers/parameter_values_helper.rb +5 -0
- data/lib/nexmo_developer/app/helpers/video_helper.rb +20 -0
- data/lib/nexmo_developer/app/jobs/application_job.rb +2 -0
- data/lib/nexmo_developer/app/mailers/application_mailer.rb +4 -0
- data/lib/nexmo_developer/app/middleware/nexmo_developer/building_block_redirect.rb +18 -0
- data/lib/nexmo_developer/app/middleware/nexmo_developer/visitor_id.rb +13 -0
- data/lib/nexmo_developer/app/models/api_error.rb +31 -0
- data/lib/nexmo_developer/app/models/application_record.rb +3 -0
- data/lib/nexmo_developer/app/models/concerns/.keep +0 -0
- data/lib/nexmo_developer/app/models/concerns/publishable.rb +13 -0
- data/lib/nexmo_developer/app/models/event.rb +38 -0
- data/lib/nexmo_developer/app/models/feedback.rb +5 -0
- data/lib/nexmo_developer/app/models/feedback/author.rb +5 -0
- data/lib/nexmo_developer/app/models/feedback/config.rb +16 -0
- data/lib/nexmo_developer/app/models/feedback/feedback.rb +34 -0
- data/lib/nexmo_developer/app/models/feedback/resource.rb +45 -0
- data/lib/nexmo_developer/app/models/product.rb +22 -0
- data/lib/nexmo_developer/app/models/redirect.rb +2 -0
- data/lib/nexmo_developer/app/models/session.rb +9 -0
- data/lib/nexmo_developer/app/models/tutorial.rb +189 -0
- data/lib/nexmo_developer/app/models/tutorial/file_loader.rb +28 -0
- data/lib/nexmo_developer/app/models/tutorial/metadata.rb +54 -0
- data/lib/nexmo_developer/app/models/tutorial/prerequisite.rb +31 -0
- data/lib/nexmo_developer/app/models/tutorial/task.rb +45 -0
- data/lib/nexmo_developer/app/models/usage.rb +5 -0
- data/lib/nexmo_developer/app/models/usage/code_snippet_event.rb +7 -0
- data/lib/nexmo_developer/app/models/user.rb +14 -0
- data/lib/nexmo_developer/app/presenters/card.rb +20 -0
- data/lib/nexmo_developer/app/presenters/career.rb +40 -0
- data/lib/nexmo_developer/app/presenters/feedback_presenter.rb +31 -0
- data/lib/nexmo_developer/app/presenters/footer.rb +88 -0
- data/lib/nexmo_developer/app/presenters/head.rb +96 -0
- data/lib/nexmo_developer/app/presenters/header.rb +56 -0
- data/lib/nexmo_developer/app/presenters/improve_page_presenter.rb +19 -0
- data/lib/nexmo_developer/app/presenters/languages_dropdown_presenter.rb +19 -0
- data/lib/nexmo_developer/app/presenters/locale_switcher_presenter.rb +36 -0
- data/lib/nexmo_developer/app/presenters/navigation.rb +44 -0
- data/lib/nexmo_developer/app/presenters/page_title.rb +38 -0
- data/lib/nexmo_developer/app/presenters/product_dropdown_presenter.rb +39 -0
- data/lib/nexmo_developer/app/presenters/sidenav.rb +64 -0
- data/lib/nexmo_developer/app/presenters/sidenav_item.rb +58 -0
- data/lib/nexmo_developer/app/presenters/sidenav_resolver.rb +136 -0
- data/lib/nexmo_developer/app/presenters/sidenav_subitem.rb +71 -0
- data/lib/nexmo_developer/app/presenters/title_normalizer.rb +25 -0
- data/lib/nexmo_developer/app/presenters/topnav.rb +23 -0
- data/lib/nexmo_developer/app/presenters/topnav_item.rb +19 -0
- data/lib/nexmo_developer/app/presenters/tutorial_list_item.rb +99 -0
- data/lib/nexmo_developer/app/screenshots/webhook-url-for-delivery-receipt.js +44 -0
- data/lib/nexmo_developer/app/screenshots/webhook-url-for-inbound-message.js +44 -0
- data/lib/nexmo_developer/app/services/diff.rb +146 -0
- data/lib/nexmo_developer/app/services/email_validator.rb +6 -0
- data/lib/nexmo_developer/app/services/feedback_slack_notifier.rb +141 -0
- data/lib/nexmo_developer/app/services/greenhouse.rb +45 -0
- data/lib/nexmo_developer/app/services/load_config.rb +14 -0
- data/lib/nexmo_developer/app/services/locale_redirector.rb +29 -0
- data/lib/nexmo_developer/app/services/not_found_notifier.rb +34 -0
- data/lib/nexmo_developer/app/services/open_api_definition_resolver.rb +25 -0
- data/lib/nexmo_developer/app/services/redirector.rb +33 -0
- data/lib/nexmo_developer/app/services/search/article.rb +39 -0
- data/lib/nexmo_developer/app/services/search/document.rb +37 -0
- data/lib/nexmo_developer/app/services/search_terms.rb +27 -0
- data/lib/nexmo_developer/app/services/smartling_api.rb +72 -0
- data/lib/nexmo_developer/app/services/translator/file_translator.rb +61 -0
- data/lib/nexmo_developer/app/services/translator/smartling/api/base.rb +54 -0
- data/lib/nexmo_developer/app/services/translator/smartling/api/create_batch.rb +48 -0
- data/lib/nexmo_developer/app/services/translator/smartling/api/create_job.rb +44 -0
- data/lib/nexmo_developer/app/services/translator/smartling/api/download_file.rb +44 -0
- data/lib/nexmo_developer/app/services/translator/smartling/api/file_status.rb +43 -0
- data/lib/nexmo_developer/app/services/translator/smartling/api/file_uris.rb +46 -0
- data/lib/nexmo_developer/app/services/translator/smartling/api/upload_file.rb +67 -0
- data/lib/nexmo_developer/app/services/translator/smartling/api_requests_generator.rb +64 -0
- data/lib/nexmo_developer/app/services/translator/smartling/token_generator.rb +16 -0
- data/lib/nexmo_developer/app/services/translator/smartling_coordinator.rb +56 -0
- data/lib/nexmo_developer/app/services/translator/smartling_downloader.rb +57 -0
- data/lib/nexmo_developer/app/services/translator/translation_request.rb +11 -0
- data/lib/nexmo_developer/app/services/translator/translator_coordinator.rb +33 -0
- data/lib/nexmo_developer/app/services/translator/utils.rb +42 -0
- data/lib/nexmo_developer/app/services/tutorial_list.rb +39 -0
- data/lib/nexmo_developer/app/views/admin/feedbacks/_steps.html.erb +44 -0
- data/lib/nexmo_developer/app/views/admin_api/code_snippets/index.json.erb +1 -0
- data/lib/nexmo_developer/app/views/admin_api/feedback/index.json.jbuilder +3 -0
- data/lib/nexmo_developer/app/views/api/show.html.erb +1 -0
- data/lib/nexmo_developer/app/views/api_errors/_error_example.html.erb +9 -0
- data/lib/nexmo_developer/app/views/api_errors/_error_table.html.erb +30 -0
- data/lib/nexmo_developer/app/views/api_errors/index.html.erb +45 -0
- data/lib/nexmo_developer/app/views/api_errors/show.html.erb +27 -0
- data/lib/nexmo_developer/app/views/careers/index.html.erb +76 -0
- data/lib/nexmo_developer/app/views/code_languages/_icon.html.erb +11 -0
- data/lib/nexmo_developer/app/views/contribute/administration/page-links.md +179 -0
- data/lib/nexmo_developer/app/views/contribute/code-snippets/how-to-update-code-snippets.md +89 -0
- data/lib/nexmo_developer/app/views/contribute/code-snippets/sample-code-snippet.md +42 -0
- data/lib/nexmo_developer/app/views/contribute/guides/code-examples.md +190 -0
- data/lib/nexmo_developer/app/views/contribute/guides/introduction.md +32 -0
- data/lib/nexmo_developer/app/views/contribute/guides/landing-pages.md +556 -0
- data/lib/nexmo_developer/app/views/contribute/guides/markdown-guide.md +420 -0
- data/lib/nexmo_developer/app/views/contribute/guides/platform.md +220 -0
- data/lib/nexmo_developer/app/views/contribute/guides/tutorials-and-use-cases.md +64 -0
- data/lib/nexmo_developer/app/views/contribute/guides/writing-style-guide.md +278 -0
- data/lib/nexmo_developer/app/views/contribute/overview.md +39 -0
- data/lib/nexmo_developer/app/views/contribute/structure/content-types/code-snippets.md +140 -0
- data/lib/nexmo_developer/app/views/contribute/structure/content-types/guides.md +14 -0
- data/lib/nexmo_developer/app/views/contribute/structure/content-types/overviews.md +34 -0
- data/lib/nexmo_developer/app/views/contribute/structure/content-types/tutorials.md +59 -0
- data/lib/nexmo_developer/app/views/contribute/structure/content-types/use-cases.md +18 -0
- data/lib/nexmo_developer/app/views/contribute/structure/overview.md +55 -0
- data/lib/nexmo_developer/app/views/contribute/tutorials-and-use-cases/tutorials.md +197 -0
- data/lib/nexmo_developer/app/views/contribute/tutorials-and-use-cases/use-cases.md +22 -0
- data/lib/nexmo_developer/app/views/dashboard/_performance_table.html.erb +18 -0
- data/lib/nexmo_developer/app/views/dashboard/coverage.html.erb +169 -0
- data/lib/nexmo_developer/app/views/dashboard/stats.html.erb +134 -0
- data/lib/nexmo_developer/app/views/dashboard/stats_summary.html.erb +62 -0
- data/lib/nexmo_developer/app/views/extend/index.html.erb +33 -0
- data/lib/nexmo_developer/app/views/extend/show.html.erb +31 -0
- data/lib/nexmo_developer/app/views/layouts/api.html.erb +24 -0
- data/lib/nexmo_developer/app/views/layouts/application.html.erb +15 -0
- data/lib/nexmo_developer/app/views/layouts/documentation-index.html.erb +16 -0
- data/lib/nexmo_developer/app/views/layouts/documentation.html.erb +26 -0
- data/lib/nexmo_developer/app/views/layouts/landing.html.erb +17 -0
- data/lib/nexmo_developer/app/views/layouts/mailer.html.erb +13 -0
- data/lib/nexmo_developer/app/views/layouts/mailer.text.erb +1 -0
- data/lib/nexmo_developer/app/views/layouts/open-api.html.erb +10 -0
- data/lib/nexmo_developer/app/views/layouts/page-full.html.erb +9 -0
- data/lib/nexmo_developer/app/views/layouts/page.html.erb +15 -0
- data/lib/nexmo_developer/app/views/layouts/partials/_feedback.html.erb +14 -0
- data/lib/nexmo_developer/app/views/layouts/partials/_footer.html.erb +50 -0
- data/lib/nexmo_developer/app/views/layouts/partials/_head.html.erb +139 -0
- data/lib/nexmo_developer/app/views/layouts/partials/_header.html.erb +57 -0
- data/lib/nexmo_developer/app/views/layouts/partials/_improve_this_page.html.erb +16 -0
- data/lib/nexmo_developer/app/views/layouts/partials/_locale_switcher.html.erb +28 -0
- data/lib/nexmo_developer/app/views/layouts/partials/_notices.html.erb +29 -0
- data/lib/nexmo_developer/app/views/layouts/partials/_post-body-tags.html.erb +4 -0
- data/lib/nexmo_developer/app/views/layouts/partials/_product_dropdown.html.erb +30 -0
- data/lib/nexmo_developer/app/views/layouts/partials/_programming_languages_dropdown.html.erb +29 -0
- data/lib/nexmo_developer/app/views/layouts/partials/_sidenav.html.erb +3 -0
- data/lib/nexmo_developer/app/views/layouts/partials/_sidenav_item.html.erb +18 -0
- data/lib/nexmo_developer/app/views/layouts/partials/_sidenav_subitem.html.erb +34 -0
- data/lib/nexmo_developer/app/views/layouts/partials/api/_voice.html.erb +84 -0
- data/lib/nexmo_developer/app/views/layouts/static.html.erb +33 -0
- data/lib/nexmo_developer/app/views/markdown/show.html.erb +1 -0
- data/lib/nexmo_developer/app/views/markdown/wip.html.erb +5 -0
- data/lib/nexmo_developer/app/views/product-lifecycle/beta.md +28 -0
- data/lib/nexmo_developer/app/views/product-lifecycle/dev-preview.md +22 -0
- data/lib/nexmo_developer/app/views/search/_result.html.erb +31 -0
- data/lib/nexmo_developer/app/views/search/results.html.erb +26 -0
- data/lib/nexmo_developer/app/views/sessions/set_user_locale.js.erb +1 -0
- data/lib/nexmo_developer/app/views/slack/join.html.erb +25 -0
- data/lib/nexmo_developer/app/views/static/404.html.erb +26 -0
- data/lib/nexmo_developer/app/views/static/_career.html.erb +15 -0
- data/lib/nexmo_developer/app/views/static/_community.html.erb +24 -0
- data/lib/nexmo_developer/app/views/static/_dotnet.html.erb +26 -0
- data/lib/nexmo_developer/app/views/static/_event.html.erb +7 -0
- data/lib/nexmo_developer/app/views/static/_products.html.erb +450 -0
- data/lib/nexmo_developer/app/views/static/_profile.html.erb +9 -0
- data/lib/nexmo_developer/app/views/static/_slack.html.erb +2 -0
- data/lib/nexmo_developer/app/views/static/_xwithy.html.erb +33 -0
- data/lib/nexmo_developer/app/views/static/default_landing.html.erb +22 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_action_button.html.erb +13 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_api_list.html.erb +30 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_call_to_action.html.erb +35 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_career.html.erb +3 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_client_sdk_card.html.erb +17 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_contact_community.html.erb +15 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_contact_support.html.erb +14 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_event_search_results.js.erb +2 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_event_search_results_content.html.erb +9 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_event_search_results_map_content.html.erb +10 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_events.html.erb +80 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_featured_session.html.erb +18 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_github_repo.html.erb +31 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_header.html.erb +24 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_headshot.html.erb +43 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_html.html.erb +3 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_join_slack.html.erb +3 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_line_divider.html.erb +5 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_linked_image.html.erb +10 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_migrate_details.html.erb +57 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_products.html.erb +1 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_section_header.html.erb +10 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_sessions.html.erb +30 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_structured_text.html.erb +24 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_submit_your_idea_form.html.erb +58 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_table.html.erb +25 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_team_members.html.erb +5 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_text.html.erb +5 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_tutorial.html.erb +30 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_unordered_list.html.erb +11 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_warning_callout.html.erb +8 -0
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_write_for_nexmo.html.erb +12 -0
- data/lib/nexmo_developer/app/views/static/documentation.html.erb +1 -0
- data/lib/nexmo_developer/app/views/static/landing.html.erb +47 -0
- data/lib/nexmo_developer/app/views/static/past_events.html.erb +19 -0
- data/lib/nexmo_developer/app/views/static/podcast.html.erb +40 -0
- data/lib/nexmo_developer/app/views/static/robots.txt.erb +4 -0
- data/lib/nexmo_developer/app/views/tools/concatenation.html +1 -0
- data/lib/nexmo_developer/app/views/tutorial/_prerequisites.html.erb +23 -0
- data/lib/nexmo_developer/app/views/tutorial/index.html.erb +81 -0
- data/lib/nexmo_developer/app/views/tutorial/list.html.erb +63 -0
- data/lib/nexmo_developer/app/views/tutorial/single.html.erb +1 -0
- data/lib/nexmo_developer/app/views/use_case/_index.html.erb +53 -0
- data/lib/nexmo_developer/app/views/use_case/index.html.erb +12 -0
- data/lib/nexmo_developer/app/views/use_case/list/plain.html.erb +5 -0
- data/lib/nexmo_developer/app/views/use_case/show.html.erb +8 -0
- data/lib/nexmo_developer/app/webpacker/javascript/api_status/index.js +20 -0
- data/lib/nexmo_developer/app/webpacker/javascript/careers/index.js +134 -0
- data/lib/nexmo_developer/app/webpacker/javascript/code_snippet_events/index.js +89 -0
- data/lib/nexmo_developer/app/webpacker/javascript/components/concatenation/Concatenation.vue +96 -0
- data/lib/nexmo_developer/app/webpacker/javascript/components/concatenation/character_counter.js +112 -0
- data/lib/nexmo_developer/app/webpacker/javascript/components/feedback/Feedback.vue +156 -0
- data/lib/nexmo_developer/app/webpacker/javascript/components/feedback/FeedbackPath.vue +56 -0
- data/lib/nexmo_developer/app/webpacker/javascript/components/feedback/eventHub.js +3 -0
- data/lib/nexmo_developer/app/webpacker/javascript/components/feedback/step/FieldSet.vue +78 -0
- data/lib/nexmo_developer/app/webpacker/javascript/components/feedback/step/Plain.vue +26 -0
- data/lib/nexmo_developer/app/webpacker/javascript/components/feedback/step/RadioGroup.vue +65 -0
- data/lib/nexmo_developer/app/webpacker/javascript/components/feedback/step/TextArea.vue +86 -0
- data/lib/nexmo_developer/app/webpacker/javascript/components/feedback/step/base.vue +53 -0
- data/lib/nexmo_developer/app/webpacker/javascript/components/feedback/store.js +50 -0
- data/lib/nexmo_developer/app/webpacker/javascript/components/jwt_generator/JwtGenerator.vue +220 -0
- data/lib/nexmo_developer/app/webpacker/javascript/components/search/NDPArticle.vue +38 -0
- data/lib/nexmo_developer/app/webpacker/javascript/components/search/Search.vue +182 -0
- data/lib/nexmo_developer/app/webpacker/javascript/components/search/ZendeskArticle.vue +30 -0
- data/lib/nexmo_developer/app/webpacker/javascript/format/index.js +36 -0
- data/lib/nexmo_developer/app/webpacker/javascript/github_cards/index.js +16 -0
- data/lib/nexmo_developer/app/webpacker/javascript/locale_switcher/index.js +40 -0
- data/lib/nexmo_developer/app/webpacker/javascript/notices/index.js +52 -0
- data/lib/nexmo_developer/app/webpacker/javascript/scroll/index.js +25 -0
- data/lib/nexmo_developer/app/webpacker/javascript/sidenav/index.js +251 -0
- data/lib/nexmo_developer/app/webpacker/javascript/spotlight/index.js +12 -0
- data/lib/nexmo_developer/app/webpacker/javascript/volta/tooltip.min.js +5 -0
- data/lib/nexmo_developer/app/webpacker/javascript/volta/volta.js +2145 -0
- data/lib/nexmo_developer/app/webpacker/javascript/volta_tabbed_examples/index.js +106 -0
- data/lib/nexmo_developer/app/webpacker/javascript/volta_tabbed_examples/user_preference.js +78 -0
- data/lib/nexmo_developer/app/webpacker/packs/application.js +136 -0
- data/lib/nexmo_developer/app/webpacker/src/application.css +0 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/application.scss +62 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/custom/_core.scss +196 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/custom/_mixins.scss +51 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/custom/_syntax.scss +63 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/custom/_typography.scss +248 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/custom/_variables.scss +23 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/layout/_api.scss +167 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/layout/_careers.scss +29 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/layout/_community.scss +70 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/layout/_feedback.scss +16 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/layout/_footer.scss +113 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/layout/_header.scss +207 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/layout/_hero.scss +16 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/layout/_print.scss +14 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/layout/_search.scss +115 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/layout/_team.scss +36 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_building-block.scss +32 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_card.scss +150 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_collapsible.scss +18 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_content-block.scss +24 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_extend.scss +49 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_focus.scss +5 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_icons.scss +334 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_js-sequence-diagram.scss +9 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_navigation.scss +113 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_notices.scss +49 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_tabs.scss +35 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_use_cases.scss +29 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/objects/_video.scss +14 -0
- data/lib/nexmo_developer/app/webpacker/stylesheets/themes/_ea.scss +32 -0
- data/lib/nexmo_developer/bin/initiate +23 -0
- data/lib/nexmo_developer/bin/rails +4 -0
- data/lib/nexmo_developer/bin/setup +36 -0
- data/lib/nexmo_developer/bin/update +31 -0
- data/lib/nexmo_developer/bin/webpack +19 -0
- data/lib/nexmo_developer/bin/webpack-dev-server +19 -0
- data/lib/nexmo_developer/bin/yarn +11 -0
- data/lib/nexmo_developer/config.ru +5 -0
- data/lib/nexmo_developer/config/application.rb +44 -0
- data/lib/nexmo_developer/config/boot.rb +4 -0
- data/lib/nexmo_developer/config/cable.yml +10 -0
- data/lib/nexmo_developer/config/credentials.yml.enc +1 -0
- data/lib/nexmo_developer/config/database.yml +91 -0
- data/lib/nexmo_developer/config/dynamic_content.yml +1 -0
- data/lib/nexmo_developer/config/environment.rb +7 -0
- data/lib/nexmo_developer/config/environments/development.rb +63 -0
- data/lib/nexmo_developer/config/environments/production.rb +102 -0
- data/lib/nexmo_developer/config/environments/staging.rb +86 -0
- data/lib/nexmo_developer/config/environments/test.rb +48 -0
- data/lib/nexmo_developer/config/feedback.yml +104 -0
- data/lib/nexmo_developer/config/initializers/active_admin.rb +295 -0
- data/lib/nexmo_developer/config/initializers/algolia.rb +30 -0
- data/lib/nexmo_developer/config/initializers/application_controller_renderer.rb +8 -0
- data/lib/nexmo_developer/config/initializers/assets.rb +16 -0
- data/lib/nexmo_developer/config/initializers/backtrace_silencers.rb +7 -0
- data/lib/nexmo_developer/config/initializers/bugsnag.rb +8 -0
- data/lib/nexmo_developer/config/initializers/content_security_policy.rb +25 -0
- data/lib/nexmo_developer/config/initializers/cookies_serializer.rb +5 -0
- data/lib/nexmo_developer/config/initializers/devise.rb +279 -0
- data/lib/nexmo_developer/config/initializers/doc_finder.rb +10 -0
- data/lib/nexmo_developer/config/initializers/filter_parameter_logging.rb +4 -0
- data/lib/nexmo_developer/config/initializers/geocoder.rb +24 -0
- data/lib/nexmo_developer/config/initializers/gravatar_image_tag.rb +5 -0
- data/lib/nexmo_developer/config/initializers/greenhouse_io.rb +7 -0
- data/lib/nexmo_developer/config/initializers/inflections.rb +16 -0
- data/lib/nexmo_developer/config/initializers/locale.rb +6 -0
- data/lib/nexmo_developer/config/initializers/mime_types.rb +4 -0
- data/lib/nexmo_developer/config/initializers/recaptcha.rb +6 -0
- data/lib/nexmo_developer/config/initializers/session_store.rb +3 -0
- data/lib/nexmo_developer/config/initializers/slack_safety_check.rb +29 -0
- data/lib/nexmo_developer/config/initializers/split.rb +5 -0
- data/lib/nexmo_developer/config/initializers/wrap_parameters.rb +14 -0
- data/lib/nexmo_developer/config/initializers/zeitwerk.rb +7 -0
- data/lib/nexmo_developer/config/master.key +1 -0
- data/lib/nexmo_developer/config/newrelic.yml +35 -0
- data/lib/nexmo_developer/config/puma.rb +41 -0
- data/lib/nexmo_developer/config/redirects.yml +280 -0
- data/lib/nexmo_developer/config/repos.yml +27 -0
- data/lib/nexmo_developer/config/routes.rb +108 -0
- data/lib/nexmo_developer/config/secrets.yml +25 -0
- data/lib/nexmo_developer/config/spring.rb +6 -0
- data/lib/nexmo_developer/config/stitch-redirects.yml +145 -0
- data/lib/nexmo_developer/config/storage.yml +34 -0
- data/lib/nexmo_developer/config/tutorials/.gitkeep +0 -0
- data/lib/nexmo_developer/config/tutorials/en/app-to-app.yml +49 -0
- data/lib/nexmo_developer/config/tutorials/en/app-to-phone.yml +43 -0
- data/lib/nexmo_developer/config/tutorials/en/create-and-retrieve-a-report.yml +24 -0
- data/lib/nexmo_developer/config/tutorials/en/create-report-using-graphical-tools.yml +20 -0
- data/lib/nexmo_developer/config/tutorials/en/get-json-records-cli.yml +20 -0
- data/lib/nexmo_developer/config/tutorials/en/ifttt-to-sms.yml +10 -0
- data/lib/nexmo_developer/config/tutorials/en/in-app-messaging.yml +4 -0
- data/lib/nexmo_developer/config/tutorials/en/in-app-messaging/javascript.yml +50 -0
- data/lib/nexmo_developer/config/tutorials/en/in-app-messaging/kotlin.yml +52 -0
- data/lib/nexmo_developer/config/tutorials/en/in-app-messaging/objective_c.yml +50 -0
- data/lib/nexmo_developer/config/tutorials/en/in-app-messaging/swift.yml +50 -0
- data/lib/nexmo_developer/config/tutorials/en/number-insight-api-aspnet.yml +11 -0
- data/lib/nexmo_developer/config/tutorials/en/phone-to-app.yml +4 -0
- data/lib/nexmo_developer/config/tutorials/en/phone-to-app/javascript.yml +38 -0
- data/lib/nexmo_developer/config/tutorials/en/receive-sms-dotnet.yml +9 -0
- data/lib/nexmo_developer/config/tutorials/en/receive-sms-with-java.yml +9 -0
- data/lib/nexmo_developer/config/tutorials/en/receive-sms-with-php.yml +10 -0
- data/lib/nexmo_developer/config/tutorials/en/receive-sms-with-ruby.yml +9 -0
- data/lib/nexmo_developer/config/tutorials/en/send-facebook-message-with-failover.yml +41 -0
- data/lib/nexmo_developer/config/tutorials/en/send-fbm-message.yml +42 -0
- data/lib/nexmo_developer/config/tutorials/en/send-sms-with-dotnet.yml +9 -0
- data/lib/nexmo_developer/config/tutorials/en/send-sms-with-flask.yml +9 -0
- data/lib/nexmo_developer/config/tutorials/en/send-sms-with-java.yml +9 -0
- data/lib/nexmo_developer/config/tutorials/en/send-sms-with-messages.yml +38 -0
- data/lib/nexmo_developer/config/tutorials/en/send-sms-with-php.yml +9 -0
- data/lib/nexmo_developer/config/tutorials/en/send-sms-with-ruby.yml +9 -0
- data/lib/nexmo_developer/config/tutorials/en/send-viber-message.yml +40 -0
- data/lib/nexmo_developer/config/tutorials/en/send-whatsapp-message.yml +40 -0
- data/lib/nexmo_developer/config/tutorials/en/sms-browser-notifications.yml +10 -0
- data/lib/nexmo_developer/config/tutorials/en/sms-dlr-with-dotnet.yml +9 -0
- data/lib/nexmo_developer/config/tutorials/en/sms-dlr-with-php.yml +9 -0
- data/lib/nexmo_developer/config/tutorials/en/sms-dlr-with-ruby.yml +9 -0
- data/lib/nexmo_developer/config/tutorials/en/sms-fortune-cookies-with-ibm-cloud.yml +10 -0
- data/lib/nexmo_developer/config/tutorials/en/two-factor-authentication-dotnet-verify-api.yml +11 -0
- data/lib/nexmo_developer/config/webpack/custom.js +7 -0
- data/lib/nexmo_developer/config/webpack/development.js +3 -0
- data/lib/nexmo_developer/config/webpack/environment.js +22 -0
- data/lib/nexmo_developer/config/webpack/loaders/vue.js +6 -0
- data/lib/nexmo_developer/config/webpack/production.js +3 -0
- data/lib/nexmo_developer/config/webpack/staging.js +4 -0
- data/lib/nexmo_developer/config/webpack/test.js +3 -0
- data/lib/nexmo_developer/config/webpacker.yml +82 -0
- data/lib/nexmo_developer/db/migrate/20170215101603_create_events.rb +15 -0
- data/lib/nexmo_developer/db/migrate/20170413143802_enable_uuid_ossp_extension.rb +6 -0
- data/lib/nexmo_developer/db/migrate/20170413154102_change_event_id_to_uuid.rb +7 -0
- data/lib/nexmo_developer/db/migrate/20170413154510_create_sessions.rb +13 -0
- data/lib/nexmo_developer/db/migrate/20170831144035_create_feedback_feedbacks.rb +18 -0
- data/lib/nexmo_developer/db/migrate/20170831150024_create_feedback_resources.rb +10 -0
- data/lib/nexmo_developer/db/migrate/20170901093402_sorcery_core.rb +17 -0
- data/lib/nexmo_developer/db/migrate/20170907172926_create_feedback_authors.rb +10 -0
- data/lib/nexmo_developer/db/migrate/20170908112821_create_active_admin_comments.rb +19 -0
- data/lib/nexmo_developer/db/migrate/20170908153555_change_events_start_at_and_end_at_to_date_type.rb +6 -0
- data/lib/nexmo_developer/db/migrate/20170914145346_add_code_language_to_feedback.rb +6 -0
- data/lib/nexmo_developer/db/migrate/20170915081222_correct_uri_of_resources.rb +31 -0
- data/lib/nexmo_developer/db/migrate/20170919151243_add_langugage_set_filters_to_feedbacks.rb +9 -0
- data/lib/nexmo_developer/db/migrate/20170920153649_add_resolved_to_feedback_feedbacks.rb +6 -0
- data/lib/nexmo_developer/db/migrate/20170921120626_drop_users.rb +5 -0
- data/lib/nexmo_developer/db/migrate/20170921121218_devise_create_users.rb +44 -0
- data/lib/nexmo_developer/db/migrate/20171030115603_add_api_key_and_api_secret_to_users.rb +6 -0
- data/lib/nexmo_developer/db/migrate/20180125163023_add_api_secret_to_users.rb +18 -0
- data/lib/nexmo_developer/db/migrate/20180306142355_create_careers.rb +14 -0
- data/lib/nexmo_developer/db/migrate/20180306161650_add_summary_and_icon_to_careers.rb +6 -0
- data/lib/nexmo_developer/db/migrate/20180306184030_create_friendly_id_slugs.rb +15 -0
- data/lib/nexmo_developer/db/migrate/20180306184642_add_slug_to_career.rb +6 -0
- data/lib/nexmo_developer/db/migrate/20180306185340_add_description_short_to_careers.rb +5 -0
- data/lib/nexmo_developer/db/migrate/20180308101927_add_role_group_to_careers.rb +6 -0
- data/lib/nexmo_developer/db/migrate/20180403111850_add_product_to_feedback_resources.rb +41 -0
- data/lib/nexmo_developer/db/migrate/20180404124814_add_published_to_sessions.rb +6 -0
- data/lib/nexmo_developer/db/migrate/20180827133110_usage_building_block_events.rb +16 -0
- data/lib/nexmo_developer/db/migrate/20181006144242_create_redirects.rb +8 -0
- data/lib/nexmo_developer/db/migrate/20190220092207_add_city_country_to_events.rb +6 -0
- data/lib/nexmo_developer/db/migrate/20190306130440_add_latitude_longitude_to_events.rb +6 -0
- data/lib/nexmo_developer/db/migrate/20190415162421_rename_usage_building_block_events.rb +7 -0
- data/lib/nexmo_developer/db/migrate/20190711141227_drop_careers_table.rb +21 -0
- data/lib/nexmo_developer/db/migrate/20190711143408_drop_friendly_id_slugs_table.rb +16 -0
- data/lib/nexmo_developer/db/migrate/20191022100247_add_foreign_key_to_active_storage_for_blob_id.rb +10 -0
- data/lib/nexmo_developer/db/migrate/20200402092734_add_remote_to_events.rb +5 -0
- data/lib/nexmo_developer/db/migrate/20201016102902_create_feedback_config.rb +10 -0
- data/lib/nexmo_developer/db/migrate/20201016110604_add_details_to_feedback_feedback.rb +7 -0
- data/lib/nexmo_developer/db/schema.rb +152 -0
- data/lib/nexmo_developer/db/seeds.rb +70 -0
- data/lib/nexmo_developer/docker-compose.yml +43 -0
- data/lib/nexmo_developer/github_deploy_key.enc +0 -0
- data/lib/nexmo_developer/lib/common_errors.rb +5 -0
- data/lib/nexmo_developer/lib/tasks/.keep +0 -0
- data/lib/nexmo_developer/lib/tasks/cache.rake +6 -0
- data/lib/nexmo_developer/lib/tasks/careers.rake +8 -0
- data/lib/nexmo_developer/lib/tasks/ci.rake +171 -0
- data/lib/nexmo_developer/lib/tasks/diff.rake +40 -0
- data/lib/nexmo_developer/lib/tasks/documentation.rake +18 -0
- data/lib/nexmo_developer/lib/tasks/generate_search_terms.rake +39 -0
- data/lib/nexmo_developer/lib/tasks/links.rake +135 -0
- data/lib/nexmo_developer/lib/tasks/move.rake +58 -0
- data/lib/nexmo_developer/lib/tasks/repos.rake +57 -0
- data/lib/nexmo_developer/lib/tasks/screenshots.rake +11 -0
- data/lib/nexmo_developer/lib/tasks/section.rake +146 -0
- data/lib/nexmo_developer/lib/tasks/smartling.rake +65 -0
- data/lib/nexmo_developer/lib/tasks/test.rake +22 -0
- data/lib/nexmo_developer/nexmo_developer.rb +1 -0
- data/lib/nexmo_developer/public/404.html +67 -0
- data/lib/nexmo_developer/public/422.html +67 -0
- data/lib/nexmo_developer/public/500.html +66 -0
- data/lib/nexmo_developer/public/android-chrome-192x192.png +0 -0
- data/lib/nexmo_developer/public/android-chrome-512x512.png +0 -0
- data/lib/nexmo_developer/public/apple-touch-icon-precomposed.png +0 -0
- data/lib/nexmo_developer/public/apple-touch-icon.png +0 -0
- data/lib/nexmo_developer/public/browserconfig.xml +9 -0
- data/lib/nexmo_developer/public/favicon-16x16.png +0 -0
- data/lib/nexmo_developer/public/favicon-32x32.png +0 -0
- data/lib/nexmo_developer/public/favicon.ico +0 -0
- data/lib/nexmo_developer/public/fonts/Lato-Heavy.woff +0 -0
- data/lib/nexmo_developer/public/fonts/Lato-Heavy.woff2 +0 -0
- data/lib/nexmo_developer/public/fonts/Lato-Regular.woff +0 -0
- data/lib/nexmo_developer/public/fonts/Lato-Regular.woff2 +0 -0
- data/lib/nexmo_developer/public/fonts/Lato-Semibold.woff +0 -0
- data/lib/nexmo_developer/public/fonts/Lato-Semibold.woff2 +0 -0
- data/lib/nexmo_developer/public/manifest.json +17 -0
- data/lib/nexmo_developer/public/mstile-144x144.png +0 -0
- data/lib/nexmo_developer/public/mstile-150x150.png +0 -0
- data/lib/nexmo_developer/public/nexmo-developer-logo.svg +25 -0
- data/lib/nexmo_developer/public/nexmo-vonage-white.svg +79 -0
- data/lib/nexmo_developer/public/packs-test/css/application-5047da33.chunk.css +14950 -0
- data/lib/nexmo_developer/public/packs-test/css/application-5047da33.chunk.css.map +1 -0
- data/lib/nexmo_developer/public/packs-test/css/application-a5fa0fdb.chunk.css +15085 -0
- data/lib/nexmo_developer/public/packs-test/css/application-a5fa0fdb.chunk.css.map +1 -0
- data/lib/nexmo_developer/public/packs-test/css/application-f92656e6.chunk.css +13 -0
- data/lib/nexmo_developer/public/packs-test/css/application-f92656e6.chunk.css.map +1 -0
- data/lib/nexmo_developer/public/packs-test/css/application-f9d1bdbc.chunk.css +13 -0
- data/lib/nexmo_developer/public/packs-test/css/application-f9d1bdbc.chunk.css.map +1 -0
- data/lib/nexmo_developer/public/packs-test/js/0-e58f598fb97314a89835.chunk.js +59763 -0
- data/lib/nexmo_developer/public/packs-test/js/0-e58f598fb97314a89835.chunk.js.map +1 -0
- data/lib/nexmo_developer/public/packs-test/js/application-21483bf220c794127fa9.chunk.js +6405 -0
- data/lib/nexmo_developer/public/packs-test/js/application-21483bf220c794127fa9.chunk.js.map +1 -0
- data/lib/nexmo_developer/public/packs-test/js/application-6e53f67bc3230c42f9dd.chunk.js +7839 -0
- data/lib/nexmo_developer/public/packs-test/js/application-6e53f67bc3230c42f9dd.chunk.js.map +1 -0
- data/lib/nexmo_developer/public/packs-test/js/application-76d5a80c3775a7e2327a.chunk.js +6405 -0
- data/lib/nexmo_developer/public/packs-test/js/application-76d5a80c3775a7e2327a.chunk.js.map +1 -0
- data/lib/nexmo_developer/public/packs-test/js/application-c6f3e7a9d98562f76890.chunk.js +6619 -0
- data/lib/nexmo_developer/public/packs-test/js/application-c6f3e7a9d98562f76890.chunk.js.map +1 -0
- data/lib/nexmo_developer/public/packs-test/js/application-d280e78dd4f9d3d9b466.chunk.js +6405 -0
- data/lib/nexmo_developer/public/packs-test/js/application-d280e78dd4f9d3d9b466.chunk.js.map +1 -0
- data/lib/nexmo_developer/public/packs-test/js/runtime~application-1c11a8c601900ade80b6.js +155 -0
- data/lib/nexmo_developer/public/packs-test/js/runtime~application-1c11a8c601900ade80b6.js.map +1 -0
- data/lib/nexmo_developer/public/packs-test/js/vendors~application-6518249ed8d7aa985a8b.chunk.js +61849 -0
- data/lib/nexmo_developer/public/packs-test/js/vendors~application-6518249ed8d7aa985a8b.chunk.js.map +1 -0
- data/lib/nexmo_developer/public/packs-test/js/vendors~application-bc967911d70f3f4a5151.chunk.js +59077 -0
- data/lib/nexmo_developer/public/packs-test/js/vendors~application-bc967911d70f3f4a5151.chunk.js.map +1 -0
- data/lib/nexmo_developer/public/packs-test/js/vendors~application-d2bde7a8e622fafdeb1d.chunk.js +61843 -0
- data/lib/nexmo_developer/public/packs-test/js/vendors~application-d2bde7a8e622fafdeb1d.chunk.js.map +1 -0
- data/lib/nexmo_developer/public/packs-test/js/vendors~application-eb13e7814c54bf76b364.chunk.js +62431 -0
- data/lib/nexmo_developer/public/packs-test/js/vendors~application-eb13e7814c54bf76b364.chunk.js.map +1 -0
- data/lib/nexmo_developer/public/packs-test/manifest.json +85 -0
- data/lib/nexmo_developer/public/safari-pinned-tab.svg +1 -0
- data/lib/nexmo_developer/public/symbol/volta-brand-icons.svg +1 -0
- data/lib/nexmo_developer/public/symbol/volta-icons.svg +1 -0
- data/lib/nexmo_developer/vendor/assets/javascripts/.keep +0 -0
- data/lib/nexmo_developer/vendor/assets/javascripts/jquery-scrolltofixed.js +567 -0
- data/lib/nexmo_developer/vendor/assets/javascripts/mermaid.js +49 -0
- data/lib/nexmo_developer/vendor/assets/javascripts/underscore.js +5 -0
- data/lib/nexmo_developer/vendor/assets/javascripts/volta/addons/jquery.tablesorter.js +1031 -0
- data/lib/nexmo_developer/vendor/assets/javascripts/volta/addons/prism.js +22 -0
- data/lib/nexmo_developer/vendor/assets/javascripts/volta/components/side-navigation/volta.menu.js +377 -0
- data/lib/nexmo_developer/vendor/assets/javascripts/volta/components/volta.accordion.js +249 -0
- data/lib/nexmo_developer/vendor/assets/javascripts/volta/components/volta.dropdown.js +145 -0
- data/lib/nexmo_developer/vendor/assets/javascripts/volta/components/volta.flash.js +175 -0
- data/lib/nexmo_developer/vendor/assets/javascripts/volta/components/volta.modal.js +312 -0
- data/lib/nexmo_developer/vendor/assets/javascripts/volta/components/volta.tab.js +203 -0
- data/lib/nexmo_developer/vendor/assets/javascripts/volta/components/volta.tooltip.js +71 -0
- data/lib/nexmo_developer/vendor/assets/javascripts/volta/popper.min.js +5 -0
- data/lib/nexmo_developer/vendor/assets/javascripts/volta/svgxuse.min.js +12 -0
- data/lib/nexmo_developer/vendor/assets/javascripts/volta/tooltip.min.js +5 -0
- data/lib/nexmo_developer/vendor/assets/javascripts/volta/volta.core.js +238 -0
- data/lib/nexmo_developer/vendor/assets/javascripts/volta/volta.js +2141 -0
- data/lib/nexmo_developer/vendor/assets/javascripts/volta/volta.min.js +1 -0
- data/lib/nexmo_developer/vendor/assets/stylesheets/.keep +0 -0
- data/lib/nexmo_developer/version.rb +3 -0
- data/package.json +124 -0
- data/station.gemspec +94 -42
- data/yarn.lock +13943 -0
- metadata +1888 -55
- data/.document +0 -5
- data/Rakefile +0 -61
- data/VERSION +0 -1
- data/lib/station.rb +0 -3
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1198672d56a3ace978b43f205938e988880d40a0afa59b8d1dfad8848a483a01
|
4
|
+
data.tar.gz: e0ab45a38265a2bb41e44155cfcbf65523c2855bd83fcc1cd9a94b20ca50a2b3
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5675f2e4ced7defa9f14af7e9ecd4f88ab7304755ee58ac28f38e9bb070a733ad290a4d921bb29e9d677ff0f9c73d65c71348f346ba77b5810a1739049286ef6
|
7
|
+
data.tar.gz: 7129c6147f9d6b8ab673457a7b525b6dcf620917109c61771e3ba7f9b9cadb797cb9e248bd6c27c8d7f5a047f8d68981cbb2f5da4e1b526090c7921816e02b45
|
data/.buildpacks
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
lib/nexmo_developer=https://github.com/heroku/heroku-buildpack-ruby.git
|
data/.editorconfig
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# EditorConfig is quite nifty: http://EditorConfig.org
|
2
|
+
|
3
|
+
root = true
|
4
|
+
|
5
|
+
[*]
|
6
|
+
end_of_line = lf
|
7
|
+
charset = utf-8
|
8
|
+
insert_final_newline = true
|
9
|
+
|
10
|
+
[*.md]
|
11
|
+
indent_size=4
|
12
|
+
|
13
|
+
[{*.rb,*.rake,Rakefile}]
|
14
|
+
indent_style = space
|
15
|
+
indent_size = 2
|
16
|
+
|
17
|
+
[*.json]
|
18
|
+
indent_style = space
|
19
|
+
indent_size = 4
|
20
|
+
|
21
|
+
[{*.yml,*.yaml}]
|
22
|
+
indent_style = space
|
23
|
+
indent_size = 2
|
data/.env.example
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
# Uncomment these lines to enable BasicAuth
|
2
|
+
# USERNAME=user
|
3
|
+
# PASSWORD=password
|
4
|
+
|
5
|
+
ALLOW_ROBOTS=false
|
6
|
+
|
7
|
+
SEGMENT_WRITE_KEY=abc123
|
8
|
+
BUGSNAG_API_KEY=abc123
|
9
|
+
|
10
|
+
ALGOLIA_APPLICATION_ID=abc123
|
11
|
+
ALGOLIA_API_KEY=abc123
|
12
|
+
|
13
|
+
SEARCH_URL=https://abc123.execute-api.us-east-1.amazonaws.com/latest/search
|
14
|
+
|
15
|
+
# Required for screenshots:
|
16
|
+
|
17
|
+
NEXMO_USERNAME=user@example.org
|
18
|
+
NEXMO_PASSWORD=abc123
|
19
|
+
|
20
|
+
# Required for nexmo-oas-renderer
|
21
|
+
OAS_PATH='_open_api/api_specs/definitions'
|
22
|
+
|
23
|
+
DOCS_BASE_PATH='.'
|
24
|
+
|
25
|
+
GREENHOUSE_API_TOKEN='greenhouse-api-token'
|
26
|
+
|
27
|
+
REDIS_URL=redis://localhost:6379/0
|
28
|
+
|
29
|
+
# POSTGRES_USERNAME=''
|
30
|
+
|
31
|
+
# SMARTLING_USER_ID=''
|
32
|
+
# SMARTLING_USER_SECRET=''
|
33
|
+
# SMARTLING_PROJECT_ID=''
|
data/.gitignore
CHANGED
@@ -1,26 +1,41 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
tmtags
|
1
|
+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
|
2
|
+
#
|
3
|
+
# If you find yourself ignoring temporary files generated by your text editor
|
4
|
+
# or operating system, you probably want to add a global ignore instead:
|
5
|
+
# git config --global core.excludesfile '~/.gitignore_global'
|
7
6
|
|
8
|
-
|
9
|
-
*~
|
10
|
-
\#*
|
11
|
-
.\#*
|
7
|
+
.DS_Store
|
12
8
|
|
13
|
-
|
14
|
-
|
9
|
+
# Ignore bundler config.
|
10
|
+
/.bundle
|
15
11
|
|
16
|
-
|
12
|
+
# Ignore all logfiles and tempfiles.
|
13
|
+
/log/*
|
14
|
+
/tmp/*
|
15
|
+
!/log/.keep
|
16
|
+
!/tmp/.keep
|
17
|
+
.idea/
|
18
|
+
.byebug_history
|
19
|
+
lib/nexmo_developer/.env
|
20
|
+
lib/nexmo_developer/node_modules
|
21
|
+
lib/nexmo_developer/public/packs
|
22
|
+
lib/nexmo_developer/public/packs-test/media
|
23
|
+
ib/nexmo_developer/config/algolia.yml
|
24
|
+
lib/nexmo_developer/tmp/*
|
25
|
+
lib/nexmo_developer/tmp
|
26
|
+
lib/nexmo_developer/log/*
|
27
|
+
lib/nexmo_developer/log
|
28
|
+
lib/nexmo_developer/public/assets
|
29
|
+
!lib/nexmo_developer/public/assets/archives
|
30
|
+
!lib/nexmo_developer/public/assets/fonts
|
31
|
+
!lib/nexmo_developer/public/assets/images
|
32
|
+
!lib/nexmo_developer/public/assets/pdf
|
33
|
+
!lib/nexmo_developer/public/assets/screenshots
|
34
|
+
!lib/nexmo_developer/public/assets/symbol
|
35
|
+
.env
|
36
|
+
.powder
|
37
|
+
*.gem
|
38
|
+
.history
|
39
|
+
.vscode/*
|
17
40
|
coverage
|
18
|
-
|
19
|
-
pkg
|
20
|
-
|
21
|
-
## YARD
|
22
|
-
.yardoc
|
23
|
-
doc
|
24
|
-
doc/*
|
25
|
-
|
26
|
-
## PROJECT::SPECIFIC
|
41
|
+
.DS_Store
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
|
6
|
+
|
7
|
+
## Our Standards
|
8
|
+
|
9
|
+
Examples of behavior that contributes to creating a positive environment include:
|
10
|
+
|
11
|
+
* Using welcoming and inclusive language
|
12
|
+
* Being respectful of differing viewpoints and experiences
|
13
|
+
* Gracefully accepting constructive criticism
|
14
|
+
* Focusing on what is best for the community
|
15
|
+
* Showing empathy towards other community members
|
16
|
+
|
17
|
+
Examples of unacceptable behavior by participants include:
|
18
|
+
|
19
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
|
20
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
21
|
+
* Public or private harassment
|
22
|
+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
|
23
|
+
* Other conduct which could reasonably be considered inappropriate in a professional setting
|
24
|
+
|
25
|
+
## Our Responsibilities
|
26
|
+
|
27
|
+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
|
28
|
+
|
29
|
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
|
30
|
+
|
31
|
+
## Scope
|
32
|
+
|
33
|
+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
|
34
|
+
|
35
|
+
## Enforcement
|
36
|
+
|
37
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at devrel@vonage.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
|
38
|
+
|
39
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
|
40
|
+
|
41
|
+
## Attribution
|
42
|
+
|
43
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
|
44
|
+
|
45
|
+
[homepage]: http://contributor-covenant.org
|
46
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
# Contributing
|
2
|
+
|
3
|
+
Thanks for considering contributing to Station! From typos, to sample code, tutorials and beyond, we truly appreciate and welcome input from everyone.
|
4
|
+
|
5
|
+
You can read all about our markdown additions, writing style guide and standard placeholders on our [Contributing page](https://developer.nexmo.com/contribute/overview). Once you have a change to share with us, read on ...
|
6
|
+
|
7
|
+
## Git process
|
8
|
+
|
9
|
+
This project uses [GitHub Flow](https://guides.github.com/introduction/flow/index.html). We are happy to have issues opened for discussion, but we don't require an issue to be created before a pull request is opened. When you have a change you want us to consider:
|
10
|
+
|
11
|
+
* Create a new branch on your own fork, from an up-to-date master branch.
|
12
|
+
* Make the changes on that new branch.
|
13
|
+
* Open a pull request for us, making sure to tell us what you changed and why in the pull request title and description. Pull requests without a meaningful title and a completed template may be closed.
|
14
|
+
|
15
|
+
If you need more information about how to do any of the above, we recommend the [GitHub Help pages](https://help.github.com/), which are indeed very helpful.
|
16
|
+
|
17
|
+
Tips:
|
18
|
+
|
19
|
+
* Keep it small! Small changes are easy to review and more likely to be accepted. More involved changes probably need discussion first.
|
20
|
+
* Tell us _what_ changed and _why_. This helps us to understand the change and get the right people to review it.
|
21
|
+
|
22
|
+
### For maintainers/reviewers
|
23
|
+
|
24
|
+
* If you know who can review a particular pull request, tag those people. Tagging a few can be useful as we're in different timezones and can often be travelling.
|
25
|
+
* Review with an eye to accuracy and maintainability as well as correctness. Ask yourself "do we want this change?" and "will users find this information here, could it be added to existing docs?" as well as "is everything spelled correctly?"
|
26
|
+
* Before accepting a change, check that the markdown renders as expected, and the code runs ... this probably means either pulling the code down to your development platform or deploying a review application.
|
27
|
+
* If changes are needed, then either:
|
28
|
+
- make the changes yourself (especially for minor or editorial changes).
|
29
|
+
- set your review as "changes requested" and comment for what is needed to make this pull request ready to accept.
|
30
|
+
* If everything is good then go ahead and approve the pull request.
|
31
|
+
* Now merge the pull request! If the change is good to go, then it should go (unless there are special circumstances of course). In the main, anyone can merge an accepted pull request at the earliest opportunity.
|
32
|
+
* Delete the branch if it's on our repo.
|
33
|
+
|
34
|
+
## Work in Progress [WIP]
|
35
|
+
|
36
|
+
* Please feel free to open a pull request when you are at the early stages of working on something. Put "[WIP]" in the title so we know it's not ready yet.
|
37
|
+
* Work in progress has a cost, merging things that have been branched for a long time can be harder work and cause more issues than smaller changes that can be completed quickly. Please consider whether to start a task that you can't finish in the time you have available.
|
38
|
+
* Inactive pull requests will be closed. When you are ready to complete the work, please rebase your branch and open a new pull request.
|
39
|
+
|
40
|
+
## GitHub Pull Request Labels
|
41
|
+
|
42
|
+
We use a few different labels for our pull request workflows:
|
43
|
+
|
44
|
+
* `don't merge` for things that might need external review, or where it needs to be merged on a specific date, or to clearly note that things are not ready yet!
|
45
|
+
* `help wanted` when anyone is welcome to dive in.
|
46
|
+
* `stale` when the pull request is abandoned and will soon be closed.
|
data/Dockerfile
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
FROM ruby:2.7.2-alpine AS build-env
|
2
|
+
ARG RAILS_ROOT=/station
|
3
|
+
ARG BUILD_PACKAGES="build-base curl-dev git"
|
4
|
+
ARG DEV_PACKAGES="postgresql-dev yaml-dev zlib-dev nodejs yarn"
|
5
|
+
ARG RUBY_PACKAGES="tzdata"
|
6
|
+
ENV RAILS_ENV=production
|
7
|
+
ENV NODE_ENV=production
|
8
|
+
ENV BUNDLE_APP_CONFIG="$RAILS_ROOT/.bundle"
|
9
|
+
|
10
|
+
WORKDIR $RAILS_ROOT
|
11
|
+
|
12
|
+
# Install build packages
|
13
|
+
RUN apk update \
|
14
|
+
&& apk upgrade \
|
15
|
+
&& apk add --update --no-cache $BUILD_PACKAGES $DEV_PACKAGES $RUBY_PACKAGES
|
16
|
+
COPY lib/nexmo_developer/Gemfile* package.json yarn.lock $RAILS_ROOT/
|
17
|
+
|
18
|
+
# Upgrade Bundler to version 2
|
19
|
+
RUN bundle config --global frozen 1 \
|
20
|
+
&& gem update --system \
|
21
|
+
&& gem install bundler
|
22
|
+
|
23
|
+
RUN bundle install --without development:test:assets -j4 --retry 3 --path=vendor/bundle \
|
24
|
+
# Remove unneeded files (cached *.gem, *.o, *.c)
|
25
|
+
&& rm -rf vendor/bundle/ruby/2.7.0/cache/*.gem \
|
26
|
+
&& find vendor/bundle/ruby/2.7.0/gems/ -name "*.c" -delete \
|
27
|
+
&& find vendor/bundle/ruby/2.7.0/gems/ -name "*.o" -delete
|
28
|
+
|
29
|
+
# Install node dependencies
|
30
|
+
RUN yarn install --frozen-lockfile
|
31
|
+
|
32
|
+
# Copy the app in to /station and compile assets
|
33
|
+
COPY lib/nexmo_developer/ $RAILS_ROOT/
|
34
|
+
RUN bundle exec rake assets:precompile
|
35
|
+
|
36
|
+
## Remove folders not needed in resulting image
|
37
|
+
RUN rm -rf node_modules tmp/cache vendor/assets spec
|
38
|
+
|
39
|
+
################ Build step done ###############
|
40
|
+
FROM ruby:2.7.2-alpine
|
41
|
+
ARG RAILS_ROOT=/station
|
42
|
+
|
43
|
+
ENV RACK_ENV production
|
44
|
+
ENV RAILS_ENV production
|
45
|
+
ENV RAILS_SERVE_STATIC_FILES true
|
46
|
+
ENV RAILS_LOG_TO_STDOUT true
|
47
|
+
ENV DISABLE_SSL 1
|
48
|
+
ENV DOCS_BASE_PATH /docs
|
49
|
+
ENV OAS_PATH /docs/_open_api/api_specs/definitions
|
50
|
+
|
51
|
+
ENV BUNDLE_APP_CONFIG="$RAILS_ROOT/.bundle"
|
52
|
+
WORKDIR $RAILS_ROOT
|
53
|
+
|
54
|
+
# Install packges needed at runtime
|
55
|
+
RUN apk update \
|
56
|
+
&& apk upgrade \
|
57
|
+
&& apk add --update --no-cache tzdata postgresql-client nodejs
|
58
|
+
|
59
|
+
# Upgrade Bundler to version 2
|
60
|
+
RUN bundle config --global frozen 1 \
|
61
|
+
&& gem update --system \
|
62
|
+
&& gem install bundler
|
63
|
+
|
64
|
+
# Copy app with prebuilt assets
|
65
|
+
COPY --from=build-env $RAILS_ROOT $RAILS_ROOT
|
66
|
+
|
67
|
+
# Run the app
|
68
|
+
EXPOSE 3000
|
69
|
+
CMD ["./bin/rails", "server", "-b", "0.0.0.0"]
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
data/LICENSE.md
CHANGED
@@ -1,20 +1,400 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
1
|
+
The Creative Commons Attribution-ShareAlike 4.0 International license
|
2
|
+
applies to all documentation. The code in this repository is,
|
3
|
+
additionally, available under the MIT License.
|
4
|
+
|
5
|
+
========================================================================
|
6
|
+
The underlying source code used to format and display content:
|
7
|
+
The MIT License (MIT)
|
8
|
+
========================================================================
|
9
|
+
|
10
|
+
Copyright (c) 2020 Nexmo
|
11
|
+
|
12
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
13
|
+
of this software and associated documentation files (the "Software"), to deal
|
14
|
+
in the Software without restriction, including without limitation the rights
|
15
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
16
|
+
copies of the Software, and to permit persons to whom the Software is
|
17
|
+
furnished to do so, subject to the following conditions:
|
18
|
+
|
19
|
+
The above copyright notice and this permission notice shall be included in
|
20
|
+
all copies or substantial portions of the Software.
|
21
|
+
|
22
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
23
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
24
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
25
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
26
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
27
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
28
|
+
THE SOFTWARE.
|
29
|
+
|
30
|
+
========================================================================
|
31
|
+
All Documentation:
|
32
|
+
Creative Commons Attribution-ShareAlike 4.0 International Public License
|
33
|
+
========================================================================
|
34
|
+
|
35
|
+
By exercising the Licensed Rights (defined below), You accept and agree
|
36
|
+
to be bound by the terms and conditions of this Creative Commons
|
37
|
+
Attribution-ShareAlike 4.0 International Public License ("Public
|
38
|
+
License"). To the extent this Public License may be interpreted as a
|
39
|
+
contract, You are granted the Licensed Rights in consideration of Your
|
40
|
+
acceptance of these terms and conditions, and the Licensor grants You
|
41
|
+
such rights in consideration of benefits the Licensor receives from
|
42
|
+
making the Licensed Material available under these terms and
|
43
|
+
conditions.
|
44
|
+
|
45
|
+
|
46
|
+
Section 1 -- Definitions.
|
47
|
+
|
48
|
+
a. Adapted Material means material subject to Copyright and Similar
|
49
|
+
Rights that is derived from or based upon the Licensed Material
|
50
|
+
and in which the Licensed Material is translated, altered,
|
51
|
+
arranged, transformed, or otherwise modified in a manner requiring
|
52
|
+
permission under the Copyright and Similar Rights held by the
|
53
|
+
Licensor. For purposes of this Public License, where the Licensed
|
54
|
+
Material is a musical work, performance, or sound recording,
|
55
|
+
Adapted Material is always produced where the Licensed Material is
|
56
|
+
synched in timed relation with a moving image.
|
57
|
+
|
58
|
+
b. Adapter's License means the license You apply to Your Copyright
|
59
|
+
and Similar Rights in Your contributions to Adapted Material in
|
60
|
+
accordance with the terms and conditions of this Public License.
|
61
|
+
|
62
|
+
c. BY-SA Compatible License means a license listed at
|
63
|
+
creativecommons.org/compatiblelicenses, approved by Creative
|
64
|
+
Commons as essentially the equivalent of this Public License.
|
65
|
+
|
66
|
+
d. Copyright and Similar Rights means copyright and/or similar rights
|
67
|
+
closely related to copyright including, without limitation,
|
68
|
+
performance, broadcast, sound recording, and Sui Generis Database
|
69
|
+
Rights, without regard to how the rights are labeled or
|
70
|
+
categorized. For purposes of this Public License, the rights
|
71
|
+
specified in Section 2(b)(1)-(2) are not Copyright and Similar
|
72
|
+
Rights.
|
73
|
+
|
74
|
+
e. Effective Technological Measures means those measures that, in the
|
75
|
+
absence of proper authority, may not be circumvented under laws
|
76
|
+
fulfilling obligations under Article 11 of the WIPO Copyright
|
77
|
+
Treaty adopted on December 20, 1996, and/or similar international
|
78
|
+
agreements.
|
79
|
+
|
80
|
+
f. Exceptions and Limitations means fair use, fair dealing, and/or
|
81
|
+
any other exception or limitation to Copyright and Similar Rights
|
82
|
+
that applies to Your use of the Licensed Material.
|
83
|
+
|
84
|
+
g. License Elements means the license attributes listed in the name
|
85
|
+
of a Creative Commons Public License. The License Elements of this
|
86
|
+
Public License are Attribution and ShareAlike.
|
87
|
+
|
88
|
+
h. Licensed Material means the artistic or literary work, database,
|
89
|
+
or other material to which the Licensor applied this Public
|
90
|
+
License.
|
91
|
+
|
92
|
+
i. Licensed Rights means the rights granted to You subject to the
|
93
|
+
terms and conditions of this Public License, which are limited to
|
94
|
+
all Copyright and Similar Rights that apply to Your use of the
|
95
|
+
Licensed Material and that the Licensor has authority to license.
|
96
|
+
|
97
|
+
j. Licensor means the individual(s) or entity(ies) granting rights
|
98
|
+
under this Public License.
|
99
|
+
|
100
|
+
k. Share means to provide material to the public by any means or
|
101
|
+
process that requires permission under the Licensed Rights, such
|
102
|
+
as reproduction, public display, public performance, distribution,
|
103
|
+
dissemination, communication, or importation, and to make material
|
104
|
+
available to the public including in ways that members of the
|
105
|
+
public may access the material from a place and at a time
|
106
|
+
individually chosen by them.
|
107
|
+
|
108
|
+
l. Sui Generis Database Rights means rights other than copyright
|
109
|
+
resulting from Directive 96/9/EC of the European Parliament and of
|
110
|
+
the Council of 11 March 1996 on the legal protection of databases,
|
111
|
+
as amended and/or succeeded, as well as other essentially
|
112
|
+
equivalent rights anywhere in the world.
|
113
|
+
|
114
|
+
m. You means the individual or entity exercising the Licensed Rights
|
115
|
+
under this Public License. Your has a corresponding meaning.
|
116
|
+
|
117
|
+
|
118
|
+
Section 2 -- Scope.
|
119
|
+
|
120
|
+
a. License grant.
|
121
|
+
|
122
|
+
1. Subject to the terms and conditions of this Public License,
|
123
|
+
the Licensor hereby grants You a worldwide, royalty-free,
|
124
|
+
non-sublicensable, non-exclusive, irrevocable license to
|
125
|
+
exercise the Licensed Rights in the Licensed Material to:
|
126
|
+
|
127
|
+
a. reproduce and Share the Licensed Material, in whole or
|
128
|
+
in part; and
|
129
|
+
|
130
|
+
b. produce, reproduce, and Share Adapted Material.
|
131
|
+
|
132
|
+
2. Exceptions and Limitations. For the avoidance of doubt, where
|
133
|
+
Exceptions and Limitations apply to Your use, this Public
|
134
|
+
License does not apply, and You do not need to comply with
|
135
|
+
its terms and conditions.
|
136
|
+
|
137
|
+
3. Term. The term of this Public License is specified in Section
|
138
|
+
6(a).
|
139
|
+
|
140
|
+
4. Media and formats; technical modifications allowed. The
|
141
|
+
Licensor authorizes You to exercise the Licensed Rights in
|
142
|
+
all media and formats whether now known or hereafter created,
|
143
|
+
and to make technical modifications necessary to do so. The
|
144
|
+
Licensor waives and/or agrees not to assert any right or
|
145
|
+
authority to forbid You from making technical modifications
|
146
|
+
necessary to exercise the Licensed Rights, including
|
147
|
+
technical modifications necessary to circumvent Effective
|
148
|
+
Technological Measures. For purposes of this Public License,
|
149
|
+
simply making modifications authorized by this Section 2(a)
|
150
|
+
(4) never produces Adapted Material.
|
151
|
+
|
152
|
+
5. Downstream recipients.
|
153
|
+
|
154
|
+
a. Offer from the Licensor -- Licensed Material. Every
|
155
|
+
recipient of the Licensed Material automatically
|
156
|
+
receives an offer from the Licensor to exercise the
|
157
|
+
Licensed Rights under the terms and conditions of this
|
158
|
+
Public License.
|
159
|
+
|
160
|
+
b. Additional offer from the Licensor -- Adapted Material.
|
161
|
+
Every recipient of Adapted Material from You
|
162
|
+
automatically receives an offer from the Licensor to
|
163
|
+
exercise the Licensed Rights in the Adapted Material
|
164
|
+
under the conditions of the Adapter's License You apply.
|
165
|
+
|
166
|
+
c. No downstream restrictions. You may not offer or impose
|
167
|
+
any additional or different terms or conditions on, or
|
168
|
+
apply any Effective Technological Measures to, the
|
169
|
+
Licensed Material if doing so restricts exercise of the
|
170
|
+
Licensed Rights by any recipient of the Licensed
|
171
|
+
Material.
|
172
|
+
|
173
|
+
6. No endorsement. Nothing in this Public License constitutes or
|
174
|
+
may be construed as permission to assert or imply that You
|
175
|
+
are, or that Your use of the Licensed Material is, connected
|
176
|
+
with, or sponsored, endorsed, or granted official status by,
|
177
|
+
the Licensor or others designated to receive attribution as
|
178
|
+
provided in Section 3(a)(1)(A)(i).
|
179
|
+
|
180
|
+
b. Other rights.
|
181
|
+
|
182
|
+
1. Moral rights, such as the right of integrity, are not
|
183
|
+
licensed under this Public License, nor are publicity,
|
184
|
+
privacy, and/or other similar personality rights; however, to
|
185
|
+
the extent possible, the Licensor waives and/or agrees not to
|
186
|
+
assert any such rights held by the Licensor to the limited
|
187
|
+
extent necessary to allow You to exercise the Licensed
|
188
|
+
Rights, but not otherwise.
|
189
|
+
|
190
|
+
2. Patent and trademark rights are not licensed under this
|
191
|
+
Public License.
|
192
|
+
|
193
|
+
3. To the extent possible, the Licensor waives any right to
|
194
|
+
collect royalties from You for the exercise of the Licensed
|
195
|
+
Rights, whether directly or through a collecting society
|
196
|
+
under any voluntary or waivable statutory or compulsory
|
197
|
+
licensing scheme. In all other cases the Licensor expressly
|
198
|
+
reserves any right to collect such royalties.
|
199
|
+
|
200
|
+
|
201
|
+
Section 3 -- License Conditions.
|
202
|
+
|
203
|
+
Your exercise of the Licensed Rights is expressly made subject to the
|
204
|
+
following conditions.
|
205
|
+
|
206
|
+
a. Attribution.
|
207
|
+
|
208
|
+
1. If You Share the Licensed Material (including in modified
|
209
|
+
form), You must:
|
210
|
+
|
211
|
+
a. retain the following if it is supplied by the Licensor
|
212
|
+
with the Licensed Material:
|
213
|
+
|
214
|
+
i. identification of the creator(s) of the Licensed
|
215
|
+
Material and any others designated to receive
|
216
|
+
attribution, in any reasonable manner requested by
|
217
|
+
the Licensor (including by pseudonym if
|
218
|
+
designated);
|
219
|
+
|
220
|
+
ii. a copyright notice;
|
221
|
+
|
222
|
+
iii. a notice that refers to this Public License;
|
223
|
+
|
224
|
+
iv. a notice that refers to the disclaimer of
|
225
|
+
warranties;
|
226
|
+
|
227
|
+
v. a URI or hyperlink to the Licensed Material to the
|
228
|
+
extent reasonably practicable;
|
229
|
+
|
230
|
+
b. indicate if You modified the Licensed Material and
|
231
|
+
retain an indication of any previous modifications; and
|
232
|
+
|
233
|
+
c. indicate the Licensed Material is licensed under this
|
234
|
+
Public License, and include the text of, or the URI or
|
235
|
+
hyperlink to, this Public License.
|
236
|
+
|
237
|
+
2. You may satisfy the conditions in Section 3(a)(1) in any
|
238
|
+
reasonable manner based on the medium, means, and context in
|
239
|
+
which You Share the Licensed Material. For example, it may be
|
240
|
+
reasonable to satisfy the conditions by providing a URI or
|
241
|
+
hyperlink to a resource that includes the required
|
242
|
+
information.
|
243
|
+
|
244
|
+
3. If requested by the Licensor, You must remove any of the
|
245
|
+
information required by Section 3(a)(1)(A) to the extent
|
246
|
+
reasonably practicable.
|
247
|
+
|
248
|
+
b. ShareAlike.
|
249
|
+
|
250
|
+
In addition to the conditions in Section 3(a), if You Share
|
251
|
+
Adapted Material You produce, the following conditions also apply.
|
252
|
+
|
253
|
+
1. The Adapter's License You apply must be a Creative Commons
|
254
|
+
license with the same License Elements, this version or
|
255
|
+
later, or a BY-SA Compatible License.
|
256
|
+
|
257
|
+
2. You must include the text of, or the URI or hyperlink to, the
|
258
|
+
Adapter's License You apply. You may satisfy this condition
|
259
|
+
in any reasonable manner based on the medium, means, and
|
260
|
+
context in which You Share Adapted Material.
|
261
|
+
|
262
|
+
3. You may not offer or impose any additional or different terms
|
263
|
+
or conditions on, or apply any Effective Technological
|
264
|
+
Measures to, Adapted Material that restrict exercise of the
|
265
|
+
rights granted under the Adapter's License You apply.
|
266
|
+
|
267
|
+
|
268
|
+
Section 4 -- Sui Generis Database Rights.
|
269
|
+
|
270
|
+
Where the Licensed Rights include Sui Generis Database Rights that
|
271
|
+
apply to Your use of the Licensed Material:
|
272
|
+
|
273
|
+
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
|
274
|
+
to extract, reuse, reproduce, and Share all or a substantial
|
275
|
+
portion of the contents of the database;
|
276
|
+
|
277
|
+
b. if You include all or a substantial portion of the database
|
278
|
+
contents in a database in which You have Sui Generis Database
|
279
|
+
Rights, then the database in which You have Sui Generis Database
|
280
|
+
Rights (but not its individual contents) is Adapted Material,
|
281
|
+
|
282
|
+
including for purposes of Section 3(b); and
|
283
|
+
c. You must comply with the conditions in Section 3(a) if You Share
|
284
|
+
all or a substantial portion of the contents of the database.
|
285
|
+
|
286
|
+
For the avoidance of doubt, this Section 4 supplements and does not
|
287
|
+
replace Your obligations under this Public License where the Licensed
|
288
|
+
Rights include other Copyright and Similar Rights.
|
289
|
+
|
290
|
+
|
291
|
+
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
|
292
|
+
|
293
|
+
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
|
294
|
+
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
|
295
|
+
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
|
296
|
+
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
|
297
|
+
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
|
298
|
+
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
299
|
+
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
|
300
|
+
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
|
301
|
+
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
|
302
|
+
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
|
303
|
+
|
304
|
+
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
|
305
|
+
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
|
306
|
+
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
|
307
|
+
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
|
308
|
+
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
|
309
|
+
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
|
310
|
+
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
|
311
|
+
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
|
312
|
+
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
|
313
|
+
|
314
|
+
c. The disclaimer of warranties and limitation of liability provided
|
315
|
+
above shall be interpreted in a manner that, to the extent
|
316
|
+
possible, most closely approximates an absolute disclaimer and
|
317
|
+
waiver of all liability.
|
318
|
+
|
319
|
+
|
320
|
+
Section 6 -- Term and Termination.
|
321
|
+
|
322
|
+
a. This Public License applies for the term of the Copyright and
|
323
|
+
Similar Rights licensed here. However, if You fail to comply with
|
324
|
+
this Public License, then Your rights under this Public License
|
325
|
+
terminate automatically.
|
326
|
+
|
327
|
+
b. Where Your right to use the Licensed Material has terminated under
|
328
|
+
Section 6(a), it reinstates:
|
329
|
+
|
330
|
+
1. automatically as of the date the violation is cured, provided
|
331
|
+
it is cured within 30 days of Your discovery of the
|
332
|
+
violation; or
|
333
|
+
|
334
|
+
2. upon express reinstatement by the Licensor.
|
335
|
+
|
336
|
+
For the avoidance of doubt, this Section 6(b) does not affect any
|
337
|
+
right the Licensor may have to seek remedies for Your violations
|
338
|
+
of this Public License.
|
339
|
+
|
340
|
+
c. For the avoidance of doubt, the Licensor may also offer the
|
341
|
+
Licensed Material under separate terms or conditions or stop
|
342
|
+
distributing the Licensed Material at any time; however, doing so
|
343
|
+
will not terminate this Public License.
|
344
|
+
|
345
|
+
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
|
346
|
+
License.
|
347
|
+
|
348
|
+
|
349
|
+
Section 7 -- Other Terms and Conditions.
|
350
|
+
|
351
|
+
a. The Licensor shall not be bound by any additional or different
|
352
|
+
terms or conditions communicated by You unless expressly agreed.
|
353
|
+
|
354
|
+
b. Any arrangements, understandings, or agreements regarding the
|
355
|
+
Licensed Material not stated herein are separate from and
|
356
|
+
independent of the terms and conditions of this Public License.
|
357
|
+
|
358
|
+
|
359
|
+
Section 8 -- Interpretation.
|
360
|
+
|
361
|
+
a. For the avoidance of doubt, this Public License does not, and
|
362
|
+
shall not be interpreted to, reduce, limit, restrict, or impose
|
363
|
+
conditions on any use of the Licensed Material that could lawfully
|
364
|
+
be made without permission under this Public License.
|
365
|
+
|
366
|
+
b. To the extent possible, if any provision of this Public License is
|
367
|
+
deemed unenforceable, it shall be automatically reformed to the
|
368
|
+
minimum extent necessary to make it enforceable. If the provision
|
369
|
+
cannot be reformed, it shall be severed from this Public License
|
370
|
+
without affecting the enforceability of the remaining terms and
|
371
|
+
conditions.
|
372
|
+
|
373
|
+
c. No term or condition of this Public License will be waived and no
|
374
|
+
failure to comply consented to unless expressly agreed to by the
|
375
|
+
Licensor.
|
376
|
+
|
377
|
+
d. Nothing in this Public License constitutes or may be interpreted
|
378
|
+
as a limitation upon, or waiver of, any privileges and immunities
|
379
|
+
that apply to the Licensor or You, including from the legal
|
380
|
+
processes of any jurisdiction or authority.
|
381
|
+
|
382
|
+
|
383
|
+
=======================================================================
|
384
|
+
|
385
|
+
Creative Commons is not a party to its public licenses.
|
386
|
+
Notwithstanding, Creative Commons may elect to apply one of its public
|
387
|
+
licenses to material it publishes and in those instances will be
|
388
|
+
considered the "Licensor." Except for the limited purpose of indicating
|
389
|
+
that material is shared under a Creative Commons public license or as
|
390
|
+
otherwise permitted by the Creative Commons policies published at
|
391
|
+
creativecommons.org/policies, Creative Commons does not authorize the
|
392
|
+
use of the trademark "Creative Commons" or any other trademark or logo
|
393
|
+
of Creative Commons without its prior written consent including,
|
394
|
+
without limitation, in connection with any unauthorized modifications
|
395
|
+
to any of its public licenses or any other arrangements,
|
396
|
+
understandings, or agreements concerning use of licensed material. For
|
397
|
+
the avoidance of doubt, this paragraph does not form part of the public
|
398
|
+
licenses.
|
399
|
+
|
400
|
+
Creative Commons may be contacted at creativecommons.org.
|