Commit Graph

39 Commits

Author SHA1 Message Date
mpl ee29f1f8e7 Make newui ready to dev on with closure compiler, plus misc cleanup.
Added env var in dev-server and rules in Makefile to build
all.js with the closure compiler from the js files in newui.

Misc related changes:
-fixed a few closure annotations and added a few as well.
-added missing options to dev-server usage.
-renamed CAM_HTTP_DEBUG into CAMLI_HTTP_DEBUG for consistency.

Change-Id: Ica2c12358150aec24147628201e6f7a5852f9383
2013-02-07 15:25:10 +01:00
Brad Fitzpatrick 7808fc4592 dev-server: add --hostname option
Change-Id: I58823690a8800484da4f7b885a95393e6f72dfff
2013-01-27 14:05:32 -08:00
mpl fc8ecb3b29 closure: changed the library setup, added the compiler
1) The code to get the closure library has been moved from
dev-server to misc/get_closure.pl
2) The svn checkout version for the closure library was bumped
to the latest: 2459
3) The closure library checkout now goes into tmp/closure-library/,
to keep tmp/ clean for other things we might want to add there
(like the compiler). So the path to the actual libraries is now
tmp/closure-library/closure/
4) The code to get the closure compiler build was added in
misc/get_closure.pl. The compiler goes to
tmp/closure-compiler/compiler.jar
5) The version of the closure compiler is the latest build as
of this time: 20121212

Change-Id: I7e03ad7d6fe440430c5727cf56a956efed360d43
2013-01-25 17:13:19 +01:00
Brad Fitzpatrick 31fc1fb5ec dev-server: add --verbose flag
Change-Id: I993eac2b036e5cabd1b2152e72fe41d8a85f0825
2013-01-20 14:08:55 -08:00
Brad Fitzpatrick fb24b240cc dev-server: more verbose, build camdbinit lazily (speeds start-up)
Change-Id: I0a5dc255efd2cfcde7ff735a79ceeeb4b9965b08
2013-01-20 12:33:35 -08:00
Brad Fitzpatrick 0b076506bd Add GOPATH warning
Change-Id: I4dba0e2d3470b64640574ea35fe100aa30c16600
2012-12-23 13:07:46 -08:00
Brad Fitzpatrick f879818b10 dev-server: warn about missing svn
Change-Id: I6db5c5978d3ad26f771c35ce2d3e1a6e3f313ce9
2012-12-23 11:05:12 -08:00
Brad Fitzpatrick 7ca806661d Connection throttling for dev-server.
And on by default, to keep us honest.

Change-Id: Ic4c1fdfd06b54ec9108bb13c05714e9a81b642cd
2012-12-11 20:36:42 -08:00
Brad Fitzpatrick e3e65ee91b Add --offline dev-server option.
Change-Id: I1ecbc624af1519a44681f5bb57f1e14eaa83ced7
2012-12-06 13:55:39 -08:00
Brad Fitzpatrick 8c038b8715 Perl formatting
Change-Id: I7bc3d2def8c3a619d6d9b14821b3694665ca8542
2012-12-06 13:49:09 -08:00
mpl 47d1aa58e2 dev-server usage
Change-Id: Idd100a09b2d99785fdd40a518a2db754d945191b
2012-12-06 16:56:11 +01:00
mpl 19edba9f64 newui layout, only for dev-server use for now.
Change-Id: I0e77b8088b2e04fd56e017678cb6e0a476b10682
2012-12-04 21:41:35 +01:00
mpl 1942c8509b dev-server: when wiping, initialize blobserver
with blobs in ./dev-server-template

Change-Id: I49f9c861daecfdc5a32fed4a9e53e188e2cc0003
2012-11-21 11:17:35 +01:00
mpl 295cbade1b Add postgres support
Also added the -short option for make presubmit
because postgres test is too slow.

Change-Id: I6be21c4d4cd67671eb44ab65333fc32c1e261bbd
2012-11-03 19:59:22 +01:00
Brad Fitzpatrick 3195c87512 also allow localhost auth in dev-server
Change-Id: I892db9e60b302d10eebdcfd330649e86ead31993
2012-04-27 18:49:01 -07:00
Brad Fitzpatrick 10cf23c700 Get the MySQL indexer working again.
It now uses the generic indexing layer, rather than its own schema.
Also, move it under pkg/index/, like mongo.
Also, link in mongo to the main binary.
Not using the tests yet (leaving for mpl :))

