├── .gitattributes ├── .gitignore ├── .idea ├── misc.xml ├── modules.xml ├── open-MAT.iml ├── vcs.xml └── workspace.xml ├── MAT ├── .DS_Store ├── __init__.py ├── celery.py ├── redis.conf ├── settings.py ├── urls.py └── wsgi.py ├── README.md ├── apps ├── .DS_Store ├── __init__.py └── appcrawler │ ├── RSApem │ ├── image.txt │ ├── private.pem │ ├── public.pem │ └── system.yml │ ├── UIAutomationView.py │ ├── UIapp │ └── .DS_Store │ ├── __init__.py │ ├── admin.py │ ├── apps.py │ ├── crawlerServer │ └── .DS_Store │ ├── deviceYaml.yml │ ├── migrations │ └── __init__.py │ ├── minicap │ ├── bin │ │ ├── arm64-v8a │ │ │ ├── minicap │ │ │ └── minicap-nopie │ │ ├── armeabi-v7a │ │ │ ├── minicap │ │ │ └── minicap-nopie │ │ ├── x86 │ │ │ ├── minicap │ │ │ └── minicap-nopie │ │ └── x86_64 │ │ │ ├── minicap │ │ │ └── minicap-nopie │ └── example │ │ ├── .gitignore │ │ ├── README.md │ │ ├── app.js │ │ ├── package.json │ │ └── public │ │ └── index.html │ ├── minitouch │ ├── arm64-v8a │ │ ├── minitouch │ │ └── minitouch-nopie │ ├── armeabi-v7a │ │ ├── minitouch │ │ └── minitouch-nopie │ ├── armeabi │ │ ├── minitouch │ │ └── minitouch-nopie │ ├── minitouch.js │ ├── mips │ │ ├── minitouch │ │ └── minitouch-nopie │ ├── mips64 │ │ ├── minitouch │ │ └── minitouch-nopie │ ├── test.html │ ├── x86 │ │ ├── minitouch │ │ └── minitouch-nopie │ └── x86_64 │ │ ├── minitouch │ │ └── minitouch-nopie │ ├── models.py │ ├── startappium.py │ ├── static │ └── appcrawler │ │ ├── css │ │ ├── admin.css │ │ ├── amazeui.min.css │ │ ├── app.css │ │ ├── bootstrap-multiselect.css │ │ ├── bootstrap-responsive.css │ │ ├── bootstrap-responsive.min.css │ │ ├── bootstrap-theme.css │ │ ├── bootstrap-theme.css.map │ │ ├── bootstrap-theme.min.css │ │ ├── bootstrap-theme.min.css.map │ │ ├── bootstrap.css │ │ ├── bootstrap.css.map │ │ ├── bootstrap.min.css │ │ ├── bootstrap.min.css.map │ │ ├── common.css │ │ ├── dataTables.bootstrap.min.css │ │ ├── demo.css │ │ ├── main.css │ │ ├── mystyle.css │ │ └── style.css │ │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.svg │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.woff2 │ │ ├── i │ │ ├── app-icon72x72@2x.png │ │ ├── examples │ │ │ ├── admin-chrome.png │ │ │ ├── admin-firefox.png │ │ │ ├── admin-ie.png │ │ │ ├── admin-opera.png │ │ │ ├── admin-safari.png │ │ │ ├── adminPage.png │ │ │ ├── blogPage.png │ │ │ ├── landing.png │ │ │ ├── landingPage.png │ │ │ ├── loginPage.png │ │ │ └── sidebarPage.png │ │ ├── favicon.png │ │ └── startup-640x1096.png │ │ ├── img │ │ ├── lbbg.png │ │ ├── logo-dele.ico │ │ ├── logo.ico │ │ └── syncfusion-icons-white.png │ │ ├── jquery-ui-1.12.1 │ │ ├── AUTHORS.txt │ │ ├── LICENSE.txt │ │ ├── external │ │ │ └── jquery │ │ │ │ └── jquery.js │ │ ├── images │ │ │ ├── ui-icons_444444_256x240.png │ │ │ ├── ui-icons_555555_256x240.png │ │ │ ├── ui-icons_777620_256x240.png │ │ │ ├── ui-icons_777777_256x240.png │ │ │ ├── ui-icons_cc0000_256x240.png │ │ │ └── ui-icons_ffffff_256x240.png │ │ ├── index.html │ │ ├── jquery-ui.css │ │ ├── jquery-ui.js │ │ ├── jquery-ui.min.css │ │ ├── jquery-ui.min.js │ │ ├── jquery-ui.structure.css │ │ ├── jquery-ui.structure.min.css │ │ ├── jquery-ui.theme.css │ │ ├── jquery-ui.theme.min.css │ │ └── package.json │ │ ├── js │ │ ├── amazeui.min.js │ │ ├── app.js │ │ ├── app_c.js │ │ ├── bootstrap-multiselect.js │ │ ├── bootstrap.js │ │ ├── bootstrap.min.js │ │ ├── echarts.common.min.js │ │ ├── echarts.min.js │ │ ├── index.js │ │ ├── iscroll.js │ │ ├── jquery-2.1.4.min.js │ │ ├── jquery-3.2.1.min.js │ │ ├── jquery.min.js │ │ ├── login.js │ │ └── npm.js │ │ └── scss │ │ └── style.scss │ ├── tasks.py │ ├── templates │ ├── app_c.html │ ├── local_base.html │ ├── myframe.html │ ├── post_result.html │ └── upload.html │ ├── tests.py │ ├── urls.py │ └── views.py ├── django_uwsgi.xml ├── django_wsgi.py ├── make.sh ├── manage.py ├── readmeHELP ├── static └── .DS_Store └── uwsgi.pid /.gitattributes: -------------------------------------------------------------------------------- 1 | *.js linguist-language=python 2 | *.css linguist-language=python 3 | *.html linguist-language=python 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | build/ 12 | develop-eggs/ 13 | dist/ 14 | downloads/ 15 | eggs/ 16 | .eggs/ 17 | lib/ 18 | lib64/ 19 | parts/ 20 | sdist/ 21 | var/ 22 | wheels/ 23 | *.egg-info/ 24 | .installed.cfg 25 | *.egg 26 | MANIFEST 27 | 28 | # PyInstaller 29 | # Usually these files are written by a python script from a template 30 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 31 | *.manifest 32 | *.spec 33 | 34 | # Installer logs 35 | pip-log.txt 36 | pip-delete-this-directory.txt 37 | 38 | # Unit test / coverage reports 39 | htmlcov/ 40 | .tox/ 41 | .coverage 42 | .coverage.* 43 | .cache 44 | nosetests.xml 45 | coverage.xml 46 | *.cover 47 | .hypothesis/ 48 | .pytest_cache/ 49 | 50 | # Translations 51 | *.mo 52 | *.pot 53 | 54 | # Django stuff: 55 | *.log 56 | local_settings.py 57 | db.sqlite3 58 | 59 | # Flask stuff: 60 | instance/ 61 | .webassets-cache 62 | 63 | # Scrapy stuff: 64 | .scrapy 65 | 66 | # Sphinx documentation 67 | docs/_build/ 68 | 69 | # PyBuilder 70 | target/ 71 | 72 | # Jupyter Notebook 73 | .ipynb_checkpoints 74 | 75 | # pyenv 76 | .python-version 77 | 78 | # celery beat schedule file 79 | celerybeat-schedule 80 | 81 | # SageMath parsed files 82 | *.sage.py 83 | 84 | # Environments 85 | .env 86 | .venv 87 | env/ 88 | venv/ 89 | ENV/ 90 | env.bak/ 91 | venv.bak/ 92 | 93 | # Spyder project settings 94 | .spyderproject 95 | .spyproject 96 | 97 | # Rope project settings 98 | .ropeproject 99 | 100 | # mkdocs documentation 101 | /site 102 | 103 | # mypy 104 | .mypy_cache/ 105 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/open-MAT.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 27 | 28 | 29 | 31 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /MAT/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/MAT/.DS_Store -------------------------------------------------------------------------------- /MAT/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import, unicode_literals 2 | 3 | from .celery import app as celery_app 4 | 5 | __all__ = ['celery_app'] -------------------------------------------------------------------------------- /MAT/celery.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | import os 4 | import django 5 | 6 | from celery import Celery 7 | from django.conf import settings 8 | 9 | os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'MAT.settings') 10 | django.setup() 11 | 12 | app = Celery('MAT') 13 | 14 | # app.config_from_object('django.conf:settings', namespace='CELERY') 15 | app.config_from_object('django.conf:settings') 16 | app.autodiscover_tasks(lambda: settings.INSTALLED_APPS) 17 | 18 | 19 | @app.task(bind=True) 20 | def debug_task(self): 21 | print('Request: {0!r}'.format(self.request)) 22 | 23 | -------------------------------------------------------------------------------- /MAT/redis.conf: -------------------------------------------------------------------------------- 1 | #redis.conf 2 | # Redis configuration file example. 3 | # ./redis-server /path/to/redis.conf 4 | 5 | ################################## INCLUDES ################################### 6 | #这在你有标准配置模板但是每个redis服务器又需要个性设置的时候很有用。 7 | # include /path/to/local.conf 8 | # include /path/to/other.conf 9 | 10 | ################################ GENERAL ##################################### 11 | 12 | #是否在后台执行,yes:后台运行;no:不是后台运行(老版本默认) 13 | daemonize yes 14 | 15 | #3.2里的参数,是否开启保护模式,默认开启。要是配置里没有指定bind和密码。开启该参数后,redis只会本地进行访问,拒绝外部访问。要是开启了密码 和bind,可以开启。否 则最好关闭,设置为no。 16 | protected-mode no 17 | 18 | #redis的进程文件 19 | #pidfile /var/run/redis/redis-server.pid 20 | 21 | #redis监听的端口号。 22 | port 6379 23 | 24 | #此参数确定了TCP连接中已完成队列(完成三次握手之后)的长度, 当然此值必须不大于Linux系统定义的/proc/sys/net/core/somaxconn值,默认是511,而Linux的默认参数值是128。当系统并发量大并且客户端速度缓慢的时候,可以将这二个参数一起参考设定。该内核参数默认值一般是128,对于负载很大的服务程序来说大大的不够。一般会将它修改为2048或者更大。在/etc/sysctl.conf中添加:net.core.somaxconn = 2048,然后在终端中执行sysctl -p。 25 | tcp-backlog 511 26 | 27 | #指定 redis 只接收来自于该 IP 地址的请求,如果不进行设置,那么将处理所有请求 28 | #bind 127.0.0.1 29 | 30 | #配置unix socket来让redis支持监听本地连接。 31 | # unixsocket /var/run/redis/redis.sock 32 | #配置unix socket使用文件的权限 33 | # unixsocketperm 700 34 | 35 | # 此参数为设置客户端空闲超过timeout,服务端会断开连接,为0则服务端不会主动断开连接,不能小于0。 36 | timeout 0 37 | 38 | #tcp keepalive参数。如果设置不为0,就使用配置tcp的SO_KEEPALIVE值,使用keepalive有两个好处:检测挂掉的对端。降低中间设备出问题而导致网络看似连接却已经与对端端口的问题。在Linux内核中,设置了keepalive,redis会定时给对端发送ack。检测到对端关闭需要两倍的设置值。 39 | tcp-keepalive 0 40 | 41 | #指定了服务端日志的级别。级别包括:debug(很多信息,方便开发、测试),verbose(许多有用的信息,但是没有debug级别信息多),notice(适当的日志级别,适合生产环境),warn(只有非常重要的信息) 42 | loglevel notice 43 | 44 | #指定了记录日志的文件。空字符串的话,日志会打印到标准输出设备。后台运行的redis标准输出是/dev/null。 45 | logfile /Users/yyfaxx/MAT/MAT/redis.log 46 | 47 | #是否打开记录syslog功能 48 | # syslog-enabled no 49 | 50 | #syslog的标识符。 51 | # syslog-ident redis 52 | 53 | #日志的来源、设备 54 | # syslog-facility local0 55 | 56 | #数据库的数量,默认使用的数据库是DB 0。可以通过”SELECT “命令选择一个db 57 | databases 16 58 | 59 | ################################ SNAPSHOTTING ################################ 60 | # 快照配置,持久化配置 61 | # 注释掉“save”这一行配置项就可以让保存数据库功能失效 62 | # 设置sedis进行数据库镜像的频率。 63 | # 900秒(15分钟)内至少1个key值改变(则进行数据库保存--持久化) 64 | # 300秒(5分钟)内至少10个key值改变(则进行数据库保存--持久化) 65 | # 60秒(1分钟)内至少10000个key值改变(则进行数据库保存--持久化) 66 | # save 900 1 67 | # save 300 10 68 | # save 60 10000 69 | save "" 70 | 71 | #当RDB持久化出现错误后,是否依然进行继续进行工作,yes:不能进行工作,no:可以继续进行工作,可以通过info中的rdb_last_bgsave_status了解RDB持久化是否有错误 72 | # stop-writes-on-bgsave-error yes 73 | 74 | #使用压缩rdb文件,rdb文件压缩使用LZF压缩算法,yes:压缩,但是需要一些cpu的消耗。no:不压缩,需要更多的磁盘空间 75 | # rdbcompression yes 76 | 77 | #是否校验rdb文件。从rdb格式的第五个版本开始,在rdb文件的末尾会带上CRC64的校验和。这跟有利于文件的容错性,但是在保存rdb文件的时候,会有大概10%的性能损耗,所以如果你追求高性能,可以关闭该配置。 78 | # rdbchecksum yes 79 | 80 | #rdb文件的名称 81 | # dbfilename dump.rdb 82 | 83 | #数据目录,数据库的写入会在这个目录。rdb、aof文件也会写在这个目录 84 | # dir /var/lib/redis 85 | 86 | ################################# REPLICATION ################################# 87 | #复制选项,slave复制对应的master。 88 | # slaveof 89 | 90 | #如果master设置了requirepass,那么slave要连上master,需要有master的密码才行。masterauth就是用来配置master的密码,这样可以在连上master后进行认证。 91 | # masterauth 92 | 93 | #当从库同主机失去连接或者复制正在进行,从机库有两种运行方式:1) 如果slave-serve-stale-data设置为yes(默认设置),从库会继续响应客户端的请求。2) 如果slave-serve-stale-data设置为no,除去INFO和SLAVOF命令之外的任何请求都会返回一个错误”SYNC with master in progress”。 94 | slave-serve-stale-data yes 95 | 96 | #作为从服务器,默认情况下是只读的(yes),可以修改成NO,用于写(不建议)。 97 | slave-read-only yes 98 | 99 | #是否使用socket方式复制数据。目前redis复制提供两种方式,disk和socket。如果新的slave连上来或者重连的slave无法部分同步,就会执行全量同步,master会生成rdb文件。有2种方式:disk方式是master创建一个新的进程把rdb文件保存到磁盘,再把磁盘上的rdb文件传递给slave。socket是master创建一个新的进程,直接把rdb文件以socket的方式发给slave。disk方式的时候,当一个rdb保存的过程中,多个slave都能共享这个rdb文件。socket的方式就的一个个slave顺序复制。在磁盘速度缓慢,网速快的情况下推荐用socket方式。 100 | repl-diskless-sync no 101 | 102 | #diskless复制的延迟时间,防止设置为0。一旦复制开始,节点不会再接收新slave的复制请求直到下一个rdb传输。所以最好等待一段时间,等更多的slave连上来。 103 | repl-diskless-sync-delay 5 104 | 105 | #slave根据指定的时间间隔向服务器发送ping请求。时间间隔可以通过 repl_ping_slave_period 来设置,默认10秒。 106 | # repl-ping-slave-period 10 107 | 108 | #复制连接超时时间。master和slave都有超时时间的设置。master检测到slave上次发送的时间超过repl-timeout,即认为slave离线,清除该slave信息。slave检测到上次和master交互的时间超过repl-timeout,则认为master离线。需要注意的是repl-timeout需要设置一个比repl-ping-slave-period更大的值,不然会经常检测到超时。 109 | # repl-timeout 60 110 | 111 | #是否禁止复制tcp链接的tcp nodelay参数,可传递yes或者no。默认是no,即使用tcp nodelay。如果master设置了yes来禁止tcp nodelay设置,在把数据复制给slave的时候,会减少包的数量和更小的网络带宽。但是这也可能带来数据的延迟。默认我们推荐更小的延迟,但是在数据量传输很大的场景下,建议选择yes。 112 | repl-disable-tcp-nodelay no 113 | 114 | #复制缓冲区大小,这是一个环形复制缓冲区,用来保存最新复制的命令。这样在slave离线的时候,不需要完全复制master的数据,如果可以执行部分同步,只需要把缓冲区的部分数据复制给slave,就能恢复正常复制状态。缓冲区的大小越大,slave离线的时间可以更长,复制缓冲区只有在有slave连接的时候才分配内存。没有slave的一段时间,内存会被释放出来,默认1m。 115 | # repl-backlog-size 5mb 116 | 117 | #master没有slave一段时间会释放复制缓冲区的内存,repl-backlog-ttl用来设置该时间长度。单位为秒。 118 | # repl-backlog-ttl 3600 119 | 120 | #当master不可用,Sentinel会根据slave的优先级选举一个master。最低的优先级的slave,当选master。而配置成0,永远不会被选举。 121 | slave-priority 100 122 | 123 | #redis提供了可以让master停止写入的方式,如果配置了min-slaves-to-write,健康的slave的个数小于N,mater就禁止写入。master最少得有多少个健康的slave存活才能执行写命令。这个配置虽然不能保证N个slave都一定能接收到master的写操作,但是能避免没有足够健康的slave的时候,master不能写入来避免数据丢失。设置为0是关闭该功能。 124 | # min-slaves-to-write 3 125 | 126 | #延迟小于min-slaves-max-lag秒的slave才认为是健康的slave。 127 | # min-slaves-max-lag 10 128 | 129 | # 设置1或另一个设置为0禁用这个特性。 130 | # Setting one or the other to 0 disables the feature. 131 | # By default min-slaves-to-write is set to 0 (feature disabled) and 132 | # min-slaves-max-lag is set to 10. 133 | 134 | ################################## SECURITY ################################### 135 | #requirepass配置可以让用户使用AUTH命令来认证密码,才能使用其他命令。这让redis可以使用在不受信任的网络中。为了保持向后的兼容性,可以注释该命令,因为大部分用户也不需要认证。使用requirepass的时候需要注意,因为redis太快了,每秒可以认证15w次密码,简单的密码很容易被攻破,所以最好使用一个更复杂的密码。 136 | # requirepass foobared 137 | 138 | #把危险的命令给修改成其他名称。比如CONFIG命令可以重命名为一个很难被猜到的命令,这样用户不能使用,而内部工具还能接着使用。 139 | # rename-command CONFIG b840fc02d524045429941cc15f59e41cb7be6c52 140 | 141 | #设置成一个空的值,可以禁止一个命令 142 | # rename-command CONFIG "" 143 | ################################### LIMITS #################################### 144 | 145 | # 设置能连上redis的最大客户端连接数量。默认是10000个客户端连接。由于redis不区分连接是客户端连接还是内部打开文件或者和slave连接等,所以maxclients最小建议设置到32。如果超过了maxclients,redis会给新的连接发送’max number of clients reached’,并关闭连接。 146 | # maxclients 10000 147 | 148 | #redis配置的最大内存容量。当内存满了,需要配合maxmemory-policy策略进行处理。注意slave的输出缓冲区是不计算在maxmemory内的。所以为了防止主机内存使用完,建议设置的maxmemory需要更小一些。 149 | # maxmemory 150 | 151 | #内存容量超过maxmemory后的处理策略。 152 | #volatile-lru:利用LRU算法移除设置过过期时间的key。 153 | #volatile-random:随机移除设置过过期时间的key。 154 | #volatile-ttl:移除即将过期的key,根据最近过期时间来删除(辅以TTL) 155 | #allkeys-lru:利用LRU算法移除任何key。 156 | #allkeys-random:随机移除任何key。 157 | #noeviction:不移除任何key,只是返回一个写错误。 158 | #上面的这些驱逐策略,如果redis没有合适的key驱逐,对于写命令,还是会返回错误。redis将不再接收写请求,只接收get请求。写命令包括:set setnx setex append incr decr rpush lpush rpushx lpushx linsert lset rpoplpush sadd sinter sinterstore sunion sunionstore sdiff sdiffstore zadd zincrby zunionstore zinterstore hset hsetnx hmset hincrby incrby decrby getset mset msetnx exec sort。 159 | # maxmemory-policy noeviction 160 | 161 | #lru检测的样本数。使用lru或者ttl淘汰算法,从需要淘汰的列表中随机选择sample个key,选出闲置时间最长的key移除。 162 | # maxmemory-samples 5 163 | 164 | ############################## APPEND ONLY MODE ############################### 165 | #默认redis使用的是rdb方式持久化,这种方式在许多应用中已经足够用了。但是redis如果中途宕机,会导致可能有几分钟的数据丢失,根据save来策略进行持久化,Append Only File是另一种持久化方式,可以提供更好的持久化特性。Redis会把每次写入的数据在接收后都写入 appendonly.aof 文件,每次启动时Redis都会先把这个文件的数据读入内存里,先忽略RDB文件。 166 | appendonly no 167 | 168 | #aof文件名 169 | appendfilename "appendonly.aof" 170 | 171 | #aof持久化策略的配置 172 | #no表示不执行fsync,由操作系统保证数据同步到磁盘,速度最快。 173 | #always表示每次写入都执行fsync,以保证数据同步到磁盘。 174 | #everysec表示每秒执行一次fsync,可能会导致丢失这1s数据。 175 | # appendfsync everysec 176 | appendfsync no 177 | 178 | # 在aof重写或者写入rdb文件的时候,会执行大量IO,此时对于everysec和always的aof模式来说,执行fsync会造成阻塞过长时间,no-appendfsync-on-rewrite字段设置为默认设置为no。如果对延迟要求很高的应用,这个字段可以设置为yes,否则还是设置为no,这样对持久化特性来说这是更安全的选择。设置为yes表示rewrite期间对新写操作不fsync,暂时存在内存中,等rewrite完成后再写入,默认为no,建议yes。Linux的默认fsync策略是30秒。可能丢失30秒数据。 179 | no-appendfsync-on-rewrite no 180 | 181 | #aof自动重写配置。当目前aof文件大小超过上一次重写的aof文件大小的百分之多少进行重写,即当aof文件增长到一定大小的时候Redis能够调用bgrewriteaof对日志文件进行重写。当前AOF文件大小是上次日志重写得到AOF文件大小的二倍(设置为100)时,自动启动新的日志重写过程。 182 | auto-aof-rewrite-percentage 100 183 | #设置允许重写的最小aof文件大小,避免了达到约定百分比但尺寸仍然很小的情况还要重写 184 | auto-aof-rewrite-min-size 64mb 185 | 186 | #aof文件可能在尾部是不完整的,当redis启动的时候,aof文件的数据被载入内存。重启可能发生在redis所在的主机操作系统宕机后,尤其在ext4文件系统没有加上data=ordered选项(redis宕机或者异常终止不会造成尾部不完整现象。)出现这种现象,可以选择让redis退出,或者导入尽可能多的数据。如果选择的是yes,当截断的aof文件被导入的时候,会自动发布一个log给客户端然后load。如果是no,用户必须手动redis-check-aof修复AOF文件才可以。 187 | aof-load-truncated yes 188 | 189 | ################################ LUA SCRIPTING ############################### 190 | # 如果达到最大时间限制(毫秒),redis会记个log,然后返回error。当一个脚本超过了最大时限。只有SCRIPT KILL和SHUTDOWN NOSAVE可以用。第一个可以杀没有调write命令的东西。要是已经调用了write,只能用第二个命令杀。 191 | lua-time-limit 5000 192 | 193 | ################################ REDIS CLUSTER ############################### 194 | #集群开关,默认是不开启集群模式。 195 | # cluster-enabled yes 196 | 197 | #集群配置文件的名称,每个节点都有一个集群相关的配置文件,持久化保存集群的信息。这个文件并不需要手动配置,这个配置文件有Redis生成并更新,每个Redis集群节点需要一个单独的配置文件,请确保与实例运行的系统中配置文件名称不冲突 198 | # cluster-config-file nodes-6379.conf 199 | 200 | #节点互连超时的阀值。集群节点超时毫秒数 201 | # cluster-node-timeout 15000 202 | 203 | #在进行故障转移的时候,全部slave都会请求申请为master,但是有些slave可能与master断开连接一段时间了,导致数据过于陈旧,这样的slave不应该被提升为master。该参数就是用来判断slave节点与master断线的时间是否过长。判断方法是: 204 | #比较slave断开连接的时间和(node-timeout * slave-validity-factor) + repl-ping-slave-period 205 | #如果节点超时时间为三十秒, 并且slave-validity-factor为10,假设默认的repl-ping-slave-period是10秒,即如果超过310秒slave将不会尝试进行故障转移 206 | # cluster-slave-validity-factor 10 207 | 208 | #master的slave数量大于该值,slave才能迁移到其他孤立master上,如这个参数若被设为2,那么只有当一个主节点拥有2 个可工作的从节点时,它的一个从节点会尝试迁移。 209 | # cluster-migration-barrier 1 210 | 211 | #默认情况下,集群全部的slot有节点负责,集群状态才为ok,才能提供服务。设置为no,可以在slot没有全部分配的时候提供服务。不建议打开该配置,这样会造成分区的时候,小分区的master一直在接受写请求,而造成很长时间数据不一致。 212 | # cluster-require-full-coverage yes 213 | 214 | ################################## SLOW LOG ################################### 215 | ###slog log是用来记录redis运行中执行比较慢的命令耗时。当命令的执行超过了指定时间,就记录在slow log中,slog log保存在内存中,所以没有IO操作。 216 | #执行时间比slowlog-log-slower-than大的请求记录到slowlog里面,单位是微秒,所以1000000就是1秒。注意,负数时间会禁用慢查询日志,而0则会强制记录所有命令。 217 | slowlog-log-slower-than 1000000 218 | 219 | #慢查询日志长度。当一个新的命令被写进日志的时候,最老的那个记录会被删掉。这个长度没有限制。只要有足够的内存就行。你可以通过 SLOWLOG RESET 来释放内存。 220 | slowlog-max-len 128 221 | 222 | ################################ LATENCY MONITOR ############################## 223 | #延迟监控功能是用来监控redis中执行比较缓慢的一些操作,用LATENCY打印redis实例在跑命令时的耗时图表。只记录大于等于下边设置的值的操作。0的话,就是关闭监视。默认延迟监控功能是关闭的,如果你需要打开,也可以通过CONFIG SET命令动态设置。 224 | latency-monitor-threshold 0 225 | 226 | ############################# EVENT NOTIFICATION ############################## 227 | #键空间通知使得客户端可以通过订阅频道或模式,来接收那些以某种方式改动了 Redis 数据集的事件。因为开启键空间通知功能需要消耗一些 CPU ,所以在默认配置下,该功能处于关闭状态。 228 | #notify-keyspace-events 的参数可以是以下字符的任意组合,它指定了服务器该发送哪些类型的通知: 229 | ##K 键空间通知,所有通知以 __keyspace@__ 为前缀 230 | ##E 键事件通知,所有通知以 __keyevent@__ 为前缀 231 | ##g DEL 、 EXPIRE 、 RENAME 等类型无关的通用命令的通知 232 | ##$ 字符串命令的通知 233 | ##l 列表命令的通知 234 | ##s 集合命令的通知 235 | ##h 哈希命令的通知 236 | ##z 有序集合命令的通知 237 | ##x 过期事件:每当有过期键被删除时发送 238 | ##e 驱逐(evict)事件:每当有键因为 maxmemory 政策而被删除时发送 239 | ##A 参数 g$lshzxe 的别名 240 | #输入的参数中至少要有一个 K 或者 E,否则的话,不管其余的参数是什么,都不会有任何 通知被分发。详细使用可以参考http://redis.io/topics/notifications 241 | 242 | notify-keyspace-events "" 243 | 244 | ############################### ADVANCED CONFIG ############################### 245 | #数据量小于等于hash-max-ziplist-entries的用ziplist,大于hash-max-ziplist-entries用hash 246 | hash-max-ziplist-entries 512 247 | #value大小小于等于hash-max-ziplist-value的用ziplist,大于hash-max-ziplist-value用hash。 248 | hash-max-ziplist-value 64 249 | 250 | #数据量小于等于list-max-ziplist-entries用ziplist,大于list-max-ziplist-entries用list。 251 | list-max-ziplist-entries 512 252 | #value大小小于等于list-max-ziplist-value的用ziplist,大于list-max-ziplist-value用list。 253 | list-max-ziplist-value 64 254 | 255 | #数据量小于等于set-max-intset-entries用iniset,大于set-max-intset-entries用set。 256 | set-max-intset-entries 512 257 | 258 | #数据量小于等于zset-max-ziplist-entries用ziplist,大于zset-max-ziplist-entries用zset。 259 | zset-max-ziplist-entries 128 260 | #value大小小于等于zset-max-ziplist-value用ziplist,大于zset-max-ziplist-value用zset。 261 | zset-max-ziplist-value 64 262 | 263 | #value大小小于等于hll-sparse-max-bytes使用稀疏数据结构(sparse),大于hll-sparse-max-bytes使用稠密的数据结构(dense)。一个比16000大的value是几乎没用的,建议的value大概为3000。如果对CPU要求不高,对空间要求较高的,建议设置到10000左右。 264 | hll-sparse-max-bytes 3000 265 | 266 | #Redis将在每100毫秒时使用1毫秒的CPU时间来对redis的hash表进行重新hash,可以降低内存的使用。当你的使用场景中,有非常严格的实时性需要,不能够接受Redis时不时的对请求有2毫秒的延迟的话,把这项配置为no。如果没有这么严格的实时性要求,可以设置为yes,以便能够尽可能快的释放内存。 267 | activerehashing yes 268 | 269 | ##对客户端输出缓冲进行限制可以强迫那些不从服务器读取数据的客户端断开连接,用来强制关闭传输缓慢的客户端。 270 | #对于normal client,第一个0表示取消hard limit,第二个0和第三个0表示取消soft limit,normal client默认取消限制,因为如果没有寻问,他们是不会接收数据的。 271 | client-output-buffer-limit normal 0 0 0 272 | #对于slave client和MONITER client,如果client-output-buffer一旦超过256mb,又或者超过64mb持续60秒,那么服务器就会立即断开客户端连接。 273 | client-output-buffer-limit slave 256mb 64mb 60 274 | #对于pubsub client,如果client-output-buffer一旦超过32mb,又或者超过8mb持续60秒,那么服务器就会立即断开客户端连接。 275 | client-output-buffer-limit pubsub 32mb 8mb 60 276 | 277 | #redis执行任务的频率为1s除以hz。 278 | hz 10 279 | 280 | #在aof重写的时候,如果打开了aof-rewrite-incremental-fsync开关,系统会每32MB执行一次fsync。这对于把文件写入磁盘是有帮助的,可以避免过大的延迟峰值。 281 | aof-rewrite-incremental-fsync yes 282 | -------------------------------------------------------------------------------- /MAT/settings.py: -------------------------------------------------------------------------------- 1 | # coding:utf-8 2 | """ 3 | Django settings for MAT project. 4 | 5 | Generated by 'django-admin startproject' using Django 1.11.7. 6 | 7 | For more information on this file, see 8 | https://docs.djangoproject.com/en/1.11/topics/settings/ 9 | 10 | For the full list of settings and their values, see 11 | https://docs.djangoproject.com/en/1.11/ref/settings/ 12 | """ 13 | 14 | import os 15 | 16 | # 配置Broker 17 | 18 | BROKER_URL = 'redis://127.0.0.1:6379/0' 19 | BROKER_TRANSPORT = 'redis' 20 | 21 | # celery结果返回,可用于跟踪结果 22 | CELERY_RESULT_BACKEND = 'redis://localhost:6379/0' 23 | 24 | # celery内容等消息的格式设置 25 | CELERY_ACCEPT_CONTENT = ['application/json', ] 26 | CELERY_TASK_SERIALIZER = 'json' 27 | CELERY_RESULT_SERIALIZER = 'json' 28 | 29 | # Build paths inside the project like this: os.path.join(BASE_DIR, ...) 30 | BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 31 | 32 | # Quick-start development settings - unsuitable for production 33 | # See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/ 34 | 35 | # SECURITY WARNING: keep the secret key used in production secret! 36 | SECRET_KEY = 'ts9#of3i%cv5u*!f6vb_g$jj_mf47pk#8fhlagrslr7ny=6388' 37 | 38 | # SECURITY WARNING: don't run with debug turned on in production! 39 | DEBUG = True 40 | 41 | ALLOWED_HOSTS = ['*'] 42 | 43 | # Application definition 44 | 45 | INSTALLED_APPS = [ 46 | 'django.contrib.admin', 47 | 'django.contrib.auth', 48 | 'django.contrib.contenttypes', 49 | 'django.contrib.sessions', 50 | 'django.contrib.messages', 51 | 'django.contrib.staticfiles', 52 | 'apps.appcrawler', 53 | ] 54 | 55 | MIDDLEWARE = [ 56 | 'django.middleware.security.SecurityMiddleware', 57 | 'django.contrib.sessions.middleware.SessionMiddleware', 58 | 'django.middleware.common.CommonMiddleware', 59 | 'django.middleware.csrf.CsrfViewMiddleware', 60 | 'django.contrib.auth.middleware.AuthenticationMiddleware', 61 | 'django.contrib.messages.middleware.MessageMiddleware', 62 | 'django.middleware.clickjacking.XFrameOptionsMiddleware', 63 | ] 64 | 65 | ROOT_URLCONF = 'MAT.urls' 66 | 67 | TEMPLATES = [ 68 | { 69 | 'BACKEND': 'django.template.backends.django.DjangoTemplates', 70 | 'DIRS': [BASE_DIR + "/apps/appcrawler/Templates"], 71 | 'APP_DIRS': True, 72 | 'OPTIONS': { 73 | 'context_processors': [ 74 | 'django.template.context_processors.debug', 75 | 'django.template.context_processors.request', 76 | 'django.contrib.auth.context_processors.auth', 77 | 'django.contrib.messages.context_processors.messages', 78 | ], 79 | }, 80 | }, 81 | ] 82 | 83 | WSGI_APPLICATION = 'MAT.wsgi.application' 84 | 85 | # Database 86 | # https://docs.djangoproject.com/en/1.11/ref/settings/#databases 87 | 88 | DATABASES = { 89 | 'default': { 90 | 'ENGINE': 'django.db.backends.sqlite3', 91 | 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), 92 | } 93 | } 94 | 95 | # Password validation 96 | # https://docs.djangoproject.com/en/1.11/ref/settings/#auth-password-validators 97 | 98 | AUTH_PASSWORD_VALIDATORS = [ 99 | { 100 | 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', 101 | }, 102 | { 103 | 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', 104 | }, 105 | { 106 | 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', 107 | }, 108 | { 109 | 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', 110 | }, 111 | ] 112 | 113 | # Internationalization 114 | # https://docs.djangoproject.com/en/1.11/topics/i18n/ 115 | 116 | LANGUAGE_CODE = 'zh-hans' 117 | 118 | TIME_ZONE = 'Asia/Shanghai' 119 | 120 | USE_I18N = True 121 | 122 | USE_L10N = True 123 | 124 | USE_TZ = True 125 | 126 | # Static files (CSS, JavaScript, Images) 127 | # https://docs.djangoproject.com/en/1.11/howto/static-files/ 128 | 129 | STATIC_URL = '/static/' 130 | STATIC_ROOT = os.path.join(BASE_DIR, 'static') 131 | 132 | 133 | # 装饰器限制访问指定地址 134 | # LOGIN_URL = 'login/login.html' 135 | -------------------------------------------------------------------------------- /MAT/urls.py: -------------------------------------------------------------------------------- 1 | # coding:utf-8 2 | """fengycaOBJ URL Configuration 3 | 4 | The `urlpatterns` list routes URLs to views. For more information please see: 5 | https://docs.djangoproject.com/en/1.11/topics/http/urls/ 6 | Examples: 7 | Function views 8 | 1. Add an import: from my_app import views 9 | 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') 10 | Class-based views 11 | 1. Add an import: from other_app.views import Home 12 | 2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home') 13 | Including another URLconf 14 | 1. Import the include() function: from django.conf.urls import url, include 15 | 2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls')) 16 | """ 17 | from django.conf.urls import url, include 18 | from django.contrib import admin 19 | from apps.appcrawler import views as CR 20 | from django.views import static 21 | from django.conf import settings 22 | 23 | urlpatterns = [ 24 | url(r'^admin/', admin.site.urls), 25 | url(r'^appcrawler$', CR.getHTML), 26 | url(r'^$', CR.getHTML), 27 | url(r'^appcrawler/', include('apps.appcrawler.urls')), 28 | 29 | ] 30 | 31 | if settings.DEBUG is False: 32 | urlpatterns += [url(r'^static/(?P.*)$', static.serve, {'document_root': settings.STATIC_ROOT, })] -------------------------------------------------------------------------------- /MAT/wsgi.py: -------------------------------------------------------------------------------- 1 | """ 2 | WSGI config for fengycaOBJ project. 3 | 4 | It exposes the WSGI callable as a module-level variable named ``application``. 5 | 6 | For more information on this file, see 7 | https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ 8 | """ 9 | 10 | import os 11 | 12 | from django.core.wsgi import get_wsgi_application 13 | 14 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "MAT.settings") 15 | 16 | application = get_wsgi_application() 17 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # open-MAT 2 | python-Django版远程真机 3 | 4 | 各类介绍文章均发表在testerhome上 5 | 6 | 【MAT平台简介】请移步--> https://testerhome.com/topics/14985 7 | 8 | 【MAT代码分析】请移步-->https://testerhome.com/topics/17013 9 | 10 | 【MAT安装及操作指南】请移步-->https://testerhome.com/topics/17047 11 | 12 | 996.icu 13 | [![LICENSE](https://img.shields.io/badge/license-Anti%20996-blue.svg)](https://github.com/996icu/996.ICU/blob/master/LICENSE) 14 | -------------------------------------------------------------------------------- /apps/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/.DS_Store -------------------------------------------------------------------------------- /apps/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/__init__.py -------------------------------------------------------------------------------- /apps/appcrawler/RSApem/private.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIICXQIBAAKBgQCyBoTW4XaXIU942cz0Vw9v4hMgwq8HP+ShE+5F52uiTGC4rd3L 3 | AhvGv7fFFcyXxWhb21oPsxVEOJybdqEUhv29ViMPrfZmacdn0iSCfN7wwjdHpUWU 4 | EvuM01BIG8dVRhrFqU/Jkes+RD2gMK4cio8rNHYS6kMqN0pEV9sFAL9oYwIDAQAB 5 | AoGACkgYGfTxjW7uERO7I413pcWPxz+XLjsBcFAfXcgszjXNDD12ZsgbZJIkAezt 6 | YQKUsWFsxSVZoBQI722dhfr54oGm+QoAAZP7cLXcwk0nID3fthc5YdMRCy1DhN2v 7 | MXq0WncehK+y+PZIdDwOJF6GzIt46H5MHaAim2J0i1+fifkCQQDwVEulCpOM4Isq 8 | LClwNg9acE8EkLt2Ngre6vKnLTW2d1/c5cD1VMJBhLjFh9Un7oPWxg4WzU/JdCVJ 9 | LLxRXdJVAkEAvaI3BFGkvIDSJvUobPGP1kvx3luhus+AT4VzrLxEodfwWfnoRGoS 10 | JNmawNFvcqVQ14kyzd+BRMQYW3On1jW31wJBAMCcDnQbYd3KKD6IXj2cVfm5gNq7 11 | 1EINVfEKg6cQSLgQPDghut/kKjuwTxWgo2j5c5gx6yDDM2rVNvzKabMcanECQQCS 12 | h1WbsLpqLeA02hpyk/Vg0S4Dcyp0/wFWcPgA8TjXFdRSshgXRR7f+oTpmOtU2wis 13 | gwcOrTVlvWBUyflWPAvhAkAiCY6O8wf/0mBibcLoBWZkUpUSEku1fcfGzMHEhtrM 14 | hte5e5FqXEqzKyCGMLC7L94luZfZCCOJIAwbmJ604CHs 15 | -----END RSA PRIVATE KEY----- -------------------------------------------------------------------------------- /apps/appcrawler/RSApem/public.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCyBoTW4XaXIU942cz0Vw9v4hMg 3 | wq8HP+ShE+5F52uiTGC4rd3LAhvGv7fFFcyXxWhb21oPsxVEOJybdqEUhv29ViMP 4 | rfZmacdn0iSCfN7wwjdHpUWUEvuM01BIG8dVRhrFqU/Jkes+RD2gMK4cio8rNHYS 5 | 6kMqN0pEV9sFAL9oYwIDAQAB 6 | -----END PUBLIC KEY----- -------------------------------------------------------------------------------- /apps/appcrawler/RSApem/system.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/RSApem/system.yml -------------------------------------------------------------------------------- /apps/appcrawler/UIAutomationView.py: -------------------------------------------------------------------------------- 1 | # -*- coding: UTF-8 -*- 2 | import xml.etree.ElementTree as ET 3 | import yaml 4 | import os 5 | 6 | # 全局唯一标识 7 | unique_id = 0 8 | 9 | 10 | def write_yaml(json, path): 11 | # 写 12 | if type(json) != dict: 13 | json = eval(json) 14 | with open(path, 'w+') as f: 15 | yaml.dump(json, f, default_flow_style=False, allow_unicode=True, encoding='utf-8') 16 | 17 | def read_yaml(path): 18 | # 读取案例yaml数据 19 | with open(path, 'r') as f: 20 | return yaml.load(f) 21 | 22 | # 遍历所有的节点 23 | def walkData(root_node, level, result_list, file_name, myyaml): 24 | ul = '
  • %s:%s%s
  • ' 25 | global unique_id 26 | try: 27 | cls = root_node.attrib['class'].split('.')[-1] 28 | text = root_node.attrib['text'] 29 | except: 30 | cls = root_node.tag 31 | text = '' 32 | if root_node.attrib.has_key('bounds'): 33 | ul_temp = ul % (level, unique_id, cls, text, root_node.attrib['bounds']) 34 | else: 35 | ul_temp = ul % (level, unique_id, cls, text, '[][]') 36 | result_list.append(ul_temp) 37 | myyaml.__setitem__(unique_id, root_node.attrib) 38 | 39 | # 全局唯一标识,递增 40 | unique_id += 1 41 | 42 | # 遍历每个子节点 43 | children_node = root_node.getchildren() 44 | if len(children_node) == 0: 45 | result_list.append('
