36 Commits

Author SHA1 Message Date
Jon Atkins
8a2ca8076b build script - remove leading zeros from timestamp part of version number - possibly helps with firefox+greasemonkey update checks? 2013-05-20 03:12:55 +01:00
Philipp Schaefer
d40323fa99 removed privacy-view from mobile assets. it does not work and is not needed on mobile 2013-05-08 18:18:37 +02:00
Jon Benson
13bd906a9e Starting work on modifying mobile app action bar. 2013-05-06 18:46:59 +10:00
Philipp Schaefer
f6e6b76249 made force-https an option in mobile settings. removed plugin from build 2013-05-03 23:53:46 +02:00
Jon Atkins
530c3cecf1 build script - add optional preBuild and postBuild settings, to allow one or more additional commands to be executed as part of a build.
could be used to copy builds to a web server, copy additional files (E.g. .htaccess), trigger browser refresh, etc
2013-05-03 19:49:12 +01:00
Philipp Schaefer
aa7de6f571 added new developer options (fix for #219) 2013-05-03 01:05:19 +02:00
Jon Atkins
18f9ef0c2e update build.py for fdroid - a 'copyonly' mode that prepares the mobile/assets folder but doesn't run 'ant' 2013-05-01 17:07:31 +01:00
Kevin
25b6f239c2 Add contribs to About IITC, fix minor newline issue in loaderMD 2013-04-28 18:55:36 -07:00
Philipp Schaefer
28233b8118 display user location on iitcm (see #179) 2013-04-28 22:46:18 +02:00
Jon Atkins
473ae4bf39 Merge pull request #174 from Fragger/about-attribution
Add ATTRIBUTION.md to About IITC pop up
2013-04-22 15:28:37 -07:00
Philipp Schaefer
99a18444bf added plugin functionality for iitc mobile 2013-04-22 16:35:15 +02:00
Kevin
31d6855535 Build script fixes to work on both python 2 and 3 2013-04-22 02:08:51 -07:00
Kevin
60a65d227a More changes from gfm to md 2013-04-16 20:34:02 -07:00
Kevin
f767b939ad Only need markdown and not GFM for .md files 2013-04-16 20:30:25 -07:00
Kevin
d59e2e2816 Use already read file instead of rereading 2013-04-16 20:22:09 -07:00
Kevin
ae8200d7be Add ATTRIBUTION.md to About IITC pop up 2013-04-16 20:18:21 -07:00
Jon Atkins
09a42d81ec change build.py to launch ant via os.system, rather than subprocess.call. this fixes building mobile on windows 2013-03-30 21:28:13 +00:00
Jon Atkins
60444c9169 build system updates, for mobile builds
- main build.py will optionally build mobile. removed now obsolete mobile build scripts and symbolic links
- external resource URL is now optional - it's no longer needed by the regular builds
2013-03-30 20:48:59 +00:00
Jon Atkins
b28da29544 remove now unnecessary 'dist' folder
most files already existed (and were used from) elsewhere. delaunay.js has been moved to external/, and max-links updated to include from there
build.py updated to take account of no 'dist' folder (although it does allow for one if it's needed again in the future)
2013-03-29 01:59:33 +00:00
Jon Atkins
edd03dcdb6 build.py fix for differences in string handling in python 2 and python 3
fix #65
2013-03-25 16:27:40 +00:00
Fragger
5474b893a6 Add in base64 image encoding to build system and move images over to use it 2013-03-23 10:31:06 -07:00
Jon Atkins
d0245394a3 build.py - read optional defaultBuild from localbuildsettings.py
fix for #20

also, some other minor tweaks/cleanups in that area of the code
2013-03-22 03:55:00 +00:00
Jon Atkins
f0e3de1a80 fix build.py so it works with python3 2013-03-21 14:45:44 +00:00
Jon Atkins
06778b2a6a build improvements
- add optional localbuildsettings.py
- remove the 'jonatkins' and 'jonatkins-dev' from buildsettings.py - some devs were using them and it'll give them unexpected update behaviour
- add a 'local' build - uses the public release for external resources (rather than a local web server as for local8000), but no distUrlBase. perfect for code-only changes
- distUrlBase can now be None - no more wacky invalid URLs

(the resourceUrlBase will become redundant once all resources are embedded, but that's still pending)
2013-03-21 03:36:12 +00:00
Jon Atkins
bd2f371d64 autobuild.sh passes through build name to build.py
build.py gives useful error message when no build name is supplied
2013-03-19 23:53:46 +00:00
Jon Atkins
4a0f2aa5e4 added a build settings file, and build script uses it
ignored compiled python .pyc files
2013-03-19 23:43:15 +00:00
Jon Atkins
4ce0da5056 large chunk of work towards a nicer build system
- plugins are now parsed for @@..@@ replacements
- main script and plugins have separate .meta.js files created - less web server load for update checks
- build script has variables for resource URL, update URL, etc, substituted via @@..@@ into main script and all plugins
2013-03-19 22:39:16 +00:00
Michael Stapelberg
f34c230c93 Use io.open to support python 2.x _and_ python 3 2013-02-26 00:25:13 +01:00
Stefan Breunig
538b57c7f7 Due to ingress.com/intel now force-redirecting to the HTTPS version,
loading dependencies just got a lot harder. External JS and CSS files
are now included directly in the file while building. This does not yet
work for plugins. I will make an emergency release soon, so at least
main works.
2013-02-25 23:58:07 +01:00
Stefan Breunig
1efb30d73f typos 2013-02-11 19:10:15 +01:00
Stefan Breunig
35312293cd debug build gets new filename 2013-02-11 17:40:42 +01:00
Stefan Breunig
b4f273e80b user newer Python, old one may have issues with utf-8 2013-02-11 11:43:27 +01:00
Cameron Moon
81ed7e279c fixed #100 by explictly setting encoding (credit to breunigs) 2013-02-11 19:24:41 +11:00
Stefan Breunig
dcb7075dda remove ruby build script. Python is used for the local web server anyway, so don’t introduce further dependencies for such a trivial taask as concatenating files. 2013-02-09 18:01:11 +01:00
Evan Paul Fletcher
d73eebdd32 fix for line endings 2013-02-07 20:39:01 -07:00
Evan Paul Fletcher
fd8abd174e add build.py 2013-02-07 19:29:19 -07:00