Commit Graph

2443 Commits

Author SHA1 Message Date
mpl 83841af124 Merge "misc/genjsdeps: command to generate closure deps" 2013-06-11 09:04:52 +00:00
Brad Fitzpatrick 04bd9cd897 make.go: use a different temp GOPATH for sqlite-vs-not; add verbose flag
Change-Id: Iccb140f6ca740a77fce2510689d237aa9c456d21
2013-06-11 01:22:28 +02:00
Brad Fitzpatrick ebc236f9f0 make.go: add the forgotten os.Chtimes in mirrorFile.
Now incremental builds are fast again.

Change-Id: Ibd0a6ef8f2bdec4f760476e5507ec0c3a17f110d
2013-06-11 01:18:29 +02:00
Brad Fitzpatrick dcc41792fb Add a genfileembed package comment
Change-Id: I65bfd3c1956921bb8d1d805cd6df84bc376ec802
2013-06-11 00:55:31 +02:00
Brad Fitzpatrick 3b3c2288a2 New build tool. Should even work on Windows, if Go 1.1 is available, without MinGW/msys/etc.
Change-Id: Idb197cc2309ae294ce42d41c7d35333d1cfed48c
2013-06-11 00:55:17 +02:00
mpl 89e14d8f7d misc/genjsdeps: command to generate closure deps
reusing code from pkg/server/ui.go

Change-Id: I56b8d4b42df2fbcbbe3d654261036cdb907f9f27
2013-06-11 00:00:47 +02:00
Brad Fitzpatrick cbea6a6692 Not going to do this yet
Change-Id: I936e73a48bf4243877d0e185a5e7c51bbf1ea96c
2013-06-10 19:28:50 +02:00
Brad Fitzpatrick 7fd16c5df4 remove debugging
Change-Id: If83580e85cfb350bba059dde9e7bccb0c7658e99
2013-06-10 19:23:34 +02:00
Brad Fitzpatrick 3658434d42 fileembed: remove Camlistore-specific hack we're no longer going to do.
death to all.js & Closure compiler output. Yay SPDY.

Change-Id: I44ca96d1b6d1d5d64822870558025e15dee4870c
2013-06-10 01:47:45 +02:00
Brad Fitzpatrick 5e13871b67 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2013-06-10 01:34:39 +02:00
mpl 62cb54b28f serverconfig: fix tests broken by status handler addition
Change-Id: I2dbf2f56e87d2f5043dd6299e151faa71631fb46
2013-06-10 01:21:23 +02:00
Brad Fitzpatrick c6cb32bcac fileembed: put all metadata first, and also support rolling checksum splitting of large embeds
Change-Id: I9da21c9a21cb2f9b04484d4374a621cb4b97679d
2013-06-10 01:11:03 +02:00
mpl 4ea052fca0 newui: permanode: rm type drop down, added cammount tip
Change-Id: Iec6f4fb7c3e7ad1ed92ee409822f15a5e2d41e11
2013-06-10 00:41:05 +02:00
mpl 2de24d22b5 Merge "newui: bug fix: filetree now working" 2013-06-09 21:13:50 +00:00
mpl 4b32a6fb6a newui: bug fix: filetree now working
Change-Id: I0c5faa5a22f6dd1b80896a4e4eb7a3ee5f2c4a67
2013-06-09 23:29:43 +02:00
mpl 6b7bbd8f0d Merge "newui: fixed bug on permanode page, constrained a type, added a TODO" 2013-06-09 21:13:17 +00:00
mpl ddc9a32426 newui: fixed bug on permanode page, constrained a type, added a TODO
Change-Id: Ibb92f4fbc9a4a433b9f3ebd53c9f5b8ccc50edea
2013-06-09 20:18:36 +02:00
Brad Fitzpatrick 152d0781b1 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2013-06-09 19:48:38 +02:00
Brad Fitzpatrick fbc3af2673 rollsum: add OnSplitWithBits
Change-Id: I6646695fdffbe8df697c54dab9a0601a0bf59459
2013-06-09 19:48:30 +02:00
mpl d32cfcc9cb buildinfo: document GitInfo
Change-Id: I1b62fd1b56de4ae9a9448886e4b2287a8dbae456
2013-06-09 19:38:30 +02:00
mpl 277795ad46 Merge "server status: bugfixes, and rid of version as a field." 2013-06-09 17:12:11 +00:00
mpl 9942cda125 server status: bugfixes, and rid of version as a field.
Also smaller font on the index page

Change-Id: I5918dedfadf551a8a982d74670fefc4174555c72
2013-06-09 19:27:17 +02:00
mpl 7059a616c0 show server status on index page
We're only showing build version for now.
Next step would be status handler.

See http://camlistore.org/issue/111