Change-Id: I47a2203ca6c0b5244cd458aedec46227c4363c62
2012-03-26 13:57:53 -07:00
Brad Fitzpatrick 31e160f6b9 update dev-server and dev-blobserver (but dev-blobserver still broken on start-up)
Change-Id: I327cf8d2ec8c4a9c563df28ca76c75a75b62e21c
2012-03-05 16:36:28 -08:00
Brad Fitzpatrick 7751fac185 fix dev-server for file embedding
Change-Id: I23254930eaedf11a87389d85f54f86bafac20866
2012-02-29 08:01:59 -08:00
Brad Fitzpatrick 5d9f13ccab dev-server: fix path to test-secring
Change-Id: I59acfa5d975f6124cc90ca2b96338a9cd5266ef1
2012-02-28 23:42:28 -08:00
Brad Fitzpatrick 5b0d390f14 Update dev-server to use the go tool to build.
Change-Id: I0e5211fc785dca2bc16ec835d047d812a99e2441
2012-02-28 23:14:26 -08:00
mpl a7b2879e43 mongodb indexer + dependencies (mgo, bson, gocheck).
Change-Id: I6a54ff99777b6283829f3dfcafb0295b6022d5a7
2011-12-31 23:36:16 +01:00
mpl 9bfe46208f some more auth, continuation of I14a047f1a164b64062d94da0db7a64a658b086ae
Change-Id: I763c797f110854e0a3c906aceac72fff234f43df
2011-11-29 00:10:50 +01:00
Brad Fitzpatrick 1ad31ef6c8 Merge "auth: added username, camput can do https" 2011-11-28 02:06:43 +00:00
mpl 0e71f20415 auth: added username, camput can do https
Change-Id: I14a047f1a164b64062d94da0db7a64a658b086ae
2011-11-27 01:29:24 +01:00
Brad Fitzpatrick 911478aa30 Add dev-server --memory flag to disable mysql indexer and use in-memory index.
This is for testing the new generic indexing infrastructure.

Change-Id: I83798558a3de6ab2c53ae10e47f7189461043420
2011-11-26 15:30:22 -05:00
Brett Slatkin 0ffdf29f8a Fixing dev-server for shared environment
Change-Id: I9133afb303ffd398a93b3ba1e9e0f41869124469
2011-09-30 03:36:30 +00:00
Brad Fitzpatrick 854a65da0a dev-server: add --nobuild option
Change-Id: Ic4c711a033d28388e8e0453d86a7f1484093f1a3
2011-07-17 17:36:56 -07:00
Brad Fitzpatrick 741985eb9e dev-server: make mysql db name a function of $USER
This permits multi-user development servers without
stepping on toes.

Change-Id: I563fd93b2bdb23362a96a616c71e0efa3b984ba9
2011-07-01 19:17:08 -07:00
Brad Fitzpatrick 9d66ac653d dev-server: use resources from disk for quicker iteration times
Change-Id: I6a6f9d86ca7fa9358730096eb197f8bbe77ac102
2011-06-18 12:04:11 -07:00
Brad Fitzpatrick bdfde0a5fe Advertise the dev server password in the realm. 2011-06-09 16:09:21 -07:00
Brad Fitzpatrick 8d84a4de10 Add blobref.SeekTester interface; fixing UI downloads from cond storage. 2011-06-04 09:58:50 -07:00
Brad Fitzpatrick ccf33926c8 Replica blob handler for live replication. 2011-05-22 21:22:21 -07:00
Brad Fitzpatrick 621d3e2cc9 Start of 'shard' handler. 2011-05-21 09:26:20 -07:00
Brad Fitzpatrick 3073e02803 Add dev-server -a option to listen on all interfaces. 2011-05-14 16:40:16 -07:00
Brad Fitzpatrick 73e4da3b08 use 3179 port for dev-server; for use with dev-camput, etc 2011-05-09 14:17:11 -07:00
Brad Fitzpatrick c619cdcdf1 Allow dev-* scripts listening on port 0, and then log resolved port. 2011-05-09 12:22:31 -07:00
Brad Fitzpatrick 6d0639054d woot, signing handler hooked up to web UI now. 2011-05-05 21:21:30 -07:00
Brad Fitzpatrick 0ccf46e561 start writing up jsonsign handler to camlistored. 2011-05-01 21:23:31 -07:00
Brad Fitzpatrick 36989b6dcf Add dev-server helper script to run a full dev config. 2011-05-01 18:36:11 -07:00