ixtlan 0.2.4 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +49 -0
- data/MIT-LICENSE +20 -0
- data/Manifest.txt +73 -48
- data/Rakefile +1 -1
- data/generators/gwt_ixtlan_datamapper_rspec_scaffold/gwt_ixtlan_datamapper_rspec_scaffold_generator.rb +3 -3
- data/generators/gwt_ixtlan_datamapper_rspec_scaffold/templates/AbstractApplicationResourceTestGwt.java +1 -1
- data/generators/gwt_ixtlan_datamapper_rspec_scaffold/templates/Fields.java +1 -1
- data/generators/gwt_ixtlan_datamapper_rspec_scaffold/templates/Model.java +2 -2
- data/generators/gwt_ixtlan_datamapper_rspec_scaffold/templates/ModelFactory.java +2 -2
- data/generators/gwt_ixtlan_datamapper_rspec_scaffold/templates/Screen.java +2 -2
- data/generators/gwt_ixtlan_datamapper_rspec_scaffold/templates/TestGwt.java +2 -2
- data/generators/ixtlan_datamapper_rspec_model/ixtlan_datamapper_rspec_model_generator.rb +1 -1
- data/generators/ixtlan_datamapper_rspec_scaffold/ixtlan_datamapper_rspec_scaffold_generator.rb +4 -4
- data/generators/ixtlan_datamapper_rspec_scaffold/templates/guard.rb +7 -7
- data/generators/ixtlan_datamapper_rspec_scaffold/templates/i18n.rb +1 -1
- data/generators/ixtlan_datamapper_rspec_scaffold/templates/layout.html.erb +20 -0
- data/ixtlan_rails_templates.rb +537 -0
- data/lib/ixtlan/audit_config.rb +5 -5
- data/lib/ixtlan/child_path.rb +2 -2
- data/lib/ixtlan/cms_script.rb +4 -4
- data/lib/ixtlan/controllers/authentications_controller.rb +7 -2
- data/lib/ixtlan/controllers/configurations_controller.rb +15 -6
- data/lib/ixtlan/controllers/domains_controller.rb +99 -0
- data/lib/ixtlan/controllers/groups_controller.rb +105 -0
- data/lib/ixtlan/controllers/locales_controller.rb +99 -0
- data/lib/ixtlan/controllers/permissions_controller.rb +5 -0
- data/lib/ixtlan/controllers/phrases_controller.rb +26 -22
- data/lib/ixtlan/controllers/search_query.rb +24 -0
- data/lib/ixtlan/controllers/texts_controller.rb +5 -5
- data/lib/ixtlan/controllers/users_controller.rb +117 -0
- data/lib/ixtlan/controllers/word_bundles_controller.rb +13 -8
- data/lib/ixtlan/digest.rb +3 -3
- data/lib/ixtlan/guard.rb +11 -12
- data/lib/ixtlan/logger_config.rb +11 -11
- data/lib/ixtlan/mailer/error_notification.erb +1 -0
- data/lib/ixtlan/mailer/password.erb +1 -0
- data/lib/ixtlan/mailer.rb +27 -0
- data/lib/ixtlan/models/authentication.rb +9 -6
- data/lib/ixtlan/models/configuration.rb +21 -37
- data/lib/ixtlan/models/configuration_locale.rb +3 -3
- data/lib/ixtlan/models/domain.rb +44 -0
- data/lib/ixtlan/models/domain_group_user.rb +22 -0
- data/lib/ixtlan/models/group.rb +82 -16
- data/lib/ixtlan/models/group_locale_user.rb +4 -4
- data/lib/ixtlan/models/group_user.rb +7 -7
- data/lib/ixtlan/models/i18n_text.rb +26 -26
- data/lib/ixtlan/models/locale.rb +17 -5
- data/lib/ixtlan/models/permission.rb +3 -2
- data/lib/ixtlan/models/phrase.rb +15 -15
- data/lib/ixtlan/models/role.rb +5 -5
- data/lib/ixtlan/models/translation.rb +9 -9
- data/lib/ixtlan/models/update_children.rb +74 -0
- data/lib/ixtlan/models/user.rb +108 -16
- data/lib/ixtlan/models/word.rb +2 -1
- data/lib/ixtlan/models.rb +1 -0
- data/lib/ixtlan/modified_by.rb +9 -7
- data/lib/ixtlan/monkey_patches.rb +5 -5
- data/lib/ixtlan/optimistic_persistence.rb +2 -2
- data/lib/ixtlan/optimistic_persistence_module.rb +3 -3
- data/lib/ixtlan/optimistic_persistence_validation.rb +2 -2
- data/lib/ixtlan/passwords.rb +15 -13
- data/lib/ixtlan/rails/error_handling.rb +41 -40
- data/lib/ixtlan/rails/guard.rb +0 -1
- data/lib/ixtlan/rails/migrations.rb +75 -0
- data/lib/ixtlan/rails/session_timeout.rb +16 -14
- data/lib/ixtlan/rails/timestamps_modified_by_filter.rb +1 -1
- data/lib/ixtlan/rails/unrestful_authentication.rb +4 -4
- data/lib/ixtlan/rolling_file.rb +3 -3
- data/lib/ixtlan/session.rb +4 -3
- data/lib/ixtlan/user_logger.rb +13 -9
- data/lib/ixtlan/version.rb +1 -1
- data/spec/authentication_spec.rb +1 -1
- data/spec/guard_spec.rb +4 -4
- data/spec/guards/samples.rb +7 -7
- data/spec/modified_by_spec.rb +82 -0
- data/spec/optimistic_persistence_spec.rb +58 -0
- data/spec/phrase_spec.rb +119 -0
- data/spec/session_timeout_spec.rb +59 -0
- data/spec/spec_helper.rb +6 -5
- data/spec/text_collection_spec.rb +88 -0
- data/spec/text_spec.rb +105 -0
- data/spec/unrestful_authentication_spec.rb +142 -0
- data/spec/user_logger_spec.rb +105 -0
- data/spec/user_spec.rb +249 -0
- data/whitespace.rb +31 -0
- metadata +76 -50
- data/lib/ixtlan/error_notifier/error_notification.rhtml +0 -1
data/spec/user_spec.rb
ADDED
@@ -0,0 +1,249 @@
|
|
1
|
+
require 'pathname'
|
2
|
+
require Pathname(__FILE__).dirname + 'spec_helper.rb'
|
3
|
+
|
4
|
+
User = Ixtlan::Models::User
|
5
|
+
Group = Ixtlan::Models::Group
|
6
|
+
Locale = Ixtlan::Models::Locale
|
7
|
+
Domain = Ixtlan::Models::Domain
|
8
|
+
describe Ixtlan::Models::User do
|
9
|
+
|
10
|
+
before(:all) do
|
11
|
+
|
12
|
+
DataMapper.setup(:default, "sqlite3::memory:")
|
13
|
+
DataMapper.auto_migrate!
|
14
|
+
|
15
|
+
Ixtlan::Models::GroupUser.all.destroy!
|
16
|
+
Ixtlan::Models::GroupLocaleUser.all.destroy!
|
17
|
+
Locale.all.destroy!
|
18
|
+
Group.all.destroy!
|
19
|
+
User.all.destroy!
|
20
|
+
|
21
|
+
@root = User.new(:login => 'root', :email => 'root@example.com', :name => 'Superuser', :id => 1)
|
22
|
+
@root.created_at = DateTime.now
|
23
|
+
@root.updated_at = @root.created_at
|
24
|
+
@root.created_by_id = 1
|
25
|
+
@root.updated_by_id = 1
|
26
|
+
@root.save!
|
27
|
+
@root_group = Group.create(:name => 'root', :current_user => @root)
|
28
|
+
@root.groups << @root_group
|
29
|
+
@root.save
|
30
|
+
@users = Group.create(:name => 'users', :current_user => @root)
|
31
|
+
@locales = Group.create(:name => 'locales', :current_user => @root)
|
32
|
+
@domains = Group.create(:name => 'domains', :current_user => @root)
|
33
|
+
Locale.create(:code => Locale::DEFAULT, :current_user => User.first)
|
34
|
+
Locale.create(:code => Locale::ALL, :current_user => User.first)
|
35
|
+
@en = Locale.create(:code => 'en', :current_user => User.first)
|
36
|
+
@fr = Locale.create(:code => 'fr', :current_user => User.first)
|
37
|
+
Domain.create(:name => Domain::ALL, :current_user => User.first)
|
38
|
+
@dvara = Domain.create(:name => 'dvara', :current_user => User.first)
|
39
|
+
@dhara = Domain.create(:name => 'dhara', :current_user => User.first)
|
40
|
+
|
41
|
+
@groups = {
|
42
|
+
:group => [ { :id => @users.id.to_s,
|
43
|
+
:locales => {
|
44
|
+
:locale => [{ :id => @fr.id.to_s },
|
45
|
+
{ :id => @en.id.to_s } ]
|
46
|
+
},
|
47
|
+
:domains => {
|
48
|
+
:domain => [{ :id => @dvara.id.to_s },
|
49
|
+
{ :id => @dhara.id.to_s } ]
|
50
|
+
}
|
51
|
+
},
|
52
|
+
{ :id => @locales.id.to_s,
|
53
|
+
:locales => {
|
54
|
+
:locale => { :id => @en.id.to_s }
|
55
|
+
}
|
56
|
+
},
|
57
|
+
{ :id => @domains.id.to_s,
|
58
|
+
:domains => {
|
59
|
+
:domain => { :id => @dvara.id.to_s }
|
60
|
+
}
|
61
|
+
} ]
|
62
|
+
}
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'root' do
|
66
|
+
|
67
|
+
it 'should be root and should not be locales/domains_admin' do
|
68
|
+
@root.root?.should be_true
|
69
|
+
@root.locales_admin?.should be_false
|
70
|
+
@root.domains_admin?.should be_false
|
71
|
+
end
|
72
|
+
|
73
|
+
it 'should be able to create an user' do
|
74
|
+
u = User.new(:login => 'user', :email => 'user@example.com', :name => 'user', :current_user => @root)
|
75
|
+
|
76
|
+
groups = @groups.dup
|
77
|
+
groups[:group] << { :id => @root_group.id.to_s }
|
78
|
+
u.update_all_children(groups)
|
79
|
+
u.save
|
80
|
+
|
81
|
+
u.groups.should == [@users, @locales, @domains, @root_group]
|
82
|
+
u.groups[0].locales.should == [@fr, @en]
|
83
|
+
u.groups[1].locales.should == [@en]
|
84
|
+
u.groups[2].locales.should == []
|
85
|
+
u.groups[3].locales.should == []
|
86
|
+
|
87
|
+
u.groups[0].domains.should == [@dvara, @dhara]
|
88
|
+
u.groups[1].domains.should == []
|
89
|
+
u.groups[2].domains.should == [@dvara]
|
90
|
+
u.groups[3].domains.should == []
|
91
|
+
end
|
92
|
+
|
93
|
+
it 'should be able to create an user without groups' do
|
94
|
+
u = User.new(:login => 'user', :email => 'user@example.com', :name => 'user', :current_user => @root)
|
95
|
+
u.update_all_children(nil)
|
96
|
+
u.save
|
97
|
+
|
98
|
+
u.groups.should == []
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
describe 'user_admin and locales/domains_admin' do
|
103
|
+
before(:each) do
|
104
|
+
@admin = User.create(:login => 'admin', :email => 'admin@example.com', :name => 'admin', :current_user => @root)
|
105
|
+
@admin.groups << @users
|
106
|
+
@admin.groups << @locales
|
107
|
+
@admin.groups << @domains
|
108
|
+
@admin.save
|
109
|
+
end
|
110
|
+
|
111
|
+
it 'should not be root but should be locales/domains_admin' do
|
112
|
+
@admin.root?.should be_false
|
113
|
+
@admin.locales_admin?.should be_true
|
114
|
+
@admin.domains_admin?.should be_true
|
115
|
+
end
|
116
|
+
|
117
|
+
it 'should be able to create an user' do
|
118
|
+
u = User.new(:login => 'user', :email => 'user@example.com', :name => 'user', :current_user => @admin)
|
119
|
+
u.update_all_children(@groups)
|
120
|
+
u.save
|
121
|
+
|
122
|
+
u.groups.should == [@users, @locales, @domains]
|
123
|
+
u.groups[0].locales.should == [@fr, @en]
|
124
|
+
u.groups[1].locales.should == [@en]
|
125
|
+
u.groups[2].locales.should == []
|
126
|
+
|
127
|
+
u.groups[0].domains.should == [@dvara, @dhara]
|
128
|
+
u.groups[1].domains.should == []
|
129
|
+
u.groups[2].domains.should == [@dvara]
|
130
|
+
end
|
131
|
+
|
132
|
+
it 'should be able to create an user but ignore disallowed group root' do
|
133
|
+
u = User.new(:login => 'user', :email => 'user@example.com', :name => 'user', :current_user => @admin)
|
134
|
+
|
135
|
+
groups = @groups.dup
|
136
|
+
groups[:group] << { :id => @root_group.id.to_s }
|
137
|
+
u.update_all_children(groups)
|
138
|
+
u.save
|
139
|
+
|
140
|
+
u.groups.should == [@users, @locales, @domains]
|
141
|
+
u.groups[0].locales.should == [@fr, @en]
|
142
|
+
u.groups[1].locales.should == [@en]
|
143
|
+
u.groups[2].locales.should == []
|
144
|
+
|
145
|
+
u.groups[0].domains.should == [@dvara, @dhara]
|
146
|
+
u.groups[1].domains.should == []
|
147
|
+
u.groups[2].domains.should == [@dvara]
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
describe 'user_admin without locales/domains' do
|
152
|
+
before(:each) do
|
153
|
+
@admin = User.create(:login => 'admin', :email => 'admin@example.com', :name => 'admin', :current_user => @root)
|
154
|
+
@admin.groups << @users
|
155
|
+
@admin.save
|
156
|
+
end
|
157
|
+
|
158
|
+
it 'should not be root and not be locales/domains_admin' do
|
159
|
+
@admin.root?.should be_false
|
160
|
+
@admin.locales_admin?.should be_false
|
161
|
+
@admin.domains_admin?.should be_false
|
162
|
+
end
|
163
|
+
|
164
|
+
it 'should be able to create an user' do
|
165
|
+
u = User.new(:login => 'user', :email => 'user@example.com', :name => 'user', :current_user => @admin)
|
166
|
+
u.update_all_children({ :group => { :id => @users.id.to_s } })
|
167
|
+
u.save
|
168
|
+
|
169
|
+
u.groups.should == [@users]
|
170
|
+
u.groups[0].locales.should == []
|
171
|
+
end
|
172
|
+
|
173
|
+
it 'should be able to create an user without disallowed groups and locales' do
|
174
|
+
u = User.new(:login => 'user', :email => 'user@example.com', :name => 'user', :current_user => @admin)
|
175
|
+
u.update_all_children(@groups)
|
176
|
+
u.save
|
177
|
+
|
178
|
+
u.groups.should == [@users]
|
179
|
+
u.groups[0].locales.should == []
|
180
|
+
u.groups[0].domains.should == []
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
describe 'user_admin with locales/domains' do
|
185
|
+
before(:each) do
|
186
|
+
@admin = User.create(:login => 'admin', :email => 'admin@example.com', :name => 'admin', :current_user => @root)
|
187
|
+
@admin.groups << @users
|
188
|
+
@admin.groups[0].locales << @en
|
189
|
+
@admin.groups[0].domains << @dhara
|
190
|
+
@admin.save
|
191
|
+
end
|
192
|
+
|
193
|
+
it 'should be able to create an user without disallowed groups and locales/domains but with allowed locales/domains' do
|
194
|
+
u = User.new(:login => 'user', :email => 'user@example.com', :name => 'user', :current_user => @admin)
|
195
|
+
u.update_all_children(@groups)
|
196
|
+
u.save
|
197
|
+
|
198
|
+
u.groups.should == [@users]
|
199
|
+
u.groups[0].locales.should == [@en]
|
200
|
+
u.groups[0].domains.should == [@dhara]
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
describe 'user_admin with locales and as domains_admin' do
|
205
|
+
before(:each) do
|
206
|
+
@admin = User.create(:login => 'admin', :email => 'admin@example.com', :name => 'admin', :current_user => @root)
|
207
|
+
@admin.groups << @users
|
208
|
+
@admin.groups[0].locales << @en
|
209
|
+
@admin.groups[0].domains << @dhara
|
210
|
+
@admin.groups << @domains
|
211
|
+
@admin.save
|
212
|
+
end
|
213
|
+
|
214
|
+
it 'should be able to create an user without disallowed groups and domains but with allowed domains' do
|
215
|
+
u = User.new(:login => 'user', :email => 'user@example.com', :name => 'user', :current_user => @admin)
|
216
|
+
u.update_all_children(@groups)
|
217
|
+
u.save
|
218
|
+
|
219
|
+
u.groups.should == [@users, @domains]
|
220
|
+
u.groups[0].locales.should == [@en]
|
221
|
+
u.groups[1].locales.should == []
|
222
|
+
u.groups[0].domains.should == [@dvara, @dhara]
|
223
|
+
u.groups[1].domains.should == [@dvara]
|
224
|
+
end
|
225
|
+
end
|
226
|
+
|
227
|
+
describe 'user_admin with domains and as locales_admin' do
|
228
|
+
before(:each) do
|
229
|
+
@admin = User.create(:login => 'admin', :email => 'admin@example.com', :name => 'admin', :current_user => @root)
|
230
|
+
@admin.groups << @users
|
231
|
+
@admin.groups[0].locales << @en
|
232
|
+
@admin.groups[0].domains << @dhara
|
233
|
+
@admin.groups << @locales
|
234
|
+
@admin.save
|
235
|
+
end
|
236
|
+
|
237
|
+
it 'should be able to create an user without disallowed groups and locales but with allowed locales' do
|
238
|
+
u = User.new(:login => 'user', :email => 'user@example.com', :name => 'user', :current_user => @admin)
|
239
|
+
u.update_all_children(@groups)
|
240
|
+
u.save
|
241
|
+
|
242
|
+
u.groups.should == [@users, @locales]
|
243
|
+
u.groups[0].locales.should == [@fr, @en]
|
244
|
+
u.groups[1].locales.should == [@en]
|
245
|
+
u.groups[0].domains.should == [@dhara]
|
246
|
+
u.groups[1].domains.should == []
|
247
|
+
end
|
248
|
+
end
|
249
|
+
end
|
data/whitespace.rb
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'pathname'
|
4
|
+
require 'zlib'
|
5
|
+
|
6
|
+
# files and extensions to process
|
7
|
+
FILES = %w[ capfile CHANGELOG LICENSE Manifest MIT-LICENSE README QUICKLINKS README_FOR_APP RUNNING_UNIT_TESTS Rakefile SPECS TODO USAGE .autotest .gitignore .htaccess ].freeze
|
8
|
+
EXTENSIONS = %w[ builder cgi conf css deploy erb example fcgi feature gemspec haml htc htm html java js key markdown opts php rake ratom rb rcsv rdf rhtml rjs rpdf ru rxml sake sass sh sql thor txt vcf xml yml ].freeze
|
9
|
+
|
10
|
+
Pathname.glob(ARGV).each do |path_in|
|
11
|
+
start_path = path_in.directory? ? path_in + '**/*' : path_in
|
12
|
+
|
13
|
+
Pathname.glob((start_path).to_s).each do |path|
|
14
|
+
unless path.file? && path.size? && path.readable? && path.writable? && (FILES.include?(path.basename.to_s) || EXTENSIONS.include?(path.extname[1..-1]))
|
15
|
+
# puts "Skipping #{path}" if path.file?
|
16
|
+
next
|
17
|
+
end
|
18
|
+
|
19
|
+
# replace leading whitespace (including tabs) with spaces
|
20
|
+
# replace trailing whitespace with a newline
|
21
|
+
document = path.open('r') do |f|
|
22
|
+
f.collect { |line| line.gsub(/\G\s/, ' ').rstrip + "\n" }.join.rstrip
|
23
|
+
end + "\n"
|
24
|
+
|
25
|
+
# skip it if the file was not modified
|
26
|
+
next if Zlib.crc32(document) == Zlib.crc32(path.read)
|
27
|
+
|
28
|
+
puts "Modifying #{path}"
|
29
|
+
path.open('w') { |f| f.write document }
|
30
|
+
end
|
31
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ixtlan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mkristian
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-
|
12
|
+
date: 2010-05-24 00:00:00 +05:30
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -110,9 +110,23 @@ executables: []
|
|
110
110
|
extensions: []
|
111
111
|
|
112
112
|
extra_rdoc_files:
|
113
|
+
- History.txt
|
113
114
|
- Manifest.txt
|
114
115
|
- README.txt
|
115
116
|
files:
|
117
|
+
- History.txt
|
118
|
+
- MIT-LICENSE
|
119
|
+
- Manifest.txt
|
120
|
+
- README.txt
|
121
|
+
- Rakefile
|
122
|
+
- generators/gwt_ixtlan_datamapper_rspec_scaffold/gwt_ixtlan_datamapper_rspec_scaffold_generator.rb
|
123
|
+
- generators/gwt_ixtlan_datamapper_rspec_scaffold/templates/AbstractApplicationResourceTestGwt.java
|
124
|
+
- generators/gwt_ixtlan_datamapper_rspec_scaffold/templates/Fields.java
|
125
|
+
- generators/gwt_ixtlan_datamapper_rspec_scaffold/templates/GwtTestSuite.java
|
126
|
+
- generators/gwt_ixtlan_datamapper_rspec_scaffold/templates/Model.java
|
127
|
+
- generators/gwt_ixtlan_datamapper_rspec_scaffold/templates/ModelFactory.java
|
128
|
+
- generators/gwt_ixtlan_datamapper_rspec_scaffold/templates/Screen.java
|
129
|
+
- generators/gwt_ixtlan_datamapper_rspec_scaffold/templates/TestGwt.java
|
116
130
|
- generators/ixtlan_datamapper_model/ixtlan_datamapper_model_generator.rb
|
117
131
|
- generators/ixtlan_datamapper_model/templates/model.rb
|
118
132
|
- generators/ixtlan_datamapper_rspec_model/ixtlan_datamapper_rspec_model_generator.rb
|
@@ -122,75 +136,87 @@ files:
|
|
122
136
|
- generators/ixtlan_datamapper_rspec_scaffold/templates/controller_spec.rb
|
123
137
|
- generators/ixtlan_datamapper_rspec_scaffold/templates/guard.rb
|
124
138
|
- generators/ixtlan_datamapper_rspec_scaffold/templates/i18n.rb
|
125
|
-
- generators/
|
126
|
-
-
|
127
|
-
- generators/gwt_ixtlan_datamapper_rspec_scaffold/templates/ModelFactory.java
|
128
|
-
- generators/gwt_ixtlan_datamapper_rspec_scaffold/templates/Fields.java
|
129
|
-
- generators/gwt_ixtlan_datamapper_rspec_scaffold/templates/Screen.java
|
130
|
-
- generators/gwt_ixtlan_datamapper_rspec_scaffold/templates/TestGwt.java
|
131
|
-
- generators/gwt_ixtlan_datamapper_rspec_scaffold/templates/GwtTestSuite.java
|
132
|
-
- generators/gwt_ixtlan_datamapper_rspec_scaffold/templates/AbstractApplicationResourceTestGwt.java
|
133
|
-
- lib/models.rb
|
134
|
-
- lib/ixtlan.rb
|
139
|
+
- generators/ixtlan_datamapper_rspec_scaffold/templates/layout.html.erb
|
140
|
+
- ixtlan_rails_templates.rb
|
135
141
|
- lib/dm-serializer.rb
|
142
|
+
- lib/dm-serializer/common.rb
|
143
|
+
- lib/dm-serializer/to_xml.rb
|
144
|
+
- lib/dm-serializer/xml_serializers.rb
|
136
145
|
- lib/dm-serializer/xml_serializers/libxml.rb
|
137
146
|
- lib/dm-serializer/xml_serializers/nokogiri.rb
|
138
147
|
- lib/dm-serializer/xml_serializers/rexml.rb
|
139
|
-
- lib/
|
140
|
-
- lib/
|
141
|
-
- lib/
|
148
|
+
- lib/ixtlan.rb
|
149
|
+
- lib/ixtlan/audit_config.rb
|
150
|
+
- lib/ixtlan/child_path.rb
|
151
|
+
- lib/ixtlan/cms_script.rb
|
152
|
+
- lib/ixtlan/controllers/authentications_controller.rb
|
153
|
+
- lib/ixtlan/controllers/configurations_controller.rb
|
154
|
+
- lib/ixtlan/controllers/permissions_controller.rb
|
155
|
+
- lib/ixtlan/controllers/domains_controller.rb
|
156
|
+
- lib/ixtlan/controllers/groups_controller.rb
|
157
|
+
- lib/ixtlan/controllers/locales_controller.rb
|
158
|
+
- lib/ixtlan/controllers/phrases_controller.rb
|
159
|
+
- lib/ixtlan/controllers/search_query.rb
|
160
|
+
- lib/ixtlan/controllers/texts_controller.rb
|
161
|
+
- lib/ixtlan/controllers/users_controller.rb
|
162
|
+
- lib/ixtlan/controllers/word_bundles_controller.rb
|
163
|
+
- lib/ixtlan/digest.rb
|
164
|
+
- lib/ixtlan/guard.rb
|
165
|
+
- lib/ixtlan/logger_config.rb
|
166
|
+
- lib/ixtlan/mailer.rb
|
167
|
+
- lib/ixtlan/mailer/error_notification.erb
|
168
|
+
- lib/ixtlan/mailer/password.erb
|
169
|
+
- lib/ixtlan/models.rb
|
170
|
+
- lib/ixtlan/models/authentication.rb
|
171
|
+
- lib/ixtlan/models/configuration.rb
|
172
|
+
- lib/ixtlan/models/configuration_locale.rb
|
173
|
+
- lib/ixtlan/models/domain.rb
|
174
|
+
- lib/ixtlan/models/domain_group_user.rb
|
175
|
+
- lib/ixtlan/models/group.rb
|
142
176
|
- lib/ixtlan/models/group_locale_user.rb
|
143
|
-
- lib/ixtlan/models/
|
177
|
+
- lib/ixtlan/models/group_user.rb
|
178
|
+
- lib/ixtlan/models/i18n_text.rb
|
179
|
+
- lib/ixtlan/models/locale.rb
|
180
|
+
- lib/ixtlan/models/permission.rb
|
144
181
|
- lib/ixtlan/models/phrase.rb
|
182
|
+
- lib/ixtlan/models/role.rb
|
145
183
|
- lib/ixtlan/models/translation.rb
|
184
|
+
- lib/ixtlan/models/update_children.rb
|
146
185
|
- lib/ixtlan/models/user.rb
|
147
|
-
- lib/ixtlan/models/permission.rb
|
148
|
-
- lib/ixtlan/models/locale.rb
|
149
|
-
- lib/ixtlan/models/configuration_locale.rb
|
150
186
|
- lib/ixtlan/models/word.rb
|
151
|
-
- lib/ixtlan/models/configuration.rb
|
152
|
-
- lib/ixtlan/models/authentication.rb
|
153
|
-
- lib/ixtlan/models/i18n_text.rb
|
154
|
-
- lib/ixtlan/models/group_user.rb
|
155
|
-
- lib/ixtlan/models/group.rb
|
156
|
-
- lib/ixtlan/rolling_file.rb
|
157
|
-
- lib/ixtlan/cms_script.rb
|
158
|
-
- lib/ixtlan/child_path.rb
|
159
|
-
- lib/ixtlan/logger_config.rb
|
160
|
-
- lib/ixtlan/models.rb
|
161
|
-
- lib/ixtlan/audit_config.rb
|
162
|
-
- lib/ixtlan/session.rb
|
163
|
-
- lib/ixtlan/optimistic_persistence.rb
|
164
|
-
- lib/ixtlan/monkey_patches.rb
|
165
187
|
- lib/ixtlan/modified_by.rb
|
188
|
+
- lib/ixtlan/monkey_patches.rb
|
189
|
+
- lib/ixtlan/optimistic_persistence.rb
|
166
190
|
- lib/ixtlan/optimistic_persistence_module.rb
|
167
191
|
- lib/ixtlan/optimistic_persistence_validation.rb
|
168
|
-
- lib/ixtlan/
|
169
|
-
- lib/ixtlan/controllers/texts_controller.rb
|
170
|
-
- lib/ixtlan/controllers/phrases_controller.rb
|
171
|
-
- lib/ixtlan/controllers/permissions_controller.rb
|
172
|
-
- lib/ixtlan/controllers/authentications_controller.rb
|
173
|
-
- lib/ixtlan/controllers/configurations_controller.rb
|
174
|
-
- lib/ixtlan/controllers/word_bundles_controller.rb
|
175
|
-
- lib/ixtlan/guard.rb
|
192
|
+
- lib/ixtlan/passwords.rb
|
176
193
|
- lib/ixtlan/rails/audit.rb
|
177
194
|
- lib/ixtlan/rails/error_handling.rb
|
178
|
-
- lib/ixtlan/rails/
|
195
|
+
- lib/ixtlan/rails/guard.rb
|
196
|
+
- lib/ixtlan/rails/migrations.rb
|
179
197
|
- lib/ixtlan/rails/session_timeout.rb
|
180
198
|
- lib/ixtlan/rails/timestamps_modified_by_filter.rb
|
181
|
-
- lib/ixtlan/rails/
|
182
|
-
- lib/ixtlan/
|
183
|
-
- lib/ixtlan/
|
184
|
-
- lib/ixtlan/version.rb
|
199
|
+
- lib/ixtlan/rails/unrestful_authentication.rb
|
200
|
+
- lib/ixtlan/rolling_file.rb
|
201
|
+
- lib/ixtlan/session.rb
|
185
202
|
- lib/ixtlan/user_logger.rb
|
186
|
-
-
|
187
|
-
-
|
188
|
-
- README.txt
|
203
|
+
- lib/ixtlan/version.rb
|
204
|
+
- lib/models.rb
|
189
205
|
- spec/authentication_spec.rb
|
190
206
|
- spec/guard_spec.rb
|
191
207
|
- spec/guards/samples.rb
|
192
|
-
- spec/
|
208
|
+
- spec/modified_by_spec.rb
|
209
|
+
- spec/optimistic_persistence_spec.rb
|
210
|
+
- spec/phrase_spec.rb
|
211
|
+
- spec/session_timeout_spec.rb
|
193
212
|
- spec/spec.opts
|
213
|
+
- spec/spec_helper.rb
|
214
|
+
- spec/text_collection_spec.rb
|
215
|
+
- spec/text_spec.rb
|
216
|
+
- spec/unrestful_authentication_spec.rb
|
217
|
+
- spec/user_logger_spec.rb
|
218
|
+
- spec/user_spec.rb
|
219
|
+
- whitespace.rb
|
194
220
|
has_rdoc: true
|
195
221
|
homepage: http://github.com/mkristian/ixtlan-core
|
196
222
|
licenses: []
|
@@ -1 +0,0 @@
|
|
1
|
-
<%= @text %>
|