From 8868f4ce038d6cb19a344c990e7f0a04ba4dc6d4 Mon Sep 17 00:00:00 2001 From: Seven Lju Date: Sun, 26 Feb 2017 15:49:10 +0800 Subject: [PATCH 01/74] Initial commit --- .gitignore | 37 ++++++++++++ LICENSE | 165 +++++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 2 + 3 files changed, 204 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE create mode 100644 README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5148e52 --- /dev/null +++ b/.gitignore @@ -0,0 +1,37 @@ +# Logs +logs +*.log +npm-debug.log* + +# Runtime data +pids +*.pid +*.seed + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules +jspm_packages + +# Optional npm cache directory +.npm + +# Optional REPL history +.node_repl_history diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..65c5ca8 --- /dev/null +++ b/LICENSE @@ -0,0 +1,165 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + + This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below. + + 0. Additional Definitions. + + As used herein, "this License" refers to version 3 of the GNU Lesser +General Public License, and the "GNU GPL" refers to version 3 of the GNU +General Public License. + + "The Library" refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below. + + An "Application" is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. + + A "Combined Work" is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the "Linked +Version". + + The "Minimal Corresponding Source" for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. + + The "Corresponding Application Code" for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. + + 1. Exception to Section 3 of the GNU GPL. + + You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. + + 2. Conveying Modified Versions. + + If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: + + a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + + 3. Object Code Incorporating Material from Library Header Files. + + The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this license + document. + + 4. Combined Works. + + You may convey a Combined Work under terms of your choice that, +taken together, effectively do not restrict modification of the +portions of the Library contained in the Combined Work and reverse +engineering for debugging such modifications, if you also do each of +the following: + + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license + document. + + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version. + + e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.) + + 5. Combined Libraries. + + You may place library facilities that are a work based on the +Library side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + + 6. Revised Versions of the GNU Lesser General Public License. + + The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the +Library as you received it specifies that a certain numbered version +of the GNU Lesser General Public License "or any later version" +applies to it, you have the option of following the terms and +conditions either of that published version or of any later version +published by the Free Software Foundation. If the Library as you +received it does not specify a version number of the GNU Lesser +General Public License, you may choose any version of the GNU Lesser +General Public License ever published by the Free Software Foundation. + + If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the +Library. diff --git a/README.md b/README.md new file mode 100644 index 0000000..5aff86c --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# NodeBase +Android NodeJS Platform to Build Sharable Application From 3976239d8e268622572dc18fba2f2f5d12e3d3fa Mon Sep 17 00:00:00 2001 From: Seven Lju Date: Sun, 26 Feb 2017 16:30:03 +0800 Subject: [PATCH 02/74] [nodeBase] initial commit - NodeBase platform (Android app) v0.1 - NodeBase modules - file_upload_donwload: file upload/download - werewolf: werewolf first night helper - nodepad: simple notepad --- .gitignore | 6 + NodeBase.iml | 19 + README.md | 9 + app/app.iml | 149 ++++ app/build.gradle | 29 + app/proguard-rules.pro | 17 + .../nodebase/ExampleInstrumentedTest.java | 26 + app/src/main/AndroidManifest.xml | 35 + .../seven/drawalive/nodebase/NodeBase.java | 216 ++++++ .../seven/drawalive/nodebase/NodeBaseApp.java | 128 ++++ .../drawalive/nodebase/NodeBaseServer.java | 159 +++++ .../seven/drawalive/nodebase/NodeMonitor.java | 53 ++ .../java/seven/drawalive/nodebase/Utils.java | 152 ++++ .../main/res/layout/activity_node_base.xml | 14 + app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin 0 -> 4220 bytes app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin 0 -> 2709 bytes app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 0 -> 6178 bytes .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin 0 -> 9550 bytes .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 0 -> 11693 bytes app/src/main/res/raw/test.js | 14 + app/src/main/res/values-w820dp/dimens.xml | 6 + app/src/main/res/values/colors.xml | 6 + app/src/main/res/values/dimens.xml | 5 + app/src/main/res/values/strings.xml | 3 + app/src/main/res/values/styles.xml | 11 + .../drawalive/nodebase/ExampleUnitTest.java | 17 + build.gradle | 23 + gradle.properties | 17 + gradle/wrapper/gradle-wrapper.jar | Bin 0 -> 53636 bytes gradle/wrapper/gradle-wrapper.properties | 6 + gradlew | 160 +++++ gradlew.bat | 90 +++ modules/LICENSE | 674 ++++++++++++++++++ modules/README.md | 7 + modules/file_upload_download/directory.html | 177 +++++ modules/file_upload_download/index.js | 50 ++ modules/file_upload_download/package.json | 25 + modules/file_upload_download/readme | 6 + modules/nodepad/index.js | 69 ++ modules/nodepad/package.json | 25 + modules/nodepad/readme | 3 + modules/nodepad/static/common.js | 109 +++ modules/nodepad/static/index.html | 128 ++++ modules/package.json | 40 ++ modules/template.js | 35 + modules/werewolf/index.js | 195 +++++ modules/werewolf/package.json | 25 + modules/werewolf/readme | 4 + modules/werewolf/static/common.js | 128 ++++ modules/werewolf/static/host.html | 343 +++++++++ modules/werewolf/static/index.html | 306 ++++++++ modules/werewolf/static/play.wav | Bin 0 -> 263096 bytes modules/werewolf/werewolf/werewolf.js | 160 +++++ settings.gradle | 1 + 54 files changed, 3880 insertions(+) create mode 100644 NodeBase.iml create mode 100644 app/app.iml create mode 100644 app/build.gradle create mode 100644 app/proguard-rules.pro create mode 100644 app/src/androidTest/java/seven/drawalive/nodebase/ExampleInstrumentedTest.java create mode 100644 app/src/main/AndroidManifest.xml create mode 100644 app/src/main/java/seven/drawalive/nodebase/NodeBase.java create mode 100644 app/src/main/java/seven/drawalive/nodebase/NodeBaseApp.java create mode 100644 app/src/main/java/seven/drawalive/nodebase/NodeBaseServer.java create mode 100644 app/src/main/java/seven/drawalive/nodebase/NodeMonitor.java create mode 100644 app/src/main/java/seven/drawalive/nodebase/Utils.java create mode 100644 app/src/main/res/layout/activity_node_base.xml create mode 100644 app/src/main/res/mipmap-hdpi/ic_launcher.png create mode 100644 app/src/main/res/mipmap-mdpi/ic_launcher.png create mode 100644 app/src/main/res/mipmap-xhdpi/ic_launcher.png create mode 100644 app/src/main/res/mipmap-xxhdpi/ic_launcher.png create mode 100644 app/src/main/res/mipmap-xxxhdpi/ic_launcher.png create mode 100644 app/src/main/res/raw/test.js create mode 100644 app/src/main/res/values-w820dp/dimens.xml create mode 100644 app/src/main/res/values/colors.xml create mode 100644 app/src/main/res/values/dimens.xml create mode 100644 app/src/main/res/values/strings.xml create mode 100644 app/src/main/res/values/styles.xml create mode 100644 app/src/test/java/seven/drawalive/nodebase/ExampleUnitTest.java create mode 100644 build.gradle create mode 100644 gradle.properties create mode 100644 gradle/wrapper/gradle-wrapper.jar create mode 100644 gradle/wrapper/gradle-wrapper.properties create mode 100755 gradlew create mode 100644 gradlew.bat create mode 100644 modules/LICENSE create mode 100644 modules/README.md create mode 100644 modules/file_upload_download/directory.html create mode 100644 modules/file_upload_download/index.js create mode 100644 modules/file_upload_download/package.json create mode 100644 modules/file_upload_download/readme create mode 100644 modules/nodepad/index.js create mode 100644 modules/nodepad/package.json create mode 100644 modules/nodepad/readme create mode 100644 modules/nodepad/static/common.js create mode 100644 modules/nodepad/static/index.html create mode 100644 modules/package.json create mode 100644 modules/template.js create mode 100644 modules/werewolf/index.js create mode 100644 modules/werewolf/package.json create mode 100644 modules/werewolf/readme create mode 100644 modules/werewolf/static/common.js create mode 100644 modules/werewolf/static/host.html create mode 100644 modules/werewolf/static/index.html create mode 100644 modules/werewolf/static/play.wav create mode 100644 modules/werewolf/werewolf/werewolf.js create mode 100644 settings.gradle diff --git a/.gitignore b/.gitignore index 5148e52..0035098 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,9 @@ jspm_packages # Optional REPL history .node_repl_history + +# Android +local.properties + +# MacOSX +.DS_Store diff --git a/NodeBase.iml b/NodeBase.iml new file mode 100644 index 0000000..86243e6 --- /dev/null +++ b/NodeBase.iml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/README.md b/README.md index 5aff86c..89a1de1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,11 @@ # NodeBase Android NodeJS Platform to Build Sharable Application + +# How to use + +- (notice that in this repo, there is no NodeJS binary provided, [download (ARM)](https://github.com/dna2github/dna2oslab/releases)) put compiled NodeJS binrary to `app/src/main/res/raw/bin_node_v710` +- (if not use name of `bin_node_v710`) modify `app/src/main/java/seven/drawalive/nodebase/Utils.java` at `R.raw.bin_node_v710` +- build to generate apk +- install the apk on Android phone +- do `npm install` in `modules` folder +- adb push entire `modules` to `/sdcard/.nodebase` diff --git a/app/app.iml b/app/app.iml new file mode 100644 index 0000000..82c719e --- /dev/null +++ b/app/app.iml @@ -0,0 +1,149 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle new file mode 100644 index 0000000..5ef2687 --- /dev/null +++ b/app/build.gradle @@ -0,0 +1,29 @@ +apply plugin: 'com.android.application' + +android { + compileSdkVersion 25 + buildToolsVersion "24.0.2" + defaultConfig { + applicationId "seven.drawalive.nodebase" + minSdkVersion 15 + targetSdkVersion 25 + versionCode 1 + versionName "1.0" + testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" + } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } + } +} + +dependencies { + compile fileTree(dir: 'libs', include: ['*.jar']) + androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { + exclude group: 'com.android.support', module: 'support-annotations' + }) + compile 'com.android.support:appcompat-v7:25.0.1' + testCompile 'junit:junit:4.12' +} diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro new file mode 100644 index 0000000..fdcfb67 --- /dev/null +++ b/app/proguard-rules.pro @@ -0,0 +1,17 @@ +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in /lab/android-sdk/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the proguardFiles +# directive in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} diff --git a/app/src/androidTest/java/seven/drawalive/nodebase/ExampleInstrumentedTest.java b/app/src/androidTest/java/seven/drawalive/nodebase/ExampleInstrumentedTest.java new file mode 100644 index 0000000..76c70d0 --- /dev/null +++ b/app/src/androidTest/java/seven/drawalive/nodebase/ExampleInstrumentedTest.java @@ -0,0 +1,26 @@ +package seven.drawalive.nodebase; + +import android.content.Context; +import android.support.test.InstrumentationRegistry; +import android.support.test.runner.AndroidJUnit4; + +import org.junit.Test; +import org.junit.runner.RunWith; + +import static org.junit.Assert.*; + +/** + * Instrumentation test, which will execute on an Android device. + * + * @see Testing documentation + */ +@RunWith(AndroidJUnit4.class) +public class ExampleInstrumentedTest { + @Test + public void useAppContext() throws Exception { + // Context of the app under test. + Context appContext = InstrumentationRegistry.getTargetContext(); + + assertEquals("seven.drawalive.nodebase", appContext.getPackageName()); + } +} diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..6427cfc --- /dev/null +++ b/app/src/main/AndroidManifest.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/java/seven/drawalive/nodebase/NodeBase.java b/app/src/main/java/seven/drawalive/nodebase/NodeBase.java new file mode 100644 index 0000000..014343d --- /dev/null +++ b/app/src/main/java/seven/drawalive/nodebase/NodeBase.java @@ -0,0 +1,216 @@ +package seven.drawalive.nodebase; + +import android.Manifest; +import android.content.Intent; +import android.content.pm.PackageManager; +import android.support.v4.app.ActivityCompat; +import android.support.v4.content.ContextCompat; +import android.support.v7.app.AppCompatActivity; +import android.os.Bundle; +import android.util.Log; +import android.view.View; +import android.widget.Button; +import android.widget.EditText; +import android.widget.LinearLayout; +import android.widget.ScrollView; +import android.widget.TextView; +import android.widget.Toast; + +import java.io.File; +import java.io.InputStream; + + +public class NodeBase extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + // setContentView(R.layout.activity_node_base); + + _permissionSdcard = false; + + LinearLayout view = prepareLayout(); + prepareEvents(); + preparePermissions(); + + setContentView(view); + } + + @Override + protected void onDestroy() { + nodeStop(); + super.onDestroy(); + } + + protected LinearLayout prepareLayout() { + LinearLayout view, subview; + TextView label; + + view = new LinearLayout(this); + view.setOrientation(LinearLayout.VERTICAL); + + _labelIp = new TextView(this); + _labelIp.setText(String.format("Network (%s)", Utils.getIPv4(this))); + view.addView(_labelIp); + + label = new TextView(this); + label.setText("App Root Dir:"); + view.addView(label); + + _txtAppRootDir = new EditText(this); + _txtAppRootDir.setText("/sdcard/.nodebase"); + view.addView(_txtAppRootDir); + + subview = new LinearLayout(this); + subview.setOrientation(LinearLayout.HORIZONTAL); + _btnShare = new Button(this); + _btnShare.setText("Share"); + subview.addView(_btnShare); + _btnRefreshAppList = new Button(this); + _btnRefreshAppList.setText("Refresh"); + subview.addView(_btnRefreshAppList); + _btnBinaryReset = new Button(this); + _btnBinaryReset.setText("Update"); + subview.addView(_btnBinaryReset); + view.addView(subview); + + ScrollView scroll = new ScrollView(this); + _panelAppList = new LinearLayout(this); + _panelAppList.setOrientation(LinearLayout.VERTICAL); + scroll.addView(_panelAppList); + view.addView(scroll); + + return view; + } + + protected void prepareEvents() { + _btnBinaryReset.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View view) { + Log.i("UI:Button", "Update node js binary ..."); + Utils.resetNodeJS(NodeBase.this, getApplicationInfo().dataDir); + refreshAppList(); + } + }); + + _btnRefreshAppList.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View view) { + Log.i("UI:Button", "Refresh app list ..."); + String appdir = _txtAppRootDir.getText().toString(); + Utils.prepareNodeDirectory("", appdir); + refreshAppList(); + } + }); + + _btnShare.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View view) { + Utils.shareInformation( + NodeBase.this, "Share", "NodeBase", + "Service is running at: " + _labelIp.getText(), null); + } + }); + } + + protected void preparePermissions() { + int permission; + permission = ContextCompat.checkSelfPermission( + this, Manifest.permission.WRITE_EXTERNAL_STORAGE); + if (permission != PackageManager.PERMISSION_GRANTED) { + ActivityCompat.requestPermissions( + this, + new String[] { + Manifest.permission.WRITE_EXTERNAL_STORAGE, + Manifest.permission.READ_EXTERNAL_STORAGE + }, + Utils.PERMISSIONS_EXTERNAL_STORAGE); + } + } + + @Override + public void onRequestPermissionsResult ( + int requestCode, String[] permissions, int[] grantResults) { + switch (requestCode) { + case Utils.PERMISSIONS_EXTERNAL_STORAGE: + if (grantResults.length == 0) { + _permissionSdcard = false; + } else if (grantResults[0] == PackageManager.PERMISSION_DENIED) { + _permissionSdcard = false; + } else if (grantResults[1] == PackageManager.PERMISSION_DENIED) { + _permissionSdcard = false; + } else { + _permissionSdcard = true; + } + + if (!_permissionSdcard) { + _txtAppRootDir.setText( + String.format("%s%s", getApplicationInfo().dataDir, "/.nodebase")); + } + return; + } + + } + + protected void nodeSignal(String[] args) { + Log.i("NodeBase:Signal", "Start Service"); + Log.i("NodeBase:Signal", String.format("Command - %s", args[0])); + Utils.setServiceAuthentication("NodeBase"); + Intent intent = new Intent(this, NodeBaseServer.class); + intent.putExtra("signal", args); + startService(intent); + } + + protected void nodeStop() { + Log.i("NodeBase:Signal", "Stop Service"); + Intent intent = new Intent(this, NodeBaseServer.class); + stopService(intent); + } + + protected void refreshAppList() { + String dirname = _txtAppRootDir.getText().toString(); + File approot = new File(dirname); + _panelAppList.removeAllViews(); + if (!approot.isDirectory()) { + Toast.makeText( + getApplicationContext(), + String.format("\"%s\" is not a directory", dirname), + Toast.LENGTH_SHORT).show(); + return; + } + try { + File[] files = approot.listFiles(); + for (File f : files) { + if (!f.isDirectory()) continue; + Log.i("UI:AppList", f.getAbsolutePath()); + _panelAppList.addView( + new NodeBaseApp(this, new AppAction(this), f)); + } + } catch (Exception e) { + Log.w("UI:NodeBase", "fail", e); + } + } + + public static class AppAction { + AppAction(NodeBase nodebase) { + _nodebase = nodebase; + } + + public void signal(String[] args) { + _nodebase.nodeSignal(args); + } + + public void stop() { + _nodebase.nodeStop(); + } + + private NodeBase _nodebase; + } + + private boolean _permissionSdcard; + + private TextView _labelIp; + private EditText _txtAppRootDir; + private Button _btnShare, _btnRefreshAppList, _btnBinaryReset; + private LinearLayout _panelAppList; +} diff --git a/app/src/main/java/seven/drawalive/nodebase/NodeBaseApp.java b/app/src/main/java/seven/drawalive/nodebase/NodeBaseApp.java new file mode 100644 index 0000000..8b1ec5c --- /dev/null +++ b/app/src/main/java/seven/drawalive/nodebase/NodeBaseApp.java @@ -0,0 +1,128 @@ +package seven.drawalive.nodebase; + +import android.content.Context; +import android.util.Log; +import android.view.View; +import android.widget.ArrayAdapter; +import android.widget.Button; +import android.widget.EditText; +import android.widget.LinearLayout; +import android.widget.Spinner; +import android.widget.TextView; + +import java.io.File; + +public class NodeBaseApp extends LinearLayout { + public NodeBaseApp(Context context, NodeBase.AppAction delegate, File appdir) { + super(context); + setOrientation(LinearLayout.VERTICAL); + _delegate = delegate; + _appdir = appdir; + + collectAppInformation(); + prepareLayout(); + prepareEvents(); + } + + public void collectAppInformation() { + try { + // get all app entries + // e.g. /sdcard/.nodebase/app1/{entry1.js,entry2.js,...} + File[] fentries = _appdir.listFiles(); + String[] entries = new String[fentries.length]; + int count = 0; + _readme = "(This is a NodeBase app)"; + for (int i = fentries.length - 1; i >= 0; i--) { + File fentry = fentries[i]; + entries[i] = null; + if (!fentry.isFile()) continue; + String name = fentry.getName(); + if (name.endsWith(".js")) { + entries[i] = name; + count ++; + } else if (name.toLowerCase().compareTo("readme") == 0) { + _readme = Utils.readSmallFile(fentry.getAbsolutePath()); + } + } + + _appentries = new String[count]; + for (int i = entries.length - 1; i >= 0; i--) { + if (entries[i] == null) continue; + count --; + _appentries[count] = entries[i]; + } + } catch (Exception e) { + Log.w("UI:NodeBaseApp", "fail", e); + } + } + + public void prepareLayout() { + Context context = getContext(); + TextView label; + label = new TextView(context); + label.setText(String.format("=============== App: %s ===", _appdir.getName())); + addView(label); + label = new TextView(context); + label.setText(_readme); + _readme = null; // release memory + addView(label); + label = new TextView(context); + label.setText("Entry"); + addView(label); + _listEntries = new Spinner(context); + _listEntries.setAdapter( + new ArrayAdapter( + context, android.R.layout.simple_dropdown_item_1line, _appentries)); + addView(_listEntries); + label = new TextView(context); + label.setText("Params"); + addView(label); + _txtParams = new EditText(context); + addView(_txtParams); + + LinearLayout subview = new LinearLayout(context); + subview.setOrientation(LinearLayout.HORIZONTAL); + _btnStart = new Button(context); + _btnStart.setText("Start"); + subview.addView(_btnStart); + _btnStop = new Button(context); + _btnStop.setText("Stop"); + _btnStop.setEnabled(false); + subview.addView(_btnStop); + addView(subview); + } + + public void prepareEvents() { + _btnStart.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View view) { + _btnStart.setEnabled(false); + _btnStop.setEnabled(true); + _delegate.signal( + new String[]{ + "start", + _appdir.getAbsolutePath(), + String.valueOf(_listEntries.getSelectedItem()), + _txtParams.getText().toString() + }); + } + }); + + _btnStop.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View view) { + _btnStart.setEnabled(true); + _btnStop.setEnabled(false); + _delegate.signal(new String[]{"stop"}); + } + }); + } + + private NodeBase.AppAction _delegate; + private File _appdir; + private String[] _appentries; + private Button _btnStart, _btnStop; + private Spinner _listEntries; + private EditText _txtParams; + private String _readme; +} diff --git a/app/src/main/java/seven/drawalive/nodebase/NodeBaseServer.java b/app/src/main/java/seven/drawalive/nodebase/NodeBaseServer.java new file mode 100644 index 0000000..93b982d --- /dev/null +++ b/app/src/main/java/seven/drawalive/nodebase/NodeBaseServer.java @@ -0,0 +1,159 @@ +package seven.drawalive.nodebase; + +import android.app.Service; +import android.content.Intent; +import android.os.IBinder; +import android.util.Log; + + +public class NodeBaseServer extends Service { + + public NodeBaseServer() { + _valid = false; + _crash = true; + _workdir = null; + _appdir = null; + _appentry = null; + _node = null; + } + + @Override + public IBinder onBind(Intent intent) { + throw new UnsupportedOperationException("Not yet implemented"); + } + + @Override + public int onStartCommand(Intent intent, int flags, int startId) { + authenticate(intent); + if (intent != null) { + String[] args = intent.getStringArrayExtra("signal"); + if (args.length > 0) { + switch (args[0]) { + case "start": + Log.i("Server:Command", + String.format("Server starts for \"%s\" at \"%s\"", args[2], args[1])); + startNode(args[1], args[2], args[3]); + break; + case "restart": + Log.i("Server:Command", + String.format("Server restarts for \"%s\" at \"%s\"", _appentry, _appdir)); + restartNode(); + break; + case "stop": + Log.i("Server:Command", + String.format("Server stops for \"%s\" at \"%s\"", _appentry, _appdir)); + stopNode(); + break; + } + } + } + // running until explicitly stop + return START_STICKY; + } + + @Override + public void onCreate() { + checkNodeBinaryHash(); + prepareEnvironment(); + } + + @Override + public void onDestroy() { + stopNode(); + } + + private void checkNodeBinaryHash() { + _valid = true; + } + + private void authenticate(Intent intent) { + String auth = Utils.getServiceAuthentication(); + if (auth != "NodeBase") { + _valid = false; + return; + } + Utils.setServiceAuthentication(null); + _valid = true; + } + + private void prepareEnvironment() { + if (!_valid) return; + + _workdir = this.getApplicationInfo().dataDir; + Utils.resetNodeJS(this, _workdir); + } + + public int startNode(String appdir, String appentry, String appparams) { + if (!_valid) return -1; + int result = 0; + _crash = true; + _appdir = appdir; + _appentry = appentry; + _appparams = appparams; + Utils.setServiceInfo(new String[] {_appdir, _appentry}); + + if (_node != null) { + // node is running + return result; + } + + // e.g. cd "/sdcard/.nodebase/apps/test" && + // /data/seven.drawalive.nodebase/node/node "index.js" + String[] cmd; + if (_appparams != null && _appparams.length() > 0) { + cmd = new String[] { + String.format("%s/node/node", _workdir), + String.format("%s/%s", _appdir, _appentry), + _appparams + }; + } else { + cmd = new String[] { + String.format("%s/node/node", _workdir), + String.format("%s/%s", _appdir, _appentry) + }; + } + Log.i("Server:Start", String.format("Command - %s", cmd)); + try { + _node = new NodeMonitor(this, Runtime.getRuntime().exec(cmd)); + _node.start(); + } catch (Exception e) { + Log.e("Server:Start", "Cannot start \"node\"", e); + return -2; + } + + return result; + } + + public int restartNode() { + if (!_valid) return -1; + int result = 0; + stopNode(); + startNode(_appdir, _appentry, _appparams); + return result; + } + + public int stopNode() { + if (!_valid) return -1; + int result = 0; + if (_node != null) { + _crash = false; + _node.kill(); + _node = null; + } + Utils.setServiceInfo(null); + return result; + } + + public void onNodeTerminated() { + _node = null; + if (_crash) { + // do something to deal with node crash + Utils.setServiceInfo(null); + } + } + + private boolean _valid, _crash; + private String _workdir, _appdir, _appentry, _appparams; + private NodeMonitor _node; + +} diff --git a/app/src/main/java/seven/drawalive/nodebase/NodeMonitor.java b/app/src/main/java/seven/drawalive/nodebase/NodeMonitor.java new file mode 100644 index 0000000..3d298f5 --- /dev/null +++ b/app/src/main/java/seven/drawalive/nodebase/NodeMonitor.java @@ -0,0 +1,53 @@ +package seven.drawalive.nodebase; + +import android.util.Log; + +import java.io.BufferedReader; +import java.io.InputStreamReader; + +public class NodeMonitor extends Thread { + public NodeMonitor(NodeBaseServer server, Process process) { + _running = true; + _server = server; + _process = process; + } + + public void kill() { + if (_running) { + _process.destroy(); + } + } + + @Override + public void run() { + try { + Log.i("NodeMonitor", "node process running ..."); + _process.waitFor(); + + /* + BufferedReader reader = new BufferedReader( + new InputStreamReader(_process.getInputStream())); + String line = null; + while ((line = reader.readLine()) != null) { + Log.d("NodeMonitor", line); + } + Log.d("-----", "=========================="); + reader = new BufferedReader( + new InputStreamReader(_process.getErrorStream())); + while ((line = reader.readLine()) != null) { + Log.d("NodeMonitor", line); + } + */ + } catch (Exception e) { + // probably interrupted + Log.e("NodeMonitor", "node error", e); + } + Log.i("NodeMonitor", "node process stopped ..."); + _running = false; + _server.onNodeTerminated(); + } + + private boolean _running; + private NodeBaseServer _server; + private Process _process; +} diff --git a/app/src/main/java/seven/drawalive/nodebase/Utils.java b/app/src/main/java/seven/drawalive/nodebase/Utils.java new file mode 100644 index 0000000..843ab69 --- /dev/null +++ b/app/src/main/java/seven/drawalive/nodebase/Utils.java @@ -0,0 +1,152 @@ +package seven.drawalive.nodebase; + +import android.content.Context; +import android.content.Intent; +import android.net.Uri; +import android.net.wifi.WifiInfo; +import android.net.wifi.WifiManager; +import android.util.Log; + +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.InputStream; +import java.io.InputStreamReader; + +public class Utils { + + public static final int PERMISSIONS_EXTERNAL_STORAGE = 1; + + public static boolean prepareNodeDirectory(String workdir, String subdir) { + try { + File dir = new File(String.format("%s%s", workdir, subdir)); + if (!dir.exists()) { + return dir.mkdirs(); + } + return true; + } catch (Exception e) { + Log.w("Config:Prepare", + String.format("Cannot create directory of \"%s%s\"", workdir, subdir)); + return false; + } + } + + public static boolean prepareNodeDirectories(String workdir) { + prepareNodeDirectory(workdir, "/node"); + return true; + } + + public static boolean prepareNode(String workdir, InputStream node_binary) { + try { + String node_filename = String.format("%s/node/node", workdir); + File node_file = new File(node_filename); + if (node_file.exists()) { + return true; + } + node_file.createNewFile(); + InputStreamReader reader = new InputStreamReader(node_binary); + FileOutputStream writer = new FileOutputStream(node_file); + byte[] binary = new byte[(int)(node_binary.available())]; + node_binary.read(binary); + writer.write(binary); + writer.flush(); + writer.close(); + node_file.setExecutable(true, true); + return true; + } catch (Exception e) { + Log.w("Config:Prepare", + "Cannot create binary file of \"node\""); + return false; + } + } + + private static String _serviceAuthentication = null; + + public static void setServiceAuthentication (String auth) { + if (_serviceAuthentication == null) { + _serviceAuthentication = auth; + return; + } + synchronized (_serviceAuthentication) { + _serviceAuthentication = auth; + } + } + + public static String getServiceAuthentication () { + return _serviceAuthentication; + } + + private static String[] _serviceInfo = null; + + public static void setServiceInfo (String[] info) { + if (_serviceInfo == null) { + _serviceInfo = info; + return; + } + synchronized (_serviceInfo) { + _serviceInfo = info; + } + } + + public static String[] getServiceInfo () { + return _serviceInfo; + } + + public static String getIPv4(Context context) { + WifiManager wifiManager = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); + WifiInfo wifiInfo = wifiManager.getConnectionInfo(); + int ip = wifiInfo.getIpAddress(); + return String.format("%d.%d.%d.%d", ip & 0xff, (ip >> 8) & 0xff, (ip >> 16) & 0xff, (ip >> 24) & 0xff); + } + + public static void shareInformation( + Context context, String title, + String label, String text, String imgFilePath) { + Intent intent = new Intent(Intent.ACTION_SEND); + if (imgFilePath == null || imgFilePath.equals("")) { + intent.setType("text/plain"); + } else { + File f = new File(imgFilePath); + if (f != null && f.exists() && f.isFile()) { + intent.setType("image/jpg"); + Uri u = Uri.fromFile(f); + intent.putExtra(Intent.EXTRA_STREAM, u); + } + } + intent.putExtra(Intent.EXTRA_SUBJECT, label); + intent.putExtra(Intent.EXTRA_TEXT, text); + intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); + context.startActivity(Intent.createChooser(intent, title)); + } + + public static String readSmallFile(String filename) { + FileInputStream reader = null; + File file = new File(filename); + try { + byte[] buf = new byte[(int) file.length()]; + reader = new FileInputStream(file); + reader.read(buf); + return new String(buf); + } catch (Exception e) { + return null; + } finally { + if (reader != null) { + try { reader.close(); } catch (Exception e) {} + } + } + } + + public static void resetNodeJS(Context context, String workdir) { + prepareNodeDirectories(workdir); + + InputStream node = null; + try { + node = context.getResources().openRawResource(R.raw.bin_node_v710); + prepareNode(workdir, node); + node.close(); + } catch (Exception e) { + Log.e("Server:Prepare", + "Cannot create binary file of \"node\""); + } + } +} diff --git a/app/src/main/res/layout/activity_node_base.xml b/app/src/main/res/layout/activity_node_base.xml new file mode 100644 index 0000000..def90a5 --- /dev/null +++ b/app/src/main/res/layout/activity_node_base.xml @@ -0,0 +1,14 @@ + + + + diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher.png b/app/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 0000000000000000000000000000000000000000..254e2d6f23e575f24e81bb174bc512e3e18c3b50 GIT binary patch literal 4220 zcmV-?5QFcDP)Px_Hc3Q5RCodHTMKYh)fxVGH`&cQ0YVbqi4f$~ATff15af*_pye?Jv4f&kp~I^> zK(WQjyGmO+*bbsl$68vTOiSww6tyE-0Z}N3hy+LifrJDS@*s~*cKdxdd)AxHF4^5| z7O?$izT9)qJ&*r<=l}n6?ztP0))x!9NC%9q-_`BeLn_oh4#eM%>IY+1LqSY95b}S5 z+%r&y>}x=k`^UF-t|7qc(NfZYfk1Dd6A%sb13m@HfokA7K;npE;0*93a0R%fBv1sU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t&L~3<8UjP6A07*qoM6N<$f(#jgWB>pF literal 0 HcmV?d00001 diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 0000000000000000000000000000000000000000..5fc04e83feaaf4df7d60fabbe79ffe5d4fe7a8d4 GIT binary patch literal 11693 zcmV;eEmG2nP)PyNXGugsRCodHoe7v+Mb-DuESV*fb+YdX2>}vFAS?+GNJI#TEcpQOMIi`A6j4Fp zbpeF1h=76%f*&9n@Ok}EkVQa&4_sJfmDPYGA^X1Xd*1)Ax~p^3>6yOW(>>EYeb4ip zuDW&W)~!1AuX9hGs(ah4w5elhH$Q59Ym&fE)R;Nq&$p&VMQtff2~?`t?~8YeA1qA~ zw9ZzSx6WpzZB?~$)WvhPO`AK)P&5)KWk6R&fG!%GhOTI-0=i5Rf+K2W5-3$bZ&5#P zZDoBKHAfOCRX}f6+t*MiF z@%RRXm?$g6>*8sv6vA9f`Z95(?Inbkq}BjvKzfjPf_S`me{olFa}fgszys)+;y1+4 ziT^1^`$yD_5-4UskCdFw6rUmIz0`=t1{;=hX{Y6b}u8=$d;PY{1ue4LmSztB|O zb&%B!8nbiN+mG6gEgO8>w|D7xz~*7&E^IsKpwp~<*B%0~><_UcVSA?lzGK@~+rDkH zZQZ<1;9g@J*DkRQs}|VGh5r^$vy}_px7AChD<4+NZp7$#T70wkue+Uz4stF5->Eq- zIL8H|eJ6^)B|b7`*_~u%j2I*9cl{E3<8R(Rc3Io+Gv2z5|EhHyHo@9->S%Kxyv7zj zHf4`u+IH$~L&uzL!<4sEj{yR(z>H-rlCqAGLgJ3&&jb|umW`Wi&61C7?!TY1nXf-+ zOFn)jenBE&h}?r{c;OaF1FE&Bhr+UCXo*`wH+_T6m% z@fXxym@IxF`9yTwbO{tP zpgXB~-xFUV4!YaSMjb7E{YA5}pEm2>C3g0XADjLBy9ryN%b0Vl@0mZgs?ObGK<2?8 zpz=0aDqJhmVeVVDb{oYf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t#B=H2JQeI<8Vfz3f38g9wb7+t@@ALD zE)JZ-#$gnBMs3kagj9x*$2}t+W;vP=t; zvLFC+-p2tmjHdP16~bfn2-U}#QBOVf6wzFff2tr4K!6+=z{CmB!hWz4!aT2!5vZ z*fZx@a_2nElf~yHPPvWE&~MZELZ+8gIk=_h3%W6YMnQz4^i%y%#S~2@Uij@R2C&{F zBF@tW@cFPMG?H!~QIZ7i(eWVhIbs&lB8ntXS`zqQ^@U+x?>5#E00000NkvXXu0mjf DbvNJ( literal 0 HcmV?d00001 diff --git a/app/src/main/res/raw/test.js b/app/src/main/res/raw/test.js new file mode 100644 index 0000000..984527d --- /dev/null +++ b/app/src/main/res/raw/test.js @@ -0,0 +1,14 @@ +const http = require('http'); + +const hostname = '127.0.0.1'; +const port = 3000; + +const server = http.createServer((req, res) => { + res.statusCode = 200; + res.setHeader('Content-Type', 'text/plain'); + res.end('Hello World\n'); +}); + +server.listen(port, hostname, () => { + console.log(`Server running at http://${hostname}:${port}/`); +}); diff --git a/app/src/main/res/values-w820dp/dimens.xml b/app/src/main/res/values-w820dp/dimens.xml new file mode 100644 index 0000000..dc1223c --- /dev/null +++ b/app/src/main/res/values-w820dp/dimens.xml @@ -0,0 +1,6 @@ + + + 64dp + diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml new file mode 100644 index 0000000..3cde448 --- /dev/null +++ b/app/src/main/res/values/colors.xml @@ -0,0 +1,6 @@ + + + #3F51B5 + #303F9F + #FF4081 + diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml new file mode 100644 index 0000000..804b9c9 --- /dev/null +++ b/app/src/main/res/values/dimens.xml @@ -0,0 +1,5 @@ + + + 16dp + 16dp + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml new file mode 100644 index 0000000..d27dd0b --- /dev/null +++ b/app/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ + + NodeBase + diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml new file mode 100644 index 0000000..2c1d6f9 --- /dev/null +++ b/app/src/main/res/values/styles.xml @@ -0,0 +1,11 @@ + + + + + + diff --git a/app/src/test/java/seven/drawalive/nodebase/ExampleUnitTest.java b/app/src/test/java/seven/drawalive/nodebase/ExampleUnitTest.java new file mode 100644 index 0000000..07106a7 --- /dev/null +++ b/app/src/test/java/seven/drawalive/nodebase/ExampleUnitTest.java @@ -0,0 +1,17 @@ +package seven.drawalive.nodebase; + +import org.junit.Test; + +import static org.junit.Assert.*; + +/** + * Example local unit test, which will execute on the development machine (host). + * + * @see Testing documentation + */ +public class ExampleUnitTest { + @Test + public void addition_isCorrect() throws Exception { + assertEquals(4, 2 + 2); + } +} \ No newline at end of file diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..c60f0db --- /dev/null +++ b/build.gradle @@ -0,0 +1,23 @@ +// Top-level build file where you can add configuration options common to all sub-projects/modules. + +buildscript { + repositories { + jcenter() + } + dependencies { + classpath 'com.android.tools.build:gradle:2.2.3' + + // NOTE: Do not place your application dependencies here; they belong + // in the individual module build.gradle files + } +} + +allprojects { + repositories { + jcenter() + } +} + +task clean(type: Delete) { + delete rootProject.buildDir +} diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..aac7c9b --- /dev/null +++ b/gradle.properties @@ -0,0 +1,17 @@ +# Project-wide Gradle settings. + +# IDE (e.g. Android Studio) users: +# Gradle settings configured through the IDE *will override* +# any settings specified in this file. + +# For more details on how to configure your build environment visit +# http://www.gradle.org/docs/current/userguide/build_environment.html + +# Specifies the JVM arguments used for the daemon process. +# The setting is particularly useful for tweaking memory settings. +org.gradle.jvmargs=-Xmx1536m + +# When configured, Gradle will run in incubating parallel mode. +# This option should only be used with decoupled projects. More details, visit +# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects +# org.gradle.parallel=true diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000000000000000000000000000000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;7?VkKbh8_=csozU=|fH&szgZ{=NDCylQ>EH^x5!K3~-V z)_2Y>0uJ`Z0Pb58y`RL+&n@m9tJ)O<%q#&u#DAIt+-rRt0eSe1MTtMl@W)H$b3D)@ z*A-1bUgZI)>HdcI4&W>P4W5{-j=s5p5`cbQ+{(g0+RDnz!TR^mxSLu_y#SDVKrj8i zA^hi6>jMGM;`$9Vfb-Yf!47b)Ow`2OKtNB=z|Kxa$5O}WPo;(Dc^`q(7X8kkeFyO8 z{XOq^07=u|7*P2`m;>PIFf=i80MKUxsN{d2cX0M+REsE*20+WQ79T9&cqT>=I_U% z{=8~^Isg(Nzo~`4iQfIb_#CVCD>#5h>=-Z#5dH}WxYzn%0)GAm6L2WdUdP=0_h>7f z(jh&7%1i(ZOn+}D8$iGK4Vs{pmHl_w4Qm-46H9>4^{3dz^DZDh+dw)6Xd@CpQNK$j z{CU;-cmpK=egplZ3y3%y=sEnCJ^eYVKXzV8H2_r*fJ*%*B;a1_lOpt6)IT1IAK2eB z{rie|uDJUrbgfUE>~C>@RO|m5ex55F{=~Bb4Cucp{ok7Yf9V}QuZ`#Gc|WaqsQlK- zKaV)iMRR__&Ak2Z=IM9R9g5$WM4u{a^C-7uX*!myEym z#_#p^T!P~#Dx$%^K>Y_nj_3J*E_LwJ60-5Xu=LkJAwcP@|0;a&+|+ZX`Jbj9P5;T% z|KOc}4*#4o{U?09`9Hz`Xo-I!P=9XfIrr*MQ}y=$!qgv?_J38^bNb4kM&_OVg^_=Eu-qG5U(fw0KMgH){C8pazq~51rN97hf#20-7=aK0)N|UM H-+%o-(+5aQ literal 0 HcmV?d00001 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000..04e285f --- /dev/null +++ b/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,6 @@ +#Mon Dec 28 10:00:20 PST 2015 +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip diff --git a/gradlew b/gradlew new file mode 100755 index 0000000..9d82f78 --- /dev/null +++ b/gradlew @@ -0,0 +1,160 @@ +#!/usr/bin/env bash + +############################################################################## +## +## Gradle start up script for UN*X +## +############################################################################## + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS="" + +APP_NAME="Gradle" +APP_BASE_NAME=`basename "$0"` + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD="maximum" + +warn ( ) { + echo "$*" +} + +die ( ) { + echo + echo "$*" + echo + exit 1 +} + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +case "`uname`" in + CYGWIN* ) + cygwin=true + ;; + Darwin* ) + darwin=true + ;; + MINGW* ) + msys=true + ;; +esac + +# Attempt to set APP_HOME +# Resolve links: $0 may be a link +PRG="$0" +# Need this for relative symlinks. +while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi +done +SAVED="`pwd`" +cd "`dirname \"$PRG\"`/" >/dev/null +APP_HOME="`pwd -P`" +cd "$SAVED" >/dev/null + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD="java" + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then + MAX_FD_LIMIT=`ulimit -H -n` + if [ $? -eq 0 ] ; then + if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then + MAX_FD="$MAX_FD_LIMIT" + fi + ulimit -n $MAX_FD + if [ $? -ne 0 ] ; then + warn "Could not set maximum file descriptor limit: $MAX_FD" + fi + else + warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" + fi +fi + +# For Darwin, add options to specify how the application appears in the dock +if $darwin; then + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" +fi + +# For Cygwin, switch paths to Windows format before running java +if $cygwin ; then + APP_HOME=`cygpath --path --mixed "$APP_HOME"` + CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` + JAVACMD=`cygpath --unix "$JAVACMD"` + + # We build the pattern for arguments to be converted via cygpath + ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` + SEP="" + for dir in $ROOTDIRSRAW ; do + ROOTDIRS="$ROOTDIRS$SEP$dir" + SEP="|" + done + OURCYGPATTERN="(^($ROOTDIRS))" + # Add a user-defined pattern to the cygpath arguments + if [ "$GRADLE_CYGPATTERN" != "" ] ; then + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" + fi + # Now convert the arguments - kludge to limit ourselves to /bin/sh + i=0 + for arg in "$@" ; do + CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` + CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option + + if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition + eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` + else + eval `echo args$i`="\"$arg\"" + fi + i=$((i+1)) + done + case $i in + (0) set -- ;; + (1) set -- "$args0" ;; + (2) set -- "$args0" "$args1" ;; + (3) set -- "$args0" "$args1" "$args2" ;; + (4) set -- "$args0" "$args1" "$args2" "$args3" ;; + (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; + (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; + (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; + (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; + (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; + esac +fi + +# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules +function splitJvmOpts() { + JVM_OPTS=("$@") +} +eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS +JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" + +exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" diff --git a/gradlew.bat b/gradlew.bat new file mode 100644 index 0000000..aec9973 --- /dev/null +++ b/gradlew.bat @@ -0,0 +1,90 @@ +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS= + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto init + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto init + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:init +@rem Get command-line arguments, handling Windowz variants + +if not "%OS%" == "Windows_NT" goto win9xME_args +if "%@eval[2+2]" == "4" goto 4NT_args + +:win9xME_args +@rem Slurp the command line arguments. +set CMD_LINE_ARGS= +set _SKIP=2 + +:win9xME_args_slurp +if "x%~1" == "x" goto execute + +set CMD_LINE_ARGS=%* +goto execute + +:4NT_args +@rem Get arguments from the 4NT Shell from JP Software +set CMD_LINE_ARGS=%$ + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/modules/LICENSE b/modules/LICENSE new file mode 100644 index 0000000..a700c87 --- /dev/null +++ b/modules/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + NodeBase Modules: a project of NodeJS/Express based app on Android + Copyright (C) 2017 Seven Lju + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + NodeBase Modules Copyright (C) 2017 Seven Lju + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/modules/README.md b/modules/README.md new file mode 100644 index 0000000..5166ac4 --- /dev/null +++ b/modules/README.md @@ -0,0 +1,7 @@ +# NodeBase Modules + +NodeJS/Express based app on Android + +- file download/upload +- werewolf first ngiht helper +- a simple notepad of Nodepad diff --git a/modules/file_upload_download/directory.html b/modules/file_upload_download/directory.html new file mode 100644 index 0000000..224609b --- /dev/null +++ b/modules/file_upload_download/directory.html @@ -0,0 +1,177 @@ + + + + + + listing directory {directory} + + + + + + + + + + diff --git a/modules/file_upload_download/index.js b/modules/file_upload_download/index.js new file mode 100644 index 0000000..49c572d --- /dev/null +++ b/modules/file_upload_download/index.js @@ -0,0 +1,50 @@ +const index_dir = process.argv[2] || __dirname; +const download_uri = '/download'; +const upload_uri = '/upload'; + +const path = require('path'); + +const serve_index = require('serve-index'); +const express = require('express'); +const app = express(); + +const multer = require('multer'); +const storage = multer.diskStorage({ + destination: (req, file, cb) => { + let dir = req.query.dir.substring(download_uri.length); + cb(null, path.join(index_dir, dir)); + }, + filename: function (req, file, cb) { + cb(null, file.originalname); + } +}); +const upload = multer({ + storage: storage, + fileFilter: (req, file, cb) => { + let dir = req.query.dir; + if (dir.indexOf(download_uri + '/') != 0) { + cb(null, false); + } else if (dir.indexOf('/../') >= 0) { + cb(null, false); + } else { + cb(null, true); + } + } +}); + +app.get('/test', (req, res) => { + res.send('hello world!'); +}); + +app.post(upload_uri, upload.array('uploads'), (req, res, next) => { + res.end('done'); +}); + +app.use(download_uri, express.static(index_dir)); +app.use(download_uri, serve_index(index_dir, { + icons: true, + template: path.join(__dirname, 'directory.html') +})); +app.listen(9090, '0.0.0.0', () => { + console.log(`Directory index is listening at 0.0.0.0:9090`); +}); diff --git a/modules/file_upload_download/package.json b/modules/file_upload_download/package.json new file mode 100644 index 0000000..49e2c2b --- /dev/null +++ b/modules/file_upload_download/package.json @@ -0,0 +1,25 @@ +{ + "name": "file_upload_download", + "version": "0.1.0", + "description": "File Upload and Download app for Android NodeBase", + "main": "index.js", + "dependencies": { + "express": "^4.14.0", + "multer": "^1.2.1", + "serve-index": "^1.8.0" + }, + "devDependencies": {}, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [ + "module", + "nodebase", + "android", + "upload", + "donwload", + "file" + ], + "author": "Seven Lju", + "license": "MIT" +} diff --git a/modules/file_upload_download/readme b/modules/file_upload_download/readme new file mode 100644 index 0000000..3b3971f --- /dev/null +++ b/modules/file_upload_download/readme @@ -0,0 +1,6 @@ +# Directory Index Service +- https://github.com/expressjs/multer +- https://github.com/expressjs/serve-index +- file server (download / upload) +running: 9090 +params: directory path for sharing diff --git a/modules/nodepad/index.js b/modules/nodepad/index.js new file mode 100644 index 0000000..9c7ea43 --- /dev/null +++ b/modules/nodepad/index.js @@ -0,0 +1,69 @@ +const path = require('path'); +const fs = require('fs'); +const express = require('express'); +const body_parser = require('body-parser'); +const app = express(); + +const static_dir = path.join(__dirname, 'static'); + +function send_json(res, obj) { + res.setHeader('Content-Type', 'application/json'); + res.send(JSON.stringify(obj)); +} + +function get_ip (req) { + let ip = null; + if (req.headers['x-forwarded-for']) { + ip = req.headers['x-forwarded-for'].split(",")[0]; + } else if (req.connection && req.connection.remoteAddress) { + ip = req.connection.remoteAddress; + } else { + ip = req.ip; + } + return ip; +} + +app.use(body_parser.urlencoded({ extended: false })); +app.use(body_parser.json()); + +app.get('/test', (req, res) => { + res.send('hello world! ' + get_ip(req)); +}); + +app.post('/api/nodebase/nodtepad/v1/list', (req, res) => { + if (!req.body) return res.sendStatus(400); + if (!req.body.path) return res.sendStatus(400); + let parent = req.body.path, + symbols = fs.readdirSync(parent), + files = [], + dirs = []; + symbols.forEach((x) => { + if (fs.lstatSync(path.join(parent, x)).isDirectory()) { + dirs.push(x); + } else { + files.push(x); + } + }); + send_json(res, { dirs, files }); +}); + +app.post('/api/nodebase/nodtepad/v1/open', (req, res) => { + let file = req.body.path; + send_json(res, { + path: file, + text: fs.readFileSync(file).toString() + }); +}); + +app.post('/api/nodebase/nodtepad/v1/save', (req, res) => { + let file = req.body.path, + text = req.body.text; + fs.writeFileSync(file, text); + send_json(res, { path: file }); +}); + +app.use('/', express.static(static_dir)); + +app.listen(9090, '0.0.0.0', () => { + console.log(`Nodepad is listening at 0.0.0.0:9090`); +}); diff --git a/modules/nodepad/package.json b/modules/nodepad/package.json new file mode 100644 index 0000000..07be8bc --- /dev/null +++ b/modules/nodepad/package.json @@ -0,0 +1,25 @@ +{ + "name": "werewolf", + "version": "0.1.0", + "description": "Werewolf app for Android NodeBase", + "main": "index.js", + "dependencies": { + "body-parser": "^1.16.0", + "bootstrap": "^3.3.7", + "express": "^4.14.0", + "uuid": "^3.0.1" + }, + "devDependencies": {}, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [ + "module", + "nodebase", + "android", + "boardgame", + "werewolf" + ], + "author": "Seven Lju", + "license": "MIT" +} diff --git a/modules/nodepad/readme b/modules/nodepad/readme new file mode 100644 index 0000000..aabf828 --- /dev/null +++ b/modules/nodepad/readme @@ -0,0 +1,3 @@ +# Simple Notepad +running: 9090 +params: (no params) diff --git a/modules/nodepad/static/common.js b/modules/nodepad/static/common.js new file mode 100644 index 0000000..ea29171 --- /dev/null +++ b/modules/nodepad/static/common.js @@ -0,0 +1,109 @@ +'use strict'; +function $(id){ + var el = 'string' == typeof id + ? document.getElementById(id) + : id; + + el.on = function(event, fn){ + if ('content loaded' == event) { + event = window.attachEvent ? "load" : "DOMContentLoaded"; + } + el.addEventListener + ? el.addEventListener(event, fn, false) + : el.attachEvent("on" + event, fn); + }; + + el.all = function(selector){ + return $(el.querySelectorAll(selector)); + }; + + el.each = function(fn){ + for (var i = 0, len = el.length; i < len; ++i) { + fn($(el[i]), i); + } + }; + + el.getClasses = function(){ + return this.getAttribute('class').split(/\s+/); + }; + + el.addClass = function(name){ + var classes = this.getAttribute('class'); + el.setAttribute('class', classes + ? classes + ' ' + name + : name); + }; + + el.removeClass = function(name){ + var classes = this.getClasses().filter(function(curr){ + return curr != name; + }); + this.setAttribute('class', classes.join(' ')); + }; + + el.prepend = function (child) { + this.insertBefore(child, this.firstChild); + }; + + el.append = function (child) { + this.appendChild(child); + }; + + el.css = function (name, value) { + this.style[name] = value; + } + + el.click = function () { + var event = new MouseEvent('click', { + view: window, + bubbles: false, + cancelable: true + }); + this.dispatchEvent(event); + }; + + return el; +} + +function uriencode(data) { + if (!data) return data; + return '?' + Object.keys(data).map(function (x) { + return (encodeURIComponent(x) + '=' + encodeURIComponent(data[x]))}).join('&'); +} + +function ajax (options, done_fn, fail_fn) { + var xhr = new XMLHttpRequest(), + payload = null; + xhr.open(options.method || 'POST', options.url + (options.data?uriencode(options.data):''), true); + xhr.addEventListener('readystatechange', function (evt) { + if (evt.target.readyState === 4 /*XMLHttpRequest.DONE*/) { + if (~~(evt.target.status/100) === 2) { + done_fn && done_fn(JSON.parse(evt.target.response || 'null')); + } else { + fail_fn && fail_fn(evt.target.status); + } + } + }); + if (options.json) { + xhr.setRequestHeader("Content-Type", "application/json;charset=UTF-8"); + payload = JSON.stringify(options.json); + } + xhr.send(payload); +} + +function green_border(element) { + element.style.border = '1px solid green'; +} +function red_border(element) { + element.style.border = '1px solid red'; +} + +function clear_element(element) { + while (element.hasChildNodes()) { + element.removeChild(element.lastChild); + } +} + +function ip_encode(ip) { + return ip.split('.').join('-'); +} diff --git a/modules/nodepad/static/index.html b/modules/nodepad/static/index.html new file mode 100644 index 0000000..1f3ec60 --- /dev/null +++ b/modules/nodepad/static/index.html @@ -0,0 +1,128 @@ + + + + + + Notepad + + + +
+
+ + + + +
+
(No Files)
+
+
+
+ + + + +
+
+ +
+
+
+
+ " + ' + () + {} + <> +
+ + + + diff --git a/modules/package.json b/modules/package.json new file mode 100644 index 0000000..d6a153a --- /dev/null +++ b/modules/package.json @@ -0,0 +1,40 @@ +{ + "name": "nodebase_modules", + "version": "0.0.1", + "description": "NodeBase modules; JavaScript app on Android", + "main": "index.js", + "scripts": { + "test": "echo no test" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/dna2github/dna2mtgol.git" + }, + "keywords": [ + "innocent" + ], + "author": "Seven Lju", + "license": "GPL-3.0", + "bugs": { + "url": "https://github.com/dna2github/dna2mtgol/issues" + }, + "homepage": "https://github.com/dna2github/dna2mtgol/tree/master/nodeBase/modules", + "dependencies": { + "body-parser": "^1.15.2", + "bootstrap": "^3.3.7", + "express": "^4.14.0", + "jquery": "^3.1.1", + "lodash": "^4.17.2", + "uuid": "^3.0.1", + "multer": "^1.2.1", + "serve-index": "^1.8.0", + "ws": "^1.1.1" + }, + "devDependencies": { + "gulp": "^3.9.1", + "gulp-clean": "^0.3.2", + "gulp-concat": "^2.6.1", + "gulp-connect": "^5.0.0", + "http-proxy-middleware": "^0.17.3" + } +} diff --git a/modules/template.js b/modules/template.js new file mode 100644 index 0000000..e634994 --- /dev/null +++ b/modules/template.js @@ -0,0 +1,35 @@ +const path = require('path'); +const express = require('express'); +const app = express(); + +const static_dir = path.join(__dirname, 'static'); + +const addr = '0.0.0.0'; +const port = 9090; + +function send_json(res, obj) { + res.setHeader('Content-Type', 'application/json'); + res.send(JSON.stringify(obj)); +} + +function get_ip (req) { + let ip = null; + if (req.headers['x-forwarded-for']) { + ip = req.headers['x-forwarded-for'].split(",")[0]; + } else if (req.connection && req.connection.remoteAddress) { + ip = req.connection.remoteAddress; + } else { + ip = req.ip; + } + return ip; +} + +app.get('/test', (req, res) => { + send_json(res, { ip: get_ip(req), message: 'hello world!' }); +}); + +app.use('/', express.static(static_dir)); + +app.listen(port, addr, () => { + console.log(` is listening at ${addr}:${port}`); +}); diff --git a/modules/werewolf/index.js b/modules/werewolf/index.js new file mode 100644 index 0000000..f39bd6c --- /dev/null +++ b/modules/werewolf/index.js @@ -0,0 +1,195 @@ +const path = require('path'); +const express = require('express'); +const app = express(); + +const werewolf = require('./werewolf/werewolf'); + +const static_dir = path.join(__dirname, 'static'); + +let start_one_role = 0, + werewolf_role = []; + +function ip_decode(ip) { + return ip?ip.split('-').join('.'):ip; +} + +function send_json(res, obj) { + res.setHeader('Content-Type', 'application/json'); + res.send(JSON.stringify(obj)); +} + +function get_ip (req) { + let ip = null; + if (req.headers['x-forwarded-for']) { + ip = req.headers['x-forwarded-for'].split(",")[0]; + } else if (req.connection && req.connection.remoteAddress) { + ip = req.connection.remoteAddress; + } else { + ip = req.ip; + } + return ip; +} + +app.get('/test', (req, res) => { + res.send('hello world! ' + get_ip(req)); +}); + +app.post('/api/info', (req, res) => { + let ip = get_ip(req), + p = werewolf.player_get_obj(ip), + s = werewolf.state_get(), + m = ''; + if (!p) { + if (s.cur === ' ') { + p = werewolf.player_register(ip, ''); + } else { + p = {name: '本局已经开始'}; + } + } else { + m = werewolf.player_get_info(ip); + } + send_json(res, {name: p?p.name: '', info: m}); +}); + +app.post('/api/player/register', (req, res) => { + let ip = get_ip(req), + p = werewolf.player_get_obj(ip); + if (p) { + werewolf.player_register(ip, req.query.name); + send_json(res, {}); + } else { + res.sendStatus(400); + } +}); + +app.post('/api/player/unregister', (req, res) => { + let ip = ip_decode(req.query.ip) || get_ip(req); + werewolf.player_unregister(ip); + send_json(res, {}); +}); + +app.post('/api/player/alive', (req, res) => { + let ip = ip_decode(req.query.ip) || get_ip(req), + p = werewolf.player_get_obj(ip); + if (p) { + if (parseInt(req.query.alive, 10) === 1) p.alive = true; + else p.alive = false; + } + send_json(res, {}); +}); + +app.post('/api/werewolf/state', (req, res) => { + let state = req.query.state || null, + s = null; + if (state) { + werewolf.state_set(state); + start_one_role = 1; + s = Object.assign({}, werewolf.state_get()); + if (state === ' ') { + werewolf_role = []; + } + } else { + let ip = get_ip(req), + p = werewolf.player_get_obj(ip), + info = werewolf.player_get_info(ip); + s = Object.assign({info}, werewolf.state_get()); + if (['x', 'i', 'g'].indexOf(s.cur) >= 0) { + if (werewolf_role.indexOf(ip) < 0) werewolf_role.push(ip); + p.role = 'x'; + } + } + send_json(res, s); +}); + +app.post('/api/werewolf/acting', (req, res) => { + let s = Object.assign({start_one_role}, werewolf.state_get()); + // should not exist here when has T + s.werewolf_count = werewolf_role.length; + send_json(res, s); +}); + +app.post('/api/werewolf/act', (req, res) => { + let id = req.query.id; + delete req.query.id; + if (!id) { + res.sendStatus(400); + } else if (id !== werewolf.state_get().id) { + res.sendStatus(400); + } else { + let s = Object.assign({}, werewolf.state_get()), p; + Object.keys(req.query).forEach((x) => { + req.query[x] = ip_decode(req.query[x]); + werewolf.actions_set(x, req.query[x]); + switch(x) { + case 'see': + if (req.query[x]) { + p = werewolf.player_get_obj(req.query[x]); + s.info = p.name + ' 是' + (p.role === 'x'?'狼人':'好人'); + } + break; + case 'lover_1': + if (req.query.lover_1 && req.query.lover_2) { + werewolf.actions_set('lovers', [req.query.lover_1, req.query.lover_2].join(',')); + } else { + werewolf.actions_set('lovers', null); + } + break; + } + }); + start_one_role = 0; + send_json(res, s); + } +}); + +app.post('/api/werewolf/info', (req, res) => { + let ps = werewolf.player_all(); + ps = Object.keys(ps).map((x) => ps[x]); + send_json(res, {players: ps}); +}); + +app.post('/api/werewolf/bigvote', (req, res) => { + let actions = werewolf.actions_get(), + bigvote = actions.bigvote?actions.bigvote[0]:null; + send_json(res, {bigvote}); +}); + +app.post('/api/werewolf/night', (req, res) => { + let actions = werewolf.actions_get(), + died = actions.kill || [], + i, heal, protect; + if (actions.heal) { + heal = actions.heal[0]; + i = died.indexOf(heal); + if (i >= 0) died.splice(i, 1); + } + if (actions.protect) { + protect = actions.protect[0]; + i = died.indexOf(protect); + if (heal === protect) died.push(heal); + else if (i >= 0) died.splice(i, 1); + } + if (actions.poison) died = died.concat(actions.poison); + if (actions.lovers) { + let love_die = []; + died.forEach((x) => { + i = actions.lovers.indexOf(x); + if (i === 0 && died.indexOf(actions.lovers[1]) < 0) love_die.push(actions.lovers[1]); + else if (i === 1 && died.indexOf(actions.lovers[0]) < 0) love_die.push(actions.lovers[0]); + }); + died = died.concat(love_die); + } + let m; + if (died.length) { + m = '昨晚死亡的人员有 ' + died.map((x) => werewolf.player_get_obj(x).name).join(', '); + } else { + m = '昨晚平安夜;'; + } + werewolf.state_set('-'); + send_json(res, {info: m}); +}); + +app.use('/', express.static(static_dir)); + +app.listen(9090, '0.0.0.0', () => { + console.log(`Werewolf is listening at 0.0.0.0:9090`); +}); diff --git a/modules/werewolf/package.json b/modules/werewolf/package.json new file mode 100644 index 0000000..07be8bc --- /dev/null +++ b/modules/werewolf/package.json @@ -0,0 +1,25 @@ +{ + "name": "werewolf", + "version": "0.1.0", + "description": "Werewolf app for Android NodeBase", + "main": "index.js", + "dependencies": { + "body-parser": "^1.16.0", + "bootstrap": "^3.3.7", + "express": "^4.14.0", + "uuid": "^3.0.1" + }, + "devDependencies": {}, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [ + "module", + "nodebase", + "android", + "boardgame", + "werewolf" + ], + "author": "Seven Lju", + "license": "MIT" +} diff --git a/modules/werewolf/readme b/modules/werewolf/readme new file mode 100644 index 0000000..d665d8a --- /dev/null +++ b/modules/werewolf/readme @@ -0,0 +1,4 @@ +# Werewolf Service +- Board Game: Werewolf Judge Helper +running: 9090 +params: (no params) diff --git a/modules/werewolf/static/common.js b/modules/werewolf/static/common.js new file mode 100644 index 0000000..4429baf --- /dev/null +++ b/modules/werewolf/static/common.js @@ -0,0 +1,128 @@ +'use strict'; +function $(id){ + var el = 'string' == typeof id + ? document.getElementById(id) + : id; + + el.on = function(event, fn){ + if ('content loaded' == event) { + event = window.attachEvent ? "load" : "DOMContentLoaded"; + } + el.addEventListener + ? el.addEventListener(event, fn, false) + : el.attachEvent("on" + event, fn); + }; + + el.all = function(selector){ + return $(el.querySelectorAll(selector)); + }; + + el.each = function(fn){ + for (var i = 0, len = el.length; i < len; ++i) { + fn($(el[i]), i); + } + }; + + el.getClasses = function(){ + return this.getAttribute('class').split(/\s+/); + }; + + el.addClass = function(name){ + var classes = this.getAttribute('class'); + el.setAttribute('class', classes + ? classes + ' ' + name + : name); + }; + + el.removeClass = function(name){ + var classes = this.getClasses().filter(function(curr){ + return curr != name; + }); + this.setAttribute('class', classes.join(' ')); + }; + + el.prepend = function (child) { + this.insertBefore(child, this.firstChild); + }; + + el.append = function (child) { + this.appendChild(child); + }; + + el.css = function (name, value) { + this.style[name] = value; + } + + el.click = function () { + var event = new MouseEvent('click', { + view: window, + bubbles: false, + cancelable: true + }); + this.dispatchEvent(event); + }; + + return el; +} + +function uriencode(data) { + if (!data) return data; + return '?' + Object.keys(data).map(function (x) { + return (encodeURIComponent(x) + '=' + encodeURIComponent(data[x]))}).join('&'); +} + +function ajax (options, done_fn, fail_fn) { + var xhr = new XMLHttpRequest(); + xhr.open(options.method || 'POST', options.url + (options.data?uriencode(options.data):''), true); + xhr.addEventListener('readystatechange', function (evt) { + if (evt.target.readyState === 4 /*XMLHttpRequest.DONE*/) { + if (~~(evt.target.status/100) === 2) { + done_fn && done_fn(JSON.parse(evt.target.response || 'null')); + } else { + fail_fn && fail_fn(evt.target.status); + } + } + }); + xhr.send(null); +} + +function green_border(element) { + element.style.border = '1px solid green'; +} +function red_border(element) { + element.style.border = '1px solid red'; +} + +function clear_element(element) { + while (element.hasChildNodes()) { + element.removeChild(element.lastChild); + } +} + +function generate_players(allow_none, players, sel_element) { + clear_element(sel_element); + if (allow_none) { + var c = document.createElement('option'); + c.value = ''; + c.appendChild(document.createTextNode('<弃权>')); + sel_element.appendChild(c); + } + if (players) { + players.forEach(function (x) { + if (!x) return; + var c = document.createElement('option'); + c.value = x.ip; + c.appendChild(document.createTextNode(x.name)); + sel_element.appendChild(c); + }); + } +} + +function play_sound(element, soundfile) { + // element.innerHTML = '
+

~{linked-path}

+ {files} +