enju_library 0.2.0.beta.1 → 0.2.0.beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/concerns/enju_library/controller.rb +218 -0
  3. data/app/controllers/user_export_files_controller.rb +116 -0
  4. data/app/controllers/user_groups_controller.rb +118 -0
  5. data/app/controllers/user_import_files_controller.rb +129 -0
  6. data/app/controllers/user_import_results_controller.rb +57 -0
  7. data/app/mailers/notifier.rb +30 -0
  8. data/app/models/user_export_file.rb +67 -0
  9. data/app/models/user_export_file_state_machine.rb +15 -0
  10. data/app/models/user_export_file_transition.rb +20 -0
  11. data/app/models/user_group.rb +29 -0
  12. data/app/models/user_import_file.rb +352 -0
  13. data/app/models/user_import_file_state_machine.rb +19 -0
  14. data/app/models/user_import_file_transition.rb +20 -0
  15. data/app/models/user_import_result.rb +20 -0
  16. data/app/policies/user_export_file_policy.rb +21 -0
  17. data/app/policies/user_group_policy.rb +22 -0
  18. data/app/policies/user_import_file_policy.rb +21 -0
  19. data/app/policies/user_import_result_policy.rb +21 -0
  20. data/app/views/accepts/index.js.slim +3 -0
  21. data/app/views/libraries/_map.html+phone.slim +4 -0
  22. data/app/views/libraries/show.html+phone.slim +32 -0
  23. data/app/views/libraries/show.js.slim +3 -0
  24. data/app/views/shelves/show.html+phone.slim +33 -0
  25. data/app/views/user_export_files/_form.html.erb +12 -0
  26. data/app/views/user_export_files/edit.html.erb +6 -0
  27. data/app/views/user_export_files/index.html.erb +44 -0
  28. data/app/views/user_export_files/new.html.erb +16 -0
  29. data/app/views/user_export_files/show.html.erb +36 -0
  30. data/app/views/user_groups/_form.html.erb +40 -0
  31. data/app/views/user_groups/edit.html.erb +13 -0
  32. data/app/views/user_groups/index.html.erb +51 -0
  33. data/app/views/user_groups/new.html.erb +12 -0
  34. data/app/views/user_groups/show.html.erb +68 -0
  35. data/app/views/user_import_files/_form.html.erb +61 -0
  36. data/app/views/user_import_files/_results.html.erb +22 -0
  37. data/app/views/user_import_files/edit.html.erb +6 -0
  38. data/app/views/user_import_files/index.html.erb +45 -0
  39. data/app/views/user_import_files/new.html.erb +60 -0
  40. data/app/views/user_import_files/show.html.erb +85 -0
  41. data/app/views/user_import_results/_form.html.erb +29 -0
  42. data/app/views/user_import_results/_list.html.erb +22 -0
  43. data/app/views/user_import_results/_list_lines.html.erb +24 -0
  44. data/app/views/user_import_results/index.html.erb +25 -0
  45. data/app/views/user_import_results/index.txt.erb +3 -0
  46. data/app/views/user_import_results/show.html.erb +33 -0
  47. data/{spec/dummy/db → db}/migrate/077_create_user_groups.rb +0 -0
  48. data/{spec/dummy/db → db}/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb +0 -0
  49. data/{spec/dummy/db → db}/migrate/20140110122216_create_user_import_files.rb +1 -1
  50. data/{spec/dummy/db → db}/migrate/20140110131010_create_user_import_results.rb +0 -0
  51. data/{spec/dummy/db → db}/migrate/20140524074813_create_user_import_file_transitions.rb +0 -0
  52. data/{spec/dummy/db → db}/migrate/20140628072217_add_user_encoding_to_user_import_file.rb +0 -0
  53. data/{spec/dummy/db → db}/migrate/20140709113413_create_user_export_files.rb +0 -0
  54. data/{spec/dummy/db → db}/migrate/20140709113905_create_user_export_file_transitions.rb +0 -0
  55. data/{spec/dummy/db → db}/migrate/20140720170714_add_default_library_id_to_user_import_file.rb +0 -0
  56. data/{spec/dummy/db → db}/migrate/20140720170735_add_default_user_group_id_to_user_import_file.rb +0 -0
  57. data/db/migrate/20150506105356_add_error_message_to_user_import_result.rb +5 -0
  58. data/db/migrate/20160610093229_add_html_snippet_to_library_group.rb +5 -0
  59. data/db/migrate/20160627232219_add_most_recent_to_user_import_file_transitions.rb +9 -0
  60. data/db/migrate/20160627232316_add_most_recent_to_user_export_file_transitions.rb +9 -0
  61. data/lib/enju_library/engine.rb +3 -1
  62. data/lib/enju_library/version.rb +1 -1
  63. data/spec/controllers/user_export_files_controller_spec.rb +296 -0
  64. data/spec/controllers/user_groups_controller_spec.rb +443 -0
  65. data/spec/controllers/user_import_files_controller_spec.rb +305 -0
  66. data/spec/controllers/user_import_results_controller_spec.rb +154 -0
  67. data/spec/dummy/app/controllers/application_controller.rb +2 -2
  68. data/spec/dummy/config/application.rb +0 -2
  69. data/spec/dummy/db/migrate/055_create_bookmarks.rb +22 -0
  70. data/spec/dummy/db/migrate/090_create_search_histories.rb +31 -0
  71. data/spec/dummy/db/migrate/20081212151614_create_bookmark_stats.rb +13 -0
  72. data/spec/dummy/db/migrate/20081212151820_create_bookmark_stat_has_manifestations.rb +13 -0
  73. data/spec/dummy/db/migrate/20100222124420_add_allow_bookmark_external_url_to_library_group.rb +9 -0
  74. data/spec/dummy/db/migrate/20100525171356_acts_as_taggable_on_migration.rb +30 -0
  75. data/spec/dummy/db/migrate/20100623173800_rename_search_history_version_to_sru_version.rb +9 -0
  76. data/spec/dummy/db/migrate/20111129044509_add_pickup_location_to_reserve.rb +6 -0
  77. data/spec/dummy/db/migrate/20120418121539_add_save_search_history_to_user.rb +5 -0
  78. data/spec/dummy/db/migrate/20140524135607_create_bookmark_stat_transitions.rb +18 -0
  79. data/spec/dummy/db/migrate/20140811132912_add_save_search_history_to_profile.rb +5 -0
  80. data/spec/dummy/db/migrate/20140812093836_add_share_bookmarks_to_profile.rb +5 -0
  81. data/spec/dummy/db/migrate/20150106001709_create_demands.rb +14 -0
  82. data/spec/dummy/db/migrate/20150421023923_create_identities.rb +15 -0
  83. data/spec/dummy/db/migrate/20151126005552_add_provider_to_identity.rb +5 -0
  84. data/spec/dummy/db/migrate/20160703184619_add_most_recent_to_reserve_transitions.rb +9 -0
  85. data/spec/dummy/db/migrate/20160703184650_add_most_recent_to_manifestation_checkout_stat_transitions.rb +9 -0
  86. data/spec/dummy/db/migrate/20160703184723_add_most_recent_to_manifestation_reserve_stat_transitions.rb +9 -0
  87. data/spec/dummy/db/migrate/20160703184747_add_most_recent_to_user_checkout_stat_transitions.rb +9 -0
  88. data/spec/dummy/db/migrate/20160703184805_add_most_recent_to_user_reserve_stat_transitions.rb +9 -0
  89. data/spec/dummy/db/migrate/20160703190209_add_foreign_key_on_manifestation_id_to_reserve.rb +5 -0
  90. data/spec/dummy/db/schema.rb +141 -6
  91. data/spec/dummy/db/test.sqlite3 +0 -0
  92. data/spec/dummy/private/system/user_export_files/user_exports/000/000/001/original/user_export_file_20160808-8463-13fk7qo.txt +8 -0
  93. data/spec/dummy/private/system/user_export_files/user_exports/000/000/001/original/user_export_file_20160808-8463-y41sj6.txt +8 -0
  94. data/spec/dummy/private/system/user_export_files/user_exports/000/000/001/original/user_export_file_20160808-8517-1tzre93.txt +8 -0
  95. data/spec/dummy/private/system/user_export_files/user_exports/000/000/001/original/user_export_file_20160808-8517-qait5x.txt +8 -0
  96. data/spec/dummy/private/system/user_export_files/user_exports/000/000/001/original/user_export_file_20160808-8605-17zb3sz.txt +8 -0
  97. data/spec/dummy/private/system/user_export_files/user_exports/000/000/001/original/user_export_file_20160808-8605-1bpp9w8.txt +8 -0
  98. data/spec/dummy/private/system/user_export_files/user_exports/000/000/003/original/user_export_file_20160808-10113-ycu8m8.txt +8 -0
  99. data/spec/dummy/private/system/user_export_files/user_exports/000/000/003/original/user_export_file_20160808-10296-1w0qa4q.txt +8 -0
  100. data/spec/dummy/private/system/user_export_files/user_exports/000/000/003/original/user_export_file_20160808-10532-3gf0e4.txt +8 -0
  101. data/spec/dummy/private/system/user_export_files/user_exports/000/000/003/original/user_export_file_20160808-10743-1986tss.txt +8 -0
  102. data/spec/dummy/private/system/user_export_files/user_exports/000/000/003/original/user_export_file_20160808-10850-131ca5h.txt +8 -0
  103. data/spec/dummy/private/system/user_export_files/user_exports/000/000/003/original/user_export_file_20160808-11057-lrwhh.txt +8 -0
  104. data/spec/dummy/private/system/user_export_files/user_exports/000/000/003/original/user_export_file_20160808-11201-1j3f8z4.txt +8 -0
  105. data/spec/dummy/private/system/user_export_files/user_exports/000/000/003/original/user_export_file_20160808-8698-1cv7l1l.txt +8 -0
  106. data/spec/dummy/private/system/user_export_files/user_exports/000/000/003/original/user_export_file_20160808-8788-1j021tn.txt +8 -0
  107. data/spec/dummy/private/system/user_export_files/user_exports/000/000/003/original/user_export_file_20160808-8964-10it3ay.txt +8 -0
  108. data/spec/dummy/private/system/user_export_files/user_exports/000/000/003/original/user_export_file_20160808-9184-ramwb2.txt +8 -0
  109. data/spec/dummy/private/system/user_export_files/user_exports/000/000/003/original/user_export_file_20160808-9381-1ltvlr5.txt +8 -0
  110. data/spec/dummy/private/system/user_export_files/user_exports/000/000/003/original/user_export_file_20160808-9568-1xno5kz.txt +8 -0
  111. data/spec/dummy/private/system/user_export_files/user_exports/000/000/003/original/user_export_file_20160808-9694-1xvbn9r.txt +8 -0
  112. data/spec/dummy/private/system/user_export_files/user_exports/000/000/003/original/user_export_file_20160808-9796-1s8wttm.txt +8 -0
  113. data/spec/dummy/private/system/user_export_files/user_exports/000/000/003/original/user_export_file_20160808-9976-os18dm.txt +8 -0
  114. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-10113-i50cx9.txt +8 -0
  115. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-10113-yfyk1q.txt +8 -0
  116. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-10296-mwlqee.txt +8 -0
  117. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-10296-q7cj81.txt +8 -0
  118. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-10532-11e6ke6.txt +8 -0
  119. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-10532-19zrpc6.txt +8 -0
  120. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-10743-126qknn.txt +8 -0
  121. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-10743-1yr9gk3.txt +8 -0
  122. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-10850-1h0ufaw.txt +8 -0
  123. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-10850-1j6rz0a.txt +8 -0
  124. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-11057-4u0q76.txt +8 -0
  125. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-11057-xkxnw0.txt +8 -0
  126. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-11201-1pbhweq.txt +8 -0
  127. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-11201-oe7c58.txt +8 -0
  128. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-8698-becrga.txt +8 -0
  129. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-8698-n6a7dl.txt +8 -0
  130. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-8788-kcq4ud.txt +8 -0
  131. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-8788-pk5u5w.txt +8 -0
  132. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-8964-1it6ent.txt +8 -0
  133. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-8964-sevvj9.txt +8 -0
  134. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-9184-1wya34t.txt +8 -0
  135. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-9184-53qr2e.txt +8 -0
  136. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-9381-18m5cay.txt +8 -0
  137. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-9381-1o6dbyx.txt +8 -0
  138. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-9568-1rg8mif.txt +8 -0
  139. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-9568-p2ibx2.txt +8 -0
  140. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-9694-1lpp5g6.txt +8 -0
  141. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-9694-1vbkp9i.txt +8 -0
  142. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-9796-4auzfe.txt +8 -0
  143. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-9796-is0c1e.txt +8 -0
  144. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-9976-1n5tevc.txt +8 -0
  145. data/spec/dummy/private/system/user_export_files/user_exports/000/000/004/original/user_export_file_20160808-9976-1ygxnz1.txt +8 -0
  146. data/spec/dummy/private/system/user_import_files/user_imports/000/000/001/original/user_import_file_sample.tsv +10 -0
  147. data/spec/dummy/private/system/user_import_files/user_imports/000/000/001/original/user_import_file_sample_long.tsv +15 -0
  148. data/spec/dummy/private/system/user_import_files/user_imports/000/000/001/original/user_update_file.tsv +4 -0
  149. data/spec/dummy/private/system/user_import_files/user_imports/000/000/001/original/user_update_file2.tsv +2 -0
  150. data/spec/dummy/private/system/user_import_files/user_imports/000/000/001/original/user_update_file3.tsv +2 -0
  151. data/spec/dummy/private/system/user_import_files/user_imports/000/000/001/original/user_update_file4.tsv +2 -0
  152. data/spec/dummy/private/system/user_import_files/user_imports/000/000/003/original/user_import_file_sample.tsv +10 -0
  153. data/spec/dummy/private/system/user_import_files/user_imports/000/000/003/original/user_import_file_sample_long.tsv +15 -0
  154. data/spec/dummy/private/system/user_import_files/user_imports/000/000/003/original/user_update_file.tsv +4 -0
  155. data/spec/dummy/private/system/user_import_files/user_imports/000/000/003/original/user_update_file2.tsv +2 -0
  156. data/spec/dummy/private/system/user_import_files/user_imports/000/000/003/original/user_update_file3.tsv +2 -0
  157. data/spec/dummy/private/system/user_import_files/user_imports/000/000/003/original/user_update_file4.tsv +2 -0
  158. data/spec/dummy/private/system/user_import_files/user_imports/000/000/004/original/user_delete_file.tsv +4 -0
  159. data/spec/factories/checkout.rb +9 -0
  160. data/spec/factories/user_group.rb +5 -0
  161. data/spec/fixtures/message_templates.yml +41 -20
  162. data/spec/fixtures/user_export_files.yml +25 -0
  163. data/spec/fixtures/user_groups.yml +19 -0
  164. data/spec/fixtures/user_import_files.yml +51 -0
  165. data/spec/fixtures/user_import_results.yml +26 -0
  166. data/spec/fixtures/user_reserve_stats.yml +2 -3
  167. data/spec/models/user_export_file_spec.rb +30 -0
  168. data/spec/models/user_group_spec.rb +37 -0
  169. data/spec/models/user_import_file_spec.rb +220 -0
  170. data/spec/models/user_import_result_spec.rb +20 -0
  171. data/spec/support/devise.rb +2 -2
  172. data/spec/views/user_export_files/new.html.erb_spec.rb +19 -0
  173. data/spec/views/user_import_results/index.html.erb_spec.rb +29 -0
  174. metadata +358 -30
  175. data/spec/dummy/tmp/cache/4AD/470/country_all +0 -0
