Merge branch 'develop' into dev_newv

dev_newv
huang 6 years ago
commit 17f9de4198

@ -15,6 +15,8 @@ unless RUBY_PLATFORM =~ /w32/
gem 'rqrcode_png' gem 'rqrcode_png'
gem 'roo-xls' gem 'roo-xls'
gem 'newrelic_rpm' gem 'newrelic_rpm'
gem 'seventeen_mon'
gem 'mobinfo'
end end
gem 'certified' gem 'certified'
gem 'net-ssh', '2.9.1' gem 'net-ssh', '2.9.1'
@ -22,8 +24,6 @@ unless RUBY_PLATFORM =~ /w32/
gem 'nokogiri' gem 'nokogiri'
end end
gem 'seventeen_mon'
gem 'mobinfo'
gem 'simple_xlsx_reader' gem 'simple_xlsx_reader'
gem 'wechat',path: 'lib/wechat' gem 'wechat',path: 'lib/wechat'
gem 'grack', path:'lib/grack' gem 'grack', path:'lib/grack'

@ -24,7 +24,7 @@ class AccountController < ApplicationController
skip_before_filter :check_if_login_required skip_before_filter :check_if_login_required
skip_before_filter :check_authentication, :only => [:login, :logout, :user_join, :avatar, :authentication, :professional_certification, :security_settings, :change_psd, :user_info] skip_before_filter :check_authentication, :only => [:login, :logout, :user_join, :avatar, :authentication, :professional_certification, :security_settings, :change_psd, :user_info]
before_filter :auth_login1, :only => [:avatar, :authentication, :professional_certification, :security_settings, :change_psd, :reset_psd, :user_info] before_filter :auth_login1, :only => [:avatar, :authentication, :professional_certification, :security_settings, :change_psd, :reset_psd, :user_info]
skip_before_filter :verify_authenticity_token, :only =>[:codepedia_login, :login] skip_before_filter :verify_authenticity_token, :only =>[:codepedia_login, :login, :register]
before_filter :require_login, only: [:avatar, :authentication, :professional_certification, :security_settings, :change_psd, :user_info, :user_auth, :apply_auth, :apply_pro_certification, :check_student_id, before_filter :require_login, only: [:avatar, :authentication, :professional_certification, :security_settings, :change_psd, :user_info, :user_auth, :apply_auth, :apply_pro_certification, :check_student_id,
:bind_email, :change_or_bind] :bind_email, :change_or_bind]
include ApplicationHelper include ApplicationHelper

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><meta name="renderer" content="webkit"/><meta name="force-rendering" content="webkit"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><link rel="manifest" href="/manifest.json"><link rel="shortcut icon" href="/favicon.ico"><title>Educoder</title><script type="text/javascript">window.__isR=!0</script><link rel="stylesheet" href="/react/build/css/css_min_all.css"><link rel="stylesheet" href="/assets/iconfont/iconfont.css"><link href="/react/build/./static/css/main.266ab375.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="md_div" style="display:none"></div><div id="root" class="page -layout-v -fit"></div><div id="picture_display" style="display:none"></div><script type="text/javascript" src="/react/build/js/js_min_all.js"></script><script type="text/javascript" src="/assets/kindeditor/kindeditor.js"></script><script type="text/javascript" src="/react/build/js/create_kindeditor.js"></script><script type="text/javascript" src="/javascripts/educoder/edu_application.js"></script><script type="text/javascript" src="/react/build/./static/js/main.cc568f76.js"></script></body></html> <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><meta name="renderer" content="webkit"/><meta name="force-rendering" content="webkit"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><link rel="manifest" href="/manifest.json"><link rel="shortcut icon" href="/favicon.ico"><title>Educoder</title><script type="text/javascript">window.__isR=!0</script><link rel="stylesheet" href="/react/build/css/css_min_all.css"><link rel="stylesheet" href="/assets/iconfont/iconfont.css"><link href="/react/build/./static/css/main.3274c43b.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="md_div" style="display:none"></div><div id="root" class="page -layout-v -fit"></div><div id="picture_display" style="display:none"></div><script type="text/javascript" src="/react/build/js/js_min_all.js"></script><script type="text/javascript" src="/assets/kindeditor/kindeditor.js"></script><script type="text/javascript" src="/react/build/js/create_kindeditor.js"></script><script type="text/javascript" src="/javascripts/educoder/edu_application.js"></script><script type="text/javascript" src="/react/build/./static/js/main.9f01900e.js"></script></body></html>

