faalis 0.26.3 → 1.0.0.alpha0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +35 -6
  3. data/Rakefile +2 -25
  4. data/app/assets/javascripts/faalis/angular-manifest.js +8 -2
  5. data/app/assets/javascripts/faalis/application.js +0 -3
  6. data/app/assets/javascripts/faalis/dashboard/application.js.erb +0 -5
  7. data/app/assets/javascripts/faalis/dashboard/functions.js.erb +9 -0
  8. data/app/assets/javascripts/faalis/dashboard/init.js +1 -1
  9. data/app/assets/javascripts/faalis/dashboard/modules/auth/group.js +0 -6
  10. data/app/assets/javascripts/faalis/dashboard/modules/fields/fields.js +1 -1
  11. data/app/assets/javascripts/faalis/dashboard/modules/fields/image.js +115 -0
  12. data/app/assets/javascripts/faalis/dashboard/modules/fields/tag.js +76 -0
  13. data/app/assets/javascripts/faalis/dashboard/variables.js.erb +1 -1
  14. data/app/assets/locale/templates.pot +282 -0
  15. data/app/assets/stylesheets/faalis/dashboard/dashboard.css.scss +4 -0
  16. data/app/assets/stylesheets/faalis/dashboard/ltr/application.css +4 -4
  17. data/app/assets/stylesheets/faalis/dashboard/rtl/application.css +4 -4
  18. data/app/assets/stylesheets/faalis/dashboard/rtl/base.css.scss.erb +2 -2
  19. data/app/controllers/faalis/api/v1/permissions_controller.rb +8 -39
  20. data/app/controllers/faalis/api/v1/users_controller.rb +7 -7
  21. data/app/models/ability.rb +4 -6
  22. data/app/models/faalis/concerns/assignment.rb +2 -2
  23. data/app/models/faalis/group.rb +18 -4
  24. data/app/models/faalis/permission.rb +11 -2
  25. data/app/models/faalis/permissions/auth.rb +3 -2
  26. data/app/models/faalis/user.rb +27 -73
  27. data/app/models/faalis/user/auth_definitions.rb +94 -0
  28. data/app/models/faalis/user/mongoid_fields.rb +76 -0
  29. data/app/models/faalis/user/permission.rb +21 -0
  30. data/app/views/angularjs_templates/auth/groups/new.html +0 -20
  31. data/app/views/angularjs_templates/fields/image/image.html +1 -0
  32. data/app/views/angularjs_templates/fields/relation/relation.html +3 -1
  33. data/app/views/angularjs_templates/fields/tag/tag.html +1 -0
  34. data/app/views/angularjs_templates/nav.html.erb +0 -1
  35. data/app/views/faalis/api/v1/users/index.json.jbuilder +1 -1
  36. data/app/views/layouts/faalis/application.html.erb +2 -0
  37. data/app/views/layouts/faalis/dashboard.html.erb +1 -0
  38. data/app/views/layouts/faalis/simple.html.erb +1 -0
  39. data/config/initializers/devise.rb +0 -7
  40. data/db/migrate/20131013091000_devise_create_faalis_users.rb +3 -2
  41. data/db/migrate/20140613120923_add_users_groups_table.rb +8 -0
  42. data/db/migrate/20140617124019_faalis_groups_users.rb +4 -0
  43. data/db/seeds.rb +39 -11
  44. data/lib/faalis.rb +5 -4
  45. data/lib/faalis/concerns.rb +7 -0
  46. data/lib/faalis/concerns/authorizable.rb +76 -0
  47. data/lib/faalis/discovery.rb +8 -0
  48. data/lib/faalis/discovery/permissions.rb +51 -0
  49. data/lib/faalis/engine.rb +19 -5
  50. data/lib/faalis/extensions.rb +18 -0
  51. data/lib/faalis/extensions/base.rb +29 -0
  52. data/lib/faalis/fake_assets.rb +7 -0
  53. data/lib/faalis/generators/dashboard_scaffold.rb +23 -5
  54. data/lib/faalis/omniauth.rb +3 -0
  55. data/lib/faalis/orm.rb +29 -0
  56. data/lib/faalis/{active_record.rb → patches/models.rb} +1 -3
  57. data/lib/faalis/version.rb +1 -1
  58. data/lib/generators/faalis/install_generator.rb +7 -3
  59. data/lib/{faalis/plugins.rb → generators/faalis/js/install_i18n_generator.rb} +20 -17
  60. data/lib/generators/faalis/scaffold_generator.rb +139 -0
  61. data/lib/generators/faalis/templates/application.js +1 -1
  62. data/lib/generators/faalis/templates/i18n/Gruntfile.js.erb +30 -0
  63. data/lib/generators/faalis/templates/i18n/README +13 -0
  64. data/lib/generators/faalis/templates/i18n/fa.js +3 -0
  65. data/lib/generators/faalis/templates/js/list_view/README +1 -1
  66. data/lib/tasks/faalis_tasks.rake +26 -20
  67. data/lib/tasks/grunt/Gruntfile.js +7 -2
  68. data/spec/dummy/config/initializers/faalis.rb +40 -0
  69. metadata +134 -44
  70. data/app/assets/javascripts/faalis/dashboard/lib/angular-gettext.js +0 -202
  71. data/app/assets/javascripts/faalis/dashboard/lib/ng-grid.js +0 -3260
  72. data/app/assets/javascripts/faalis/dashboard/lib/ng-quick-date.js +0 -297
  73. data/app/assets/javascripts/faalis/dashboard/lib/restangular.js +0 -1066
  74. data/app/assets/javascripts/faalis/dashboard/lib/select2.js +0 -3255
  75. data/app/assets/javascripts/faalis/dashboard/lib/ui.select2.js +0 -217
  76. data/app/assets/stylesheets/faalis/dashboard/ng-grid.css.scss +0 -442
  77. data/app/assets/stylesheets/faalis/dashboard/ng-quick-date-default-theme.css.scss +0 -20
  78. data/app/assets/stylesheets/faalis/dashboard/ng-quick-date.css.scss +0 -19
  79. data/app/assets/stylesheets/faalis/dashboard/select2.css.scss.erb +0 -618
  80. data/app/controllers/faalis/api/v1/#conversations_controller.rb# +0 -120
  81. data/app/models/faalis/workflow.rb +0 -4
  82. data/db/migrate/20140413180202_create_faalis_workflows.rb +0 -9
  83. data/lib/faalis/permissions.rb +0 -72
  84. data/lib/faalis/workflows.rb +0 -7
  85. data/lib/faalis/workflows/base.rb +0 -70
  86. data/lib/faalis/workflows/discovery.rb +0 -42
  87. data/lib/generators/faalis/js_scaffold_generator.rb +0 -113
