station 0.0.110 → 0.0.115
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dockerfile +9 -7
- data/Gemfile +1 -1
- data/Gemfile.lock +2 -2
- data/docs/How-To-Use.md +2 -0
- data/lib/nexmo_developer/.nvmrc +1 -1
- data/lib/nexmo_developer/.ruby-version +1 -1
- data/lib/nexmo_developer/Gemfile +14 -10
- data/lib/nexmo_developer/Gemfile.lock +165 -101
- data/lib/nexmo_developer/Runbook.md +4 -4
- data/lib/nexmo_developer/app/controllers/dashboard_controller.rb +0 -5
- data/lib/nexmo_developer/app/controllers/jobs_controller.rb +7 -7
- data/lib/nexmo_developer/app/controllers/static_controller.rb +2 -13
- data/lib/nexmo_developer/app/models/feedback/feedback.rb +2 -0
- data/lib/nexmo_developer/app/presenters/head.rb +5 -1
- data/lib/nexmo_developer/app/presenters/improve_page_presenter.rb +10 -7
- data/lib/nexmo_developer/app/services/orbit_feedback_notifier.rb +50 -0
- data/lib/nexmo_developer/app/services/translator/files_list_coordinator.rb +1 -1
- data/lib/nexmo_developer/app/views/contribute/guides/landing-pages.md +0 -10
- data/lib/nexmo_developer/app/views/contribute/guides/markdown-guide.md +36 -40
- data/lib/nexmo_developer/app/views/contribute/guides/platform.md +0 -1
- data/lib/nexmo_developer/app/views/dashboard/stats.html.erb +2 -2
- data/lib/nexmo_developer/app/views/layouts/partials/_head.html.erb +1 -5
- data/lib/nexmo_developer/app/webpacker/javascript/volta/volta.js +5 -1
- data/lib/nexmo_developer/app/webpacker/packs/application.js +0 -3
- data/lib/nexmo_developer/config/routes.rb +0 -2
- data/lib/nexmo_developer/lib/tasks/cache.rake +1 -1
- data/lib/nexmo_developer/lib/tasks/careers.rake +1 -1
- data/lib/nexmo_developer/lib/tasks/ci.rake +7 -7
- data/lib/nexmo_developer/lib/tasks/diff.rake +5 -5
- data/lib/nexmo_developer/lib/tasks/documentation.rake +1 -1
- data/lib/nexmo_developer/lib/tasks/generate_search_terms.rake +2 -2
- data/lib/nexmo_developer/lib/tasks/links.rake +6 -6
- data/lib/nexmo_developer/lib/tasks/smartling.rake +1 -1
- data/lib/nexmo_developer/nexmo_developer.rb +2 -0
- data/lib/nexmo_developer/version.rb +1 -1
- data/package.json +22 -24
- data/station.gemspec +9 -6
- data/yarn.lock +994 -2815
- metadata +93 -56
- data/lib/nexmo_developer/.dockerignore +0 -1
- data/lib/nexmo_developer/Dockerfile +0 -28
- data/lib/nexmo_developer/app/screenshots/webhook-url-for-delivery-receipt.js +0 -44
- data/lib/nexmo_developer/app/screenshots/webhook-url-for-inbound-message.js +0 -44
- data/lib/nexmo_developer/app/views/static/default_landing/partials/_submit_your_idea_form.html.erb +0 -58
- data/lib/nexmo_developer/app/webpacker/javascript/spotlight/index.js +0 -12
- data/lib/nexmo_developer/docker-compose.yml +0 -43
- data/lib/nexmo_developer/lib/tasks/screenshots.rake +0 -11
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: station
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.115
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vonage DevRel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activeadmin
|
@@ -372,14 +372,14 @@ dependencies:
|
|
372
372
|
requirements:
|
373
373
|
- - '='
|
374
374
|
- !ruby/object:Gem::Version
|
375
|
-
version: 0.0.
|
375
|
+
version: 0.0.9
|
376
376
|
type: :runtime
|
377
377
|
prerelease: false
|
378
378
|
version_requirements: !ruby/object:Gem::Requirement
|
379
379
|
requirements:
|
380
380
|
- - '='
|
381
381
|
- !ruby/object:Gem::Version
|
382
|
-
version: 0.0.
|
382
|
+
version: 0.0.9
|
383
383
|
- !ruby/object:Gem::Dependency
|
384
384
|
name: woothee
|
385
385
|
requirement: !ruby/object:Gem::Requirement
|
@@ -428,28 +428,28 @@ dependencies:
|
|
428
428
|
requirements:
|
429
429
|
- - '='
|
430
430
|
- !ruby/object:Gem::Version
|
431
|
-
version: 5.2.
|
431
|
+
version: 5.2.2
|
432
432
|
type: :runtime
|
433
433
|
prerelease: false
|
434
434
|
version_requirements: !ruby/object:Gem::Requirement
|
435
435
|
requirements:
|
436
436
|
- - '='
|
437
437
|
- !ruby/object:Gem::Version
|
438
|
-
version: 5.2.
|
438
|
+
version: 5.2.2
|
439
439
|
- !ruby/object:Gem::Dependency
|
440
440
|
name: terminal-table
|
441
441
|
requirement: !ruby/object:Gem::Requirement
|
442
442
|
requirements:
|
443
443
|
- - '='
|
444
444
|
- !ruby/object:Gem::Version
|
445
|
-
version:
|
445
|
+
version: 3.0.0
|
446
446
|
type: :runtime
|
447
447
|
prerelease: false
|
448
448
|
version_requirements: !ruby/object:Gem::Requirement
|
449
449
|
requirements:
|
450
450
|
- - '='
|
451
451
|
- !ruby/object:Gem::Version
|
452
|
-
version:
|
452
|
+
version: 3.0.0
|
453
453
|
- !ruby/object:Gem::Dependency
|
454
454
|
name: lograge
|
455
455
|
requirement: !ruby/object:Gem::Requirement
|
@@ -470,14 +470,14 @@ dependencies:
|
|
470
470
|
requirements:
|
471
471
|
- - '='
|
472
472
|
- !ruby/object:Gem::Version
|
473
|
-
version: 2.
|
473
|
+
version: 2.11.2
|
474
474
|
type: :runtime
|
475
475
|
prerelease: false
|
476
476
|
version_requirements: !ruby/object:Gem::Requirement
|
477
477
|
requirements:
|
478
478
|
- - '='
|
479
479
|
- !ruby/object:Gem::Version
|
480
|
-
version: 2.
|
480
|
+
version: 2.11.2
|
481
481
|
- !ruby/object:Gem::Dependency
|
482
482
|
name: nokogiri
|
483
483
|
requirement: !ruby/object:Gem::Requirement
|
@@ -610,14 +610,14 @@ dependencies:
|
|
610
610
|
requirements:
|
611
611
|
- - '='
|
612
612
|
- !ruby/object:Gem::Version
|
613
|
-
version: 6.
|
613
|
+
version: 6.15.0
|
614
614
|
type: :runtime
|
615
615
|
prerelease: false
|
616
616
|
version_requirements: !ruby/object:Gem::Requirement
|
617
617
|
requirements:
|
618
618
|
- - '='
|
619
619
|
- !ruby/object:Gem::Version
|
620
|
-
version: 6.
|
620
|
+
version: 6.15.0
|
621
621
|
- !ruby/object:Gem::Dependency
|
622
622
|
name: redis
|
623
623
|
requirement: !ruby/object:Gem::Requirement
|
@@ -632,20 +632,62 @@ dependencies:
|
|
632
632
|
- - '='
|
633
633
|
- !ruby/object:Gem::Version
|
634
634
|
version: 4.2.5
|
635
|
+
- !ruby/object:Gem::Dependency
|
636
|
+
name: sassc-rails
|
637
|
+
requirement: !ruby/object:Gem::Requirement
|
638
|
+
requirements:
|
639
|
+
- - '='
|
640
|
+
- !ruby/object:Gem::Version
|
641
|
+
version: 2.1.2
|
642
|
+
type: :runtime
|
643
|
+
prerelease: false
|
644
|
+
version_requirements: !ruby/object:Gem::Requirement
|
645
|
+
requirements:
|
646
|
+
- - '='
|
647
|
+
- !ruby/object:Gem::Version
|
648
|
+
version: 2.1.2
|
649
|
+
- !ruby/object:Gem::Dependency
|
650
|
+
name: gmaps4rails
|
651
|
+
requirement: !ruby/object:Gem::Requirement
|
652
|
+
requirements:
|
653
|
+
- - '='
|
654
|
+
- !ruby/object:Gem::Version
|
655
|
+
version: 2.1.2
|
656
|
+
type: :runtime
|
657
|
+
prerelease: false
|
658
|
+
version_requirements: !ruby/object:Gem::Requirement
|
659
|
+
requirements:
|
660
|
+
- - '='
|
661
|
+
- !ruby/object:Gem::Version
|
662
|
+
version: 2.1.2
|
663
|
+
- !ruby/object:Gem::Dependency
|
664
|
+
name: chartkick
|
665
|
+
requirement: !ruby/object:Gem::Requirement
|
666
|
+
requirements:
|
667
|
+
- - '='
|
668
|
+
- !ruby/object:Gem::Version
|
669
|
+
version: 3.4.2
|
670
|
+
type: :runtime
|
671
|
+
prerelease: false
|
672
|
+
version_requirements: !ruby/object:Gem::Requirement
|
673
|
+
requirements:
|
674
|
+
- - '='
|
675
|
+
- !ruby/object:Gem::Version
|
676
|
+
version: 3.4.2
|
635
677
|
- !ruby/object:Gem::Dependency
|
636
678
|
name: rubocop
|
637
679
|
requirement: !ruby/object:Gem::Requirement
|
638
680
|
requirements:
|
639
681
|
- - "~>"
|
640
682
|
- !ruby/object:Gem::Version
|
641
|
-
version: 1.
|
683
|
+
version: 1.11.0
|
642
684
|
type: :development
|
643
685
|
prerelease: false
|
644
686
|
version_requirements: !ruby/object:Gem::Requirement
|
645
687
|
requirements:
|
646
688
|
- - "~>"
|
647
689
|
- !ruby/object:Gem::Version
|
648
|
-
version: 1.
|
690
|
+
version: 1.11.0
|
649
691
|
- !ruby/object:Gem::Dependency
|
650
692
|
name: rubocop-rails
|
651
693
|
requirement: !ruby/object:Gem::Requirement
|
@@ -675,7 +717,7 @@ files:
|
|
675
717
|
- "./lib/nexmo_developer/public/android-chrome-512x512.png"
|
676
718
|
- "./lib/nexmo_developer/public/apple-touch-icon-precomposed.png"
|
677
719
|
- "./lib/nexmo_developer/public/apple-touch-icon.png"
|
678
|
-
- "./lib/nexmo_developer/public/assets/.sprockets-manifest-
|
720
|
+
- "./lib/nexmo_developer/public/assets/.sprockets-manifest-bb56a4193bdaa449cb250ee34a5525e1.json"
|
679
721
|
- "./lib/nexmo_developer/public/assets/application-aa88b3c7bd34ec529f43849541752fda7c9c202aa9fff905be578ef88d103b46.js"
|
680
722
|
- "./lib/nexmo_developer/public/assets/application-aa88b3c7bd34ec529f43849541752fda7c9c202aa9fff905be578ef88d103b46.js.gz"
|
681
723
|
- "./lib/nexmo_developer/public/assets/application-f940d308cf06d7b6e09ec4ebd9263213ccd2cc54faf3c09dfc92f3af40e6f369.css"
|
@@ -789,18 +831,20 @@ files:
|
|
789
831
|
- "./lib/nexmo_developer/public/packs/css/application-34a1161a.chunk.css"
|
790
832
|
- "./lib/nexmo_developer/public/packs/css/application-34a1161a.chunk.css.br"
|
791
833
|
- "./lib/nexmo_developer/public/packs/css/application-34a1161a.chunk.css.gz"
|
792
|
-
- "./lib/nexmo_developer/public/packs/js/active_admin-
|
793
|
-
- "./lib/nexmo_developer/public/packs/js/active_admin-
|
794
|
-
- "./lib/nexmo_developer/public/packs/js/active_admin-
|
795
|
-
- "./lib/nexmo_developer/public/packs/js/active_admin-
|
796
|
-
- "./lib/nexmo_developer/public/packs/js/active_admin
|
797
|
-
- "./lib/nexmo_developer/public/packs/js/active_admin/print-
|
798
|
-
- "./lib/nexmo_developer/public/packs/js/
|
799
|
-
- "./lib/nexmo_developer/public/packs/js/
|
800
|
-
- "./lib/nexmo_developer/public/packs/js/application-
|
801
|
-
- "./lib/nexmo_developer/public/packs/js/application-
|
802
|
-
- "./lib/nexmo_developer/public/packs/js/application-
|
803
|
-
- "./lib/nexmo_developer/public/packs/js/application-
|
834
|
+
- "./lib/nexmo_developer/public/packs/js/active_admin-fa3f35f6384a32357729.chunk.js"
|
835
|
+
- "./lib/nexmo_developer/public/packs/js/active_admin-fa3f35f6384a32357729.chunk.js.br"
|
836
|
+
- "./lib/nexmo_developer/public/packs/js/active_admin-fa3f35f6384a32357729.chunk.js.map"
|
837
|
+
- "./lib/nexmo_developer/public/packs/js/active_admin-fa3f35f6384a32357729.chunk.js.map.br"
|
838
|
+
- "./lib/nexmo_developer/public/packs/js/active_admin-fa3f35f6384a32357729.chunk.js.map.gz"
|
839
|
+
- "./lib/nexmo_developer/public/packs/js/active_admin/print-d4cd088017e499183843.chunk.js"
|
840
|
+
- "./lib/nexmo_developer/public/packs/js/active_admin/print-d4cd088017e499183843.chunk.js.map"
|
841
|
+
- "./lib/nexmo_developer/public/packs/js/active_admin/print-d4cd088017e499183843.chunk.js.map.br"
|
842
|
+
- "./lib/nexmo_developer/public/packs/js/application-2455ae0b8f859a627468.chunk.js"
|
843
|
+
- "./lib/nexmo_developer/public/packs/js/application-2455ae0b8f859a627468.chunk.js.br"
|
844
|
+
- "./lib/nexmo_developer/public/packs/js/application-2455ae0b8f859a627468.chunk.js.gz"
|
845
|
+
- "./lib/nexmo_developer/public/packs/js/application-2455ae0b8f859a627468.chunk.js.map"
|
846
|
+
- "./lib/nexmo_developer/public/packs/js/application-2455ae0b8f859a627468.chunk.js.map.br"
|
847
|
+
- "./lib/nexmo_developer/public/packs/js/application-2455ae0b8f859a627468.chunk.js.map.gz"
|
804
848
|
- "./lib/nexmo_developer/public/packs/js/runtime~active_admin-c8b7b734110087921398.js"
|
805
849
|
- "./lib/nexmo_developer/public/packs/js/runtime~active_admin-c8b7b734110087921398.js.br"
|
806
850
|
- "./lib/nexmo_developer/public/packs/js/runtime~active_admin-c8b7b734110087921398.js.gz"
|
@@ -819,27 +863,27 @@ files:
|
|
819
863
|
- "./lib/nexmo_developer/public/packs/js/runtime~application-756e66304b1aef93a721.js.map"
|
820
864
|
- "./lib/nexmo_developer/public/packs/js/runtime~application-756e66304b1aef93a721.js.map.br"
|
821
865
|
- "./lib/nexmo_developer/public/packs/js/runtime~application-756e66304b1aef93a721.js.map.gz"
|
822
|
-
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin-
|
823
|
-
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin-
|
824
|
-
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin-
|
825
|
-
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin-
|
826
|
-
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin-
|
827
|
-
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin-
|
828
|
-
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin-
|
829
|
-
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-
|
830
|
-
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-
|
831
|
-
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-
|
832
|
-
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-
|
833
|
-
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-
|
834
|
-
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-
|
835
|
-
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-
|
836
|
-
- "./lib/nexmo_developer/public/packs/js/vendors~application-
|
837
|
-
- "./lib/nexmo_developer/public/packs/js/vendors~application-
|
838
|
-
- "./lib/nexmo_developer/public/packs/js/vendors~application-
|
839
|
-
- "./lib/nexmo_developer/public/packs/js/vendors~application-
|
840
|
-
- "./lib/nexmo_developer/public/packs/js/vendors~application-
|
841
|
-
- "./lib/nexmo_developer/public/packs/js/vendors~application-
|
842
|
-
- "./lib/nexmo_developer/public/packs/js/vendors~application-
|
866
|
+
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin-5ff3ed0dc4396d5c49d0.chunk.js"
|
867
|
+
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin-5ff3ed0dc4396d5c49d0.chunk.js.LICENSE.txt"
|
868
|
+
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin-5ff3ed0dc4396d5c49d0.chunk.js.br"
|
869
|
+
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin-5ff3ed0dc4396d5c49d0.chunk.js.gz"
|
870
|
+
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin-5ff3ed0dc4396d5c49d0.chunk.js.map"
|
871
|
+
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin-5ff3ed0dc4396d5c49d0.chunk.js.map.br"
|
872
|
+
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin-5ff3ed0dc4396d5c49d0.chunk.js.map.gz"
|
873
|
+
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-853c4f54964cac301114.chunk.js"
|
874
|
+
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-853c4f54964cac301114.chunk.js.LICENSE.txt"
|
875
|
+
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-853c4f54964cac301114.chunk.js.br"
|
876
|
+
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-853c4f54964cac301114.chunk.js.gz"
|
877
|
+
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-853c4f54964cac301114.chunk.js.map"
|
878
|
+
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-853c4f54964cac301114.chunk.js.map.br"
|
879
|
+
- "./lib/nexmo_developer/public/packs/js/vendors~active_admin~application-853c4f54964cac301114.chunk.js.map.gz"
|
880
|
+
- "./lib/nexmo_developer/public/packs/js/vendors~application-1ab4a5cd54877495fbe4.chunk.js"
|
881
|
+
- "./lib/nexmo_developer/public/packs/js/vendors~application-1ab4a5cd54877495fbe4.chunk.js.LICENSE.txt"
|
882
|
+
- "./lib/nexmo_developer/public/packs/js/vendors~application-1ab4a5cd54877495fbe4.chunk.js.br"
|
883
|
+
- "./lib/nexmo_developer/public/packs/js/vendors~application-1ab4a5cd54877495fbe4.chunk.js.gz"
|
884
|
+
- "./lib/nexmo_developer/public/packs/js/vendors~application-1ab4a5cd54877495fbe4.chunk.js.map"
|
885
|
+
- "./lib/nexmo_developer/public/packs/js/vendors~application-1ab4a5cd54877495fbe4.chunk.js.map.br"
|
886
|
+
- "./lib/nexmo_developer/public/packs/js/vendors~application-1ab4a5cd54877495fbe4.chunk.js.map.gz"
|
843
887
|
- "./lib/nexmo_developer/public/packs/manifest.json"
|
844
888
|
- "./lib/nexmo_developer/public/packs/manifest.json.br"
|
845
889
|
- "./lib/nexmo_developer/public/packs/manifest.json.gz"
|
@@ -1059,7 +1103,6 @@ files:
|
|
1059
1103
|
- docs/_config.yml
|
1060
1104
|
- docs/index.md
|
1061
1105
|
- lib/nexmo_developer/.disallowed_words
|
1062
|
-
- lib/nexmo_developer/.dockerignore
|
1063
1106
|
- lib/nexmo_developer/.eslintrc.js
|
1064
1107
|
- lib/nexmo_developer/.nvmrc
|
1065
1108
|
- lib/nexmo_developer/.postcssrc.yml
|
@@ -1067,7 +1110,6 @@ files:
|
|
1067
1110
|
- lib/nexmo_developer/.rspec
|
1068
1111
|
- lib/nexmo_developer/.rubocop.yml
|
1069
1112
|
- lib/nexmo_developer/.ruby-version
|
1070
|
-
- lib/nexmo_developer/Dockerfile
|
1071
1113
|
- lib/nexmo_developer/Gemfile
|
1072
1114
|
- lib/nexmo_developer/Gemfile.lock
|
1073
1115
|
- lib/nexmo_developer/Guardfile
|
@@ -1164,8 +1206,6 @@ files:
|
|
1164
1206
|
- lib/nexmo_developer/app/presenters/topnav.rb
|
1165
1207
|
- lib/nexmo_developer/app/presenters/topnav_item.rb
|
1166
1208
|
- lib/nexmo_developer/app/presenters/tutorial_list_item.rb
|
1167
|
-
- lib/nexmo_developer/app/screenshots/webhook-url-for-delivery-receipt.js
|
1168
|
-
- lib/nexmo_developer/app/screenshots/webhook-url-for-inbound-message.js
|
1169
1209
|
- lib/nexmo_developer/app/services/diff.rb
|
1170
1210
|
- lib/nexmo_developer/app/services/email_validator.rb
|
1171
1211
|
- lib/nexmo_developer/app/services/feedback_slack_notifier.rb
|
@@ -1174,6 +1214,7 @@ files:
|
|
1174
1214
|
- lib/nexmo_developer/app/services/locale_redirector.rb
|
1175
1215
|
- lib/nexmo_developer/app/services/not_found_notifier.rb
|
1176
1216
|
- lib/nexmo_developer/app/services/open_api_definition_resolver.rb
|
1217
|
+
- lib/nexmo_developer/app/services/orbit_feedback_notifier.rb
|
1177
1218
|
- lib/nexmo_developer/app/services/redirector.rb
|
1178
1219
|
- lib/nexmo_developer/app/services/search/article.rb
|
1179
1220
|
- lib/nexmo_developer/app/services/search/document.rb
|
@@ -1293,7 +1334,6 @@ files:
|
|
1293
1334
|
- lib/nexmo_developer/app/views/static/default_landing/partials/_section_header.html.erb
|
1294
1335
|
- lib/nexmo_developer/app/views/static/default_landing/partials/_sessions.html.erb
|
1295
1336
|
- lib/nexmo_developer/app/views/static/default_landing/partials/_structured_text.html.erb
|
1296
|
-
- lib/nexmo_developer/app/views/static/default_landing/partials/_submit_your_idea_form.html.erb
|
1297
1337
|
- lib/nexmo_developer/app/views/static/default_landing/partials/_table.html.erb
|
1298
1338
|
- lib/nexmo_developer/app/views/static/default_landing/partials/_team_members.html.erb
|
1299
1339
|
- lib/nexmo_developer/app/views/static/default_landing/partials/_text.html.erb
|
@@ -1369,7 +1409,6 @@ files:
|
|
1369
1409
|
- lib/nexmo_developer/app/webpacker/javascript/notices/index.js
|
1370
1410
|
- lib/nexmo_developer/app/webpacker/javascript/scroll/index.js
|
1371
1411
|
- lib/nexmo_developer/app/webpacker/javascript/sidenav/index.js
|
1372
|
-
- lib/nexmo_developer/app/webpacker/javascript/spotlight/index.js
|
1373
1412
|
- lib/nexmo_developer/app/webpacker/javascript/volta/tooltip.min.js
|
1374
1413
|
- lib/nexmo_developer/app/webpacker/javascript/volta/volta.js
|
1375
1414
|
- lib/nexmo_developer/app/webpacker/javascript/volta_tabbed_examples/index.js
|
@@ -1544,7 +1583,6 @@ files:
|
|
1544
1583
|
- lib/nexmo_developer/db/migrate/20201016110604_add_details_to_feedback_feedback.rb
|
1545
1584
|
- lib/nexmo_developer/db/schema.rb
|
1546
1585
|
- lib/nexmo_developer/db/seeds.rb
|
1547
|
-
- lib/nexmo_developer/docker-compose.yml
|
1548
1586
|
- lib/nexmo_developer/github_deploy_key.enc
|
1549
1587
|
- lib/nexmo_developer/lib/common_errors.rb
|
1550
1588
|
- lib/nexmo_developer/lib/tasks/.keep
|
@@ -1557,7 +1595,6 @@ files:
|
|
1557
1595
|
- lib/nexmo_developer/lib/tasks/links.rake
|
1558
1596
|
- lib/nexmo_developer/lib/tasks/move.rake
|
1559
1597
|
- lib/nexmo_developer/lib/tasks/repos.rake
|
1560
|
-
- lib/nexmo_developer/lib/tasks/screenshots.rake
|
1561
1598
|
- lib/nexmo_developer/lib/tasks/section.rake
|
1562
1599
|
- lib/nexmo_developer/lib/tasks/smartling.rake
|
1563
1600
|
- lib/nexmo_developer/lib/tasks/test.rake
|
@@ -1 +0,0 @@
|
|
1
|
-
public/packs
|
@@ -1,28 +0,0 @@
|
|
1
|
-
# Base image:
|
2
|
-
FROM ruby:2.7.2
|
3
|
-
|
4
|
-
# Install dependencies
|
5
|
-
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev lsof
|
6
|
-
|
7
|
-
# Install modern NodeJS
|
8
|
-
run curl -sL https://deb.nodesource.com/setup_12.x | bash -
|
9
|
-
run curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
|
10
|
-
run echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
|
11
|
-
run apt-get update && apt-get install -y nodejs yarn
|
12
|
-
|
13
|
-
# Set an environment variable where the Rails app is installed to inside of Docker image:
|
14
|
-
RUN mkdir -p /app/.git/hooks
|
15
|
-
|
16
|
-
WORKDIR /app
|
17
|
-
|
18
|
-
# Install Node Dependencies
|
19
|
-
ADD package.json yarn.lock /app/
|
20
|
-
RUN yarn install
|
21
|
-
|
22
|
-
# Update Bundler to Version 2 as ruby:2.5.5 defaults to an older version
|
23
|
-
RUN gem update --system && gem install bundler
|
24
|
-
|
25
|
-
# Install Ruby Dependencies
|
26
|
-
ADD Gemfile /app/Gemfile
|
27
|
-
ADD Gemfile.lock /app/Gemfile.lock
|
28
|
-
RUN bundle install
|
@@ -1,44 +0,0 @@
|
|
1
|
-
const puppeteer = require('puppeteer');
|
2
|
-
const fs = require('fs');
|
3
|
-
const sha1File = require('sha1-file');
|
4
|
-
require('dotenv').config();
|
5
|
-
|
6
|
-
if (!fs.existsSync('./public/assets/screenshots')){
|
7
|
-
fs.mkdirSync('./public/assets/screenshots');
|
8
|
-
}
|
9
|
-
|
10
|
-
(async () => {
|
11
|
-
const browser = await puppeteer.launch();
|
12
|
-
const page = await browser.newPage();
|
13
|
-
await page.setViewport({ width: 800, height: 500 })
|
14
|
-
await page.goto('https://dashboard.nexmo.com/sign-in');
|
15
|
-
|
16
|
-
await page.waitForSelector('input[name=username]')
|
17
|
-
await page.type('input[name=username]', process.env.NEXMO_USERNAME)
|
18
|
-
await page.type('input[name=password]', process.env.NEXMO_PASSWORD)
|
19
|
-
await page.click('#btn_login')
|
20
|
-
|
21
|
-
await page.waitForSelector('#nav-expander')
|
22
|
-
await page.goto('https://dashboard.nexmo.com/settings');
|
23
|
-
|
24
|
-
await page.waitForSelector('#nav-expander')
|
25
|
-
await page.click('#httpBaseUrlForDnPost')
|
26
|
-
|
27
|
-
await page.addStyleTag({
|
28
|
-
content: `
|
29
|
-
#sysId, #password, #signatureSecret {
|
30
|
-
filter: blur(5px);
|
31
|
-
}
|
32
|
-
`
|
33
|
-
})
|
34
|
-
|
35
|
-
await page.screenshot({ path: 'public/assets/screenshots/tmp.png' })
|
36
|
-
|
37
|
-
const sha = sha1File('public/assets/screenshots/tmp.png')
|
38
|
-
const newPath = `public/assets/screenshots/${sha}.png`
|
39
|
-
fs.renameSync('public/assets/screenshots/tmp.png', newPath)
|
40
|
-
|
41
|
-
await browser.close();
|
42
|
-
|
43
|
-
console.log(newPath);
|
44
|
-
})();
|
@@ -1,44 +0,0 @@
|
|
1
|
-
const puppeteer = require('puppeteer')
|
2
|
-
const fs = require('fs')
|
3
|
-
const sha1File = require('sha1-file')
|
4
|
-
require('dotenv').config()
|
5
|
-
|
6
|
-
if (!fs.existsSync('./public/assets/screenshots')){
|
7
|
-
fs.mkdirSync('./public/assets/screenshots')
|
8
|
-
}
|
9
|
-
|
10
|
-
(async () => {
|
11
|
-
const browser = await puppeteer.launch()
|
12
|
-
const page = await browser.newPage()
|
13
|
-
await page.setViewport({ width: 800, height: 500 })
|
14
|
-
await page.goto('https://dashboard.nexmo.com/sign-in')
|
15
|
-
|
16
|
-
await page.waitForSelector('input[name=username]')
|
17
|
-
await page.type('input[name=username]', process.env.NEXMO_USERNAME)
|
18
|
-
await page.type('input[name=password]', process.env.NEXMO_PASSWORD)
|
19
|
-
await page.click('#btn_login')
|
20
|
-
|
21
|
-
await page.waitForSelector('#nav-expander')
|
22
|
-
await page.goto('https://dashboard.nexmo.com/settings')
|
23
|
-
|
24
|
-
await page.waitForSelector('#nav-expander')
|
25
|
-
await page.click('#httpBaseUrlForMoPost')
|
26
|
-
|
27
|
-
await page.addStyleTag({
|
28
|
-
content: `
|
29
|
-
#sysId, #password, #signatureSecret {
|
30
|
-
filter: blur(5px)
|
31
|
-
}
|
32
|
-
`
|
33
|
-
})
|
34
|
-
|
35
|
-
await page.screenshot({ path: 'public/assets/screenshots/tmp.png' })
|
36
|
-
|
37
|
-
const sha = sha1File('public/assets/screenshots/tmp.png')
|
38
|
-
const newPath = `public/assets/screenshots/${sha}.png`
|
39
|
-
fs.renameSync('public/assets/screenshots/tmp.png', newPath)
|
40
|
-
|
41
|
-
await browser.close()
|
42
|
-
|
43
|
-
console.log(newPath)
|
44
|
-
})()
|
data/lib/nexmo_developer/app/views/static/default_landing/partials/_submit_your_idea_form.html.erb
DELETED
@@ -1,58 +0,0 @@
|
|
1
|
-
<h2 class="Vlt-title--icon" id="<%= local_assigns['header'].parameterize %>">
|
2
|
-
<svg class="Vlt-<%= local_assigns['icon']['color'] %>"><use xlink:href="<%= "/symbol/volta-icons.svg#Vlt-#{local_assigns['icon']['name']}" %>"></use></svg>
|
3
|
-
<%= local_assigns['header'].render_markdown(skip_paragraph_surround: true) %>
|
4
|
-
</h2>
|
5
|
-
|
6
|
-
<%= form_tag('/spotlight', remote: true, id: 'spotlight-form') do %>
|
7
|
-
<div class="Vlt-form__element">
|
8
|
-
<%= label_tag 'name', 'Your Name', class: 'Vlt-label' %>
|
9
|
-
<div class="Vlt-input">
|
10
|
-
<%= text_field_tag 'name', nil, required: true %>
|
11
|
-
</div>
|
12
|
-
</div>
|
13
|
-
|
14
|
-
<div class="Vlt-form__element">
|
15
|
-
<%= label_tag 'email_address', 'Your Email Address', class: 'Vlt-label' %>
|
16
|
-
<div class="Vlt-input">
|
17
|
-
<%= email_field_tag 'email_address', nil, required: true %>
|
18
|
-
</div>
|
19
|
-
</div>
|
20
|
-
|
21
|
-
<div class="Vlt-form__element">
|
22
|
-
<%= label_tag 'background', 'Please write a little about your background and why you want to write for Vonage', class: 'Vlt-label' %>
|
23
|
-
<div class="Vlt-textarea">
|
24
|
-
<%= text_area_tag 'background', nil, required: true, rows: 4, cols: 50 %>
|
25
|
-
</div>
|
26
|
-
</div>
|
27
|
-
|
28
|
-
<div class="Vlt-form__element">
|
29
|
-
<%= label_tag 'outline', 'The outline of your blog post idea', class: 'Vlt-label' %>
|
30
|
-
<div class="Vlt-textarea">
|
31
|
-
<%= text_area_tag 'outline', nil, required: true, rows: 4, cols: 50 %>
|
32
|
-
</div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div class="Vlt-form__element">
|
36
|
-
<%= label_tag 'previous_content', 'Please provide link to something you have written previously', class: 'Vlt-label' %>
|
37
|
-
<div class="Vlt-input">
|
38
|
-
<%= url_field_tag 'previous_content', nil %>
|
39
|
-
</div>
|
40
|
-
</div>
|
41
|
-
|
42
|
-
<small class="Vlt-form__element__hint">
|
43
|
-
By submitting your ideas to Vonage Developer Spotlight you accept our <a href='https://www.vonage.com/legal/privacy-policy/'>privacy policy</a>, which sets out how we use your data and the rights you have in respect of your data.
|
44
|
-
</small>
|
45
|
-
<%= submit_tag 'Submit', class: 'Vlt-btn Vlt-btn--secondary Vlt-btn--app' %>
|
46
|
-
<% end %>
|
47
|
-
<div id='success' class="Vlt-callout Vlt-callout--good Vlt-flash Vlt-flash--small ">
|
48
|
-
<i></i>
|
49
|
-
<div class="Vlt-callout__content">
|
50
|
-
<p>Thanks for your submission, we will review it and get in contact with you shortly</p>
|
51
|
-
</div>
|
52
|
-
</div>
|
53
|
-
<div id='error' class="Vlt-callout Vlt-callout--critical Vlt-flash Vlt-flash--small ">
|
54
|
-
<i></i>
|
55
|
-
<div class="Vlt-callout__content">
|
56
|
-
<p>Something went wrong with your submission. Please try again. If the error persists then please email your submission to deved@vonage.com</p>
|
57
|
-
</div>
|
58
|
-
</div>
|