wordjelly-auth 1.5.7 → 1.5.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (686) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +0 -0
  3. data/README.rdoc +0 -0
  4. data/Rakefile +0 -0
  5. data/app/assets/images/ai_lab.jpg +0 -0
  6. data/app/assets/images/auth/activity.jpg +0 -0
  7. data/app/assets/images/auth/facebook.svg +0 -0
  8. data/app/assets/images/auth/google_oauth2.svg +0 -0
  9. data/app/assets/images/auth/js_pic3.jpg +0 -0
  10. data/app/assets/images/auth/profile.jpg +0 -0
  11. data/app/assets/images/lab.jpg +0 -0
  12. data/app/assets/images/payumoney.png +0 -0
  13. data/app/assets/images/placeholder.png +0 -0
  14. data/app/assets/javascripts/auth/application.js +0 -0
  15. data/app/assets/javascripts/auth/auth_dependencies.js +0 -0
  16. data/app/assets/javascripts/auth/auth_modals_and_navbar.js +0 -0
  17. data/app/assets/javascripts/auth/shopping/discounts.js +0 -0
  18. data/app/assets/javascripts/auth/users/profiles.js +0 -0
  19. data/app/assets/stylesheets/auth/application.scss +0 -0
  20. data/app/assets/stylesheets/auth/auth_default_css.scss +0 -0
  21. data/app/assets/stylesheets/auth/common-styles.scss +0 -0
  22. data/app/assets/stylesheets/auth/overrides.scss +0 -0
  23. data/app/assets/stylesheets/auth/users/profiles.scss +0 -0
  24. data/app/assets/stylesheets/scaffold.css +0 -0
  25. data/app/controllers/auth/admin_create_users_controller.rb +0 -0
  26. data/app/controllers/auth/application_controller.rb +0 -0
  27. data/app/controllers/auth/authenticated_controller.rb +0 -0
  28. data/app/controllers/auth/clients_controller.rb +0 -0
  29. data/app/controllers/auth/concerns/activity_controller_concern.rb +0 -0
  30. data/app/controllers/auth/concerns/devise_concern.rb +8 -8
  31. data/app/controllers/auth/concerns/omni_concern.rb +0 -0
  32. data/app/controllers/auth/concerns/otp_concern.rb +0 -0
  33. data/app/controllers/auth/concerns/shopping/cart_controller_concern.rb +0 -0
  34. data/app/controllers/auth/concerns/shopping/cart_item_controller_concern.rb +0 -0
  35. data/app/controllers/auth/concerns/shopping/discount_controller_concern.rb +0 -0
  36. data/app/controllers/auth/concerns/shopping/pay_u_money_controller_concern.rb +0 -0
  37. data/app/controllers/auth/concerns/shopping/payment_controller_concern.rb +0 -0
  38. data/app/controllers/auth/concerns/shopping/personality_controller_concern.rb +0 -0
  39. data/app/controllers/auth/concerns/shopping/place_controller_concern.rb +0 -0
  40. data/app/controllers/auth/concerns/shopping/product_controller_concern.rb +0 -0
  41. data/app/controllers/auth/concerns/token_concern.rb +0 -0
  42. data/app/controllers/auth/concerns/work/communication_controller_concern.rb +0 -0
  43. data/app/controllers/auth/concerns/work/instruction_controller_concern.rb +0 -0
  44. data/app/controllers/auth/confirmations_controller.rb +0 -0
  45. data/app/controllers/auth/endpoints_controller.rb +0 -0
  46. data/app/controllers/auth/images_controller.rb +0 -0
  47. data/app/controllers/auth/mailgun_controller.rb +0 -0
  48. data/app/controllers/auth/omniauth_callbacks_controller.rb +0 -0
  49. data/app/controllers/auth/passwords_controller.rb +0 -0
  50. data/app/controllers/auth/profiles_controller.rb +0 -0
  51. data/app/controllers/auth/registrations_controller.rb +0 -0
  52. data/app/controllers/auth/search_controller.rb +0 -0
  53. data/app/controllers/auth/sessions_controller.rb +0 -0
  54. data/app/controllers/auth/shopping/bar_codes_controller.rb +0 -0
  55. data/app/controllers/auth/shopping/cart_items_controller.rb +0 -0
  56. data/app/controllers/auth/shopping/carts_controller.rb +0 -0
  57. data/app/controllers/auth/shopping/discounts_controller.rb +0 -0
  58. data/app/controllers/auth/shopping/payments_controller.rb +0 -0
  59. data/app/controllers/auth/shopping/personalities_controller.rb +0 -0
  60. data/app/controllers/auth/shopping/places_controller.rb +0 -0
  61. data/app/controllers/auth/shopping/products_controller.rb +0 -0
  62. data/app/controllers/auth/shopping/shopping_controller.rb +0 -0
  63. data/app/controllers/auth/unlocks_controller.rb +0 -0
  64. data/app/controllers/auth/webhooks_controller.rb +0 -0
  65. data/app/controllers/auth/work/bullets_controller.rb +0 -0
  66. data/app/controllers/auth/work/communications_controller.rb +0 -0
  67. data/app/controllers/auth/work/instructions_controller.rb +0 -0
  68. data/app/controllers/auth/work/work_controller.rb +0 -0
  69. data/app/controllers/auth/workflow/assemblies_controller.rb +0 -0
  70. data/app/controllers/auth/workflow/bookings_controller.rb +0 -0
  71. data/app/controllers/auth/workflow/categories_controller.rb +0 -0
  72. data/app/controllers/auth/workflow/consumables_controller.rb +0 -0
  73. data/app/controllers/auth/workflow/locations_controller.rb +0 -0
  74. data/app/controllers/auth/workflow/minutes_controller.rb +0 -0
  75. data/app/controllers/auth/workflow/orders_controller.rb +0 -0
  76. data/app/controllers/auth/workflow/overlaps_controller.rb +0 -0
  77. data/app/controllers/auth/workflow/requirements_controller.rb +0 -0
  78. data/app/controllers/auth/workflow/schedules_controller.rb +0 -0
  79. data/app/controllers/auth/workflow/slots_controller.rb +0 -0
  80. data/app/controllers/auth/workflow/sops_controller.rb +0 -0
  81. data/app/controllers/auth/workflow/specifications_controller.rb +0 -0
  82. data/app/controllers/auth/workflow/stages_controller.rb +0 -0
  83. data/app/controllers/auth/workflow/states_controller.rb +0 -0
  84. data/app/controllers/auth/workflow/steps_controller.rb +0 -0
  85. data/app/controllers/auth/workflow/tlocations_controller.rb +0 -0
  86. data/app/controllers/auth/workflow/workflow_controller.rb +0 -0
  87. data/app/helpers/auth/admin_create_users_helper.rb +0 -0
  88. data/app/helpers/auth/application_helper.rb +0 -0
  89. data/app/helpers/auth/assemblies_helper.rb +0 -0
  90. data/app/helpers/auth/clients_helper.rb +0 -0
  91. data/app/helpers/auth/images/images_helper.rb +0 -0
  92. data/app/helpers/auth/images_helper.rb +0 -0
  93. data/app/helpers/auth/resource_helper.rb +0 -0
  94. data/app/helpers/auth/search_helper.rb +0 -0
  95. data/app/helpers/auth/shopping/cart_items/cart_items_helper.rb +0 -0
  96. data/app/helpers/auth/shopping/carts/carts_helper.rb +0 -0
  97. data/app/helpers/auth/shopping/discounts/discounts_helper.rb +0 -0
  98. data/app/helpers/auth/shopping/payments/pay_u_money_helper.rb +0 -0
  99. data/app/helpers/auth/shopping/payments/payments_helper.rb +0 -0
  100. data/app/helpers/auth/shopping/personalities/personalities_helper.rb +0 -0
  101. data/app/helpers/auth/shopping/places/places_helper.rb +0 -0
  102. data/app/helpers/auth/shopping/products/products_helper.rb +0 -0
  103. data/app/helpers/auth/shopping/shopping_helper.rb +0 -0
  104. data/app/helpers/auth/users/profiles_helper.rb +0 -0
  105. data/app/helpers/auth/work/bullets/bullets_helper.rb +0 -0
  106. data/app/helpers/auth/work/instructions/instructions_helper.rb +0 -0
  107. data/app/jobs/communication_job.rb +0 -0
  108. data/app/jobs/otp_job.rb +3 -1
  109. data/app/mailers/application_mailer.rb +0 -0
  110. data/app/mailers/auth/notifier.rb +0 -0
  111. data/app/mailers/auth/send_mail.rb +0 -0
  112. data/app/models/auth/action.rb +0 -0
  113. data/app/models/auth/admin_create_user.rb +0 -0
  114. data/app/models/auth/client.rb +0 -0
  115. data/app/models/auth/concerns/activity_concern.rb +0 -0
  116. data/app/models/auth/concerns/chief_model_concern.rb +0 -0
  117. data/app/models/auth/concerns/clone_concern.rb +0 -0
  118. data/app/models/auth/concerns/es_concern.rb +0 -0
  119. data/app/models/auth/concerns/image_load_concern.rb +0 -0
  120. data/app/models/auth/concerns/notification_concern.rb +0 -0
  121. data/app/models/auth/concerns/notification_response_concern.rb +0 -0
  122. data/app/models/auth/concerns/owner_concern.rb +0 -0
  123. data/app/models/auth/concerns/shopping/bar_code_concern.rb +0 -0
  124. data/app/models/auth/concerns/shopping/cart_concern.rb +0 -0
  125. data/app/models/auth/concerns/shopping/cart_item_concern.rb +0 -0
  126. data/app/models/auth/concerns/shopping/discount_concern.rb +0 -0
  127. data/app/models/auth/concerns/shopping/discount_flow.txt +0 -0
  128. data/app/models/auth/concerns/shopping/lifecycle_of_state_concern.txt +0 -0
  129. data/app/models/auth/concerns/shopping/pay_u_money_concern.rb +0 -0
  130. data/app/models/auth/concerns/shopping/payment_concern.rb +0 -0
  131. data/app/models/auth/concerns/shopping/personality_concern.rb +0 -0
  132. data/app/models/auth/concerns/shopping/place_concern.rb +0 -0
  133. data/app/models/auth/concerns/shopping/product_concern.rb +0 -0
  134. data/app/models/auth/concerns/sms_otp_concern.rb +0 -0
  135. data/app/models/auth/concerns/system_concern.rb +0 -0
  136. data/app/models/auth/concerns/user_concern.rb +20 -14
  137. data/app/models/auth/concerns/work/communication_fields_concern.rb +0 -0
  138. data/app/models/auth/concerns/work/good_concern.rb +0 -0
  139. data/app/models/auth/concerns/workflow_concern.rb +0 -0
  140. data/app/models/auth/endpoint.rb +0 -0
  141. data/app/models/auth/identity.rb +0 -0
  142. data/app/models/auth/image.rb +0 -0
  143. data/app/models/auth/shopping/bar_code.rb +0 -0
  144. data/app/models/auth/shopping/cart.rb +0 -0
  145. data/app/models/auth/shopping/cart_item.rb +0 -0
  146. data/app/models/auth/shopping/cart_item_payment_result.rb +0 -0
  147. data/app/models/auth/shopping/discount.rb +0 -0
  148. data/app/models/auth/shopping/payment.rb +0 -0
  149. data/app/models/auth/shopping/personality.rb +0 -0
  150. data/app/models/auth/shopping/place.rb +0 -0
  151. data/app/models/auth/shopping/product.rb +0 -0
  152. data/app/models/auth/system/branch.rb +0 -0
  153. data/app/models/auth/system/collector.rb +0 -0
  154. data/app/models/auth/system/creation.rb +0 -0
  155. data/app/models/auth/system/definition.rb +0 -0
  156. data/app/models/auth/system/entity.rb +0 -0
  157. data/app/models/auth/system/instant.rb +0 -0
  158. data/app/models/auth/system/level.rb +0 -0
  159. data/app/models/auth/system/merger.rb +0 -0
  160. data/app/models/auth/system/minute.rb +0 -0
  161. data/app/models/auth/system/output.rb +0 -0
  162. data/app/models/auth/system/plan.rb +0 -0
  163. data/app/models/auth/system/template.rb +0 -0
  164. data/app/models/auth/system/unit.rb +0 -0
  165. data/app/models/auth/system/wrapper.rb +0 -0
  166. data/app/models/auth/transaction/event.rb +0 -0
  167. data/app/models/auth/transaction/event_holder.rb +0 -0
  168. data/app/models/auth/transaction/event_test.rb +0 -0
  169. data/app/models/auth/transaction/status.rb +0 -0
  170. data/app/models/auth/user.rb +0 -0
  171. data/app/models/auth/work/actor.rb +0 -0
  172. data/app/models/auth/work/bullet.rb +0 -0
  173. data/app/models/auth/work/communication.rb +0 -0
  174. data/app/models/auth/work/cycle.rb +0 -0
  175. data/app/models/auth/work/entity.rb +0 -0
  176. data/app/models/auth/work/information.rb +0 -0
  177. data/app/models/auth/work/input.rb +0 -0
  178. data/app/models/auth/work/instruction.rb +0 -0
  179. data/app/models/auth/work/link.rb +0 -0
  180. data/app/models/auth/work/minute.rb +0 -0
  181. data/app/models/auth/work/parameter.rb +0 -0
  182. data/app/models/auth/work/schedule.rb +0 -0
  183. data/app/models/auth/work/template.rb +0 -0
  184. data/app/models/auth/work/variable.rb +0 -0
  185. data/app/models/auth/workflow/assembly.rb +0 -0
  186. data/app/models/auth/workflow/booking.rb +0 -0
  187. data/app/models/auth/workflow/category.rb +0 -0
  188. data/app/models/auth/workflow/consumable.rb +0 -0
  189. data/app/models/auth/workflow/entity.rb +0 -0
  190. data/app/models/auth/workflow/hierarchy.txt +0 -0
  191. data/app/models/auth/workflow/location.rb +0 -0
  192. data/app/models/auth/workflow/minute.rb +0 -0
  193. data/app/models/auth/workflow/order.rb +0 -0
  194. data/app/models/auth/workflow/overlap.rb +0 -0
  195. data/app/models/auth/workflow/requirement.rb +0 -0
  196. data/app/models/auth/workflow/schedule.rb +0 -0
  197. data/app/models/auth/workflow/slot.rb +0 -0
  198. data/app/models/auth/workflow/sop.rb +0 -0
  199. data/app/models/auth/workflow/specification.rb +0 -0
  200. data/app/models/auth/workflow/stage.rb +0 -0
  201. data/app/models/auth/workflow/state.rb +0 -0
  202. data/app/models/auth/workflow/step.rb +0 -0
  203. data/app/models/auth/workflow/tlocation.rb +0 -0
  204. data/app/views/auth/admin_create_users/_admin_actions.html.erb +0 -0
  205. data/app/views/auth/admin_create_users/_form.html.erb +0 -0
  206. data/app/views/auth/admin_create_users/edit.html.erb +0 -0
  207. data/app/views/auth/admin_create_users/index.html.erb +0 -0
  208. data/app/views/auth/admin_create_users/new.html.erb +0 -0
  209. data/app/views/auth/admin_create_users/search_results/_add_new_user.html.erb +0 -0
  210. data/app/views/auth/admin_create_users/search_results/_manage_user.html.erb +0 -0
  211. data/app/views/auth/admin_create_users/show.html.erb +0 -0
  212. data/app/views/auth/assemblies/_form.html.erb +0 -0
  213. data/app/views/auth/assemblies/edit.html.erb +0 -0
  214. data/app/views/auth/assemblies/index.html.erb +0 -0
  215. data/app/views/auth/assemblies/new.html.erb +0 -0
  216. data/app/views/auth/assemblies/show.html.erb +0 -0
  217. data/app/views/auth/clients/_form.html.erb +0 -0
  218. data/app/views/auth/clients/edit.html.erb +0 -0
  219. data/app/views/auth/clients/new.html.erb +0 -0
  220. data/app/views/auth/clients/show.html.erb +0 -0
  221. data/app/views/auth/confirmations/_enter_otp.html.erb +0 -0
  222. data/app/views/auth/confirmations/_get_otp_status.html.erb +0 -0
  223. data/app/views/auth/confirmations/_new_otp_input.js.erb +0 -0
  224. data/app/views/auth/confirmations/_resend_otp.js.erb +0 -0
  225. data/app/views/auth/confirmations/_resend_sms_otp.html.erb +0 -0
  226. data/app/views/auth/confirmations/_verify_otp.js.erb +0 -0
  227. data/app/views/auth/confirmations/create.js.erb +0 -0
  228. data/app/views/auth/confirmations/enter_otp.html.erb +0 -0
  229. data/app/views/auth/confirmations/get_otp_status.html.erb +0 -0
  230. data/app/views/auth/confirmations/new.html.erb +0 -0
  231. data/app/views/auth/confirmations/new.js.erb +0 -0
  232. data/app/views/auth/confirmations/otp_status_result.html.erb +0 -0
  233. data/app/views/auth/images/_form.html.erb +0 -0
  234. data/app/views/auth/images/_image_concern.html.erb +0 -0
  235. data/app/views/auth/images/_show.html.erb +0 -0
  236. data/app/views/auth/images/_show.js.erb +0 -0
  237. data/app/views/auth/images/destroy.js.erb +0 -0
  238. data/app/views/auth/images/edit.html.erb +0 -0
  239. data/app/views/auth/images/index.html.erb +0 -0
  240. data/app/views/auth/images/new.html.erb +0 -0
  241. data/app/views/auth/images/show.html.erb +0 -0
  242. data/app/views/auth/images/show.js.erb +0 -0
  243. data/app/views/auth/mailer/confirmation_instructions.html.erb +0 -0
  244. data/app/views/auth/mailer/password_change.html.erb +0 -0
  245. data/app/views/auth/mailer/reset_password_instructions.html.erb +0 -0
  246. data/app/views/auth/mailer/unlock_instructions.html.erb +0 -0
  247. data/app/views/auth/modals/_ajax_error_modal.html.erb +0 -0
  248. data/app/views/auth/modals/_ajax_error_modal_content.html.erb +0 -0
  249. data/app/views/auth/modals/_edit_account_content.html.erb +0 -0
  250. data/app/views/auth/modals/_edit_account_success_content.html.erb +0 -0
  251. data/app/views/auth/modals/_error_notification.html.erb +0 -0
  252. data/app/views/auth/modals/_forgot_password_content.html.erb +0 -0
  253. data/app/views/auth/modals/_forgot_password_success_content.html.erb +0 -0
  254. data/app/views/auth/modals/_login_default_content.html.erb +0 -0
  255. data/app/views/auth/modals/_login_forms.html.erb +0 -0
  256. data/app/views/auth/modals/_login_navigation_options.html.erb +0 -0
  257. data/app/views/auth/modals/_new_otp_input.html.erb +0 -0
  258. data/app/views/auth/modals/_oauth_and_submit.html.erb +0 -0
  259. data/app/views/auth/modals/_recaptcha_tags.html.erb +0 -0
  260. data/app/views/auth/modals/_resend_confirmation_content.html.erb +0 -0
  261. data/app/views/auth/modals/_resend_confirmation_success_content.html.erb +0 -0
  262. data/app/views/auth/modals/_resend_otp.html.erb +0 -0
  263. data/app/views/auth/modals/_resource_errors.js.erb +0 -0
  264. data/app/views/auth/modals/_sign_in_inputs.html.erb +0 -0
  265. data/app/views/auth/modals/_sign_in_needed_modal.html.erb +0 -0
  266. data/app/views/auth/modals/_sign_in_success_content.html.erb +0 -0
  267. data/app/views/auth/modals/_sign_up_inputs.html.erb +0 -0
  268. data/app/views/auth/modals/_sign_up_success_content.html.erb +0 -0
  269. data/app/views/auth/modals/_sign_up_success_inactive_content.html.erb +0 -0
  270. data/app/views/auth/modals/_unlock_content.html.erb +0 -0
  271. data/app/views/auth/modals/_verify_otp.html.erb +0 -0
  272. data/app/views/auth/modals/base_modal/_base.html.erb +0 -0
  273. data/app/views/auth/modals/login.js.erb +0 -0
  274. data/app/views/auth/modals/unlock_success_content.html.erb +0 -0
  275. data/app/views/auth/notifier/_email.html.erb +0 -0
  276. data/app/views/auth/notifier/notification.html.erb +0 -0
  277. data/app/views/auth/notifier/notification.text.erb +0 -0
  278. data/app/views/auth/omniauth_callbacks/failure.html.erb +0 -0
  279. data/app/views/auth/passwords/create.js.erb +0 -0
  280. data/app/views/auth/passwords/edit.html.erb +0 -0
  281. data/app/views/auth/passwords/new.html.erb +0 -0
  282. data/app/views/auth/passwords/new.js.erb +0 -0
  283. data/app/views/auth/profiles/_admin_profile.html.erb +0 -0
  284. data/app/views/auth/profiles/_proxy_resource.html.erb +0 -0
  285. data/app/views/auth/profiles/search_results/_switch_to_user.html.erb +0 -0
  286. data/app/views/auth/profiles/set_proxy_resource.js.erb +0 -0
  287. data/app/views/auth/profiles/show.html.erb +0 -0
  288. data/app/views/auth/registrations/create.js.erb +0 -0
  289. data/app/views/auth/registrations/edit.html.erb +0 -0
  290. data/app/views/auth/registrations/edit.js.erb +0 -0
  291. data/app/views/auth/registrations/new.html.erb +0 -0
  292. data/app/views/auth/registrations/update.js.erb +0 -0
  293. data/app/views/auth/search/_search_bar.html.erb +0 -0
  294. data/app/views/auth/search/_search_result.html.erb +0 -0
  295. data/app/views/auth/search/authenticated_user_search.js.erb +0 -0
  296. data/app/views/auth/search/authenticated_user_search.json +0 -0
  297. data/app/views/auth/search/authenticated_user_search_with_masking.json +0 -0
  298. data/app/views/auth/send_mail/send.html.erb +0 -0
  299. data/app/views/auth/sessions/create.js.erb +0 -0
  300. data/app/views/auth/sessions/new.html.erb +0 -0
  301. data/app/views/auth/sessions/new.js.erb +0 -0
  302. data/app/views/auth/shared/_devise_error_messages.html.erb +0 -0
  303. data/app/views/auth/shared/_links.html.erb +0 -0
  304. data/app/views/auth/shared/_object_errors.html.erb +0 -0
  305. data/app/views/auth/shared/_proxy_resource.html.erb +0 -0
  306. data/app/views/auth/shopping/bar_codes/_barcode_input_field.html.erb +0 -0
  307. data/app/views/auth/shopping/bar_codes/_get_object_button.html.erb +0 -0
  308. data/app/views/auth/shopping/bar_codes/_scan.html.erb +0 -0
  309. data/app/views/auth/shopping/bar_codes/_show.html.erb +0 -0
  310. data/app/views/auth/shopping/bar_codes/_show.js.erb +0 -0
  311. data/app/views/auth/shopping/bar_codes/new.html.erb +0 -0
  312. data/app/views/auth/shopping/bar_codes/show.html.erb +0 -0
  313. data/app/views/auth/shopping/cart_items/_form.html.erb +0 -0
  314. data/app/views/auth/shopping/cart_items/_show_cart_items_collection.html.erb +0 -0
  315. data/app/views/auth/shopping/cart_items/create_multiple.html.erb +0 -0
  316. data/app/views/auth/shopping/cart_items/create_multiple.json.erb +0 -0
  317. data/app/views/auth/shopping/cart_items/edit.html.erb +0 -0
  318. data/app/views/auth/shopping/cart_items/index.html.erb +0 -0
  319. data/app/views/auth/shopping/cart_items/new.html.erb +0 -0
  320. data/app/views/auth/shopping/cart_items/search_results/_remove_item_from_cart.html.erb +0 -0
  321. data/app/views/auth/shopping/cart_items/search_results/_remove_item_from_wish_list.html.erb +0 -0
  322. data/app/views/auth/shopping/cart_items/show.html.erb +0 -0
  323. data/app/views/auth/shopping/carts/_form.html.erb +0 -0
  324. data/app/views/auth/shopping/carts/_payment_links.html.erb +0 -0
  325. data/app/views/auth/shopping/carts/_remove_cart_item.html.erb +0 -0
  326. data/app/views/auth/shopping/carts/_show_cart_balance_info.html.erb +0 -0
  327. data/app/views/auth/shopping/carts/edit.html.erb +0 -0
  328. data/app/views/auth/shopping/carts/index.html.erb +0 -0
  329. data/app/views/auth/shopping/carts/new.html.erb +0 -0
  330. data/app/views/auth/shopping/carts/show.html.erb +0 -0
  331. data/app/views/auth/shopping/discounts/_form.html.erb +0 -0
  332. data/app/views/auth/shopping/discounts/_form_for_create_multiple_cart_items.html.erb +0 -0
  333. data/app/views/auth/shopping/discounts/_show_pending_discount_request.html.erb +0 -0
  334. data/app/views/auth/shopping/discounts/destroy.html.erb +0 -0
  335. data/app/views/auth/shopping/discounts/edit.html.erb +0 -0
  336. data/app/views/auth/shopping/discounts/index.html.erb +0 -0
  337. data/app/views/auth/shopping/discounts/new.html.erb +0 -0
  338. data/app/views/auth/shopping/discounts/show.html.erb +0 -0
  339. data/app/views/auth/shopping/discounts/update.html.erb +0 -0
  340. data/app/views/auth/shopping/payments/_approve_payment.html.erb +0 -0
  341. data/app/views/auth/shopping/payments/_cash_card_cheque.html.erb +0 -0
  342. data/app/views/auth/shopping/payments/_create_discount_coupon.html.erb +0 -0
  343. data/app/views/auth/shopping/payments/_form.html.erb +0 -0
  344. data/app/views/auth/shopping/payments/_gateway.html.erb +0 -0
  345. data/app/views/auth/shopping/payments/_proceed_to_gateway_or_verify_payment.html.erb +0 -0
  346. data/app/views/auth/shopping/payments/_refresh_payment.html.erb +0 -0
  347. data/app/views/auth/shopping/payments/_refund.html.erb +0 -0
  348. data/app/views/auth/shopping/payments/_show_payment_receipt.html.erb +0 -0
  349. data/app/views/auth/shopping/payments/edit.html.erb +0 -0
  350. data/app/views/auth/shopping/payments/index.html.erb +0 -0
  351. data/app/views/auth/shopping/payments/new.html.erb +0 -0
  352. data/app/views/auth/shopping/payments/show.html.erb +0 -0
  353. data/app/views/auth/shopping/personalities/_form.html.erb +0 -0
  354. data/app/views/auth/shopping/personalities/_search.html.erb +0 -0
  355. data/app/views/auth/shopping/personalities/_search_results_holder.html.erb +0 -0
  356. data/app/views/auth/shopping/personalities/new.html.erb +0 -0
  357. data/app/views/auth/shopping/places/_form.html.erb +0 -0
  358. data/app/views/auth/shopping/places/_search.html.erb +0 -0
  359. data/app/views/auth/shopping/places/_search_results_holder.html.erb +0 -0
  360. data/app/views/auth/shopping/places/new.html.erb +0 -0
  361. data/app/views/auth/shopping/products/_create_from_product.html.erb +0 -0
  362. data/app/views/auth/shopping/products/_form.html.erb +0 -0
  363. data/app/views/auth/shopping/products/edit.html.erb +0 -0
  364. data/app/views/auth/shopping/products/index.html.erb +0 -0
  365. data/app/views/auth/shopping/products/index.json.erb +0 -0
  366. data/app/views/auth/shopping/products/index/_show.html.erb +0 -0
  367. data/app/views/auth/shopping/products/new.html.erb +0 -0
  368. data/app/views/auth/shopping/products/search_results/_add_product.html.erb +0 -0
  369. data/app/views/auth/shopping/products/search_results/_edit_product.html.erb +0 -0
  370. data/app/views/auth/shopping/products/show.html.erb +0 -0
  371. data/app/views/auth/shopping/products/show.json.erb +0 -0
  372. data/app/views/auth/shopping/products/show/_action_links.html.erb +0 -0
  373. data/app/views/auth/shopping/products/show/_content.html.erb +0 -0
  374. data/app/views/auth/shopping/products/show/_summary.html.erb +0 -0
  375. data/app/views/auth/unlocks/create.js.erb +0 -0
  376. data/app/views/auth/unlocks/new.html.erb +0 -0
  377. data/app/views/auth/unlocks/new.js.erb +0 -0
  378. data/app/views/auth/users/_search_result.html.erb +0 -0
  379. data/app/views/auth/users/profiles/_user_data.html.erb +0 -0
  380. data/app/views/auth/users/profiles/show.html.erb +0 -0
  381. data/app/views/auth/work/bullets/_form.html.erb +0 -0
  382. data/app/views/auth/work/bullets/_show.html.erb +0 -0
  383. data/app/views/auth/work/bullets/edit.html.erb +0 -0
  384. data/app/views/auth/work/bullets/new.html.erb +0 -0
  385. data/app/views/auth/work/communications/_form.html.erb +0 -0
  386. data/app/views/auth/work/communications/_show.html.erb +0 -0
  387. data/app/views/auth/work/communications/edit.html.erb +0 -0
  388. data/app/views/auth/work/communications/new.html.erb +0 -0
  389. data/app/views/auth/work/communications/show.html.erb +0 -0
  390. data/app/views/auth/work/instructions/_form.html.erb +0 -0
  391. data/app/views/auth/work/instructions/_image.html.erb +0 -0
  392. data/app/views/auth/work/instructions/_show.html.erb +0 -0
  393. data/app/views/auth/work/instructions/edit.html.erb +0 -0
  394. data/app/views/auth/work/instructions/new.html.erb +0 -0
  395. data/app/views/auth/work/instructions/show.html.erb +0 -0
  396. data/app/views/layouts/auth/_modals.html.erb +0 -0
  397. data/app/views/layouts/auth/application.html.erb +0 -0
  398. data/app/views/layouts/auth/navbar/_acting_for_user.html.erb +0 -0
  399. data/app/views/layouts/auth/navbar/_navbar.html.erb +0 -0
  400. data/app/views/layouts/auth/navbar/_personalization.html.erb +0 -0
  401. data/app/views/layouts/auth/navbar/_progress_spinner.html.erb +0 -0
  402. data/app/views/layouts/mailer.html.erb +0 -0
  403. data/app/views/layouts/mailer.text.erb +0 -0
  404. data/app/views/layouts/send_mail.html.erb +0 -0
  405. data/config/initializers/active_model.rb +0 -0
  406. data/config/initializers/aws.rb +0 -0
  407. data/config/initializers/devise.rb +0 -0
  408. data/config/initializers/json.rb +0 -0
  409. data/config/initializers/omniauth.rb +1 -1
  410. data/config/initializers/redis.rb +0 -0
  411. data/config/initializers/redis.yml +0 -0
  412. data/config/initializers/time_hash.rb +0 -0
  413. data/config/locales/devise.en.yml +0 -0
  414. data/config/routes.rb +0 -0
  415. data/lib/assets/javascripts/bar_code.js +0 -0
  416. data/lib/assets/javascripts/data.js +0 -0
  417. data/lib/assets/javascripts/jquery.calendario.js +0 -0
  418. data/lib/assets/javascripts/jquery.tagcloud.js +0 -0
  419. data/lib/assets/javascripts/leanModal.js +0 -0
  420. data/lib/assets/javascripts/main.js +0 -0
  421. data/lib/assets/javascripts/modernizr.custom.63321.js +0 -0
  422. data/lib/assets/javascripts/payumoney.js +0 -0
  423. data/lib/assets/javascripts/search.js +0 -0
  424. data/lib/assets/javascripts/spinner.js +0 -0
  425. data/lib/assets/javascripts/trianglify.min.js +0 -0
  426. data/lib/assets/javascripts/you_need_to_sign_in.js.erb +0 -0
  427. data/lib/assets/stylesheets/calendar.css +0 -0
  428. data/lib/assets/stylesheets/calendar_modifications.scss +0 -0
  429. data/lib/auth/custom_failure.rb +0 -0
  430. data/lib/auth/engine.rb +0 -0
  431. data/lib/auth/job_exception_handler.rb +0 -0
  432. data/lib/auth/mailgun.rb +0 -0
  433. data/lib/auth/notify.rb +0 -0
  434. data/lib/auth/omniauth/path.rb +0 -0
  435. data/lib/auth/partials.rb +0 -0
  436. data/lib/auth/rails/routes.rb +0 -0
  437. data/lib/auth/search/main.rb +0 -0
  438. data/lib/auth/sidekiq_up.rb +0 -0
  439. data/lib/auth/two_factor_otp.rb +49 -2
  440. data/lib/auth/url_shortener.rb +0 -0
  441. data/lib/auth/version.rb +1 -1
  442. data/lib/tasks/auth_tasks.rake +0 -0
  443. data/lib/wordjelly-auth.rb +0 -0
  444. data/spec/auth_test.rb +0 -0
  445. data/spec/dummy/README.rdoc +0 -0
  446. data/spec/dummy/Rakefile +0 -0
  447. data/spec/dummy/app/assets/images/ai_lab.jpg +0 -0
  448. data/spec/dummy/app/assets/images/lab.jpg +0 -0
  449. data/spec/dummy/app/assets/javascripts/application.js +0 -0
  450. data/spec/dummy/app/assets/javascripts/images.js +0 -0
  451. data/spec/dummy/app/assets/stylesheets/application.scss +0 -0
  452. data/spec/dummy/app/assets/time_hashes.json +0 -0
  453. data/spec/dummy/app/controllers/activity_controller.rb +0 -0
  454. data/spec/dummy/app/controllers/admins/confirmations_controller.rb +0 -0
  455. data/spec/dummy/app/controllers/admins/omniauth_callbacks_controller.rb +0 -0
  456. data/spec/dummy/app/controllers/admins/passwords_controller.rb +0 -0
  457. data/spec/dummy/app/controllers/admins/registrations_controller.rb +0 -0
  458. data/spec/dummy/app/controllers/admins/sessions_controller.rb +0 -0
  459. data/spec/dummy/app/controllers/admins/unlocks_controller.rb +0 -0
  460. data/spec/dummy/app/controllers/application_controller.rb +0 -0
  461. data/spec/dummy/app/controllers/home_controller.rb +0 -0
  462. data/spec/dummy/app/controllers/otp_controller.rb +0 -0
  463. data/spec/dummy/app/controllers/profiles_controller.rb +0 -0
  464. data/spec/dummy/app/controllers/shopping/cart_items_controller.rb +0 -0
  465. data/spec/dummy/app/controllers/shopping/carts_controller.rb +0 -0
  466. data/spec/dummy/app/controllers/shopping/discounts_controller.rb +0 -0
  467. data/spec/dummy/app/controllers/shopping/payments_controller.rb +0 -0
  468. data/spec/dummy/app/controllers/shopping/personalities_controller.rb +0 -0
  469. data/spec/dummy/app/controllers/shopping/places_controller.rb +0 -0
  470. data/spec/dummy/app/controllers/shopping/products_controller.rb +0 -0
  471. data/spec/dummy/app/controllers/tests_controller.rb +0 -0
  472. data/spec/dummy/app/controllers/topics_controller.rb +0 -0
  473. data/spec/dummy/app/controllers/users/sessions_controller.rb +0 -0
  474. data/spec/dummy/app/controllers/webhooks_controller.rb +0 -0
  475. data/spec/dummy/app/controllers/worms_controller.rb +0 -0
  476. data/spec/dummy/app/helpers/activity_helper.rb +0 -0
  477. data/spec/dummy/app/helpers/api/v1/token_auth_helper.rb +0 -0
  478. data/spec/dummy/app/helpers/application_helper.rb +0 -0
  479. data/spec/dummy/app/helpers/home_helper.rb +0 -0
  480. data/spec/dummy/app/helpers/tests_helper.rb +0 -0
  481. data/spec/dummy/app/helpers/topics_helper.rb +0 -0
  482. data/spec/dummy/app/helpers/worms_helper.rb +0 -0
  483. data/spec/dummy/app/mailers/application_mailer.rb +0 -0
  484. data/spec/dummy/app/mailers/new.rb +0 -0
  485. data/spec/dummy/app/models/activity.rb +0 -0
  486. data/spec/dummy/app/models/admin.rb +0 -0
  487. data/spec/dummy/app/models/noti.rb +0 -0
  488. data/spec/dummy/app/models/noti_response.rb +0 -0
  489. data/spec/dummy/app/models/shopping/cart.rb +0 -0
  490. data/spec/dummy/app/models/shopping/cart_item.rb +0 -0
  491. data/spec/dummy/app/models/shopping/discount.rb +0 -0
  492. data/spec/dummy/app/models/shopping/payment.rb +0 -0
  493. data/spec/dummy/app/models/shopping/personality.rb +0 -0
  494. data/spec/dummy/app/models/shopping/place.rb +0 -0
  495. data/spec/dummy/app/models/shopping/product.rb +0 -0
  496. data/spec/dummy/app/models/test.rb +0 -0
  497. data/spec/dummy/app/models/topic.rb +0 -0
  498. data/spec/dummy/app/models/user.rb +0 -0
  499. data/spec/dummy/app/models/worm.rb +0 -0
  500. data/spec/dummy/app/views/home/index.html.erb +0 -0
  501. data/spec/dummy/app/views/home/send_notification.html.erb +0 -0
  502. data/spec/dummy/app/views/layouts/application.html.erb +0 -0
  503. data/spec/dummy/app/views/layouts/mailer.html.erb +0 -0
  504. data/spec/dummy/app/views/layouts/mailer.text.erb +0 -0
  505. data/spec/dummy/app/views/new/notification.html.erb +0 -0
  506. data/spec/dummy/app/views/new/notification.text.erb +0 -0
  507. data/spec/dummy/app/views/shopping/_navigation_options.html.erb +0 -0
  508. data/spec/dummy/app/views/tests/_form.html.erb +0 -0
  509. data/spec/dummy/app/views/tests/edit.html.erb +0 -0
  510. data/spec/dummy/app/views/tests/index.html.erb +0 -0
  511. data/spec/dummy/app/views/tests/new.html.erb +0 -0
  512. data/spec/dummy/app/views/tests/show.html.erb +0 -0
  513. data/spec/dummy/app/views/topics/_form.html.erb +0 -0
  514. data/spec/dummy/app/views/topics/edit.html.erb +0 -0
  515. data/spec/dummy/app/views/topics/index.html.erb +0 -0
  516. data/spec/dummy/app/views/topics/new.html.erb +0 -0
  517. data/spec/dummy/app/views/topics/show.html.erb +0 -0
  518. data/spec/dummy/app/views/users/sessions/create.js.erb +0 -0
  519. data/spec/dummy/app/views/worms/_form.html.erb +0 -0
  520. data/spec/dummy/app/views/worms/edit.html.erb +0 -0
  521. data/spec/dummy/app/views/worms/index.html.erb +0 -0
  522. data/spec/dummy/app/views/worms/new.html.erb +0 -0
  523. data/spec/dummy/app/views/worms/show.html.erb +0 -0
  524. data/spec/dummy/bin/bundle +0 -0
  525. data/spec/dummy/bin/delayed_job +0 -0
  526. data/spec/dummy/bin/rails +0 -0
  527. data/spec/dummy/bin/rake +0 -0
  528. data/spec/dummy/bin/setup +0 -0
  529. data/spec/dummy/config.ru +0 -0
  530. data/spec/dummy/config/application.rb +0 -0
  531. data/spec/dummy/config/boot.rb +0 -0
  532. data/spec/dummy/config/cloudinary.yml +0 -0
  533. data/spec/dummy/config/environment.rb +0 -0
  534. data/spec/dummy/config/environments/production.rb +0 -0
  535. data/spec/dummy/config/environments/test.rb +0 -0
  536. data/spec/dummy/config/initializers/assets.rb +0 -0
  537. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -0
  538. data/spec/dummy/config/initializers/cookies_serializer.rb +0 -0
  539. data/spec/dummy/config/initializers/devise.rb +0 -0
  540. data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -0
  541. data/spec/dummy/config/initializers/inflections.rb +0 -0
  542. data/spec/dummy/config/initializers/mime_types.rb +0 -0
  543. data/spec/dummy/config/initializers/redis.rb +0 -0
  544. data/spec/dummy/config/initializers/session_store.rb +0 -0
  545. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -0
  546. data/spec/dummy/config/locales/devise.en.yml +0 -0
  547. data/spec/dummy/config/locales/en.yml +0 -0
  548. data/spec/dummy/config/mongoid.yml +0 -0
  549. data/spec/dummy/config/redis.yml +0 -0
  550. data/spec/dummy/config/routes.rb +0 -0
  551. data/spec/dummy/config/secrets.yml +0 -0
  552. data/spec/dummy/db/products.json +0 -0
  553. data/spec/dummy/db/seeds.rb +0 -0
  554. data/spec/dummy/lib/admin/parameter_sanitizer.rb +0 -0
  555. data/spec/dummy/lib/assets/files/test_names.json +0 -0
  556. data/spec/dummy/lib/user/parameter_sanitizer.rb +0 -0
  557. data/spec/dummy/public/404.html +0 -0
  558. data/spec/dummy/public/422.html +0 -0
  559. data/spec/dummy/public/500.html +0 -0
  560. data/spec/dummy/public/favicon.ico +0 -0
  561. data/spec/dummy/sidekiq.yml +0 -0
  562. data/spec/dummy/sidekiq_prep.sh +0 -0
  563. data/spec/dummy/spec/controllers/activity_controller_spec.rb +0 -0
  564. data/spec/dummy/spec/controllers/tests_controller_spec.rb +0 -0
  565. data/spec/dummy/spec/controllers/worms_controller_spec.rb +0 -0
  566. data/spec/dummy/spec/factories/tests.rb +0 -0
  567. data/spec/dummy/spec/factories/worms.rb +0 -0
  568. data/spec/dummy/spec/fixtures/new/send_notification +0 -0
  569. data/spec/dummy/spec/helpers/activity_helper_spec.rb +0 -0
  570. data/spec/dummy/spec/helpers/tests_helper_spec.rb +0 -0
  571. data/spec/dummy/spec/helpers/worms_helper_spec.rb +0 -0
  572. data/spec/dummy/spec/mailers/new_spec.rb +0 -0
  573. data/spec/dummy/spec/mailers/previews/new_preview.rb +0 -0
  574. data/spec/dummy/spec/models/test_spec.rb +0 -0
  575. data/spec/dummy/spec/models/worm_spec.rb +0 -0
  576. data/spec/dummy/spec/requests/tests_spec.rb +0 -0
  577. data/spec/dummy/spec/requests/worms_spec.rb +0 -0
  578. data/spec/dummy/spec/routing/tests_routing_spec.rb +0 -0
  579. data/spec/dummy/spec/routing/worms_routing_spec.rb +0 -0
  580. data/spec/dummy/spec/views/tests/edit.html.erb_spec.rb +0 -0
  581. data/spec/dummy/spec/views/tests/index.html.erb_spec.rb +0 -0
  582. data/spec/dummy/spec/views/tests/new.html.erb_spec.rb +0 -0
  583. data/spec/dummy/spec/views/tests/show.html.erb_spec.rb +0 -0
  584. data/spec/dummy/spec/views/worms/edit.html.erb_spec.rb +0 -0
  585. data/spec/dummy/spec/views/worms/index.html.erb_spec.rb +0 -0
  586. data/spec/dummy/spec/views/worms/new.html.erb_spec.rb +0 -0
  587. data/spec/dummy/spec/views/worms/show.html.erb_spec.rb +0 -0
  588. data/spec/dummy/test/controllers/api/v1/token_auth_controller_test.rb +0 -0
  589. data/spec/dummy/test/controllers/home_controller_test.rb +0 -0
  590. data/spec/dummy/test/controllers/oauth_tests_controller_test.rb +0 -0
  591. data/spec/dummy/test/fixtures/oauth_tests.yml +0 -0
  592. data/spec/dummy/test/fixtures/users.yml +0 -0
  593. data/spec/dummy/test/models/oauth_test_test.rb +0 -0
  594. data/spec/dummy/test/models/user_test.rb +0 -0
  595. data/spec/factories/client_factory.rb +0 -0
  596. data/spec/features/extension_spec.rb +0 -0
  597. data/spec/features/redirect_disable_spec.rb +0 -0
  598. data/spec/fixtures/auth/clients.yml +0 -0
  599. data/spec/helpers/auth/admin_create_users_helper_spec.rb +0 -0
  600. data/spec/helpers/auth/assemblies_helper_spec.rb +0 -0
  601. data/spec/helpers/auth/images_helper_spec.rb +0 -0
  602. data/spec/helpers/auth/resource_helper_spec.rb +0 -0
  603. data/spec/helpers/auth/search_helper_spec.rb +0 -0
  604. data/spec/helpers/auth/users/profiles_helper_spec.rb +0 -0
  605. data/spec/models/auth/chief_model_spec.rb +0 -0
  606. data/spec/models/auth/shopping/cart_item_spec.rb +0 -0
  607. data/spec/models/auth/shopping/product.json +0 -0
  608. data/spec/rails_helper.rb +0 -0
  609. data/spec/requests/search/search_request_spec.rb +0 -0
  610. data/spec/requests/shopping/bar_code_request_spec.rb +0 -0
  611. data/spec/requests/shopping/cart_item_request_spec.rb +0 -0
  612. data/spec/requests/shopping/cart_request_spec.rb +0 -0
  613. data/spec/requests/shopping/discount_request_spec.rb +0 -0
  614. data/spec/requests/shopping/payment_request_spec.rb +0 -0
  615. data/spec/requests/user/additional_login_param_and_email_validation_spec.rb +0 -0
  616. data/spec/requests/user/admin_create_user_request_spec.rb +0 -0
  617. data/spec/requests/user/amazon_sns_request_spec.rb +0 -0
  618. data/spec/requests/user/client_request_spec.rb +0 -0
  619. data/spec/requests/user/confirmation_request_spec.rb +0 -0
  620. data/spec/requests/user/omniauth_callbacks_request_spec.rb +0 -0
  621. data/spec/requests/user/otp_basic_flow_request_spec.rb +0 -0
  622. data/spec/requests/user/password_request_spec.rb +0 -0
  623. data/spec/requests/user/registration_request_spec.rb +0 -0
  624. data/spec/requests/user/session_request_spec.rb +0 -0
  625. data/spec/requests/user/token_request_spec.rb +0 -0
  626. data/spec/requests/user/unlock_request_spec.rb +0 -0
  627. data/spec/scenarios/scenario_1.json +0 -0
  628. data/spec/spec_helper.rb +0 -0
  629. data/spec/support/factory_girl.rb +0 -0
  630. data/spec/support/omniauth_macros.rb +0 -0
  631. data/spec/support/payumoney_support.rb +0 -0
  632. data/spec/support/sign_in_support.rb +0 -0
  633. data/spec/support/system_support.rb +0 -0
  634. data/spec/support/wait_for_ajax.rb +0 -0
  635. data/spec/support/work_support.rb +0 -0
  636. data/spec/test_json_assemblies/assign_location_information_from_cart_item_to_step.json +0 -0
  637. data/spec/test_json_assemblies/consumables/1.json +0 -0
  638. data/spec/test_json_assemblies/continuous_time_reference_requirement.json +0 -0
  639. data/spec/test_json_assemblies/discontinuous_time_reference_requirement.json +0 -0
  640. data/spec/test_json_assemblies/discontinuous_time_reference_requirement_with_time_specification.json +0 -0
  641. data/spec/test_json_assemblies/location_coordinates_and_some_with_categories_test.json +0 -0
  642. data/spec/test_json_assemblies/location_id_test.json +0 -0
  643. data/spec/test_json_assemblies/locations/2.json +0 -0
  644. data/spec/test_json_assemblies/locations/3.json +0 -0
  645. data/spec/test_json_assemblies/locations/4.json +0 -0
  646. data/spec/test_json_assemblies/locations/5.json +0 -0
  647. data/spec/test_json_assemblies/locations/6.json +0 -0
  648. data/spec/test_json_assemblies/locations/7.json +0 -0
  649. data/spec/test_json_assemblies/locations/8.json +0 -0
  650. data/spec/test_json_assemblies/locations/location_with_transport_information.json +0 -0
  651. data/spec/test_json_assemblies/no_applicable_sops.json +0 -0
  652. data/spec/test_json_assemblies/no_reference_requirement.json +0 -0
  653. data/spec/test_json_assemblies/overlap_hashes/1.json +0 -0
  654. data/spec/test_json_assemblies/overlap_hashes/2.json +0 -0
  655. data/spec/test_json_assemblies/pass_location_information_to_next_step.json +0 -0
  656. data/spec/test_json_assemblies/specifications/1.json +0 -0
  657. data/spec/test_json_assemblies/specifications/2.json +0 -0
  658. data/spec/test_json_assemblies/specifications/3.json +0 -0
  659. data/spec/test_json_assemblies/specifications/4.json +0 -0
  660. data/spec/test_json_assemblies/specifications/5.json +0 -0
  661. data/spec/test_json_assemblies/specifications/6.json +0 -0
  662. data/spec/test_json_assemblies/start_time_specification_no_previous_time_information.json +0 -0
  663. data/spec/test_json_assemblies/steps/1.json +0 -0
  664. data/spec/test_json_assemblies/steps/2.json +0 -0
  665. data/spec/test_json_assemblies/steps/3.json +0 -0
  666. data/spec/test_json_assemblies/steps/4.json +0 -0
  667. data/spec/test_json_assemblies/steps/5.json +0 -0
  668. data/spec/test_json_assemblies/steps/6.json +0 -0
  669. data/spec/test_json_assemblies/system/1.json +0 -0
  670. data/spec/test_json_assemblies/system/10.json +0 -0
  671. data/spec/test_json_assemblies/system/11.json +0 -0
  672. data/spec/test_json_assemblies/system/12.json +0 -0
  673. data/spec/test_json_assemblies/system/13.json +0 -0
  674. data/spec/test_json_assemblies/system/2.json +0 -0
  675. data/spec/test_json_assemblies/system/3.json +0 -0
  676. data/spec/test_json_assemblies/system/4.json +0 -0
  677. data/spec/test_json_assemblies/system/5.json +0 -0
  678. data/spec/test_json_assemblies/system/6.json +0 -0
  679. data/spec/test_json_assemblies/system/7.json +0 -0
  680. data/spec/test_json_assemblies/system/8.json +0 -0
  681. data/spec/test_json_assemblies/system/9.json +0 -0
  682. data/spec/test_json_assemblies/time_specification_mismatch.json +0 -0
  683. data/spec/test_json_assemblies/two_schedules_two_requirements_two_bookings_two_slots.json +0 -0
  684. data/spec/test_json_assemblies/two_seperate_requirements_with_time_specs.json +0 -0
  685. data/spec/test_json_assemblies/two_steps_time_specification.json +0 -0
  686. metadata +201 -201
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df4832de0bbfda0dc48e6f1c939321a85d780113
4
- data.tar.gz: 85d6e0d4b1494ad79b1e46f36dd85aa11330fce0
3
+ metadata.gz: a4c7a6fa2414fecf2cf21099f1feee06e5194cde
4
+ data.tar.gz: 315f03e8fb5a9ae0915685ccc843b0a2664ce4f8
5
5
  SHA512:
6
- metadata.gz: 151a9f9930a7a7e24be4d55a27ff6ef98fe7478db9621233463b772ef56d3f98aee377afb8b289f61c11abf895d1387125df6df8cf487aa8e058ffa5948adc29
7
- data.tar.gz: 2acdfb6e97c4b1c37064a30cb6a8b6547bfb23863d0d0ff2a5d975fbdd0f72aa3faeaa752ade71436ef869fa00125c285e04d08308bfee6fa8e9fc349ea5d28f
6
+ metadata.gz: 142f82330d3e22094fc4ceb62cf8c60bc4badd3f975b1630e1ea7138cb281a1c6e2ccb8bcd6a9a4f639a4c1282f2f785d265060d03380b065a63b1553ff2ef84
7
+ data.tar.gz: 5a4934e0d8af79042352195173f0b527e18f58e89604f6f40409ac4dad2a7d9ff6ce31bd0f001d359b09fa1f124c95e8c47fa60a93b4bc18e2e192228ee7d209
data/MIT-LICENSE CHANGED
File without changes
data/README.rdoc CHANGED
File without changes
data/Rakefile CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -72,7 +72,7 @@ module Auth::Concerns::DeviseConcern
72
72
 
73
73
  def set_client
74
74
 
75
- puts "came to set client -------!!!!!!!!!!!!! "
75
+ #puts "came to set client -------!!!!!!!!!!!!! "
76
76
  if session[:client]