@@ -10,6 +10,6 @@
10
10
  // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
11
11
  // about supported directives.
12
12
  //
13
- //= require faalis/dashboard/angular
13
+ //= require faalis/angular-manifest
14
14
  //= require faalis/dashboard/application
15
15
  //= require_tree ./modules
@@ -0,0 +1,30 @@
1
+ module.exports = function (grunt) {
2
+ grunt.initConfig({
3
+ nggettext_extract: {
4
+ pot: {
5
+ files: {
6
+ 'app/assets/javascripts/locale/templates.pot': ['app/views/angularjs_templates/**/*.html',
7
+ 'app/views/angularjs_templates/**/*.html.erb',
8
+ 'app/assets/javascripts/**/*.js',
9
+ 'app/assets/javascripts/**/*.js',
10
+ 'app/assets/javascripts/**/*.coffee',
11
+ 'app/assets/javascripts/**/*.coffee.erb']
12
+ }
13
+ }
14
+ },
15
+ nggettext_compile: {
16
+ all: {
17
+ options: {
18
+ module: "Dashboard"
19
+ },
20
+ files: {
21
+ 'app/assets/javascripts/locale/translations.fa.js': ['app/assets/locale/*.fa.pot']
22
+ }
23
+ }
24
+ }
25
+
26
+ });
27
+
28
+ grunt.loadNpmTasks('grunt-angular-gettext');
29
+ grunt.registerTask('default', ['nggettext_extract', 'nggettext_compile']);
30
+ };
@@ -0,0 +1,13 @@
1
+ ==============================================
2
+ Make sure to include the resulted compiled
3
+ translations file to your javascript manifest.
4
+
5
+ Rake tasks:
6
+
7
+ 1. Collect strings for translations:
8
+
9
+ bundle exec rake faalis:js:i18n:collect
10
+
11
+ 2. Compile translated strings into a js file:
12
+
13
+ bundle exec rake faalis:js:i18n:compile
@@ -0,0 +1,3 @@
1
+ // require translations for your specific languages.
2
+ //= require faalis/locale/translations.fa
3
+ //= require locale/translations.fa
@@ -8,7 +8,7 @@ Steps to installation:
8
8
 