') 46 | write_yaml(myyaml, file_name) 47 | return 48 | for child in children_node: 49 | walkData(child, level + 1, result_list, file_name, myyaml) 50 | result_list.append('') 51 | write_yaml(myyaml, file_name) 52 | return result_list 53 | 54 | 55 | # 获得原始数据 56 | # out: 57 | #
  • xx
58 | def getXmlData(file_name, name): 59 | level = 0 # 节点的深度从0开始 60 | myyaml = {} 61 | result_list = [] 62 | root = ET.parse(file_name).getroot() 63 | os.remove(file_name) #清除xml文件 64 | # yml 65 | file_name = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), 66 | 'appcrawler/UIxml/%s.yml' % str(name)) 67 | walkData(root, level, result_list, file_name, myyaml) 68 | # 运行结束,归0 69 | unique_id = 0 70 | 71 | return ''.join(result_list) 72 | 73 | def getXmlDetail(id, path): 74 | js = read_yaml(path) 75 | return js[int(id)] 76 | 77 | def getXY(string): 78 | ls = string.split('][') 79 | start = ls[0][1:].split(',') 80 | len = ls[-1][:-1].split(',') 81 | return start[0], start[-1], len[0], len[-1] 82 | 83 | if __name__ == '__main__': 84 | # file_name = 'ui.xml' 85 | # R = getXmlData(file_name) 86 | # print read_yaml('/Users/yyfaxx/MAT/apps/appcrawler/UIxml/1529981242.yml') 87 | # print getXmlDetail(0,'/Users/yyfaxx/MAT/apps/appcrawler/UIxml/1529981242.yml') 88 | s = '[0,63][1080,1920]' 89 | import socket 90 | client = socket.socket() 91 | client.connect(('localhost', 1119)) 92 | print client 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | -------------------------------------------------------------------------------- /apps/appcrawler/UIapp/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/UIapp/.DS_Store -------------------------------------------------------------------------------- /apps/appcrawler/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/__init__.py -------------------------------------------------------------------------------- /apps/appcrawler/admin.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from __future__ import unicode_literals 3 | 4 | from django.contrib import admin 5 | 6 | # Register your models here. 7 | -------------------------------------------------------------------------------- /apps/appcrawler/apps.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from __future__ import unicode_literals 3 | 4 | from django.apps import AppConfig 5 | 6 | 7 | class AppcrawlerConfig(AppConfig): 8 | name = 'appcrawler' 9 | -------------------------------------------------------------------------------- /apps/appcrawler/crawlerServer/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/crawlerServer/.DS_Store -------------------------------------------------------------------------------- /apps/appcrawler/deviceYaml.yml: -------------------------------------------------------------------------------- 1 | Z2XGK16903915739: {name: 华为p8, config: appium -p 4717 -bp 4827 -U Z2XGK16903915739, platformName: android, port: 4717, pcPort: 1707, socketPort: 8997, minitouchPort: 1107, mtsp: 9048} 2 | f1c2ac34: {name: OPPOR11,config: appium -p 4718 -bp 4828 -U f1c2ac34, platformName: android, port: 4718, pcPort: 1708, socketPort: 8998, minitouchPort: 1108, mtsp: 9049} 3 | 87cd907c: {name: vivoX20,config: appium -p 4719 -bp 4829 -U 87cd907c, platformName: android, port: 4719, pcPort: 1709, socketPort: 8999, minitouchPort: 1109, mtsp: 9049} 4 | f42c33e8: {name: vivoX7, config: appium -p 4720 -bp 4830 -U f42c33e8, platformName: android, port: 4720, pcPort: 1710, socketPort: 9000, minitouchPort: 1110, mtsp: 9050} 5 | CLB0218330002858: {name: 华为P20, config: appium -p 4721 -bp 4831 -U CLB0218330002858, platformName: android, port: 4721, pcPort: 1711, socketPort: 9001, minitouchPort: 1111, mtsp: 9051} 6 | 1c3c0f75: {name: Xplay6, config: appium -p 4722 -bp 4832 -U 1c3c0f75, platformName: android, port: 4722, pcPort: 1712, socketPort: 9002, minitouchPort: 1112, mtsp: 9052} 7 | QLXBBCA680133985: {name: 荣耀5S, config: appium -p 4723 -bp 4833 -U QLXBBCA680133985, platformName: android, port: 4723, pcPort: 1713, socketPort: 9003, minitouchPort: 1113, mtsp: 9053} 8 | 69S49HFMRKYSNZSS: {name: OPPOR7, config: appium -p 4724 -bp 4834 -U 69S49HFMRKYSNZSS, platformName: android, port: 4724, pcPort: 1714, socketPort: 9004, minitouchPort: 1114, mtsp: 9054} 9 | F8UDU16411003086: {name: 荣耀六, config: appium -p 4725 -bp 4835 -U F8UDU16411003086, platformName: android, port: 4725, pcPort: 1715, socketPort: 9005, minitouchPort: 1115, mtsp: 9055} 10 | 5LM7N16902004131: {name: MATE10, config: appium -p 4726 -bp 4836 -U 5LM7N16902004131, platformName: android, port: 4726, pcPort: 1716, socketPort: 9006, minitouchPort: 1116, mtsp: 9056} 11 | 68UDU17A19032297: {name: 麦芒6, config: appium -p 4727 -bp 4837 -U 68UDU17A19032297, platformName: android, port: 4727, pcPort: 1717, socketPort: 9007, minitouchPort: 1117, mtsp: 9057} 12 | 91QEBPE5R859: {name: 魅族n3, config: appium -p 4728 -bp 4838 -U 91QEBPE5R859, platformName: android, port: 4728, pcPort: 1718, socketPort: 9008, minitouchPort: 1118, mtsp: 9058} 13 | LE67A06310079608: {name: 乐视2S, config: appium -p 4729 -bp 4839 -U LE67A06310079608, platformName: android, port: 4729, pcPort: 1719, socketPort: 9009, minitouchPort: 1119, mtsp: 9059} 14 | UYT0217B11004058: {name: MATE10, config: appium -p 4730 -bp 4840 -U UYT0217B11004058, platformName: android, port: 4730, pcPort: 1720, socketPort: 9010, minitouchPort: 1120, mtsp: 9060} 15 | 16 | 17 | -------------------------------------------------------------------------------- /apps/appcrawler/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/migrations/__init__.py -------------------------------------------------------------------------------- /apps/appcrawler/minicap/bin/arm64-v8a/minicap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/minicap/bin/arm64-v8a/minicap -------------------------------------------------------------------------------- /apps/appcrawler/minicap/bin/arm64-v8a/minicap-nopie: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/minicap/bin/arm64-v8a/minicap-nopie -------------------------------------------------------------------------------- /apps/appcrawler/minicap/bin/armeabi-v7a/minicap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/minicap/bin/armeabi-v7a/minicap -------------------------------------------------------------------------------- /apps/appcrawler/minicap/bin/armeabi-v7a/minicap-nopie: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/minicap/bin/armeabi-v7a/minicap-nopie -------------------------------------------------------------------------------- /apps/appcrawler/minicap/bin/x86/minicap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/minicap/bin/x86/minicap -------------------------------------------------------------------------------- /apps/appcrawler/minicap/bin/x86/minicap-nopie: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/minicap/bin/x86/minicap-nopie -------------------------------------------------------------------------------- /apps/appcrawler/minicap/bin/x86_64/minicap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/minicap/bin/x86_64/minicap -------------------------------------------------------------------------------- /apps/appcrawler/minicap/bin/x86_64/minicap-nopie: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/minicap/bin/x86_64/minicap-nopie -------------------------------------------------------------------------------- /apps/appcrawler/minicap/example/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | -------------------------------------------------------------------------------- /apps/appcrawler/minicap/example/README.md: -------------------------------------------------------------------------------- 1 | # Example: minicap over WebSockets 2 | 3 | A quick and dirty example to show how minicap might be used as part of an application. Also useful for testing. 4 | 5 | ## Requirements 6 | 7 | * [Node.js](https://nodejs.org/) >= 0.12 (for this example only) 8 | * [ADB](http://developer.android.com/intl/ja/tools/help/adb.html) 9 | * An Android device with USB debugging enabled. 10 | 11 | ## Running 12 | 13 | 1. Check that your device is connected and ADB is running with `adb devices`. The following steps may not work properly if you don't. 14 | ``` 15 | adb devices 16 | ``` 17 | 2. Set up a forward for the server we'll soon have running inside the device. Note that due to laziness the port is currently fixed to 1717. 18 | ``` 19 | adb forward tcp:1717 localabstract:minicap 20 | ``` 21 | 3. Get information about your display. Unfortunately the easy API methods we could use for automatic detection segfault on some Samsung devices, presumably due to maker customizations. You'll need to know the display width and height in pixels. Here are some ways to do it: 22 | ``` 23 | adb shell wm size 24 | adb shell dumpsys display 25 | ``` 26 | 4. Start the minicap server. The most convenient way is to use the helper script at the root of this repo. 27 | ``` 28 | # Try ./run.sh -h for help 29 | ./run.sh -P 720x1280@720x1280/0 30 | ``` 31 | The first set is the true size of your display, and the second set is the size of the desired projection. Larger projections require more processing power and bandwidth. The final argument is the rotation of the display. Note that this is not the rotation you want it to have, it simply specifies the display's current rotation, which is used to normalize the output frames between Android versions. If the rotation changes you have to restart the server. 32 | 5. Start the example app. 33 | ``` 34 | PORT=9002 node app.js 35 | ``` 36 | 6. Open http://localhost:9002 in your browser. 37 | -------------------------------------------------------------------------------- /apps/appcrawler/minicap/example/app.js: -------------------------------------------------------------------------------- 1 | var arguments = process.argv.splice(2); 2 | var socketPort = Number(arguments[0]); //minicap websocket port 3 | var pcPort = Number(arguments[1]); // minicap pc port 4 | 5 | var WebSocketServer = require('ws').Server 6 | , http = require('http') 7 | , express = require('express') 8 | , path = require('path') 9 | , net = require('net') 10 | , app = express(); 11 | 12 | //minicap websocketServer 13 | var PORT = process.env.PORT || socketPort; 14 | 15 | app.use(express.static(path.join(__dirname, '/public'))); 16 | 17 | var server = http.createServer(app); 18 | var wss = new WebSocketServer({server: server}); 19 | 20 | wss.on('connection', function (ws) { 21 | console.info('Got a minicap client'); 22 | 23 | var stream = net.connect({ 24 | port: pcPort 25 | }); 26 | 27 | stream.on('error', function () { 28 | console.error('Be sure to run `adb forward tcp:1717 localabstract:minicap`'); 29 | process.exit(1) 30 | }); 31 | 32 | var readBannerBytes = 0; 33 | var bannerLength = 2; 34 | var readFrameBytes = 0; 35 | var frameBodyLength = 0; 36 | var frameBody = new Buffer(0); 37 | var banner = { 38 | version: 0 39 | , length: 0 40 | , pid: 0 41 | , realWidth: 0 42 | , realHeight: 0 43 | , virtualWidth: 0 44 | , virtualHeight: 0 45 | , orientation: 0 46 | , quirks: 0 47 | }; 48 | 49 | function tryRead() { 50 | for (var chunk; (chunk = stream.read());) { 51 | //console.info('chunk(length=%d)', chunk.length); 52 | for (var cursor = 0, len = chunk.length; cursor < len;) { 53 | if (readBannerBytes < bannerLength) { 54 | switch (readBannerBytes) { 55 | case 0: 56 | // version 57 | banner.version = chunk[cursor]; 58 | break; 59 | case 1: 60 | // length 61 | banner.length = bannerLength = chunk[cursor]; 62 | break; 63 | case 2: 64 | case 3: 65 | case 4: 66 | case 5: 67 | // pid 68 | banner.pid += 69 | (chunk[cursor] << ((readBannerBytes - 2) * 8)) >>> 0; 70 | break; 71 | case 6: 72 | case 7: 73 | case 8: 74 | case 9: 75 | // real width 76 | banner.realWidth += 77 | (chunk[cursor] << ((readBannerBytes - 6) * 8)) >>> 0; 78 | break; 79 | case 10: 80 | case 11: 81 | case 12: 82 | case 13: 83 | // real height 84 | banner.realHeight += 85 | (chunk[cursor] << ((readBannerBytes - 10) * 8)) >>> 0; 86 | break; 87 | case 14: 88 | case 15: 89 | case 16: 90 | case 17: 91 | // virtual width 92 | banner.virtualWidth += 93 | (chunk[cursor] << ((readBannerBytes - 14) * 8)) >>> 0; 94 | break; 95 | case 18: 96 | case 19: 97 | case 20: 98 | case 21: 99 | // virtual height 100 | banner.virtualHeight += 101 | (chunk[cursor] << ((readBannerBytes - 18) * 8)) >>> 0; 102 | break; 103 | case 22: 104 | // orientation 105 | banner.orientation += chunk[cursor] * 90; 106 | break; 107 | case 23: 108 | // quirks 109 | banner.quirks = chunk[cursor]; 110 | break 111 | } 112 | 113 | cursor += 1; 114 | readBannerBytes += 1; 115 | 116 | if (readBannerBytes === bannerLength) { 117 | console.log('banner', banner) 118 | } 119 | } 120 | else if (readFrameBytes < 4) { 121 | frameBodyLength += (chunk[cursor] << (readFrameBytes * 8)) >>> 0; 122 | cursor += 1; 123 | readFrameBytes += 1; 124 | //console.info('headerbyte%d(val=%d)', readFrameBytes, frameBodyLength) 125 | } 126 | else { 127 | if (len - cursor >= frameBodyLength) { 128 | //console.info('bodyfin(len=%d,cursor=%d)', frameBodyLength, cursor); 129 | 130 | frameBody = Buffer.concat([ 131 | frameBody 132 | , chunk.slice(cursor, cursor + frameBodyLength) 133 | ]); 134 | 135 | // Sanity check for JPG header, only here for debugging purposes. 136 | if (frameBody[0] !== 0xFF || frameBody[1] !== 0xD8) { 137 | console.error( 138 | 'Frame body does not start with JPG header', frameBody); 139 | process.exit(1) 140 | } 141 | 142 | ws.send(frameBody, { 143 | binary: true 144 | }); 145 | 146 | cursor += frameBodyLength; 147 | frameBodyLength = readFrameBytes = 0; 148 | frameBody = new Buffer(0) 149 | } 150 | else { 151 | //console.info('body(len=%d)', len - cursor); 152 | frameBody = Buffer.concat([ 153 | frameBody 154 | , chunk.slice(cursor, len) 155 | ]); 156 | 157 | frameBodyLength -= len - cursor; 158 | readFrameBytes += len - cursor; 159 | cursor = len 160 | } 161 | } 162 | } 163 | } 164 | } 165 | 166 | stream.on('readable', tryRead); 167 | 168 | ws.on('close', function () { 169 | //console.info('Lost a client'); 170 | stream.end() 171 | }) 172 | }); 173 | 174 | server.listen(PORT); 175 | console.info('Listening on port %d', PORT); 176 | 177 | -------------------------------------------------------------------------------- /apps/appcrawler/minicap/example/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "express": "^4.12.3", 4 | "ws": "^0.7.1" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /apps/appcrawler/minicap/example/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 82 | -------------------------------------------------------------------------------- /apps/appcrawler/minitouch/arm64-v8a/minitouch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/minitouch/arm64-v8a/minitouch -------------------------------------------------------------------------------- /apps/appcrawler/minitouch/arm64-v8a/minitouch-nopie: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/minitouch/arm64-v8a/minitouch-nopie -------------------------------------------------------------------------------- /apps/appcrawler/minitouch/armeabi-v7a/minitouch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/minitouch/armeabi-v7a/minitouch -------------------------------------------------------------------------------- /apps/appcrawler/minitouch/armeabi-v7a/minitouch-nopie: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/minitouch/armeabi-v7a/minitouch-nopie -------------------------------------------------------------------------------- /apps/appcrawler/minitouch/armeabi/minitouch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/minitouch/armeabi/minitouch -------------------------------------------------------------------------------- /apps/appcrawler/minitouch/armeabi/minitouch-nopie: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/minitouch/armeabi/minitouch-nopie -------------------------------------------------------------------------------- /apps/appcrawler/minitouch/minitouch.js: -------------------------------------------------------------------------------- 1 | var arguments = process.argv.splice(2); 2 | var socketPort = Number(arguments[0]); //minicap websocket port 3 | var pcPort = Number(arguments[1]); // minicap pc port 4 | 5 | var WebSocketServer = require('ws').Server 6 | , http = require('http') 7 | , express = require('express') 8 | , path = require('path') 9 | , net = require('net') 10 | , app = express(); 11 | 12 | //minicap websocketServer 13 | var PORT = process.env.PORT || pcPort; 14 | app.use(express.static(path.join(__dirname, '/public'))); 15 | var server = http.createServer(app); 16 | var wss = new WebSocketServer({server: server}); 17 | wss.on('connection', function (ws) { 18 | 19 | console.info('Got a minitouch client'); 20 | 21 | // connect minitouch 22 | var stream = net.connect({ 23 | port: socketPort 24 | }); 25 | 26 | stream.on('error', function () { 27 | console.error('Be sure to run `adb forward tcp:PcTouchPort localabstract:minitouch`'); 28 | process.exit(1) 29 | }); 30 | 31 | // send message to minitouch 32 | ws.on('message', function (message) { 33 | stream.write(message); 34 | stream.write('c\n'); 35 | }); 36 | 37 | ws.on('close', function () { 38 | console.info('Lost a client'); 39 | stream.end() 40 | }) 41 | }); 42 | 43 | server.listen(PORT); 44 | console.info('Listening on minitouchPC port %d', PORT); 45 | 46 | -------------------------------------------------------------------------------- /apps/appcrawler/minitouch/mips/minitouch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/minitouch/mips/minitouch -------------------------------------------------------------------------------- /apps/appcrawler/minitouch/mips/minitouch-nopie: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/minitouch/mips/minitouch-nopie -------------------------------------------------------------------------------- /apps/appcrawler/minitouch/mips64/minitouch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/minitouch/mips64/minitouch -------------------------------------------------------------------------------- /apps/appcrawler/minitouch/mips64/minitouch-nopie: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/minitouch/mips64/minitouch-nopie -------------------------------------------------------------------------------- /apps/appcrawler/minitouch/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 13 | 14 | 15 | 16 |
17 |
18 |

 

