Commit Graph

2918 Commits

Author SHA1 Message Date
Brad Fitzpatrick 70d1bfd635 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2013-08-28 13:09:26 -07:00
Brad Fitzpatrick 4a36d23207 website: fix redirection of some /gw/ links
Change-Id: I524ee2dd48fa16c4b3954fdf58878b7256702347
2013-08-28 13:09:01 -07:00
mpl 353c19e551 osutil: doc on Username
Change-Id: Ic6deb921e9fb7cdce34e4e50143b321b6aedd697
2013-08-28 21:38:57 +02:00
Brad Fitzpatrick 07e11f66a7 jsonconfig: special-case USER env var expansion on Windows
Change-Id: I7ff6c68417f901a7e7e41da1e2bf23be6e94cfa1
2013-08-28 12:27:09 -07:00
Brad Fitzpatrick 3c3009a270 lock: fix Windows build
Change-Id: I1bf2552ca138e57217f81bf452ffdb8071596e99
2013-08-28 12:22:01 -07:00
Brad Fitzpatrick 6d761897db Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2013-08-28 12:16:37 -07:00
Brad Fitzpatrick f0d4a61b6a Use osutil.Username in more places.
Change-Id: Id1154fc16c98b3c72d425a4a8adae9c6c0bb2c04
2013-08-28 12:00:17 -07:00
mpl de3d73707a serverconfig: find username on windows too, to set dbname
http://camlistore.org/issue/215

Change-Id: I0599b8061d91c2f6a4ceaa00e54bd0b899540c97
2013-08-28 15:54:07 +02:00
Brad Fitzpatrick ca64e4f508 camlistored: on SIGINT, shut down cleanly, closing the kvfile index db
Change-Id: Ifcb8c22b088586bc72ad98dacc3be2d46e77928b
2013-08-26 21:07:28 -05:00
Brad Fitzpatrick 4a6d87af41 blobserver: rearrange interface.go a bit; add ShutdownStorage
Change-Id: Idbcbf4211331e9b53185e9dd951a174c06c9215c
2013-08-26 21:06:36 -05:00
Brad Fitzpatrick 8b98a03709 Delete fcntl lock file on Unlock; merge common code.
(upstream: 1f0f047)

Change-Id: I731a3c4af2d9fed7795ec52c42fb6ada00a04c60
2013-08-26 21:03:00 -05:00
Brad Fitzpatrick f2dd7c1328 Add 0.4 to history
Change-Id: Idaf22fd681106349c693fc49a7bc5499212eb17c
2013-08-26 18:06:54 -05:00
Brad Fitzpatrick 7963001a9c dev/make-release: change in-correct-directory heuristic
Change-Id: If0ee4fb0aea262e1f283e16e85a489d4f806f51b
2013-08-26 18:05:12 -05:00
Brad Fitzpatrick 6489b9f7ce Docs for 0.4 release.
Change-Id: I30fb6000ea81e90c7835d39598c873ae838fcf0f
2013-08-26 18:03:40 -05:00
Brad Fitzpatrick 83c81035bc Don't open the browser in integration tests.
Change-Id: I75e552cfbc7312f0df1530ea8529adf9fdceb4a0
2013-08-26 18:03:24 -05:00
Brad Fitzpatrick 22e7395f85 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2013-08-26 18:01:30 -05:00
Brad Fitzpatrick ac05ce80ae Merge "devcam: bugfix; do not fail when binary does not exist" 2013-08-26 23:01:22 +00:00
Brad Fitzpatrick bb02bbb461 gitignore: ignore cross-compiled binaries
Change-Id: Ie19967e1492d2e14f348fe8800d62535958022e9
2013-08-26 17:53:15 -05:00
Brad Fitzpatrick b7ee1a9037 C: add Johan Euphrosine
Change-Id: I4b973fbc8e7d8b309eb9da6340e4349cca9555d3
2013-08-26 17:52:41 -05:00
Brad Fitzpatrick 8e005c4f6e Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2013-08-26 17:52:17 -05:00
Brad Fitzpatrick ed998308fe make.go: turn --sqlite flag into a tri-state with 'auto' as default
Change-Id: I916e90aec6a19ff3d8610eccf8df84f445a46730
2013-08-26 17:52:02 -05:00
Johan Euphrosine 4928a880be dev/devcam/appengine: map -all flag to devappserver2 --host
Change-Id: I1cb352041405f5244159f23b37ce2c215a422943
2013-08-26 15:36:34 -07:00
Brad Fitzpatrick 6dd3bced50 website: don't open browser when running side blobserver
Change-Id: Ia444584744e2ba8e0b54b166c1d42220d0e9544b
2013-08-26 16:43:19 -05:00
Brad Fitzpatrick dbb93fd888 Don't link to /setup handler for dev server.
Change-Id: Ic0c27718b3a06c2a6dff21a24744b1dce2944617
2013-08-26 11:25:11 -05:00
Brad Fitzpatrick ec5e56a578 Handle stale locks. (0b2efbb556 from github.com/camlistore/lock)
Change-Id: I31879f4f98c8a8dcc55734d35842009c2158a8e6
2013-08-26 09:06:55 -05:00
mpl 6bc558910d devcam: bugfix; do not fail when binary does not exist
http://camlistore.org/issue/213

Change-Id: I432a8ec04cb02c4c5241bd38361fad3d6d39ee02
2013-08-26 15:14:52 +02:00
Brad Fitzpatrick c55bf01f84 Move osutil.Lock to its own package
Now in a small repo at github.com/camlistore/lock and brought into our third_party.