9
9
  namespace :api, :defaults => {:format => :json} do
10
10
  namespace :v1 do
11
- resources :cars
11
+ resources :cars, :except => [:new]
12
12
  end
13
13
  end
14
14
 
@@ -1,25 +1,19 @@
1
1
  namespace :faalis do
2
2
 
3
3
  namespace :js do
4
+ namespace :i18n do
4
5
 
5
- desc "Collect all the strings which marked for translation from javascript files"
6
- task :collect => :environment do
7
- `grunt --gruntfile #{Faalis::Engine.root}/lib/tasks/grunt/Gruntfile.js --base #{Faalis::Engine.root}/ nggettext_extract`
8
- end
9
-
10
- desc "Compile all the strings which marked for translation in javascript files"
11
- task :compile => :environment do
12
- `grunt --gruntfile #{Faalis::Engine.root}/lib/tasks/grunt/Gruntfile.js nggettext_compile`
13
- end
14
-
6
+ desc "Collect all the strings which marked for translation from javascript files"
7
+ task :collect do
8
+ base = "--base #{Rails.root}/"
9
+ puts "grunt --gruntfile #{Rails.root}/lib/tasks/grunt/Gruntfile.js #{base} nggettext_extract -d -v"
10
+ puts `grunt --gruntfile #{Rails.root}/lib/tasks/grunt/Gruntfile.js #{base} nggettext_extract -d -v`
11
+ end
15
12
 
16
- task :remove_copyright_header do
17
- Dir.glob("{app,lib}/**/*.js").each do |file|
18
- puts ">> #{file}"
19
- c = File.open(file, "r").read
20
- c.gsub!(/\/\*.*Faalis.*\USA\.$/mi, "")
21
- c.gsub!(/^[\-]+ \*\/$/i, "")
22
- File.open(file, "w").write c
13
+ desc "Compile all the strings which marked for translation in javascript files"
14
+ task :compile do
15
+ base = "--base #{Rails.root}/"
16
+ puts `grunt --gruntfile #{Rails.root}/lib/tasks/grunt/Gruntfile.js #{base} nggettext_compile -d -v`
23
17
  end
24
18
  end
25
19
 
@@ -27,8 +21,20 @@ namespace :faalis do
27
21
  end
28
22
 
29
23
 
30
- namespace :gettext do
31
- def files_to_translate
32
- Dir.glob("{app,lib,config,locale}/**/*.{rb ,erb,haml,slim,rhtml,js.erb,handlebars.erb }")
24
+ namespace :js do
25
+ namespace :i18n do
26
+ desc "Collect all the strings which marked for translation from javascript files"
27
+ task :collect do
28
+ base = "--base #{Faalis::Engine.root}/"
29
+ puts "grunt --gruntfile #{Faalis::Engine.root}/lib/tasks/grunt/Gruntfile.js #{base} nggettext_extract -d -v"
30
+ puts `grunt --gruntfile #{Faalis::Engine.root}/lib/tasks/grunt/Gruntfile.js #{base} nggettext_extract -d -v`
31
+ end
32
+
33
+ desc "Compile all the strings which marked for translation in javascript files"
34
+ task :compile do
35
+ base = "--base #{Faalis::Engine.root}/"
36
+ puts `grunt --gruntfile #{Faalis::Engine.root}/lib/tasks/grunt/Gruntfile.js #{base} nggettext_compile -d -v`
37
+ end
38
+
33
39
  end