77
77
 
78
78
 
@@ -108,7 +108,7 @@ module Auth::Concerns::DeviseConcern
108
108
 
109
109
  if session[:client] = Auth::Client.find_valid_api_key_and_app_id(api_key, current_app_id)
110
110
 
111
- puts "found valid client."
111
+ #puts "found valid client."
112
112
  request.env["omniauth.model"] = path
113
113
 
114
114
  self.m_client = Auth::Client.find_valid_api_key_and_app_id(api_key, current_app_id)
@@ -139,11 +139,11 @@ module Auth::Concerns::DeviseConcern
139
139
  else
140
140
  #puts "action name is something else."
141
141
  if session[:client].nil?
142
- puts "cient is nil so rendering nothing."
142
+ #puts "cient is nil so rendering nothing."
143
143
  #render :nothing => true , :status => :unauthorized
144
144
  head :unauthorized
145
145
  else
146
- puts " -------- have A VALID CLIENT WITH JSON --------- "
146
+ #puts " -------- have A VALID CLIENT WITH JSON --------- "
147
147
  end
148
148
  end
149
149
  else
@@ -182,16 +182,16 @@ module Auth::Concerns::DeviseConcern
182
182
 
183
183
  def do_before_request
184
184
 
185
- puts "DO BEFORE REQUEST"
185
+ #puts "DO BEFORE REQUEST"
186
186
  clear_client_and_redirect_url