19 |
20 |
21 | 23 |
24 | 28 |
29 |
30 |
31 | 32 | -------------------------------------------------------------------------------- /apps/appcrawler/minitouch/x86/minitouch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/minitouch/x86/minitouch -------------------------------------------------------------------------------- /apps/appcrawler/minitouch/x86/minitouch-nopie: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/minitouch/x86/minitouch-nopie -------------------------------------------------------------------------------- /apps/appcrawler/minitouch/x86_64/minitouch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/minitouch/x86_64/minitouch -------------------------------------------------------------------------------- /apps/appcrawler/minitouch/x86_64/minitouch-nopie: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/minitouch/x86_64/minitouch-nopie -------------------------------------------------------------------------------- /apps/appcrawler/models.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from __future__ import unicode_literals 3 | 4 | from django.db import models 5 | 6 | # Create your models here. 7 | -------------------------------------------------------------------------------- /apps/appcrawler/startappium.py: -------------------------------------------------------------------------------- 1 | # coding:utf-8 2 | from multiprocessing import Pool 3 | import os 4 | import yaml 5 | import requests 6 | import commands 7 | import time 8 | 9 | 10 | def Foo(cmd): 11 | os.system(cmd) 12 | return cmd 13 | 14 | 15 | def getOutput(cmd): 16 | return commands.getoutput(cmd) 17 | 18 | 19 | def Bar(arg): 20 | print arg 21 | 22 | 23 | # def startAppium(deviceJson): 24 | # pool = Pool(len(deviceJson)) # 进程池 25 | # for k, v in deviceJson.items(): 26 | # pool.apply_async(func=Foo, args=(v["config"],), 27 | # callback=Bar) # func子进程执行完后,才会执行callback,否则callback不执行(而且callback是由父进程来执行了) 28 | # pool.close() 29 | # pool.join() # 主进程等待所有子进程执行完毕。必须在close()或terminate()之后。 30 | 31 | 32 | def stop_server(): 33 | """stop the appium server 34 | selenium_appium: appium selenium 35 | :return: 36 | """ 37 | os.system("kill -9 $(ps -ef|grep node |awk '$0 !~/grep/ {print $2}' |tr -s '\n' ' ')") 38 | os.system("kill -9 $(ps -ef|grep adb |awk '$0 !~/grep/ {print $2}' |tr -s '\n' ' ')") 39 | 40 | 41 | def Appium_is_runner(port): 42 | """ 43 | check only one port AppiumServer 44 | :param port: Appium port 45 | :return: string True or False 46 | """ 47 | response = None 48 | url = " http://127.0.0.1:" + str(port) + "/wd/hub" + "/status" 49 | try: 50 | response = requests.get(url, timeout=5) 51 | 52 | if str(response.status_code).startswith("2"): 53 | return 'True' 54 | else: 55 | return 'False' 56 | except: 57 | return 'False' 58 | finally: 59 | if response: 60 | response.close() 61 | 62 | 63 | def is_runnnig(deviceJson): 64 | """ 65 | Determine whether server is running 66 | check all online devices 67 | :return:True or False 68 | """ 69 | response = None 70 | # no online devices return false 71 | if deviceJson == {}: 72 | return 'False' 73 | # online devices if has one error return false when all pass return true 74 | for k, v in deviceJson.items(): 75 | url = " http://127.0.0.1:" + str(v["port"]) + "/wd/hub" + "/status" 76 | try: 77 | response = requests.get(url, timeout=5) 78 | 79 | if str(response.status_code).startswith("2"): 80 | pass 81 | else: 82 | return 'False' 83 | except: 84 | return 'False' 85 | finally: 86 | if response: 87 | response.close() 88 | return 'True' 89 | 90 | 91 | def getYaml(): 92 | path = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), 'appcrawler', 'deviceYaml.yml') 93 | with open(path, 'r') as t: 94 | deviceJson = yaml.load(t) 95 | return deviceJson 96 | 97 | 98 | def returnPath(cpu, level): 99 | cpuPath = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), 'appcrawler/minicap/bin', cpu, 100 | 'minicap') 101 | minitouchPath = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), 'appcrawler/minitouch', 102 | cpu, 103 | 'minitouch') 104 | levelPath = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), 105 | 'appcrawler/minicap/libs', 'android-%s' % level, cpu, 'minicap.so') 106 | appPath = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), 107 | 'appcrawler/minicap/example/app.js') 108 | touchJsPath = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), 'appcrawler/minitouch', 109 | 'minitouch.js') 110 | return cpuPath, levelPath, appPath, minitouchPath, touchJsPath 111 | 112 | 113 | def getDevices(): 114 | """ 115 | get devices list 116 | :return: devices list 117 | """ 118 | 119 | device = commands.getoutput('adb devices') 120 | s = device.replace('List of devices attached', '').split('\n') 121 | deviceList = [] 122 | statusList = [] 123 | for i in s: 124 | if i == '': 125 | pass 126 | else: 127 | deviceList.append(i.split('\t')[0]) 128 | # eg:[['LE67A06310079608', 'offline'],['LE67A06310079608', 'offline']] 129 | statusList.append(i.split('\t')) 130 | 131 | return deviceList, statusList 132 | 133 | 134 | def startDevicesJson(): 135 | """ 136 | get onLine devices information, and return json 137 | :return: SDJ 138 | """ 139 | deviceJson = getYaml() 140 | onLineDevices, statusList = getDevices() 141 | SDJ = {} 142 | if onLineDevices != []: 143 | for k, v in deviceJson.items(): 144 | for i in onLineDevices: 145 | if k == i: 146 | SDJ.__setitem__(k, v) 147 | else: 148 | pass 149 | return SDJ, statusList 150 | 151 | 152 | # def runApp(project, deviceJson): 153 | # path = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), 'appcrawler', 'crawlerServer') 154 | # appcrawlerPATH = os.path.join(path, 'appcrawler-2.1.3.jar') 155 | # yamlPATH = os.path.join(path, project, 'config.yml') 156 | # pool = Pool(len(deviceJson)) 157 | # for k, v in deviceJson.items(): 158 | # reportPATH = os.path.join(path, project, 'report', 159 | # 'log%s%s' % (str(time.strftime("%Y-%m-%d-%H-%M-%S")), str(v["port"]))) 160 | # os.makedirs(reportPATH) # 创建文件夹 161 | # cmd = 'java -jar %s -u %s -c %s -o %s' # 命令行启动 162 | # pool.apply_async(func=Foo, args=(cmd % (appcrawlerPATH, str(v["port"]), yamlPATH, reportPATH),), callback=Bar) 163 | # pool.close() 164 | # pool.join() 165 | 166 | 167 | def killPortPID(port): 168 | try: 169 | commands.getoutput("lsof -n -i:%s | grep LISTEN | awk '{print $2}' | xargs kill" % port) 170 | return "True" 171 | except: 172 | return "False" 173 | 174 | 175 | def removeForward(udid, port): 176 | try: 177 | commands.getoutput('adb -s %s forward --remove tcp:%s' % (udid, port)) 178 | return 'True' 179 | except: 180 | return 'False' 181 | 182 | 183 | def stopShellPID(udid, tap): 184 | try: 185 | output = commands.getoutput('adb -s %s shell ps|grep /data/local/tmp/%s' % (udid, tap)) 186 | pid = '' 187 | if output: 188 | l = output.split(' ') 189 | for i in l: 190 | if i: 191 | pass 192 | else: 193 | l.remove(i) 194 | pid = l[1] 195 | if pid: 196 | commands.getoutput('adb -s %s shell kill %s' % (udid, pid)) 197 | return 'True' 198 | else: 199 | return 'False' 200 | except: 201 | return 'False' 202 | 203 | 204 | def isExist(udid, tap): 205 | output = commands.getoutput('adb -s %s shell ls /data/local/tmp/%s' % (udid, tap)) 206 | l = output.split('/') 207 | if tap + '\r' in l: 208 | # 存在返回False 209 | return False 210 | else: 211 | # 不存在返回True 212 | return True 213 | 214 | 215 | def minicap_is_runner(port): 216 | """ 217 | check minicap is running or not 218 | :param port: app.js port 219 | :return: True is running, Error is port be occupied, False is no running 220 | """ 221 | a = commands.getoutput('lsof -i:%s' % port) 222 | if a: 223 | # b = a.split('\n')[-1].split(' ') 224 | # if b[0] == 'node': 225 | # return 'True' 226 | # else: 227 | # return 'Error' 228 | return 'True' 229 | else: 230 | return 'False' 231 | 232 | 233 | if __name__ == '__main__': 234 | name = 'sss_()' 235 | if '(' in name: 236 | name = name.replace('(', '') 237 | print name 238 | 239 | -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/css/admin.css: -------------------------------------------------------------------------------- 1 | /** 2 | * admin.css 3 | */ 4 | 5 | 6 | /* 7 | fixed-layout 固定头部和边栏布局 8 | */ 9 | 10 | html, 11 | body { 12 | height: 100%; 13 | overflow: hidden; 14 | } 15 | 16 | ul { 17 | margin-top: 0; 18 | } 19 | 20 | .admin-icon-yellow { 21 | color: #ffbe40; 22 | } 23 | 24 | .admin-header { 25 | position: fixed; 26 | top: 0; 27 | left: 0; 28 | right: 0; 29 | z-index: 1500; 30 | font-size: 1.4rem; 31 | margin-bottom: 0; 32 | } 33 | 34 | .admin-header-list a:hover :after { 35 | content: none; 36 | } 37 | 38 | .admin-main { 39 | position: relative; 40 | height: 100%; 41 | padding-top: 51px; 42 | background: #f3f3f3; 43 | } 44 | 45 | .admin-menu { 46 | position: fixed; 47 | z-index: 10; 48 | bottom: 30px; 49 | right: 20px; 50 | } 51 | 52 | .admin-sidebar { 53 | width: 260px; 54 | min-height: 100%; 55 | float: left; 56 | border-right: 1px solid #cecece; 57 | } 58 | 59 | .admin-sidebar.am-active { 60 | z-index: 1600; 61 | } 62 | 63 | .admin-sidebar-list { 64 | margin-bottom: 0; 65 | } 66 | 67 | .admin-sidebar-list li a { 68 | color: #5c5c5c; 69 | padding-left: 24px; 70 | } 71 | 72 | .admin-sidebar-list li:first-child { 73 | border-top: none; 74 | } 75 | 76 | .admin-sidebar-sub { 77 | margin-top: 0; 78 | margin-bottom: 0; 79 | box-shadow: 0 16px 8px -15px #e2e2e2 inset; 80 | background: #ececec; 81 | padding-left: 24px; 82 | } 83 | 84 | .admin-sidebar-sub li:first-child { 85 | border-top: 1px solid #dedede; 86 | } 87 | 88 | .admin-sidebar-panel { 89 | margin: 10px; 90 | } 91 | 92 | .admin-content { 93 | display: -webkit-box; 94 | display: -webkit-flex; 95 | display: -ms-flexbox; 96 | display: flex; 97 | -webkit-box-orient: vertical; 98 | -webkit-box-direction: normal; 99 | -webkit-flex-direction: column; 100 | -ms-flex-direction: column; 101 | flex-direction: column; 102 | background: #fff; 103 | } 104 | 105 | .admin-content, 106 | .admin-sidebar { 107 | height: 100%; 108 | overflow-x: hidden; 109 | overflow-y: scroll; 110 | -webkit-overflow-scrolling: touch; 111 | } 112 | 113 | .admin-content-body { 114 | -webkit-box-flex: 1; 115 | -webkit-flex: 1 0 auto; 116 | -ms-flex: 1 0 auto; 117 | flex: 1 0 auto; 118 | } 119 | 120 | .admin-content-footer { 121 | font-size: 85%; 122 | color: #777; 123 | } 124 | 125 | .admin-content-list { 126 | border: 1px solid #e9ecf1; 127 | margin-top: 0; 128 | } 129 | 130 | .admin-content-list li { 131 | border: 1px solid #e9ecf1; 132 | border-width: 0 1px; 133 | margin-left: -1px; 134 | } 135 | 136 | .admin-content-list li:first-child { 137 | border-left: none; 138 | } 139 | 140 | .admin-content-list li:last-child { 141 | border-right: none; 142 | } 143 | 144 | .admin-content-table a { 145 | color: #535353; 146 | } 147 | .admin-content-file { 148 | margin-bottom: 0; 149 | color: #666; 150 | } 151 | 152 | .admin-content-file p { 153 | margin: 0 0 5px 0; 154 | font-size: 1.4rem; 155 | } 156 | 157 | .admin-content-file li { 158 | padding: 10px 0; 159 | } 160 | 161 | .admin-content-file li:first-child { 162 | border-top: none; 163 | } 164 | 165 | .admin-content-file li:last-child { 166 | border-bottom: none; 167 | } 168 | 169 | .admin-content-file li .am-progress { 170 | margin-bottom: 4px; 171 | } 172 | 173 | .admin-content-file li .am-progress-bar { 174 | line-height: 14px; 175 | } 176 | 177 | .admin-content-task { 178 | margin-bottom: 0; 179 | } 180 | 181 | .admin-content-task li { 182 | padding: 5px 0; 183 | border-color: #eee; 184 | } 185 | 186 | .admin-content-task li:first-child { 187 | border-top: none; 188 | } 189 | 190 | .admin-content-task li:last-child { 191 | border-bottom: none; 192 | } 193 | 194 | .admin-task-meta { 195 | font-size: 1.2rem; 196 | color: #999; 197 | } 198 | 199 | .admin-task-bd { 200 | font-size: 1.4rem; 201 | margin-bottom: 5px; 202 | } 203 | 204 | .admin-content-comment { 205 | margin-bottom: 0; 206 | } 207 | 208 | .admin-content-comment .am-comment-bd { 209 | font-size: 1.4rem; 210 | } 211 | 212 | .admin-content-pagination { 213 | margin-bottom: 0; 214 | } 215 | .admin-content-pagination li a { 216 | padding: 4px 8px; 217 | } 218 | 219 | @media only screen and (min-width: 641px) { 220 | .admin-sidebar { 221 | display: block; 222 | position: static; 223 | background: none; 224 | } 225 | 226 | .admin-offcanvas-bar { 227 | position: static; 228 | width: auto; 229 | background: none; 230 | -webkit-transform: translate3d(0, 0, 0); 231 | -ms-transform: translate3d(0, 0, 0); 232 | transform: translate3d(0, 0, 0); 233 | overflow-y: visible; 234 | min-height: 100%; 235 | } 236 | .admin-offcanvas-bar:after { 237 | content: none; 238 | } 239 | } 240 | 241 | @media only screen and (max-width: 640px) { 242 | .admin-sidebar { 243 | width: inherit; 244 | } 245 | 246 | .admin-offcanvas-bar { 247 | background: #f3f3f3; 248 | } 249 | 250 | .admin-offcanvas-bar:after { 251 | background: #BABABA; 252 | } 253 | 254 | .admin-sidebar-list a:hover, .admin-sidebar-list a:active{ 255 | -webkit-transition: background-color .3s ease; 256 | -moz-transition: background-color .3s ease; 257 | -ms-transition: background-color .3s ease; 258 | -o-transition: background-color .3s ease; 259 | transition: background-color .3s ease; 260 | background: #E4E4E4; 261 | } 262 | 263 | .admin-content-list li { 264 | padding: 10px; 265 | border-width: 1px 0; 266 | margin-top: -1px; 267 | } 268 | 269 | .admin-content-list li:first-child { 270 | border-top: none; 271 | } 272 | 273 | .admin-content-list li:last-child { 274 | border-bottom: none; 275 | } 276 | 277 | .admin-form-text { 278 | text-align: left !important; 279 | } 280 | 281 | } 282 | 283 | /* 284 | * user.html css 285 | */ 286 | .user-info { 287 | margin-bottom: 15px; 288 | } 289 | 290 | .user-info .am-progress { 291 | margin-bottom: 4px; 292 | } 293 | 294 | .user-info p { 295 | margin: 5px; 296 | } 297 | 298 | .user-info-order { 299 | font-size: 1.4rem; 300 | } 301 | 302 | /* 303 | * errorLog.html css 304 | */ 305 | 306 | .error-log .am-pre-scrollable { 307 | max-height: 40rem; 308 | } 309 | 310 | /* 311 | * table.html css 312 | */ 313 | 314 | .table-main { 315 | font-size: 1.4rem; 316 | padding: .5rem; 317 | } 318 | 319 | .table-main button { 320 | background: #fff; 321 | } 322 | 323 | .table-check { 324 | width: 30px; 325 | } 326 | 327 | .table-id { 328 | width: 50px; 329 | } 330 | 331 | @media only screen and (max-width: 640px) { 332 | .table-select { 333 | margin-top: 10px; 334 | margin-left: 5px; 335 | } 336 | } 337 | 338 | /* 339 | gallery.html css 340 | */ 341 | 342 | .gallery-list li { 343 | padding: 10px; 344 | } 345 | 346 | .gallery-list a { 347 | color: #666; 348 | } 349 | 350 | .gallery-list a:hover { 351 | color: #3bb4f2; 352 | } 353 | 354 | .gallery-title { 355 | margin-top: 6px; 356 | font-size: 1.4rem; 357 | } 358 | 359 | .gallery-desc { 360 | font-size: 1.2rem; 361 | margin-top: 4px; 362 | } 363 | 364 | /* 365 | 404.html css 366 | */ 367 | 368 | .page-404 { 369 | background: #fff; 370 | border: none; 371 | width: 200px; 372 | margin: 0 auto; 373 | } 374 | -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/css/bootstrap-multiselect.css: -------------------------------------------------------------------------------- 1 | span.multiselect-native-select{position:relative}span.multiselect-native-select select{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px -1px -1px -3px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important;left:50%;top:30px}.multiselect-container{position:absolute;list-style-type:none;margin:0;padding:0}.multiselect-container .input-group{margin:5px}.multiselect-container>li{padding:0}.multiselect-container>li>a.multiselect-all label{font-weight:700}.multiselect-container>li.multiselect-group label{margin:0;padding:3px 20px 3px 20px;height:100%;font-weight:700}.multiselect-container>li.multiselect-group-clickable label{cursor:pointer}.multiselect-container>li>a{padding:0}.multiselect-container>li>a>label{margin:0;height:100%;cursor:pointer;font-weight:400;padding:3px 20px 3px 40px}.multiselect-container>li>a>label.radio,.multiselect-container>li>a>label.checkbox{margin:0}.multiselect-container>li>a>label>input[type=checkbox]{margin-bottom:5px}.btn-group>.btn-group:nth-child(2)>.multiselect.btn{border-top-left-radius:4px;border-bottom-left-radius:4px}.form-inline .multiselect-container label.checkbox,.form-inline .multiselect-container label.radio{padding:3px 20px 3px 40px}.form-inline .multiselect-container li a label.checkbox input[type=checkbox],.form-inline .multiselect-container li a label.radio input[type=radio]{margin-left:-20px;margin-right:0} 2 | -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/css/bootstrap-responsive.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Responsive v2.3.2 3 | * 4 | * Copyright 2013 Twitter, Inc 5 | * Licensed under the Apache License v2.0 6 | * http://www.apache.org/licenses/LICENSE-2.0 7 | * 8 | * Designed and built with all the love in the world by @mdo and @fat. 9 | */.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@-ms-viewport{width:device-width}.hidden{display:none;visibility:hidden}.visible-phone{display:none!important}.visible-tablet{display:none!important}.hidden-desktop{display:none!important}.visible-desktop{display:inherit!important}@media(min-width:768px) and (max-width:979px){.hidden-desktop{display:inherit!important}.visible-desktop{display:none!important}.visible-tablet{display:inherit!important}.hidden-tablet{display:none!important}}@media(max-width:767px){.hidden-desktop{display:inherit!important}.visible-desktop{display:none!important}.visible-phone{display:inherit!important}.hidden-phone{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:inherit!important}.hidden-print{display:none!important}}@media(min-width:1200px){.row{margin-left:-30px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:30px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:1170px}.span12{width:1170px}.span11{width:1070px}.span10{width:970px}.span9{width:870px}.span8{width:770px}.span7{width:670px}.span6{width:570px}.span5{width:470px}.span4{width:370px}.span3{width:270px}.span2{width:170px}.span1{width:70px}.offset12{margin-left:1230px}.offset11{margin-left:1130px}.offset10{margin-left:1030px}.offset9{margin-left:930px}.offset8{margin-left:830px}.offset7{margin-left:730px}.offset6{margin-left:630px}.offset5{margin-left:530px}.offset4{margin-left:430px}.offset3{margin-left:330px}.offset2{margin-left:230px}.offset1{margin-left:130px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.564102564102564%;*margin-left:2.5109110747408616%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.564102564102564%}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.45299145299145%;*width:91.39979996362975%}.row-fluid .span10{width:82.90598290598291%;*width:82.8527914166212%}.row-fluid .span9{width:74.35897435897436%;*width:74.30578286961266%}.row-fluid .span8{width:65.81196581196582%;*width:65.75877432260411%}.row-fluid .span7{width:57.26495726495726%;*width:57.21176577559556%}.row-fluid .span6{width:48.717948717948715%;*width:48.664757228587014%}.row-fluid .span5{width:40.17094017094017%;*width:40.11774868157847%}.row-fluid .span4{width:31.623931623931625%;*width:31.570740134569924%}.row-fluid .span3{width:23.076923076923077%;*width:23.023731587561375%}.row-fluid .span2{width:14.52991452991453%;*width:14.476723040552828%}.row-fluid .span1{width:5.982905982905983%;*width:5.929714493544281%}.row-fluid .offset12{margin-left:105.12820512820512%;*margin-left:105.02182214948171%}.row-fluid .offset12:first-child{margin-left:102.56410256410257%;*margin-left:102.45771958537915%}.row-fluid .offset11{margin-left:96.58119658119658%;*margin-left:96.47481360247316%}.row-fluid .offset11:first-child{margin-left:94.01709401709402%;*margin-left:93.91071103837061%}.row-fluid .offset10{margin-left:88.03418803418803%;*margin-left:87.92780505546462%}.row-fluid .offset10:first-child{margin-left:85.47008547008548%;*margin-left:85.36370249136206%}.row-fluid .offset9{margin-left:79.48717948717949%;*margin-left:79.38079650845607%}.row-fluid .offset9:first-child{margin-left:76.92307692307693%;*margin-left:76.81669394435352%}.row-fluid .offset8{margin-left:70.94017094017094%;*margin-left:70.83378796144753%}.row-fluid .offset8:first-child{margin-left:68.37606837606839%;*margin-left:68.26968539734497%}.row-fluid .offset7{margin-left:62.393162393162385%;*margin-left:62.28677941443899%}.row-fluid .offset7:first-child{margin-left:59.82905982905982%;*margin-left:59.72267685033642%}.row-fluid .offset6{margin-left:53.84615384615384%;*margin-left:53.739770867430444%}.row-fluid .offset6:first-child{margin-left:51.28205128205128%;*margin-left:51.175668303327875%}.row-fluid .offset5{margin-left:45.299145299145295%;*margin-left:45.1927623204219%}.row-fluid .offset5:first-child{margin-left:42.73504273504273%;*margin-left:42.62865975631933%}.row-fluid .offset4{margin-left:36.75213675213675%;*margin-left:36.645753773413354%}.row-fluid .offset4:first-child{margin-left:34.18803418803419%;*margin-left:34.081651209310785%}.row-fluid .offset3{margin-left:28.205128205128204%;*margin-left:28.0987452264048%}.row-fluid .offset3:first-child{margin-left:25.641025641025642%;*margin-left:25.53464266230224%}.row-fluid .offset2{margin-left:19.65811965811966%;*margin-left:19.551736679396257%}.row-fluid .offset2:first-child{margin-left:17.094017094017094%;*margin-left:16.98763411529369%}.row-fluid .offset1{margin-left:11.11111111111111%;*margin-left:11.004728132387708%}.row-fluid .offset1:first-child{margin-left:8.547008547008547%;*margin-left:8.440625568285142%}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:30px}input.span12,textarea.span12,.uneditable-input.span12{width:1156px}input.span11,textarea.span11,.uneditable-input.span11{width:1056px}input.span10,textarea.span10,.uneditable-input.span10{width:956px}input.span9,textarea.span9,.uneditable-input.span9{width:856px}input.span8,textarea.span8,.uneditable-input.span8{width:756px}input.span7,textarea.span7,.uneditable-input.span7{width:656px}input.span6,textarea.span6,.uneditable-input.span6{width:556px}input.span5,textarea.span5,.uneditable-input.span5{width:456px}input.span4,textarea.span4,.uneditable-input.span4{width:356px}input.span3,textarea.span3,.uneditable-input.span3{width:256px}input.span2,textarea.span2,.uneditable-input.span2{width:156px}input.span1,textarea.span1,.uneditable-input.span1{width:56px}.thumbnails{margin-left:-30px}.thumbnails>li{margin-left:30px}.row-fluid .thumbnails{margin-left:0}}@media(min-width:768px) and (max-width:979px){.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:20px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:724px}.span12{width:724px}.span11{width:662px}.span10{width:600px}.span9{width:538px}.span8{width:476px}.span7{width:414px}.span6{width:352px}.span5{width:290px}.span4{width:228px}.span3{width:166px}.span2{width:104px}.span1{width:42px}.offset12{margin-left:764px}.offset11{margin-left:702px}.offset10{margin-left:640px}.offset9{margin-left:578px}.offset8{margin-left:516px}.offset7{margin-left:454px}.offset6{margin-left:392px}.offset5{margin-left:330px}.offset4{margin-left:268px}.offset3{margin-left:206px}.offset2{margin-left:144px}.offset1{margin-left:82px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.7624309392265194%;*margin-left:2.709239449864817%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.7624309392265194%}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.43646408839778%;*width:91.38327259903608%}.row-fluid .span10{width:82.87292817679558%;*width:82.81973668743387%}.row-fluid .span9{width:74.30939226519337%;*width:74.25620077583166%}.row-fluid .span8{width:65.74585635359117%;*width:65.69266486422946%}.row-fluid .span7{width:57.18232044198895%;*width:57.12912895262725%}.row-fluid .span6{width:48.61878453038674%;*width:48.56559304102504%}.row-fluid .span5{width:40.05524861878453%;*width:40.00205712942283%}.row-fluid .span4{width:31.491712707182323%;*width:31.43852121782062%}.row-fluid .span3{width:22.92817679558011%;*width:22.87498530621841%}.row-fluid .span2{width:14.3646408839779%;*width:14.311449394616199%}.row-fluid .span1{width:5.801104972375691%;*width:5.747913483013988%}.row-fluid .offset12{margin-left:105.52486187845304%;*margin-left:105.41847889972962%}.row-fluid .offset12:first-child{margin-left:102.76243093922652%;*margin-left:102.6560479605031%}.row-fluid .offset11{margin-left:96.96132596685082%;*margin-left:96.8549429881274%}.row-fluid .offset11:first-child{margin-left:94.1988950276243%;*margin-left:94.09251204890089%}.row-fluid .offset10{margin-left:88.39779005524862%;*margin-left:88.2914070765252%}.row-fluid .offset10:first-child{margin-left:85.6353591160221%;*margin-left:85.52897613729868%}.row-fluid .offset9{margin-left:79.8342541436464%;*margin-left:79.72787116492299%}.row-fluid .offset9:first-child{margin-left:77.07182320441989%;*margin-left:76.96544022569647%}.row-fluid .offset8{margin-left:71.2707182320442%;*margin-left:71.16433525332079%}.row-fluid .offset8:first-child{margin-left:68.50828729281768%;*margin-left:68.40190431409427%}.row-fluid .offset7{margin-left:62.70718232044199%;*margin-left:62.600799341718584%}.row-fluid .offset7:first-child{margin-left:59.94475138121547%;*margin-left:59.838368402492065%}.row-fluid .offset6{margin-left:54.14364640883978%;*margin-left:54.037263430116376%}.row-fluid .offset6:first-child{margin-left:51.38121546961326%;*margin-left:51.27483249088986%}.row-fluid .offset5{margin-left:45.58011049723757%;*margin-left:45.47372751851417%}.row-fluid .offset5:first-child{margin-left:42.81767955801105%;*margin-left:42.71129657928765%}.row-fluid .offset4{margin-left:37.01657458563536%;*margin-left:36.91019160691196%}.row-fluid .offset4:first-child{margin-left:34.25414364640884%;*margin-left:34.14776066768544%}.row-fluid .offset3{margin-left:28.45303867403315%;*margin-left:28.346655695309746%}.row-fluid .offset3:first-child{margin-left:25.69060773480663%;*margin-left:25.584224756083227%}.row-fluid .offset2{margin-left:19.88950276243094%;*margin-left:19.783119783707537%}.row-fluid .offset2:first-child{margin-left:17.12707182320442%;*margin-left:17.02068884448102%}.row-fluid .offset1{margin-left:11.32596685082873%;*margin-left:11.219583872105325%}.row-fluid .offset1:first-child{margin-left:8.56353591160221%;*margin-left:8.457152932878806%}input,textarea,.uneditable-input{margin-left:0}.controls-row [class*="span"]+[class*="span"]{margin-left:20px}input.span12,textarea.span12,.uneditable-input.span12{width:710px}input.span11,textarea.span11,.uneditable-input.span11{width:648px}input.span10,textarea.span10,.uneditable-input.span10{width:586px}input.span9,textarea.span9,.uneditable-input.span9{width:524px}input.span8,textarea.span8,.uneditable-input.span8{width:462px}input.span7,textarea.span7,.uneditable-input.span7{width:400px}input.span6,textarea.span6,.uneditable-input.span6{width:338px}input.span5,textarea.span5,.uneditable-input.span5{width:276px}input.span4,textarea.span4,.uneditable-input.span4{width:214px}input.span3,textarea.span3,.uneditable-input.span3{width:152px}input.span2,textarea.span2,.uneditable-input.span2{width:90px}input.span1,textarea.span1,.uneditable-input.span1{width:28px}}@media(max-width:767px){body{padding-right:20px;padding-left:20px}.navbar-fixed-top,.navbar-fixed-bottom,.navbar-static-top{margin-right:-20px;margin-left:-20px}.container-fluid{padding:0}.dl-horizontal dt{float:none;width:auto;clear:none;text-align:left}.dl-horizontal dd{margin-left:0}.container{width:auto}.row-fluid{width:100%}.row,.thumbnails{margin-left:0}.thumbnails>li{float:none;margin-left:0}[class*="span"],.uneditable-input[class*="span"],.row-fluid [class*="span"]{display:block;float:none;width:100%;margin-left:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.span12,.row-fluid .span12{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="offset"]:first-child{margin-left:0}.input-large,.input-xlarge,.input-xxlarge,input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.input-prepend input,.input-append input,.input-prepend input[class*="span"],.input-append input[class*="span"]{display:inline-block;width:auto}.controls-row [class*="span"]+[class*="span"]{margin-left:0}.modal{position:fixed;top:20px;right:20px;left:20px;width:auto;margin:0}.modal.fade{top:-100px}.modal.fade.in{top:20px}}@media(max-width:480px){.nav-collapse{-webkit-transform:translate3d(0,0,0)}.page-header h1 small{display:block;line-height:20px}input[type="checkbox"],input[type="radio"]{border:1px solid #ccc}.form-horizontal .control-label{float:none;width:auto;padding-top:0;text-align:left}.form-horizontal .controls{margin-left:0}.form-horizontal .control-list{padding-top:0}.form-horizontal .form-actions{padding-right:10px;padding-left:10px}.media .pull-left,.media .pull-right{display:block;float:none;margin-bottom:10px}.media-object{margin-right:0;margin-left:0}.modal{top:10px;right:10px;left:10px}.modal-header .close{padding:10px;margin:-10px}.carousel-caption{position:static}}@media(max-width:979px){body{padding-top:0}.navbar-fixed-top,.navbar-fixed-bottom{position:static}.navbar-fixed-top{margin-bottom:20px}.navbar-fixed-bottom{margin-top:20px}.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding:5px}.navbar .container{width:auto;padding:0}.navbar .brand{padding-right:10px;padding-left:10px;margin:0 0 0 -5px}.nav-collapse{clear:both}.nav-collapse .nav{float:none;margin:0 0 10px}.nav-collapse .nav>li{float:none}.nav-collapse .nav>li>a{margin-bottom:2px}.nav-collapse .nav>.divider-vertical{display:none}.nav-collapse .nav .nav-header{color:#777;text-shadow:none}.nav-collapse .nav>li>a,.nav-collapse .dropdown-menu a{padding:9px 15px;font-weight:bold;color:#777;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.nav-collapse .btn{padding:4px 10px 4px;font-weight:normal;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.nav-collapse .dropdown-menu li+li a{margin-bottom:2px}.nav-collapse .nav>li>a:hover,.nav-collapse .nav>li>a:focus,.nav-collapse .dropdown-menu a:hover,.nav-collapse .dropdown-menu a:focus{background-color:#f2f2f2}.navbar-inverse .nav-collapse .nav>li>a,.navbar-inverse .nav-collapse .dropdown-menu a{color:#999}.navbar-inverse .nav-collapse .nav>li>a:hover,.navbar-inverse .nav-collapse .nav>li>a:focus,.navbar-inverse .nav-collapse .dropdown-menu a:hover,.navbar-inverse .nav-collapse .dropdown-menu a:focus{background-color:#111}.nav-collapse.in .btn-group{padding:0;margin-top:5px}.nav-collapse .dropdown-menu{position:static;top:auto;left:auto;display:none;float:none;max-width:none;padding:0;margin:0 15px;background-color:transparent;border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.nav-collapse .open>.dropdown-menu{display:block}.nav-collapse .dropdown-menu:before,.nav-collapse .dropdown-menu:after{display:none}.nav-collapse .dropdown-menu .divider{display:none}.nav-collapse .nav>li>.dropdown-menu:before,.nav-collapse .nav>li>.dropdown-menu:after{display:none}.nav-collapse .navbar-form,.nav-collapse .navbar-search{float:none;padding:10px 15px;margin:10px 0;border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1)}.navbar-inverse .nav-collapse .navbar-form,.navbar-inverse .nav-collapse .navbar-search{border-top-color:#111;border-bottom-color:#111}.navbar .nav-collapse .nav.pull-right{float:none;margin-left:0}.nav-collapse,.nav-collapse.collapse{height:0;overflow:hidden}.navbar .btn-navbar{display:block}.navbar-static .navbar-inner{padding-right:10px;padding-left:10px}}@media(min-width:980px){.nav-collapse.collapse{height:auto!important;overflow:visible!important}} 10 | -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/css/bootstrap-theme.min.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["less/theme.less","less/mixins/vendor-prefixes.less","less/mixins/gradients.less","less/mixins/reset-filter.less"],"names":[],"mappings":";;;;AAmBA,YAAA,aAAA,UAAA,aAAA,aAAA,aAME,YAAA,EAAA,KAAA,EAAA,eC2CA,mBAAA,MAAA,EAAA,IAAA,EAAA,sBAAA,EAAA,IAAA,IAAA,iBACQ,WAAA,MAAA,EAAA,IAAA,EAAA,sBAAA,EAAA,IAAA,IAAA,iBDvCR,mBAAA,mBAAA,oBAAA,oBAAA,iBAAA,iBAAA,oBAAA,oBAAA,oBAAA,oBAAA,oBAAA,oBCsCA,mBAAA,MAAA,EAAA,IAAA,IAAA,iBACQ,WAAA,MAAA,EAAA,IAAA,IAAA,iBDlCR,qBAAA,sBAAA,sBAAA,uBAAA,mBAAA,oBAAA,sBAAA,uBAAA,sBAAA,uBAAA,sBAAA,uBAAA,+BAAA,gCAAA,6BAAA,gCAAA,gCAAA,gCCiCA,mBAAA,KACQ,WAAA,KDlDV,mBAAA,oBAAA,iBAAA,oBAAA,oBAAA,oBAuBI,YAAA,KAyCF,YAAA,YAEE,iBAAA,KAKJ,aErEI,YAAA,EAAA,IAAA,EAAA,KACA,iBAAA,iDACA,iBAAA,4CAAA,iBAAA,qEAEA,iBAAA,+CCnBF,OAAA,+GH4CA,OAAA,0DACA,kBAAA,SAuC2C,aAAA,QAA2B,aAAA,KArCtE,mBAAA,mBAEE,iBAAA,QACA,oBAAA,EAAA,MAGF,oBAAA,oBAEE,iBAAA,QACA,aAAA,QAMA,sBAAA,6BAAA,4BAAA,6BAAA,4BAAA,4BAAA,uBAAA,8BAAA,6BAAA,8BAAA,6BAAA,6BAAA,gCAAA,uCAAA,sCAAA,uCAAA,sCAAA,sCAME,iBAAA,QACA,iBAAA,KAgBN,aEtEI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDAEA,OAAA,+GCnBF,OAAA,0DH4CA,kBAAA,SACA,aAAA,QAEA,mBAAA,mBAEE,iBAAA,QACA,oBAAA,EAAA,MAGF,oBAAA,oBAEE,iBAAA,QACA,aAAA,QAMA,sBAAA,6BAAA,4BAAA,6BAAA,4BAAA,4BAAA,uBAAA,8BAAA,6BAAA,8BAAA,6BAAA,6BAAA,gCAAA,uCAAA,sCAAA,uCAAA,sCAAA,sCAME,iBAAA,QACA,iBAAA,KAiBN,aEvEI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDAEA,OAAA,+GCnBF,OAAA,0DH4CA,kBAAA,SACA,aAAA,QAEA,mBAAA,mBAEE,iBAAA,QACA,oBAAA,EAAA,MAGF,oBAAA,oBAEE,iBAAA,QACA,aAAA,QAMA,sBAAA,6BAAA,4BAAA,6BAAA,4BAAA,4BAAA,uBAAA,8BAAA,6BAAA,8BAAA,6BAAA,6BAAA,gCAAA,uCAAA,sCAAA,uCAAA,sCAAA,sCAME,iBAAA,QACA,iBAAA,KAkBN,UExEI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDAEA,OAAA,+GCnBF,OAAA,0DH4CA,kBAAA,SACA,aAAA,QAEA,gBAAA,gBAEE,iBAAA,QACA,oBAAA,EAAA,MAGF,iBAAA,iBAEE,iBAAA,QACA,aAAA,QAMA,mBAAA,0BAAA,yBAAA,0BAAA,yBAAA,yBAAA,oBAAA,2BAAA,0BAAA,2BAAA,0BAAA,0BAAA,6BAAA,oCAAA,mCAAA,oCAAA,mCAAA,mCAME,iBAAA,QACA,iBAAA,KAmBN,aEzEI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDAEA,OAAA,+GCnBF,OAAA,0DH4CA,kBAAA,SACA,aAAA,QAEA,mBAAA,mBAEE,iBAAA,QACA,oBAAA,EAAA,MAGF,oBAAA,oBAEE,iBAAA,QACA,aAAA,QAMA,sBAAA,6BAAA,4BAAA,6BAAA,4BAAA,4BAAA,uBAAA,8BAAA,6BAAA,8BAAA,6BAAA,6BAAA,gCAAA,uCAAA,sCAAA,uCAAA,sCAAA,sCAME,iBAAA,QACA,iBAAA,KAoBN,YE1EI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDAEA,OAAA,+GCnBF,OAAA,0DH4CA,kBAAA,SACA,aAAA,QAEA,kBAAA,kBAEE,iBAAA,QACA,oBAAA,EAAA,MAGF,mBAAA,mBAEE,iBAAA,QACA,aAAA,QAMA,qBAAA,4BAAA,2BAAA,4BAAA,2BAAA,2BAAA,sBAAA,6BAAA,4BAAA,6BAAA,4BAAA,4BAAA,+BAAA,sCAAA,qCAAA,sCAAA,qCAAA,qCAME,iBAAA,QACA,iBAAA,KA2BN,eAAA,WClCE,mBAAA,EAAA,IAAA,IAAA,iBACQ,WAAA,EAAA,IAAA,IAAA,iBD2CV,0BAAA,0BE3FI,iBAAA,QACA,iBAAA,oDACA,iBAAA,+CAAA,iBAAA,wEACA,iBAAA,kDACA,OAAA,+GF0FF,kBAAA,SAEF,yBAAA,+BAAA,+BEhGI,iBAAA,QACA,iBAAA,oDACA,iBAAA,+CAAA,iBAAA,wEACA,iBAAA,kDACA,OAAA,+GFgGF,kBAAA,SASF,gBE7GI,iBAAA,iDACA,iBAAA,4CACA,iBAAA,qEAAA,iBAAA,+CACA,OAAA,+GACA,OAAA,0DCnBF,kBAAA,SH+HA,cAAA,ICjEA,mBAAA,MAAA,EAAA,IAAA,EAAA,sBAAA,EAAA,IAAA,IAAA,iBACQ,WAAA,MAAA,EAAA,IAAA,EAAA,sBAAA,EAAA,IAAA,IAAA,iBD6DV,sCAAA,oCE7GI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SD2CF,mBAAA,MAAA,EAAA,IAAA,IAAA,iBACQ,WAAA,MAAA,EAAA,IAAA,IAAA,iBD0EV,cAAA,iBAEE,YAAA,EAAA,IAAA,EAAA,sBAIF,gBEhII,iBAAA,iDACA,iBAAA,4CACA,iBAAA,qEAAA,iBAAA,+CACA,OAAA,+GACA,OAAA,0DCnBF,kBAAA,SHkJA,cAAA,IAHF,sCAAA,oCEhII,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SD2CF,mBAAA,MAAA,EAAA,IAAA,IAAA,gBACQ,WAAA,MAAA,EAAA,IAAA,IAAA,gBDgFV,8BAAA,iCAYI,YAAA,EAAA,KAAA,EAAA,gBAKJ,qBAAA,kBAAA,mBAGE,cAAA,EAqBF,yBAfI,mDAAA,yDAAA,yDAGE,MAAA,KE7JF,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,UFqKJ,OACE,YAAA,EAAA,IAAA,EAAA,qBC3HA,mBAAA,MAAA,EAAA,IAAA,EAAA,sBAAA,EAAA,IAAA,IAAA,gBACQ,WAAA,MAAA,EAAA,IAAA,EAAA,sBAAA,EAAA,IAAA,IAAA,gBDsIV,eEtLI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF8KF,aAAA,QAKF,YEvLI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF8KF,aAAA,QAMF,eExLI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF8KF,aAAA,QAOF,cEzLI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF8KF,aAAA,QAeF,UEjMI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SFuMJ,cE3MI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SFwMJ,sBE5MI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SFyMJ,mBE7MI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF0MJ,sBE9MI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF2MJ,qBE/MI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF+MJ,sBElLI,iBAAA,yKACA,iBAAA,oKACA,iBAAA,iKFyLJ,YACE,cAAA,IC9KA,mBAAA,EAAA,IAAA,IAAA,iBACQ,WAAA,EAAA,IAAA,IAAA,iBDgLV,wBAAA,8BAAA,8BAGE,YAAA,EAAA,KAAA,EAAA,QEnOE,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SFiOF,aAAA,QALF,+BAAA,qCAAA,qCAQI,YAAA,KAUJ,OCnME,mBAAA,EAAA,IAAA,IAAA,gBACQ,WAAA,EAAA,IAAA,IAAA,gBD4MV,8BE5PI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SFyPJ,8BE7PI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF0PJ,8BE9PI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF2PJ,2BE/PI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF4PJ,8BEhQI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SF6PJ,6BEjQI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SFoQJ,MExQI,iBAAA,oDACA,iBAAA,+CACA,iBAAA,wEAAA,iBAAA,kDACA,OAAA,+GACA,kBAAA,SFsQF,aAAA,QC3NA,mBAAA,MAAA,EAAA,IAAA,IAAA,gBAAA,EAAA,IAAA,EAAA,qBACQ,WAAA,MAAA,EAAA,IAAA,IAAA,gBAAA,EAAA,IAAA,EAAA"} -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/css/common.css: -------------------------------------------------------------------------------- 1 | textarea.effect{ 2 | -webkit-box-shadow: 0 2px 1px -1px #777; 3 | -moz-box-shadow: 0 2px 1px -1px #777; 4 | box-shadow: 0 2px 1px -1px #777; 5 | } 6 | 7 | .btn-group-vertical > button{ 8 | margin-bottom:5px; 9 | border-radius:5px !important; 10 | } 11 | 12 | .dropdown-menu li{ 13 | font-size:20px 14 | } 15 | 16 | .dropdown-submenu { 17 | position: relative; 18 | color:#0000FF; 19 | } 20 | 21 | .dropdown-submenu > .dropdown-menu { 22 | top: 0; 23 | left: 100%; 24 | margin-top: -6px; 25 | margin-left: -1px; 26 | -webkit-border-radius: 0 6px 6px 6px; 27 | -moz-border-radius: 0 6px 6px; 28 | border-radius: 0 6px 6px 6px; 29 | } 30 | 31 | .dropdown-submenu:hover > .dropdown-menu { 32 | display: block; 33 | } 34 | 35 | .dropdown-submenu > a:after { 36 | display: block; 37 | content: " "; 38 | float: right; 39 | width: 0; 40 | height: 0; 41 | border-color: transparent; 42 | border-style: solid; 43 | border-width: 5px 0 5px 5px; 44 | border-left-color: #ccc; 45 | margin-top: 5px; 46 | margin-right: -10px; 47 | } 48 | 49 | .dropdown-submenu:hover > a:after { 50 | border-left-color: #fff; 51 | } 52 | 53 | .dropdown-submenu.pull-left { 54 | float: none; 55 | } 56 | 57 | .dropdown-submenu.pull-left > .dropdown-menu { 58 | left: -100%; 59 | margin-left: 10px; 60 | -webkit-border-radius: 6px 0 6px 6px; 61 | -moz-border-radius: 6px 0 6px 6px; 62 | border-radius: 6px 0 6px 6px; 63 | } 64 | 65 | .modal-header { 66 | color:#fff; 67 | padding:9px 15px; 68 | border-bottom:1px solid #eee; 69 | background-color: #696969; 70 | -webkit-border-top-left-radius: 5px; 71 | -webkit-border-top-right-radius: 5px; 72 | -moz-border-radius-topleft: 5px; 73 | -moz-border-radius-topright: 5px; 74 | border-top-left-radius: 5px; 75 | border-top-right-radius: 5px; 76 | } 77 | 78 | .pop-box { 79 | z-index: 9999; 80 | /* border: 2px solid #FFFFFF; */ 81 | margin: 0; 82 | display: none; 83 | position: fixed; 84 | /* background-color: #FFFFFF; */ 85 | } 86 | .mask { 87 | width: 100%; 88 | height: 100%; 89 | position: fixed; 90 | top: 0; 91 | left: 0; 92 | background-color: #FFFFFF; 93 | filter: Alpha(Opacity = 80); 94 | -moz-opacity: 0.8; 95 | opacity: 0.8; 96 | z-index: 9998; 97 | } -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/css/dataTables.bootstrap.min.css: -------------------------------------------------------------------------------- 1 | table.dataTable{clear:both;margin-top:6px !important;margin-bottom:6px !important;max-width:none !important;border-collapse:separate !important}table.dataTable td,table.dataTable th{-webkit-box-sizing:content-box;box-sizing:content-box}table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty{text-align:center}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}div.dataTables_wrapper div.dataTables_length label{font-weight:normal;text-align:left;white-space:nowrap}div.dataTables_wrapper div.dataTables_length select{width:75px;display:inline-block}div.dataTables_wrapper div.dataTables_filter{text-align:right}div.dataTables_wrapper div.dataTables_filter label{font-weight:normal;white-space:nowrap;text-align:left}div.dataTables_wrapper div.dataTables_filter input{margin-left:0.5em;display:inline-block;width:auto}div.dataTables_wrapper div.dataTables_info{padding-top:8px;white-space:nowrap}div.dataTables_wrapper div.dataTables_paginate{margin:0;white-space:nowrap;text-align:right}div.dataTables_wrapper div.dataTables_paginate ul.pagination{margin:2px 0;white-space:nowrap}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1em 0}table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc,table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc,table.dataTable thead>tr>td.sorting{padding-right:30px}table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active{outline:none}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{cursor:pointer;position:relative}table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:after{position:absolute;bottom:8px;right:8px;display:block;font-family:'Glyphicons Halflings';opacity:0.5}table.dataTable thead .sorting:after{opacity:0.2;content:"\e150"}table.dataTable thead .sorting_asc:after{content:"\e155"}table.dataTable thead .sorting_desc:after{content:"\e156"}table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:after{color:#eee}div.dataTables_scrollHead table.dataTable{margin-bottom:0 !important}div.dataTables_scrollBody table{border-top:none;margin-top:0 !important;margin-bottom:0 !important}div.dataTables_scrollBody table thead .sorting:after,div.dataTables_scrollBody table thead .sorting_asc:after,div.dataTables_scrollBody table thead .sorting_desc:after{display:none}div.dataTables_scrollBody table tbody tr:first-child th,div.dataTables_scrollBody table tbody tr:first-child td{border-top:none}div.dataTables_scrollFoot table{margin-top:0 !important;border-top:none}@media screen and (max-width: 767px){div.dataTables_wrapper div.dataTables_length,div.dataTables_wrapper div.dataTables_filter,div.dataTables_wrapper div.dataTables_info,div.dataTables_wrapper div.dataTables_paginate{text-align:center}}table.dataTable.table-condensed>thead>tr>th{padding-right:20px}table.dataTable.table-condensed .sorting:after,table.dataTable.table-condensed .sorting_asc:after,table.dataTable.table-condensed .sorting_desc:after{top:6px;right:6px}table.table-bordered.dataTable th,table.table-bordered.dataTable td{border-left-width:0}table.table-bordered.dataTable th:last-child,table.table-bordered.dataTable th:last-child,table.table-bordered.dataTable td:last-child,table.table-bordered.dataTable td:last-child{border-right-width:0}table.table-bordered.dataTable tbody th,table.table-bordered.dataTable tbody td{border-bottom-width:0}div.dataTables_scrollHead table.table-bordered{border-bottom-width:0}div.table-responsive>div.dataTables_wrapper>div.row{margin:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:first-child{padding-left:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:last-child{padding-right:0} 2 | -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/css/demo.css: -------------------------------------------------------------------------------- 1 | /* All styles created for demo purposes only, you may not need this for your project */ 2 | .demo-button button { 3 | margin-bottom: 5px; } 4 | 5 | .demo-icons li { 6 | margin-bottom: 50px; 7 | text-align: center; } 8 | 9 | .demo-icons .lnr, 10 | .demo-icons .fa { 11 | font-size: 28px; } 12 | 13 | .demo-icons .cssclass { 14 | display: block; 15 | margin-top: 5px; 16 | margin-left: 5px; } 17 | 18 | #interca{ 19 | margin-right: 10px; 20 | margin-left: 10px 21 | } -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/css/mystyle.css: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | 3 | .head-top { 4 | font-size: 15px; 5 | } 6 | 7 | .data { 8 | margin-top: 30px; 9 | } 10 | 11 | .search { 12 | margin-top: 75px; 13 | } 14 | 15 | .select{ 16 | margin-left: 10px; 17 | margin-top: 75px; 18 | } 19 | 20 | #container{ 21 | width:95%; 22 | } 23 | 24 | body{ 25 | margin-left: 5%; 26 | margin-right: 5%; 27 | } 28 | .experl { 29 | margin-top: 80px; 30 | float: right; 31 | } 32 | .search-button{ 33 | float: left; 34 | 35 | 36 | } 37 | 38 | .input-group{ 39 | margin: 5px auto; 40 | } 41 | 42 | .show-result{ 43 | text-align: center; 44 | } 45 | -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/css/style.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: #e9e9e9; 3 | color: #666666; 4 | font-family: 'RobotoDraft', 'Roboto', sans-serif; 5 | font-size: 14px; 6 | -webkit-font-smoothing: antialiased; 7 | -moz-osx-font-smoothing: grayscale; 8 | } 9 | 10 | /* Pen Title */ 11 | .pen-title { 12 | padding: 50px 0; 13 | text-align: center; 14 | letter-spacing: 2px; 15 | } 16 | 17 | .pen-title h1 { 18 | margin: 0 0 20px; 19 | font-size: 48px; 20 | font-weight: 300; 21 | } 22 | 23 | .pen-title span { 24 | font-size: 12px; 25 | } 26 | 27 | .pen-title span .fa { 28 | color: #33b5e5; 29 | } 30 | 31 | .pen-title span a { 32 | color: #33b5e5; 33 | font-weight: 600; 34 | text-decoration: none; 35 | } 36 | 37 | /* Form Module */ 38 | .form-module { 39 | position: relative; 40 | background: #ffffff; 41 | max-width: 320px; 42 | width: 100%; 43 | border-top: 5px solid #33b5e5; 44 | -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.1); 45 | box-shadow: 0 0 3px rgba(0, 0, 0, 0.1); 46 | margin: 0 auto; 47 | } 48 | 49 | .form-module .toggle { 50 | cursor: pointer; 51 | position: absolute; 52 | top: -0; 53 | right: -0; 54 | background: #33b5e5; 55 | width: 30px; 56 | height: 30px; 57 | margin: -5px 0 0; 58 | color: #ffffff; 59 | font-size: 12px; 60 | line-height: 30px; 61 | text-align: center; 62 | } 63 | 64 | .form-module .toggle .tooltip { 65 | position: absolute; 66 | top: 5px; 67 | right: -65px; 68 | display: block; 69 | background: rgba(0, 0, 0, 0.6); 70 | width: auto; 71 | padding: 5px; 72 | font-size: 10px; 73 | line-height: 1; 74 | text-transform: uppercase; 75 | } 76 | 77 | .form-module .toggle .tooltip:before { 78 | content: ''; 79 | position: absolute; 80 | top: 5px; 81 | left: -5px; 82 | display: block; 83 | border-top: 5px solid transparent; 84 | border-bottom: 5px solid transparent; 85 | border-right: 5px solid rgba(0, 0, 0, 0.6); 86 | } 87 | 88 | .form-module .form { 89 | display: none; 90 | padding: 40px; 91 | } 92 | 93 | .form-module .form:nth-child(2) { 94 | display: block; 95 | } 96 | 97 | .form-module h2 { 98 | margin: 0 0 20px; 99 | color: #33b5e5; 100 | font-size: 18px; 101 | font-weight: 400; 102 | line-height: 1; 103 | } 104 | 105 | .form-module input { 106 | outline: none; 107 | display: block; 108 | width: 100%; 109 | border: 1px solid #d9d9d9; 110 | margin: 0 0 20px; 111 | padding: 10px 15px; 112 | -webkit-box-sizing: border-box; 113 | box-sizing: border-box; 114 | font-wieght: 400; 115 | -webkit-transition: 0.3s ease; 116 | transition: 0.3s ease; 117 | } 118 | 119 | .form-module input:focus { 120 | border: 1px solid #33b5e5; 121 | color: #333333; 122 | } 123 | 124 | .form-module button { 125 | cursor: pointer; 126 | background: #33b5e5; 127 | width: 100%; 128 | border: 0; 129 | padding: 10px 15px; 130 | color: #ffffff; 131 | -webkit-transition: 0.3s ease; 132 | transition: 0.3s ease; 133 | } 134 | 135 | .form-module button:hover { 136 | background: #178ab4; 137 | } 138 | 139 | .form-module .cta { 140 | background: #f2f2f2; 141 | width: 100%; 142 | padding: 15px 40px; 143 | -webkit-box-sizing: border-box; 144 | box-sizing: border-box; 145 | color: #666666; 146 | font-size: 12px; 147 | text-align: center; 148 | } 149 | 150 | .form-module .cta a { 151 | color: #333333; 152 | text-decoration: none; 153 | } 154 | -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/i/app-icon72x72@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/i/app-icon72x72@2x.png -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/i/examples/admin-chrome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/i/examples/admin-chrome.png -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/i/examples/admin-firefox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/i/examples/admin-firefox.png -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/i/examples/admin-ie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/i/examples/admin-ie.png -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/i/examples/admin-opera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/i/examples/admin-opera.png -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/i/examples/admin-safari.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/i/examples/admin-safari.png -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/i/examples/adminPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/i/examples/adminPage.png -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/i/examples/blogPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/i/examples/blogPage.png -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/i/examples/landing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/i/examples/landing.png -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/i/examples/landingPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/i/examples/landingPage.png -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/i/examples/loginPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/i/examples/loginPage.png -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/i/examples/sidebarPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/i/examples/sidebarPage.png -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/i/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/i/favicon.png -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/i/startup-640x1096.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/i/startup-640x1096.png -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/img/lbbg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/img/lbbg.png -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/img/logo-dele.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/img/logo-dele.ico -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/img/logo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/img/logo.ico -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/img/syncfusion-icons-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/img/syncfusion-icons-white.png -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/jquery-ui-1.12.1/AUTHORS.txt: -------------------------------------------------------------------------------- 1 | Authors ordered by first contribution 2 | A list of current team members is available at http://jqueryui.com/about 3 | 4 | Paul Bakaus 5 | Richard Worth 6 | Yehuda Katz 7 | Sean Catchpole 8 | John Resig 9 | Tane Piper 10 | Dmitri Gaskin 11 | Klaus Hartl 12 | Stefan Petre 13 | Gilles van den Hoven 14 | Micheil Bryan Smith 15 | Jörn Zaefferer 16 | Marc Grabanski 17 | Keith Wood 18 | Brandon Aaron 19 | Scott González 20 | Eduardo Lundgren 21 | Aaron Eisenberger 22 | Joan Piedra 23 | Bruno Basto 24 | Remy Sharp 25 | Bohdan Ganicky 26 | David Bolter 27 | Chi Cheng 28 | Ca-Phun Ung 29 | Ariel Flesler 30 | Maggie Wachs 31 | Scott Jehl 32 | Todd Parker 33 | Andrew Powell 34 | Brant Burnett 35 | Douglas Neiner 36 | Paul Irish 37 | Ralph Whitbeck 38 | Thibault Duplessis 39 | Dominique Vincent 40 | Jack Hsu 41 | Adam Sontag 42 | Carl Fürstenberg 43 | Kevin Dalman 44 | Alberto Fernández Capel 45 | Jacek Jędrzejewski (http://jacek.jedrzejewski.name) 46 | Ting Kuei 47 | Samuel Cormier-Iijima 48 | Jon Palmer 49 | Ben Hollis 50 | Justin MacCarthy 51 | Eyal Kobrigo 52 | Tiago Freire 53 | Diego Tres 54 | Holger Rüprich 55 | Ziling Zhao 56 | Mike Alsup 57 | Robson Braga Araujo 58 | Pierre-Henri Ausseil 59 | Christopher McCulloh 60 | Andrew Newcomb 61 | Lim Chee Aun 62 | Jorge Barreiro 63 | Daniel Steigerwald 64 | John Firebaugh 65 | John Enters 66 | Andrey Kapitcyn 67 | Dmitry Petrov 68 | Eric Hynds 69 | Chairat Sunthornwiphat 70 | Josh Varner 71 | Stéphane Raimbault 72 | Jay Merrifield 73 | J. Ryan Stinnett 74 | Peter Heiberg 75 | Alex Dovenmuehle 76 | Jamie Gegerson 77 | Raymond Schwartz 78 | Phillip Barnes 79 | Kyle Wilkinson 80 | Khaled AlHourani 81 | Marian Rudzynski 82 | Jean-Francois Remy 83 | Doug Blood 84 | Filippo Cavallarin 85 | Heiko Henning 86 | Aliaksandr Rahalevich 87 | Mario Visic 88 | Xavi Ramirez 89 | Max Schnur 90 | Saji Nediyanchath 91 | Corey Frang 92 | Aaron Peterson 93 | Ivan Peters 94 | Mohamed Cherif Bouchelaghem 95 | Marcos Sousa 96 | Michael DellaNoce 97 | George Marshall 98 | Tobias Brunner 99 | Martin Solli 100 | David Petersen 101 | Dan Heberden 102 | William Kevin Manire 103 | Gilmore Davidson 104 | Michael Wu 105 | Adam Parod 106 | Guillaume Gautreau 107 | Marcel Toele 108 | Dan Streetman 109 | Matt Hoskins 110 | Giovanni Giacobbi 111 | Kyle Florence 112 | Pavol Hluchý 113 | Hans Hillen 114 | Mark Johnson 115 | Trey Hunner 116 | Shane Whittet 117 | Edward A Faulkner 118 | Adam Baratz 119 | Kato Kazuyoshi 120 | Eike Send 121 | Kris Borchers 122 | Eddie Monge 123 | Israel Tsadok 124 | Carson McDonald 125 | Jason Davies 126 | Garrison Locke 127 | David Murdoch 128 | Benjamin Scott Boyle 129 | Jesse Baird 130 | Jonathan Vingiano 131 | Dylan Just 132 | Hiroshi Tomita 133 | Glenn Goodrich 134 | Tarafder Ashek-E-Elahi 135 | Ryan Neufeld 136 | Marc Neuwirth 137 | Philip Graham 138 | Benjamin Sterling 139 | Wesley Walser 140 | Kouhei Sutou 141 | Karl Kirch 142 | Chris Kelly 143 | Jason Oster 144 | Felix Nagel 145 | Alexander Polomoshnov 146 | David Leal 147 | Igor Milla 148 | Dave Methvin 149 | Florian Gutmann 150 | Marwan Al Jubeh 151 | Milan Broum 152 | Sebastian Sauer 153 | Gaëtan Muller 154 | Michel Weimerskirch 155 | William Griffiths 156 | Stojce Slavkovski 157 | David Soms 158 | David De Sloovere 159 | Michael P. Jung 160 | Shannon Pekary 161 | Dan Wellman 162 | Matthew Edward Hutton 163 | James Khoury 164 | Rob Loach 165 | Alberto Monteiro 166 | Alex Rhea 167 | Krzysztof Rosiński 168 | Ryan Olton 169 | Genie <386@mail.com> 170 | Rick Waldron 171 | Ian Simpson 172 | Lev Kitsis 173 | TJ VanToll 174 | Justin Domnitz 175 | Douglas Cerna 176 | Bert ter Heide 177 | Jasvir Nagra 178 | Yuriy Khabarov <13real008@gmail.com> 179 | Harri Kilpiö 180 | Lado Lomidze 181 | Amir E. Aharoni 182 | Simon Sattes 183 | Jo Liss 184 | Guntupalli Karunakar 185 | Shahyar Ghobadpour 186 | Lukasz Lipinski 187 | Timo Tijhof 188 | Jason Moon 189 | Martin Frost 190 | Eneko Illarramendi 191 | EungJun Yi 192 | Courtland Allen 193 | Viktar Varvanovich 194 | Danny Trunk 195 | Pavel Stetina 196 | Michael Stay 197 | Steven Roussey 198 | Michael Hollis 199 | Lee Rowlands 200 | Timmy Willison 201 | Karl Swedberg 202 | Baoju Yuan 203 | Maciej Mroziński 204 | Luis Dalmolin 205 | Mark Aaron Shirley 206 | Martin Hoch 207 | Jiayi Yang 208 | Philipp Benjamin Köppchen 209 | Sindre Sorhus 210 | Bernhard Sirlinger 211 | Jared A. Scheel 212 | Rafael Xavier de Souza 213 | John Chen 214 | Robert Beuligmann 215 | Dale Kocian 216 | Mike Sherov 217 | Andrew Couch 218 | Marc-Andre Lafortune 219 | Nate Eagle 220 | David Souther 221 | Mathias Stenbom 222 | Sergey Kartashov 223 | Avinash R 224 | Ethan Romba 225 | Cory Gackenheimer 226 | Juan Pablo Kaniefsky 227 | Roman Salnikov 228 | Anika Henke 229 | Samuel Bovée 230 | Fabrício Matté 231 | Viktor Kojouharov 232 | Pawel Maruszczyk (http://hrabstwo.net) 233 | Pavel Selitskas 234 | Bjørn Johansen 235 | Matthieu Penant 236 | Dominic Barnes 237 | David Sullivan 238 | Thomas Jaggi 239 | Vahid Sohrabloo 240 | Travis Carden 241 | Bruno M. Custódio 242 | Nathanael Silverman 243 | Christian Wenz 244 | Steve Urmston 245 | Zaven Muradyan 246 | Woody Gilk 247 | Zbigniew Motyka 248 | Suhail Alkowaileet 249 | Toshi MARUYAMA 250 | David Hansen 251 | Brian Grinstead 252 | Christian Klammer 253 | Steven Luscher 254 | Gan Eng Chin 255 | Gabriel Schulhof 256 | Alexander Schmitz 257 | Vilhjálmur Skúlason 258 | Siebrand Mazeland 259 | Mohsen Ekhtiari 260 | Pere Orga 261 | Jasper de Groot 262 | Stephane Deschamps 263 | Jyoti Deka 264 | Andrei Picus 265 | Ondrej Novy 266 | Jacob McCutcheon 267 | Monika Piotrowicz 268 | Imants Horsts 269 | Eric Dahl 270 | Dave Stein 271 | Dylan Barrell 272 | Daniel DeGroff 273 | Michael Wiencek 274 | Thomas Meyer 275 | Ruslan Yakhyaev 276 | Brian J. Dowling 277 | Ben Higgins 278 | Yermo Lamers 279 | Patrick Stapleton 280 | Trisha Crowley 281 | Usman Akeju 282 | Rodrigo Menezes 283 | Jacques Perrault 284 | Frederik Elvhage 285 | Will Holley 286 | Uri Gilad 287 | Richard Gibson 288 | Simen Bekkhus 289 | Chen Eshchar 290 | Bruno Pérel 291 | Mohammed Alshehri 292 | Lisa Seacat DeLuca 293 | Anne-Gaelle Colom 294 | Adam Foster 295 | Luke Page 296 | Daniel Owens 297 | Michael Orchard 298 | Marcus Warren 299 | Nils Heuermann 300 | Marco Ziech 301 | Patricia Juarez 302 | Ben Mosher 303 | Ablay Keldibek 304 | Thomas Applencourt 305 | Jiabao Wu 306 | Eric Lee Carraway 307 | Victor Homyakov 308 | Myeongjin Lee 309 | Liran Sharir 310 | Weston Ruter 311 | Mani Mishra 312 | Hannah Methvin 313 | Leonardo Balter 314 | Benjamin Albert 315 | Michał Gołębiowski 316 | Alyosha Pushak 317 | Fahad Ahmad 318 | Matt Brundage 319 | Francesc Baeta 320 | Piotr Baran 321 | Mukul Hase 322 | Konstantin Dinev 323 | Rand Scullard 324 | Dan Strohl 325 | Maksim Ryzhikov 326 | Amine HADDAD 327 | Amanpreet Singh 328 | Alexey Balchunas 329 | Peter Kehl 330 | Peter Dave Hello 331 | Johannes Schäfer 332 | Ville Skyttä 333 | Ryan Oriecuia 334 | -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/jquery-ui-1.12.1/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright jQuery Foundation and other contributors, https://jquery.org/ 2 | 3 | This software consists of voluntary contributions made by many 4 | individuals. For exact contribution history, see the revision history 5 | available at https://github.com/jquery/jquery-ui 6 | 7 | The following license applies to all parts of this software except as 8 | documented below: 9 | 10 | ==== 11 | 12 | Permission is hereby granted, free of charge, to any person obtaining 13 | a copy of this software and associated documentation files (the 14 | "Software"), to deal in the Software without restriction, including 15 | without limitation the rights to use, copy, modify, merge, publish, 16 | distribute, sublicense, and/or sell copies of the Software, and to 17 | permit persons to whom the Software is furnished to do so, subject to 18 | the following conditions: 19 | 20 | The above copyright notice and this permission notice shall be 21 | included in all copies or substantial portions of the Software. 22 | 23 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 24 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 25 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 26 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 27 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 28 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 29 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 30 | 31 | ==== 32 | 33 | Copyright and related rights for sample code are waived via CC0. Sample 34 | code is defined as all source code contained within the demos directory. 35 | 36 | CC0: http://creativecommons.org/publicdomain/zero/1.0/ 37 | 38 | ==== 39 | 40 | All files located in the node_modules and external directories are 41 | externally maintained libraries used by this software which have their 42 | own licenses; we recommend you read them, as their terms may differ from 43 | the terms above. 44 | -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/jquery-ui-1.12.1/images/ui-icons_444444_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/jquery-ui-1.12.1/images/ui-icons_444444_256x240.png -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/jquery-ui-1.12.1/images/ui-icons_555555_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/jquery-ui-1.12.1/images/ui-icons_555555_256x240.png -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/jquery-ui-1.12.1/images/ui-icons_777620_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/jquery-ui-1.12.1/images/ui-icons_777620_256x240.png -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/jquery-ui-1.12.1/images/ui-icons_777777_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/jquery-ui-1.12.1/images/ui-icons_777777_256x240.png -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/jquery-ui-1.12.1/images/ui-icons_cc0000_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/jquery-ui-1.12.1/images/ui-icons_cc0000_256x240.png -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/jquery-ui-1.12.1/images/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/static/appcrawler/jquery-ui-1.12.1/images/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/jquery-ui-1.12.1/jquery-ui.structure.min.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.12.1 - 2016-09-14 2 | * http://jqueryui.com 3 | * Copyright jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | .ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0 0;padding:.5em .5em .5em .7em;font-size:100%}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{margin:0;cursor:pointer;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-item-wrapper{position:relative;padding:3px 1em 3px .4em}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item-wrapper{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-button{padding:.4em 1em;display:inline-block;position:relative;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2em;box-sizing:border-box;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-button-icon-only{text-indent:0}.ui-button-icon-only .ui-icon{position:absolute;top:50%;left:50%;margin-top:-8px;margin-left:-8px}.ui-button.ui-icon-notext .ui-icon{padding:0;width:2.1em;height:2.1em;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-icon-notext .ui-icon{width:auto;height:auto;text-indent:0;white-space:normal;padding:.4em 1em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-controlgroup{vertical-align:middle;display:inline-block}.ui-controlgroup > .ui-controlgroup-item{float:left;margin-left:0;margin-right:0}.ui-controlgroup > .ui-controlgroup-item:focus,.ui-controlgroup > .ui-controlgroup-item.ui-visual-focus{z-index:9999}.ui-controlgroup-vertical > .ui-controlgroup-item{display:block;float:none;width:100%;margin-top:0;margin-bottom:0;text-align:left}.ui-controlgroup-vertical .ui-controlgroup-item{box-sizing:border-box}.ui-controlgroup .ui-controlgroup-label{padding:.4em 1em}.ui-controlgroup .ui-controlgroup-label span{font-size:80%}.ui-controlgroup-horizontal .ui-controlgroup-label + .ui-controlgroup-item{border-left:none}.ui-controlgroup-vertical .ui-controlgroup-label + .ui-controlgroup-item{border-top:none}.ui-controlgroup-horizontal .ui-controlgroup-label.ui-widget-content{border-right:none}.ui-controlgroup-vertical .ui-controlgroup-label.ui-widget-content{border-bottom:none}.ui-controlgroup-vertical .ui-spinner-input{width:75%;width:calc( 100% - 2.4em )}.ui-controlgroup-vertical .ui-spinner .ui-spinner-up{border-top-style:solid}.ui-checkboxradio-label .ui-icon-background{box-shadow:inset 1px 1px 1px #ccc;border-radius:.12em;border:none}.ui-checkboxradio-radio-label .ui-icon-background{width:16px;height:16px;border-radius:1em;overflow:visible;border:none}.ui-checkboxradio-radio-label.ui-checkboxradio-checked .ui-icon,.ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-icon{background-image:none;width:8px;height:8px;border-width:4px;border-style:solid}.ui-checkboxradio-disabled{pointer-events:none}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker .ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;left:.5em;top:.3em}.ui-dialog{position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-n{height:2px;top:0}.ui-dialog .ui-resizable-e{width:2px;right:0}.ui-dialog .ui-resizable-s{height:2px;bottom:0}.ui-dialog .ui-resizable-w{width:2px;left:0}.ui-dialog .ui-resizable-se,.ui-dialog .ui-resizable-sw,.ui-dialog .ui-resizable-ne,.ui-dialog .ui-resizable-nw{width:7px;height:7px}.ui-dialog .ui-resizable-se{right:0;bottom:0}.ui-dialog .ui-resizable-sw{left:0;bottom:0}.ui-dialog .ui-resizable-ne{right:0;top:0}.ui-dialog .ui-resizable-nw{left:0;top:0}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-draggable-handle{-ms-touch-action:none;touch-action:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block;-ms-touch-action:none;touch-action:none}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("data:image/gif;base64,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");height:100%;filter:alpha(opacity=25);opacity:0.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-selectable{-ms-touch-action:none;touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-selectmenu-menu{padding:0;margin:0;position:absolute;top:0;left:0;display:none}.ui-selectmenu-menu .ui-menu{overflow:auto;overflow-x:hidden;padding-bottom:1px}.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup{font-size:1em;font-weight:bold;line-height:1.5;padding:2px 0.4em;margin:0.5em 0 0 0;height:auto;border:0}.ui-selectmenu-open{display:block}.ui-selectmenu-text{display:block;margin-right:20px;overflow:hidden;text-overflow:ellipsis}.ui-selectmenu-button.ui-button{text-align:left;white-space:nowrap;width:14em}.ui-selectmenu-icon.ui-icon{float:right;margin-top:0}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:.222em 0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:2em}.ui-spinner-button{width:1.6em;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top-style:none;border-bottom-style:none;border-right-style:none}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px}body .ui-tooltip{border-width:2px} -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/jquery-ui-1.12.1/jquery-ui.theme.min.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.12.1 - 2016-09-14 2 | * http://jqueryui.com 3 | * Copyright jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | .ui-widget{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget.ui-widget-content{border:1px solid #c5c5c5}.ui-widget-content{border:1px solid #ddd;background:#fff;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #ddd;background:#e9e9e9;color:#333;font-weight:bold}.ui-widget-header a{color:#333}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default,.ui-button,html .ui-button.ui-state-disabled:hover,html .ui-button.ui-state-disabled:active{border:1px solid #c5c5c5;background:#f6f6f6;font-weight:normal;color:#454545}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited,a.ui-button,a:link.ui-button,a:visited.ui-button,.ui-button{color:#454545;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus,.ui-button:hover,.ui-button:focus{border:1px solid #ccc;background:#ededed;font-weight:normal;color:#2b2b2b}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited,a.ui-button:hover,a.ui-button:focus{color:#2b2b2b;text-decoration:none}.ui-visual-focus{box-shadow:0 0 3px 1px rgb(94,158,214)}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active,a.ui-button:active,.ui-button:active,.ui-button.ui-state-active:hover{border:1px solid #003eff;background:#007fff;font-weight:normal;color:#fff}.ui-icon-background,.ui-state-active .ui-icon-background{border:#003eff;background-color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #dad55e;background:#fffa90;color:#777620}.ui-state-checked{border:1px solid #dad55e;background:#fffa90}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#777620}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #f1a899;background:#fddfdf;color:#5f3f3f}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#5f3f3f}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#5f3f3f}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_444444_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_444444_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon,.ui-button:hover .ui-icon,.ui-button:focus .ui-icon{background-image:url("images/ui-icons_555555_256x240.png")}.ui-state-active .ui-icon,.ui-button:active .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-highlight .ui-icon,.ui-button .ui-state-highlight.ui-icon{background-image:url("images/ui-icons_777620_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_cc0000_256x240.png")}.ui-button .ui-icon{background-image:url("images/ui-icons_777777_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-caret-1-n{background-position:0 0}.ui-icon-caret-1-ne{background-position:-16px 0}.ui-icon-caret-1-e{background-position:-32px 0}.ui-icon-caret-1-se{background-position:-48px 0}.ui-icon-caret-1-s{background-position:-65px 0}.ui-icon-caret-1-sw{background-position:-80px 0}.ui-icon-caret-1-w{background-position:-96px 0}.ui-icon-caret-1-nw{background-position:-112px 0}.ui-icon-caret-2-n-s{background-position:-128px 0}.ui-icon-caret-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-65px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-65px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:1px -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:3px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:3px}.ui-widget-overlay{background:#aaa;opacity:.003;filter:Alpha(Opacity=.3)}.ui-widget-shadow{-webkit-box-shadow:0 0 5px #666;box-shadow:0 0 5px #666} -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/jquery-ui-1.12.1/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery-ui", 3 | "title": "jQuery UI", 4 | "description": "A curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.", 5 | "version": "1.12.1", 6 | "homepage": "http://jqueryui.com", 7 | "author": { 8 | "name": "jQuery Foundation and other contributors", 9 | "url": "https://github.com/jquery/jquery-ui/blob/1.12.1/AUTHORS.txt" 10 | }, 11 | "main": "ui/widget.js", 12 | "maintainers": [ 13 | { 14 | "name": "Scott González", 15 | "email": "scott.gonzalez@gmail.com", 16 | "url": "http://scottgonzalez.com" 17 | }, 18 | { 19 | "name": "Jörn Zaefferer", 20 | "email": "joern.zaefferer@gmail.com", 21 | "url": "http://bassistance.de" 22 | }, 23 | { 24 | "name": "Mike Sherov", 25 | "email": "mike.sherov@gmail.com", 26 | "url": "http://mike.sherov.com" 27 | }, 28 | { 29 | "name": "TJ VanToll", 30 | "email": "tj.vantoll@gmail.com", 31 | "url": "http://tjvantoll.com" 32 | }, 33 | { 34 | "name": "Felix Nagel", 35 | "email": "info@felixnagel.com", 36 | "url": "http://www.felixnagel.com" 37 | }, 38 | { 39 | "name": "Alex Schmitz", 40 | "email": "arschmitz@gmail.com", 41 | "url": "https://github.com/arschmitz" 42 | } 43 | ], 44 | "repository": { 45 | "type": "git", 46 | "url": "git://github.com/jquery/jquery-ui.git" 47 | }, 48 | "bugs": "https://bugs.jqueryui.com/", 49 | "license": "MIT", 50 | "scripts": { 51 | "test": "grunt" 52 | }, 53 | "dependencies": {}, 54 | "devDependencies": { 55 | "commitplease": "2.3.0", 56 | "grunt": "0.4.5", 57 | "grunt-bowercopy": "1.2.4", 58 | "grunt-cli": "0.1.13", 59 | "grunt-compare-size": "0.4.0", 60 | "grunt-contrib-concat": "0.5.1", 61 | "grunt-contrib-csslint": "0.5.0", 62 | "grunt-contrib-jshint": "0.12.0", 63 | "grunt-contrib-qunit": "1.0.1", 64 | "grunt-contrib-requirejs": "0.4.4", 65 | "grunt-contrib-uglify": "0.11.1", 66 | "grunt-git-authors": "3.1.0", 67 | "grunt-html": "6.0.0", 68 | "grunt-jscs": "2.1.0", 69 | "load-grunt-tasks": "3.4.0", 70 | "rimraf": "2.5.1", 71 | "testswarm": "1.1.0" 72 | }, 73 | "keywords": [] 74 | } 75 | -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/js/app.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | 3 | var $fullText = $('.admin-fullText'); 4 | $('#admin-fullscreen').on('click', function() { 5 | $.AMUI.fullscreen.toggle(); 6 | }); 7 | 8 | $(document).on($.AMUI.fullscreen.raw.fullscreenchange, function() { 9 | $fullText.text($.AMUI.fullscreen.isFullscreen ? '退出全屏' : '开启全屏'); 10 | }); 11 | 12 | 13 | var dataType = $('body').attr('data-type'); 14 | for (key in pageData) { 15 | if (key == dataType) { 16 | pageData[key](); 17 | } 18 | } 19 | 20 | $('.tpl-switch').find('.tpl-switch-btn-view').on('click', function() { 21 | $(this).prev('.tpl-switch-btn').prop("checked", function() { 22 | if ($(this).is(':checked')) { 23 | return false 24 | } else { 25 | return true 26 | } 27 | }) 28 | // console.log('123123123') 29 | 30 | }) 31 | }) 32 | // ========================== 33 | // 侧边导航下拉列表 34 | // ========================== 35 | 36 | $('.tpl-left-nav-link-list').on('click', function() { 37 | $(this).siblings('.tpl-left-nav-sub-menu').slideToggle(80) 38 | .end() 39 | .find('.tpl-left-nav-more-ico').toggleClass('tpl-left-nav-more-ico-rotate'); 40 | }) 41 | // ========================== 42 | // 头部导航隐藏菜单 43 | // ========================== 44 | 45 | $('.tpl-header-nav-hover-ico').on('click', function() { 46 | $('.tpl-left-nav').toggle(); 47 | $('.tpl-content-wrapper').toggleClass('tpl-content-wrapper-hover'); 48 | }) 49 | 50 | 51 | // 页面数据 52 | var pageData = { 53 | // =============================================== 54 | // 首页 55 | // =============================================== 56 | 'index': function indexData() { 57 | 58 | 59 | var myScroll = new IScroll('#wrapper', { 60 | scrollbars: true, 61 | mouseWheel: true, 62 | interactiveScrollbars: true, 63 | shrinkScrollbars: 'scale', 64 | preventDefault: false, 65 | fadeScrollbars: true 66 | }); 67 | 68 | var myScrollA = new IScroll('#wrapperA', { 69 | scrollbars: true, 70 | mouseWheel: true, 71 | interactiveScrollbars: true, 72 | shrinkScrollbars: 'scale', 73 | preventDefault: false, 74 | fadeScrollbars: true 75 | }); 76 | 77 | var myScrollB = new IScroll('#wrapperB', { 78 | scrollbars: true, 79 | mouseWheel: true, 80 | interactiveScrollbars: true, 81 | shrinkScrollbars: 'scale', 82 | preventDefault: false, 83 | fadeScrollbars: true 84 | }); 85 | 86 | 87 | 88 | // document.addEventListener('touchmove', function(e) { e.preventDefault(); }, false); 89 | 90 | // ========================== 91 | // 百度图表A http://echarts.baidu.com/ 92 | // ========================== 93 | 94 | var echartsA = echarts.init(document.getElementById('tpl-echarts-A')); 95 | option = { 96 | 97 | tooltip: { 98 | trigger: 'axis', 99 | }, 100 | legend: { 101 | data: ['邮件', '媒体', '资源'] 102 | }, 103 | grid: { 104 | left: '3%', 105 | right: '4%', 106 | bottom: '3%', 107 | containLabel: true 108 | }, 109 | xAxis: [{ 110 | type: 'category', 111 | boundaryGap: true, 112 | data: ['周一', '周二', '周三', '周四', '周五', '周六', '周日'] 113 | }], 114 | 115 | yAxis: [{ 116 | type: 'value' 117 | }], 118 | series: [{ 119 | name: '邮件', 120 | type: 'line', 121 | stack: '总量', 122 | areaStyle: { normal: {} }, 123 | data: [120, 132, 101, 134, 90, 230, 210], 124 | itemStyle: { 125 | normal: { 126 | color: '#59aea2' 127 | }, 128 | emphasis: { 129 | 130 | } 131 | } 132 | }, 133 | { 134 | name: '媒体', 135 | type: 'line', 136 | stack: '总量', 137 | areaStyle: { normal: {} }, 138 | data: [220, 182, 191, 234, 290, 330, 310], 139 | itemStyle: { 140 | normal: { 141 | color: '#e7505a' 142 | } 143 | } 144 | }, 145 | { 146 | name: '资源', 147 | type: 'line', 148 | stack: '总量', 149 | areaStyle: { normal: {} }, 150 | data: [150, 232, 201, 154, 190, 330, 410], 151 | itemStyle: { 152 | normal: { 153 | color: '#32c5d2' 154 | } 155 | } 156 | } 157 | ] 158 | }; 159 | echartsA.setOption(option); 160 | }, 161 | // =============================================== 162 | // 图表页 163 | // =============================================== 164 | 'chart': function chartData() { 165 | // ========================== 166 | // 百度图表A http://echarts.baidu.com/ 167 | // ========================== 168 | 169 | var echartsC = echarts.init(document.getElementById('tpl-echarts-C')); 170 | 171 | 172 | optionC = { 173 | tooltip: { 174 | trigger: 'axis' 175 | }, 176 | toolbox: { 177 | top: '0', 178 | feature: { 179 | dataView: { show: true, readOnly: false }, 180 | magicType: { show: true, type: ['line', 'bar'] }, 181 | restore: { show: true }, 182 | saveAsImage: { show: true } 183 | } 184 | }, 185 | legend: { 186 | data: ['蒸发量', '降水量', '平均温度'] 187 | }, 188 | xAxis: [{ 189 | type: 'category', 190 | data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'] 191 | }], 192 | yAxis: [{ 193 | type: 'value', 194 | name: '水量', 195 | min: 0, 196 | max: 250, 197 | interval: 50, 198 | axisLabel: { 199 | formatter: '{value} ml' 200 | } 201 | }, 202 | { 203 | type: 'value', 204 | name: '温度', 205 | min: 0, 206 | max: 25, 207 | interval: 5, 208 | axisLabel: { 209 | formatter: '{value} °C' 210 | } 211 | } 212 | ], 213 | series: [{ 214 | name: '蒸发量', 215 | type: 'bar', 216 | data: [2.0, 4.9, 7.0, 23.2, 25.6, 76.7, 135.6, 162.2, 32.6, 20.0, 6.4, 3.3] 217 | }, 218 | { 219 | name: '降水量', 220 | type: 'bar', 221 | data: [2.6, 5.9, 9.0, 26.4, 28.7, 70.7, 175.6, 182.2, 48.7, 18.8, 6.0, 2.3] 222 | }, 223 | { 224 | name: '平均温度', 225 | type: 'line', 226 | yAxisIndex: 1, 227 | data: [2.0, 2.2, 3.3, 4.5, 6.3, 10.2, 20.3, 23.4, 23.0, 16.5, 12.0, 6.2] 228 | } 229 | ] 230 | }; 231 | 232 | echartsC.setOption(optionC); 233 | 234 | var echartsB = echarts.init(document.getElementById('tpl-echarts-B')); 235 | optionB = { 236 | tooltip: { 237 | trigger: 'axis' 238 | }, 239 | legend: { 240 | x: 'center', 241 | data: ['某软件', '某主食手机', '某水果手机', '降水量', '蒸发量'] 242 | }, 243 | radar: [{ 244 | indicator: [ 245 | { text: '品牌', max: 100 }, 246 | { text: '内容', max: 100 }, 247 | { text: '可用性', max: 100 }, 248 | { text: '功能', max: 100 } 249 | ], 250 | center: ['25%', '40%'], 251 | radius: 80 252 | }, 253 | { 254 | indicator: [ 255 | { text: '外观', max: 100 }, 256 | { text: '拍照', max: 100 }, 257 | { text: '系统', max: 100 }, 258 | { text: '性能', max: 100 }, 259 | { text: '屏幕', max: 100 } 260 | ], 261 | radius: 80, 262 | center: ['50%', '60%'], 263 | }, 264 | { 265 | indicator: (function() { 266 | var res = []; 267 | for (var i = 1; i <= 12; i++) { 268 | res.push({ text: i + '月', max: 100 }); 269 | } 270 | return res; 271 | })(), 272 | center: ['75%', '40%'], 273 | radius: 80 274 | } 275 | ], 276 | series: [{ 277 | type: 'radar', 278 | tooltip: { 279 | trigger: 'item' 280 | }, 281 | itemStyle: { normal: { areaStyle: { type: 'default' } } }, 282 | data: [{ 283 | value: [60, 73, 85, 40], 284 | name: '某软件' 285 | }] 286 | }, 287 | { 288 | type: 'radar', 289 | radarIndex: 1, 290 | data: [{ 291 | value: [85, 90, 90, 95, 95], 292 | name: '某主食手机' 293 | }, 294 | { 295 | value: [95, 80, 95, 90, 93], 296 | name: '某水果手机' 297 | } 298 | ] 299 | }, 300 | { 301 | type: 'radar', 302 | radarIndex: 2, 303 | itemStyle: { normal: { areaStyle: { type: 'default' } } }, 304 | data: [{ 305 | name: '降水量', 306 | value: [2.6, 5.9, 9.0, 26.4, 28.7, 70.7, 75.6, 82.2, 48.7, 18.8, 6.0, 2.3], 307 | }, 308 | { 309 | name: '蒸发量', 310 | value: [2.0, 4.9, 7.0, 23.2, 25.6, 76.7, 35.6, 62.2, 32.6, 20.0, 6.4, 3.3] 311 | } 312 | ] 313 | } 314 | ] 315 | }; 316 | echartsB.setOption(optionB); 317 | var echartsA = echarts.init(document.getElementById('tpl-echarts-A')); 318 | option = { 319 | 320 | tooltip: { 321 | trigger: 'axis', 322 | }, 323 | legend: { 324 | data: ['邮件', '媒体', '资源'] 325 | }, 326 | grid: { 327 | left: '3%', 328 | right: '4%', 329 | bottom: '3%', 330 | containLabel: true 331 | }, 332 | xAxis: [{ 333 | type: 'category', 334 | boundaryGap: true, 335 | data: ['周一', '周二', '周三', '周四', '周五', '周六', '周日'] 336 | }], 337 | 338 | yAxis: [{ 339 | type: 'value' 340 | }], 341 | series: [{ 342 | name: '邮件', 343 | type: 'line', 344 | stack: '总量', 345 | areaStyle: { normal: {} }, 346 | data: [120, 132, 101, 134, 90, 230, 210], 347 | itemStyle: { 348 | normal: { 349 | color: '#59aea2' 350 | }, 351 | emphasis: { 352 | 353 | } 354 | } 355 | }, 356 | { 357 | name: '媒体', 358 | type: 'line', 359 | stack: '总量', 360 | areaStyle: { normal: {} }, 361 | data: [220, 182, 191, 234, 290, 330, 310], 362 | itemStyle: { 363 | normal: { 364 | color: '#e7505a' 365 | } 366 | } 367 | }, 368 | { 369 | name: '资源', 370 | type: 'line', 371 | stack: '总量', 372 | areaStyle: { normal: {} }, 373 | data: [150, 232, 201, 154, 190, 330, 410], 374 | itemStyle: { 375 | normal: { 376 | color: '#32c5d2' 377 | } 378 | } 379 | } 380 | ] 381 | }; 382 | echartsA.setOption(option); 383 | } 384 | } -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/js/app_c.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by yyfaxx on 2018/7/9. 3 | */ 4 | //后门杀手锏 5 | // $(document).on('click', "#fycstop", function () { 6 | // var udid = $("#fycudid").val(); 7 | // $.ajax({ 8 | // url: '/appcrawler/stopMinicap', 9 | // type: 'GET', 10 | // datatype: 'json', 11 | // data: {'udid': udid} 12 | // }).done(function (data) { 13 | // if (data.data == 'True') { 14 | // PassAlert('关闭成功'); 15 | // //$("#frameHere").empty(); 16 | // //$("#AppiumMessage").empty(); 17 | // } else if (data.data == 'False') { 18 | // WarningAlert('关闭失败!请重新点击关屏!'); 19 | // } else if (data.data == 'Error') { 20 | // ErrorAlert('系统错误,请联系管理员!!') 21 | // } 22 | // }); 23 | // }); 24 | // $(document).on('click', "#fycstopall", function () { 25 | // $.ajax({ 26 | // url: '/appcrawler/stopServer', 27 | // type: 'GET', 28 | // datatype: 'json', 29 | // beforeSend: function () { 30 | // PassAlert('全部干掉了...所有的...'); 31 | // } 32 | // }) 33 | // }); 34 | 35 | $(document).on("click", ".btn-xs", function () { 36 | var cls = $(this).attr('class'); 37 | var udid = $(this).parent("td").attr("id"); 38 | if (cls == 'btn btn-primary btn-xs') { 39 | $.ajax({ 40 | url: '/appcrawler/runAppiumSigle', 41 | type: 'GET', 42 | datatype: 'json', 43 | data: {'udid': udid} 44 | }).done(function (data) { 45 | if (data.data == 'False') { 46 | WarningAlert('Appium进程已启动,请勿重复启动!') 47 | } else { 48 | PassAlert('正在启动,请稍候。。') 49 | } 50 | }) 51 | } else if (cls == 'btn btn-warning btn-xs') { 52 | $.ajax({ 53 | url: '/appcrawler/stopAppiumSigle', 54 | type: 'GET', 55 | datatype: 'json', 56 | data: {'udid': udid} 57 | }).done(function (data) { 58 | if (data.data == 'True') { 59 | PassAlert('Appium终止成功') 60 | } else if (data.data == 'False') { 61 | WarningAlert('未找到指定Appium进程,应该不存在此进程') 62 | } else { 63 | ErrorAlert('系统错误!请联系管理员') 64 | } 65 | }) 66 | } else if (cls == 'btn btn-default btn-xs') { 67 | var htmlUDID = $("iframe").attr('name'); 68 | if (typeof(htmlUDID) == 'undefined') { 69 | $.ajax({ 70 | url: '/appcrawler/startMinicap', 71 | type: 'GET', 72 | datatype: 'json', 73 | data: {'udid': udid, 'test': 'True'} 74 | }).done(function (data) { 75 | if (data.data == 'False') { 76 | WarningAlert('该设备投屏已被其他人占用,请更换设备使用!'); 77 | } else { 78 | $.ajax({ 79 | url: '/appcrawler/startMinicap', 80 | type: 'GET', 81 | datatype: 'json', 82 | data: {'udid': udid, 'test': 'False'}, 83 | beforeSend: function () { 84 | $('#AlertTitle').html('

