faalis 2.1.1 → 2.2.0.pre.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/faalis/dashboard/application.js.erb +1 -1
  3. data/app/assets/javascripts/faalis/dashboard/init.js.coffee +1 -2
  4. data/app/assets/javascripts/faalis/dashboard/manifest.js +5 -0
  5. data/app/assets/javascripts/faalis/simple.js +1 -1
  6. data/app/assets/stylesheets/faalis/dashboard/ltr/application.css +4 -2
  7. data/app/assets/stylesheets/faalis/dashboard/rtl/application.css +4 -0
  8. data/app/assets/stylesheets/faalis/dashboard/share.scss +6 -0
  9. data/app/controllers/faalis/dashboard/groups_controller.rb +0 -1
  10. data/app/controllers/faalis/dashboard/users_controller.rb +6 -2
  11. data/app/helpers/faalis/dashboard_helper.rb +8 -9
  12. data/app/models/faalis/concerns/user/permission.rb +7 -2
  13. data/app/models/faalis/concerns/user/user_roles.rb +15 -11
  14. data/app/models/faalis/user_message.rb +1 -0
  15. data/app/policies/faalis/application_policy.rb +6 -2
  16. data/app/views/faalis/dashboard/resource/create.js.erb +1 -1
  17. data/app/views/faalis/dashboard/resource/index.html.slim +2 -1
  18. data/app/views/faalis/dashboard/resource/update.js.erb +1 -1
  19. data/app/views/faalis/dashboard/users/_form.html.slim +1 -1
  20. data/app/views/layouts/faalis/dashboard.html.erb +1 -1
  21. data/config/locales/devise.fa.yml +7 -0
  22. data/config/locales/faalis.fa.yml +46 -3
  23. data/db/migrate/20131013091000_devise_create_faalis_users.rb +4 -1
  24. data/db/migrate/20131020124701_create_faalis_groups.rb +4 -1
  25. data/db/migrate/20131021170923_create_faalis_permissions.rb +4 -1
  26. data/db/migrate/20131123120422_add_permissions_groups_table.rb +11 -3
  27. data/db/migrate/20140613120923_add_users_groups_table.rb +7 -2
  28. data/db/migrate/20160310105736_create_faalis_user_messages.rb +13 -4
  29. data/lib/faalis.rb +12 -5
  30. data/lib/faalis/concerns/authorizable.rb +3 -1
  31. data/lib/faalis/configuration.rb +17 -2
  32. data/lib/faalis/dashboard.rb +4 -5
  33. data/lib/faalis/dashboard/dsl.rb +0 -1
  34. data/lib/faalis/dashboard/dsl/base.rb +6 -3
  35. data/lib/faalis/dashboard/dsl/create.rb +0 -1
  36. data/lib/faalis/dashboard/dsl/index.rb +2 -0
  37. data/lib/faalis/dashboard/models.rb +2 -0
  38. data/lib/faalis/dashboard/models/sidebar.rb +1 -1
  39. data/lib/faalis/dashboard/sections.rb +2 -0
  40. data/lib/faalis/dashboard/sections/resource.rb +41 -54
  41. data/lib/faalis/dashboard/sections/resource_create.rb +17 -3
  42. data/lib/faalis/dashboard/sections/resources_index.rb +5 -3
  43. data/lib/faalis/engine.rb +6 -0
  44. data/lib/faalis/i18n.rb +2 -1
  45. data/lib/faalis/liquid.rb +7 -0
  46. data/lib/faalis/liquid/block.rb +14 -0
  47. data/lib/faalis/liquid/render_tag.rb +50 -0
  48. data/lib/faalis/liquid/tag.rb +51 -0
  49. data/lib/faalis/orm.rb +1 -0
  50. data/lib/faalis/{route.rb → routes.rb} +42 -20
  51. data/lib/faalis/version.rb +1 -1
  52. data/test/controllers/faalis/dashboard/resource_test.rb +118 -0
  53. data/test/dummy/config/boot.rb +1 -1
  54. metadata +60 -79
  55. checksums.yaml.gz.sig +0 -4
  56. data.tar.gz.sig +0 -1
  57. data/app/models/faalis/permissions/auth.rb +0 -8
  58. data/test/dummy/db/test.sqlite3 +0 -0
  59. data/test/dummy/log/test.log +0 -0
  60. metadata.gz.sig +0 -0
@@ -1,4 +0,0 @@
1
- /����}������N�T�6��vx,B�؎ᓕШG�8�r�@��4����~��@uu��L,�D��g�_y`?&-���=}�k<�XOzcFw�-��NK
2
- cj'��$�5�����z���xb���UB�Ѱ3��U���r� @qrr;�\�M�ӱ9n��
3
- 5HD;�Xx�y;K����]'��a�*'�к(��\>89 ���
4
- �o2��U{b��]ӿ<
data.tar.gz.sig DELETED
@@ -1 +0,0 @@
1
- �9�rq�Ń�"��]zS��b>�X��#W&��x�?��H���-m� /b`3�̪�Q%���~��7%�u�!�$ӷ��8%{X�4k{οfV��ػ���6h��"k�]��l�++)c�*yne\@���UjE�G霏6o#�Y�X�u�� W�E4�`"��˴��v�!^��Y�<�PG�Y��y.�6�dibޛc�zj�s��I��Z ~1Wo�7R�_|9�����{Ƃ����'^:��޿�Φ-
@@ -1,8 +0,0 @@
1
- class Faalis::Permissions::Auth
2
- # Make this model authorizable
3
- include Faalis::Concerns::Authorizable
4
-
5
- def self.humanize_class_name
6
- 'Auth Module'
7
- end
8
- end
File without changes
File without changes
metadata.gz.sig DELETED
Binary file