@ -106,7 +106,7 @@
</p> </p>
<div class="clearfix mb20 df"> <div class="clearfix mb20 df">
<span class="mr30 color-orange pt10 fl">*</span> <span class="mr30 color-orange pt10 fl">*</span>
<div class="flex1"> <div class="flex1" style="width: 0">
<div class="edu-back-greyf5 padding10"> <div class="edu-back-greyf5 padding10">
<textarea class="" id="shixun_script" name="shixun[evaluate_script]"><%= @shixun.evaluate_script %></textarea> <textarea class="" id="shixun_script" name="shixun[evaluate_script]"><%= @shixun.evaluate_script %></textarea>
</div> </div>

@ -0,0 +1,67 @@
#encoding: utf-8
class MigrateExerUserScore < ActiveRecord::Migration
def up
exercise = Exercise.where(:id => 1264).first
if exercise.present?
question = exercise.exercise_questions.first
shixun = question.try(:shixun)
if shixun.present?
exercise.exercise_users.where(:commit_status => 0).each do |exercise_user|
myshixun = Myshixun.where(:shixun_id => shixun.id, :user_id => exercise_user.user_id).first
if myshixun.present? && myshixun.created_at > exercise.publish_time
exercise_user.start_at = myshixun.created_at
exercise_user.commit_status = 1
exercise_user.end_at = exercise.end_time
exercise_user.status = 1
s_score = 0
question.exercise_shixun_challenges.each do |exercise_cha|
game = Game.where(:user_id => exercise_user.user_id, :challenge_id => exercise_cha.challenge_id).first
if game.present?
exercise_cha_score = 0
answer_status = 0
cha_path = exercise_cha.challenge.path.present? ? exercise_cha.challenge.path.split("") : []
challeng_path = cha_path.reject(&:blank?)[0].try(:strip)
if game.status == 2 && game.final_score >= 0
exercise_cha_score = exercise_cha.question_score
answer_status = 1
end
if exercise_cha.exercise_shixun_answers.where(:user_id => exercise_user.user_id).empty?
if GameCode.where(:game_id => game.try(:id), :path => challeng_path).first.present?
game_code = GameCode.where(:game_id => game.try(:id), :path => challeng_path).first
code = game_code.try(:new_code)
else
begin
g = Gitlab.client
Rails.logger.info "commit_exercise_path---- #{challeng_path}"
if game.present?
code = g.files(game.myshixun.gpid, challeng_path, "master").try(:content)
else
code = g.files(question.shixun.gpid, challeng_path, "master").try(:content)
end
code = tran_base64_decode64(code)
rescue Exception => e
Rails.logger.info "commit_exercise---- #{@error_messages}"
end
end
ExerciseShixunAnswer.create(:exercise_question_id => question.id, :exercise_shixun_challenge_id => exercise_cha.id, :user_id => exercise_user.user_id,
:score => exercise_cha_score, :answer_text => code, :status => answer_status)
end
s_score += exercise_cha_score
end
end
exercise_user.objective_score = s_score
exercise_user.subjective_score = 0
exercise_user.score = s_score
exercise_user.save
end
end
end
end
end
def down
end
end

@ -0,0 +1,10 @@
class DepartmentDefaultHostCount < ActiveRecord::Migration
def up
change_column :departments, :host_count, :integer, :default => 5
Department.update_all(:host_count => 5)
end
def down
end
end

@ -1,5 +1,5 @@
#!/usr/bin/env ruby #!/usr/bin/env ruby
#
$:.unshift File.expand_path('../../lib', __FILE__) $:.unshift File.expand_path('../../lib', __FILE__)
require 'gitlab/cli' require 'gitlab/cli'

@ -1,5 +1,6 @@
#! /bin/bash #! /bin/bash
###
set -e set -e
cd $(dirname "$0")/.. cd $(dirname "$0")/..

@ -4,7 +4,6 @@ $LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
Bundler.require(:default, :development) Bundler.require(:default, :development)
require 'grack' require 'grack'
require 'rack' require 'rack'
root = File.absolute_path( File.join( File.dirname(__FILE__), '../examples' ) ) root = File.absolute_path( File.join( File.dirname(__FILE__), '../examples' ) )