@@ -0,0 +1,15 @@
1
+ class CreateIdentities < ActiveRecord::Migration
2
+ def change
3
+ create_table :identities do |t|
4
+ t.string :name
5
+ t.string :email
6
+ t.string :password_digest
7
+ t.integer :profile_id
8
+
9
+ t.timestamps null: false
10
+ end
11
+ add_index :identities, :name
12
+ add_index :identities, :email
13
+ add_index :identities, :profile_id
14
+ end
15
+ end
@@ -0,0 +1,5 @@
1
+ class AddProviderToIdentity < ActiveRecord::Migration
2
+ def change
3
+ add_column :identities, :provider, :string
4
+ end
5
+ end
@@ -0,0 +1,9 @@
1
+ class AddMostRecentToReserveTransitions < ActiveRecord::Migration
2
+ def up
3
+ add_column :reserve_transitions, :most_recent, :boolean, null: true
4
+ end
5
+
6
+ def down
7
+ remove_column :reserve_transitions, :most_recent
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ class AddMostRecentToManifestationCheckoutStatTransitions < ActiveRecord::Migration
2
+ def up
3
+ add_column :manifestation_checkout_stat_transitions, :most_recent, :boolean, null: true
4
+ end
5
+
6
+ def down
7
+ remove_column :manifestation_checkout_stat_transitions, :most_recent
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ class AddMostRecentToManifestationReserveStatTransitions < ActiveRecord::Migration
2
+ def up
3
+ add_column :manifestation_reserve_stat_transitions, :most_recent, :boolean, null: true
4
+ end
5
+
6
+ def down
7
+ remove_column :manifestation_reserve_stat_transitions, :most_recent
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ class AddMostRecentToUserCheckoutStatTransitions < ActiveRecord::Migration
2
+ def up
3
+ add_column :user_checkout_stat_transitions, :most_recent, :boolean, null: true
4
+ end
5
+
6
+ def down
7
+ remove_column :user_checkout_stat_transitions, :most_recent
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ class AddMostRecentToUserReserveStatTransitions < ActiveRecord::Migration
2
+ def up
3
+ add_column :user_reserve_stat_transitions, :most_recent, :boolean, null: true
4
+ end
5
+
6
+ def down
7
+ remove_column :user_reserve_stat_transitions, :most_recent
8
+ end
9
+ end
@@ -0,0 +1,5 @@
1
+ class AddForeignKeyOnManifestationIdToReserve < ActiveRecord::Migration
2
+ def change
3
+ add_foreign_key :reserves, :manifestations
4
+ end
5
+ end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20151213072705) do
14
+ ActiveRecord::Schema.define(version: 20160703190209) do
15
15
 
