talia_core 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +4 -0
- data/config/database.yml +19 -0
- data/config/database.yml.example +35 -0
- data/config/rdfstore.yml +13 -0
- data/config/rdfstore.yml.example +13 -0
- data/config/rdfstore.yml.rdflite_example +16 -0
- data/config/rdfstore.yml.redland_example +46 -0
- data/config/talia_core.yml +14 -0
- data/config/talia_core.yml.example +42 -0
- data/generators/generator_helpers.rb +49 -0
- data/generators/talia_admin/USAGE +1 -0
- data/generators/talia_admin/talia_admin_generator.rb +19 -0
- data/generators/talia_admin/templates/controllers/admin/background_controller.rb +50 -0
- data/generators/talia_admin/templates/controllers/admin/custom_templates_controller.rb +25 -0
- data/generators/talia_admin/templates/controllers/admin/locales_controller.rb +15 -0
- data/generators/talia_admin/templates/controllers/admin/sources_controller.rb +71 -0
- data/generators/talia_admin/templates/controllers/admin/translations_controller.rb +61 -0
- data/generators/talia_admin/templates/controllers/admin/users_controller.rb +48 -0
- data/generators/talia_admin/templates/controllers/admin_controller.rb +7 -0
- data/generators/talia_admin/templates/helpers/admin/background_helper.rb +60 -0
- data/generators/talia_admin/templates/helpers/admin/custom_templates_helper.rb +5 -0
- data/generators/talia_admin/templates/helpers/admin/locales_helper.rb +2 -0
- data/generators/talia_admin/templates/helpers/admin/sources_helper.rb +65 -0
- data/generators/talia_admin/templates/helpers/admin/translations_helper.rb +51 -0
- data/generators/talia_admin/templates/helpers/admin/users_helper.rb +2 -0
- data/generators/talia_admin/templates/helpers/admin_helper.rb +11 -0
- data/generators/talia_admin/templates/public/images/backend/body_bg.gif +0 -0
- data/generators/talia_admin/templates/public/images/backend/footer_bg.gif +0 -0
- data/generators/talia_admin/templates/public/images/backend/header.jpg +0 -0
- data/generators/talia_admin/templates/public/images/backend/header_bg.gif +0 -0
- data/generators/talia_admin/templates/public/images/backend/menu.jpg +0 -0
- data/generators/talia_admin/templates/public/images/backend/menu_bg.gif +0 -0
- data/generators/talia_admin/templates/public/images/backend/opednid.gif +0 -0
- data/generators/talia_admin/templates/public/images/backend/page_bg.jpg +0 -0
- data/generators/talia_admin/templates/public/images/backend/triangolino.gif +0 -0
- data/generators/talia_admin/templates/public/images/backend/triangolino_full.gif +0 -0
- data/generators/talia_admin/templates/public/javascripts/backend.js +24 -0
- data/generators/talia_admin/templates/public/javascripts/lowpro.js +321 -0
- data/generators/talia_admin/templates/public/stylesheets/backend.css +466 -0
- data/generators/talia_admin/templates/test/fixtures/users.yml +32 -0
- data/generators/talia_admin/templates/test/functional/admin/custom_templates_controller_test.rb +8 -0
- data/generators/talia_admin/templates/test/functional/admin/locales_controller_test.rb +35 -0
- data/generators/talia_admin/templates/test/functional/admin/sources_controller_test.rb +109 -0
- data/generators/talia_admin/templates/test/functional/admin/translations_controller_test.rb +93 -0
- data/generators/talia_admin/templates/test/functional/admin/users_controller_test.rb +67 -0
- data/generators/talia_admin/templates/test/functional/admin_controller_test.rb +15 -0
- data/generators/talia_admin/templates/test/unit/user_test.rb +134 -0
- data/generators/talia_admin/templates/views/admin/background/_finished.html.erb +9 -0
- data/generators/talia_admin/templates/views/admin/background/_pending.html.erb +1 -0
- data/generators/talia_admin/templates/views/admin/background/_progress.html.erb +15 -0
- data/generators/talia_admin/templates/views/admin/background/_running.html.erb +11 -0
- data/generators/talia_admin/templates/views/admin/background/environment.html.erb +12 -0
- data/generators/talia_admin/templates/views/admin/background/show.html.erb +17 -0
- data/generators/talia_admin/templates/views/admin/background/stderr.html.erb +6 -0
- data/generators/talia_admin/templates/views/admin/background/stdin.html.erb +6 -0
- data/generators/talia_admin/templates/views/admin/background/stdout.html.erb +6 -0
- data/generators/talia_admin/templates/views/admin/custom_templates/_content_form_column.rhtml +2 -0
- data/generators/talia_admin/templates/views/admin/custom_templates/_template_type_form_column.rhtml +2 -0
- data/generators/talia_admin/templates/views/admin/index.html.erb +5 -0
- data/generators/talia_admin/templates/views/admin/locales/new.html.erb +9 -0
- data/generators/talia_admin/templates/views/admin/sources/_data.html.erb +6 -0
- data/generators/talia_admin/templates/views/admin/sources/_data_form.html.erb +15 -0
- data/generators/talia_admin/templates/views/admin/sources/_form.html.erb +7 -0
- data/generators/talia_admin/templates/views/admin/sources/_list.html.erb +3 -0
- data/generators/talia_admin/templates/views/admin/sources/_notice.html.erb +1 -0
- data/generators/talia_admin/templates/views/admin/sources/_predicate.html.erb +22 -0
- data/generators/talia_admin/templates/views/admin/sources/_predicates.html.erb +15 -0
- data/generators/talia_admin/templates/views/admin/sources/_sources.html.erb +17 -0
- data/generators/talia_admin/templates/views/admin/sources/_upload.html.erb +6 -0
- data/generators/talia_admin/templates/views/admin/sources/edit.html.erb +6 -0
- data/generators/talia_admin/templates/views/admin/sources/index.html.erb +5 -0
- data/generators/talia_admin/templates/views/admin/translations/_new_translation.html.erb +7 -0
- data/generators/talia_admin/templates/views/admin/translations/_translation.html.erb +10 -0
- data/generators/talia_admin/templates/views/admin/translations/edit.html.erb +16 -0
- data/generators/talia_admin/templates/views/admin/users/_form.html.erb +10 -0
- data/generators/talia_admin/templates/views/admin/users/_form_roles.html.erb +8 -0
- data/generators/talia_admin/templates/views/admin/users/edit.html.erb +12 -0
- data/generators/talia_admin/templates/views/admin/users/index.html.erb +22 -0
- data/generators/talia_admin/templates/views/admin/users/new.html.erb +5 -0
- data/generators/talia_admin/templates/views/admin/users/show.html.erb +6 -0
- data/generators/talia_admin/templates/views/layouts/admin.html.erb +56 -0
- data/generators/talia_base/USAGE +5 -0
- data/generators/talia_base/talia_base_generator.rb +62 -0
- data/generators/talia_base/templates/app/controllers/custom_templates_controller.rb +27 -0
- data/generators/talia_base/templates/app/controllers/ontologies_controller.rb +13 -0
- data/generators/talia_base/templates/app/controllers/sessions_controller.rb +90 -0
- data/generators/talia_base/templates/app/controllers/source_data/show.html.erb +2 -0
- data/generators/talia_base/templates/app/controllers/source_data_controller.rb +43 -0
- data/generators/talia_base/templates/app/controllers/sources_controller.rb +62 -0
- data/generators/talia_base/templates/app/controllers/types_controller.rb +23 -0
- data/generators/talia_base/templates/app/helpers/custom_templates_helper.rb +2 -0
- data/generators/talia_base/templates/app/helpers/ontologies_helper.rb +2 -0
- data/generators/talia_base/templates/app/helpers/sessions_helper.rb +2 -0
- data/generators/talia_base/templates/app/helpers/source_data/show.html.erb +2 -0
- data/generators/talia_base/templates/app/helpers/source_data_helper.rb +2 -0
- data/generators/talia_base/templates/app/helpers/sources_helper.rb +39 -0
- data/generators/talia_base/templates/app/helpers/types_helper.rb +2 -0
- data/generators/talia_base/templates/app/views/ontologies/index.builder +10 -0
- data/generators/talia_base/templates/app/views/ontologies/show.builder +7 -0
- data/generators/talia_base/templates/app/views/sessions/new.html.erb +33 -0
- data/generators/talia_base/templates/app/views/source_data/show.html.erb +2 -0
- data/generators/talia_base/templates/app/views/sources/_form.html.erb +15 -0
- data/generators/talia_base/templates/app/views/sources/edit.html.erb +9 -0
- data/generators/talia_base/templates/app/views/sources/index.html.erb +2 -0
- data/generators/talia_base/templates/app/views/sources/new.html.erb +8 -0
- data/generators/talia_base/templates/app/views/sources/show.html.erb +19 -0
- data/generators/talia_base/templates/app/views/types/index.html.erb +4 -0
- data/generators/talia_base/templates/app/views/types/show.html.erb +3 -0
- data/generators/talia_base/templates/config/routes.rb +83 -0
- data/generators/talia_base/templates/config/talia_initializer.rb +8 -0
- data/generators/talia_base/templates/migrations/bj_migration.rb +10 -0
- data/generators/talia_base/templates/migrations/constraint_migration.rb +24 -0
- data/generators/talia_base/templates/migrations/create_active_sources.rb +15 -0
- data/generators/talia_base/templates/migrations/create_custom_templates.rb +17 -0
- data/generators/talia_base/templates/migrations/create_data_records.rb +27 -0
- data/generators/talia_base/templates/migrations/create_open_id.rb +26 -0
- data/generators/talia_base/templates/migrations/create_progress_jobs.rb +18 -0
- data/generators/talia_base/templates/migrations/create_roles.rb +20 -0
- data/generators/talia_base/templates/migrations/create_semantic_properties.rb +14 -0
- data/generators/talia_base/templates/migrations/create_semantic_relations.rb +17 -0
- data/generators/talia_base/templates/migrations/create_sessions.rb +16 -0
- data/generators/talia_base/templates/migrations/create_users.rb +20 -0
- data/generators/talia_base/templates/migrations/create_workflows.rb +28 -0
- data/generators/talia_base/templates/migrations/populate_users.rb +11 -0
- data/generators/talia_base/templates/migrations/upgrade_relations.rb +12 -0
- data/generators/talia_base/templates/ontologies/hyper_ontology.owl +1462 -0
- data/generators/talia_base/templates/ontologies/hyper_ontology.pprj +9351 -0
- data/generators/talia_base/templates/ontologies/hyper_ontology.repository +6 -0
- data/generators/talia_base/templates/ontologies/scholar_0.1.owl +109 -0
- data/generators/talia_base/templates/script/configure_talia +292 -0
- data/generators/talia_base/templates/script/prepare_images +100 -0
- data/generators/talia_base/templates/talia.sh +51 -0
- data/generators/talia_base/templates/tasks/talia_core.rk +1 -0
- data/lib/loader_helper.rb +9 -0
- data/lib/talia_core.rb +0 -2
- data/lib/talia_dependencies.rb +5 -0
- data/lib/talia_util/rake_tasks.rb +223 -0
- data/tasks/talia_core_tasks.rake +2 -0
- metadata +138 -13
@@ -0,0 +1,223 @@
|
|
1
|
+
# Rake tasks for the talia core
|
2
|
+
|
3
|
+
require 'rake'
|
4
|
+
require 'yaml'
|
5
|
+
require 'talia_core'
|
6
|
+
require 'talia_util'
|
7
|
+
require 'talia_util/util'
|
8
|
+
require 'rake/testtask'
|
9
|
+
require 'rake/rdoctask'
|
10
|
+
require 'progressbar'
|
11
|
+
|
12
|
+
include TaliaUtil
|
13
|
+
|
14
|
+
namespace :talia_core do
|
15
|
+
|
16
|
+
# Standard initialization
|
17
|
+
desc "Initialize the TaliaCore"
|
18
|
+
task :talia_init do
|
19
|
+
Util::title
|
20
|
+
Util::init_talia
|
21
|
+
TLoad::force_rails_parts
|
22
|
+
Util::talia_config if(Util::flag?('verbose'))
|
23
|
+
# Add load paths to allow autoloading of all class from this tasks
|
24
|
+
ActiveSupport::Dependencies.load_paths << File.join(TALIA_ROOT, 'lib')
|
25
|
+
model_path = File.join(TALIA_ROOT, 'app', 'models')
|
26
|
+
ActiveSupport::Dependencies.load_paths << model_path if(File.directory?(model_path))
|
27
|
+
end
|
28
|
+
|
29
|
+
# Removes all data
|
30
|
+
desc "Reset the Talia data store"
|
31
|
+
task :clear_store => :talia_init do
|
32
|
+
Util::flush_db
|
33
|
+
Util::flush_rdf
|
34
|
+
puts "Flushed data store"
|
35
|
+
end
|
36
|
+
|
37
|
+
# Init for the unit tests
|
38
|
+
desc "Initialize Talia for the tests"
|
39
|
+
task :test_setup do
|
40
|
+
unless(ENV['environment'])
|
41
|
+
puts "Setting environment to 'test'"
|
42
|
+
ENV['environment'] = "test"
|
43
|
+
end
|
44
|
+
|
45
|
+
# Invoke the init after the setup
|
46
|
+
Rake::Task["talia_core:talia_init"].invoke
|
47
|
+
end
|
48
|
+
|
49
|
+
# Test task
|
50
|
+
desc 'Test the talia_core plugin.'
|
51
|
+
task :test => :test_setup
|
52
|
+
# Create the test tasks
|
53
|
+
Rake::TestTask.new(:test) do |t|
|
54
|
+
t.libs << 'lib'
|
55
|
+
# This will always take the files from the talia_core directory
|
56
|
+
t.test_files = FileList["#{File.dirname(__FILE__)}/../test/**/*_test.rb"]
|
57
|
+
t.verbose = true
|
58
|
+
end
|
59
|
+
|
60
|
+
# Queue an import in the background
|
61
|
+
desc "Xml Background import. Options: [index=<indexfile>] [xml=<datafile>] [importer=<importclass>] [reset_store=true] [...]"
|
62
|
+
task :xml_background_import do
|
63
|
+
background_job('xml_import', :tag => 'import')
|
64
|
+
puts "Queued XML background import."
|
65
|
+
end
|
66
|
+
|
67
|
+
desc "Xml Import. Options: see xml_background_import"
|
68
|
+
task :xml_import => :talia_init do
|
69
|
+
importer = TaliaUtil::ImportJobHelper.new(STDOUT, TaliaUtil::BarProgressor)
|
70
|
+
importer.do_import
|
71
|
+
end
|
72
|
+
|
73
|
+
# Just run the Talia init to test it
|
74
|
+
desc "Test the TaliaCore startup"
|
75
|
+
task :init_test => :talia_init do
|
76
|
+
Util::talia_config
|
77
|
+
end
|
78
|
+
|
79
|
+
# Task for importing ontologies/raw RDF data
|
80
|
+
desc "Import ontologies. This imports the given rdf files (same as rdf_import), and sets the context automatically"
|
81
|
+
task :ontology_import => :talia_init do
|
82
|
+
TaliaCore::RdfImport::import(ENV['rdf_syntax'], TaliaUtil::Util::get_files, :auto)
|
83
|
+
end
|
84
|
+
|
85
|
+
# RDF importing task. A context can be freely assigned.
|
86
|
+
desc "Import RDF data directly into the triple store. Option: rdf_syntax={ntriples|rdfxml} [context=<context>]"
|
87
|
+
task :rdf_import => :talia_init do
|
88
|
+
TaliaCore::RdfImport::import(ENV['rdf_syntax'], TaliaUtil::Util::get_files, ENV['context'])
|
89
|
+
end
|
90
|
+
|
91
|
+
desc "Update the Ontologies. Options [ontologies=<ontology_folder>]"
|
92
|
+
task :setup_ontologies => :talia_init do
|
93
|
+
Util::setup_ontologies
|
94
|
+
end
|
95
|
+
|
96
|
+
# Rewrite your base URL. This will loose any comments in the config file
|
97
|
+
desc "Rewrite the database to move it to a new URL. Options new_home=<url>."
|
98
|
+
task :move_site => :talia_init do
|
99
|
+
new_site = ENV['new_home']
|
100
|
+
# Check if this looks like an URL
|
101
|
+
raise(RuntimeError, "Illegal new_home given. (It must start with http(s):// and end with a slash)") unless(new_site =~ /^https?:\/\/\S+\/$/)
|
102
|
+
# open up the configuration file
|
103
|
+
config_file_path = File.join(TALIA_ROOT, 'config', 'talia_core.yml')
|
104
|
+
config = YAML::load(File.open(config_file_path))
|
105
|
+
old_site = config['local_uri']
|
106
|
+
raise(RuntimeError, "Could not determine current local URI") unless(old_site && old_site.strip != '')
|
107
|
+
puts "New home URL: #{new_site}"
|
108
|
+
puts "Original home URL: #{old_site}"
|
109
|
+
# Rewrite the sql database
|
110
|
+
ActiveRecord::Base.connection.execute("UPDATE active_sources SET uri = replace(uri, '#{old_site}', '#{new_site}')")
|
111
|
+
puts('Updated database, now recreating RDF')
|
112
|
+
# Rebuild the RDF
|
113
|
+
prog = ProgressBar.new('Rebuilding', Util::rewrite_count)
|
114
|
+
Util::rewrite_rdf { prog.inc }
|
115
|
+
prog.finish
|
116
|
+
# Rebuild the ontologies
|
117
|
+
Util::setup_ontologies
|
118
|
+
# Write back to the config file
|
119
|
+
config['local_uri'] = new_site
|
120
|
+
open(config_file_path, 'w') { |io| io.puts(config.to_yaml) }
|
121
|
+
puts "New configuration saved. Finished site rebuilding."
|
122
|
+
end
|
123
|
+
|
124
|
+
# Task for importing YAML data into the data store
|
125
|
+
desc "Import YAML data file in Talia format."
|
126
|
+
task :yaml_import => :talia_init do
|
127
|
+
YamlImport::import_multi_files(TaliaUtil::Util::get_files)
|
128
|
+
end
|
129
|
+
|
130
|
+
# Task for updating the OWL classes with RDFS class information
|
131
|
+
desc "Update OWL classes with RDFS class information."
|
132
|
+
task :owl_to_rdfs_update => :talia_init do
|
133
|
+
RdfUpdate::owl_to_rdfs
|
134
|
+
end
|
135
|
+
|
136
|
+
# Task to import data files into the Talia system
|
137
|
+
desc "Import data files. Options data_type=<data_type> replace_files={yes|no}"
|
138
|
+
task :data_import => :talia_init do
|
139
|
+
DataImport::import(TaliaUtil::Util::get_files, ENV['data_type'])
|
140
|
+
end
|
141
|
+
|
142
|
+
# Task to import demo data from a demo directory
|
143
|
+
desc "Import demo data (for default demo data). Opions: demodir=<dir> [owlify=no]"
|
144
|
+
task :demo_import do
|
145
|
+
unless(demodir = ENV['demodir'])
|
146
|
+
puts "ERROR: Need demodir option for import"
|
147
|
+
Util::print_options
|
148
|
+
exit(1)
|
149
|
+
end
|
150
|
+
|
151
|
+
# Force some options to default
|
152
|
+
ENV['reset_db'] = "yes" unless(ENV['reset_db'])
|
153
|
+
ENV['reset_rdf'] = "yes" unless(ENV['reset_rdf'])
|
154
|
+
|
155
|
+
# Invoke the init after the setup
|
156
|
+
Rake::Task["talia_core:talia_init"].invoke
|
157
|
+
|
158
|
+
puts "Importing ontologies..."
|
159
|
+
RdfImport::import("rdfxml", FileList.new(File.join(demodir, '*.rdf*'), File.join(demodir, '*.owl')))
|
160
|
+
puts "Importing data records..."
|
161
|
+
YamlImport::import_multi_files([File.join(demodir, "demo_data.yml")])
|
162
|
+
puts "Importing files..."
|
163
|
+
Dir.foreach(File.join(demodir)) do |entry|
|
164
|
+
if(FileTest.directory?(File.join(demodir,entry)) && entry != ".." && entry != "." && entry != ".svn")
|
165
|
+
puts "Importing for type #{entry}"
|
166
|
+
DataImport::import(FileList.new(File.join(demodir, entry, '*')), entry)
|
167
|
+
end
|
168
|
+
end
|
169
|
+
if(ENV['owlify'].to_s.downcase == 'yes')
|
170
|
+
RdfUpdate::owl_to_rdfs
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
# Helper task to bootstrap Redland RDF (should usually only be a problem when
|
175
|
+
# using Redland with mysql store)
|
176
|
+
desc "Initialize Redland RDF store. Option: rdfconf=<rdfconfig_file> [environment=env]"
|
177
|
+
task :redland_init do
|
178
|
+
# This simply activates the RDF store once with the :new option set.
|
179
|
+
Util.title
|
180
|
+
environment = ENV['environment'] || "development"
|
181
|
+
raise(ArgumentError, "Must have rdfconf=<config_file>") unless(ENV['rdfconf'])
|
182
|
+
options = YAML::load(File.open(ENV['rdfconf']))[environment]
|
183
|
+
|
184
|
+
rdf_cfg = Hash.new
|
185
|
+
options.each { |key, value| rdf_cfg[key.to_sym] = value }
|
186
|
+
|
187
|
+
rdf_cfg[:new] = "yes"
|
188
|
+
|
189
|
+
ConnectionPool.add_data_source(rdf_cfg)
|
190
|
+
end
|
191
|
+
|
192
|
+
# Help info
|
193
|
+
desc "Help on general options for the TaliaCore tasks"
|
194
|
+
task :help do
|
195
|
+
Util.title
|
196
|
+
puts "Talia Core tasks usage information."
|
197
|
+
Util::print_options
|
198
|
+
end
|
199
|
+
|
200
|
+
desc "Rebuild the RDF store from the database. Option [hard_reset=(true|false)]"
|
201
|
+
task :rebuild_rdf => :talia_init do
|
202
|
+
count = TaliaCore::SemanticRelation.count
|
203
|
+
puts "Rebuilding RDF for #{count} triples."
|
204
|
+
prog = ProgressBar.new('Rebuilding', count)
|
205
|
+
Util::rewrite_rdf { prog.inc }
|
206
|
+
prog.finish
|
207
|
+
puts "Finished rewriting. ATTENTION: You may want to call setup_ontologies now."
|
208
|
+
end
|
209
|
+
|
210
|
+
# Helper methods
|
211
|
+
|
212
|
+
# Queue the long-running task in the background processing queue.
|
213
|
+
# This will simply queue the job, and doesn't start the runner
|
214
|
+
# by itself
|
215
|
+
def background_job(job, options)
|
216
|
+
# Use the current environment for the job
|
217
|
+
options[:env] = ENV.merge(options[:env] || {})
|
218
|
+
# Avoid "tickling" to start the background job from here
|
219
|
+
options[:no_tickle] = true
|
220
|
+
TaliaCore::BackgroundJobs::Job.submit_with_progress(job, options)
|
221
|
+
end
|
222
|
+
|
223
|
+
end
|
metadata
CHANGED
@@ -5,10 +5,143 @@ homepage: http://trac.talia.discovery-project.eu/
|
|
5
5
|
executables:
|
6
6
|
- talia
|
7
7
|
version: !ruby/object:Gem::Version
|
8
|
-
version: 0.4.
|
8
|
+
version: 0.4.2
|
9
9
|
post_install_message:
|
10
|
-
date: 2009-10-
|
10
|
+
date: 2009-10-15 22:00:00 +00:00
|
11
11
|
files:
|
12
|
+
- VERSION.yml
|
13
|
+
- config/database.yml
|
14
|
+
- config/database.yml.example
|
15
|
+
- config/rdfstore.yml
|
16
|
+
- config/rdfstore.yml.example
|
17
|
+
- config/rdfstore.yml.rdflite_example
|
18
|
+
- config/rdfstore.yml.redland_example
|
19
|
+
- config/talia_core.yml
|
20
|
+
- config/talia_core.yml.example
|
21
|
+
- generators/generator_helpers.rb
|
22
|
+
- generators/talia_admin/USAGE
|
23
|
+
- generators/talia_admin/talia_admin_generator.rb
|
24
|
+
- generators/talia_admin/templates/controllers/admin/background_controller.rb
|
25
|
+
- generators/talia_admin/templates/controllers/admin/custom_templates_controller.rb
|
26
|
+
- generators/talia_admin/templates/controllers/admin/locales_controller.rb
|
27
|
+
- generators/talia_admin/templates/controllers/admin/sources_controller.rb
|
28
|
+
- generators/talia_admin/templates/controllers/admin/translations_controller.rb
|
29
|
+
- generators/talia_admin/templates/controllers/admin/users_controller.rb
|
30
|
+
- generators/talia_admin/templates/controllers/admin_controller.rb
|
31
|
+
- generators/talia_admin/templates/helpers/admin/background_helper.rb
|
32
|
+
- generators/talia_admin/templates/helpers/admin/custom_templates_helper.rb
|
33
|
+
- generators/talia_admin/templates/helpers/admin/locales_helper.rb
|
34
|
+
- generators/talia_admin/templates/helpers/admin/sources_helper.rb
|
35
|
+
- generators/talia_admin/templates/helpers/admin/translations_helper.rb
|
36
|
+
- generators/talia_admin/templates/helpers/admin/users_helper.rb
|
37
|
+
- generators/talia_admin/templates/helpers/admin_helper.rb
|
38
|
+
- generators/talia_admin/templates/public/images/backend/body_bg.gif
|
39
|
+
- generators/talia_admin/templates/public/images/backend/footer_bg.gif
|
40
|
+
- generators/talia_admin/templates/public/images/backend/header.jpg
|
41
|
+
- generators/talia_admin/templates/public/images/backend/header_bg.gif
|
42
|
+
- generators/talia_admin/templates/public/images/backend/menu.jpg
|
43
|
+
- generators/talia_admin/templates/public/images/backend/menu_bg.gif
|
44
|
+
- generators/talia_admin/templates/public/images/backend/opednid.gif
|
45
|
+
- generators/talia_admin/templates/public/images/backend/page_bg.jpg
|
46
|
+
- generators/talia_admin/templates/public/images/backend/triangolino.gif
|
47
|
+
- generators/talia_admin/templates/public/images/backend/triangolino_full.gif
|
48
|
+
- generators/talia_admin/templates/public/javascripts/backend.js
|
49
|
+
- generators/talia_admin/templates/public/javascripts/lowpro.js
|
50
|
+
- generators/talia_admin/templates/public/stylesheets/backend.css
|
51
|
+
- generators/talia_admin/templates/test/fixtures/users.yml
|
52
|
+
- generators/talia_admin/templates/test/functional/admin/custom_templates_controller_test.rb
|
53
|
+
- generators/talia_admin/templates/test/functional/admin/locales_controller_test.rb
|
54
|
+
- generators/talia_admin/templates/test/functional/admin/sources_controller_test.rb
|
55
|
+
- generators/talia_admin/templates/test/functional/admin/translations_controller_test.rb
|
56
|
+
- generators/talia_admin/templates/test/functional/admin/users_controller_test.rb
|
57
|
+
- generators/talia_admin/templates/test/functional/admin_controller_test.rb
|
58
|
+
- generators/talia_admin/templates/test/unit/user_test.rb
|
59
|
+
- generators/talia_admin/templates/views/admin/background/_finished.html.erb
|
60
|
+
- generators/talia_admin/templates/views/admin/background/_pending.html.erb
|
61
|
+
- generators/talia_admin/templates/views/admin/background/_progress.html.erb
|
62
|
+
- generators/talia_admin/templates/views/admin/background/_running.html.erb
|
63
|
+
- generators/talia_admin/templates/views/admin/background/environment.html.erb
|
64
|
+
- generators/talia_admin/templates/views/admin/background/show.html.erb
|
65
|
+
- generators/talia_admin/templates/views/admin/background/stderr.html.erb
|
66
|
+
- generators/talia_admin/templates/views/admin/background/stdin.html.erb
|
67
|
+
- generators/talia_admin/templates/views/admin/background/stdout.html.erb
|
68
|
+
- generators/talia_admin/templates/views/admin/custom_templates/_content_form_column.rhtml
|
69
|
+
- generators/talia_admin/templates/views/admin/custom_templates/_template_type_form_column.rhtml
|
70
|
+
- generators/talia_admin/templates/views/admin/index.html.erb
|
71
|
+
- generators/talia_admin/templates/views/admin/locales/new.html.erb
|
72
|
+
- generators/talia_admin/templates/views/admin/sources/_data.html.erb
|
73
|
+
- generators/talia_admin/templates/views/admin/sources/_data_form.html.erb
|
74
|
+
- generators/talia_admin/templates/views/admin/sources/_form.html.erb
|
75
|
+
- generators/talia_admin/templates/views/admin/sources/_list.html.erb
|
76
|
+
- generators/talia_admin/templates/views/admin/sources/_notice.html.erb
|
77
|
+
- generators/talia_admin/templates/views/admin/sources/_predicate.html.erb
|
78
|
+
- generators/talia_admin/templates/views/admin/sources/_predicates.html.erb
|
79
|
+
- generators/talia_admin/templates/views/admin/sources/_sources.html.erb
|
80
|
+
- generators/talia_admin/templates/views/admin/sources/_upload.html.erb
|
81
|
+
- generators/talia_admin/templates/views/admin/sources/edit.html.erb
|
82
|
+
- generators/talia_admin/templates/views/admin/sources/index.html.erb
|
83
|
+
- generators/talia_admin/templates/views/admin/translations/_new_translation.html.erb
|
84
|
+
- generators/talia_admin/templates/views/admin/translations/_translation.html.erb
|
85
|
+
- generators/talia_admin/templates/views/admin/translations/edit.html.erb
|
86
|
+
- generators/talia_admin/templates/views/admin/users/_form.html.erb
|
87
|
+
- generators/talia_admin/templates/views/admin/users/_form_roles.html.erb
|
88
|
+
- generators/talia_admin/templates/views/admin/users/edit.html.erb
|
89
|
+
- generators/talia_admin/templates/views/admin/users/index.html.erb
|
90
|
+
- generators/talia_admin/templates/views/admin/users/new.html.erb
|
91
|
+
- generators/talia_admin/templates/views/admin/users/show.html.erb
|
92
|
+
- generators/talia_admin/templates/views/layouts/admin.html.erb
|
93
|
+
- generators/talia_base/USAGE
|
94
|
+
- generators/talia_base/talia_base_generator.rb
|
95
|
+
- generators/talia_base/templates/app/controllers/custom_templates_controller.rb
|
96
|
+
- generators/talia_base/templates/app/controllers/ontologies_controller.rb
|
97
|
+
- generators/talia_base/templates/app/controllers/sessions_controller.rb
|
98
|
+
- generators/talia_base/templates/app/controllers/source_data/show.html.erb
|
99
|
+
- generators/talia_base/templates/app/controllers/source_data_controller.rb
|
100
|
+
- generators/talia_base/templates/app/controllers/sources_controller.rb
|
101
|
+
- generators/talia_base/templates/app/controllers/types_controller.rb
|
102
|
+
- generators/talia_base/templates/app/helpers/custom_templates_helper.rb
|
103
|
+
- generators/talia_base/templates/app/helpers/ontologies_helper.rb
|
104
|
+
- generators/talia_base/templates/app/helpers/sessions_helper.rb
|
105
|
+
- generators/talia_base/templates/app/helpers/source_data/show.html.erb
|
106
|
+
- generators/talia_base/templates/app/helpers/source_data_helper.rb
|
107
|
+
- generators/talia_base/templates/app/helpers/sources_helper.rb
|
108
|
+
- generators/talia_base/templates/app/helpers/types_helper.rb
|
109
|
+
- generators/talia_base/templates/app/views/ontologies/index.builder
|
110
|
+
- generators/talia_base/templates/app/views/ontologies/show.builder
|
111
|
+
- generators/talia_base/templates/app/views/sessions/new.html.erb
|
112
|
+
- generators/talia_base/templates/app/views/source_data/show.html.erb
|
113
|
+
- generators/talia_base/templates/app/views/sources/_form.html.erb
|
114
|
+
- generators/talia_base/templates/app/views/sources/edit.html.erb
|
115
|
+
- generators/talia_base/templates/app/views/sources/index.html.erb
|
116
|
+
- generators/talia_base/templates/app/views/sources/new.html.erb
|
117
|
+
- generators/talia_base/templates/app/views/sources/show.html.erb
|
118
|
+
- generators/talia_base/templates/app/views/types/index.html.erb
|
119
|
+
- generators/talia_base/templates/app/views/types/show.html.erb
|
120
|
+
- generators/talia_base/templates/config/routes.rb
|
121
|
+
- generators/talia_base/templates/config/talia_initializer.rb
|
122
|
+
- generators/talia_base/templates/migrations/bj_migration.rb
|
123
|
+
- generators/talia_base/templates/migrations/constraint_migration.rb
|
124
|
+
- generators/talia_base/templates/migrations/create_active_sources.rb
|
125
|
+
- generators/talia_base/templates/migrations/create_custom_templates.rb
|
126
|
+
- generators/talia_base/templates/migrations/create_data_records.rb
|
127
|
+
- generators/talia_base/templates/migrations/create_open_id.rb
|
128
|
+
- generators/talia_base/templates/migrations/create_progress_jobs.rb
|
129
|
+
- generators/talia_base/templates/migrations/create_roles.rb
|
130
|
+
- generators/talia_base/templates/migrations/create_semantic_properties.rb
|
131
|
+
- generators/talia_base/templates/migrations/create_semantic_relations.rb
|
132
|
+
- generators/talia_base/templates/migrations/create_sessions.rb
|
133
|
+
- generators/talia_base/templates/migrations/create_users.rb
|
134
|
+
- generators/talia_base/templates/migrations/create_workflows.rb
|
135
|
+
- generators/talia_base/templates/migrations/populate_users.rb
|
136
|
+
- generators/talia_base/templates/migrations/upgrade_relations.rb
|
137
|
+
- generators/talia_base/templates/ontologies/hyper_ontology.owl
|
138
|
+
- generators/talia_base/templates/ontologies/hyper_ontology.pprj
|
139
|
+
- generators/talia_base/templates/ontologies/hyper_ontology.repository
|
140
|
+
- generators/talia_base/templates/ontologies/scholar_0.1.owl
|
141
|
+
- generators/talia_base/templates/script/configure_talia
|
142
|
+
- generators/talia_base/templates/script/prepare_images
|
143
|
+
- generators/talia_base/templates/talia.sh
|
144
|
+
- generators/talia_base/templates/tasks/talia_core.rk
|
12
145
|
- lib/JXslt/jxslt.rb
|
13
146
|
- lib/acts_as_roled.rb
|
14
147
|
- lib/core_ext.rb
|
@@ -92,6 +225,7 @@ files:
|
|
92
225
|
- lib/talia_util/io_helper.rb
|
93
226
|
- lib/talia_util/progressable.rb
|
94
227
|
- lib/talia_util/progressbar.rb
|
228
|
+
- lib/talia_util/rake_tasks.rb
|
95
229
|
- lib/talia_util/rdf_update.rb
|
96
230
|
- lib/talia_util/some_sigla.xml
|
97
231
|
- lib/talia_util/test_helpers.rb
|
@@ -99,6 +233,7 @@ files:
|
|
99
233
|
- lib/talia_util/yaml_import.rb
|
100
234
|
- lib/user.rb
|
101
235
|
- lib/version.rb
|
236
|
+
- tasks/talia_core_tasks.rake
|
102
237
|
- README.rdoc
|
103
238
|
rubygems_version: 1.3.5
|
104
239
|
rdoc_options:
|
@@ -226,7 +361,7 @@ dependencies:
|
|
226
361
|
requirements:
|
227
362
|
- - '>='
|
228
363
|
- !ruby/object:Gem::Version
|
229
|
-
version: 0.
|
364
|
+
version: 0.6.1
|
230
365
|
- !ruby/object:Gem::Dependency
|
231
366
|
type: :runtime
|
232
367
|
name: oai
|
@@ -277,16 +412,6 @@ dependencies:
|
|
277
412
|
- - '>='
|
278
413
|
- !ruby/object:Gem::Version
|
279
414
|
version: 0.7.1
|
280
|
-
- !ruby/object:Gem::Dependency
|
281
|
-
type: :runtime
|
282
|
-
name: json
|
283
|
-
version_requirement:
|
284
|
-
version_requirements: !ruby/object:Gem::Requirement
|
285
|
-
version:
|
286
|
-
requirements:
|
287
|
-
- - '>='
|
288
|
-
- !ruby/object:Gem::Version
|
289
|
-
version: 1.1.0
|
290
415
|
description: This is the core plugin for building a digital library with Talia/Rails.
|
291
416
|
email: ghub@limitedcreativity.org
|
292
417
|
authors:
|