faalis 0.18.1 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c6af04f0ddd2109f8688af7c8130368781645d83
4
- data.tar.gz: 816f4033c96f1c871b20ef85845bb7bc105afbac
3
+ metadata.gz: 96a221ac8ba2334be76518f59e2935c54e1f68e9
4
+ data.tar.gz: e4114d9aa9636432ac1df0553a68df1054900e58
5
5
  SHA512:
6
- metadata.gz: d5105668ea3683a077fe1b5492af48bbede58f11e9f938964b1976966561f2f1a829846dd3248cc8344f003558df8f0a644bf38e992415f4a9914ca928d1edfe
7
- data.tar.gz: 9a8797a854f7cdc93fcbc4d5da0e7a67c832c28bd52c3dbc207560453ee22ef3dc40b6c8d584c00240b69ac5450ab2fe86c76e6a043c9e2028feadf7154fd081
6
+ metadata.gz: 898ca6f74b5ba2bb6c3aaf28d425f9f1800683547a96a28258421ecef00a71b913a7ded913c881b0779c9fef2062ff72824c8191b6281b00fc9bd3a6f411e610
7
+ data.tar.gz: a85c348da16d744753756a9f6e2d8f3ae51546a122a92598c4c81d808ddfc70d7929830158e4b44f4259316ca79898831c62aed4c63429d1c8c478ace2f6199f
data/README.md CHANGED
@@ -42,4 +42,3 @@ For example (Only if you want to change default layout):
42
42
 
43
43
 