Change-Id: I9e0792abe9ffed8139d38478d186b6e75f99de7e
2013-06-09 18:46:24 +02:00
mpl b815a01347 Merge "show server status on index page" 2013-06-09 16:34:05 +00:00
Brad Fitzpatrick 70afe9597a Merge "Makefile: added DebugPage namespace in all.js" 2013-06-09 15:16:14 +00:00
Brad Fitzpatrick af72a7a48d Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2013-06-09 14:52:32 +02:00
Brad Fitzpatrick 36c1ecebd9 Let camtool sync's --dest and --thirdleg flags take local disk paths, instead of servers.
Change-Id: I8daddf06a7201384edff2cb22ecfd5872fc84928
2013-06-09 11:36:26 +02:00
Brad Fitzpatrick ebbc943502 Fix environment of dev-camtool.
Change-Id: I671e18cbc07ed9f28afdd3ac7368cd691f44a992
2013-06-09 11:03:48 +02:00
Brad Fitzpatrick 248a30ee9f more TODO
Change-Id: I9a8ffab14e51fc92d6fa4b67b4b28bddc82ea7bd
2013-06-09 10:58:06 +02:00
Brad Fitzpatrick 6a773f903e more TODOs
Change-Id: Ibeb698d87ce474ef7f729ec741e3a89ed3e3ffc0
2013-06-09 10:11:31 +02:00
mpl 5055205d9e Makefile: added DebugPage namespace in all.js
Change-Id: I571e3cc5da192866553b74bdc01ad55b04283ba9
2013-06-09 00:21:45 +02:00
mpl 39f1c2bae1 ui: published gallery fix
Change-Id: I42320d31da7393a2062833897ec581a245608d7c
2013-06-08 19:08:29 +02:00
Brad Fitzpatrick 99267e1f71 Merge "Add -fileembed-package and -all flags" 2013-06-05 16:39:04 +00:00
mpl 90f8e3686d serverconfig: fix test
reflects newui changes to published gallery

Change-Id: I6f989c205f5e17442615b4b131d4dfb2a96d376d
2013-06-05 15:07:53 +02:00
mpl 3040e3852e Merge "WIP: switch from ui to newui" 2013-06-05 12:29:29 +00:00
Josh Bleecher Snyder f72c466501 Add -fileembed-package and -all flags
The -fileembed-package flag makes genfileembed
play nicely with goven. If you use goven to
vendorize fileembed, the fileembed package path
changes (to be relative to the current project).
With -fileembed-package, you can make the
generated code import the correct (vendorized)
fileembed package.

The -all flag forces processing of all files,
not just modified files. This is useful when
changing -import-prefix, when
working on a filesystem with unreliable mtimes,
or when being neurotic/defensive in build scripts.

Addresses https://code.google.com/p/camlistore/issues/detail?id=137

Change-Id: I54215429dabd02bc1fa72c6718e1cabccb1cffaf
2013-06-04 19:07:58 -07:00
Brad Fitzpatrick 8e4b1ee211 Merge "Handle requests for / in fileembed" 2013-06-05 01:36:55 +00:00
Josh Bleecher Snyder 92645983c6 Handle requests for / in fileembed
The motivation is to make fileembed play
nicely with http.FileServer, particularly
when index.html is involved.

Why add Listable to Files?

* Don't change behavior for existing integrations
* Don't make it too easy for developers to
  accidentally leak potentially private
  information

Change-Id: I3f4fd3457b606ee98e5f4b117ff9b87e1230c589
2013-06-04 18:51:47 -07:00
Brad Fitzpatrick b3951d7d0f Merge "Stop using $USER in misc/review" 2013-06-05 00:48:25 +00:00
Josh Bleecher Snyder 224e25d8cc Stop using $USER in misc/review
For folks whose $USER doesn't match their
Gerrit username, editing misc/review is not a
great solution, since the changes cannot be
committed (nf notwithstanding).

Instead, let ssh config files do their thing;
these are not part of the repo, and thus can
be set once and merrily forgotten.

Change-Id: If03fe05e5779553ed1f98310e8f22b0635ada7bb
2013-06-04 17:30:23 -07:00
Brad Fitzpatrick c141823887 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2013-06-04 17:24:23 -07:00
Brad Fitzpatrick a31de3c581 A+C: add Josh Bleecher Snyder
Change-Id: I45e0695d35e737d1a1b268a4ce489b2660c305fa
2013-06-04 17:24:12 -07:00
mpl 481bdf346a blobref: enforce Go1.1 is required,
also types: rm Go1.0 RFC3339Nanos work-around

Change-Id: I9ce8495927fe349e7882f0a7d6c4f0051693fa2c
2013-06-05 01:19:08 +02:00
Brad Fitzpatrick f7c3323b83 Merge "discovery: use c.newRequest" 2013-06-04 23:16:13 +00:00
mpl c9905c246a discovery: use c.newRequest
Change-Id: I69f5fa86f70872a43326f9815b500eac0c122db4
2013-06-05 01:13:53 +02:00
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 d8e8674582 Merge "buildbot: more idiomatic chan timeout, and chan reuse." 2013-06-04 14:16:47 +00:00
mpl d9649744b9 buildbot: more idiomatic chan timeout, and chan reuse.
Change-Id: I3b4a1e69c6b2c3d3889dbb62067d53cebf4eb8aa
2013-06-04 15:16:02 +02:00
mpl 448b456234 android: log when ping fails to resolve
Change-Id: I990d9dfe24e526474601b4a18ec194be7af21331
2013-05-27 22:28:46 +02:00
Brad Fitzpatrick e15c7ceea7 todos
Change-Id: I6b5b09884353770c662c6377c498f149dbcc37f7
2013-05-26 10:07:35 -07:00