Skip to content

Commit

Permalink
v0.2.0
Browse files Browse the repository at this point in the history
* add dependencies dialog & licenses
* use & build templates
  • Loading branch information
obfusk committed Sep 2, 2020
1 parent 4689b3f commit 92c02e8
Show file tree
Hide file tree
Showing 20 changed files with 1,016 additions and 6 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ PIP_INSTALL ?= pip install

all:
coffee -o public/coffee -c src/
scripts/build.py

spec:
jasmine-node --coffee spec/
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Date : 2020-09-01

Copyright : Copyright (C) 2020 Felix C. Stegerman
Version : v0.1.3
Version : v0.2.0
License : AGPLv3+

<!-- }}}1 -->
Expand Down
8 changes: 4 additions & 4 deletions buildozer.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title = Sokoban(g)
package.name = sokobang
package.domain = dev.obfusk
source.dir = .
source.exclude_dirs = bin,deps,icon,scripts,spec,src
source.exclude_dirs = badges,bin,deps,icon,p4a-recipes,scripts,spec,src,templates
source.exclude_patterns = makefile,static.json
requirements = python3,flask
icon.filename = %(source.dir)s/icon.png
Expand All @@ -23,10 +23,10 @@ p4a.bootstrap = webview
p4a.port = 24235

# === DON'T FORGET TO UPDATE THIS ===
version = 0.1.3
android.numeric_version = 1000103002
version = 0.2.0
android.numeric_version = 1000200002
# always "1" -------------^|||||||||
# 0.1.3 ----> 00 01 03 ----^^^^^^|||
# 0.2.0 ----> 00 02 00 ----^^^^^^|||
# #commits since last tag -------^^|
# 1 = armeabi-v7a, 2 = arm64-v8a --^
# ===================================
Expand Down
161 changes: 160 additions & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</style>
<script src="js/jquery-3.5.1.min.js"></script>
<!--<script src="js/popper-1.16.0.min.js"></script>-->
<!--<script src="js/bootstrap.min.js"></script>-->
<script src="js/bootstrap.min.js"></script>
<script src="js/underscore-min.js"></script>
<script src="coffee/bigbang.js"></script>
<script src="coffee/sokobang.js"></script>
Expand Down Expand Up @@ -102,6 +102,8 @@
target="_blank" rel="noopener">Code</a>:
<a href="https://www.gnu.org/licenses/agpl-3.0.html"
target="_blank" rel="noopener">AGPLv3+</a>
+ <a href="#" data-toggle="modal"
data-target="#licenses-modal">Dependencies</a>
</span>
<span class="nowrap">
» <a href="README.ksokoban.txt" target="_blank"
Expand All @@ -113,5 +115,162 @@
</span>
</small>
</footer>
<div class="modal text-left" tabindex="-1" role="dialog"
id="licenses-modal">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Open Source Licenses</h5>
<button type="button" class="close" data-dismiss="modal"
aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">


<h6>
<a href="https://github.com/pallets/click" target="_blank" rel="noopener">
click
</a>
</h6>
<iframe class="w-100" src="licenses/click.txt">
</iframe>
<br/><br/>


<h6>
<a href="https://github.com/pallets/flask" target="_blank" rel="noopener">
flask
</a>
</h6>
<iframe class="w-100" src="licenses/flask.txt">
</iframe>
<br/><br/>


<h6>
<a href="https://github.com/pallets/itsdangerous" target="_blank" rel="noopener">
itsdangerous
</a>
</h6>
<iframe class="w-100" src="licenses/itsdangerous.txt">
</iframe>
<br/><br/>


<h6>
<a href="https://github.com/pallets/jinja" target="_blank" rel="noopener">
jinja2
</a>
</h6>
<iframe class="w-100" src="licenses/jinja2.txt">
</iframe>
<br/><br/>


<h6>
<a href="https://github.com/libffi/libffi" target="_blank" rel="noopener">
libffi
</a>
</h6>
<iframe class="w-100" src="licenses/libffi.txt">
</iframe>
<br/><br/>


<h6>
<a href="https://github.com/pallets/markupsafe" target="_blank" rel="noopener">
markupsafe
</a>
</h6>
<iframe class="w-100" src="licenses/markupsafe.txt">
</iframe>
<br/><br/>


<h6>
<a href="https://www.openssl.org" target="_blank" rel="noopener">
openssl
</a>
</h6>
<iframe class="w-100" src="licenses/openssl.txt">
</iframe>
<br/><br/>


<h6>
<a href="https://github.com/kivy/python-for-android" target="_blank" rel="noopener">
python-for-android
</a>
</h6>
<iframe class="w-100" src="licenses/python-for-android.txt">
</iframe>
<br/><br/>


<h6>
<a href="https://github.com/kivy/pyjnius" target="_blank" rel="noopener">
pyjnius
</a>
</h6>
<iframe class="w-100" src="licenses/pyjnius.txt">
</iframe>
<br/><br/>


<h6>
<a href="https://www.python.org" target="_blank" rel="noopener">
python3
</a>
</h6>
<iframe class="w-100" src="licenses/python3.txt">
</iframe>
<br/><br/>


<h6>
<a href="https://github.com/pypa/setuptools" target="_blank" rel="noopener">
setuptools
</a>
</h6>
<iframe class="w-100" src="licenses/setuptools.txt">
</iframe>
<br/><br/>


<h6>
<a href="https://github.com/benjaminp/six" target="_blank" rel="noopener">
six
</a>
</h6>
<iframe class="w-100" src="licenses/six.txt">
</iframe>
<br/><br/>


<h6>
<a href="https://www.sqlite.org" target="_blank" rel="noopener">
sqlite3
</a>
</h6>
<iframe class="w-100" src="licenses/sqlite3.txt">
</iframe>
<br/><br/>


<h6>
<a href="https://github.com/pallets/werkzeug" target="_blank" rel="noopener">
werkzeug
</a>
</h6>
<iframe class="w-100" src="licenses/werkzeug.txt">
</iframe>


</div>
</div>
</div>
</div>
</body>
</html>
28 changes: 28 additions & 0 deletions public/licenses/click.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Copyright 2014 Pallets

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 changes: 28 additions & 0 deletions public/licenses/flask.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Copyright 2010 Pallets

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 changes: 28 additions & 0 deletions public/licenses/itsdangerous.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Copyright 2011 Pallets

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 changes: 28 additions & 0 deletions public/licenses/jinja2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Copyright 2007 Pallets

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21 changes: 21 additions & 0 deletions public/licenses/libffi.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
libffi - Copyright (c) 1996-2020 Anthony Green, Red Hat, Inc and others.
See source files for details.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
``Software''), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28 changes: 28 additions & 0 deletions public/licenses/markupsafe.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Copyright 2010 Pallets

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Loading

0 comments on commit 92c02e8

Please sign in to comment.