34
40
  end
@@ -3,7 +3,12 @@ module.exports = function (grunt) {
3
3
  nggettext_extract: {
4
4
  pot: {
5
5
  files: {
6
- 'app/assets/templates/locale/templates.pot': ['app/assets/templates/*.html']
6
+ 'app/assets/faalis/locale/templates.pot': ['app/views/angularjs_templates/**/*.html',
7
+ 'app/views/angularjs_templates/**/*.html.erb',
8
+ 'app/assets/javascripts/**/*.js',
9
+ 'app/assets/javascripts/**/*.js',
10
+ 'app/assets/javascripts/**/*.coffee',
11
+ 'app/assets/javascripts/**/*.coffee.erb']
7
12
  }
8
13
  }
9
14
  },
@@ -13,7 +18,7 @@ module.exports = function (grunt) {
13
18
  module: "Dashboard"
14
19
  },
15
20
  files: {
16
- 'app/assets/javascripts/faalis/dashboard/locale/translations.js': ['app/assets/templates/locale/*.po']
21
+ 'app/assets/javascripts/faalis/locale/translations.fa.js': ['app/assets/locale/*.fa.pot']
17
22
  }
18
23
  }
19
24
  }
@@ -0,0 +1,40 @@
1
+ Faalis::Engine.setup do |config|
2
+ # Logger settings for Faalis.
3
+ # Default value is the rails logger
4
+ # config.logger = Logger.new(STDOUT)
5
+
6
+ # Add your models which want to manage their permissions
7
+ config.models_with_permission = ["Permissions::Settings",
8
+ "Permissions::Theme",
9
+ "Faalis::Permissions::Auth"]
10
+
11
+ # Url prefix for dashboard section. default is '/dashboard'
12
+ # config.dashboard_namespace = :dashboard
13
+
14
+ config.site_title = _('Dummy app')
15
+
16
+ config.orm = 'active_record'
17
+ # If you want to use red base layout in rtl mode
18
+ # config.layout_direction = :rtl
19
+ config.dashboard_modules = {
20
+ :auth => {
21
+ :icon => "fa fa-group",
22
+ :title => _("Authentication"),
23
+ :sidemenu => true,
24
+ :model => "Faalis::Permissions::Auth"
25
+ },
26
+ :sites => {
27
+ :icon => "fa fa-group",
28
+ :title => _("Websites"),
29
+ :sidemenu => true,
30
+ :resource => :site,
31
+ },
32
+ :settings => {
33
+ :icon => "fa fa-cog",
34
+ :sidemenu => true,
35
+ :title => _("Settings"),
36
+ :model => "Permissions::Settings"
37
+ },
38
+ }
39
+
40
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faalis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.3
4
+ version: 1.0.0.alpha0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sameer Rahmani
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-05-26 00:00:00.000000000 Z
12
+ date: 2014-08-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 4.0.4
20
+ version: 4.1.1
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 4.0.4
27
+ version: 4.1.1
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: omniauth
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -67,20 +67,6 @@ dependencies:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
- - !ruby/object:Gem::Dependency
71
- name: mailboxer
72
- requirement: !ruby/object:Gem::Requirement
73
- requirements:
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- version: '0'
77
- type: :runtime
78
- prerelease: false
79
- version_requirements: !ruby/object:Gem::Requirement
80
- requirements:
81
- - - ">="
82
- - !ruby/object:Gem::Version
83
- version: '0'
84
70
  - !ruby/object:Gem::Dependency
85
71
  name: jbuilder
86
72
  requirement: !ruby/object:Gem::Requirement
@@ -235,6 +221,104 @@ dependencies:
235
221
  - - ">="
236
222
  - !ruby/object:Gem::Version
237
223
  version: '0'