提示

'); 85 | $('#msg').html('稍候,不要刷新页面,马上就好'); 86 | $('#myModal').modal('show'); 87 | } 88 | }).done(function (data) { 89 | $('#myModal').modal('hide'); 90 | if (data.data == 'True') { 91 | $("#AppiumMessage").empty(); 92 | $("#AppiumMessage").html("正在控制:" + data.name); 93 | // var lens = $("#AppiumTbody").find("tr").length; 94 | // for(var i=0;i') 104 | 105 | } else { 106 | ErrorAlert('系统错误,请联系管理员') 107 | } 108 | }) 109 | } 110 | }) 111 | } else { 112 | WarningAlert('已有投屏啦,不要重复打开了!') 113 | } 114 | 115 | } else if (cls == 'btn btn-danger btn-xs') { 116 | var htmlUDID = $("iframe").attr('name'); 117 | var mod = $("#tagadmin").text(); 118 | if (htmlUDID == udid || mod == 'Admin') { 119 | $.ajax({ 120 | url: '/appcrawler/stopMinicap', 121 | type: 'GET', 122 | datatype: 'json', 123 | data: {'udid': udid} 124 | }).done(function (data) { 125 | if (data.data == 'True') { 126 | PassAlert('关闭成功'); 127 | $("#frameHere").empty(); 128 | $("#AppiumMessage").empty(); 129 | $("#AppiumMessage").html('用完请及时关闭投屏,以免影响其他人使用!!'); 130 | } else if (data.data == 'False') { 131 | WarningAlert('关闭失败!请重新点击关屏!'); 132 | } else if (data.data == 'Error') { 133 | ErrorAlert('系统错误,请联系管理员!!') 134 | } 135 | }) 136 | } else if (typeof(htmlUDID) == 'undefined') { 137 | WarningAlert("大哥,你要先开启一个投屏才可以关闭啊,你说对不对?") 138 | } else { 139 | WarningAlert("我说。。你不要关闭其他人的投屏,别这么搞,不合适。。") 140 | } 141 | 142 | } 143 | 144 | }); 145 | 146 | function PassAlert(msg) { 147 | $('#AlertTitle').html(''); 148 | $('#msg').html(msg); 149 | $('#myModal').modal('show'); 150 | setTimeout(function () { 151 | $("#myModal").modal("hide"); 152 | $('#AlertTitle').empty(); 153 | $('#msg').empty() 154 | }, 1000); 155 | } 156 | function WarningAlert(msg) { 157 | $('#AlertTitle').html(''); 158 | $('#msg').html(msg); 159 | $('#myModal').modal('show'); 160 | setTimeout(function () { 161 | $("#myModal").modal("hide"); 162 | $('#AlertTitle').empty(); 163 | $('#msg').empty() 164 | }, 1000); 165 | } 166 | function ErrorAlert(msg) { 167 | $('#AlertTitle').html(''); 168 | $('#msg').html(msg); 169 | $('#myModal').modal('show'); 170 | setTimeout(function () { 171 | $("#myModal").modal("hide"); 172 | $('#AlertTitle').empty(); 173 | $('#msg').empty() 174 | }, 1000); 175 | } 176 | -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/js/index.js: -------------------------------------------------------------------------------- 1 | // Toggle Function 2 | $('.toggle').click(function(){ 3 | // Switches the Icon 4 | $(this).children('i').toggleClass('fa-pencil'); 5 | // Switches the forms 6 | $('.form').animate({ 7 | height: "toggle", 8 | 'padding-top': 'toggle', 9 | 'padding-bottom': 'toggle', 10 | opacity: "toggle" 11 | }, "slow"); 12 | }); -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/js/login.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | I built this login form to block the front end of most of my freelance wordpress projects during the development stage. 4 | 5 | This is just the HTML / CSS of it but it uses wordpress's login system. 6 | 7 | Nice and Simple 8 | 9 | */ -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /apps/appcrawler/static/appcrawler/scss/style.scss: -------------------------------------------------------------------------------- 1 | /* The version of Bourbon used in this Pen was 4.* */ 2 | @import "bourbon"; 3 | 4 | // Main Colors 5 | $accent: null; 6 | $white: #ffffff; 7 | $black: #000000; 8 | $dark-gray: lighten($black, 20%); 9 | $gray: lighten($black, 40%); 10 | $light-gray: lighten($black, 60%); 11 | $lighter-gray: lighten($black, 80%); 12 | 13 | // Pen Settings 14 | $accent: #33b5e5; 15 | $module-width: 320px; 16 | 17 | body { 18 | background: #e9e9e9; 19 | color: $gray; 20 | font-family: 'RobotoDraft', 'Roboto', sans-serif; 21 | font-size: 14px; 22 | -webkit-font-smoothing: antialiased; 23 | -moz-osx-font-smoothing: grayscale; 24 | } 25 | 26 | /* Pen Title */ 27 | .pen-title { 28 | padding: 50px 0; 29 | text-align: center; 30 | letter-spacing: 2px; 31 | h1 { 32 | margin: 0 0 20px; 33 | font-size: 48px; 34 | font-weight: 300; 35 | } 36 | span { 37 | font-size: 12px; 38 | .fa { 39 | color: $accent; 40 | } 41 | a { 42 | color: $accent; 43 | font-weight: 600; 44 | text-decoration: none; 45 | } 46 | } 47 | } 48 | 49 | /* Form Module */ 50 | .form-module { 51 | position: relative; 52 | background: $white; 53 | max-width: $module-width; 54 | width: 100%; 55 | border-top: 5px solid $accent; 56 | box-shadow: 0 0 3px rgba($black, .1); 57 | margin: 0 auto; 58 | .toggle { 59 | cursor: pointer; 60 | position: absolute; 61 | top: -0; 62 | right: -0; 63 | background: $accent; 64 | width: 30px; 65 | height: 30px; 66 | margin: -5px 0 0; 67 | color: $white; 68 | font-size: 12px; 69 | line-height: 30px; 70 | text-align: center; 71 | .tooltip { 72 | position: absolute; 73 | top: 5px; 74 | right: -65px; 75 | display: block; 76 | background: rgba($black, .6%); 77 | width: auto; 78 | padding: 5px; 79 | font-size: 10px; 80 | line-height: 1; 81 | text-transform: uppercase; 82 | &:before { 83 | content: ''; 84 | position: absolute; 85 | top: 5px; 86 | left: -5px; 87 | display: block; 88 | border-top: 5px solid transparent; 89 | border-bottom: 5px solid transparent; 90 | border-right: 5px solid rgba($black, .6); 91 | } 92 | } 93 | } 94 | .form { 95 | display: none; 96 | padding: 40px; 97 | &:nth-child(2) { 98 | display: block; 99 | } 100 | } 101 | h2 { 102 | margin: 0 0 20px; 103 | color: $accent; 104 | font-size: 18px; 105 | font-weight: 400; 106 | line-height: 1; 107 | } 108 | input { 109 | outline: none; 110 | display: block; 111 | width: 100%; 112 | border: 1px solid darken($white, 15%); 113 | margin: 0 0 20px; 114 | padding: 10px 15px; 115 | box-sizing: border-box; 116 | font-wieght: 400; 117 | @include transition(.3s ease); 118 | &:focus { 119 | border: 1px solid $accent; 120 | color: $dark-gray; 121 | } 122 | } 123 | button { 124 | cursor: pointer; 125 | background: $accent; 126 | width: 100%; 127 | border: 0; 128 | padding: 10px 15px; 129 | color: $white; 130 | @include transition(.3s ease); 131 | &:hover { 132 | background: darken($accent, 15%); 133 | } 134 | } 135 | .cta { 136 | background: darken($white, 5%); 137 | width: 100%; 138 | padding: 15px 40px; 139 | box-sizing: border-box; 140 | color: $gray; 141 | font-size: 12px; 142 | text-align: center; 143 | a { 144 | color: $dark-gray; 145 | text-decoration: none; 146 | } 147 | } 148 | } -------------------------------------------------------------------------------- /apps/appcrawler/tasks.py: -------------------------------------------------------------------------------- 1 | # -*-coding:utf-8-*- 2 | # 请求的异步任务调度 3 | 4 | from MAT.celery import app 5 | import startappium 6 | 7 | @app.task 8 | def build_job(job): 9 | return startappium.Foo(job) 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /apps/appcrawler/templates/app_c.html: -------------------------------------------------------------------------------- 1 | {% extends "local_base.html" %} 2 | {% block title %}云测试机|APP执行操控页面{% endblock %} 3 | {% block yunPhone %}active{% endblock %} 4 | {% block content %} 5 |
6 |
7 |
8 | 17 | 32 | 33 |
34 |