187
187
 
188
- puts "SET CLIENT"
188
+ #puts "SET CLIENT"
189
189
  set_client
190
190
 
191
- puts "SET REDIRECT"
191
+ #puts "SET REDIRECT"
192
192
  set_redirect_url
193
193
 
194
- puts "PROTECT JSON"
194
+ #puts "PROTECT JSON"
195
195
  protect_json_request
196
196
 
197
197
  end
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
data/app/jobs/otp_job.rb CHANGED
@@ -83,7 +83,9 @@ class OtpJob < ActiveJob::Base
83
83
  notification.send_email(resource) do
84
84
  JSON.generate(email.message.mailgun_variables)
85
85
  end
86
-
86
+
87
+ ## so basically we call deliver now
88
+ ## inside the background job.
87
89
  email.deliver_now
88
90
 
89
91
  end
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -27,7 +27,7 @@ module Auth::Concerns::UserConcern
27
27
 
28
28
  USER_INFO_FIELDS = ["name","image_url"]
29
29
 
30
- PUBLICLY_VISIBLE_FIELD_NAMES = ["email","additional_login_param"]
30
+ PUBLICLY_VISIBLE_FIELD_NAMES = ["id","email","additional_login_param","name","image_url"]
31
31
 
32
32
  include MongoidVersionedAtomic::VAtomic
