Commit Graph

19 Commits

Author SHA1 Message Date
mpl 1bd76c138a setup wizard: redirect to server docs until someone wants to do nicer
Plus we're going to have the automatic deployment to GCE for total
newbies and advanced users don't need the wizard, so it felt like it
needs to die/be hidden.

http://camlistore.org/issue/522

Change-Id: I2ad3d12197df83eb57f68e6b3c85f2d691e96c75
2014-10-19 18:22:21 +02:00
Brad Fitzpatrick bf54591e8d Remove the memIndex option from genconfig and devcam; default memoryIndex to on.
We had the legacy "memIndex" option to put the Camlistore index in
memory (the leveldb memdb) as an option in genconfig called
"memIndex", and we also had an option called "memoryIndex" for whether
to slurp the on-disk index to memory on start-up.  Too confusing!

Instead, delete "memIndex" (since it's not the default anyway, now
that we have kv).

Then, also (the original point of this change): default the
memoryIndex option to true, so search works for people by default.
This option might go away in the future if it becomes the only required
way.

Also, document this.

Change-Id: Iddffa6e19adbf09c5aacd063aa44de362d90633b
2013-12-11 12:20:22 +04:00
mpl daa6e35bf2 wizard: added xsrf protection
Change-Id: I1d80faecd43953c22162a85eec92590cdfcef4ed
2013-06-11 17:16:21 +02:00
mpl b12865c348 wizard: cosmetic changes and clean up
Change-Id: I6d8aa1e283aa3db70b59972bcc06d5ee45e16963
2013-06-11 16:48:53 +02:00
mpl 17119dade8 setup wizard: parse shareHandler and memIndex fields as booleans
http://camlistore.org/issue/128

Change-Id: Iee55f4e758a0429d6490efe745f5256580efee6e
2013-04-01 17:06:03 +02:00
Brad Fitzpatrick 4c7e985c14 uploadhelper: use a type for JSON response, not maps.
Change-Id: I642af4daf97829a813bf7dad61cc7683ec780e69
2013-02-11 20:33:53 -08:00
Ryan Barrett 759ea2b4e6 validate format of blog and gallery fields
Change-Id: I757d17e746a76fac0006edc0272b2f665dd730f8
2013-01-20 14:04:41 -08:00
mpl 12213c058e Changed auth to take into account not only the credentials,
but the requested operation/action too.

This allows to restrict vivify credentials to only upload
(as well as get and stat, because they're needed) to the
blobserver.

Change-Id: Idaed60d1f0d679cb9795ba9a11f094f964774335
2013-01-04 22:17:12 +01:00
mpl c61feaa0bd wizard: placeholder for gallery field
The gallery field of the wizard is awkward and undocumented.
This placeholder at least gives a hint to devs (and maybe users)
on what is expected in that field.

Change-Id: Ie707dbecaf87ec98e267fcf6b987cd3b6a1d13e0
2012-10-29 11:10:42 +01:00
mpl 231c3d7405 wizard: bugfix, TLS is now https
this should have been done along with
the other changes in 94cb8cf05a

Change-Id: I376e6616c3aeaa9d5accb65b64a43d101de25d3b
2012-10-25 18:39:55 +02:00
mpl 0b15eb0cc8 handlers in wizard: swap arguments to match http handlers style
Change-Id: I78e9b218392979017682c375ce8a4b636ed3a832
2012-10-15 17:29:12 +02:00
mpl 844551d0b2 If baseURL was not user defined, this change makes sure it is
dynamically defined from incoming requests.
The listen flag has moved from pkg/webserver to server/camlistored
and is not using runsit anymore.
httputil.ServerError now only outputs the full error if we're
in internal/debug mode.
http://code.google.com/p/camlistore/issues/detail?id=53

Change-Id: I55a1c6d43a549d9ee2022742a83aa142dc19e02a
2012-10-15 16:26:50 +02:00
mpl 497fc21385 Added/changed copyright
Change-Id: I1de302b52903ebf61100ab061c1fa7f14495fde8
2012-05-27 01:37:54 +02:00
mpl b2f079f081 handle SIGHUP, restart camli from wizard
Change-Id: I9856e49b9c4d76dc3bed1827594451349d4f5810
2012-05-16 11:37:29 +02:00
Brad Fitzpatrick 736d969cb9 fix build
Change-Id: Idf0168efdcec0868925cad5c9e51c3476696dab7
2012-04-26 17:04:20 -07:00
mpl 2a844730b3 support for published entities in genconfig and in wizard
Change-Id: I1768dac9628edb59cf0b987e9054b920d234b36b
2012-04-23 21:00:05 +02:00
mpl 255ed2a472 support arrays as comma separated values in wizard
Change-Id: I44de427c91859ee23c230f4649d5f27a1502370b
2012-04-21 22:44:13 +02:00
mpl f7448ec758 restrict setup access to localhost
Change-Id: I889b9debfc65e25084c1e9715e7d14621f009039
2012-04-15 20:09:51 +02:00
mpl 8466cd9e44 wip: setup wizard
Change-Id: I9989f7ff3981eb7c9025bbb9bd174cc92862af35
2012-04-06 19:29:58 +02:00