Change-Id: I966ca6126dde8b7c2e03f0d9fab1e36abd66c2ef
2013-08-25 19:53:01 -05:00
Brad Fitzpatrick 496b3d091f kv: import c721b822b5
Change-Id: Iff228f076abd5deacab1f8771edc9d87221a4dcc
2013-08-25 14:11:10 -05:00
Brad Fitzpatrick ef6bc9499e Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2013-08-25 12:58:34 -05:00
Brad Fitzpatrick 46020e1551 Make kvfile index the default if SQLite isn't available.
We now work out of the box, with no external dependencies.

Change-Id: I8d0cedb33518e418a7ff28cdb22f9ba9ef400d6f
2013-08-25 12:57:51 -05:00
Brad Fitzpatrick 87451bb5bd index/kvfile: use new Locker hook in kv to use osutil's Lock func
Change-Id: I7573ea79f5f99ef1b7fe03bd9270b61940339a56
2013-08-25 12:56:36 -05:00
Brad Fitzpatrick 6a8f653ef0 osutil: more details on Lock failure
Change-Id: I84764dc257a9a8bf8fddd55f9f22fa67a8c3bdfb
2013-08-25 12:56:04 -05:00
Brad Fitzpatrick 2ddb716b83 Merge "devcam: add -openbrowser flag. Don't open the start page on browser by default." 2013-08-25 17:31:46 +00:00
Brad Fitzpatrick 1e15d7ee89 Merge "camlistored: Adding --openbrowser flag, determines whether start page should be opened in browser. Start page should be / on the initial startup to let the user to config the server, and /<uiPath> on the following starts." 2013-08-25 17:31:35 +00:00
Brad Fitzpatrick e9d5346eb2 Update github.com/cznic/kv to github.com/camlistore/kv fork at c7613936816
(Let lock function be pluggable.)

Change-Id: I3bd33527ab52a020d152262aeb19c8c87ac45409
2013-08-25 12:30:09 -05:00
Brad Fitzpatrick 44acc3b2e7 serverconfig: add kvfile support
Change-Id: If8b4d6b74711cfc169e66ab60a568bcb9b67a7d0
2013-08-25 12:25:30 -05:00
Burcu Dogan 2de9f8aafd devcam: add -openbrowser flag. Don't open the start page on browser by default.
Change-Id: I1dc3804bf192dc5119c7d05758ccbacd0e7740f1
2013-08-25 18:28:54 +02:00
Burcu Dogan d0d5f3a1fa camlistored: Adding --openbrowser flag, determines whether start page should be opened in browser. Start page should be / on the initial startup to let the user to config the server, and /<uiPath> on the following starts.
Change-Id: I3ac055161c5023bd338fccccda83376df7381c64
2013-08-25 12:30:46 +02:00
Brad Fitzpatrick db18ff8a60 Fix Windows build.
Change-Id: I7c42165ac632a63e18d1cf6eea844b0025a4060d
2013-08-23 18:05:33 -05:00
Brad Fitzpatrick 500ba50b97 devcam: make kvfile the default dev-server indexer.
Memory index requires -memindex now.

Change-Id: I6df424e88c3783e397c528cd8633402a9edf3d95
2013-08-23 17:19:21 -05:00
Brad Fitzpatrick d6a0b34e5f camlistored: link in kvfile
Change-Id: I55f65275b45f7de0efc0c52e84ac61f4baebaa38
2013-08-23 17:14:33 -05:00
Brad Fitzpatrick 4fa8c3117a Add pkg/index/kvfile: index.Storage impl on top of github.com/cznic/kv
Change-Id: I4adb44c4e70ad8e68b4292fefbbd02e0a52beb6c
2013-08-23 17:13:42 -05:00
Brad Fitzpatrick 2c2c1723bd Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2013-08-23 17:11:03 -05:00
Brad Fitzpatrick 1d53a84c66 jsonconfig: fix inconsistencies with booleans from environment variables
Use strconv.ParseBool.

Change-Id: Icbf27c78d9f144e333ba67063f4c1e32822fe9e8
2013-08-23 17:10:56 -05:00
mpl 99aaf3b55e client: take into account "selfPubKeyDir" from config when signing
http://camlistore.org/issue/210

Change-Id: Id6d75393a90bdf3141acc10fddc2b3cedee64422
2013-08-23 21:31:03 +02:00
Brad Fitzpatrick 9bfb89967c pkg/blob: optimize MarshalJSON.
No real reason. Just finishing a TODO.

Change-Id: I9266cee9d3872f9b27baa8287b967e9446e1314d
2013-08-23 13:41:20 -05:00
Brad Fitzpatrick ec4af83d19 pkg/blob: implement Go 1.2's encoding.BinaryMarshaler
Change-Id: Ic9fbbd4cdd99fbf19ed2467f9fc151c688ec048f
2013-08-23 13:30:18 -05:00
Brad Fitzpatrick f243811297 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2013-08-23 11:54:30 -05:00
Brad Fitzpatrick d7898d4712 pkg/osutil: add Lock function and tests.
Prep for using cznic/kv in camput and as index.Storage.

Change-Id: If912f7cb6b33247217f7812ac2082414436c0bf5
2013-08-23 11:54:25 -05:00
Bill Thiede 80dfa10a62 github.com/cznic/fileutil: fix FreeBSD build.
Fixes build broken in
https://camlistore.org/gw/01ce3859291e9e012b497af13a4c2dd82d2d1d4f

Change-Id: Ieede30ab41c6896f0b9964895ca7237fa6c34b5a
2013-08-23 09:47:08 -07:00