@ -1,6 +1,6 @@
#coding=utf-8 #coding=utf-8
#!/usr/bin/env ruby #!/usr/bin/env ruby
###
lib = File.expand_path(File.dirname(__FILE__) + '/../lib') lib = File.expand_path(File.dirname(__FILE__) + '/../lib')
$LOAD_PATH.unshift(lib) if File.directory?(lib) && !$LOAD_PATH.include?(lib) $LOAD_PATH.unshift(lib) if File.directory?(lib) && !$LOAD_PATH.include?(lib)

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

@ -1,74 +1,74 @@
{ {
"./static/js/0.f9e1c8d1.chunk.js": "./static/js/0.f9e1c8d1.chunk.js", "./static/js/0.d15cdb8c.chunk.js": "./static/js/0.d15cdb8c.chunk.js",
"./static/js/0.f9e1c8d1.chunk.js.map": "./static/js/0.f9e1c8d1.chunk.js.map", "./static/js/0.d15cdb8c.chunk.js.map": "./static/js/0.d15cdb8c.chunk.js.map",
"./static/js/1.340cd609.chunk.js": "./static/js/1.340cd609.chunk.js", "./static/js/1.b37de40f.chunk.js": "./static/js/1.b37de40f.chunk.js",
"./static/js/1.340cd609.chunk.js.map": "./static/js/1.340cd609.chunk.js.map", "./static/js/1.b37de40f.chunk.js.map": "./static/js/1.b37de40f.chunk.js.map",
"./static/js/10.9510d46e.chunk.js": "./static/js/10.9510d46e.chunk.js", "./static/js/10.0b59b6d9.chunk.js": "./static/js/10.0b59b6d9.chunk.js",
"./static/js/10.9510d46e.chunk.js.map": "./static/js/10.9510d46e.chunk.js.map", "./static/js/10.0b59b6d9.chunk.js.map": "./static/js/10.0b59b6d9.chunk.js.map",
"./static/js/11.208cca1c.chunk.js": "./static/js/11.208cca1c.chunk.js", "./static/js/11.03d0c22e.chunk.js": "./static/js/11.03d0c22e.chunk.js",
"./static/js/11.208cca1c.chunk.js.map": "./static/js/11.208cca1c.chunk.js.map", "./static/js/11.03d0c22e.chunk.js.map": "./static/js/11.03d0c22e.chunk.js.map",
"./static/js/12.1c9a6050.chunk.js": "./static/js/12.1c9a6050.chunk.js", "./static/js/12.33ef9274.chunk.js": "./static/js/12.33ef9274.chunk.js",
"./static/js/12.1c9a6050.chunk.js.map": "./static/js/12.1c9a6050.chunk.js.map", "./static/js/12.33ef9274.chunk.js.map": "./static/js/12.33ef9274.chunk.js.map",
"./static/js/13.127cb01c.chunk.js": "./static/js/13.127cb01c.chunk.js", "./static/js/13.84649bc7.chunk.js": "./static/js/13.84649bc7.chunk.js",
"./static/js/13.127cb01c.chunk.js.map": "./static/js/13.127cb01c.chunk.js.map", "./static/js/13.84649bc7.chunk.js.map": "./static/js/13.84649bc7.chunk.js.map",
"./static/js/14.a017a952.chunk.js": "./static/js/14.a017a952.chunk.js", "./static/js/14.57622e23.chunk.js": "./static/js/14.57622e23.chunk.js",
"./static/js/14.a017a952.chunk.js.map": "./static/js/14.a017a952.chunk.js.map", "./static/js/14.57622e23.chunk.js.map": "./static/js/14.57622e23.chunk.js.map",
"./static/js/15.57bfadcd.chunk.js": "./static/js/15.57bfadcd.chunk.js", "./static/js/15.cd2747c4.chunk.js": "./static/js/15.cd2747c4.chunk.js",
"./static/js/15.57bfadcd.chunk.js.map": "./static/js/15.57bfadcd.chunk.js.map", "./static/js/15.cd2747c4.chunk.js.map": "./static/js/15.cd2747c4.chunk.js.map",
"./static/js/16.c5a9c976.chunk.js": "./static/js/16.c5a9c976.chunk.js", "./static/js/16.e8e3aa00.chunk.js": "./static/js/16.e8e3aa00.chunk.js",
"./static/js/16.c5a9c976.chunk.js.map": "./static/js/16.c5a9c976.chunk.js.map", "./static/js/16.e8e3aa00.chunk.js.map": "./static/js/16.e8e3aa00.chunk.js.map",
"./static/js/17.b0126ac4.chunk.js": "./static/js/17.b0126ac4.chunk.js", "./static/js/17.db50ac9a.chunk.js": "./static/js/17.db50ac9a.chunk.js",
"./static/js/17.b0126ac4.chunk.js.map": "./static/js/17.b0126ac4.chunk.js.map", "./static/js/17.db50ac9a.chunk.js.map": "./static/js/17.db50ac9a.chunk.js.map",
"./static/js/18.14330a81.chunk.js": "./static/js/18.14330a81.chunk.js", "./static/js/18.e8b5b490.chunk.js": "./static/js/18.e8b5b490.chunk.js",
"./static/js/18.14330a81.chunk.js.map": "./static/js/18.14330a81.chunk.js.map", "./static/js/18.e8b5b490.chunk.js.map": "./static/js/18.e8b5b490.chunk.js.map",
"./static/js/19.ac65c798.chunk.js": "./static/js/19.ac65c798.chunk.js", "./static/js/19.5f9a9263.chunk.js": "./static/js/19.5f9a9263.chunk.js",
"./static/js/19.ac65c798.chunk.js.map": "./static/js/19.ac65c798.chunk.js.map", "./static/js/19.5f9a9263.chunk.js.map": "./static/js/19.5f9a9263.chunk.js.map",
"./static/js/2.6aab041a.chunk.js": "./static/js/2.6aab041a.chunk.js", "./static/js/2.48f59130.chunk.js": "./static/js/2.48f59130.chunk.js",
"./static/js/2.6aab041a.chunk.js.map": "./static/js/2.6aab041a.chunk.js.map", "./static/js/2.48f59130.chunk.js.map": "./static/js/2.48f59130.chunk.js.map",
"./static/js/20.c39cd8ba.chunk.js": "./static/js/20.c39cd8ba.chunk.js", "./static/js/20.6efcbe58.chunk.js": "./static/js/20.6efcbe58.chunk.js",
"./static/js/20.c39cd8ba.chunk.js.map": "./static/js/20.c39cd8ba.chunk.js.map", "./static/js/20.6efcbe58.chunk.js.map": "./static/js/20.6efcbe58.chunk.js.map",
"./static/js/21.92e7782e.chunk.js": "./static/js/21.92e7782e.chunk.js", "./static/js/21.6e5a22af.chunk.js": "./static/js/21.6e5a22af.chunk.js",
"./static/js/21.92e7782e.chunk.js.map": "./static/js/21.92e7782e.chunk.js.map", "./static/js/21.6e5a22af.chunk.js.map": "./static/js/21.6e5a22af.chunk.js.map",
"./static/js/22.8eeb0d90.chunk.js": "./static/js/22.8eeb0d90.chunk.js", "./static/js/22.7c073e45.chunk.js": "./static/js/22.7c073e45.chunk.js",
"./static/js/22.8eeb0d90.chunk.js.map": "./static/js/22.8eeb0d90.chunk.js.map", "./static/js/22.7c073e45.chunk.js.map": "./static/js/22.7c073e45.chunk.js.map",
"./static/js/23.9e6a3949.chunk.js": "./static/js/23.9e6a3949.chunk.js", "./static/js/23.0abe5b59.chunk.js": "./static/js/23.0abe5b59.chunk.js",
"./static/js/23.9e6a3949.chunk.js.map": "./static/js/23.9e6a3949.chunk.js.map", "./static/js/23.0abe5b59.chunk.js.map": "./static/js/23.0abe5b59.chunk.js.map",
"./static/js/24.5882f212.chunk.js": "./static/js/24.5882f212.chunk.js", "./static/js/24.e1553222.chunk.js": "./static/js/24.e1553222.chunk.js",
"./static/js/24.5882f212.chunk.js.map": "./static/js/24.5882f212.chunk.js.map", "./static/js/24.e1553222.chunk.js.map": "./static/js/24.e1553222.chunk.js.map",
"./static/js/25.17100c6d.chunk.js": "./static/js/25.17100c6d.chunk.js", "./static/js/25.7f05ced8.chunk.js": "./static/js/25.7f05ced8.chunk.js",
"./static/js/25.17100c6d.chunk.js.map": "./static/js/25.17100c6d.chunk.js.map", "./static/js/25.7f05ced8.chunk.js.map": "./static/js/25.7f05ced8.chunk.js.map",
"./static/js/26.dde6b09a.chunk.js": "./static/js/26.dde6b09a.chunk.js", "./static/js/26.00916fb9.chunk.js": "./static/js/26.00916fb9.chunk.js",
"./static/js/26.dde6b09a.chunk.js.map": "./static/js/26.dde6b09a.chunk.js.map", "./static/js/26.00916fb9.chunk.js.map": "./static/js/26.00916fb9.chunk.js.map",
"./static/js/27.6b67beb1.chunk.js": "./static/js/27.6b67beb1.chunk.js", "./static/js/27.85a886e8.chunk.js": "./static/js/27.85a886e8.chunk.js",
"./static/js/27.6b67beb1.chunk.js.map": "./static/js/27.6b67beb1.chunk.js.map", "./static/js/27.85a886e8.chunk.js.map": "./static/js/27.85a886e8.chunk.js.map",
"./static/js/28.9abd7445.chunk.js": "./static/js/28.9abd7445.chunk.js", "./static/js/28.db5cbded.chunk.js": "./static/js/28.db5cbded.chunk.js",
"./static/js/28.9abd7445.chunk.js.map": "./static/js/28.9abd7445.chunk.js.map", "./static/js/28.db5cbded.chunk.js.map": "./static/js/28.db5cbded.chunk.js.map",
"./static/js/29.b87a8704.chunk.js": "./static/js/29.b87a8704.chunk.js", "./static/js/29.95e5a009.chunk.js": "./static/js/29.95e5a009.chunk.js",
"./static/js/29.b87a8704.chunk.js.map": "./static/js/29.b87a8704.chunk.js.map", "./static/js/29.95e5a009.chunk.js.map": "./static/js/29.95e5a009.chunk.js.map",
"./static/js/3.4d50bfe1.chunk.js": "./static/js/3.4d50bfe1.chunk.js", "./static/js/3.a357162e.chunk.js": "./static/js/3.a357162e.chunk.js",
"./static/js/3.4d50bfe1.chunk.js.map": "./static/js/3.4d50bfe1.chunk.js.map", "./static/js/3.a357162e.chunk.js.map": "./static/js/3.a357162e.chunk.js.map",
"./static/js/30.679c47f0.chunk.js": "./static/js/30.679c47f0.chunk.js", "./static/js/30.3482c43d.chunk.js": "./static/js/30.3482c43d.chunk.js",
"./static/js/30.679c47f0.chunk.js.map": "./static/js/30.679c47f0.chunk.js.map", "./static/js/30.3482c43d.chunk.js.map": "./static/js/30.3482c43d.chunk.js.map",
"./static/js/31.89477f78.chunk.js": "./static/js/31.89477f78.chunk.js", "./static/js/31.3edb9173.chunk.js": "./static/js/31.3edb9173.chunk.js",
"./static/js/31.89477f78.chunk.js.map": "./static/js/31.89477f78.chunk.js.map", "./static/js/31.3edb9173.chunk.js.map": "./static/js/31.3edb9173.chunk.js.map",
"./static/js/32.cc08633e.chunk.js": "./static/js/32.cc08633e.chunk.js", "./static/js/32.23fc5ec4.chunk.js": "./static/js/32.23fc5ec4.chunk.js",
"./static/js/32.cc08633e.chunk.js.map": "./static/js/32.cc08633e.chunk.js.map", "./static/js/32.23fc5ec4.chunk.js.map": "./static/js/32.23fc5ec4.chunk.js.map",
"./static/js/4.a6c224c4.chunk.js": "./static/js/4.a6c224c4.chunk.js", "./static/js/4.a72da972.chunk.js": "./static/js/4.a72da972.chunk.js",
"./static/js/4.a6c224c4.chunk.js.map": "./static/js/4.a6c224c4.chunk.js.map", "./static/js/4.a72da972.chunk.js.map": "./static/js/4.a72da972.chunk.js.map",
"./static/js/5.d8c32925.chunk.js": "./static/js/5.d8c32925.chunk.js", "./static/js/5.1853fe23.chunk.js": "./static/js/5.1853fe23.chunk.js",
"./static/js/5.d8c32925.chunk.js.map": "./static/js/5.d8c32925.chunk.js.map", "./static/js/5.1853fe23.chunk.js.map": "./static/js/5.1853fe23.chunk.js.map",
"./static/js/6.00090554.chunk.js": "./static/js/6.00090554.chunk.js", "./static/js/6.070d1eab.chunk.js": "./static/js/6.070d1eab.chunk.js",
"./static/js/6.00090554.chunk.js.map": "./static/js/6.00090554.chunk.js.map", "./static/js/6.070d1eab.chunk.js.map": "./static/js/6.070d1eab.chunk.js.map",
"./static/js/7.e603caa1.chunk.js": "./static/js/7.e603caa1.chunk.js", "./static/js/7.1ad7321f.chunk.js": "./static/js/7.1ad7321f.chunk.js",
"./static/js/7.e603caa1.chunk.js.map": "./static/js/7.e603caa1.chunk.js.map", "./static/js/7.1ad7321f.chunk.js.map": "./static/js/7.1ad7321f.chunk.js.map",
"./static/js/8.ef2ec02b.chunk.js": "./static/js/8.ef2ec02b.chunk.js", "./static/js/8.d5642b7b.chunk.js": "./static/js/8.d5642b7b.chunk.js",
"./static/js/8.ef2ec02b.chunk.js.map": "./static/js/8.ef2ec02b.chunk.js.map", "./static/js/8.d5642b7b.chunk.js.map": "./static/js/8.d5642b7b.chunk.js.map",
"./static/js/9.b0761c20.chunk.js": "./static/js/9.b0761c20.chunk.js", "./static/js/9.c6b81c3d.chunk.js": "./static/js/9.c6b81c3d.chunk.js",
"./static/js/9.b0761c20.chunk.js.map": "./static/js/9.b0761c20.chunk.js.map", "./static/js/9.c6b81c3d.chunk.js.map": "./static/js/9.c6b81c3d.chunk.js.map",
"main.css": "./static/css/main.266ab375.css", "main.css": "./static/css/main.3274c43b.css",
"main.css.map": "./static/css/main.266ab375.css.map", "main.css.map": "./static/css/main.3274c43b.css.map",
"main.js": "./static/js/main.cc568f76.js", "main.js": "./static/js/main.9f01900e.js",
"main.js.map": "./static/js/main.cc568f76.js.map", "main.js.map": "./static/js/main.9f01900e.js.map",
"static/media/ERASBD.ttf": "static/media/ERASBD.d5213044.ttf", "static/media/ERASBD.ttf": "static/media/ERASBD.d5213044.ttf",
"static/media/background1.png": "static/media/background1.a34df396.png", "static/media/background1.png": "static/media/background1.a34df396.png",
"static/media/background2.png": "static/media/background2.22ee659e.png", "static/media/background2.png": "static/media/background2.22ee659e.png",

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><meta name="renderer" content="webkit"/><meta name="force-rendering" content="webkit"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><link rel="manifest" href="/manifest.json"><link rel="shortcut icon" href="/favicon.ico"><title>Educoder</title><script type="text/javascript">window.__isR=!0</script><link rel="stylesheet" href="/css/css_min_all.css"><link rel="stylesheet" href="http://testbdweb.educoder.net/assets/iconfont/iconfont.css"><link href="/react/build/./static/css/main.266ab375.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="md_div" style="display:none"></div><div id="root" class="page -layout-v -fit"></div><div id="picture_display" style="display:none"></div><script type="text/javascript" src="/js/js_min_all.js"></script><script type="text/javascript" src="http://testbdweb.educoder.net/assets/kindeditor/kindeditor.js"></script><script type="text/javascript" src="/js/create_kindeditor.js"></script><script type="text/javascript" src="http://testbdweb.educoder.net/javascripts/educoder/edu_application.js"></script><script type="text/javascript" src="/react/build/./static/js/main.cc568f76.js"></script></body></html> <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><meta name="renderer" content="webkit"/><meta name="force-rendering" content="webkit"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><link rel="manifest" href="/manifest.json"><link rel="shortcut icon" href="/favicon.ico"><title>Educoder</title><script type="text/javascript">window.__isR=!0</script><link rel="stylesheet" href="/css/css_min_all.css"><link rel="stylesheet" href="http://testbdweb.educoder.net/assets/iconfont/iconfont.css"><link href="/react/build/./static/css/main.3274c43b.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="md_div" style="display:none"></div><div id="root" class="page -layout-v -fit"></div><div id="picture_display" style="display:none"></div><script type="text/javascript" src="/js/js_min_all.js"></script><script type="text/javascript" src="http://testbdweb.educoder.net/assets/kindeditor/kindeditor.js"></script><script type="text/javascript" src="/js/create_kindeditor.js"></script><script type="text/javascript" src="http://testbdweb.educoder.net/javascripts/educoder/edu_application.js"></script><script type="text/javascript" src="/react/build/./static/js/main.9f01900e.js"></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,2 +1,2 @@
webpackJsonp([29],{1763:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=n(0),u=n.n(l),c=n(1),i=n.n(c),f=n(575),p=(n.n(f),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),s={bar:{type:f.UrlQueryParamTypes.string},foo:{type:f.UrlQueryParamTypes.number,queryParam:"fooInUrl"}},b=function(e){function t(){return r(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),p(t,[{key:"render",value:function(){var e=this.props,t=e.foo,n=e.bar,r=e.onChangeFoo,a=e.onChangeBar,o=e.onChangeUrlQueryParams;return u.a.createElement("div",null,u.a.createElement("table",null,u.a.createElement("tbody",null,u.a.createElement("tr",null,u.a.createElement("td",null,"foo"),u.a.createElement("td",null,t),u.a.createElement("td",null,"(url query param)"),u.a.createElement("td",null,u.a.createElement("button",{onClick:function(){return r(Math.round(1e3*Math.random()))}},"Change foo"))),u.a.createElement("tr",null,u.a.createElement("td",null,"bar"),u.a.createElement("td",null,n),u.a.createElement("td",null,"(url query param)"),u.a.createElement("td",null,u.a.createElement("button",{onClick:function(){return a(Math.random().toString(32).substring(8))}},"Change bar"))),u.a.createElement("tr",null,u.a.createElement("td",{colSpan:4},u.a.createElement("button",{onClick:function(){return o({foo:Math.round(1e3*Math.random()),bar:Math.random().toString(32).substring(8)})}},"Change both with one URL update"))))))}}]),t}(l.PureComponent);b.propTypes={bar:i.a.string,foo:i.a.number,onChangeFoo:i.a.func,onChangeBar:i.a.func,onChangeUrlQueryParams:i.a.func},b.defaultProps={foo:123,bar:"bar"},t.default=Object(f.addUrlProps)({urlPropsQueryConfig:s})(b)}}); webpackJsonp([29],{1787:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=n(0),u=n.n(l),c=n(1),i=n.n(c),f=n(594),p=(n.n(f),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),s={bar:{type:f.UrlQueryParamTypes.string},foo:{type:f.UrlQueryParamTypes.number,queryParam:"fooInUrl"}},b=function(e){function t(){return r(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),p(t,[{key:"render",value:function(){var e=this.props,t=e.foo,n=e.bar,r=e.onChangeFoo,a=e.onChangeBar,o=e.onChangeUrlQueryParams;return u.a.createElement("div",null,u.a.createElement("table",null,u.a.createElement("tbody",null,u.a.createElement("tr",null,u.a.createElement("td",null,"foo"),u.a.createElement("td",null,t),u.a.createElement("td",null,"(url query param)"),u.a.createElement("td",null,u.a.createElement("button",{onClick:function(){return r(Math.round(1e3*Math.random()))}},"Change foo"))),u.a.createElement("tr",null,u.a.createElement("td",null,"bar"),u.a.createElement("td",null,n),u.a.createElement("td",null,"(url query param)"),u.a.createElement("td",null,u.a.createElement("button",{onClick:function(){return a(Math.random().toString(32).substring(8))}},"Change bar"))),u.a.createElement("tr",null,u.a.createElement("td",{colSpan:4},u.a.createElement("button",{onClick:function(){return o({foo:Math.round(1e3*Math.random()),bar:Math.random().toString(32).substring(8)})}},"Change both with one URL update"))))))}}]),t}(l.PureComponent);b.propTypes={bar:i.a.string,foo:i.a.number,onChangeFoo:i.a.func,onChangeBar:i.a.func,onChangeUrlQueryParams:i.a.func},b.defaultProps={foo:123,bar:"bar"},t.default=Object(f.addUrlProps)({urlPropsQueryConfig:s})(b)}});
//# sourceMappingURL=29.b87a8704.chunk.js.map //# sourceMappingURL=29.95e5a009.chunk.js.map

@ -1,2 +1,2 @@
webpackJsonp([30],{1764:function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n.n(i),u=n(576),l=n(314),s=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),f=function(e){function t(){var e,n,c,i;o(this,t);for(var a=arguments.length,l=Array(a),s=0;s<a;s++)l[s]=arguments[s];return n=c=r(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),c.fetchPosts=function(){(0,c.props.dispatch)(Object(u.c)())},i=n,r(c,i)}return c(t,e),s(t,[{key:"componentDidMount",value:function(){console.log("TestRealWorldRedux "),this.fetchPosts()}},{key:"render",value:function(){var e=this.props,t=e.memo_list,n=e.isFetching;return a.a.createElement("div",null,"TestRealWorldRedux",t.length,a.a.createElement("p",null,n?"isFetching":"fetched"),a.a.createElement("button",{onClick:this.fetchPosts},"fetch again"))}}]),t}(a.a.Component),p=function(e){var t=(e.counter,e.testRealWorld);return{memo_list:t.memo_list,isFetching:t.isFetching}};t.default=Object(l.connect)(p)(f)}}); webpackJsonp([30],{1788:function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n.n(i),u=n(595),l=n(322),s=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),f=function(e){function t(){var e,n,c,i;o(this,t);for(var a=arguments.length,l=Array(a),s=0;s<a;s++)l[s]=arguments[s];return n=c=r(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),c.fetchPosts=function(){(0,c.props.dispatch)(Object(u.c)())},i=n,r(c,i)}return c(t,e),s(t,[{key:"componentDidMount",value:function(){console.log("TestRealWorldRedux "),this.fetchPosts()}},{key:"render",value:function(){var e=this.props,t=e.memo_list,n=e.isFetching;return a.a.createElement("div",null,"TestRealWorldRedux",t.length,a.a.createElement("p",null,n?"isFetching":"fetched"),a.a.createElement("button",{onClick:this.fetchPosts},"fetch again"))}}]),t}(a.a.Component),p=function(e){var t=(e.counter,e.testRealWorld);return{memo_list:t.memo_list,isFetching:t.isFetching}};t.default=Object(l.connect)(p)(f)}});
//# sourceMappingURL=30.679c47f0.chunk.js.map //# sourceMappingURL=30.3482c43d.chunk.js.map

@ -1,2 +1,2 @@
webpackJsonp([31],{1749:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),i=n.n(c),u=n(5),f=(n.n(u),n(32)),l=(n.n(f),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),s=function(e){function t(e){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return a(t,e),l(t,[{key:"render",value:function(){var e=this.props;e.match,e.history;return i.a.createElement("div",{className:"educontent mt30 clearfix"},i.a.createElement("div",{className:"ml15 fl font-16 mt5"},"\u4e13\u4e1a\u5217\u8868"),"\u3000")}}]),t}(c.Component);t.default=s}}); webpackJsonp([31],{1773:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),i=n.n(c),u=n(2),f=(n.n(u),n(35)),l=(n.n(f),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()),s=function(e){function t(e){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return a(t,e),l(t,[{key:"render",value:function(){var e=this.props;e.match,e.history;return i.a.createElement("div",{className:"educontent mt30 clearfix"},i.a.createElement("div",{className:"ml15 fl font-16 mt5"},"\u4e13\u4e1a\u5217\u8868"),"\u3000")}}]),t}(c.Component);t.default=s}});
//# sourceMappingURL=31.89477f78.chunk.js.map //# sourceMappingURL=31.3edb9173.chunk.js.map

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save