16
16
  create_table "accepts", force: :cascade do |t|
17
17
  t.integer "basket_id"
@@ -176,6 +176,54 @@ ActiveRecord::Schema.define(version: 20151213072705) do
176
176
 
177
177
  add_index "baskets", ["user_id"], name: "index_baskets_on_user_id"
178
178
 
179
+ create_table "bookmark_stat_has_manifestations", force: :cascade do |t|
180
+ t.integer "bookmark_stat_id", null: false
181
+ t.integer "manifestation_id", null: false
182
+ t.integer "bookmarks_count"
183
+ t.datetime "created_at"
184
+ t.datetime "updated_at"
185
+ end
186
+
187
+ add_index "bookmark_stat_has_manifestations", ["bookmark_stat_id"], name: "index_bookmark_stat_has_manifestations_on_bookmark_stat_id"
188
+ add_index "bookmark_stat_has_manifestations", ["manifestation_id"], name: "index_bookmark_stat_has_manifestations_on_manifestation_id"
189
+
190
+ create_table "bookmark_stat_transitions", force: :cascade do |t|
191
+ t.string "to_state"
192
+ t.text "metadata", default: "{}"
193
+ t.integer "sort_key"
194
+ t.integer "bookmark_stat_id"
195
+ t.datetime "created_at"
196
+ t.datetime "updated_at"
197
+ end
198
+
199
+ add_index "bookmark_stat_transitions", ["bookmark_stat_id"], name: "index_bookmark_stat_transitions_on_bookmark_stat_id"
200
+ add_index "bookmark_stat_transitions", ["sort_key", "bookmark_stat_id"], name: "index_bookmark_stat_transitions_on_sort_key_and_stat_id", unique: true
201
+
202
+ create_table "bookmark_stats", force: :cascade do |t|
203
+ t.datetime "start_date"
204
+ t.datetime "end_date"
205
+ t.datetime "started_at"
206
+ t.datetime "completed_at"
207
+ t.text "note"
208
+ t.datetime "created_at"
209
+ t.datetime "updated_at"
210
+ end
211
+
212
+ create_table "bookmarks", force: :cascade do |t|
213
+ t.integer "user_id", null: false
214
+ t.integer "manifestation_id"
215
+ t.text "title"
216
+ t.string "url"
217
+ t.text "note"
218
+ t.boolean "shared"
219
+ t.datetime "created_at"
220
+ t.datetime "updated_at"
221
+ end
222
+
223
+ add_index "bookmarks", ["manifestation_id"], name: "index_bookmarks_on_manifestation_id"
224
+ add_index "bookmarks", ["url"], name: "index_bookmarks_on_url"
225
+ add_index "bookmarks", ["user_id"], name: "index_bookmarks_on_user_id"
226
+
179
227
  create_table "bookstores", force: :cascade do |t|
180
228
  t.text "name", null: false
181
229
  t.string "zip_code"
@@ -367,6 +415,18 @@ ActiveRecord::Schema.define(version: 20151213072705) do
367
415
  add_index "creates", ["agent_id"], name: "index_creates_on_agent_id"
368
416
  add_index "creates", ["work_id"], name: "index_creates_on_work_id"
369
417
 
418
+ create_table "demands", force: :cascade do |t|
419
+ t.integer "user_id"
420
+ t.integer "item_id"
421
+ t.integer "message_id"
422
+ t.datetime "created_at", null: false
423
+ t.datetime "updated_at", null: false
424
+ end
425
+
426
+ add_index "demands", ["item_id"], name: "index_demands_on_item_id"
427
+ add_index "demands", ["message_id"], name: "index_demands_on_message_id"
428
+ add_index "demands", ["user_id"], name: "index_demands_on_user_id"
429
+
370
430
  create_table "donates", force: :cascade do |t|
371
431
  t.integer "agent_id", null: false
372
432
  t.integer "item_id", null: false
@@ -530,6 +590,20 @@ ActiveRecord::Schema.define(version: 20151213072705) do
530
590
  add_index "identifiers", ["body", "identifier_type_id"], name: "index_identifiers_on_body_and_identifier_type_id"
531
591
  add_index "identifiers", ["manifestation_id"], name: "index_identifiers_on_manifestation_id"
532
592
 
593
+ create_table "identities", force: :cascade do |t|
594
+ t.string "name"
595
+ t.string "email"
596
+ t.string "password_digest"
597
+ t.integer "profile_id"
598
+ t.datetime "created_at", null: false
599
+ t.datetime "updated_at", null: false
600
+ t.string "provider"
601
+ end
602
+
603
+ add_index "identities", ["email"], name: "index_identities_on_email"
604
+ add_index "identities", ["name"], name: "index_identities_on_name"
605
+ add_index "identities", ["profile_id"], name: "index_identities_on_profile_id"
606
+
533
607
  create_table "import_request_transitions", force: :cascade do |t|
