Commit Graph

2452 Commits

Author SHA1 Message Date
mpl cf80262ef1 ui.go: cleanup leftover println
Change-Id: I33892d2354ec09e112f3dba55a193bae4a7e8dd5
2013-06-11 14:00:53 +02:00
Brad Fitzpatrick 4e9ac1ebf3 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2013-06-11 13:27:08 +02:00
Brad Fitzpatrick f7d7d48cdd Cleanup
Change-Id: Ic0cdae094108bd3b6dca5f7db3005f1e17199de3
2013-06-11 13:27:04 +02:00
Brad Fitzpatrick 4922f46d99 Add a note to make.go
Change-Id: I9ff95fea40949116bb963e2153731b5f0ec37327
2013-06-11 13:19:46 +02:00
Brad Fitzpatrick 6643ccb34a Add a BUILDING file, update HACKING, clean some stuff
Change-Id: I39c310556cfa7643c3d1aa271acab8ce130e0953
2013-06-11 13:14:05 +02:00
mpl 779f7b33be Merge "newui: Final move to get rid of the old ui!" 2013-06-11 11:07:50 +00:00
mpl 75507e65fa newui: Final move to get rid of the old ui!
1) Everything in ui/ except for js-notes.txt was removed.
2) mv newui/* ui/
3) modified pkg/server/ui.go to make it all work
4) modified Makefile to generate server/camlistored/ui/deps.js
5) regenerated all the zembeds
6) Some fixes to attempt to make it (re-)work on appengine:
  -removed the Go1.1 check
  -added pkg/osutil/restart_stub.go (for restarting a process)
7) The closure handler now redirects to the online files when
the closure library is not on disk, because we do not embed
the required closure js files.

Change-Id: Id1bcf007550cafb7188ba2674352e8f3bd07fb8c
2013-06-11 13:25:59 +02:00
Brad Fitzpatrick bcb2a0e4ff Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2013-06-11 12:36:50 +02:00
Brad Fitzpatrick 748806418c Add a make-release script.
Change-Id: I1090efd713dfb8f6ca114b6d3f3e652eeccc8493
2013-06-11 12:36:41 +02:00
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