33
33
 
@@ -591,24 +591,30 @@ module Auth::Concerns::UserConcern
591
591
  ## this is needed in
592
592
  def as_json(options={})
593
593
 
594
- ## basically here the problem is that if the user himself is searching for his own record, then it is trying to return the authentication token.
595
- ##
594
+ ## so if this does not work, then we go forward.
596
595
 
597
596
  json = {:nothing => true}
598
597
 
599
598
  if (!self.destroyed? && options[:otp_verification].nil?)
600
599
 
601
- if self.m_client.current_app_id && at_least_one_authentication_key_confirmed? && self.errors.empty?
602
-
603
- json = {}
604
- json[:es] = self.client_authentication[self.m_client.current_app_id]
605
- json[:authentication_token] = self.authentication_token
606
-
607
- unless options[:show_id].nil?
608
- json[:id] = self.id.to_s
609
- json[:admin] = self.admin.to_s
610
- end
611
-
600
+ if self.m_client.blank?
601
+ json = {}
602
+ PUBLICLY_VISIBLE_FIELD_NAMES.each do |fname|
603
+ json[fname.to_sym] = self.send(fname) unless self.send(fname).blank?
604
+ end
605
+ else
606
+ if self.m_client.current_app_id && at_least_one_authentication_key_confirmed? && self.errors.empty?
607
+
608
+ json = {}
609
+ json[:es] = self.client_authentication[self.m_client.current_app_id]
610
+ json[:authentication_token] = self.authentication_token
611
+
612
+ unless options[:show_id].nil?
613
+ json[:id] = self.id.to_s
614
+ json[:admin] = self.admin.to_s
615
+ end
616
+
617
+ end
612
618
  end
613
619
  if self.errors.full_messages.size > 0
614
620
  json[:errors] = self.errors.full_messages