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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4c7a6fa2414fecf2cf21099f1feee06e5194cde
|
4
|
+
data.tar.gz: 315f03e8fb5a9ae0915685ccc843b0a2664ce4f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/app/assets/images/lab.jpg
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
|
@@ -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
|
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
File without changes
|
File without changes
|
File without changes
|
data/app/models/auth/action.rb
CHANGED
File without changes
|
File without changes
|
data/app/models/auth/client.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
|
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
|
-
##
|
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.
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
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
|