534
608
  t.string "to_state"
535
609
  t.text "metadata", default: "{}"
@@ -672,9 +746,9 @@ ActiveRecord::Schema.define(version: 20151213072705) do
672
746
  add_index "library_group_translations", ["locale"], name: "index_library_group_translations_on_locale"
673
747
 
674
748
  create_table "library_groups", force: :cascade do |t|
675
- t.string "name", null: false
749
+ t.string "name", null: false
676
750
  t.text "display_name"
677
- t.string "short_name", null: false
751
+ t.string "short_name", null: false
678
752
  t.text "my_networks"
679
753
  t.text "login_banner"
680
754
  t.text "note"
@@ -683,8 +757,10 @@ ActiveRecord::Schema.define(version: 20151213072705) do
683
757
  t.datetime "created_at"
684
758
  t.datetime "updated_at"
685
759
  t.text "admin_networks"
686
- t.string "url", default: "http://localhost:3000/"
760
+ t.boolean "allow_bookmark_external_url", default: false, null: false
761
+ t.string "url", default: "http://localhost:3000/"
687
762
  t.text "settings"
763
+ t.text "html_snippet"
688
764
  end
689
765
 
690
766
  add_index "library_groups", ["short_name"], name: "index_library_groups_on_short_name"
@@ -705,6 +781,7 @@ ActiveRecord::Schema.define(version: 20151213072705) do
705
781
  t.integer "manifestation_checkout_stat_id"
706
782
  t.datetime "created_at"
707
783
  t.datetime "updated_at"
784
+ t.boolean "most_recent"
708
785
  end
709
786
 
710
787
  add_index "manifestation_checkout_stat_transitions", ["manifestation_checkout_stat_id"], name: "index_manifestation_checkout_stat_transitions_on_stat_id"
@@ -751,6 +828,7 @@ ActiveRecord::Schema.define(version: 20151213072705) do
751
828
  t.integer "manifestation_reserve_stat_id"
752
829
  t.datetime "created_at"
753
830
  t.datetime "updated_at"
831
+ t.boolean "most_recent"
754
832
  end
755
833
 
756
834
  add_index "manifestation_reserve_stat_transitions", ["manifestation_reserve_stat_id"], name: "index_manifestation_reserve_stat_transitions_on_stat_id"
@@ -990,6 +1068,8 @@ ActiveRecord::Schema.define(version: 20151213072705) do
990
1068
  t.string "checkout_icalendar_token"
991
1069
  t.boolean "save_checkout_history", default: false, null: false
992
1070
  t.datetime "expired_at"
1071
+ t.boolean "save_search_history"
1072
+ t.boolean "share_bookmarks"
993
1073
  t.text "full_name_transcription"
994
1074
  t.datetime "date_of_birth"
995
1075
  end
@@ -1061,11 +1141,12 @@ ActiveRecord::Schema.define(version: 20151213072705) do
1061
1141
 
1062
1142
  create_table "reserve_transitions", force: :cascade do |t|
1063
1143
  t.string "to_state"
1064
- t.text "metadata", default: "{}"
1144
+ t.text "metadata", default: "{}"
1065
1145
  t.integer "sort_key"
1066
1146
  t.integer "reserve_id"
1067
1147
  t.datetime "created_at"
1068
1148
  t.datetime "updated_at"
1149
+ t.boolean "most_recent"
1069
1150
  end
1070
1151
 
1071
1152
  add_index "reserve_transitions", ["reserve_id"], name: "index_reserve_transitions_on_reserve_id"
@@ -1084,6 +1165,7 @@ ActiveRecord::Schema.define(version: 20151213072705) do
1084
1165
  t.datetime "deleted_at"
1085
1166
  t.boolean "expiration_notice_to_patron", default: false
1086
1167
  t.boolean "expiration_notice_to_library", default: false
1168
+ t.integer "pickup_location_id"
1087
1169
  t.datetime "retained_at"
1088
1170
  t.datetime "postponed_at"
1089
1171
  t.integer "lock_version", default: 0, null: false
@@ -1091,6 +1173,7 @@ ActiveRecord::Schema.define(version: 20151213072705) do
1091
1173
 
1092
1174
  add_index "reserves", ["item_id"], name: "index_reserves_on_item_id"
1093
1175
  add_index "reserves", ["manifestation_id"], name: "index_reserves_on_manifestation_id"
1176
+ add_index "reserves", ["pickup_location_id"], name: "index_reserves_on_pickup_location_id"
1094
1177
  add_index "reserves", ["request_status_type_id"], name: "index_reserves_on_request_status_type_id"
1095
1178
  add_index "reserves", ["user_id"], name: "index_reserves_on_user_id"
1096
1179
 
@@ -1190,6 +1273,32 @@ ActiveRecord::Schema.define(version: 20151213072705) do
1190
1273
  t.datetime "updated_at"
1191
1274
  end
1192
1275
 
1276
+ create_table "search_histories", force: :cascade do |t|
1277
+ t.integer "user_id"
1278
+ t.string "operation", default: "searchRetrieve"
1279
+ t.float "sru_version", default: 1.2
1280
+ t.string "query"
1281
+ t.integer "start_record"
1282
+ t.integer "maximum_records"
1283
+ t.string "record_packing"
1284
+ t.string "record_schema"
1285
+ t.integer "result_set_ttl"
1286
+ t.string "stylesheet"
1287
+ t.string "extra_request_data"
1288
+ t.integer "number_of_records", default: 0
1289
+ t.string "result_set_id"
1290
+ t.integer "result_set_idle_time"
1291
+ t.text "records"
1292
+ t.integer "next_record_position"
1293
+ t.text "diagnostics"
1294
+ t.text "extra_response_data"
1295
+ t.text "echoed_search_retrieve_request"
1296
+ t.datetime "created_at"
1297
+ t.datetime "updated_at"
1298
+ end
1299
+
1300
+ add_index "search_histories", ["user_id"], name: "index_search_histories_on_user_id"
1301
+
1193
1302
  create_table "series_statement_merge_lists", force: :cascade do |t|
1194
1303
  t.string "title"
1195
1304
  t.datetime "created_at"
@@ -1272,6 +1381,26 @@ ActiveRecord::Schema.define(version: 20151213072705) do
1272
1381
  add_index "subscriptions", ["order_list_id"], name: "index_subscriptions_on_order_list_id"
1273
1382
  add_index "subscriptions", ["user_id"], name: "index_subscriptions_on_user_id"
1274
1383
 
1384
+ create_table "taggings", force: :cascade do |t|
1385
+ t.integer "tag_id"
1386
+ t.integer "taggable_id"
1387
+ t.string "taggable_type"
1388
+ t.integer "tagger_id"
1389
+ t.string "tagger_type"
1390
+ t.string "context"
1391
+ t.datetime "created_at"
1392
+ end
1393
+
1394
+ add_index "taggings", ["tag_id"], name: "index_taggings_on_tag_id"
1395
+ add_index "taggings", ["taggable_id", "taggable_type", "context"], name: "index_taggings_on_taggable_id_and_taggable_type_and_context"
1396
+
1397
+ create_table "tags", force: :cascade do |t|
1398
+ t.string "name"
1399
+ t.string "name_transcription"
1400
+ t.datetime "created_at"
1401
+ t.datetime "updated_at"
1402
+ end
1403
+
1275
1404
  create_table "use_restrictions", force: :cascade do |t|
1276
1405
  t.string "name", null: false
1277
1406
  t.text "display_name"
@@ -1288,6 +1417,7 @@ ActiveRecord::Schema.define(version: 20151213072705) do
1288
1417
  t.integer "user_checkout_stat_id"
