marty 8.5.0 → 9.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/.eslintignore +1 -0
  3. data/.eslintrc.js +26 -0
  4. data/.gitignore +3 -0
  5. data/.gitlab-ci.yml +7 -0
  6. data/.prettierignore +14 -0
  7. data/.rubocop_todo.yml +1 -1
  8. data/Dockerfile.dummy +3 -0
  9. data/Makefile +1 -0
  10. data/app/assets/javascripts/marty/cable.js +7 -3
  11. data/app/assets/javascripts/marty/extjs/extensions/datetime_field/component.js +401 -0
  12. data/app/assets/javascripts/marty/extjs/extensions/datetime_field/field.js +140 -0
  13. data/app/assets/javascripts/marty/extjs/extensions/marty.js +845 -781
  14. data/app/assets/stylesheets/marty/codemirror/codemirror.css +215 -77
  15. data/app/assets/stylesheets/marty/codemirror/delorean.css +2 -2
  16. data/app/assets/stylesheets/marty/dark_mode.css +13 -3
  17. data/app/components/marty/auth_app/client/auth_app.js +107 -102
  18. data/app/components/marty/base_rule_view/client/base_rule_view.js +10 -8
  19. data/app/components/marty/data_grid_view/client/data_grid_edit.js +534 -519
  20. data/app/components/marty/form/client/form.js +3 -3
  21. data/app/components/marty/grid/client/grid.js +110 -87
  22. data/app/components/marty/import_view/client/import_view.js +18 -18
  23. data/app/components/marty/live_search_grid_panel/client/live_search_grid_panel.js +14 -13
  24. data/app/components/marty/main_auth_app/client/main_auth_app.js +42 -42
  25. data/app/components/marty/mcfly_grid_panel/client/mcfly_grid_panel.js +27 -18
  26. data/app/components/marty/new_posting_form/client/new_posting_form.js +3 -3
  27. data/app/components/marty/panel/client/panel.js +3 -3
  28. data/app/components/marty/posting_grid/client/posting_grid.js +24 -18
  29. data/app/components/marty/promise_view/client/promise_view.css +12 -12
  30. data/app/components/marty/promise_view/client/promise_view.js +46 -38
  31. data/app/components/marty/report_form/client/report_form.js +30 -28
  32. data/app/components/marty/report_select/client/report_select.js +28 -23
  33. data/app/components/marty/reporting/client/reporting.js +3 -3
  34. data/app/components/marty/script_form/client/script_form.js +29 -23
  35. data/app/components/marty/script_tester/client/script_tester.js +4 -5
  36. data/app/components/marty/scripting/client/scripting.js +40 -36
  37. data/app/components/marty/simple_app/client/simple_app.js +33 -24
  38. data/app/components/marty/simple_app/client/statusbar_ext.js +1 -1
  39. data/app/controllers/marty/rpc_controller.rb +3 -0
  40. data/app/models/marty/promise.rb +10 -2
  41. data/app/services/marty/data_grid/constraint.rb +2 -1
  42. data/app/services/marty/jobs/schedule.rb +2 -2
  43. data/app/services/marty/promises/delorean/create.rb +9 -2
  44. data/app/services/marty/promises/ruby/create.rb +7 -2
  45. data/config/initializers/delayed_job_config.rb +1 -0
  46. data/delorean/blame_report.dl +50 -58
  47. data/delorean/enum_report.dl +2 -3
  48. data/delorean/{marty_fields.dl → fields.dl} +16 -0
  49. data/delorean/styles.dl +216 -0
  50. data/delorean/table_report.dl +4 -4
  51. data/lib/marty/monkey.rb +17 -0
  52. data/lib/marty/promise_job.rb +9 -0
  53. data/lib/marty/promise_ruby_job.rb +8 -0
  54. data/lib/marty/version.rb +1 -1
  55. data/make-lint.mk +19 -0
  56. data/package.json +16 -0
  57. data/prettier.config.js +6 -0
  58. data/spec/controllers/diagnostic/controller_spec.rb +0 -1
  59. data/spec/controllers/rpc_controller_spec.rb +21 -7
  60. data/spec/dummy/delorean/data_report.dl +4 -4
  61. data/spec/dummy/delorean/fields.dl +1 -0
  62. data/spec/features/data_grid_spec.rb +37 -1
  63. data/spec/job_helper.rb +6 -0
  64. data/spec/lib/data_blame_spec.rb +4 -4
  65. data/spec/lib/data_importer_spec.rb +6 -4
  66. data/spec/models/promise_spec.rb +31 -0
  67. data/spec/spec_helper.rb +8 -0
  68. data/spec/support/download_helper.rb +53 -49
  69. data/spec/support/json_helper.rb +11 -0
  70. data/spec/support/shared_connection_db_helpers.rb +1 -0
  71. data/spec/support/suite.rb +20 -14
  72. data/yarn.lock +967 -0
  73. metadata +16 -4
  74. data/spec/dummy/delorean/marty_fields.dl +0 -1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marty
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.5.0
4
+ version: 9.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arman Bostani
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2019-12-11 00:00:00.000000000 Z
17
+ date: 2020-01-10 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: actioncable
@@ -275,8 +275,11 @@ executables: []
275
275
  extensions: []
