Commit Graph

23 Commits

Author SHA1 Message Date
mpl 11a3f78691 WIP: switch from ui to newui
This CL proposes 4 changes:

1) When making the embeds, any .html files in newui is rewwritten
on the fly so that the resulting embed uses all.js instead of
individual .js files. all.js is the only javascript file embedded
for newui.

2) Various bugs and paths in the newui/*.js files were fixed so that
everything works when using all.js

3) pkg/server/ui.go was modified so that all features from ui should
now have an equivalent in newui, that is served through ui/new/.
In a next step, we can move back everything from newui/ into ui/ and
completely get rid of the old ui.

4) The published gallery now uses closure too.
In another next step, we should probably work on serving its static
part directly from an .html file or (include it in the zembed somehow?)
instead of generating it at every request. Or at least cache it?

This commit includes the zembeds in newui, except for zembed_all.js.go
since it is large and it would take a lot of space in the git history
everytime we change it.
The plan is to roll-sum it into chunks to address that problem.

Change-Id: I381d8ddf3a2bbe37e3c4b1c4bf423f16beffaaf4
2013-06-04 16:34:51 +02:00
Brad Fitzpatrick 1f31c21cec Generate and server Closure sourcemaps.
Change-Id: Ida17718eeffa1f5f1f3c849790d977921707d440
2013-02-10 17:39:18 -08:00
mpl 08a828de78 Makefile: checkjs, i.e run closure builder with the closure compiler
Change-Id: I0cd013ed132251379458c28f8947ab5efd2bdd0b
2013-01-26 00:13:50 +01:00
Brad Fitzpatrick f0dfc6b6b7 Make recent.html the main page.
Change-Id: I50fde12eacbc59e996b845e0ee4d898fe7ad2764
2012-12-11 18:29:58 -08:00
mpl 19edba9f64 newui layout, only for dev-server use for now.
Change-Id: I0e77b8088b2e04fd56e017678cb6e0a476b10682
2012-12-04 21:41:35 +01:00
Brad Fitzpatrick 59f431ae71 Ignore OS X noise.
Change-Id: I75fc2e3fd2a83ba47c91aa9b483abb07371873e4
2012-12-01 10:55:45 -08:00
Brad Fitzpatrick 64bbffc3b5 move fileembed from misc 2012-02-28 12:45:46 +11:00
Brad Fitzpatrick 50810b3da7 build: use our own isolated Go build root.
now everything is in <camliroot>/build/root.

will be necessary for other upcoming build changes.

Change-Id: I141c12c4097253d18e69175b6471a7c47430764f
2011-10-30 12:03:51 -07:00
Brad Fitzpatrick c830d15a5c Add dev-appengine helper script.
Change-Id: I58006eec12495cde6c3c7fb53b33bc38764f245c
2011-10-18 18:36:31 -07:00
Brad Fitzpatrick 5a0de07a47 build: let a .goroot symlink set the GOROOT environment and path.
Change-Id: I4e7d560fc4b9974af85b043e13157104894c27be
2011-10-15 19:41:43 -07:00
Brad Fitzpatrick 5fae3cf86a some more gitignore rules
Change-Id: If479546c271996d8cec08a1256cdf16ff596337e
2011-08-21 14:14:31 +04:00
Daniel Erat 0099626906 static sqlite work in progress
Change-Id: I33db758bfec3226c1d90a3ea79d79b90ee883720
2011-07-16 00:26:36 +00:00
Brad Fitzpatrick 3eb8d15c25 More gitignore.
Change-Id: I1181d748d437a64748742f90e4549e17413e011f
2011-07-06 11:50:53 -07:00
Brad Fitzpatrick 81547a9eb6 Support for embedding static files (html/js) into the resulting binary.
Also build system changes for start of move to camlistore.org/* namespace
for Go packages.

Not yet wired up to ui.go.

Potential changes required for Go's http package first:
http://codereview.appspot.com/4629047/

Change-Id: I3ae264a5401d3a41e0b6e42b12010f19a9c9dcf7
2011-06-17 14:13:01 -07:00
Brad Fitzpatrick 7332f1aa71 cammount: start with hanwen's example loopback fuse program. 2011-03-20 10:25:17 -07:00
Brad Fitzpatrick 32d58d3e56 Ignore x86 binaries too. 2011-02-26 11:26:08 -08:00
Brad Fitzpatrick c6637bd720 Ignore more. 2011-02-23 18:14:33 -08:00
Brad Fitzpatrick 197819e4cb Ignore more 2011-02-03 17:05:19 -08:00
Brad Fitzpatrick 35628787f2 camweb: rotate log files 2011-01-29 12:31:35 -08:00
Andrew Gerrand 0de3dc28e3 added vim tmp files to gitignore 2011-01-15 12:22:26 +11:00
Brad Fitzpatrick fd165129df gitignore more 2010-12-19 12:33:21 -08:00
Brett Slatkin f73d1d5c9b fixed app engine blobserver urls; added curl client examples 2010-06-20 18:32:42 -07:00
Brad Fitzpatrick ee0b6655f3 add .gitignore 2010-06-10 16:42:15 -07:00