224
+ - !ruby/object:Gem::Dependency
225
+ name: rails-assets-angular-gettext
226
+ requirement: !ruby/object:Gem::Requirement
227
+ requirements:
228
+ - - ">="
229
+ - !ruby/object:Gem::Version
230
+ version: '0'
231
+ type: :runtime
232
+ prerelease: false
233
+ version_requirements: !ruby/object:Gem::Requirement
234
+ requirements:
235
+ - - ">="
236
+ - !ruby/object:Gem::Version
237
+ version: '0'
238
+ - !ruby/object:Gem::Dependency
239
+ name: rails-assets-ng-grid
240
+ requirement: !ruby/object:Gem::Requirement
241
+ requirements:
242
+ - - "~>"
243
+ - !ruby/object:Gem::Version
244
+ version: 2.0.11
245
+ type: :runtime
246
+ prerelease: false
247
+ version_requirements: !ruby/object:Gem::Requirement
248
+ requirements:
249
+ - - "~>"
250
+ - !ruby/object:Gem::Version
251
+ version: 2.0.11
252
+ - !ruby/object:Gem::Dependency
253
+ name: rails-assets-restangular
254
+ requirement: !ruby/object:Gem::Requirement
255
+ requirements:
256
+ - - "~>"
257
+ - !ruby/object:Gem::Version
258
+ version: 1.4.0
259
+ type: :runtime
260
+ prerelease: false
261
+ version_requirements: !ruby/object:Gem::Requirement
262
+ requirements:
263
+ - - "~>"
264
+ - !ruby/object:Gem::Version
265
+ version: 1.4.0
266
+ - !ruby/object:Gem::Dependency
267
+ name: rails-assets-ngQuickDate
268
+ requirement: !ruby/object:Gem::Requirement
269
+ requirements:
270
+ - - "~>"
271
+ - !ruby/object:Gem::Version
272
+ version: 1.3.0
273
+ type: :runtime
274
+ prerelease: false
275
+ version_requirements: !ruby/object:Gem::Requirement
276
+ requirements:
277
+ - - "~>"
278
+ - !ruby/object:Gem::Version
279
+ version: 1.3.0
280
+ - !ruby/object:Gem::Dependency
281
+ name: rails-assets-select2
282
+ requirement: !ruby/object:Gem::Requirement
283
+ requirements:
284
+ - - "~>"
285
+ - !ruby/object:Gem::Version
286
+ version: 3.5.0
287
+ type: :runtime
288
+ prerelease: false
289
+ version_requirements: !ruby/object:Gem::Requirement
290
+ requirements:
291
+ - - "~>"
292
+ - !ruby/object:Gem::Version
293
+ version: 3.5.0
294
+ - !ruby/object:Gem::Dependency
295
+ name: rails-assets-angular-ui-select2
296
+ requirement: !ruby/object:Gem::Requirement
297
+ requirements:
298
+ - - "~>"
299
+ - !ruby/object:Gem::Version
300
+ version: 0.0.5
301
+ type: :runtime
302
+ prerelease: false
303
+ version_requirements: !ruby/object:Gem::Requirement
304
+ requirements:
305
+ - - "~>"
306
+ - !ruby/object:Gem::Version
307
+ version: 0.0.5
308
+ - !ruby/object:Gem::Dependency
309
+ name: rails-assets-ng-flow
310
+ requirement: !ruby/object:Gem::Requirement
311
+ requirements:
312
+ - - "~>"
313
+ - !ruby/object:Gem::Version
314
+ version: 2.4.2
315
+ type: :runtime
316
+ prerelease: false
317
+ version_requirements: !ruby/object:Gem::Requirement
318
+ requirements:
319
+ - - "~>"
320
+ - !ruby/object:Gem::Version
321
+ version: 2.4.2
238
322
  - !ruby/object:Gem::Dependency
239
323
  name: fast_gettext
240
324
  requirement: !ruby/object:Gem::Requirement
@@ -283,22 +367,22 @@ dependencies:
283
367
  requirements:
284
368
  - - "~>"
285
369
  - !ruby/object:Gem::Version
286
- version: 0.2.3
370
+ version: 0.3.0
287
371
  type: :runtime
288
372
  prerelease: false
289
373
  version_requirements: !ruby/object:Gem::Requirement
290
374
  requirements:
291
375
  - - "~>"
292
376
  - !ruby/object:Gem::Version