1289
1418
  t.datetime "created_at"
1290
1419
  t.datetime "updated_at"
1420
+ t.boolean "most_recent"
1291
1421
  end
1292
1422
 
1293
1423
  add_index "user_checkout_stat_transitions", ["sort_key", "user_checkout_stat_id"], name: "index_user_checkout_stat_transitions_on_sort_key_and_stat_id", unique: true
@@ -1313,6 +1443,7 @@ ActiveRecord::Schema.define(version: 20151213072705) do
1313
1443
  t.integer "user_export_file_id"
1314
1444
  t.datetime "created_at"
1315
1445
  t.datetime "updated_at"
1446
+ t.boolean "most_recent"
1316
1447
  end
1317
1448
 
1318
1449
  add_index "user_export_file_transitions", ["sort_key", "user_export_file_id"], name: "index_user_export_file_transitions_on_sort_key_and_file_id", unique: true
@@ -1381,6 +1512,7 @@ ActiveRecord::Schema.define(version: 20151213072705) do
1381
1512
  t.integer "user_import_file_id"
1382
1513
  t.datetime "created_at"
1383
1514
  t.datetime "updated_at"
1515
+ t.boolean "most_recent"
1384
1516
  end
1385
1517
 
1386
1518
  add_index "user_import_file_transitions", ["sort_key", "user_import_file_id"], name: "index_user_import_file_transitions_on_sort_key_and_file_id", unique: true
@@ -1392,7 +1524,7 @@ ActiveRecord::Schema.define(version: 20151213072705) do
1392
1524
  t.datetime "executed_at"
1393
1525
  t.string "user_import_file_name"
1394
1526
  t.string "user_import_content_type"
1395
- t.string "user_import_file_size"
1527
+ t.integer "user_import_file_size"
1396
1528
  t.datetime "user_import_updated_at"
1397
1529
  t.string "user_import_fingerprint"
1398
1530
  t.string "edit_mode"
@@ -1410,6 +1542,7 @@ ActiveRecord::Schema.define(version: 20151213072705) do
1410
1542
  t.text "body"
1411
1543
  t.datetime "created_at"
1412
1544
  t.datetime "updated_at"
1545
+ t.text "error_message"
1413
1546
  end
1414
1547
 
1415
1548
  create_table "user_reserve_stat_transitions", force: :cascade do |t|
@@ -1419,6 +1552,7 @@ ActiveRecord::Schema.define(version: 20151213072705) do
1419
1552
  t.integer "user_reserve_stat_id"
1420
1553
  t.datetime "created_at"
1421
1554
  t.datetime "updated_at"
1555
+ t.boolean "most_recent"
1422
1556
  end
1423
1557
 
1424
1558
  add_index "user_reserve_stat_transitions", ["sort_key", "user_reserve_stat_id"], name: "index_user_reserve_stat_transitions_on_sort_key_and_stat_id", unique: true
@@ -1452,6 +1586,7 @@ ActiveRecord::Schema.define(version: 20151213072705) do
1452
1586
  t.datetime "updated_at"
1453
1587
  t.boolean "save_checkout_history", default: false, null: false
1454
1588
  t.string "checkout_icalendar_token"
1589
+ t.boolean "save_search_history", default: false, null: false
1455
1590
  t.string "username"
1456
1591
  t.datetime "deleted_at"
1457
1592
  t.datetime "expired_at"
