faalis 1.0.0.alpha0 → 1.0.0.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +44 -22
- data/Rakefile +1 -0
- data/app/assets/javascripts/faalis/angular-manifest.js +1 -0
- data/app/assets/javascripts/faalis/dashboard/app.js +4 -3
- data/app/assets/javascripts/faalis/dashboard/application.js.erb +0 -1
- data/app/assets/javascripts/faalis/dashboard/functions.js.erb +5 -7
- data/app/assets/javascripts/faalis/dashboard/init.js +1 -2
- data/app/assets/javascripts/faalis/dashboard/modules/fields/datetime.js +5 -3
- data/app/assets/javascripts/faalis/dashboard/modules/fields/image.js +46 -105
- data/app/assets/javascripts/faalis/dashboard/modules/services/upload_service.js +17 -0
- data/app/assets/javascripts/faalis/dashboard/variables.js.erb +1 -1
- data/app/assets/javascripts/faalis/{locale → locales}/en.json +0 -0
- data/app/assets/javascripts/faalis/{locale → locales}/fa.json +0 -0
- data/app/assets/javascripts/faalis/locales/translations.fa.js +4 -0
- data/app/assets/locale/templates.fa.pot +275 -0
- data/app/assets/locale/templates.pot +0 -8
- data/app/controllers/faalis/#api_controller.rb# +51 -0
- data/app/controllers/faalis/#dashboard_controller.rb# +65 -0
- data/app/controllers/faalis/application_controller.rb +9 -10
- data/app/controllers/faalis/dashboard_controller.rb +2 -2
- data/app/models/faalis/user.rb +11 -11
- data/app/models/faalis/user/auth_definitions.rb +2 -14
- data/app/models/faalis/user/mongoid_fields.rb +0 -1
- data/app/views/angularjs_templates/fields/datetime/datetime.html +7 -1
- data/app/views/angularjs_templates/fields/image/image.html +1 -1
- data/app/views/angularjs_templates/index.html +1 -6
- data/app/views/angularjs_templates/modules.html +1 -1
- data/app/views/devise/registrations/new.html.erb +5 -1
- data/app/views/devise/sessions/new.html.erb +17 -16
- data/app/views/devise/shared/_links.erb +8 -6
- data/app/views/layouts/faalis/application.html.erb +0 -4
- data/app/views/layouts/faalis/dashboard.html.erb +2 -2
- data/app/views/layouts/faalis/simple.html.erb +18 -20
- data/config/locales/fa/LC_MESSAGES/faalis.mo +0 -0
- data/config/locales/fa/faalis.edit.mo +0 -0
- data/config/locales/fa/faalis.edit.po +104 -0
- data/config/locales/fa/faalis.mo +0 -0
- data/config/locales/fa/faalis.po +29 -108
- data/{app/controllers/faalis/#1.sh# → config/locales/fa/faalis.po.time_stamp} +0 -0
- data/config/locales/faalis.pot +10 -88
- data/config/routes.rb +16 -3
- data/lib/faalis.rb +1 -0
- data/lib/faalis/discovery/permissions.rb +10 -3
- data/lib/faalis/engine.rb +21 -0
- data/lib/faalis/generators/concerns.rb +2 -0
- data/lib/faalis/generators/concerns/allow_query_on.rb +8 -12
- data/lib/faalis/generators/concerns/angular.rb +4 -5
- data/lib/faalis/generators/concerns/child.rb +31 -0
- data/lib/faalis/generators/concerns/fieldset.rb +2 -2
- data/lib/faalis/generators/concerns/globalize.rb +14 -0
- data/lib/faalis/generators/concerns/hstore.rb +19 -0
- data/lib/faalis/generators/concerns/model.rb +3 -3
- data/lib/faalis/generators/concerns/parent.rb +4 -6
- data/lib/faalis/generators/concerns/required.rb +2 -1
- data/lib/faalis/generators/concerns/resource_name.rb +1 -0
- data/lib/faalis/generators/concerns/tabs.rb +4 -7
- data/lib/faalis/generators/concerns/where.rb +1 -3
- data/lib/faalis/generators/dashboard_scaffold.rb +2 -0
- data/lib/faalis/generators/fields/#relation.rb# +61 -0
- data/lib/faalis/i18n.rb +6 -1
- data/lib/faalis/middlewares.rb +1 -0
- data/lib/faalis/middlewares/locale.rb +29 -0
- data/lib/faalis/route.rb +12 -19
- data/lib/faalis/version.rb +1 -1
- data/lib/generators/faalis/install_all_generator.rb +5 -3
- data/lib/generators/faalis/install_generator.rb +4 -0
- data/lib/generators/faalis/js/install_i18n_generator.rb +1 -1
- data/lib/generators/faalis/scaffold_generator.rb +72 -25
- data/lib/generators/faalis/templates/i18n/Gruntfile.js.erb +2 -2
- data/lib/generators/faalis/templates/i18n/fa.js +2 -2
- data/lib/generators/faalis/templates/js/list_view/details.html.erb +26 -3
- data/lib/generators/faalis/templates/views/create.json.jbuilder.erb +2 -1
- data/lib/generators/faalis/templates/views/index.json.jbuilder.erb +4 -2
- data/lib/generators/faalis/templates/views/show.json.jbuilder.erb +2 -1
- data/lib/generators/faalis/templates/views/update.json.jbuilder.erb +2 -1
- data/lib/tasks/faalis_tasks.rake +25 -27
- data/lib/tasks/grunt/Gruntfile.js +2 -2
- data/lib/tasks/sync.rake +3 -4
- metadata +43 -90
- data/app/assets/javascripts/faalis/dashboard/modules/list-view.js +0 -341
- data/app/assets/javascripts/faalis/dashboard/modules/modules.js +0 -75
- data/app/assets/javascripts/faalis/dashboard/modules/nav.js.erb +0 -78
- data/app/assets/stylesheets/faalis/base.css.scss +0 -334
- data/app/assets/stylesheets/faalis/dashboard/dashboard.css.scss +0 -246
- data/app/assets/stylesheets/faalis/dashboard/list_view.css.scss +0 -169
- data/app/assets/stylesheets/faalis/dashboard/ltr/application.css +0 -29
- data/app/assets/stylesheets/faalis/dashboard/ltr/base.css.scss.erb +0 -33
- data/app/assets/stylesheets/faalis/dashboard/ltr/buttons.css.scss.erb +0 -55
- data/app/assets/stylesheets/faalis/dashboard/ltr/direction.css.scss +0 -38
- data/app/assets/stylesheets/faalis/dashboard/ltr/foundation_and_overrides.css.scss +0 -1261
- data/app/assets/stylesheets/faalis/dashboard/ltr/time.css.scss +0 -58
- data/app/assets/stylesheets/faalis/dashboard/rtl/application.css +0 -27
- data/app/assets/stylesheets/faalis/dashboard/rtl/base.css.scss.erb +0 -35
- data/app/assets/stylesheets/faalis/dashboard/rtl/buttons.css.scss.erb +0 -45
- data/app/assets/stylesheets/faalis/dashboard/rtl/direction.css.scss +0 -37
- data/app/assets/stylesheets/faalis/dashboard/rtl/foundation_and_overrides.css.scss +0 -1264
- data/app/assets/stylesheets/faalis/dashboard/share/time.css.scss +0 -57
- data/app/assets/stylesheets/faalis/dashboard/sidebar.css.scss +0 -93
- data/app/assets/stylesheets/faalis/devise.css.scss +0 -34
- data/app/assets/stylesheets/faalis/groups.css +0 -4
- data/app/assets/stylesheets/faalis/home.css.scss +0 -14
- data/app/assets/stylesheets/faalis/ltr/application.css +0 -20
- data/app/assets/stylesheets/faalis/ltr/buttons.css.scss.erb +0 -45
- data/app/assets/stylesheets/faalis/ltr/foundation_and_overrides.scss +0 -1258
- data/app/assets/stylesheets/faalis/mixins.css.scss +0 -15
- data/app/assets/stylesheets/faalis/rtl/application.css +0 -20
- data/app/assets/stylesheets/faalis/rtl/buttons.css.scss.erb +0 -50
- data/app/assets/stylesheets/faalis/rtl/foundation_and_overrides.css.scss +0 -1264
- data/app/assets/stylesheets/faalis/users.css +0 -4
- data/app/assets/stylesheets/faalis/variables.css.scss +0 -102
- data/app/controllers/faalis/api/v1/workflows_controller.rb +0 -18
- data/app/views/angularjs_templates/list-view/index.html +0 -82
- data/app/views/faalis/api/v1/workflows/index.json.jbuilder +0 -5
- data/app/workflows/faalis/administration_workflow.rb +0 -7
- data/spec/dummy/log/development.log +0 -0
- data/spec/dummy/log/test.log +0 -15
- data/spec/dummy/tmp/ember-rails/ember-data.js +0 -10204
- data/spec/dummy/tmp/ember-rails/ember.js +0 -36991
- data/spec/factories/faalis_workflows.rb +0 -7
- data/spec/models/faalis/workflow_spec.rb +0 -7