293
- version: 0.2.3
377
+ version: 0.3.0
294
378
  - !ruby/object:Gem::Dependency
295
- name: sqlite3
379
+ name: orm_adapter
296
380
  requirement: !ruby/object:Gem::Requirement
297
381
  requirements:
298
382
  - - ">="
299
383
  - !ruby/object:Gem::Version
300
384
  version: '0'
301
- type: :development
385
+ type: :runtime
302
386
  prerelease: false
303
387
  version_requirements: !ruby/object:Gem::Requirement
304
388
  requirements:
@@ -408,12 +492,6 @@ files:
408
492
  - app/assets/javascripts/faalis/dashboard/application.js.erb
409
493
  - app/assets/javascripts/faalis/dashboard/functions.js.erb
410
494
  - app/assets/javascripts/faalis/dashboard/init.js
411
- - app/assets/javascripts/faalis/dashboard/lib/angular-gettext.js
412
- - app/assets/javascripts/faalis/dashboard/lib/ng-grid.js
413
- - app/assets/javascripts/faalis/dashboard/lib/ng-quick-date.js
414
- - app/assets/javascripts/faalis/dashboard/lib/restangular.js
415
- - app/assets/javascripts/faalis/dashboard/lib/select2.js
416
- - app/assets/javascripts/faalis/dashboard/lib/ui.select2.js
417
495
  - app/assets/javascripts/faalis/dashboard/locale/translations.js
418
496
  - app/assets/javascripts/faalis/dashboard/modules/anim.js
419
497
  - app/assets/javascripts/faalis/dashboard/modules/api.js
@@ -428,11 +506,13 @@ files:
428
506
  - app/assets/javascripts/faalis/dashboard/modules/fields/datetime.js
429
507
  - app/assets/javascripts/faalis/dashboard/modules/fields/fields.js
430
508
  - app/assets/javascripts/faalis/dashboard/modules/fields/float.js
509
+ - app/assets/javascripts/faalis/dashboard/modules/fields/image.js
431
510
  - app/assets/javascripts/faalis/dashboard/modules/fields/input-grid.js
432
511
  - app/assets/javascripts/faalis/dashboard/modules/fields/input-list.js
433
512
  - app/assets/javascripts/faalis/dashboard/modules/fields/integer.js
434
513
  - app/assets/javascripts/faalis/dashboard/modules/fields/relation.js
435
514
  - app/assets/javascripts/faalis/dashboard/modules/fields/string.js
515
+ - app/assets/javascripts/faalis/dashboard/modules/fields/tag.js
436
516
  - app/assets/javascripts/faalis/dashboard/modules/fields/text.js
437
517
  - app/assets/javascripts/faalis/dashboard/modules/fields/time.js
438
518
  - app/assets/javascripts/faalis/dashboard/modules/filter.js
@@ -462,6 +542,7 @@ files:
462
542
  - app/assets/javascripts/faalis/locale/en.json
463
543
  - app/assets/javascripts/faalis/locale/fa.json
464
544
  - app/assets/javascripts/faalis/users.js
545
+ - app/assets/locale/templates.pot
465
546
  - app/assets/stylesheets/faalis/base.css.scss
466
547
  - app/assets/stylesheets/faalis/dashboard/dashboard.css.scss
467
548
  - app/assets/stylesheets/faalis/dashboard/list_view.css.scss
@@ -471,15 +552,11 @@ files:
471
552
  - app/assets/stylesheets/faalis/dashboard/ltr/direction.css.scss
472
553
  - app/assets/stylesheets/faalis/dashboard/ltr/foundation_and_overrides.css.scss
473
554
  - app/assets/stylesheets/faalis/dashboard/ltr/time.css.scss
474
- - app/assets/stylesheets/faalis/dashboard/ng-grid.css.scss
475
- - app/assets/stylesheets/faalis/dashboard/ng-quick-date-default-theme.css.scss
476
- - app/assets/stylesheets/faalis/dashboard/ng-quick-date.css.scss
477
555
  - app/assets/stylesheets/faalis/dashboard/rtl/application.css