44
44
  [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/Yellowen/faalis/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
45
-
@@ -36,7 +36,11 @@ Relation.directive('relationField', ["$filter", "gettext", "Restangular", "catch
36
36
  };
37
37
 
38
38
  scope.update_collection = function(){
39
- API.all(scope.field.to).getList().then(function(data){
39
+ var list_object = API.all(scope.field.to);
40
+ if ("list_object" in scope.options) {
41
+ list_object = scope.options.list_object;
42
+ }
43
+ list_object.getList().then(function(data){
40
44
  scope.all_options = data;
41
45
  if (scope.collection !== undefined) {
42
46
  scope.collection = data;
@@ -73,6 +73,26 @@ Time_.directive('timeField', ["$filter", "gettext", function($filter, gettext){
73
73
  }
74
74
  };
75
75
 
76
+ /* Update model when interface values changed */
77
+ scope.update = function (value) {
78
+ if (value == 'hour'){
79
+ if (scope.hours <= 23) {
80
+ scope.model.set_hour = scope.hours;
81
+ }
82
+ else {
83
+ scope.hours = 0;
84
+ scope.model.set_hour = 0;
85
+ }
86
+ }
87
+ else{
88
+ //Check whether to reset
89
+ if(scope.minutes <= 59) {
90
+ scope.model.set_minute = scope.minutes;
91
+ }else {
92
+ scope.minutes = 0;
93
+ }
94
+ }
95
+ };
76
96
 
77
97
  /* Displays hours - what the user sees */
78
98
  scope.displayHours = function () {
@@ -40,6 +40,8 @@
40
40
 
41
41
  input{
42
42
  width:2.3em;
43
+ padding:0;
44
+ margin:0;
43
45
  }
44
46
  }
45
47
 
@@ -31,4 +31,5 @@ class Faalis::ApplicationController < ActionController::Base
31
31
  FastGettext.set_locale(lang.to_sym)
32
32
  session[:locale] = I18n.locale = lang
33
33
  end
34
+
34
35
  end
@@ -20,6 +20,9 @@ module Faalis
20
20
  end
21
21
 
22
22
  def index
23
+ if params.include? :signin
24
+ redirect_to dashboard_path
25
+ end
23
26
  @jstemplates_path = "/templates"
24
27
  end
25
28
 
@@ -4,7 +4,7 @@
4
4
  <i class="icon fa fa-caret-up"></i>
5
5
  </div>
6
6
  <div class="display">
7
- <input type="text" value="{{displayHours()}}">
7
+ <input type="text" ng-model="hours" ng-change="change('hour')">
8
8
  </div>
9
9
  <div class="decrease" ng-click="decreaseHours()">
10
10
  <i class="icon fa fa-caret-down"></i>
@@ -15,7 +15,7 @@
15
15
  <i class="icon fa fa-caret-up"></i>
16
16
  </div>
17
17
  <div class="display">
18
- <input type="text" value="{{displayMinutes()}}">
18
+ <input type="text" ng-model="minutes" ng-model-onblur ng-change="update('minute')">
19
19
  </div>
20
20
  <div class="decrease" ng-click="decreaseMinutes()">
21
21
  <i class="icon fa fa-caret-down">
@@ -1,14 +1,14 @@
1
1
  <div>
2
2
 
3
- <select ui-select2="options" id="{{ element_id }}" ng-model="model" data-placeholder="asda asdasdasd" name="{{ field.name }}" ng-required="required" ng-if="field.type === 'belongs_to'" ng-change="on_select_change()">
3
+ <select ui-select2="options" id="{{ element_id }}" ng-model="model" data-placeholder="{{ placeholder }}" name="{{ field.name }}" ng-required="required" ng-if="field.type === 'belongs_to'" ng-change="on_select_change()">
4
4
  <option ng-repeat="item in all_options" value="{{ item.id }}" title="{{ item[titleField] || item }}" ng-selected="item.id === model.id">{{ item[titleField] || item }}</option>
5
5
  </select>
6
6
 
7
- <select ui-select2="options" id="{{ element_id }}" ng-model="model" data-placeholder="dfsd{{ placeholder }}" name="{{ field.name }}" ng-required="required" multiple ng-if="field.type === 'has_many'" ng-change="on_select_change()">
7
+ <select ui-select2="options" id="{{ element_id }}" ng-model="model" data-placeholder="{{ placeholder }}" name="{{ field.name }}" ng-required="required" multiple ng-if="field.type === 'has_many'" ng-change="on_select_change()">
8
8
  <option ng-repeat="item in all_options" value="{{ item.id }}" title="{{ item[titleField] || item }}" ng-selected="have(item.id)">{{ item[titleField] || item }}</option>
9
9
  </select>
10
10
 
11
- <select ui-select2="options" id="{{ element_id }}" ng-model="model" name="{{ field.name }}" data-placeholder="sdf {{ placeholder }}" ng-required="required" ng-if="field.type === 'in'" ng-change="on_select_change()">
11
+ <select ui-select2="options" id="{{ element_id }}" ng-model="model" name="{{ field.name }}" data-placeholder="{{ placeholder }}" ng-required="required" ng-if="field.type === 'in'" ng-change="on_select_change()">
12
12
  <option ng-repeat="item in field.choices" value="{{ item.name }}" title="{{ item.title }}" ng-selected="model === item.name">{{ item.title }}</option>
13
13
  </select>
14
14
 
@@ -1,5 +1,5 @@
1
1
  <br /><br /><br />
2
2
  <div class="row"><div class="small-8 columns small-offset-2 text-center">
3
3
  <h4><%= _("You need to login to use dashboard.") %></h4>
4
- <a href="/users/sign_in" class="btn medium blue"> <i class="fa fa-sign-in"></i> <%= _("Sign in")%></a>
4
+ <a href="/<%= Faalis::Engine.dashboard_namespace %>/?signin" class="btn medium blue"> <i class="fa fa-sign-in"></i> <%= _("Sign in")%></a>
5
5
  </div></div>
data/lib/faalis/engine.rb CHANGED
@@ -19,7 +19,8 @@
19
19
  require 'fast_gettext'
20
20
  require 'modernizr-rails'
21
21
  require "compass-rails"
22
- require 'zurb-foundation'
22
+ #require 'zurb-foundation'
23
+ require 'foundation-rails'
23
24
  require "font-awesome-rails"
24
25
  require "devise"
25
26
  require "warden"
@@ -9,7 +9,8 @@ module Faalis
9
9
  def self.included(base)
10
10
  # An array of resource fields. fields should be separated by space
11
11
  # each filed should be in this format `field_name:field_type[:extra_info]
12
- base.argument :resource_fields, type: :array, default: [], banner: "fields[:types]"
12
+ # Relation options should be like `{key: value, key2: elem1;elem2, key3: value3}`
13
+ base.argument :resource_fields, type: :array, default: [], banner: "fields[:types[:to[{relation_options}]"
13
14
 
14
15
  end
15
16
 
@@ -17,11 +18,22 @@ module Faalis
17
18
  # An array of fields like
18
19
  # [name, type]
19
20
  def fields
21
+ pattern = /(?<name>[^:\{\}]+):(?<type>[^:\{\}]+)[:]?(?:(?<to>[^:\{\}]+)(?:\{(?<options>.+)\})*)*/i
20
22
  fields = []
21
23
  resource_fields.each do |field|
22
- name, type, to = field.split(":")
24
+ matched = pattern.match field
25
+ name = type = to = options = ""
26
+ if matched
27
+ name = matched["name"]
28
+ type = matched["type"]
29
+ to = matched["to"]
30
+ options = matched["options"] || ""
31
+ else
32
+ raise Exception.new "Fields should be in FIELD_NAME:FIELD_TYPE[:RELATION[{OPTIONS}]]"
33
+ end
34
+
23
35
  if ["belongs_to", "has_many", "in"].include? type
24
- type = Relation.new(type, to)
36
+ type = Relation.new(type, to, options)
25
37
  end
26
38
 
27
39
  fields << [name, type]
@@ -39,7 +51,7 @@ module Faalis
39
51
 
40
52
  # Return an string to use as a function parameters each
41
53
  # field appears as symbol
42
- def fields_as_params(relations: false)
54
+ def fields_as_params(relations = false)
43
55
  result = ""
44
56
  field_num = 0
45
57
  fields.each do |name, type|
@@ -3,17 +3,50 @@ module Faalis
3
3
  class Relation < String
4
4
  attr_accessor :to
5
5
 
6
- def initialize(value, to_)
6
+ def initialize(value, to, options = "")
7
7
  super(value)
8
- self.to = to_
8
+ @options = options
9
+ @to = to
9
10
  end
10
11
 
11
12
  def resource_name
12
13
  to.split("/").last
13
14
  end
14
15
 
16
+ def to
17
+ result = "'"
18
+ if options.include? "parents"
19
+ field_parents.each do |parent|
20
+ result = "#{result}/#{parent}/' + $scope.#{parent}_id + '"
21
+ end
22
+ result = "#{result}/"
23
+ end
24
+ "#{result}#{@to}'"
25
+ end
26
+
27
+ def options
28
+ unless @options.empty?
29
+ Hash[@options.split(',').map {|pair| pair.strip.split(':').map(&:strip) }]
30
+ else
31
+ {}
32
+ end
33
+ end
34
+
35
+ def field_parents
36
+ if options.include? "parents"
37
+ options["parents"].split(";")
38
+ else
39
+ []
40
+ end
41
+ end
42
+
15
43
  def restangular
16
44
  result = "API"
45
+ if options.include? "parents"
46
+ field_parents.each do |parent|
47
+ result = "#{result}.one('#{parent}', #{}_id)"
48
+ end
49
+ end
17
50
  to.split("/").each do |resource|
18
51
  result = "#{result}.all(\"#{resource}\")"
19
52
  end
@@ -18,5 +18,5 @@
18
18
  # -----------------------------------------------------------------------------
19
19
 
20
20
  module Faalis
21
- VERSION = "0.18.1"
21
+ VERSION = "0.19.0"
22
22
  end
@@ -246,7 +246,7 @@ var <%= resource.pluralize %> = angular.module("<%= resource %>", ["ListView", "
246
246
  $scope.<%= name %>_data = {
247
247
  type: '<%= type %>',<% if type == "in" %>
248
248
  choices: _.sortBy([<% type.to.split(",").each do |choice| %>{name: "<%= choice.underscore %>", title: "<%= choice.humanize %>"},<% end %>]),<% else %>
249
- to: '<%= type.to %>',<% end %>
249
+ to: <%= type.to %>,<% end %>
250
250
  name: '<%= name %>'
251
251
  };<% end %><% end %>
252
252
  <% fields.each do |name, type| %><% if type == "in" %>$scope.<%= name %>_choices = _.sortBy([<% type.to.split(",").each do |choice| %>
@@ -27,6 +27,8 @@ module Faalis
27
27
  def copy_views_file
28
28
  directory "views/faalis", "app/views/faalis"
29
29
  directory "views/layouts/faalis", "app/views/layouts/faalis"
30
+ directory "views/angularjs_templates", "app/views/layouts/faalis"
31
+
30
32
  end
31
33
 
32
34
  def copy_assets_file
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.18.1
4
+ version: 0.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sameer Rahmani
@@ -9,328 +9,328 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-06 00:00:00.000000000 Z
12
+ date: 2014-03-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '>='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: 4.0.0
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
27
  version: 4.0.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: omniauth
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '>='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: '0'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - '>='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: devise
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - '>='
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
48
  version: 3.0.0
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - '>='
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: 3.0.0
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: cancan
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - '>='
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: mailboxer
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - '>='
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: jbuilder
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - '>='
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - '>='
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: jquery-rails
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - '>='
102
+ - - ">="
103
103
  - !ruby/object:Gem::Version
104
104
  version: '0'
105
105
  type: :runtime
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - '>='
109
+ - - ">="
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: sass-rails
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - '>='
116
+ - - ">="
117
117
  - !ruby/object:Gem::Version
118
118
  version: 4.0.0
119
119
  type: :runtime
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - '>='
123
+ - - ">="
124
124
  - !ruby/object:Gem::Version
125
125
  version: 4.0.0
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: compass-rails
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - '>='
130
+ - - ">="
131
131
  - !ruby/object:Gem::Version
132
132
  version: '0'
133
133
  type: :runtime
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
- - - '>='
137
+ - - ">="
138
138
  - !ruby/object:Gem::Version
139
139
  version: '0'
140
140
  - !ruby/object:Gem::Dependency
141
- name: zurb-foundation
141
+ name: foundation-rails
142
142
  requirement: !ruby/object:Gem::Requirement
143
143
  requirements:
144
- - - ~>
144
+ - - ">="
145
145
  - !ruby/object:Gem::Version
146
- version: 4.0.0
146
+ version: '0'
147
147
  type: :runtime
148
148
  prerelease: false
149
149
  version_requirements: !ruby/object:Gem::Requirement
150
150
  requirements:
151
- - - ~>
151
+ - - ">="
152
152
  - !ruby/object:Gem::Version
153
- version: 4.0.0
153
+ version: '0'
154
154
  - !ruby/object:Gem::Dependency
155
155
  name: font-awesome-rails
156
156
  requirement: !ruby/object:Gem::Requirement
157
157
  requirements:
158
- - - '>='
158
+ - - ">="
159
159
  - !ruby/object:Gem::Version
160
160
  version: '0'
161
161
  type: :runtime
162
162
  prerelease: false
163
163
  version_requirements: !ruby/object:Gem::Requirement
164
164
  requirements:
165
- - - '>='
165
+ - - ">="
166
166
  - !ruby/object:Gem::Version
167
167
  version: '0'
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: modernizr-rails
170
170
  requirement: !ruby/object:Gem::Requirement
171
171
  requirements:
172
- - - '>='
172
+ - - ">="
173
173
  - !ruby/object:Gem::Version
174
174
  version: '0'
175
175
  type: :runtime
176
176
  prerelease: false
177
177
  version_requirements: !ruby/object:Gem::Requirement
178
178
  requirements:
179
- - - '>='
179
+ - - ">="
180
180
  - !ruby/object:Gem::Version
181
181
  version: '0'
182
182
  - !ruby/object:Gem::Dependency
183
183
  name: execjs
184
184
  requirement: !ruby/object:Gem::Requirement
185
185
  requirements:
186
- - - '>='
186
+ - - ">="
187
187
  - !ruby/object:Gem::Version
188
188
  version: '0'
189
189
  type: :development
190
190
  prerelease: false
191
191
  version_requirements: !ruby/object:Gem::Requirement
192
192
  requirements:
193
- - - '>='
193
+ - - ">="
194
194
  - !ruby/object:Gem::Version
195
195
  version: '0'
196
196
  - !ruby/object:Gem::Dependency
197
197
  name: fast_gettext
198
198
  requirement: !ruby/object:Gem::Requirement
199
199
  requirements:
200
- - - '>='
200
+ - - ">="
201
201
  - !ruby/object:Gem::Version
202
202
  version: '0'
203
203
  type: :runtime
204
204
  prerelease: false
205
205
  version_requirements: !ruby/object:Gem::Requirement
206
206
  requirements:
207
- - - '>='
207
+ - - ">="
208
208
  - !ruby/object:Gem::Version
209
209
  version: '0'
210
210
  - !ruby/object:Gem::Dependency
211
211
  name: gettext
212
212
  requirement: !ruby/object:Gem::Requirement
213
213
  requirements:
214
- - - '>='
214
+ - - ">="
215
215
  - !ruby/object:Gem::Version
216
216
  version: '0'
217
217
  type: :development
218
218
  prerelease: false
219
219
  version_requirements: !ruby/object:Gem::Requirement
220
220
  requirements:
221
- - - '>='
221
+ - - ">="
222
222
  - !ruby/object:Gem::Version
223
223
  version: '0'
224
224
  - !ruby/object:Gem::Dependency
225
225
  name: gettext_i18n_rails
226
226
  requirement: !ruby/object:Gem::Requirement
227
227
  requirements:
228
- - - '>='
228
+ - - ">="
229
229
  - !ruby/object:Gem::Version
230
230
  version: '0'
231
231
  type: :runtime
232
232
  prerelease: false
233
233
  version_requirements: !ruby/object:Gem::Requirement
234
234
  requirements:
235
- - - '>='
235
+ - - ">="
236
236
  - !ruby/object:Gem::Version
237
237
  version: '0'
238
238
  - !ruby/object:Gem::Dependency
239
239
  name: model_discovery
240
240
  requirement: !ruby/object:Gem::Requirement
241
241
  requirements:
242
- - - ~>
242
+ - - "~>"
243
243
  - !ruby/object:Gem::Version
244
244
  version: 0.2.3
245
245
  type: :runtime
246
246
  prerelease: false
247
247
  version_requirements: !ruby/object:Gem::Requirement
248
248
  requirements:
249
- - - ~>
249
+ - - "~>"
250
250
  - !ruby/object:Gem::Version
251
251
  version: 0.2.3
252
252
  - !ruby/object:Gem::Dependency
253
253
  name: sqlite3
254
254
  requirement: !ruby/object:Gem::Requirement
255
255
  requirements:
256
- - - '>='
256
+ - - ">="
257
257
  - !ruby/object:Gem::Version
258
258
  version: '0'
259
259
  type: :development
260
260
  prerelease: false
261
261
  version_requirements: !ruby/object:Gem::Requirement
262
262
  requirements:
263
- - - '>='
263
+ - - ">="
264
264
  - !ruby/object:Gem::Version
265
265
  version: '0'
266
266
  - !ruby/object:Gem::Dependency
267
267
  name: ruby_parser
268
268
  requirement: !ruby/object:Gem::Requirement
269
269
  requirements:
270
- - - '>='
270
+ - - ">="
271
271
  - !ruby/object:Gem::Version
272
272
  version: '0'
273
273
  type: :development
274
274
  prerelease: false
275
275
  version_requirements: !ruby/object:Gem::Requirement
276
276
  requirements:
277
- - - '>='
277
+ - - ">="
278
278
  - !ruby/object:Gem::Version
279
279
  version: '0'
280
280
  - !ruby/object:Gem::Dependency
281
281
  name: rdoc
282
282
  requirement: !ruby/object:Gem::Requirement
283
283
  requirements:
284
- - - '>='
284
+ - - ">="
285
285
  - !ruby/object:Gem::Version
286
286
  version: '0'
287
287
  type: :development
288
288
  prerelease: false
289
289
  version_requirements: !ruby/object:Gem::Requirement
290
290
  requirements:
291
- - - '>='
291
+ - - ">="
292
292
  - !ruby/object:Gem::Version
293
293
  version: '0'
294
294
  - !ruby/object:Gem::Dependency
295
295
  name: rspec-rails
296
296
  requirement: !ruby/object:Gem::Requirement
297
297
  requirements:
298
- - - ~>
298
+ - - "~>"
299
299
  - !ruby/object:Gem::Version
300
300
  version: 3.0.0.beta
301
301
  type: :development
302
302
  prerelease: false
303
303
  version_requirements: !ruby/object:Gem::Requirement
304
304
  requirements:
305
- - - ~>
305
+ - - "~>"
306
306
  - !ruby/object:Gem::Version
307
307
  version: 3.0.0.beta
308
308
  - !ruby/object:Gem::Dependency
309
309
  name: capybara
310
310
  requirement: !ruby/object:Gem::Requirement
311
311
  requirements:
312
- - - '>='
312
+ - - ">="
313
313
  - !ruby/object:Gem::Version
314
314
  version: '0'
315
315
  type: :development
316
316
  prerelease: false
317
317
  version_requirements: !ruby/object:Gem::Requirement
318
318
  requirements:
319
- - - '>='
319
+ - - ">="
320
320
  - !ruby/object:Gem::Version
321
321
  version: '0'
322
322
  - !ruby/object:Gem::Dependency
323
323
  name: factory_girl_rails
324
324
  requirement: !ruby/object:Gem::Requirement
325
325
  requirements:
326
- - - '>='
326
+ - - ">="
327
327
  - !ruby/object:Gem::Version
328
328
  version: '0'
329
329
  type: :development
330
330
  prerelease: false
331
331
  version_requirements: !ruby/object:Gem::Requirement
332
332
  requirements:
333
- - - '>='
333
+ - - ">="
334
334
  - !ruby/object:Gem::Version
335
335
  version: '0'
336
336
  description: Faalis is a ruby on rails engine which provides a very basic web application
@@ -342,354 +342,354 @@ executables: []
342
342
  extensions: []
343
343
  extra_rdoc_files: []
344
344
  files:
345
- - app/models/ability.rb
346
- - app/models/faalis/group.rb
347
- - app/models/faalis/user.rb
348
- - app/models/faalis/permission.rb
349
- - app/models/faalis/permissions/auth.rb
350
- - app/views/devise/unlocks/new.html.erb
351
- - app/views/devise/sessions/new.html.erb
352
- - app/views/devise/confirmations/new.html.erb
353
- - app/views/devise/registrations/edit.html.erb
354
- - app/views/devise/registrations/new.html.erb
355
- - app/views/devise/shared/_links.erb
356
- - app/views/devise/passwords/edit.html.erb
357
- - app/views/devise/passwords/new.html.erb
358
- - app/views/devise/mailer/confirmation_instructions.html.erb
359
- - app/views/devise/mailer/reset_password_instructions.html.erb
360
- - app/views/devise/mailer/unlock_instructions.html.erb
361
- - app/views/angularjs_templates/list-view/index.html
362
- - app/views/angularjs_templates/filter/index.html
363
- - app/views/angularjs_templates/modules.html
364
- - app/views/angularjs_templates/auth/users/new.html
365
- - app/views/angularjs_templates/auth/users/index.html
366
- - app/views/angularjs_templates/auth/users/details.html
367
- - app/views/angularjs_templates/auth/index.html
368
- - app/views/angularjs_templates/auth/groups/new.html
369
- - app/views/angularjs_templates/auth/groups/index.html
370
- - app/views/angularjs_templates/auth/groups/details.html
371
- - app/views/angularjs_templates/auth/profile/edit.html
372
- - app/views/angularjs_templates/conversations/new.html
373
- - app/views/angularjs_templates/conversations/show_details.html
374
- - app/views/angularjs_templates/conversations/index.html
375
- - app/views/angularjs_templates/conversations/show.html
376
- - app/views/angularjs_templates/conversations/details.html
377
- - app/views/angularjs_templates/index.html
378
- - app/views/angularjs_templates/locale/fa.po
379
- - app/views/angularjs_templates/locale/templates.pot
380
- - app/views/angularjs_templates/logs/index.html
381
- - app/views/angularjs_templates/fields/boolean/boolean.html
382
- - app/views/angularjs_templates/fields/string/string.html
383
- - app/views/angularjs_templates/fields/integer/integer.html
384
- - app/views/angularjs_templates/fields/text/text.html
385
- - app/views/angularjs_templates/fields/float/float.html
386
- - app/views/angularjs_templates/fields/relation/relation.html
387
- - app/views/angularjs_templates/fields/control-combo/control-list.html
388
- - app/views/angularjs_templates/fields/datetime/datetime.html
389
- - app/views/angularjs_templates/fields/datetime/time.html
390
- - app/views/angularjs_templates/nav.html.erb
391
- - app/views/layouts/faalis/application.html.erb
392
- - app/views/layouts/faalis/dashboard.html.erb
393
- - app/views/faalis/relations/_belongs_to.json.jbuilder
394
- - app/views/faalis/home/index.html.erb
395
- - app/views/faalis/dashboard/index.html.erb
396
- - app/views/faalis/dashboard/login_required_page.html.erb
397
- - app/views/faalis/api/v1/permissions/user_permissions.json.jbuilder
398
- - app/views/faalis/api/v1/permissions/index.json.jbuilder
399
- - app/views/faalis/api/v1/conversations/show.json.jbuilder
400
- - app/views/faalis/api/v1/conversations/trash.json.jbuilder
401
- - app/views/faalis/api/v1/conversations/destroy.json.jbuilder
402
- - app/views/faalis/api/v1/conversations/create.json.jbuilder
403
- - app/views/faalis/api/v1/conversations/reply.json.jbuilder
404
- - app/views/faalis/api/v1/conversations/index.json.jbuilder
405
- - app/views/faalis/api/v1/users/show.json.jbuilder
406
- - app/views/faalis/api/v1/users/show.html.erb
407
- - app/views/faalis/api/v1/users/edit.html.erb
408
- - app/views/faalis/api/v1/users/index.html.erb
409
- - app/views/faalis/api/v1/users/destroy.json.jbuilder
410
- - app/views/faalis/api/v1/users/create.json.jbuilder
411
- - app/views/faalis/api/v1/users/update.json.jbuilder
412
- - app/views/faalis/api/v1/users/create.html.erb
413
- - app/views/faalis/api/v1/users/distroy.html.erb
414
- - app/views/faalis/api/v1/users/index.json.jbuilder
415
- - app/views/faalis/api/v1/logs/index.json.jbuilder
416
- - app/views/faalis/api/v1/groups/show.json.jbuilder
417
- - app/views/faalis/api/v1/groups/show.html.erb
418
- - app/views/faalis/api/v1/groups/edit.html.erb
419
- - app/views/faalis/api/v1/groups/destroy.html.erb
420
- - app/views/faalis/api/v1/groups/index.html.erb
421
- - app/views/faalis/api/v1/groups/destroy.json.jbuilder
422
- - app/views/faalis/api/v1/groups/create.json.jbuilder
423
- - app/views/faalis/api/v1/groups/update.json.jbuilder
424
- - app/views/faalis/api/v1/groups/index.json.jbuilder
425
- - app/views/faalis/api/v1/groups/new.html.erb
345
+ - LICENSE
346
+ - README.md
347
+ - Rakefile
348
+ - app/assets/fonts/DroidNaskh-Bold.ttf
349
+ - app/assets/fonts/DroidNaskh-Regular.ttf
350
+ - app/assets/fonts/OpenSans-Bold.ttf
351
+ - app/assets/fonts/OpenSans-BoldItalic.ttf
352
+ - app/assets/fonts/OpenSans-ExtraBold.ttf
353
+ - app/assets/fonts/OpenSans-ExtraBoldItalic.ttf
354
+ - app/assets/fonts/OpenSans-Italic.ttf
355
+ - app/assets/fonts/OpenSans-Light.ttf
356
+ - app/assets/fonts/OpenSans-LightItalic.ttf
357
+ - app/assets/fonts/OpenSans-Regular.ttf
358
+ - app/assets/fonts/OpenSans-Semibold.ttf
359
+ - app/assets/fonts/OpenSans-SemiboldItalic.ttf
426
360
  - app/assets/images/faalis/select2-spinner.gif
427
361
  - app/assets/images/faalis/select2.png
428
362
  - app/assets/images/faalis/select2x2.png
429
- - app/assets/javascripts/faalis/home.js
430
363
  - app/assets/javascripts/faalis/application.js
431
- - app/assets/javascripts/faalis/groups.js
432
- - app/assets/javascripts/faalis/users.js
433
- - app/assets/javascripts/faalis/locale/fa.json
434
- - app/assets/javascripts/faalis/locale/en.json
435
- - app/assets/javascripts/faalis/i18n.js
436
364
  - app/assets/javascripts/faalis/dashboard/angular.js
437
365
  - app/assets/javascripts/faalis/dashboard/app.js
438
- - app/assets/javascripts/faalis/dashboard/init.js
439
- - app/assets/javascripts/faalis/dashboard/objects.js
440
- - app/assets/javascripts/faalis/dashboard/variables.js.erb
441
- - app/assets/javascripts/faalis/dashboard/templates/modules.handlebars.erb
442
- - app/assets/javascripts/faalis/dashboard/templates/components/list-view.handlebars.erb
443
- - app/assets/javascripts/faalis/dashboard/templates/components/model-form.handlebars.erb
444
- - app/assets/javascripts/faalis/dashboard/templates/navigation.handlebars.erb
445
- - app/assets/javascripts/faalis/dashboard/templates/application.handlebars.erb
446
- - app/assets/javascripts/faalis/dashboard/templates/auth/users/details.handlebars.erb
447
- - app/assets/javascripts/faalis/dashboard/templates/auth/users/new.handlebars.erb
448
- - app/assets/javascripts/faalis/dashboard/templates/auth/users/index.handlebars.erb
449
- - app/assets/javascripts/faalis/dashboard/templates/auth/groups/details.handlebars.erb
450
- - app/assets/javascripts/faalis/dashboard/templates/auth/groups/new.handlebars.erb
451
- - app/assets/javascripts/faalis/dashboard/templates/auth/groups/index.handlebars.erb
452
- - app/assets/javascripts/faalis/dashboard/templates/auth/index.handlebars.erb
453
- - app/assets/javascripts/faalis/dashboard/templates/widgets.handlebars
366
+ - app/assets/javascripts/faalis/dashboard/application.js.erb
367
+ - app/assets/javascripts/faalis/dashboard/functions.js.erb
454
368
  - app/assets/javascripts/faalis/dashboard/gen-doc.sh~
369
+ - app/assets/javascripts/faalis/dashboard/init.js
370
+ - app/assets/javascripts/faalis/dashboard/lib/angular-animate.js
371
+ - app/assets/javascripts/faalis/dashboard/lib/angular-gettext.js
372
+ - app/assets/javascripts/faalis/dashboard/lib/angular-resource.js
373
+ - app/assets/javascripts/faalis/dashboard/lib/angular-route.js
374
+ - app/assets/javascripts/faalis/dashboard/lib/angular.js
375
+ - app/assets/javascripts/faalis/dashboard/lib/lodash.underscore.js
376
+ - app/assets/javascripts/faalis/dashboard/lib/ng-grid.js
377
+ - app/assets/javascripts/faalis/dashboard/lib/ng-quick-date.js
378
+ - app/assets/javascripts/faalis/dashboard/lib/restangular.js
379
+ - app/assets/javascripts/faalis/dashboard/lib/select2.js
380
+ - app/assets/javascripts/faalis/dashboard/lib/ui.select2.js
455
381
  - app/assets/javascripts/faalis/dashboard/locale/translations.js
456
- - app/assets/javascripts/faalis/dashboard/modules/nav.js.erb
457
382
  - app/assets/javascripts/faalis/dashboard/modules/anim.js
458
- - app/assets/javascripts/faalis/dashboard/modules/list-view.js
383
+ - app/assets/javascripts/faalis/dashboard/modules/api.js
459
384
  - app/assets/javascripts/faalis/dashboard/modules/auth/auth.js
460
- - app/assets/javascripts/faalis/dashboard/modules/auth/profile.js
461
385
  - app/assets/javascripts/faalis/dashboard/modules/auth/group.js
386
+ - app/assets/javascripts/faalis/dashboard/modules/auth/profile.js
462
387
  - app/assets/javascripts/faalis/dashboard/modules/auth/user.js
463
- - app/assets/javascripts/faalis/dashboard/modules/api.js
464
- - app/assets/javascripts/faalis/dashboard/modules/modules.js
465
388
  - app/assets/javascripts/faalis/dashboard/modules/conversations.js
466
- - app/assets/javascripts/faalis/dashboard/modules/filter.js
467
- - app/assets/javascripts/faalis/dashboard/modules/logs.js
468
- - app/assets/javascripts/faalis/dashboard/modules/permissions.js
389
+ - app/assets/javascripts/faalis/dashboard/modules/errors.js
390
+ - app/assets/javascripts/faalis/dashboard/modules/fields/boolean.js
391
+ - app/assets/javascripts/faalis/dashboard/modules/fields/controlcombo-field.js
392
+ - app/assets/javascripts/faalis/dashboard/modules/fields/datetime.js
393
+ - app/assets/javascripts/faalis/dashboard/modules/fields/fields.js
394
+ - app/assets/javascripts/faalis/dashboard/modules/fields/float.js
469
395
  - app/assets/javascripts/faalis/dashboard/modules/fields/input-grid.js
470
396
  - app/assets/javascripts/faalis/dashboard/modules/fields/input-list.js
397
+ - app/assets/javascripts/faalis/dashboard/modules/fields/integer.js
471
398
  - app/assets/javascripts/faalis/dashboard/modules/fields/relation.js
472
- - app/assets/javascripts/faalis/dashboard/modules/fields/datetime.js
473
- - app/assets/javascripts/faalis/dashboard/modules/fields/time.js
474
- - app/assets/javascripts/faalis/dashboard/modules/fields/controlcombo-field.js
475
399
  - app/assets/javascripts/faalis/dashboard/modules/fields/string.js
476
- - app/assets/javascripts/faalis/dashboard/modules/fields/float.js
477
- - app/assets/javascripts/faalis/dashboard/modules/fields/boolean.js
478
- - app/assets/javascripts/faalis/dashboard/modules/fields/fields.js
479
- - app/assets/javascripts/faalis/dashboard/modules/fields/integer.js
480
400
  - app/assets/javascripts/faalis/dashboard/modules/fields/text.js
481
- - app/assets/javascripts/faalis/dashboard/modules/errors.js
482
- - app/assets/javascripts/faalis/dashboard/functions.js.erb
483
- - app/assets/javascripts/faalis/dashboard/application.js.erb
484
- - app/assets/javascripts/faalis/dashboard/lib/angular.js
485
- - app/assets/javascripts/faalis/dashboard/lib/select2.js
486
- - app/assets/javascripts/faalis/dashboard/lib/ng-quick-date.js
487
- - app/assets/javascripts/faalis/dashboard/lib/ng-grid.js
488
- - app/assets/javascripts/faalis/dashboard/lib/angular-resource.js
489
- - app/assets/javascripts/faalis/dashboard/lib/angular-route.js
490
- - app/assets/javascripts/faalis/dashboard/lib/angular-animate.js
491
- - app/assets/javascripts/faalis/dashboard/lib/angular-gettext.js
492
- - app/assets/javascripts/faalis/dashboard/lib/lodash.underscore.js
493
- - app/assets/javascripts/faalis/dashboard/lib/restangular.js
494
- - app/assets/javascripts/faalis/dashboard/lib/ui.select2.js
495
- - app/assets/stylesheets/faalis/groups.css
496
- - app/assets/stylesheets/faalis/home.css.scss
497
- - app/assets/stylesheets/faalis/devise.css.scss
498
- - app/assets/stylesheets/faalis/users.css
401
+ - app/assets/javascripts/faalis/dashboard/modules/fields/time.js
402
+ - app/assets/javascripts/faalis/dashboard/modules/filter.js
403
+ - app/assets/javascripts/faalis/dashboard/modules/list-view.js
404
+ - app/assets/javascripts/faalis/dashboard/modules/logs.js
405
+ - app/assets/javascripts/faalis/dashboard/modules/modules.js
406
+ - app/assets/javascripts/faalis/dashboard/modules/nav.js.erb
407
+ - app/assets/javascripts/faalis/dashboard/modules/permissions.js
408
+ - app/assets/javascripts/faalis/dashboard/objects.js
409
+ - app/assets/javascripts/faalis/dashboard/templates/application.handlebars.erb
410
+ - app/assets/javascripts/faalis/dashboard/templates/auth/groups/details.handlebars.erb
411
+ - app/assets/javascripts/faalis/dashboard/templates/auth/groups/index.handlebars.erb
412
+ - app/assets/javascripts/faalis/dashboard/templates/auth/groups/new.handlebars.erb
413
+ - app/assets/javascripts/faalis/dashboard/templates/auth/index.handlebars.erb
414
+ - app/assets/javascripts/faalis/dashboard/templates/auth/users/details.handlebars.erb
415
+ - app/assets/javascripts/faalis/dashboard/templates/auth/users/index.handlebars.erb
416
+ - app/assets/javascripts/faalis/dashboard/templates/auth/users/new.handlebars.erb
417
+ - app/assets/javascripts/faalis/dashboard/templates/components/list-view.handlebars.erb
418
+ - app/assets/javascripts/faalis/dashboard/templates/components/model-form.handlebars.erb
419
+ - app/assets/javascripts/faalis/dashboard/templates/modules.handlebars.erb
420
+ - app/assets/javascripts/faalis/dashboard/templates/navigation.handlebars.erb
421
+ - app/assets/javascripts/faalis/dashboard/templates/widgets.handlebars
422
+ - app/assets/javascripts/faalis/dashboard/variables.js.erb
423
+ - app/assets/javascripts/faalis/groups.js
424
+ - app/assets/javascripts/faalis/home.js
425
+ - app/assets/javascripts/faalis/i18n.js
426
+ - app/assets/javascripts/faalis/locale/en.json
427
+ - app/assets/javascripts/faalis/locale/fa.json
428
+ - app/assets/javascripts/faalis/users.js
499
429
  - app/assets/stylesheets/faalis/base.css.scss
500
- - app/assets/stylesheets/faalis/variables.css.scss
501
- - app/assets/stylesheets/faalis/ltr/foundation_and_overrides.scss.erb
502
- - app/assets/stylesheets/faalis/ltr/buttons.css.scss.erb
503
- - app/assets/stylesheets/faalis/ltr/application.css
504
- - app/assets/stylesheets/faalis/mixins.css.scss
505
- - app/assets/stylesheets/faalis/dashboard/list_view.css.scss
506
- - app/assets/stylesheets/faalis/dashboard/share/time.css.scss
507
430
  - app/assets/stylesheets/faalis/dashboard/dashboard.css.scss
508
- - app/assets/stylesheets/faalis/dashboard/select2.css.scss.erb
509
- - app/assets/stylesheets/faalis/dashboard/ng-quick-date.css.scss
510
- - app/assets/stylesheets/faalis/dashboard/ng-grid.css.scss
511
- - app/assets/stylesheets/faalis/dashboard/ltr/time.css.scss
431
+ - app/assets/stylesheets/faalis/dashboard/list_view.css.scss
432
+ - app/assets/stylesheets/faalis/dashboard/ltr/application.css
433
+ - app/assets/stylesheets/faalis/dashboard/ltr/base.css.scss.erb
512
434
  - app/assets/stylesheets/faalis/dashboard/ltr/buttons.css.scss.erb
513
435
  - app/assets/stylesheets/faalis/dashboard/ltr/direction.css.scss
514
436
  - app/assets/stylesheets/faalis/dashboard/ltr/foundation_and_overrides.css.scss
437
+ - app/assets/stylesheets/faalis/dashboard/ltr/time.css.scss
515
438
  - app/assets/stylesheets/faalis/dashboard/ltr/time.css_flymake.scss
516
- - app/assets/stylesheets/faalis/dashboard/ltr/application.css
517
- - app/assets/stylesheets/faalis/dashboard/ltr/base.css.scss.erb
439
+ - app/assets/stylesheets/faalis/dashboard/ng-grid.css.scss
518
440
  - app/assets/stylesheets/faalis/dashboard/ng-quick-date-default-theme.css.scss
441
+ - app/assets/stylesheets/faalis/dashboard/ng-quick-date.css.scss
442
+ - app/assets/stylesheets/faalis/dashboard/rtl/application.css
443
+ - app/assets/stylesheets/faalis/dashboard/rtl/base.css.scss.erb
519
444
  - app/assets/stylesheets/faalis/dashboard/rtl/base.css_flymake.scss
520
445
  - app/assets/stylesheets/faalis/dashboard/rtl/buttons.css.scss.erb
521
446
  - app/assets/stylesheets/faalis/dashboard/rtl/direction.css.scss
522
447
  - app/assets/stylesheets/faalis/dashboard/rtl/foundation_and_overrides.css.scss
523
- - app/assets/stylesheets/faalis/dashboard/rtl/application.css
524
- - app/assets/stylesheets/faalis/dashboard/rtl/base.css.scss.erb
448
+ - app/assets/stylesheets/faalis/dashboard/select2.css.scss.erb
449
+ - app/assets/stylesheets/faalis/dashboard/share/time.css.scss
525
450
  - app/assets/stylesheets/faalis/dashboard/sidebar.css.scss
526
- - app/assets/stylesheets/faalis/rtl/foundation_and_overrides.scss.erb
527
- - app/assets/stylesheets/faalis/rtl/buttons.css.scss.erb
451
+ - app/assets/stylesheets/faalis/devise.css.scss
452
+ - app/assets/stylesheets/faalis/groups.css
453
+ - app/assets/stylesheets/faalis/home.css.scss
454
+ - app/assets/stylesheets/faalis/ltr/application.css
455
+ - app/assets/stylesheets/faalis/ltr/buttons.css.scss.erb
456
+ - app/assets/stylesheets/faalis/ltr/foundation_and_overrides.scss.erb
457
+ - app/assets/stylesheets/faalis/mixins.css.scss
528
458
  - app/assets/stylesheets/faalis/rtl/application.css
529
- - app/assets/fonts/OpenSans-Light.ttf
530
- - app/assets/fonts/OpenSans-LightItalic.ttf
531
- - app/assets/fonts/OpenSans-Regular.ttf
532
- - app/assets/fonts/DroidNaskh-Regular.ttf
533
- - app/assets/fonts/OpenSans-SemiboldItalic.ttf
534
- - app/assets/fonts/OpenSans-Bold.ttf
535
- - app/assets/fonts/OpenSans-Semibold.ttf
536
- - app/assets/fonts/DroidNaskh-Bold.ttf
537
- - app/assets/fonts/OpenSans-ExtraBold.ttf
538
- - app/assets/fonts/OpenSans-ExtraBoldItalic.ttf
539
- - app/assets/fonts/OpenSans-BoldItalic.ttf
540
- - app/assets/fonts/OpenSans-Italic.ttf
541
- - app/controllers/faalis/api_controller.rb
542
- - app/controllers/faalis/application_controller.rb
543
- - app/controllers/faalis/omniauth/callbacks_controller.rb
544
- - app/controllers/faalis/dashboard_controller.rb
545
- - app/controllers/faalis/home_controller.rb
546
- - app/controllers/faalis/api/v1/users_controller.rb
547
- - app/controllers/faalis/api/v1/logs_controller.rb
548
- - app/controllers/faalis/api/v1/permissions_controller.rb
459
+ - app/assets/stylesheets/faalis/rtl/buttons.css.scss.erb
460
+ - app/assets/stylesheets/faalis/rtl/foundation_and_overrides.scss.erb
461
+ - app/assets/stylesheets/faalis/users.css
462
+ - app/assets/stylesheets/faalis/variables.css.scss
549
463
  - app/controllers/faalis/api/v1/conversations_controller.rb
550
464
  - app/controllers/faalis/api/v1/groups_controller.rb
465
+ - app/controllers/faalis/api/v1/logs_controller.rb
466
+ - app/controllers/faalis/api/v1/permissions_controller.rb
551
467
  - app/controllers/faalis/api/v1/profiles_controller.rb
552
- - app/helpers/faalis/users_helper.rb
468
+ - app/controllers/faalis/api/v1/users_controller.rb
469
+ - app/controllers/faalis/api_controller.rb
470
+ - app/controllers/faalis/application_controller.rb
471
+ - app/controllers/faalis/dashboard_controller.rb
472
+ - app/controllers/faalis/home_controller.rb
473
+ - app/controllers/faalis/omniauth/callbacks_controller.rb
553
474
  - app/helpers/faalis/application_helper.rb
475
+ - app/helpers/faalis/dashboard_helper.rb
554
476
  - app/helpers/faalis/groups_helper.rb
555
477
  - app/helpers/faalis/home_helper.rb
556
- - app/helpers/faalis/dashboard_helper.rb
557
- - config/routes.rb
478
+ - app/helpers/faalis/users_helper.rb
479
+ - app/models/ability.rb
480
+ - app/models/faalis/group.rb
481
+ - app/models/faalis/permission.rb
482
+ - app/models/faalis/permissions/auth.rb
483
+ - app/models/faalis/user.rb
484
+ - app/views/angularjs_templates/auth/groups/details.html
485
+ - app/views/angularjs_templates/auth/groups/index.html
486
+ - app/views/angularjs_templates/auth/groups/new.html
487
+ - app/views/angularjs_templates/auth/index.html
488
+ - app/views/angularjs_templates/auth/profile/edit.html
489
+ - app/views/angularjs_templates/auth/users/details.html
490
+ - app/views/angularjs_templates/auth/users/index.html
491
+ - app/views/angularjs_templates/auth/users/new.html
492
+ - app/views/angularjs_templates/conversations/details.html
493
+ - app/views/angularjs_templates/conversations/index.html
494
+ - app/views/angularjs_templates/conversations/new.html
495
+ - app/views/angularjs_templates/conversations/show.html
496
+ - app/views/angularjs_templates/conversations/show_details.html
497
+ - app/views/angularjs_templates/fields/boolean/boolean.html
498
+ - app/views/angularjs_templates/fields/control-combo/control-list.html
499
+ - app/views/angularjs_templates/fields/datetime/datetime.html
500
+ - app/views/angularjs_templates/fields/datetime/time.html
501
+ - app/views/angularjs_templates/fields/float/float.html
502
+ - app/views/angularjs_templates/fields/integer/integer.html
503
+ - app/views/angularjs_templates/fields/relation/relation.html
504
+ - app/views/angularjs_templates/fields/string/string.html
505
+ - app/views/angularjs_templates/fields/text/text.html
506
+ - app/views/angularjs_templates/filter/index.html
507
+ - app/views/angularjs_templates/index.html
508
+ - app/views/angularjs_templates/list-view/index.html
509
+ - app/views/angularjs_templates/locale/fa.po
510
+ - app/views/angularjs_templates/locale/templates.pot
511
+ - app/views/angularjs_templates/logs/index.html
512
+ - app/views/angularjs_templates/modules.html
513
+ - app/views/angularjs_templates/nav.html.erb
514
+ - app/views/devise/confirmations/new.html.erb
515
+ - app/views/devise/mailer/confirmation_instructions.html.erb
516
+ - app/views/devise/mailer/reset_password_instructions.html.erb
517
+ - app/views/devise/mailer/unlock_instructions.html.erb
518
+ - app/views/devise/passwords/edit.html.erb
519
+ - app/views/devise/passwords/new.html.erb
520
+ - app/views/devise/registrations/edit.html.erb
521
+ - app/views/devise/registrations/new.html.erb
522
+ - app/views/devise/sessions/new.html.erb
523
+ - app/views/devise/shared/_links.erb
524
+ - app/views/devise/unlocks/new.html.erb
525
+ - app/views/faalis/api/v1/conversations/create.json.jbuilder
526
+ - app/views/faalis/api/v1/conversations/destroy.json.jbuilder
527
+ - app/views/faalis/api/v1/conversations/index.json.jbuilder
528
+ - app/views/faalis/api/v1/conversations/reply.json.jbuilder
529
+ - app/views/faalis/api/v1/conversations/show.json.jbuilder
530
+ - app/views/faalis/api/v1/conversations/trash.json.jbuilder
531
+ - app/views/faalis/api/v1/groups/create.json.jbuilder
532
+ - app/views/faalis/api/v1/groups/destroy.html.erb
533
+ - app/views/faalis/api/v1/groups/destroy.json.jbuilder
534
+ - app/views/faalis/api/v1/groups/edit.html.erb
535
+ - app/views/faalis/api/v1/groups/index.html.erb
536
+ - app/views/faalis/api/v1/groups/index.json.jbuilder
537
+ - app/views/faalis/api/v1/groups/new.html.erb
538
+ - app/views/faalis/api/v1/groups/show.html.erb
539
+ - app/views/faalis/api/v1/groups/show.json.jbuilder
540
+ - app/views/faalis/api/v1/groups/update.json.jbuilder
541
+ - app/views/faalis/api/v1/logs/index.json.jbuilder
542
+ - app/views/faalis/api/v1/permissions/index.json.jbuilder
543
+ - app/views/faalis/api/v1/permissions/user_permissions.json.jbuilder
544
+ - app/views/faalis/api/v1/users/create.html.erb
545
+ - app/views/faalis/api/v1/users/create.json.jbuilder
546
+ - app/views/faalis/api/v1/users/destroy.json.jbuilder
547
+ - app/views/faalis/api/v1/users/distroy.html.erb
548
+ - app/views/faalis/api/v1/users/edit.html.erb
549
+ - app/views/faalis/api/v1/users/index.html.erb
550
+ - app/views/faalis/api/v1/users/index.json.jbuilder
551
+ - app/views/faalis/api/v1/users/show.html.erb
552
+ - app/views/faalis/api/v1/users/show.json.jbuilder
553
+ - app/views/faalis/api/v1/users/update.json.jbuilder
554
+ - app/views/faalis/dashboard/index.html.erb
555
+ - app/views/faalis/dashboard/login_required_page.html.erb
556
+ - app/views/faalis/home/index.html.erb
557
+ - app/views/faalis/relations/_belongs_to.json.jbuilder
558
+ - app/views/layouts/faalis/application.html.erb
559
+ - app/views/layouts/faalis/dashboard.html.erb
560
+ - config/initializers/devise.rb
561
+ - config/locales/devise.en.yml
558
562
  - config/locales/devise.fa.yml
559
- - config/locales/fa/messages.mo
560
563
  - config/locales/fa/LC_MESSAGES/faalis.mo
561
564
  - config/locales/fa/faalis.po
562
- - config/locales/devise.en.yml
565
+ - config/locales/fa/messages.mo
563
566
  - config/locales/faalis.pot
564
- - config/initializers/devise.rb
567
+ - config/routes.rb
568
+ - db/migrate/20131013091000_devise_create_faalis_users.rb
565
569
  - db/migrate/20131020124701_create_faalis_groups.rb
566
570
  - db/migrate/20131021170923_create_faalis_permissions.rb
567
571
  - db/migrate/20131123120422_add_permissions_groups_table.rb
568
- - db/migrate/20131013091000_devise_create_faalis_users.rb
569
572
  - db/seeds.rb
573
+ - lib/faalis.rb
574
+ - lib/faalis/active_record.rb
575
+ - lib/faalis/api.rb
576
+ - lib/faalis/api/groups_api.rb
577
+ - lib/faalis/api/permissions_api.rb
578
+ - lib/faalis/api/root.rb
579
+ - lib/faalis/api/users_api.rb
580
+ - lib/faalis/cucumber.rb
581
+ - lib/faalis/cucumber/auth.rb
582
+ - lib/faalis/cucumber/exceptions.rb
583
+ - lib/faalis/cucumber/interaction.rb
584
+ - lib/faalis/cucumber/query.rb
585
+ - lib/faalis/cucumber/urls.rb
586
+ - lib/faalis/dashboard.rb
587
+ - lib/faalis/dashboard/controller.rb
588
+ - lib/faalis/dashboard/module.rb
589
+ - lib/faalis/engine.rb
590
+ - lib/faalis/exceptions.rb
591
+ - lib/faalis/generators.rb
592
+ - lib/faalis/generators/concerns.rb
593
+ - lib/faalis/generators/concerns/angular.rb
594
+ - lib/faalis/generators/concerns/bulk.rb
595
+ - lib/faalis/generators/concerns/dependency.rb
596
+ - lib/faalis/generators/concerns/menu.rb
597
+ - lib/faalis/generators/concerns/model.rb
598
+ - lib/faalis/generators/concerns/parent.rb
599
+ - lib/faalis/generators/concerns/required.rb
600
+ - lib/faalis/generators/concerns/resource_fields.rb
601
+ - lib/faalis/generators/concerns/resource_name.rb
602
+ - lib/faalis/generators/concerns/tabs.rb
603
+ - lib/faalis/generators/dashboard_scaffold.rb
604
+ - lib/faalis/generators/fields/relation.rb
605
+ - lib/faalis/i18n.rb
606
+ - lib/faalis/initialize.rb
607
+ - lib/faalis/omniauth.rb
608
+ - lib/faalis/omniauth/callbacks.rb
609
+ - lib/faalis/permissions.rb
610
+ - lib/faalis/plugins.rb
611
+ - lib/faalis/version.rb
570
612
  - lib/faalis_plugin.rb
571
- - lib/tasks/faalis_tasks.rake
572
- - lib/tasks/grunt/Gruntfile.js
573
613
  - lib/generators/faalis/USAGE
614
+ - lib/generators/faalis/angularjs_resource_generator.rb
574
615
  - lib/generators/faalis/install_all_generator.rb
616
+ - lib/generators/faalis/install_generator.rb
617
+ - lib/generators/faalis/install_specs_generator.rb
618
+ - lib/generators/faalis/js/list_view_generator.rb
619
+ - lib/generators/faalis/js_scaffold_generator.rb
620
+ - lib/generators/faalis/templates/README
575
621
  - lib/generators/faalis/templates/SPECS
576
- - lib/generators/faalis/templates/spec/support/devise.rb
577
- - lib/generators/faalis/templates/spec/spec_helper.rb
578
- - lib/generators/faalis/templates/spec/factories/users.rb
579
- - lib/generators/faalis/templates/spec/factories/groups.rb
622
+ - lib/generators/faalis/templates/angularjs/details.html.erb
623
+ - lib/generators/faalis/templates/angularjs/index.html.erb
624
+ - lib/generators/faalis/templates/angularjs/module.js.erb
625
+ - lib/generators/faalis/templates/angularjs/new.html.erb
626
+ - lib/generators/faalis/templates/api/controller.rb.erb
580
627
  - lib/generators/faalis/templates/api_controller.rb
581
- - lib/generators/faalis/templates/views/show.json.jbuilder.erb
582
- - lib/generators/faalis/templates/views/destroy.json.jbuilder.erb
583
- - lib/generators/faalis/templates/views/update.json.jbuilder.erb
584
- - lib/generators/faalis/templates/views/index.json.jbuilder.erb
585
- - lib/generators/faalis/templates/views/create.json.jbuilder.erb
586
628
  - lib/generators/faalis/templates/application.js
629
+ - lib/generators/faalis/templates/devise.rb
630
+ - lib/generators/faalis/templates/faalis.rb
631
+ - lib/generators/faalis/templates/fast_gettext.rb
632
+ - lib/generators/faalis/templates/features/api.feature
633
+ - lib/generators/faalis/templates/features/api.step.rb
587
634
  - lib/generators/faalis/templates/features/step_definitions/email_steps.rb
588
635
  - lib/generators/faalis/templates/features/support/email_spec.rb
589
636
  - lib/generators/faalis/templates/features/support/env.rb
590
- - lib/generators/faalis/templates/features/api.feature
591
- - lib/generators/faalis/templates/features/api.step.rb
637
+ - lib/generators/faalis/templates/formtastic.rb
638
+ - lib/generators/faalis/templates/js/list_view/README
639
+ - lib/generators/faalis/templates/js/list_view/details.html.erb
592
640
  - lib/generators/faalis/templates/js/list_view/index.html.erb
593
641
  - lib/generators/faalis/templates/js/list_view/module.js.erb
594
- - lib/generators/faalis/templates/js/list_view/details.html.erb
595
- - lib/generators/faalis/templates/js/list_view/README
596
642
  - lib/generators/faalis/templates/js/list_view/new.html.erb
597
- - lib/generators/faalis/templates/formtastic.rb
598
- - lib/generators/faalis/templates/devise.rb
599
- - lib/generators/faalis/templates/README
600
- - lib/generators/faalis/templates/angularjs/index.html.erb
601
- - lib/generators/faalis/templates/angularjs/module.js.erb
602
- - lib/generators/faalis/templates/angularjs/details.html.erb
603
- - lib/generators/faalis/templates/angularjs/new.html.erb
604
- - lib/generators/faalis/templates/fast_gettext.rb
605
- - lib/generators/faalis/templates/seeds.rb
606
643
  - lib/generators/faalis/templates/js_scaffold.README
607
- - lib/generators/faalis/templates/faalis.rb
608
- - lib/generators/faalis/templates/api/controller.rb.erb
609
- - lib/generators/faalis/js/list_view_generator.rb
644
+ - lib/generators/faalis/templates/seeds.rb
645
+ - lib/generators/faalis/templates/spec/factories/groups.rb
646
+ - lib/generators/faalis/templates/spec/factories/users.rb
647
+ - lib/generators/faalis/templates/spec/spec_helper.rb
648
+ - lib/generators/faalis/templates/spec/support/devise.rb
649
+ - lib/generators/faalis/templates/views/create.json.jbuilder.erb
650
+ - lib/generators/faalis/templates/views/destroy.json.jbuilder.erb
651
+ - lib/generators/faalis/templates/views/index.json.jbuilder.erb
652
+ - lib/generators/faalis/templates/views/show.json.jbuilder.erb
653
+ - lib/generators/faalis/templates/views/update.json.jbuilder.erb
610
654
  - lib/generators/faalis/views_generator.rb
611
- - lib/generators/faalis/angularjs_resource_generator.rb
612
- - lib/generators/faalis/js_scaffold_generator.rb
613
- - lib/generators/faalis/install_generator.rb
614
- - lib/generators/faalis/install_specs_generator.rb
615
- - lib/faalis/initialize.rb
616
- - lib/faalis/i18n.rb
617
- - lib/faalis/permissions.rb
618
- - lib/faalis/plugins.rb
619
- - lib/faalis/dashboard.rb
620
- - lib/faalis/active_record.rb
621
- - lib/faalis/generators.rb
622
- - lib/faalis/version.rb
623
- - lib/faalis/cucumber/interaction.rb
624
- - lib/faalis/cucumber/auth.rb
625
- - lib/faalis/cucumber/urls.rb
626
- - lib/faalis/cucumber/exceptions.rb
627
- - lib/faalis/cucumber/query.rb
628
- - lib/faalis/api.rb
629
- - lib/faalis/exceptions.rb
630
- - lib/faalis/cucumber.rb
631
- - lib/faalis/omniauth.rb
632
- - lib/faalis/generators/dashboard_scaffold.rb
633
- - lib/faalis/generators/concerns.rb
634
- - lib/faalis/generators/fields/relation.rb
635
- - lib/faalis/generators/concerns/resource_name.rb
636
- - lib/faalis/generators/concerns/dependency.rb
637
- - lib/faalis/generators/concerns/angular.rb
638
- - lib/faalis/generators/concerns/bulk.rb
639
- - lib/faalis/generators/concerns/tabs.rb
640
- - lib/faalis/generators/concerns/parent.rb
641
- - lib/faalis/generators/concerns/resource_fields.rb
642
- - lib/faalis/generators/concerns/model.rb
643
- - lib/faalis/generators/concerns/required.rb
644
- - lib/faalis/generators/concerns/menu.rb
645
- - lib/faalis/omniauth/callbacks.rb
646
- - lib/faalis/dashboard/module.rb
647
- - lib/faalis/dashboard/controller.rb
648
- - lib/faalis/engine.rb
649
- - lib/faalis/api/permissions_api.rb
650
- - lib/faalis/api/users_api.rb
651
- - lib/faalis/api/root.rb
652
- - lib/faalis/api/groups_api.rb
653
- - lib/faalis.rb
654
- - LICENSE
655
- - Rakefile
656
- - README.md
657
- - spec/spec_helper.rb
658
- - spec/dummy/tmp/ember-rails/ember.js
659
- - spec/dummy/tmp/ember-rails/ember-data.js
660
- - spec/dummy/log/development.log
661
- - spec/dummy/log/test.log
662
- - spec/dummy/public/500.html
663
- - spec/dummy/public/404.html
664
- - spec/dummy/public/422.html
665
- - spec/dummy/public/favicon.ico
666
- - spec/dummy/config.ru
655
+ - lib/tasks/faalis_tasks.rake
656
+ - lib/tasks/grunt/Gruntfile.js
667
657
  - spec/dummy/README.rdoc
668
- - spec/dummy/app/views/layouts/application.html.erb
658
+ - spec/dummy/Rakefile
669
659
  - spec/dummy/app/assets/javascripts/application.js
670
660
  - spec/dummy/app/assets/stylesheets/application.css
671
661
  - spec/dummy/app/controllers/application_controller.rb
672
662
  - spec/dummy/app/helpers/application_helper.rb
673
- - spec/dummy/Rakefile
674
- - spec/dummy/bin/rake
663
+ - spec/dummy/app/views/layouts/application.html.erb
675
664
  - spec/dummy/bin/bundle
676
665
  - spec/dummy/bin/rails
666
+ - spec/dummy/bin/rake
667
+ - spec/dummy/config.ru
677
668
  - spec/dummy/config/application.rb
678
- - spec/dummy/config/environments/test.rb
669
+ - spec/dummy/config/boot.rb
670
+ - spec/dummy/config/database.yml
671
+ - spec/dummy/config/environment.rb
679
672
  - spec/dummy/config/environments/development.rb
680
673
  - spec/dummy/config/environments/production.rb
681
- - spec/dummy/config/routes.rb
682
- - spec/dummy/config/environment.rb
683
- - spec/dummy/config/database.yml
684
- - spec/dummy/config/locales/en.yml
685
- - spec/dummy/config/boot.rb
686
- - spec/dummy/config/initializers/session_store.rb
674
+ - spec/dummy/config/environments/test.rb
687
675
  - spec/dummy/config/initializers/backtrace_silencers.rb
688
- - spec/dummy/config/initializers/wrap_parameters.rb
689
- - spec/dummy/config/initializers/inflections.rb
690
676
  - spec/dummy/config/initializers/filter_parameter_logging.rb
677
+ - spec/dummy/config/initializers/inflections.rb
691
678
  - spec/dummy/config/initializers/mime_types.rb
692
679
  - spec/dummy/config/initializers/secret_token.rb
680
+ - spec/dummy/config/initializers/session_store.rb
681
+ - spec/dummy/config/initializers/wrap_parameters.rb
682
+ - spec/dummy/config/locales/en.yml
683
+ - spec/dummy/config/routes.rb
684
+ - spec/dummy/log/development.log
685
+ - spec/dummy/log/test.log
686
+ - spec/dummy/public/404.html
687
+ - spec/dummy/public/422.html
688
+ - spec/dummy/public/500.html
689
+ - spec/dummy/public/favicon.ico
690
+ - spec/dummy/tmp/ember-rails/ember-data.js
691
+ - spec/dummy/tmp/ember-rails/ember.js
692
+ - spec/spec_helper.rb
693
693
  homepage: https://github.com/Yellowen/Faalis
694
694
  licenses:
695
695
  - GPL-2
@@ -700,17 +700,17 @@ require_paths:
700
700
  - lib
701
701
  required_ruby_version: !ruby/object:Gem::Requirement
702
702
  requirements:
703
- - - '>='
703
+ - - ">="
704
704
  - !ruby/object:Gem::Version
705
705
  version: '0'
706
706
  required_rubygems_version: !ruby/object:Gem::Requirement
707
707
  requirements:
708
- - - '>='
708
+ - - ">="
709
709
  - !ruby/object:Gem::Version
710
710
  version: '0'
711
711
  requirements: []
712
712
  rubyforge_project:
713
- rubygems_version: 2.0.3
713
+ rubygems_version: 2.2.0
714
714
  signing_key:
715
715
  specification_version: 4
716
716
  summary: Faalis is a ruby on rails engine which provides a very basic web application