faalis 1.0.0.alpha4 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/faalis/angular-manifest.js +1 -0
  3. data/app/assets/javascripts/faalis/dashboard/app.js +1 -2
  4. data/app/assets/javascripts/faalis/dashboard/controllers/group.js.coffee +9 -7
  5. data/app/assets/javascripts/faalis/dashboard/controllers/user.js +11 -0
  6. data/app/assets/javascripts/faalis/dashboard/functions.js.erb +36 -0
  7. data/app/assets/javascripts/faalis/dashboard/lib/controllers/generic_index_controller.js.coffee +13 -6
  8. data/app/assets/javascripts/faalis/dashboard/lib/fields/has_many_field.js.coffee +0 -2
  9. data/app/assets/javascripts/faalis/dashboard/lib/resource.js.coffee +17 -4
  10. data/app/assets/javascripts/faalis/dashboard/modules/auth/user.js +0 -96
  11. data/app/assets/javascripts/faalis/dashboard/modules/fake.js +41 -0
  12. data/app/assets/javascripts/faalis/dashboard/modules/fields/datetime.js +4 -1
  13. data/app/assets/javascripts/faalis/dashboard/resources/group_resource.js.coffee +1 -0
  14. data/app/assets/javascripts/faalis/dashboard/resources/user_resource.js.coffee +0 -0
  15. data/app/assets/javascripts/faalis/dashboard/services/api.js.coffee +8 -6
  16. data/app/assets/javascripts/faalis/dashboard/services/user.js.coffee +0 -4
  17. data/app/assets/javascripts/faalis/dashboard/variables.js.erb +2 -1
  18. data/app/assets/stylesheets/faalis/dashboard/ltr/application.css +4 -2
  19. data/app/assets/stylesheets/faalis/dashboard/rtl/application.css +2 -0
  20. data/app/controllers/faalis/api/v1/permissions_controller.rb +2 -1
  21. data/app/controllers/faalis/api_controller.rb +0 -3
  22. data/app/controllers/faalis/application_controller.rb +3 -0
  23. data/app/controllers/faalis/dashboard/groups_controller.rb +80 -0
  24. data/app/controllers/faalis/dashboard/users_controller.rb +100 -0
  25. data/app/controllers/faalis/dashboard_controller.rb +5 -1
  26. data/app/helpers/faalis/users_helper.rb +4 -0
  27. data/app/models/faalis/concerns/user/permission.rb +5 -0
  28. data/app/models/faalis/group.rb +14 -0
  29. data/app/models/faalis/permission.rb +3 -0
  30. data/app/views/angular/auth/groups/details.html +2 -21
  31. data/app/views/angular/auth/groups/index.html +2 -5
  32. data/app/views/angular/auth/groups/new.html +2 -47
  33. data/app/views/faalis/api/v1/groups/index.json.jbuilder +4 -4
  34. data/app/views/faalis/api/v1/permissions/index.json.jbuilder +1 -1
  35. data/app/views/faalis/dashboard/groups/_form.html.slim +72 -0
  36. data/app/views/faalis/dashboard/groups/create.js.erb +3 -0
  37. data/app/views/faalis/dashboard/groups/edit.html.slim +3 -0
  38. data/app/views/faalis/dashboard/groups/errors.js.erb +3 -0
  39. data/app/views/faalis/dashboard/groups/new.html.slim +2 -0
  40. data/app/views/faalis/dashboard/groups/update.js.erb +3 -0
  41. data/app/views/faalis/dashboard/users/_form.html.slim +80 -0
  42. data/app/views/faalis/dashboard/users/_password_form.html.slim +37 -0
  43. data/app/views/faalis/dashboard/users/create.js.erb +3 -0
  44. data/app/views/faalis/dashboard/users/edit.html.slim +3 -0
  45. data/app/views/faalis/dashboard/users/edit_password.html.slim +1 -0
  46. data/app/views/faalis/dashboard/users/errors.js.erb +3 -0
  47. data/app/views/faalis/dashboard/users/index.html.slim +67 -0
  48. data/app/views/faalis/dashboard/users/new.html.slim +2 -0
  49. data/app/views/faalis/dashboard/users/show.html.slim +6 -0
  50. data/app/views/faalis/dashboard/users/update.js.erb +3 -0
  51. data/app/views/faalis/dashboard/users/update_password.js.erb +3 -0
  52. data/db/migrate/20131013091000_devise_create_faalis_users.rb +0 -3
  53. data/lib/faalis.rb +2 -0
  54. data/lib/faalis/action_dispatch.rb +3 -0
  55. data/lib/faalis/configuration.rb +25 -0
  56. data/lib/faalis/engine.rb +2 -0
  57. data/lib/faalis/fake_assets.rb +1 -0
  58. data/lib/faalis/route.rb +73 -2
  59. data/lib/faalis/version.rb +3 -3
  60. data/lib/faalis_application.rb +10 -6
  61. data/lib/faalis_plugin.rb +5 -4
  62. data/lib/generators/faalis/install_generator.rb +1 -0
  63. data/lib/generators/faalis/js/list_view_generator.rb +4 -0
  64. data/lib/generators/faalis/scaffold_generator.rb +98 -72
  65. data/lib/generators/faalis/templates/angularjs/new.html.erb +10 -10
  66. data/lib/generators/faalis/templates/js/list_view/new.html.erb +10 -10
  67. data/lib/generators/faalis/templates/js/list_view/partials/add_controller.js.erb +4 -4
  68. data/lib/generators/faalis/templates/js/list_view/partials/config.js.erb +11 -8
  69. data/lib/generators/faalis/templates/js/list_view/partials/index_controller.js.erb +5 -5
  70. data/lib/generators/faalis/templates/policy/application_policy.rb +2 -0
  71. data/lib/generators/faalis/templates/policy/policy.rb.erb +2 -0
  72. data/spec/dummy/db/development.sqlite3 +0 -0
  73. data/spec/dummy/db/migrate/{20150121060012_create_application_models.model_discovery_engine.rb → 20150723215115_create_application_models.model_discovery_engine.rb} +0 -0
  74. data/spec/dummy/db/migrate/20150725103007_devise_create_faalis_users.faalis.rb +63 -0
  75. data/spec/dummy/db/migrate/20150725103008_create_faalis_groups.faalis.rb +13 -0
  76. data/spec/dummy/db/migrate/20150725103009_create_faalis_permissions.faalis.rb +13 -0
  77. data/spec/dummy/db/migrate/20150725103010_add_permissions_groups_table.faalis.rb +9 -0
  78. data/spec/dummy/db/migrate/20150725103011_add_users_groups_table.faalis.rb +9 -0
  79. data/spec/dummy/db/schema.rb +5 -2
  80. data/spec/dummy/db/seeds.rb +1 -0
  81. data/spec/dummy/db/test.sqlite3 +0 -0
  82. data/spec/dummy/log/development.log +6474 -466
  83. data/spec/dummy/log/test.log +23493 -9554
  84. data/spec/dummy/tmp/app/assets/javascripts/controlpanel/application.js +22 -0
  85. data/spec/dummy/tmp/app/assets/stylesheets/dashboard/ltr/application.css +3 -0
  86. data/spec/dummy/tmp/app/assets/stylesheets/dashboard/rtl/application.css +3 -0
  87. data/spec/dummy/tmp/app/assets/stylesheets/ltr/application.css +3 -0
  88. data/spec/dummy/tmp/app/assets/stylesheets/rtl/application.css +3 -0
  89. data/spec/dummy/tmp/app/controllers/api_controller.rb +2 -0
  90. data/spec/dummy/tmp/app/controllers/application_controller.rb +0 -0
  91. data/spec/dummy/tmp/app/policies/application_policy.rb +2 -0
  92. data/spec/dummy/tmp/config/initializers/devise.rb +251 -0
  93. data/spec/dummy/tmp/config/initializers/faalis.rb +13 -0
  94. data/spec/dummy/tmp/config/initializers/fast_gettext.rb +4 -0
  95. data/spec/dummy/tmp/config/initializers/formstatic.rb +76 -0
  96. data/spec/dummy/tmp/config/routes.rb +0 -0
  97. data/spec/dummy/tmp/db/seeds.rb +1 -0
  98. metadata +73 -7

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.