478
556
  - app/assets/stylesheets/faalis/dashboard/rtl/base.css.scss.erb
479
557
  - app/assets/stylesheets/faalis/dashboard/rtl/buttons.css.scss.erb
480
558
  - app/assets/stylesheets/faalis/dashboard/rtl/direction.css.scss
481
559
  - app/assets/stylesheets/faalis/dashboard/rtl/foundation_and_overrides.css.scss
482
- - app/assets/stylesheets/faalis/dashboard/select2.css.scss.erb
483
560
  - app/assets/stylesheets/faalis/dashboard/share/time.css.scss
484
561
  - app/assets/stylesheets/faalis/dashboard/sidebar.css.scss
485
562
  - app/assets/stylesheets/faalis/devise.css.scss
@@ -495,7 +572,6 @@ files:
495
572
  - app/assets/stylesheets/faalis/users.css
496
573
  - app/assets/stylesheets/faalis/variables.css.scss
497
574
  - app/controllers/faalis/#1.sh#
498
- - app/controllers/faalis/api/v1/#conversations_controller.rb#
499
575
  - app/controllers/faalis/api/v1/conversations_controller.rb
500
576
  - app/controllers/faalis/api/v1/groups_controller.rb
501
577
  - app/controllers/faalis/api/v1/logs_controller.rb
@@ -519,7 +595,9 @@ files:
519
595
  - app/models/faalis/permission.rb
520
596
  - app/models/faalis/permissions/auth.rb
521
597
  - app/models/faalis/user.rb
522
- - app/models/faalis/workflow.rb
598
+ - app/models/faalis/user/auth_definitions.rb
599
+ - app/models/faalis/user/mongoid_fields.rb
600
+ - app/models/faalis/user/permission.rb
523
601
  - app/views/angularjs_templates/auth/groups/details.html
524
602
  - app/views/angularjs_templates/auth/groups/index.html
525
603
  - app/views/angularjs_templates/auth/groups/new.html
@@ -538,9 +616,11 @@ files:
538
616
  - app/views/angularjs_templates/fields/datetime/datetime.html
539
617
  - app/views/angularjs_templates/fields/datetime/time.html
540
618
  - app/views/angularjs_templates/fields/float/float.html
619
+ - app/views/angularjs_templates/fields/image/image.html
541
620
  - app/views/angularjs_templates/fields/integer/integer.html
542
621
  - app/views/angularjs_templates/fields/relation/relation.html
543
622
  - app/views/angularjs_templates/fields/string/string.html
623
+ - app/views/angularjs_templates/fields/tag/tag.html
544
624
  - app/views/angularjs_templates/fields/text/text.html
545
625
  - app/views/angularjs_templates/filter/index.html
546
626
  - app/views/angularjs_templates/index.html
@@ -611,15 +691,17 @@ files:
611
691
  - db/migrate/20131020124701_create_faalis_groups.rb
612
692
  - db/migrate/20131021170923_create_faalis_permissions.rb
613
693
  - db/migrate/20131123120422_add_permissions_groups_table.rb
614
- - db/migrate/20140413180202_create_faalis_workflows.rb
694
+ - db/migrate/20140613120923_add_users_groups_table.rb
695
+ - db/migrate/20140617124019_faalis_groups_users.rb
615
696
  - db/seeds.rb
616
697
  - lib/faalis.rb
617
- - lib/faalis/active_record.rb
618
698
  - lib/faalis/api.rb
619
699
  - lib/faalis/api/groups_api.rb
620
700
  - lib/faalis/api/permissions_api.rb
621
701
  - lib/faalis/api/root.rb
622
702
  - lib/faalis/api/users_api.rb
703
+ - lib/faalis/concerns.rb
704
+ - lib/faalis/concerns/authorizable.rb
623
705
  - lib/faalis/cucumber.rb
624
706
  - lib/faalis/cucumber/auth.rb
625
707
  - lib/faalis/cucumber/exceptions.rb
@@ -629,8 +711,13 @@ files:
629
711
  - lib/faalis/dashboard.rb
630
712
  - lib/faalis/dashboard/controller.rb
