Commit Graph

364 Commits

Author SHA1 Message Date
Brad Fitzpatrick 125c33f019 camlistored: auto-generate a secring/keyId for new users, without gpg
Change-Id: Ib653f9cb5fa0f5e4730854dfaea6c4654f94f377
2012-03-19 21:31:20 -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 73cd34a6a0 serverconfig & camlistored: simplify low/high-level config bootstrapping.
Change-Id: I22e003ff2eaa29b09a5c4cbb59afa1ca9bd624df
2012-03-19 13:09:00 -07:00
mpl 7f630657d5 generate low level configuration
Change-Id: I43d1610bdc386954dea724b4b38e184bf16e2d34
2012-03-16 00:05:24 +01:00
Brad Fitzpatrick a1e4d063f4 camlistored: move TLS setup to a function.
simplifies main.

Change-Id: If69523888102df2268c5b7c4e02e13afa91a7997
2012-03-05 07:17:58 -08:00
mpl 882f2d5eef generate default config for user when needed
Change-Id: Ifb5897b38cd72f18ff7ce1e9c3a8c23ee8751ba1
2012-03-05 00:04:35 +01:00
Brad Fitzpatrick 1642f9116c style
Change-Id: If0022de555bc444e7938693a5d1aa9a65a6d90aa
2012-02-29 08:01:49 -08:00
Brad Fitzpatrick dbf7e5e1e9 server/camlistored/ui: embed css too
Change-Id: Ic02b939dd59a4f9378719f18cfe2b5bc50545aab
2012-02-29 08:01:32 -08:00
Brad Fitzpatrick 8408c4f9b8 server/camlistored: link in pkg/index again.
Change-Id: Ie60572c1a5d4db4c90f93d0033d2fcbf67431d2f
2012-02-28 23:16:41 -08:00
Brad Fitzpatrick a98c59f082 include file modtimes in filembed
Change-Id: I9255071c163664bd9b00786df65e630668e227d0
2012-02-28 22:49:52 -08:00
Brad Fitzpatrick f4dd857477 checking in auto-generated zembed_*.go files 2012-02-28 14:51:21 +11:00
Brad Fitzpatrick 64bbffc3b5 move fileembed from misc 2012-02-28 12:45:46 +11: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
Brett Slatkin cba9c3638e Removes the old busted GAE/Java sigserver code
Change-Id: I6f339d3e9770dd38a51b359e6011d0ab94eafcf2
2011-12-04 13:13:59 -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