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.
- checksums.yaml +4 -4
- data/MIT-LICENSE +0 -0
- data/README.rdoc +0 -0
- data/Rakefile +0 -0
- data/app/assets/images/ai_lab.jpg +0 -0
- data/app/assets/images/auth/activity.jpg +0 -0
- data/app/assets/images/auth/facebook.svg +0 -0
- data/app/assets/images/auth/google_oauth2.svg +0 -0
- data/app/assets/images/auth/js_pic3.jpg +0 -0
- data/app/assets/images/auth/profile.jpg +0 -0
- data/app/assets/images/lab.jpg +0 -0
- data/app/assets/images/payumoney.png +0 -0
- data/app/assets/images/placeholder.png +0 -0
- data/app/assets/javascripts/auth/application.js +0 -0
- data/app/assets/javascripts/auth/auth_dependencies.js +0 -0
- data/app/assets/javascripts/auth/auth_modals_and_navbar.js +0 -0
- data/app/assets/javascripts/auth/shopping/discounts.js +0 -0
- data/app/assets/javascripts/auth/users/profiles.js +0 -0
- data/app/assets/stylesheets/auth/application.scss +0 -0
- data/app/assets/stylesheets/auth/auth_default_css.scss +0 -0
- data/app/assets/stylesheets/auth/common-styles.scss +0 -0
- data/app/assets/stylesheets/auth/overrides.scss +0 -0
- data/app/assets/stylesheets/auth/users/profiles.scss +0 -0
- data/app/assets/stylesheets/scaffold.css +0 -0
- data/app/controllers/auth/admin_create_users_controller.rb +0 -0
- data/app/controllers/auth/application_controller.rb +0 -0
- data/app/controllers/auth/authenticated_controller.rb +0 -0
- data/app/controllers/auth/clients_controller.rb +0 -0
- data/app/controllers/auth/concerns/activity_controller_concern.rb +0 -0
- data/app/controllers/auth/concerns/devise_concern.rb +8 -8
- data/app/controllers/auth/concerns/omni_concern.rb +0 -0
- data/app/controllers/auth/concerns/otp_concern.rb +0 -0
- data/app/controllers/auth/concerns/shopping/cart_controller_concern.rb +0 -0
- data/app/controllers/auth/concerns/shopping/cart_item_controller_concern.rb +0 -0
- data/app/controllers/auth/concerns/shopping/discount_controller_concern.rb +0 -0
- data/app/controllers/auth/concerns/shopping/pay_u_money_controller_concern.rb +0 -0
- data/app/controllers/auth/concerns/shopping/payment_controller_concern.rb +0 -0
- data/app/controllers/auth/concerns/shopping/personality_controller_concern.rb +0 -0
- data/app/controllers/auth/concerns/shopping/place_controller_concern.rb +0 -0
- data/app/controllers/auth/concerns/shopping/product_controller_concern.rb +0 -0
- data/app/controllers/auth/concerns/token_concern.rb +0 -0
- data/app/controllers/auth/concerns/work/communication_controller_concern.rb +0 -0
- data/app/controllers/auth/concerns/work/instruction_controller_concern.rb +0 -0
- data/app/controllers/auth/confirmations_controller.rb +0 -0
- data/app/controllers/auth/endpoints_controller.rb +0 -0
- data/app/controllers/auth/images_controller.rb +0 -0
- data/app/controllers/auth/mailgun_controller.rb +0 -0
- data/app/controllers/auth/omniauth_callbacks_controller.rb +0 -0
- data/app/controllers/auth/passwords_controller.rb +0 -0
- data/app/controllers/auth/profiles_controller.rb +0 -0
- data/app/controllers/auth/registrations_controller.rb +0 -0
- data/app/controllers/auth/search_controller.rb +0 -0
- data/app/controllers/auth/sessions_controller.rb +0 -0
- data/app/controllers/auth/shopping/bar_codes_controller.rb +0 -0
- data/app/controllers/auth/shopping/cart_items_controller.rb +0 -0
- data/app/controllers/auth/shopping/carts_controller.rb +0 -0
- data/app/controllers/auth/shopping/discounts_controller.rb +0 -0
- data/app/controllers/auth/shopping/payments_controller.rb +0 -0
- data/app/controllers/auth/shopping/personalities_controller.rb +0 -0
- data/app/controllers/auth/shopping/places_controller.rb +0 -0
- data/app/controllers/auth/shopping/products_controller.rb +0 -0
- data/app/controllers/auth/shopping/shopping_controller.rb +0 -0
- data/app/controllers/auth/unlocks_controller.rb +0 -0
- data/app/controllers/auth/webhooks_controller.rb +0 -0
- data/app/controllers/auth/work/bullets_controller.rb +0 -0
- data/app/controllers/auth/work/communications_controller.rb +0 -0
- data/app/controllers/auth/work/instructions_controller.rb +0 -0
- data/app/controllers/auth/work/work_controller.rb +0 -0
- data/app/controllers/auth/workflow/assemblies_controller.rb +0 -0
- data/app/controllers/auth/workflow/bookings_controller.rb +0 -0
- data/app/controllers/auth/workflow/categories_controller.rb +0 -0
- data/app/controllers/auth/workflow/consumables_controller.rb +0 -0
- data/app/controllers/auth/workflow/locations_controller.rb +0 -0
- data/app/controllers/auth/workflow/minutes_controller.rb +0 -0
- data/app/controllers/auth/workflow/orders_controller.rb +0 -0
- data/app/controllers/auth/workflow/overlaps_controller.rb +0 -0
- data/app/controllers/auth/workflow/requirements_controller.rb +0 -0
- data/app/controllers/auth/workflow/schedules_controller.rb +0 -0
- data/app/controllers/auth/workflow/slots_controller.rb +0 -0
- data/app/controllers/auth/workflow/sops_controller.rb +0 -0
- data/app/controllers/auth/workflow/specifications_controller.rb +0 -0
- data/app/controllers/auth/workflow/stages_controller.rb +0 -0
- data/app/controllers/auth/workflow/states_controller.rb +0 -0
- data/app/controllers/auth/workflow/steps_controller.rb +0 -0
- data/app/controllers/auth/workflow/tlocations_controller.rb +0 -0
- data/app/controllers/auth/workflow/workflow_controller.rb +0 -0
- data/app/helpers/auth/admin_create_users_helper.rb +0 -0
- data/app/helpers/auth/application_helper.rb +0 -0
- data/app/helpers/auth/assemblies_helper.rb +0 -0
- data/app/helpers/auth/clients_helper.rb +0 -0
- data/app/helpers/auth/images/images_helper.rb +0 -0
- data/app/helpers/auth/images_helper.rb +0 -0
- data/app/helpers/auth/resource_helper.rb +0 -0
- data/app/helpers/auth/search_helper.rb +0 -0
- data/app/helpers/auth/shopping/cart_items/cart_items_helper.rb +0 -0
- data/app/helpers/auth/shopping/carts/carts_helper.rb +0 -0
- data/app/helpers/auth/shopping/discounts/discounts_helper.rb +0 -0
- data/app/helpers/auth/shopping/payments/pay_u_money_helper.rb +0 -0
- data/app/helpers/auth/shopping/payments/payments_helper.rb +0 -0
- data/app/helpers/auth/shopping/personalities/personalities_helper.rb +0 -0
- data/app/helpers/auth/shopping/places/places_helper.rb +0 -0
- data/app/helpers/auth/shopping/products/products_helper.rb +0 -0
- data/app/helpers/auth/shopping/shopping_helper.rb +0 -0
- data/app/helpers/auth/users/profiles_helper.rb +0 -0
- data/app/helpers/auth/work/bullets/bullets_helper.rb +0 -0
- data/app/helpers/auth/work/instructions/instructions_helper.rb +0 -0
- data/app/jobs/communication_job.rb +0 -0
- data/app/jobs/otp_job.rb +3 -1
- data/app/mailers/application_mailer.rb +0 -0
- data/app/mailers/auth/notifier.rb +0 -0
- data/app/mailers/auth/send_mail.rb +0 -0
- data/app/models/auth/action.rb +0 -0
- data/app/models/auth/admin_create_user.rb +0 -0
- data/app/models/auth/client.rb +0 -0
- data/app/models/auth/concerns/activity_concern.rb +0 -0
- data/app/models/auth/concerns/chief_model_concern.rb +0 -0
- data/app/models/auth/concerns/clone_concern.rb +0 -0
- data/app/models/auth/concerns/es_concern.rb +0 -0
- data/app/models/auth/concerns/image_load_concern.rb +0 -0
- data/app/models/auth/concerns/notification_concern.rb +0 -0
- data/app/models/auth/concerns/notification_response_concern.rb +0 -0
- data/app/models/auth/concerns/owner_concern.rb +0 -0
- data/app/models/auth/concerns/shopping/bar_code_concern.rb +0 -0
- data/app/models/auth/concerns/shopping/cart_concern.rb +0 -0
- data/app/models/auth/concerns/shopping/cart_item_concern.rb +0 -0
- data/app/models/auth/concerns/shopping/discount_concern.rb +0 -0
- data/app/models/auth/concerns/shopping/discount_flow.txt +0 -0
- data/app/models/auth/concerns/shopping/lifecycle_of_state_concern.txt +0 -0
- data/app/models/auth/concerns/shopping/pay_u_money_concern.rb +0 -0
- data/app/models/auth/concerns/shopping/payment_concern.rb +0 -0
- data/app/models/auth/concerns/shopping/personality_concern.rb +0 -0
- data/app/models/auth/concerns/shopping/place_concern.rb +0 -0
- data/app/models/auth/concerns/shopping/product_concern.rb +0 -0
- data/app/models/auth/concerns/sms_otp_concern.rb +0 -0
- data/app/models/auth/concerns/system_concern.rb +0 -0
- data/app/models/auth/concerns/user_concern.rb +20 -14
- data/app/models/auth/concerns/work/communication_fields_concern.rb +0 -0
- data/app/models/auth/concerns/work/good_concern.rb +0 -0
- data/app/models/auth/concerns/workflow_concern.rb +0 -0
- data/app/models/auth/endpoint.rb +0 -0
- data/app/models/auth/identity.rb +0 -0
- data/app/models/auth/image.rb +0 -0
- data/app/models/auth/shopping/bar_code.rb +0 -0
- data/app/models/auth/shopping/cart.rb +0 -0
- data/app/models/auth/shopping/cart_item.rb +0 -0
- data/app/models/auth/shopping/cart_item_payment_result.rb +0 -0
- data/app/models/auth/shopping/discount.rb +0 -0
- data/app/models/auth/shopping/payment.rb +0 -0
- data/app/models/auth/shopping/personality.rb +0 -0
- data/app/models/auth/shopping/place.rb +0 -0
- data/app/models/auth/shopping/product.rb +0 -0
- data/app/models/auth/system/branch.rb +0 -0
- data/app/models/auth/system/collector.rb +0 -0
- data/app/models/auth/system/creation.rb +0 -0
- data/app/models/auth/system/definition.rb +0 -0
- data/app/models/auth/system/entity.rb +0 -0
- data/app/models/auth/system/instant.rb +0 -0
- data/app/models/auth/system/level.rb +0 -0
- data/app/models/auth/system/merger.rb +0 -0
- data/app/models/auth/system/minute.rb +0 -0
- data/app/models/auth/system/output.rb +0 -0
- data/app/models/auth/system/plan.rb +0 -0
- data/app/models/auth/system/template.rb +0 -0
- data/app/models/auth/system/unit.rb +0 -0
- data/app/models/auth/system/wrapper.rb +0 -0
- data/app/models/auth/transaction/event.rb +0 -0
- data/app/models/auth/transaction/event_holder.rb +0 -0
- data/app/models/auth/transaction/event_test.rb +0 -0
- data/app/models/auth/transaction/status.rb +0 -0
- data/app/models/auth/user.rb +0 -0
- data/app/models/auth/work/actor.rb +0 -0
- data/app/models/auth/work/bullet.rb +0 -0
- data/app/models/auth/work/communication.rb +0 -0
- data/app/models/auth/work/cycle.rb +0 -0
- data/app/models/auth/work/entity.rb +0 -0
- data/app/models/auth/work/information.rb +0 -0
- data/app/models/auth/work/input.rb +0 -0
- data/app/models/auth/work/instruction.rb +0 -0
- data/app/models/auth/work/link.rb +0 -0
- data/app/models/auth/work/minute.rb +0 -0
- data/app/models/auth/work/parameter.rb +0 -0
- data/app/models/auth/work/schedule.rb +0 -0
- data/app/models/auth/work/template.rb +0 -0
- data/app/models/auth/work/variable.rb +0 -0
- data/app/models/auth/workflow/assembly.rb +0 -0
- data/app/models/auth/workflow/booking.rb +0 -0
- data/app/models/auth/workflow/category.rb +0 -0
- data/app/models/auth/workflow/consumable.rb +0 -0
- data/app/models/auth/workflow/entity.rb +0 -0
- data/app/models/auth/workflow/hierarchy.txt +0 -0
- data/app/models/auth/workflow/location.rb +0 -0
- data/app/models/auth/workflow/minute.rb +0 -0
- data/app/models/auth/workflow/order.rb +0 -0
- data/app/models/auth/workflow/overlap.rb +0 -0
- data/app/models/auth/workflow/requirement.rb +0 -0
- data/app/models/auth/workflow/schedule.rb +0 -0
- data/app/models/auth/workflow/slot.rb +0 -0
- data/app/models/auth/workflow/sop.rb +0 -0
- data/app/models/auth/workflow/specification.rb +0 -0
- data/app/models/auth/workflow/stage.rb +0 -0
- data/app/models/auth/workflow/state.rb +0 -0
- data/app/models/auth/workflow/step.rb +0 -0
- data/app/models/auth/workflow/tlocation.rb +0 -0
- data/app/views/auth/admin_create_users/_admin_actions.html.erb +0 -0
- data/app/views/auth/admin_create_users/_form.html.erb +0 -0
- data/app/views/auth/admin_create_users/edit.html.erb +0 -0
- data/app/views/auth/admin_create_users/index.html.erb +0 -0
- data/app/views/auth/admin_create_users/new.html.erb +0 -0
- data/app/views/auth/admin_create_users/search_results/_add_new_user.html.erb +0 -0
- data/app/views/auth/admin_create_users/search_results/_manage_user.html.erb +0 -0
- data/app/views/auth/admin_create_users/show.html.erb +0 -0
- data/app/views/auth/assemblies/_form.html.erb +0 -0
- data/app/views/auth/assemblies/edit.html.erb +0 -0
- data/app/views/auth/assemblies/index.html.erb +0 -0
- data/app/views/auth/assemblies/new.html.erb +0 -0
- data/app/views/auth/assemblies/show.html.erb +0 -0
- data/app/views/auth/clients/_form.html.erb +0 -0
- data/app/views/auth/clients/edit.html.erb +0 -0
- data/app/views/auth/clients/new.html.erb +0 -0
- data/app/views/auth/clients/show.html.erb +0 -0
- data/app/views/auth/confirmations/_enter_otp.html.erb +0 -0
- data/app/views/auth/confirmations/_get_otp_status.html.erb +0 -0
- data/app/views/auth/confirmations/_new_otp_input.js.erb +0 -0
- data/app/views/auth/confirmations/_resend_otp.js.erb +0 -0
- data/app/views/auth/confirmations/_resend_sms_otp.html.erb +0 -0
- data/app/views/auth/confirmations/_verify_otp.js.erb +0 -0
- data/app/views/auth/confirmations/create.js.erb +0 -0
- data/app/views/auth/confirmations/enter_otp.html.erb +0 -0
- data/app/views/auth/confirmations/get_otp_status.html.erb +0 -0
- data/app/views/auth/confirmations/new.html.erb +0 -0
- data/app/views/auth/confirmations/new.js.erb +0 -0
- data/app/views/auth/confirmations/otp_status_result.html.erb +0 -0
- data/app/views/auth/images/_form.html.erb +0 -0
- data/app/views/auth/images/_image_concern.html.erb +0 -0
- data/app/views/auth/images/_show.html.erb +0 -0
- data/app/views/auth/images/_show.js.erb +0 -0
- data/app/views/auth/images/destroy.js.erb +0 -0
- data/app/views/auth/images/edit.html.erb +0 -0
- data/app/views/auth/images/index.html.erb +0 -0
- data/app/views/auth/images/new.html.erb +0 -0
- data/app/views/auth/images/show.html.erb +0 -0
- data/app/views/auth/images/show.js.erb +0 -0
- data/app/views/auth/mailer/confirmation_instructions.html.erb +0 -0
- data/app/views/auth/mailer/password_change.html.erb +0 -0
- data/app/views/auth/mailer/reset_password_instructions.html.erb +0 -0
- data/app/views/auth/mailer/unlock_instructions.html.erb +0 -0
- data/app/views/auth/modals/_ajax_error_modal.html.erb +0 -0
- data/app/views/auth/modals/_ajax_error_modal_content.html.erb +0 -0
- data/app/views/auth/modals/_edit_account_content.html.erb +0 -0
- data/app/views/auth/modals/_edit_account_success_content.html.erb +0 -0
- data/app/views/auth/modals/_error_notification.html.erb +0 -0
- data/app/views/auth/modals/_forgot_password_content.html.erb +0 -0
- data/app/views/auth/modals/_forgot_password_success_content.html.erb +0 -0
- data/app/views/auth/modals/_login_default_content.html.erb +0 -0
- data/app/views/auth/modals/_login_forms.html.erb +0 -0
- data/app/views/auth/modals/_login_navigation_options.html.erb +0 -0
- data/app/views/auth/modals/_new_otp_input.html.erb +0 -0
- data/app/views/auth/modals/_oauth_and_submit.html.erb +0 -0
- data/app/views/auth/modals/_recaptcha_tags.html.erb +0 -0
- data/app/views/auth/modals/_resend_confirmation_content.html.erb +0 -0
- data/app/views/auth/modals/_resend_confirmation_success_content.html.erb +0 -0
- data/app/views/auth/modals/_resend_otp.html.erb +0 -0
- data/app/views/auth/modals/_resource_errors.js.erb +0 -0
- data/app/views/auth/modals/_sign_in_inputs.html.erb +0 -0
- data/app/views/auth/modals/_sign_in_needed_modal.html.erb +0 -0
- data/app/views/auth/modals/_sign_in_success_content.html.erb +0 -0
- data/app/views/auth/modals/_sign_up_inputs.html.erb +0 -0
- data/app/views/auth/modals/_sign_up_success_content.html.erb +0 -0
- data/app/views/auth/modals/_sign_up_success_inactive_content.html.erb +0 -0
- data/app/views/auth/modals/_unlock_content.html.erb +0 -0
- data/app/views/auth/modals/_verify_otp.html.erb +0 -0
- data/app/views/auth/modals/base_modal/_base.html.erb +0 -0
- data/app/views/auth/modals/login.js.erb +0 -0
- data/app/views/auth/modals/unlock_success_content.html.erb +0 -0
- data/app/views/auth/notifier/_email.html.erb +0 -0
- data/app/views/auth/notifier/notification.html.erb +0 -0
- data/app/views/auth/notifier/notification.text.erb +0 -0
- data/app/views/auth/omniauth_callbacks/failure.html.erb +0 -0
- data/app/views/auth/passwords/create.js.erb +0 -0
- data/app/views/auth/passwords/edit.html.erb +0 -0
- data/app/views/auth/passwords/new.html.erb +0 -0
- data/app/views/auth/passwords/new.js.erb +0 -0
- data/app/views/auth/profiles/_admin_profile.html.erb +0 -0
- data/app/views/auth/profiles/_proxy_resource.html.erb +0 -0
- data/app/views/auth/profiles/search_results/_switch_to_user.html.erb +0 -0
- data/app/views/auth/profiles/set_proxy_resource.js.erb +0 -0
- data/app/views/auth/profiles/show.html.erb +0 -0
- data/app/views/auth/registrations/create.js.erb +0 -0
- data/app/views/auth/registrations/edit.html.erb +0 -0
- data/app/views/auth/registrations/edit.js.erb +0 -0
- data/app/views/auth/registrations/new.html.erb +0 -0
- data/app/views/auth/registrations/update.js.erb +0 -0
- data/app/views/auth/search/_search_bar.html.erb +0 -0
- data/app/views/auth/search/_search_result.html.erb +0 -0
- data/app/views/auth/search/authenticated_user_search.js.erb +0 -0
- data/app/views/auth/search/authenticated_user_search.json +0 -0
- data/app/views/auth/search/authenticated_user_search_with_masking.json +0 -0
- data/app/views/auth/send_mail/send.html.erb +0 -0
- data/app/views/auth/sessions/create.js.erb +0 -0
- data/app/views/auth/sessions/new.html.erb +0 -0
- data/app/views/auth/sessions/new.js.erb +0 -0
- data/app/views/auth/shared/_devise_error_messages.html.erb +0 -0
- data/app/views/auth/shared/_links.html.erb +0 -0
- data/app/views/auth/shared/_object_errors.html.erb +0 -0
- data/app/views/auth/shared/_proxy_resource.html.erb +0 -0
- data/app/views/auth/shopping/bar_codes/_barcode_input_field.html.erb +0 -0
- data/app/views/auth/shopping/bar_codes/_get_object_button.html.erb +0 -0
- data/app/views/auth/shopping/bar_codes/_scan.html.erb +0 -0
- data/app/views/auth/shopping/bar_codes/_show.html.erb +0 -0
- data/app/views/auth/shopping/bar_codes/_show.js.erb +0 -0
- data/app/views/auth/shopping/bar_codes/new.html.erb +0 -0
- data/app/views/auth/shopping/bar_codes/show.html.erb +0 -0
- data/app/views/auth/shopping/cart_items/_form.html.erb +0 -0
- data/app/views/auth/shopping/cart_items/_show_cart_items_collection.html.erb +0 -0
- data/app/views/auth/shopping/cart_items/create_multiple.html.erb +0 -0
- data/app/views/auth/shopping/cart_items/create_multiple.json.erb +0 -0
- data/app/views/auth/shopping/cart_items/edit.html.erb +0 -0
- data/app/views/auth/shopping/cart_items/index.html.erb +0 -0
- data/app/views/auth/shopping/cart_items/new.html.erb +0 -0
- data/app/views/auth/shopping/cart_items/search_results/_remove_item_from_cart.html.erb +0 -0
- data/app/views/auth/shopping/cart_items/search_results/_remove_item_from_wish_list.html.erb +0 -0
- data/app/views/auth/shopping/cart_items/show.html.erb +0 -0
- data/app/views/auth/shopping/carts/_form.html.erb +0 -0
- data/app/views/auth/shopping/carts/_payment_links.html.erb +0 -0
- data/app/views/auth/shopping/carts/_remove_cart_item.html.erb +0 -0
- data/app/views/auth/shopping/carts/_show_cart_balance_info.html.erb +0 -0
- data/app/views/auth/shopping/carts/edit.html.erb +0 -0
- data/app/views/auth/shopping/carts/index.html.erb +0 -0
- data/app/views/auth/shopping/carts/new.html.erb +0 -0
- data/app/views/auth/shopping/carts/show.html.erb +0 -0
- data/app/views/auth/shopping/discounts/_form.html.erb +0 -0
- data/app/views/auth/shopping/discounts/_form_for_create_multiple_cart_items.html.erb +0 -0
- data/app/views/auth/shopping/discounts/_show_pending_discount_request.html.erb +0 -0
- data/app/views/auth/shopping/discounts/destroy.html.erb +0 -0
- data/app/views/auth/shopping/discounts/edit.html.erb +0 -0
- data/app/views/auth/shopping/discounts/index.html.erb +0 -0
- data/app/views/auth/shopping/discounts/new.html.erb +0 -0
- data/app/views/auth/shopping/discounts/show.html.erb +0 -0
- data/app/views/auth/shopping/discounts/update.html.erb +0 -0
- data/app/views/auth/shopping/payments/_approve_payment.html.erb +0 -0
- data/app/views/auth/shopping/payments/_cash_card_cheque.html.erb +0 -0
- data/app/views/auth/shopping/payments/_create_discount_coupon.html.erb +0 -0
- data/app/views/auth/shopping/payments/_form.html.erb +0 -0
- data/app/views/auth/shopping/payments/_gateway.html.erb +0 -0
- data/app/views/auth/shopping/payments/_proceed_to_gateway_or_verify_payment.html.erb +0 -0
- data/app/views/auth/shopping/payments/_refresh_payment.html.erb +0 -0
- data/app/views/auth/shopping/payments/_refund.html.erb +0 -0
- data/app/views/auth/shopping/payments/_show_payment_receipt.html.erb +0 -0
- data/app/views/auth/shopping/payments/edit.html.erb +0 -0
- data/app/views/auth/shopping/payments/index.html.erb +0 -0
- data/app/views/auth/shopping/payments/new.html.erb +0 -0
- data/app/views/auth/shopping/payments/show.html.erb +0 -0
- data/app/views/auth/shopping/personalities/_form.html.erb +0 -0
- data/app/views/auth/shopping/personalities/_search.html.erb +0 -0
- data/app/views/auth/shopping/personalities/_search_results_holder.html.erb +0 -0
- data/app/views/auth/shopping/personalities/new.html.erb +0 -0
- data/app/views/auth/shopping/places/_form.html.erb +0 -0
- data/app/views/auth/shopping/places/_search.html.erb +0 -0
- data/app/views/auth/shopping/places/_search_results_holder.html.erb +0 -0
- data/app/views/auth/shopping/places/new.html.erb +0 -0
- data/app/views/auth/shopping/products/_create_from_product.html.erb +0 -0
- data/app/views/auth/shopping/products/_form.html.erb +0 -0
- data/app/views/auth/shopping/products/edit.html.erb +0 -0
- data/app/views/auth/shopping/products/index.html.erb +0 -0
- data/app/views/auth/shopping/products/index.json.erb +0 -0
- data/app/views/auth/shopping/products/index/_show.html.erb +0 -0
- data/app/views/auth/shopping/products/new.html.erb +0 -0
- data/app/views/auth/shopping/products/search_results/_add_product.html.erb +0 -0
- data/app/views/auth/shopping/products/search_results/_edit_product.html.erb +0 -0
- data/app/views/auth/shopping/products/show.html.erb +0 -0
- data/app/views/auth/shopping/products/show.json.erb +0 -0
- data/app/views/auth/shopping/products/show/_action_links.html.erb +0 -0
- data/app/views/auth/shopping/products/show/_content.html.erb +0 -0
- data/app/views/auth/shopping/products/show/_summary.html.erb +0 -0
- data/app/views/auth/unlocks/create.js.erb +0 -0
- data/app/views/auth/unlocks/new.html.erb +0 -0
- data/app/views/auth/unlocks/new.js.erb +0 -0
- data/app/views/auth/users/_search_result.html.erb +0 -0
- data/app/views/auth/users/profiles/_user_data.html.erb +0 -0
- data/app/views/auth/users/profiles/show.html.erb +0 -0
- data/app/views/auth/work/bullets/_form.html.erb +0 -0
- data/app/views/auth/work/bullets/_show.html.erb +0 -0
- data/app/views/auth/work/bullets/edit.html.erb +0 -0
- data/app/views/auth/work/bullets/new.html.erb +0 -0
- data/app/views/auth/work/communications/_form.html.erb +0 -0
- data/app/views/auth/work/communications/_show.html.erb +0 -0
- data/app/views/auth/work/communications/edit.html.erb +0 -0
- data/app/views/auth/work/communications/new.html.erb +0 -0
- data/app/views/auth/work/communications/show.html.erb +0 -0
- data/app/views/auth/work/instructions/_form.html.erb +0 -0
- data/app/views/auth/work/instructions/_image.html.erb +0 -0
- data/app/views/auth/work/instructions/_show.html.erb +0 -0
- data/app/views/auth/work/instructions/edit.html.erb +0 -0
- data/app/views/auth/work/instructions/new.html.erb +0 -0
- data/app/views/auth/work/instructions/show.html.erb +0 -0
- data/app/views/layouts/auth/_modals.html.erb +0 -0
- data/app/views/layouts/auth/application.html.erb +0 -0
- data/app/views/layouts/auth/navbar/_acting_for_user.html.erb +0 -0
- data/app/views/layouts/auth/navbar/_navbar.html.erb +0 -0
- data/app/views/layouts/auth/navbar/_personalization.html.erb +0 -0
- data/app/views/layouts/auth/navbar/_progress_spinner.html.erb +0 -0
- data/app/views/layouts/mailer.html.erb +0 -0
- data/app/views/layouts/mailer.text.erb +0 -0
- data/app/views/layouts/send_mail.html.erb +0 -0
- data/config/initializers/active_model.rb +0 -0
- data/config/initializers/aws.rb +0 -0
- data/config/initializers/devise.rb +0 -0
- data/config/initializers/json.rb +0 -0
- data/config/initializers/omniauth.rb +1 -1
- data/config/initializers/redis.rb +0 -0
- data/config/initializers/redis.yml +0 -0
- data/config/initializers/time_hash.rb +0 -0
- data/config/locales/devise.en.yml +0 -0
- data/config/routes.rb +0 -0
- data/lib/assets/javascripts/bar_code.js +0 -0
- data/lib/assets/javascripts/data.js +0 -0
- data/lib/assets/javascripts/jquery.calendario.js +0 -0
- data/lib/assets/javascripts/jquery.tagcloud.js +0 -0
- data/lib/assets/javascripts/leanModal.js +0 -0
- data/lib/assets/javascripts/main.js +0 -0
- data/lib/assets/javascripts/modernizr.custom.63321.js +0 -0
- data/lib/assets/javascripts/payumoney.js +0 -0
- data/lib/assets/javascripts/search.js +0 -0
- data/lib/assets/javascripts/spinner.js +0 -0
- data/lib/assets/javascripts/trianglify.min.js +0 -0
- data/lib/assets/javascripts/you_need_to_sign_in.js.erb +0 -0
- data/lib/assets/stylesheets/calendar.css +0 -0
- data/lib/assets/stylesheets/calendar_modifications.scss +0 -0
- data/lib/auth/custom_failure.rb +0 -0
- data/lib/auth/engine.rb +0 -0
- data/lib/auth/job_exception_handler.rb +0 -0
- data/lib/auth/mailgun.rb +0 -0
- data/lib/auth/notify.rb +0 -0
- data/lib/auth/omniauth/path.rb +0 -0
- data/lib/auth/partials.rb +0 -0
- data/lib/auth/rails/routes.rb +0 -0
- data/lib/auth/search/main.rb +0 -0
- data/lib/auth/sidekiq_up.rb +0 -0
- data/lib/auth/two_factor_otp.rb +49 -2
- data/lib/auth/url_shortener.rb +0 -0
- data/lib/auth/version.rb +1 -1
- data/lib/tasks/auth_tasks.rake +0 -0
- data/lib/wordjelly-auth.rb +0 -0
- data/spec/auth_test.rb +0 -0
- data/spec/dummy/README.rdoc +0 -0
- data/spec/dummy/Rakefile +0 -0
- data/spec/dummy/app/assets/images/ai_lab.jpg +0 -0
- data/spec/dummy/app/assets/images/lab.jpg +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +0 -0
- data/spec/dummy/app/assets/javascripts/images.js +0 -0
- data/spec/dummy/app/assets/stylesheets/application.scss +0 -0
- data/spec/dummy/app/assets/time_hashes.json +0 -0
- data/spec/dummy/app/controllers/activity_controller.rb +0 -0
- data/spec/dummy/app/controllers/admins/confirmations_controller.rb +0 -0
- data/spec/dummy/app/controllers/admins/omniauth_callbacks_controller.rb +0 -0
- data/spec/dummy/app/controllers/admins/passwords_controller.rb +0 -0
- data/spec/dummy/app/controllers/admins/registrations_controller.rb +0 -0
- data/spec/dummy/app/controllers/admins/sessions_controller.rb +0 -0
- data/spec/dummy/app/controllers/admins/unlocks_controller.rb +0 -0
- data/spec/dummy/app/controllers/application_controller.rb +0 -0
- data/spec/dummy/app/controllers/home_controller.rb +0 -0
- data/spec/dummy/app/controllers/otp_controller.rb +0 -0
- data/spec/dummy/app/controllers/profiles_controller.rb +0 -0
- data/spec/dummy/app/controllers/shopping/cart_items_controller.rb +0 -0
- data/spec/dummy/app/controllers/shopping/carts_controller.rb +0 -0
- data/spec/dummy/app/controllers/shopping/discounts_controller.rb +0 -0
- data/spec/dummy/app/controllers/shopping/payments_controller.rb +0 -0
- data/spec/dummy/app/controllers/shopping/personalities_controller.rb +0 -0
- data/spec/dummy/app/controllers/shopping/places_controller.rb +0 -0
- data/spec/dummy/app/controllers/shopping/products_controller.rb +0 -0
- data/spec/dummy/app/controllers/tests_controller.rb +0 -0
- data/spec/dummy/app/controllers/topics_controller.rb +0 -0
- data/spec/dummy/app/controllers/users/sessions_controller.rb +0 -0
- data/spec/dummy/app/controllers/webhooks_controller.rb +0 -0
- data/spec/dummy/app/controllers/worms_controller.rb +0 -0
- data/spec/dummy/app/helpers/activity_helper.rb +0 -0
- data/spec/dummy/app/helpers/api/v1/token_auth_helper.rb +0 -0
- data/spec/dummy/app/helpers/application_helper.rb +0 -0
- data/spec/dummy/app/helpers/home_helper.rb +0 -0
- data/spec/dummy/app/helpers/tests_helper.rb +0 -0
- data/spec/dummy/app/helpers/topics_helper.rb +0 -0
- data/spec/dummy/app/helpers/worms_helper.rb +0 -0
- data/spec/dummy/app/mailers/application_mailer.rb +0 -0
- data/spec/dummy/app/mailers/new.rb +0 -0
- data/spec/dummy/app/models/activity.rb +0 -0
- data/spec/dummy/app/models/admin.rb +0 -0
- data/spec/dummy/app/models/noti.rb +0 -0
- data/spec/dummy/app/models/noti_response.rb +0 -0
- data/spec/dummy/app/models/shopping/cart.rb +0 -0
- data/spec/dummy/app/models/shopping/cart_item.rb +0 -0
- data/spec/dummy/app/models/shopping/discount.rb +0 -0
- data/spec/dummy/app/models/shopping/payment.rb +0 -0
- data/spec/dummy/app/models/shopping/personality.rb +0 -0
- data/spec/dummy/app/models/shopping/place.rb +0 -0
- data/spec/dummy/app/models/shopping/product.rb +0 -0
- data/spec/dummy/app/models/test.rb +0 -0
- data/spec/dummy/app/models/topic.rb +0 -0
- data/spec/dummy/app/models/user.rb +0 -0
- data/spec/dummy/app/models/worm.rb +0 -0
- data/spec/dummy/app/views/home/index.html.erb +0 -0
- data/spec/dummy/app/views/home/send_notification.html.erb +0 -0
- data/spec/dummy/app/views/layouts/application.html.erb +0 -0
- data/spec/dummy/app/views/layouts/mailer.html.erb +0 -0
- data/spec/dummy/app/views/layouts/mailer.text.erb +0 -0
- data/spec/dummy/app/views/new/notification.html.erb +0 -0
- data/spec/dummy/app/views/new/notification.text.erb +0 -0
- data/spec/dummy/app/views/shopping/_navigation_options.html.erb +0 -0
- data/spec/dummy/app/views/tests/_form.html.erb +0 -0
- data/spec/dummy/app/views/tests/edit.html.erb +0 -0
- data/spec/dummy/app/views/tests/index.html.erb +0 -0
- data/spec/dummy/app/views/tests/new.html.erb +0 -0
- data/spec/dummy/app/views/tests/show.html.erb +0 -0
- data/spec/dummy/app/views/topics/_form.html.erb +0 -0
- data/spec/dummy/app/views/topics/edit.html.erb +0 -0
- data/spec/dummy/app/views/topics/index.html.erb +0 -0
- data/spec/dummy/app/views/topics/new.html.erb +0 -0
- data/spec/dummy/app/views/topics/show.html.erb +0 -0
- data/spec/dummy/app/views/users/sessions/create.js.erb +0 -0
- data/spec/dummy/app/views/worms/_form.html.erb +0 -0
- data/spec/dummy/app/views/worms/edit.html.erb +0 -0
- data/spec/dummy/app/views/worms/index.html.erb +0 -0
- data/spec/dummy/app/views/worms/new.html.erb +0 -0
- data/spec/dummy/app/views/worms/show.html.erb +0 -0
- data/spec/dummy/bin/bundle +0 -0
- data/spec/dummy/bin/delayed_job +0 -0
- data/spec/dummy/bin/rails +0 -0
- data/spec/dummy/bin/rake +0 -0
- data/spec/dummy/bin/setup +0 -0
- data/spec/dummy/config.ru +0 -0
- data/spec/dummy/config/application.rb +0 -0
- data/spec/dummy/config/boot.rb +0 -0
- data/spec/dummy/config/cloudinary.yml +0 -0
- data/spec/dummy/config/environment.rb +0 -0
- data/spec/dummy/config/environments/production.rb +0 -0
- data/spec/dummy/config/environments/test.rb +0 -0
- data/spec/dummy/config/initializers/assets.rb +0 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +0 -0
- data/spec/dummy/config/initializers/devise.rb +0 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -0
- data/spec/dummy/config/initializers/inflections.rb +0 -0
- data/spec/dummy/config/initializers/mime_types.rb +0 -0
- data/spec/dummy/config/initializers/redis.rb +0 -0
- data/spec/dummy/config/initializers/session_store.rb +0 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -0
- data/spec/dummy/config/locales/devise.en.yml +0 -0
- data/spec/dummy/config/locales/en.yml +0 -0
- data/spec/dummy/config/mongoid.yml +0 -0
- data/spec/dummy/config/redis.yml +0 -0
- data/spec/dummy/config/routes.rb +0 -0
- data/spec/dummy/config/secrets.yml +0 -0
- data/spec/dummy/db/products.json +0 -0
- data/spec/dummy/db/seeds.rb +0 -0
- data/spec/dummy/lib/admin/parameter_sanitizer.rb +0 -0
- data/spec/dummy/lib/assets/files/test_names.json +0 -0
- data/spec/dummy/lib/user/parameter_sanitizer.rb +0 -0
- data/spec/dummy/public/404.html +0 -0
- data/spec/dummy/public/422.html +0 -0
- data/spec/dummy/public/500.html +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/sidekiq.yml +0 -0
- data/spec/dummy/sidekiq_prep.sh +0 -0
- data/spec/dummy/spec/controllers/activity_controller_spec.rb +0 -0
- data/spec/dummy/spec/controllers/tests_controller_spec.rb +0 -0
- data/spec/dummy/spec/controllers/worms_controller_spec.rb +0 -0
- data/spec/dummy/spec/factories/tests.rb +0 -0
- data/spec/dummy/spec/factories/worms.rb +0 -0
- data/spec/dummy/spec/fixtures/new/send_notification +0 -0
- data/spec/dummy/spec/helpers/activity_helper_spec.rb +0 -0
- data/spec/dummy/spec/helpers/tests_helper_spec.rb +0 -0
- data/spec/dummy/spec/helpers/worms_helper_spec.rb +0 -0
- data/spec/dummy/spec/mailers/new_spec.rb +0 -0
- data/spec/dummy/spec/mailers/previews/new_preview.rb +0 -0
- data/spec/dummy/spec/models/test_spec.rb +0 -0
- data/spec/dummy/spec/models/worm_spec.rb +0 -0
- data/spec/dummy/spec/requests/tests_spec.rb +0 -0
- data/spec/dummy/spec/requests/worms_spec.rb +0 -0
- data/spec/dummy/spec/routing/tests_routing_spec.rb +0 -0
- data/spec/dummy/spec/routing/worms_routing_spec.rb +0 -0
- data/spec/dummy/spec/views/tests/edit.html.erb_spec.rb +0 -0
- data/spec/dummy/spec/views/tests/index.html.erb_spec.rb +0 -0
- data/spec/dummy/spec/views/tests/new.html.erb_spec.rb +0 -0
- data/spec/dummy/spec/views/tests/show.html.erb_spec.rb +0 -0
- data/spec/dummy/spec/views/worms/edit.html.erb_spec.rb +0 -0
- data/spec/dummy/spec/views/worms/index.html.erb_spec.rb +0 -0
- data/spec/dummy/spec/views/worms/new.html.erb_spec.rb +0 -0
- data/spec/dummy/spec/views/worms/show.html.erb_spec.rb +0 -0
- data/spec/dummy/test/controllers/api/v1/token_auth_controller_test.rb +0 -0
- data/spec/dummy/test/controllers/home_controller_test.rb +0 -0
- data/spec/dummy/test/controllers/oauth_tests_controller_test.rb +0 -0
- data/spec/dummy/test/fixtures/oauth_tests.yml +0 -0
- data/spec/dummy/test/fixtures/users.yml +0 -0
- data/spec/dummy/test/models/oauth_test_test.rb +0 -0
- data/spec/dummy/test/models/user_test.rb +0 -0
- data/spec/factories/client_factory.rb +0 -0
- data/spec/features/extension_spec.rb +0 -0
- data/spec/features/redirect_disable_spec.rb +0 -0
- data/spec/fixtures/auth/clients.yml +0 -0
- data/spec/helpers/auth/admin_create_users_helper_spec.rb +0 -0
- data/spec/helpers/auth/assemblies_helper_spec.rb +0 -0
- data/spec/helpers/auth/images_helper_spec.rb +0 -0
- data/spec/helpers/auth/resource_helper_spec.rb +0 -0
- data/spec/helpers/auth/search_helper_spec.rb +0 -0
- data/spec/helpers/auth/users/profiles_helper_spec.rb +0 -0
- data/spec/models/auth/chief_model_spec.rb +0 -0
- data/spec/models/auth/shopping/cart_item_spec.rb +0 -0
- data/spec/models/auth/shopping/product.json +0 -0
- data/spec/rails_helper.rb +0 -0
- data/spec/requests/search/search_request_spec.rb +0 -0
- data/spec/requests/shopping/bar_code_request_spec.rb +0 -0
- data/spec/requests/shopping/cart_item_request_spec.rb +0 -0
- data/spec/requests/shopping/cart_request_spec.rb +0 -0
- data/spec/requests/shopping/discount_request_spec.rb +0 -0
- data/spec/requests/shopping/payment_request_spec.rb +0 -0
- data/spec/requests/user/additional_login_param_and_email_validation_spec.rb +0 -0
- data/spec/requests/user/admin_create_user_request_spec.rb +0 -0
- data/spec/requests/user/amazon_sns_request_spec.rb +0 -0
- data/spec/requests/user/client_request_spec.rb +0 -0
- data/spec/requests/user/confirmation_request_spec.rb +0 -0
- data/spec/requests/user/omniauth_callbacks_request_spec.rb +0 -0
- data/spec/requests/user/otp_basic_flow_request_spec.rb +0 -0
- data/spec/requests/user/password_request_spec.rb +0 -0
- data/spec/requests/user/registration_request_spec.rb +0 -0
- data/spec/requests/user/session_request_spec.rb +0 -0
- data/spec/requests/user/token_request_spec.rb +0 -0
- data/spec/requests/user/unlock_request_spec.rb +0 -0
- data/spec/scenarios/scenario_1.json +0 -0
- data/spec/spec_helper.rb +0 -0
- data/spec/support/factory_girl.rb +0 -0
- data/spec/support/omniauth_macros.rb +0 -0
- data/spec/support/payumoney_support.rb +0 -0
- data/spec/support/sign_in_support.rb +0 -0
- data/spec/support/system_support.rb +0 -0
- data/spec/support/wait_for_ajax.rb +0 -0
- data/spec/support/work_support.rb +0 -0
- data/spec/test_json_assemblies/assign_location_information_from_cart_item_to_step.json +0 -0
- data/spec/test_json_assemblies/consumables/1.json +0 -0
- data/spec/test_json_assemblies/continuous_time_reference_requirement.json +0 -0
- data/spec/test_json_assemblies/discontinuous_time_reference_requirement.json +0 -0
- data/spec/test_json_assemblies/discontinuous_time_reference_requirement_with_time_specification.json +0 -0
- data/spec/test_json_assemblies/location_coordinates_and_some_with_categories_test.json +0 -0
- data/spec/test_json_assemblies/location_id_test.json +0 -0
- data/spec/test_json_assemblies/locations/2.json +0 -0
- data/spec/test_json_assemblies/locations/3.json +0 -0
- data/spec/test_json_assemblies/locations/4.json +0 -0
- data/spec/test_json_assemblies/locations/5.json +0 -0
- data/spec/test_json_assemblies/locations/6.json +0 -0
- data/spec/test_json_assemblies/locations/7.json +0 -0
- data/spec/test_json_assemblies/locations/8.json +0 -0
- data/spec/test_json_assemblies/locations/location_with_transport_information.json +0 -0
- data/spec/test_json_assemblies/no_applicable_sops.json +0 -0
- data/spec/test_json_assemblies/no_reference_requirement.json +0 -0
- data/spec/test_json_assemblies/overlap_hashes/1.json +0 -0
- data/spec/test_json_assemblies/overlap_hashes/2.json +0 -0
- data/spec/test_json_assemblies/pass_location_information_to_next_step.json +0 -0
- data/spec/test_json_assemblies/specifications/1.json +0 -0
- data/spec/test_json_assemblies/specifications/2.json +0 -0
- data/spec/test_json_assemblies/specifications/3.json +0 -0
- data/spec/test_json_assemblies/specifications/4.json +0 -0
- data/spec/test_json_assemblies/specifications/5.json +0 -0
- data/spec/test_json_assemblies/specifications/6.json +0 -0
- data/spec/test_json_assemblies/start_time_specification_no_previous_time_information.json +0 -0
- data/spec/test_json_assemblies/steps/1.json +0 -0
- data/spec/test_json_assemblies/steps/2.json +0 -0
- data/spec/test_json_assemblies/steps/3.json +0 -0
- data/spec/test_json_assemblies/steps/4.json +0 -0
- data/spec/test_json_assemblies/steps/5.json +0 -0
- data/spec/test_json_assemblies/steps/6.json +0 -0
- data/spec/test_json_assemblies/system/1.json +0 -0
- data/spec/test_json_assemblies/system/10.json +0 -0
- data/spec/test_json_assemblies/system/11.json +0 -0
- data/spec/test_json_assemblies/system/12.json +0 -0
- data/spec/test_json_assemblies/system/13.json +0 -0
- data/spec/test_json_assemblies/system/2.json +0 -0
- data/spec/test_json_assemblies/system/3.json +0 -0
- data/spec/test_json_assemblies/system/4.json +0 -0
- data/spec/test_json_assemblies/system/5.json +0 -0
- data/spec/test_json_assemblies/system/6.json +0 -0
- data/spec/test_json_assemblies/system/7.json +0 -0
- data/spec/test_json_assemblies/system/8.json +0 -0
- data/spec/test_json_assemblies/system/9.json +0 -0
- data/spec/test_json_assemblies/time_specification_mismatch.json +0 -0
- data/spec/test_json_assemblies/two_schedules_two_requirements_two_bookings_two_slots.json +0 -0
- data/spec/test_json_assemblies/two_seperate_requirements_with_time_specs.json +0 -0
- data/spec/test_json_assemblies/two_steps_time_specification.json +0 -0
- metadata +201 -201
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
|
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/config/initializers/aws.rb
CHANGED
File without changes
|
File without changes
|
data/config/initializers/json.rb
CHANGED
File without changes
|
@@ -499,7 +499,7 @@ module SimpleTokenAuthentication
|
|
499
499
|
## otherwise it will screw up totally.
|
500
500
|
def ensure_authentication_token
|
501
501
|
|
502
|
-
puts "the skip authentication token is: #{self.skip_authentication_token_regeneration}"
|
502
|
+
#puts "the skip authentication token is: #{self.skip_authentication_token_regeneration}"
|
503
503
|
|
504
504
|
regenerate_token if self.skip_authentication_token_regeneration.blank?
|
505
505
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/config/routes.rb
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
|
data/lib/auth/custom_failure.rb
CHANGED
File without changes
|
data/lib/auth/engine.rb
CHANGED
File without changes
|
File without changes
|
data/lib/auth/mailgun.rb
CHANGED
File without changes
|
data/lib/auth/notify.rb
CHANGED
File without changes
|
data/lib/auth/omniauth/path.rb
CHANGED
File without changes
|
data/lib/auth/partials.rb
CHANGED
File without changes
|
data/lib/auth/rails/routes.rb
CHANGED
File without changes
|
data/lib/auth/search/main.rb
CHANGED
File without changes
|
data/lib/auth/sidekiq_up.rb
CHANGED
File without changes
|
data/lib/auth/two_factor_otp.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
module Auth
|
2
2
|
module TwoFactorOtp
|
3
|
-
|
3
|
+
# so this is complicated.
|
4
|
+
TYPHOEUS_TIMEOUT = 20
|
4
5
|
## the currently being used resource.
|
5
6
|
mattr_accessor :resource
|
6
7
|
|
@@ -11,9 +12,10 @@ module Auth
|
|
11
12
|
$redis.hget(resource.id.to_s + "_two_factor_sms_otp","error")
|
12
13
|
end
|
13
14
|
|
15
|
+
## after this put it into a background job.
|
16
|
+
|
14
17
|
def self.set_webhook_identifier(notification_response,last_response)
|
15
18
|
|
16
|
-
|
17
19
|
last_response = JSON.parse(last_response)
|
18
20
|
|
19
21
|
if last_response["Status"] && last_response["Status"] == "Success"
|
@@ -23,6 +25,44 @@ module Auth
|
|
23
25
|
|
24
26
|
end
|
25
27
|
|
28
|
+
def self.ttrans
|
29
|
+
args = {
|
30
|
+
:to_number => "9561137096",
|
31
|
+
:template_name => "Report Updated",
|
32
|
+
:var_hash => {:VAR1 => "Bhargav", :VAR2 => "Raut", :VAR3 => "http://www.google.com", :VAR4 => "Plus Path Lab"},
|
33
|
+
:template_sender_id => "LABTST"
|
34
|
+
}
|
35
|
+
send_transactional_sms_new(args)
|
36
|
+
end
|
37
|
+
|
38
|
+
def self.send_transactional_sms_new(args)
|
39
|
+
if Auth.configuration.stub_otp_api_calls == true
|
40
|
+
puts "stubbing transactional sms otp message, as stub_otp_api_calls is set to true"
|
41
|
+
return {"stubbing_otp_transactions_sms_calls" => true}.to_json
|
42
|
+
end
|
43
|
+
puts "-- send transactional sms---"
|
44
|
+
to_number = args[:to_number]
|
45
|
+
template_name = args[:template_name]
|
46
|
+
var_hash = args[:var_hash]
|
47
|
+
template_sender_id = args[:template_sender_id]
|
48
|
+
|
49
|
+
url = "http://2factor.in/API/V1/#{Auth.configuration.third_party_api_keys[:two_factor_sms_api_key]}/ADDON_SERVICES/SEND/TSMS"
|
50
|
+
|
51
|
+
body = {
|
52
|
+
To: to_number,
|
53
|
+
From: template_sender_id,
|
54
|
+
TemplateName: template_name,
|
55
|
+
}.merge(var_hash)
|
56
|
+
|
57
|
+
response = Typhoeus.post(
|
58
|
+
url,
|
59
|
+
body: body,
|
60
|
+
timeout: TYPHOEUS_TIMEOUT
|
61
|
+
)
|
62
|
+
#puts response.body
|
63
|
+
response.body
|
64
|
+
end
|
65
|
+
|
26
66
|
## to_number : string, indian telephone number, without the preceeding 91
|
27
67
|
## template : the two_factor_otp template
|
28
68
|
## example request should look like this
|
@@ -94,6 +134,10 @@ module Auth
|
|
94
134
|
|
95
135
|
end
|
96
136
|
|
137
|
+
## so gotta first sort out two factor api issues.
|
138
|
+
## and get the basic sms transactionals working.
|
139
|
+
## and then done.
|
140
|
+
|
97
141
|
def verify(otp)
|
98
142
|
|
99
143
|
if Auth.configuration.third_party_api_keys[:two_factor_sms_api_key].nil?
|
@@ -145,6 +189,9 @@ module Auth
|
|
145
189
|
$redis.del(resource.id.to_s + "_two_factor_sms_otp")
|
146
190
|
end
|
147
191
|
|
192
|
+
## so we get the transactional working.
|
193
|
+
## then we get some more tests going for this.s
|
194
|
+
|
148
195
|
def send_otp_response
|
149
196
|
if Auth.configuration.stub_otp_api_calls == true
|
150
197
|
|
data/lib/auth/url_shortener.rb
CHANGED
File without changes
|
data/lib/auth/version.rb
CHANGED
data/lib/tasks/auth_tasks.rake
CHANGED
File without changes
|
data/lib/wordjelly-auth.rb
CHANGED
File without changes
|
data/spec/auth_test.rb
CHANGED
File without changes
|
data/spec/dummy/README.rdoc
CHANGED
File without changes
|
data/spec/dummy/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
|