276
276
  extra_rdoc_files: []
277
277
  files:
278
+ - ".eslintignore"
279
+ - ".eslintrc.js"
278
280
  - ".gitignore"
279
281
  - ".gitlab-ci.yml"
282
+ - ".prettierignore"
280
283
  - ".rspec"
281
284
  - ".rubocop.yml"
282
285
  - ".rubocop_todo.yml"
@@ -296,6 +299,8 @@ files:
296
299
  - app/assets/javascripts/marty/codemirror/mode/javascript/javascript.js
297
300
  - app/assets/javascripts/marty/codemirror/mode/python/python.js
298
301
  - app/assets/javascripts/marty/codemirror/mode/ruby/ruby.js
302
+ - app/assets/javascripts/marty/extjs/extensions/datetime_field/component.js
303
+ - app/assets/javascripts/marty/extjs/extensions/datetime_field/field.js
299
304
  - app/assets/javascripts/marty/extjs/extensions/marty.js
300
305
  - app/assets/stylesheets/marty/application.css
301
306
  - app/assets/stylesheets/marty/codemirror/codemirror.css
@@ -444,6 +449,7 @@ files:
444
449
  - app/views/marty/diagnostic/diag.html.erb
445
450
  - app/views/marty/diagnostic/op.html.erb
446
451
  - config/database.yml.travis
452
+ - config/initializers/delayed_job_config.rb
447
453
  - config/locales/en.yml
448
454
  - config/routes.rb
449
455
  - db/migrate/001_create_marty_scripts.rb
@@ -510,9 +516,10 @@ files:
510
516
  - delorean/blame_report.dl
511
517
  - delorean/diagnostics.dl
512
518
  - delorean/enum_report.dl
513
- - delorean/marty_fields.dl
519
+ - delorean/fields.dl
514
520
  - delorean/promises.dl
515
521
  - delorean/script_report.dl
522
+ - delorean/styles.dl
516
523
  - delorean/table_report.dl
517
524
  - docker-compose.dummy.yml
518
525
  - gemini_deprecations.md
@@ -574,7 +581,10 @@ files:
574
581
  - lib/tasks/marty_tasks.rake
575
582
  - lib/tasks/scripts_tasks.rake
576
583
  - make-app.mk
584
+ - make-lint.mk
577
585
  - marty.gemspec
586
+ - package.json
587
+ - prettier.config.js
578
588
  - script/rails
579
589
  - spec/controllers/application_controller_spec.rb
580
590
  - spec/controllers/delayed_job_controller_spec.rb
@@ -670,7 +680,7 @@ files:
670
680
  - spec/dummy/delorean/data_report.dl
671
681
  - spec/dummy/delorean/delorean_fn.dl
672
682
  - spec/dummy/delorean/enum_report.dl
673
- - spec/dummy/delorean/marty_fields.dl
683
+ - spec/dummy/delorean/fields.dl
674
684
  - spec/dummy/delorean/styles.dl
675
685
  - spec/dummy/delorean/table_report.dl
676
686
  - spec/dummy/delorean/test_namespace/nested_namespace/test.dl
@@ -1782,6 +1792,7 @@ files:
1782
1792
  - spec/support/download_helper.rb
1783
1793
  - spec/support/empty_job.rb
1784
1794
  - spec/support/helper.rb
1795
+ - spec/support/json_helper.rb
1785
1796
  - spec/support/netzke.rb
1786
1797
  - spec/support/performance_helper.rb
1787
1798
  - spec/support/post_run_logger.rb
@@ -1791,6 +1802,7 @@ files:
1791
1802
  - spec/support/structure_compare.rb
1792
1803
  - spec/support/suite.rb
1793
1804
  - spec/support/users.rb
1805
+ - yarn.lock
1794
1806
  homepage: https://github.com/arman000/marty
1795
1807
  licenses:
1796
1808
  - MIT
@@ -1 +0,0 @@
1
- ../../../delorean/marty_fields.dl