35 | 云真机 36 |

37 |
38 |
用完请及时关闭投屏,以免影响其他人使用!! 39 |
40 |
41 |
42 | 43 | 44 | 45 | 46 | {# #} 47 | {# #} 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 |
DevicesUDIDPortStatusAppiumControl
56 |
57 |
58 |
59 |
60 | 81 |
82 |
83 | 94 |
95 | 203 | {% endblock %} 204 | -------------------------------------------------------------------------------- /apps/appcrawler/templates/local_base.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {% block title %}{% endblock %} 6 | {% load static %} 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 38 | 39 | 40 |
41 | 64 |
65 | 66 | 67 | 68 |
69 | {% block content %}{% endblock %} 70 |
71 | 72 | -------------------------------------------------------------------------------- /apps/appcrawler/templates/post_result.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/apps/appcrawler/templates/post_result.html -------------------------------------------------------------------------------- /apps/appcrawler/templates/upload.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | www.jb51.net JS文件拖拽上传 6 | 20 | 79 | 80 | 81 | 82 |
请将文件拖拽到此区域
83 | 84 | -------------------------------------------------------------------------------- /apps/appcrawler/tests.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from __future__ import unicode_literals 3 | 4 | from django.test import TestCase 5 | 6 | # Create your tests here. 7 | import requests 8 | 9 | # s = requests.get('http://www.wanandroid.com/project/list/1/json?cid=1') 10 | # # print s.content 11 | # 12 | # ss = {"datas": [{ 13 | # "status": "", 14 | # "devices": ""}, 15 | # ]} 16 | # 17 | # t = 'http://10.126.1.52/appcrawler/getAppiumList?devices=mobiles' 18 | # print requests.get(t).content 19 | 20 | 21 | ss = {"status": "01", 22 | "datas": [{"status": "10", "devices": "2"}, 23 | {"status": "11", "devices": "2"}, 24 | {"status": "111", "devices": "2"}, 25 | {"status": "1111", "devices": "2"}, 26 | {"status": "11111", "devices": "2"}]} 27 | 28 | 29 | def test(sourceText, key, l, t): 30 | if type(sourceText) != dict: 31 | sourceText = eval(sourceText) 32 | else: 33 | pass 34 | for j, q in sourceText.items(): 35 | if j == key: 36 | l.append(q) 37 | else: 38 | if type(q) == list: 39 | for i in q: 40 | t = t + 1 41 | test(i, key, l, t) 42 | return l, t 43 | 44 | 45 | if __name__ == '__main__': 46 | l = [] 47 | t = 0 48 | s = test(ss, 'status', l, t) 49 | print s 50 | -------------------------------------------------------------------------------- /apps/appcrawler/urls.py: -------------------------------------------------------------------------------- 1 | # -*-coding=utf-8-*- 2 | 3 | from django.conf.urls import url 4 | from views import * 5 | 6 | 7 | urlpatterns = { 8 | url(r'startServer', startServer, name='start appiumServer and appcrawlerServer'), 9 | url(r'stopServer', stopServer, name='stop appiumServer'), 10 | url(r'stopServer', stopServer, name='stop all serveices'), 11 | url(r'runTest', runTest, name='start appcrawlerServer'), 12 | url(r'getAppiumList', getAppiumList, name='get AppiumServer information'), 13 | url(r'runAppiumSigle', runAppiumSigle, name='start appium for someone'), 14 | url(r'stopAppiumSigle', stopAppiumSigle, name='stop appium for someome'), 15 | url(r'startMinicap', startMinicap, name='start minicap server'), 16 | url(r'minicapView', minicapView, name='return minicap view'), 17 | url(r'stopMinicap', stopMinicap, name='stop minicap view'), 18 | # url(r'minitouchSocket', minitouchSocket, name='do minitouch action'), 19 | url(r'ctrlMobilePhone', ctrlMobilePhone, name='ctrl Mobile Phone'), 20 | url(r'sendkey', sendkey, name='send key to phone'), 21 | url(r'getDevicesXML', getDevicesXML, name='get xml and return html'), 22 | url(r'liDetail', liDetail, name='get xml li detail'), 23 | url(r'deleYml', deleYml, name='dele yaml'), 24 | url(r'uploadFile', uploadFile, name='uploadFile'), 25 | url(r'getXY', getXY, name='getXY'), 26 | url(r'getUDID', getUDID, name='getUDID'), 27 | url(r'getUDID', getUDID, name='getUDID') 28 | # url(r'testhtml', testhtml), 29 | # url(r'mytest', mytest, name='mytest'), 30 | # url(r'testStop', testStop), 31 | } 32 | -------------------------------------------------------------------------------- /django_uwsgi.xml: -------------------------------------------------------------------------------- 1 | 2 | :8077 3 | /MAT 4 | django_wsgi 5 | 4 6 | /MAT/log/uwsgi.log 7 | 8 | 10000000 9 | uwsgi.pid 10 | true 11 | true 12 | -------------------------------------------------------------------------------- /django_wsgi.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # coding: utf-8 3 | 4 | import os 5 | import sys 6 | 7 | # 将系统的编码设置为UTF8 8 | reload(sys) 9 | sys.setdefaultencoding('utf8') 10 | 11 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "MAT.settings")#mysite替换为自己的项目名 12 | 13 | from django.core.handlers.wsgi import WSGIHandler 14 | application = WSGIHandler() 15 | 16 | -------------------------------------------------------------------------------- /make.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ### END INIT INFO 3 | case $1 in 4 | start) # 服务启动需要做的步骤 5 | echo "----正在启动-----" 6 | kill -9 $(ps -ef|grep adb |awk '$0 !~/grep/ {print $2}' |tr -s '\n' ' ') > /dev/null 7 | rm -rf static > /dev/null 8 | python manage.py collectstatic > /dev/null 9 | sleep 1s 10 | uwsgi -x django_uwsgi.xml 11 | sleep 1s 12 | sudo nginx 13 | echo "----启动成功-----" 14 | ;; 15 | stop) # 服务停止需要做的步骤 16 | echo "----正在停止-----" 17 | rm -rf static > /dev/null 18 | kill -9 $(ps -ef|grep node |awk '$0 !~/grep/ {print $2}' |tr -s '\n' ' ') 19 | kill -9 $(ps -ef|grep adb |awk '$0 !~/grep/ {print $2}' |tr -s '\n' ' ') > /dev/null 20 | sleep 1s 21 | kill -9 $(ps -ef|grep uwsgi |awk '$0 !~/grep/ {print $2}' |tr -s '\n' ' ') 22 | uwsgi --stop uwsgi.pid 23 | sleep 1s 24 | sudo nginx -s stop 25 | echo "----停止成功-----" 26 | ;; 27 | restart) # 重启服务需要做的步骤 28 | echo "----正在重启-----" 29 | kill -9 $(ps -ef|grep node |awk '$0 !~/grep/ {print $2}' |tr -s '\n' ' ') 30 | kill -9 $(ps -ef|grep adb |awk '$0 !~/grep/ {print $2}' |tr -s '\n' ' ') > /dev/null 31 | sleep 1s 32 | uwsgi --stop uwsgi.pid 33 | sleep 1s 34 | sudo nginx -s stop 35 | kill -9 $(ps -ef|grep adb |awk '$0 !~/grep/ {print $2}' |tr -s '\n' ' ') > /dev/null 36 | uwsgi -x django_uwsgi.xml 37 | sleep 1s 38 | sudo nginx 39 | echo "----重启成功-----" 40 | ;; 41 | esac -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | import os 3 | import sys 4 | 5 | if __name__ == "__main__": 6 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "MAT.settings") 7 | try: 8 | from django.core.management import execute_from_command_line 9 | except ImportError: 10 | # The above import may fail for some other reason. Ensure that the 11 | # issue is really that Django is missing to avoid masking other 12 | # exceptions on Python 2. 13 | try: 14 | import django 15 | except ImportError: 16 | raise ImportError( 17 | "Couldn't import Django. Are you sure it's installed and " 18 | "available on your PYTHONPATH environment variable? Did you " 19 | "forget to activate a virtual environment?" 20 | ) 21 | raise 22 | execute_from_command_line(sys.argv) 23 | -------------------------------------------------------------------------------- /readmeHELP: -------------------------------------------------------------------------------- 1 | MAT是一个轻量级移动设备自动化管理系统 2 | 3 | 功能简介: 4 | 1.自动化遍历功能,一键启动遍历测试---已去除 5 | 2.自动化终端设备管理系统,远程启动Appium,支持移动端投屏到web端 6 | 7 | 开发环境:macOS 8 | 环境安装: 9 | python2.7.15 10 | Django1.11.7 11 | Appium1.8.1 12 | Appclawler2-1.3.jar 13 | 14 | 应用Celery做异步任务调度: 15 | 1.安装celery 16 | pip install -U celery[redis] 17 | 18 | 2.安装 redis-server 19 | brew install redis 20 | 21 | 添加redis到环境变量: 22 | 1.open -e .bash_profile 23 | 2.添加 export PATH=${PATH}:/usr/local/Cellar/redis@3.2/3.2.11/bin 24 | 3.source .bash_profile 25 | 26 | ----启动命令---- 27 | 启动redis-server: 28 | 终端命令 redis-server /Users/yyfaxx/MAT/MAT/redis.conf 29 | 30 | 启动worker,同manage.py目录下: 31 | celery -A MAT worker -l debug -c 30 32 | 33 | 启动nginx 34 | sudo nginx -s reload 35 | 36 | 启动uwsgi 37 | uwsgi -x django_uwsgi.xml 38 | 39 | 启动项目同manage.py目录下: 40 | python manage.py runerver 41 | ----------------------------------------------------------- 42 | | | 43 | |******************Django+nginx+uwsgi启动*****************| 44 | |启动 ./make.sh start | 45 | |终止 ./make.sh stop | 46 | |重启 ./make.sh restart | 47 | | | 48 | |******************redis异步队列相关************************| 49 | |启动redis-server: | 50 | |redis-server /Users/yyfaxx/MAT/MAT/redis.conf | 51 | |启动worker,同manage.py目录下: | 52 | |celery -A MAT worker -l debug -c 6 | 53 | | | 54 | ---------------------------------------------------------- 55 | adb命令合集 56 | 获取cpu版本 57 | adb shell getprop ro.product.cpu.abi | tr -d '\r' 58 | 59 | 获取系统版本(api level) 60 | adb shell getprop ro.build.version.sdk | tr -d '\r' 61 | 62 | 获取当前设备分辨率 63 | adb shell dumpsys window | grep -Eo 'init=\d+x\d+' | head -1 | cut -d= -f 2 64 | 65 | 安装minicap 66 | adb push minicap /data/local/tmp 67 | adb push minicap.so /data/local/tmp 68 | 69 | 启动minicap 70 | adb -s shell LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/minicap -P 1080x1920@1080x1920/0 71 | 72 | 本地的端口映射到minicap 73 | adb forward tcp:1717 localabstract:minicap 74 | 75 | 启动app.js 76 | node app.js 77 | 78 | 79 | 待开发,结合 80 | minitouch 执行触摸命令 81 | 82 | 功能要完善,优化。 83 | 84 | 85 | -----xml---- 86 | 获取xml 87 | adb shell uiautomator dump /sdcard/ui.xml 88 | pull到本地 89 | adb pull /sdcard/ui.xml /Users/yyfaxx/MAT/apps/appcrawler/UIxml 90 | 91 | 92 | -------------------------------------------------------------------------------- /static/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyca/open-MAT/dc15e987cdf9a59a71a5729899b448398f5747fa/static/.DS_Store -------------------------------------------------------------------------------- /uwsgi.pid: -------------------------------------------------------------------------------- 1 | 88636 2 | --------------------------------------------------------------------------------