631
713
  - lib/faalis/dashboard/module.rb
714
+ - lib/faalis/discovery.rb
715
+ - lib/faalis/discovery/permissions.rb
632
716
  - lib/faalis/engine.rb
633
717
  - lib/faalis/exceptions.rb
718
+ - lib/faalis/extensions.rb
719
+ - lib/faalis/extensions/base.rb
720
+ - lib/faalis/fake_assets.rb
634
721
  - lib/faalis/generators.rb
635
722
  - lib/faalis/generators/concerns.rb
636
723
  - lib/faalis/generators/concerns/allow_query_on.rb
@@ -654,21 +741,19 @@ files:
654
741
  - lib/faalis/initialize.rb
655
742
  - lib/faalis/omniauth.rb
656
743
  - lib/faalis/omniauth/callbacks.rb
657
- - lib/faalis/permissions.rb
658
- - lib/faalis/plugins.rb
744
+ - lib/faalis/orm.rb
745
+ - lib/faalis/patches/models.rb
659
746
  - lib/faalis/route.rb
660
747
  - lib/faalis/version.rb
661
- - lib/faalis/workflows.rb
662
- - lib/faalis/workflows/base.rb
663
- - lib/faalis/workflows/discovery.rb
664
748
  - lib/faalis_plugin.rb
665
749
  - lib/generators/faalis/USAGE
666
750
  - lib/generators/faalis/angularjs_resource_generator.rb
667
751
  - lib/generators/faalis/install_all_generator.rb
668
752
  - lib/generators/faalis/install_generator.rb
669
753
  - lib/generators/faalis/install_specs_generator.rb
754
+ - lib/generators/faalis/js/install_i18n_generator.rb
670
755
  - lib/generators/faalis/js/list_view_generator.rb
671
- - lib/generators/faalis/js_scaffold_generator.rb
756
+ - lib/generators/faalis/scaffold_generator.rb
672
757
  - lib/generators/faalis/templates/README
673
758
  - lib/generators/faalis/templates/SPECS
674
759
  - lib/generators/faalis/templates/angularjs/details.html.erb
@@ -687,6 +772,9 @@ files:
687
772
  - lib/generators/faalis/templates/features/support/email_spec.rb
688
773
  - lib/generators/faalis/templates/features/support/env.rb
689
774
  - lib/generators/faalis/templates/formtastic.rb
775
+ - lib/generators/faalis/templates/i18n/Gruntfile.js.erb
776
+ - lib/generators/faalis/templates/i18n/README
777
+ - lib/generators/faalis/templates/i18n/fa.js
690
778
  - lib/generators/faalis/templates/js/list_view/README
691
779
  - lib/generators/faalis/templates/js/list_view/details.html.erb
692
780
  - lib/generators/faalis/templates/js/list_view/index.html.erb
@@ -734,6 +822,7 @@ files:
734
822
  - spec/dummy/config/environments/production.rb
735
823
  - spec/dummy/config/environments/test.rb
736
824
  - spec/dummy/config/initializers/backtrace_silencers.rb
825
+ - spec/dummy/config/initializers/faalis.rb
737
826
  - spec/dummy/config/initializers/filter_parameter_logging.rb
738
827
  - spec/dummy/config/initializers/inflections.rb
739
828
  - spec/dummy/config/initializers/mime_types.rb
@@ -768,9 +857,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
768
857
  version: '2.0'
769
858
  required_rubygems_version: !ruby/object:Gem::Requirement
770
859
  requirements:
771
- - - ">="
860
+ - - ">"
772
861
  - !ruby/object:Gem::Version
773
- version: '0'
862
+ version: 1.3.1
774
863
  requirements: []
775
864
  rubyforge_project:
776
865
  rubygems_version: 2.2.0
@@ -817,4 +906,5 @@ test_files:
817
906
  - spec/dummy/config/initializers/filter_parameter_logging.rb
818
907
  - spec/dummy/config/initializers/mime_types.rb
819
908
  - spec/dummy/config/initializers/secret_token.rb
909
+ - spec/dummy/config/initializers/faalis.rb
820
910
  has_rdoc: