Commit Graph

340 Commits

Author SHA1 Message Date
Brad Fitzpatrick ce779cd0a7 add appengine build tags, so 'go build ./server/...' works.
Change-Id: I9bbcfe3d4c99de623b420a8559edbd73ed4739d3
2012-03-26 14:02:48 -07:00
Brad Fitzpatrick 0339f75162 move sigserver up a directory.
Change-Id: I219472713dfc2adfa34221a8689d9883c0e90a24
2012-03-26 14:00:43 -07:00
Brad Fitzpatrick a5d41f27c4 sigserver: update for Go 1
Change-Id: Ia8d3bd2992ba7a2ab704f0005a4e9b8274c0fc29
2012-03-26 14:00:07 -07:00
Brad Fitzpatrick d8fe21b89c appengine: +build lines earlier, where they work.
this code still not updated for Go 1, though.

Change-Id: I2c3c9c6d236906fe945684307c71ab2e9702861b
2012-03-26 11:11:57 -07:00
Brad Fitzpatrick e1dc4f7337 update to Go 1
Change-Id: Ib1e3b4e5879879cc6ff370b69799c9bf1d2986ec
2012-03-26 11:05:23 -07:00
Brad Fitzpatrick 5fc47dab41 appengine: start of bringing this server back to life.
Change-Id: I5d0df4c14646f3f189cda1abe25fae5da92d260f
2012-03-19 19:04:41 -07:00
Brad Fitzpatrick 0714a463c9 Update from r60 to [almost] Go 1.
A lot is still broken, but most stuff at least compiles now.

The directory tree has been rearranged now too.  Go libraries are now
under "pkg".  Fully qualified, they are e.g. "camlistore.org/pkg/jsonsign".

The go tool cannot yet fetch from arbitrary domains, but discussion is
happening now on which mechanism to use to allow that.

For now, put the camlistore root under $GOPATH/src.  Typically $GOPATH
is $HOME, so Camlistore should be at $HOME/src/camlistore.org.

Then you can:

$ go build ./server/camlistored

... etc

The build.pl script is currently disabled.  It'll be resurrected at
some point, but with a very different role (helping create a fake
GOPATH and running the go build command, if things are installed at
the wrong place, and/or running fileembed generators).

Many things are certainly broken.

Many things are disabled.  (MySQL, all indexing, etc).

Many things need to be moved into
camlistore.org/third_party/{code.google.com,github.com} and updated
from their r60 to Go 1 versions, where applicable.

The GoMySQL stuff should be updated to use database/sql and the ziutek
library implementing database/sql/driver.

Help wanted.

Change-Id: If71217dc5c8f0e70dbe46e9504ca5131c6eeacde
2012-02-18 21:53:06 -08:00
Brad Fitzpatrick 079dd35213 Merge "tag (and non fuzzy) search on the home page" 2011-12-04 23:30:48 +00:00
mpl b630785f3b tag (and non fuzzy) search on the home page
Change-Id: I36f48bf59dcb444455e904445e28a1da3681dc36
2011-12-05 00:23:50 +01:00
Brett Slatkin 3941dec356 AE: Beginning to hook up syncer; needs refactoring for background tasks
Change-Id: I809cfbc98f7ec58aca58db82dc6ce27b28b7fd65
2011-12-04 15:19:28 -08:00
Brett Slatkin 894c3c66ae Moves sync module into lib/go/server
Change-Id: Iccf8674712f4ecb70d9eb28e8316d151a88e842f
2011-12-04 14:35:26 -08:00
Brett Slatkin 9bad75cb95 AE blobserver working locally with dev-camput
Change-Id: I3dde1bf7fe3cb15e49f2b0ec4a99f85a24497f32
2011-12-04 14:00:38 -08:00
Brett Slatkin 0d32921bb8 AE blobserver: Fixes config and auth module.
Change-Id: I198a137050516db530acecdacca117c918cb0fa6
2011-12-04 13:29:15 -08:00
Brad Fitzpatrick b32c267fa1 Merge "App Engine: Tries to implement RemoveBlobs" 2011-11-30 16:36:14 +00: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
Brad Fitzpatrick 3dd1dcbb70 simplify the Index.GetRecentPermanodes method a bit
Change-Id: Iced53892d3a1ab7633762e8c59986a59d5dc3d90
2011-11-27 10:52:39 -05:00
mpl 0e71f20415 auth: added username, camput can do https
Change-Id: I14a047f1a164b64062d94da0db7a64a658b086ae
2011-11-27 01:29:24 +01:00
mpl e233c981e0 auth: config for a non dev mode,
self gen tls certs, force https in non dev

Change-Id: I7faa6b35f44a7925b06d22ade7f5986a12728362
2011-11-10 16:20:53 +01:00
Brett Slatkin 4583209090 App Engine: Tries to implement RemoveBlobs
- No idea if it works!

Change-Id: Id1a6c1baf79ddcbd45a93cb49d5aff48889bc87d
2011-11-02 00:05:02 -07:00
Brett Slatkin 9ba68379cd App Engine: Fix the build
Change-Id: Id7abfa450839e842921c80c90dd33ab63e02f06e
2011-11-01 21:37:10 -07:00
Brad Fitzpatrick b223044009 app engine work: WrapContext on cond, replica, and aeindex.
Change-Id: I8667413c241acd99387184d561beee4d1aec623c
2011-10-27 22:08:55 -07:00
Brad Fitzpatrick f717516881 more app engine logging
Change-Id: I4ad74dadb60f8de25a959b7b815cbca7da92ff2f
2011-10-27 14:27:18 -07:00
Brad Fitzpatrick c71dee2bc2 app engine index: close dest channel in GetRecentPermanodes
Change-Id: I6c23f255513ef62a223550c31ec608b2ad62850c
2011-10-27 14:01:10 -07:00
Brad Fitzpatrick a53ef6e257 more App Engine bootstrap work.
Change-Id: I11a141b833bf1940aadcd0cd20adc53da8ea4151
2011-10-25 19:40:50 -07:00
Brad Fitzpatrick 955c949dc7 appengine: unify some code
Change-Id: I4eff754c04aa3ca93e23cdea1fa20c1af7c5d48e
2011-10-21 18:42:09 -07:00
Brad Fitzpatrick c195fdfe0b Start of App Engine index
Change-Id: I888128936215baceeefa2147417c0c5e6f6ef3b3
2011-10-18 19:14:42 -07:00
Brad Fitzpatrick 3e5dfa6688 App Engine: wire up sighelper.
Change-Id: Ia591ff293ba35422936d9c0c97fcd340f1008533
2011-10-18 14:36:04 -07:00
Brad Fitzpatrick 17c4fb81f4 Get the UI starting to work in App Engine.
Change-Id: I6fc3420bb6e4d41595c3ef511bbdafa82ff51cf3
2011-10-18 11:12:53 -07:00
Brad Fitzpatrick e351525afd Move all the camlistored handlers (UI, signing, etc) into a package.
Change-Id: Idf63c83cd7faf006e4a9047b47a16ea2950e5147
2011-10-18 11:12:01 -07:00
Brad Fitzpatrick 94e1484db4 start of long road of adding UI + search to app engine
Change-Id: I7c504d1f431cc15dd71afef75ff98cfe91712c02
2011-10-17 07:53:50 -07:00
Brad Fitzpatrick b7c75e2011 clean up app engine init a bit; show error messages in browser.
Change-Id: Id99a2015b65a0d8aa6618451adfac38f21969222
2011-10-17 07:53:30 -07:00
Brett Slatkin 130b05eaeb App Engine: Fixes /bs/camli/stat to return the correct upload URL
Change-Id: I9062917fe052652c3714c99ab7f572f8f20e5dba
2011-10-13 00:00:54 -07:00
Brad Fitzpatrick f345db5411 AppEngine storage namespace support.
Change-Id: I41d83598cfdef4795d5fbc5763efcad81de84c0a
2011-10-12 18:10:58 -07:00
Brad Fitzpatrick d2d1018f59 App Engine: store size and blobref as []byte to make them unindexed.
Change-Id: Ie0254f95250ec986df67feef519e07b781b7761a
2011-10-10 18:48:34 -07:00
Brad Fitzpatrick cfb2765395 App Engine enumerate support. All works.
Change-Id: I61470090f5f2f30f8f6e7a802f6489d943aed1b7
2011-10-10 17:58:59 -07:00
Brad Fitzpatrick 4fc24cba87 App Engine get support, untested, and fix Config shadowing breaking stat
Change-Id: I488a81c7968af746b727bcfc3ed8a4649107a26c
2011-10-09 18:41:54 -07:00
Brad Fitzpatrick e9991b1702 Barely tested App Engine stat handler support.
Change-Id: Ia8abc53e3f538198773940f9515ff551e97eb8de
2011-10-06 23:24:40 -07:00
Brad Fitzpatrick e69c74af54 Untested App Engine storage receive support.
Change-Id: Ib0e884857872064b9886808bd0f83c69d8f3aa77
2011-10-06 18:10:29 -07:00
Brad Fitzpatrick 2600d227eb introduce ContextWrapper to get App Engine its Context.
Change-Id: I789440f01a42b1172b6c70ff14f00ff5bd45786a
2011-10-06 17:44:30 -07:00
Brad Fitzpatrick b5cb593bf3 Start of an App Engine blob storage implementation.
Just a shell for now, but wired up.
2011-10-05 14:34:55 -07:00
Brad Fitzpatrick f522a6f588 More camlistore on App Engine work; starting to work. 2011-10-04 16:39:02 -07:00
Brad Fitzpatrick 3f5631d2d8 serverconfig: push abs path business to caller 2011-10-04 16:22:12 -07:00
Brett Slatkin b2c08dda1d camlistored appengine: App Engine symlink farm work, r59 hell
Change-Id: Id97f446c859ddd9caf4c5441b3cd1d2998f34d66
2011-09-30 05:43:56 +00:00
Brett Slatkin 008738ed7a Start of camlistored on App Engine
Change-Id: Iaae1ba699875c4a56f3e0f93dea6e6c91fe844fe
2011-09-30 05:25:21 +00:00
Brett Slatkin b967f04d4e camlistored: Refactor main() into tiny main and loader library
This will make running on App Engine a lot easier, letting us share code.

Change-Id: Ibe989387d44d94869c31c8306683e49af261496a
2011-09-30 05:07:04 +00:00
Brett Slatkin 8a96dc4037 camlistored: Refactoring main function into smaller pieces.
Change-Id: I66cc428c961f4b0582f20d906da4cb621a7e3aaa
2011-09-30 04:18:12 +00:00
Brad Fitzpatrick 8c72348a19 Rename Stat->StatBlobs, Remove->RemoveBlobs; add StatReceiver.
Also, return missing errors in google storage stubs.

Change-Id: I5b168bbcd8a2996e3db4ffc35d2ac06006b3a2d3
2011-09-28 19:37:28 -07:00
Brad Fitzpatrick 31488a1d5f Issue 43: clean and rename the "files" table and its columns
Part of Issue 17 (the files/bytes change)

Details:
http://code.google.com/p/camlistore/issues/detail?id=43
http://code.google.com/p/camlistore/issues/detail?id=17

Change-Id: Ic6ebc018edf51f92bf2063c42fa19f80fe597181
2011-09-13 19:56:58 -07:00
Brad Fitzpatrick c0ea8dbcb1 Issue 17: file vs. bytes schema change
Details:
http://code.google.com/p/camlistore/issues/detail?id=17

Change-Id: Ia1237952a2a66f1dcacd00c5c28eb360d9f1d1d7
2011-09-13 11:57:50 -07:00