Binary file
@@ -0,0 +1,8 @@
1
+ username full_name full_name_transcription email user_number role user_group library locale locked required_role created_at updated_at expired_at keyword_list note checkout_icalendar_token save_checkout_history
2
+ enjuadmin tanabe@kamata.lib.teu.ac.jp 00001 Administrator user kamata ja false Administrator 2007-11-19 07:58:32 UTC 2008-05-31 04:16:30 UTC false
3
+ librarian1 librarian1@kamata.lib.teu.ac.jp 00002 Librarian not_specified web ja false Guest 2007-11-19 07:58:33 UTC 2008-05-31 03:41:16 UTC false
4
+ user1 user1@kamata.lib.teu.ac.jp 00003 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
5
+ librarian2 librarian2@library.example.jp 00004 Librarian not_specified kamata ja false Guest 2008-01-18 03:24:04 UTC 2008-05-31 03:42:23 UTC false
6
+ user2 user2@library.example.jp User not_specified web ja false User 2008-01-18 04:29:06 UTC 2008-05-31 03:42:44 UTC false
7
+ user3 user3@kamata.lib.teu.ac.jp 00006 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
8
+ user4 user4@kamata.lib.teu.ac.jp 00007 User not_specified kamata ja true Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
@@ -0,0 +1,8 @@
1
+ username full_name full_name_transcription email user_number role user_group library locale locked required_role created_at updated_at expired_at keyword_list note checkout_icalendar_token save_checkout_history
2
+ enjuadmin tanabe@kamata.lib.teu.ac.jp 00001 Administrator user kamata ja false Administrator 2007-11-19 07:58:32 UTC 2008-05-31 04:16:30 UTC false
3
+ librarian1 librarian1@kamata.lib.teu.ac.jp 00002 Librarian not_specified web ja false Guest 2007-11-19 07:58:33 UTC 2008-05-31 03:41:16 UTC false
4
+ user1 user1@kamata.lib.teu.ac.jp 00003 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
5
+ librarian2 librarian2@library.example.jp 00004 Librarian not_specified kamata ja false Guest 2008-01-18 03:24:04 UTC 2008-05-31 03:42:23 UTC false
6
+ user2 user2@library.example.jp User not_specified web ja false User 2008-01-18 04:29:06 UTC 2008-05-31 03:42:44 UTC false
7
+ user3 user3@kamata.lib.teu.ac.jp 00006 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
8
+ user4 user4@kamata.lib.teu.ac.jp 00007 User not_specified kamata ja true Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
@@ -0,0 +1,8 @@
1
+ username full_name full_name_transcription email user_number role user_group library locale locked required_role created_at updated_at expired_at keyword_list note checkout_icalendar_token save_checkout_history
2
+ enjuadmin tanabe@kamata.lib.teu.ac.jp 00001 Administrator user kamata ja false Administrator 2007-11-19 07:58:32 UTC 2008-05-31 04:16:30 UTC false
3
+ librarian1 librarian1@kamata.lib.teu.ac.jp 00002 Librarian not_specified web ja false Guest 2007-11-19 07:58:33 UTC 2008-05-31 03:41:16 UTC false
4
+ user1 user1@kamata.lib.teu.ac.jp 00003 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
5
+ librarian2 librarian2@library.example.jp 00004 Librarian not_specified kamata ja false Guest 2008-01-18 03:24:04 UTC 2008-05-31 03:42:23 UTC false
6
+ user2 user2@library.example.jp User not_specified web ja false User 2008-01-18 04:29:06 UTC 2008-05-31 03:42:44 UTC false
7
+ user3 user3@kamata.lib.teu.ac.jp 00006 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
8
+ user4 user4@kamata.lib.teu.ac.jp 00007 User not_specified kamata ja true Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
@@ -0,0 +1,8 @@
1
+ username full_name full_name_transcription email user_number role user_group library locale locked required_role created_at updated_at expired_at keyword_list note checkout_icalendar_token save_checkout_history
2
+ enjuadmin tanabe@kamata.lib.teu.ac.jp 00001 Administrator user kamata ja false Administrator 2007-11-19 07:58:32 UTC 2008-05-31 04:16:30 UTC false
3
+ librarian1 librarian1@kamata.lib.teu.ac.jp 00002 Librarian not_specified web ja false Guest 2007-11-19 07:58:33 UTC 2008-05-31 03:41:16 UTC false
4
+ user1 user1@kamata.lib.teu.ac.jp 00003 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
5
+ librarian2 librarian2@library.example.jp 00004 Librarian not_specified kamata ja false Guest 2008-01-18 03:24:04 UTC 2008-05-31 03:42:23 UTC false
6
+ user2 user2@library.example.jp User not_specified web ja false User 2008-01-18 04:29:06 UTC 2008-05-31 03:42:44 UTC false
7
+ user3 user3@kamata.lib.teu.ac.jp 00006 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
8
+ user4 user4@kamata.lib.teu.ac.jp 00007 User not_specified kamata ja true Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
@@ -0,0 +1,8 @@
1
+ username full_name full_name_transcription email user_number role user_group library locale locked required_role created_at updated_at expired_at keyword_list note checkout_icalendar_token save_checkout_history
2
+ enjuadmin tanabe@kamata.lib.teu.ac.jp 00001 Administrator user kamata ja false Administrator 2007-11-19 07:58:32 UTC 2008-05-31 04:16:30 UTC false
3
+ librarian1 librarian1@kamata.lib.teu.ac.jp 00002 Librarian not_specified web ja false Guest 2007-11-19 07:58:33 UTC 2008-05-31 03:41:16 UTC false
4
+ user1 user1@kamata.lib.teu.ac.jp 00003 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
5
+ librarian2 librarian2@library.example.jp 00004 Librarian not_specified kamata ja false Guest 2008-01-18 03:24:04 UTC 2008-05-31 03:42:23 UTC false
6
+ user2 user2@library.example.jp User not_specified web ja false User 2008-01-18 04:29:06 UTC 2008-05-31 03:42:44 UTC false
7
+ user3 user3@kamata.lib.teu.ac.jp 00006 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
8
+ user4 user4@kamata.lib.teu.ac.jp 00007 User not_specified kamata ja true Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
@@ -0,0 +1,8 @@
1
+ username full_name full_name_transcription email user_number role user_group library locale locked required_role created_at updated_at expired_at keyword_list note checkout_icalendar_token save_checkout_history
2
+ enjuadmin tanabe@kamata.lib.teu.ac.jp 00001 Administrator user kamata ja false Administrator 2007-11-19 07:58:32 UTC 2008-05-31 04:16:30 UTC false
3
+ librarian1 librarian1@kamata.lib.teu.ac.jp 00002 Librarian not_specified web ja false Guest 2007-11-19 07:58:33 UTC 2008-05-31 03:41:16 UTC false
4
+ user1 user1@kamata.lib.teu.ac.jp 00003 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
5
+ librarian2 librarian2@library.example.jp 00004 Librarian not_specified kamata ja false Guest 2008-01-18 03:24:04 UTC 2008-05-31 03:42:23 UTC false
6
+ user2 user2@library.example.jp User not_specified web ja false User 2008-01-18 04:29:06 UTC 2008-05-31 03:42:44 UTC false
7
+ user3 user3@kamata.lib.teu.ac.jp 00006 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
8
+ user4 user4@kamata.lib.teu.ac.jp 00007 User not_specified kamata ja true Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
@@ -0,0 +1,8 @@
1
+ username full_name full_name_transcription email user_number role user_group library locale locked required_role created_at updated_at expired_at keyword_list note checkout_icalendar_token save_checkout_history save_search_history share_bookmarks
2
+ enjuadmin tanabe@kamata.lib.teu.ac.jp 00001 Administrator user kamata ja false Administrator 2007-11-19 07:58:32 UTC 2008-05-31 04:16:30 UTC false
3
+ librarian1 librarian1@kamata.lib.teu.ac.jp 00002 Librarian not_specified web ja false Guest 2007-11-19 07:58:33 UTC 2008-05-31 03:41:16 UTC false
4
+ user1 user1@kamata.lib.teu.ac.jp 00003 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
5
+ librarian2 librarian2@library.example.jp 00004 Librarian not_specified kamata ja false Guest 2008-01-18 03:24:04 UTC 2008-05-31 03:42:23 UTC false
6
+ user2 user2@library.example.jp User not_specified web ja false User 2008-01-18 04:29:06 UTC 2008-05-31 03:42:44 UTC false
7
+ user3 user3@kamata.lib.teu.ac.jp 00006 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
8
+ user4 user4@kamata.lib.teu.ac.jp 00007 User not_specified kamata ja true Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
@@ -0,0 +1,8 @@
1
+ username full_name full_name_transcription email user_number role user_group library locale locked required_role created_at updated_at expired_at keyword_list note checkout_icalendar_token save_checkout_history save_search_history share_bookmarks
2
+ enjuadmin tanabe@kamata.lib.teu.ac.jp 00001 Administrator user kamata ja false Administrator 2007-11-19 07:58:32 UTC 2008-05-31 04:16:30 UTC false
3
+ librarian1 librarian1@kamata.lib.teu.ac.jp 00002 Librarian not_specified web ja false Guest 2007-11-19 07:58:33 UTC 2008-05-31 03:41:16 UTC false
4
+ user1 user1@kamata.lib.teu.ac.jp 00003 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
5
+ librarian2 librarian2@library.example.jp 00004 Librarian not_specified kamata ja false Guest 2008-01-18 03:24:04 UTC 2008-05-31 03:42:23 UTC false
6
+ user2 user2@library.example.jp User not_specified web ja false User 2008-01-18 04:29:06 UTC 2008-05-31 03:42:44 UTC false
7
+ user3 user3@kamata.lib.teu.ac.jp 00006 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
8
+ user4 user4@kamata.lib.teu.ac.jp 00007 User not_specified kamata ja true Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
@@ -0,0 +1,8 @@
1
+ username full_name full_name_transcription email user_number role user_group library locale locked required_role created_at updated_at expired_at keyword_list note checkout_icalendar_token save_checkout_history save_search_history share_bookmarks
2
+ enjuadmin tanabe@kamata.lib.teu.ac.jp 00001 Administrator user kamata ja false Administrator 2007-11-19 07:58:32 UTC 2008-05-31 04:16:30 UTC false
3
+ librarian1 librarian1@kamata.lib.teu.ac.jp 00002 Librarian not_specified web ja false Guest 2007-11-19 07:58:33 UTC 2008-05-31 03:41:16 UTC false
4
+ user1 user1@kamata.lib.teu.ac.jp 00003 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
5
+ librarian2 librarian2@library.example.jp 00004 Librarian not_specified kamata ja false Guest 2008-01-18 03:24:04 UTC 2008-05-31 03:42:23 UTC false
6
+ user2 user2@library.example.jp User not_specified web ja false User 2008-01-18 04:29:06 UTC 2008-05-31 03:42:44 UTC false
7
+ user3 user3@kamata.lib.teu.ac.jp 00006 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
8
+ user4 user4@kamata.lib.teu.ac.jp 00007 User not_specified kamata ja true Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
@@ -0,0 +1,8 @@
1
+ username full_name full_name_transcription email user_number role user_group library locale locked required_role created_at updated_at expired_at keyword_list note checkout_icalendar_token save_checkout_history save_search_history share_bookmarks
2
+ enjuadmin tanabe@kamata.lib.teu.ac.jp 00001 Administrator user kamata ja false Administrator 2007-11-19 07:58:32 UTC 2008-05-31 04:16:30 UTC false
3
+ librarian1 librarian1@kamata.lib.teu.ac.jp 00002 Librarian not_specified web ja false Guest 2007-11-19 07:58:33 UTC 2008-05-31 03:41:16 UTC false
4
+ user1 user1@kamata.lib.teu.ac.jp 00003 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
5
+ librarian2 librarian2@library.example.jp 00004 Librarian not_specified kamata ja false Guest 2008-01-18 03:24:04 UTC 2008-05-31 03:42:23 UTC false
6
+ user2 user2@library.example.jp User not_specified web ja false User 2008-01-18 04:29:06 UTC 2008-05-31 03:42:44 UTC false
7
+ user3 user3@kamata.lib.teu.ac.jp 00006 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
8
+ user4 user4@kamata.lib.teu.ac.jp 00007 User not_specified kamata ja true Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
@@ -0,0 +1,8 @@
1
+ username full_name full_name_transcription email user_number role user_group library locale locked required_role created_at updated_at expired_at keyword_list note checkout_icalendar_token save_checkout_history save_search_history share_bookmarks
2
+ enjuadmin tanabe@kamata.lib.teu.ac.jp 00001 Administrator user kamata ja false Administrator 2007-11-19 07:58:32 UTC 2008-05-31 04:16:30 UTC false
3
+ librarian1 librarian1@kamata.lib.teu.ac.jp 00002 Librarian not_specified web ja false Guest 2007-11-19 07:58:33 UTC 2008-05-31 03:41:16 UTC false
4
+ user1 user1@kamata.lib.teu.ac.jp 00003 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
5
+ librarian2 librarian2@library.example.jp 00004 Librarian not_specified kamata ja false Guest 2008-01-18 03:24:04 UTC 2008-05-31 03:42:23 UTC false
6
+ user2 user2@library.example.jp User not_specified web ja false User 2008-01-18 04:29:06 UTC 2008-05-31 03:42:44 UTC false
7
+ user3 user3@kamata.lib.teu.ac.jp 00006 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
8
+ user4 user4@kamata.lib.teu.ac.jp 00007 User not_specified kamata ja true Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
@@ -0,0 +1,8 @@
1
+ username full_name full_name_transcription email user_number role user_group library locale locked required_role created_at updated_at expired_at keyword_list note checkout_icalendar_token save_checkout_history save_search_history share_bookmarks
2
+ enjuadmin tanabe@kamata.lib.teu.ac.jp 00001 Administrator user kamata ja false Administrator 2007-11-19 07:58:32 UTC 2008-05-31 04:16:30 UTC false
3
+ librarian1 librarian1@kamata.lib.teu.ac.jp 00002 Librarian not_specified web ja false Guest 2007-11-19 07:58:33 UTC 2008-05-31 03:41:16 UTC false
4
+ user1 user1@kamata.lib.teu.ac.jp 00003 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
5
+ librarian2 librarian2@library.example.jp 00004 Librarian not_specified kamata ja false Guest 2008-01-18 03:24:04 UTC 2008-05-31 03:42:23 UTC false
6
+ user2 user2@library.example.jp User not_specified web ja false User 2008-01-18 04:29:06 UTC 2008-05-31 03:42:44 UTC false
7
+ user3 user3@kamata.lib.teu.ac.jp 00006 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
8
+ user4 user4@kamata.lib.teu.ac.jp 00007 User not_specified kamata ja true Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
@@ -0,0 +1,8 @@
1
+ username full_name full_name_transcription email user_number role user_group library locale locked required_role created_at updated_at expired_at keyword_list note checkout_icalendar_token save_checkout_history save_search_history share_bookmarks
2
+ enjuadmin tanabe@kamata.lib.teu.ac.jp 00001 Administrator user kamata ja false Administrator 2007-11-19 07:58:32 UTC 2008-05-31 04:16:30 UTC false
3
+ librarian1 librarian1@kamata.lib.teu.ac.jp 00002 Librarian not_specified web ja false Guest 2007-11-19 07:58:33 UTC 2008-05-31 03:41:16 UTC false
4
+ user1 user1@kamata.lib.teu.ac.jp 00003 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
5
+ librarian2 librarian2@library.example.jp 00004 Librarian not_specified kamata ja false Guest 2008-01-18 03:24:04 UTC 2008-05-31 03:42:23 UTC false
6
+ user2 user2@library.example.jp User not_specified web ja false User 2008-01-18 04:29:06 UTC 2008-05-31 03:42:44 UTC false
7
+ user3 user3@kamata.lib.teu.ac.jp 00006 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
8
+ user4 user4@kamata.lib.teu.ac.jp 00007 User not_specified kamata ja true Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
@@ -0,0 +1,8 @@
1
+ username full_name full_name_transcription email user_number role user_group library locale locked required_role created_at updated_at expired_at keyword_list note checkout_icalendar_token save_checkout_history
2
+ enjuadmin tanabe@kamata.lib.teu.ac.jp 00001 Administrator user kamata ja false Administrator 2007-11-19 07:58:32 UTC 2008-05-31 04:16:30 UTC false
3
+ librarian1 librarian1@kamata.lib.teu.ac.jp 00002 Librarian not_specified web ja false Guest 2007-11-19 07:58:33 UTC 2008-05-31 03:41:16 UTC false
4
+ user1 user1@kamata.lib.teu.ac.jp 00003 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
5
+ librarian2 librarian2@library.example.jp 00004 Librarian not_specified kamata ja false Guest 2008-01-18 03:24:04 UTC 2008-05-31 03:42:23 UTC false
6
+ user2 user2@library.example.jp User not_specified web ja false User 2008-01-18 04:29:06 UTC 2008-05-31 03:42:44 UTC false
7
+ user3 user3@kamata.lib.teu.ac.jp 00006 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
8
+ user4 user4@kamata.lib.teu.ac.jp 00007 User not_specified kamata ja true Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
@@ -0,0 +1,8 @@
1
+ username full_name full_name_transcription email user_number role user_group library locale locked required_role created_at updated_at expired_at keyword_list note checkout_icalendar_token save_checkout_history
2
+ enjuadmin tanabe@kamata.lib.teu.ac.jp 00001 Administrator user kamata ja false Administrator 2007-11-19 07:58:32 UTC 2008-05-31 04:16:30 UTC false
3
+ librarian1 librarian1@kamata.lib.teu.ac.jp 00002 Librarian not_specified web ja false Guest 2007-11-19 07:58:33 UTC 2008-05-31 03:41:16 UTC false
4
+ user1 user1@kamata.lib.teu.ac.jp 00003 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
5
+ librarian2 librarian2@library.example.jp 00004 Librarian not_specified kamata ja false Guest 2008-01-18 03:24:04 UTC 2008-05-31 03:42:23 UTC false
6
+ user2 user2@library.example.jp User not_specified web ja false User 2008-01-18 04:29:06 UTC 2008-05-31 03:42:44 UTC false
7
+ user3 user3@kamata.lib.teu.ac.jp 00006 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
8
+ user4 user4@kamata.lib.teu.ac.jp 00007 User not_specified kamata ja true Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
@@ -0,0 +1,8 @@
1
+ username full_name full_name_transcription email user_number role user_group library locale locked required_role created_at updated_at expired_at keyword_list note checkout_icalendar_token save_checkout_history save_search_history
2
+ enjuadmin tanabe@kamata.lib.teu.ac.jp 00001 Administrator user kamata ja false Administrator 2007-11-19 07:58:32 UTC 2008-05-31 04:16:30 UTC false
3
+ librarian1 librarian1@kamata.lib.teu.ac.jp 00002 Librarian not_specified web ja false Guest 2007-11-19 07:58:33 UTC 2008-05-31 03:41:16 UTC false
4
+ user1 user1@kamata.lib.teu.ac.jp 00003 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
5
+ librarian2 librarian2@library.example.jp 00004 Librarian not_specified kamata ja false Guest 2008-01-18 03:24:04 UTC 2008-05-31 03:42:23 UTC false
6
+ user2 user2@library.example.jp User not_specified web ja false User 2008-01-18 04:29:06 UTC 2008-05-31 03:42:44 UTC false
7
+ user3 user3@kamata.lib.teu.ac.jp 00006 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
8
+ user4 user4@kamata.lib.teu.ac.jp 00007 User not_specified kamata ja true Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
@@ -0,0 +1,8 @@
1
+ username full_name full_name_transcription email user_number role user_group library locale locked required_role created_at updated_at expired_at keyword_list note checkout_icalendar_token save_checkout_history save_search_history
2
+ enjuadmin tanabe@kamata.lib.teu.ac.jp 00001 Administrator user kamata ja false Administrator 2007-11-19 07:58:32 UTC 2008-05-31 04:16:30 UTC false
3
+ librarian1 librarian1@kamata.lib.teu.ac.jp 00002 Librarian not_specified web ja false Guest 2007-11-19 07:58:33 UTC 2008-05-31 03:41:16 UTC false
4
+ user1 user1@kamata.lib.teu.ac.jp 00003 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
5
+ librarian2 librarian2@library.example.jp 00004 Librarian not_specified kamata ja false Guest 2008-01-18 03:24:04 UTC 2008-05-31 03:42:23 UTC false
6
+ user2 user2@library.example.jp User not_specified web ja false User 2008-01-18 04:29:06 UTC 2008-05-31 03:42:44 UTC false
7
+ user3 user3@kamata.lib.teu.ac.jp 00006 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
8
+ user4 user4@kamata.lib.teu.ac.jp 00007 User not_specified kamata ja true Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
@@ -0,0 +1,8 @@
1
+ username full_name full_name_transcription email user_number role user_group library locale locked required_role created_at updated_at expired_at keyword_list note checkout_icalendar_token save_checkout_history save_search_history
2
+ enjuadmin tanabe@kamata.lib.teu.ac.jp 00001 Administrator user kamata ja false Administrator 2007-11-19 07:58:32 UTC 2008-05-31 04:16:30 UTC false
3
+ librarian1 librarian1@kamata.lib.teu.ac.jp 00002 Librarian not_specified web ja false Guest 2007-11-19 07:58:33 UTC 2008-05-31 03:41:16 UTC false
4
+ user1 user1@kamata.lib.teu.ac.jp 00003 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
5
+ librarian2 librarian2@library.example.jp 00004 Librarian not_specified kamata ja false Guest 2008-01-18 03:24:04 UTC 2008-05-31 03:42:23 UTC false
6
+ user2 user2@library.example.jp User not_specified web ja false User 2008-01-18 04:29:06 UTC 2008-05-31 03:42:44 UTC false
7
+ user3 user3@kamata.lib.teu.ac.jp 00006 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
8
+ user4 user4@kamata.lib.teu.ac.jp 00007 User not_specified kamata ja true Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
@@ -0,0 +1,8 @@
1
+ username full_name full_name_transcription email user_number role user_group library locale locked required_role created_at updated_at expired_at keyword_list note checkout_icalendar_token save_checkout_history save_search_history
2
+ enjuadmin tanabe@kamata.lib.teu.ac.jp 00001 Administrator user kamata ja false Administrator 2007-11-19 07:58:32 UTC 2008-05-31 04:16:30 UTC false
3
+ librarian1 librarian1@kamata.lib.teu.ac.jp 00002 Librarian not_specified web ja false Guest 2007-11-19 07:58:33 UTC 2008-05-31 03:41:16 UTC false
4
+ user1 user1@kamata.lib.teu.ac.jp 00003 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
5
+ librarian2 librarian2@library.example.jp 00004 Librarian not_specified kamata ja false Guest 2008-01-18 03:24:04 UTC 2008-05-31 03:42:23 UTC false
6
+ user2 user2@library.example.jp User not_specified web ja false User 2008-01-18 04:29:06 UTC 2008-05-31 03:42:44 UTC false
7
+ user3 user3@kamata.lib.teu.ac.jp 00006 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
8
+ user4 user4@kamata.lib.teu.ac.jp 00007 User not_specified kamata ja true Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
@@ -0,0 +1,8 @@
1
+ username full_name full_name_transcription email user_number role user_group library locale locked required_role created_at updated_at expired_at keyword_list note checkout_icalendar_token save_checkout_history save_search_history
2
+ enjuadmin tanabe@kamata.lib.teu.ac.jp 00001 Administrator user kamata ja false Administrator 2007-11-19 07:58:32 UTC 2008-05-31 04:16:30 UTC false
3
+ librarian1 librarian1@kamata.lib.teu.ac.jp 00002 Librarian not_specified web ja false Guest 2007-11-19 07:58:33 UTC 2008-05-31 03:41:16 UTC false
4
+ user1 user1@kamata.lib.teu.ac.jp 00003 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
5
+ librarian2 librarian2@library.example.jp 00004 Librarian not_specified kamata ja false Guest 2008-01-18 03:24:04 UTC 2008-05-31 03:42:23 UTC false
6
+ user2 user2@library.example.jp User not_specified web ja false User 2008-01-18 04:29:06 UTC 2008-05-31 03:42:44 UTC false
7
+ user3 user3@kamata.lib.teu.ac.jp 00006 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
8
+ user4 user4@kamata.lib.teu.ac.jp 00007 User not_specified kamata ja true Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
@@ -0,0 +1,8 @@
1
+ username full_name full_name_transcription email user_number role user_group library locale locked required_role created_at updated_at expired_at keyword_list note checkout_icalendar_token save_checkout_history save_search_history
2
+ enjuadmin tanabe@kamata.lib.teu.ac.jp 00001 Administrator user kamata ja false Administrator 2007-11-19 07:58:32 UTC 2008-05-31 04:16:30 UTC false
3
+ librarian1 librarian1@kamata.lib.teu.ac.jp 00002 Librarian not_specified web ja false Guest 2007-11-19 07:58:33 UTC 2008-05-31 03:41:16 UTC false
4
+ user1 user1@kamata.lib.teu.ac.jp 00003 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
5
+ librarian2 librarian2@library.example.jp 00004 Librarian not_specified kamata ja false Guest 2008-01-18 03:24:04 UTC 2008-05-31 03:42:23 UTC false
6
+ user2 user2@library.example.jp User not_specified web ja false User 2008-01-18 04:29:06 UTC 2008-05-31 03:42:44 UTC false
7
+ user3 user3@kamata.lib.teu.ac.jp 00006 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
8
+ user4 user4@kamata.lib.teu.ac.jp 00007 User not_specified kamata ja true Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
@@ -0,0 +1,8 @@
1
+ username full_name full_name_transcription email user_number role user_group library locale locked required_role created_at updated_at expired_at keyword_list note checkout_icalendar_token save_checkout_history save_search_history share_bookmarks
2
+ enjuadmin tanabe@kamata.lib.teu.ac.jp 00001 Administrator user kamata ja false Administrator 2007-11-19 07:58:32 UTC 2008-05-31 04:16:30 UTC false
3
+ librarian1 librarian1@kamata.lib.teu.ac.jp 00002 Librarian not_specified web ja false Guest 2007-11-19 07:58:33 UTC 2008-05-31 03:41:16 UTC false
4
+ user1 user1@kamata.lib.teu.ac.jp 00003 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
5
+ librarian2 librarian2@library.example.jp 00004 Librarian not_specified kamata ja false Guest 2008-01-18 03:24:04 UTC 2008-05-31 03:42:23 UTC false
6
+ user2 user2@library.example.jp User not_specified web ja false User 2008-01-18 04:29:06 UTC 2008-05-31 03:42:44 UTC false
7
+ user3 user3@kamata.lib.teu.ac.jp 00006 User not_specified kamata ja false Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false
8
+ user4 user4@kamata.lib.teu.ac.jp 00007 User not_specified kamata ja true Librarian 2007-11-19 07:58:34 UTC 2008-05-31 04:02:25 UTC false