Brad Fitzpatrick
96d1784501
Clean merge junk
...
Change-Id: Iff8fb872c2bddb178d019d103c6f56c28661c92f
2013-01-20 15:48:19 -08:00
Lindsey Simon
88f068b009
Implements select and multi-select on blobitemcontainer
...
Change-Id: I23dab29d57a11408fab6f55e6c83981819d284fa
2013-01-20 15:45:04 -08:00
Brett Slatkin
bcdc6cd982
newui: Fix titles for collections; adds drag/drop message while mid-drag
2013-01-20 15:32:15 -08:00
Brett Slatkin
306c1a7ec5
newui: Fixing configuration callback function
2013-01-20 14:00:48 -08:00
Brett Slatkin
7ee20dd614
Merge branch 'master' of ssh://camlistore.org:29418/camlistore
2013-01-20 13:56:19 -08:00
Brett Slatkin
13b844cc3e
newui: First attempt to add drag/drop upload to blob item container
2013-01-20 13:56:13 -08:00
Brad Fitzpatrick
0d33507ab6
camli.js: global cleanup: change setTextContent to Camli.setTextContent.
...
Change-Id: If5d949debe9621f692d01034ac31fe87802d7156
2013-01-20 13:14:18 -08:00
Brad Fitzpatrick
c466d080df
camli.js: more global cleanup
...
Change-Id: I1ae3e5014969adfe41e15bd97ff4daf7b42e614e
2013-01-20 12:51:38 -08:00
Brad Fitzpatrick
392640da89
camli.js: global cleanup. remove onConfiguration.
...
Change-Id: I1a74298ea1f333e060cebcf1221008705bcdb8ec
2013-01-20 12:46:50 -08:00
Brett Slatkin
45f54ffb1f
newui: Cleaning up TODOs in comments
2013-01-20 11:13:20 -08:00
mpl
2ff6cab635
ui: some javascript cleanup.
...
Reuse thumbnails code from index.js in gallery.js
and permanode.js.
And drop _camliBlobTitleOrThumb.
Change-Id: Idb00f25a89d4346cdf1e7e00778de4db39e9bb97
2013-01-18 15:01:26 +01:00
Brad Fitzpatrick
6ca0efac8c
camlistored: much better sqlite support, by default, and help/docs/hints
2013-01-10 16:16:10 -08:00
mpl
67c5678062
Index directories with "fileinfo", and use this to
...
find their name in a search request.
Fixes http://code.google.com/p/camlistore/issues/detail?id=79
Change-Id: I755afd8f52dbd2f8a48ba72bed0a6b0192d1dd71
2013-01-09 16:59:04 +01:00
Brad Fitzpatrick
2f188a1916
Fix JavaScript UI things I broke earlier when simplifying signing discovery
...
Change-Id: Idf4effe3cbf97ec4ccb51197a0b3c857cb7c3569
2013-01-08 19:40:27 -08:00
Brad Fitzpatrick
7b7af4c457
App Engine: compiles and kinda starts again; doesn't work.
...
With SDK 1.7.4.
Change-Id: Ide16c990fc139e7f450cea508c74f13ed79aac21
2013-01-07 17:20:48 -08:00
Brett Slatkin
ebccaa15bb
newui: Fixing up closure annotations
...
Change-Id: I13c6e9e250221612199d82a3edc642b627acc6e1
2012-12-23 17:55:34 -08:00
Brett Slatkin
f2d3cb893a
Merge branch 'master' of ssh://camlistore.org:29418/camlistore
2012-12-23 17:52:23 -08:00
Brad Fitzpatrick
3ecd83ba7d
newui: wrap camli.js; make permanode creation work again
...
Change-Id: Ia4ef0428e905006402cd2ef34b819b6584ed8f23
2012-12-23 17:52:23 -08:00
Brett Slatkin
eb7cfb5a95
Merge branch 'master' of ssh://camlistore.org:29418/camlistore
2012-12-23 17:52:13 -08:00
Brett Slatkin
4a73f954cf
newui: Toolbar bigger/smaller hooked up and working
...
Change-Id: I93f85fcf69948e6f5d8c838c7f1865ed7809236f
2012-12-23 17:52:09 -08:00
Brad Fitzpatrick
d037c6e0cc
Merge branch 'master' of ssh://camlistore.org:29418/camlistore
2012-12-23 17:33:46 -08:00
Brad Fitzpatrick
939b6f4f4f
camli.js: move more stuff to be camli prefixed
...
Change-Id: I029a47286ed194a3e4d3f9d987a389f6c514abb8
2012-12-23 17:33:38 -08:00
Brett Slatkin
028bcf0232
Merge branch 'master' of ssh://camlistore.org:29418/camlistore
2012-12-23 17:27:39 -08:00
Brett Slatkin
80171f6692
newui: Adds a toolbar class with bigger/smaller buttons; they do nothing yet
...
Change-Id: I8e053062e832239f6c34769faa71b84ab174684b
2012-12-23 17:27:31 -08:00
Brad Fitzpatrick
0e168cecd4
camli.js: kill global disco variable.
...
Change-Id: I25437bfded3fe9ff704539d929521b1c04f8b133
2012-12-23 17:19:59 -08:00
Brad Fitzpatrick
3c89f7fe97
ui: simplify signing config discovery, clean up logging
...
Change-Id: I4e9810499b7fe34b1e7d8c32dd612cb1d6e6c348
2012-12-23 17:08:01 -08:00
Brett Slatkin
511eb7c6d4
newui: Links to permanodes working
...
Change-Id: Iaaf9ca22dbd401d5c0b2e75d0349358f8282ca68
2012-12-23 16:47:03 -08:00
Brett Slatkin
b2885cedfa
newui: Cleaning up styling of create item
...
Change-Id: Ie35684c4efba4ce4cec777537b8a0783b51b311f
2012-12-23 16:32:30 -08:00
Brett Slatkin
c46875692a
newui: Adds a click handler for the create item
...
Change-Id: I2ff17d3bd08959507b43d04a5f5a1f8d5dbbdd9d
2012-12-23 16:26:04 -08:00
Brad Fitzpatrick
742d81f27c
newui: create button style
...
Change-Id: I273b2c6c892cb0a50b323b07443854e79fc9bf94
2012-12-23 16:23:23 -08:00
Brett Slatkin
1a59cce8bc
newui: Obviously, vertical align top was required to make the create box line up properly for inline-block flow
...
Change-Id: I3243c8bd11753e15515de0e3b73daa87682c966a
2012-12-23 16:05:23 -08:00
Brett Slatkin
6003fc6174
Merge branch 'master' of ssh://camlistore.org:29418/camlistore
2012-12-23 16:01:37 -08:00
Brett Slatkin
7b420e7d37
newui: Using spaces instead of tabs in js/html/css
...
Change-Id: Icd5a74e080f8802d9d5260270205c4eb39f584eb
2012-12-23 16:01:15 -08:00
Brad Fitzpatrick
b2b200141f
Merge branch 'master' of ssh://camlistore.org:29418/camlistore
2012-12-23 15:59:05 -08:00
Brad Fitzpatrick
2766e2d60f
newui: kinda wiring up the create button
...
Change-Id: Ib114da06c89543fda71104eef49433c100f60112
2012-12-23 15:59:01 -08:00
Brett Slatkin
4736fb57d5
Merge branch 'master' of ssh://camlistore.org:29418/camlistore
...
Conflicts:
server/camlistored/newui/index.html
Change-Id: Ib11e629a8281c63b504e5291a191b30dc1bb4a39
2012-12-23 15:55:13 -08:00
Brett Slatkin
455a2e9d23
newui: Do not show focus on BlobItemContainer
...
Change-Id: I723af0a05ada913c0ae7983761927f9a20e7afe9
2012-12-23 15:53:22 -08:00
Brad Fitzpatrick
eaa22b2dbc
newui: start of a the creation plus button component.
...
Change-Id: I208c11be27f879b3ed476d4f2210fed12c8a0cc3
2012-12-23 15:42:03 -08:00
Brett Slatkin
3f69a0eb7d
newui: Index page actually loads recent blobs
...
Change-Id: I888c9500bbcfc608a9a495f38239b8dd5cc64c83
2012-12-23 15:28:11 -08:00
Brett Slatkin
dd5e72cb27
newui: BlobItemContainer can show results from ServerConnection recent blobs
...
Change-Id: I9784dc6462309a08fe7cb0a6ff8fe9283f9967ef
2012-12-23 15:25:39 -08:00
Brett Slatkin
0c02bc194a
newui: Server connection mock getting recent blob list, but not hooked into ui
...
Change-Id: I85952ae039d80d6a8796f0108e080a5d14c56010
2012-12-23 15:18:09 -08:00
Brett Slatkin
0e24b6b25b
newui: Adds ServerConnection; basic plumbing through to BlobItemContainer
...
Change-Id: I86f50c860bbebc1dc1790378cd23b7ae4b286398
2012-12-23 14:36:59 -08:00
Brett Slatkin
25038770a4
newui: Index now renders vault name
...
Change-Id: I8107a61c4c928729ca751308b3dfe788c7a755d1
2012-12-23 14:21:17 -08:00
Brett Slatkin
410257b70b
newui: Adds simplest BlobItemContainer for showing a list of blob thumbnails
...
Change-Id: I283f955f21076b9a36d763be02c961ffca0475d9
2012-12-23 13:54:42 -08:00
Brett Slatkin
7d3ace5ac2
newui: Showing title in BlobItem thumbnail
...
Change-Id: Ib9c90cd01a39f109d6870e16d3c6ab2e98c98326
2012-12-23 13:37:42 -08:00
Brett Slatkin
6dfc690cc6
Merge branch 'master' of ssh://camlistore.org:29418/camlistore
2012-12-23 12:43:56 -08:00
Brett Slatkin
d4b6e1fc7c
newui: Progress on blob_item component; able to show a thumbnail
...
Change-Id: I01105b8cadbc9fdf26b2d1277260d3afc7f71e8b
2012-12-23 12:43:46 -08:00
Brad Fitzpatrick
9147750d2f
newui: automatic deps.js handler
...
Change-Id: Ic32aca321cca72cb498d7a17c56b9e7d4ac74321
2012-12-23 12:39:15 -08:00
Brett Slatkin
113f5e5f9d
newui: Beginnings of Closure deps build
...
Change-Id: I38165135e6b8cc74e105f43f79934222c33765f1
2012-12-23 11:45:58 -08:00
Brad Fitzpatrick
921176d1ed
Add newui index.html
...
Change-Id: I4967865332e454ca329eb4cdfd2ecb60622bbcdd
2012-12-23 11:06:58 -08:00
Brad Fitzpatrick
da813ff7b6
Missing semicolon
...
Change-Id: Id58835a3e8d37f6a1ee0990a2e1204a5129bbc60
2012-12-22 12:14:05 -08:00
Brad Fitzpatrick
1118e8a52c
More index.html work
...
Change-Id: Ifa57be7d7d1bc27257fe0f8bd90da9c75bdc4dc6
2012-12-11 19:33:15 -08:00
Brad Fitzpatrick
8a8aece4f0
Unify sort/go dropdowns into just View, make some functional
...
Change-Id: I5da584e550971465d69fbe5155414e83dfdcc8dd
2012-12-11 19:06:47 -08:00
Brad Fitzpatrick
abb0e307d6
Show owner name on index page
...
Change-Id: Ic845283da88eea57a43a13ea13b2993070856102
2012-12-11 18:41:23 -08:00
Brad Fitzpatrick
f0dfc6b6b7
Make recent.html the main page.
...
Change-Id: I50fde12eacbc59e996b845e0ee4d898fe7ad2764
2012-12-11 18:29:58 -08:00
Brad Fitzpatrick
4c923a3b25
Index page (recent.html) toolbar work, mostly non-functional
...
Change-Id: Idef921bc4f4847ac58d55645a8602b5a8dd9ba5d
2012-12-11 20:45:15 -05:00
Brad Fitzpatrick
5905638de3
Minor JS cleanups
...
Change-Id: I2d0628a3438ad6298e6c119ff7bd89e954871533
2012-12-11 18:36:34 -05:00
Brad Fitzpatrick
4fbce6f15b
Add camliCondCall; use it. For optional hooks.
...
Change-Id: I63cf8b21d05cd4ff924433e7821dd756976d12ff
2012-12-07 14:09:07 -05:00
Brad Fitzpatrick
31df4a7a01
Add generic file icon.
...
Change-Id: I23517e6112ddfd7048a575161a7785b73fb7bd0f
2012-12-06 17:36:34 -08:00
Brad Fitzpatrick
c368e4a2a8
Click to make new permanode
...
Change-Id: I78e5f732beb0857eb9958b2a187c68b1a7b68e55
2012-12-06 17:23:34 -08:00
Brad Fitzpatrick
3dc3241ceb
use classList add/remove
...
Change-Id: If521a42bbbe13f61145e001e7897a68a3c491192
2012-12-06 17:18:22 -08:00
Brad Fitzpatrick
f9154d8761
Recent page: drag & drop onto big plus tile.
...
Change-Id: Id78edf9d268df4266576e39ce8207ec06a0b99d6
2012-12-06 17:14:18 -08:00
Brad Fitzpatrick
c606e06276
Move more of permanode.js's uploading logic into camli.js, and document it better.
...
Change-Id: I68098e7bce50286c1621b818a5fd4ede165149a0
2012-12-06 15:58:42 -08:00
Brad Fitzpatrick
0d16c1d290
Remove unused code.
...
Change-Id: I275f89d1cc493be4938093fc9bacd1618cd5f798
2012-12-06 15:27:07 -08:00
Brad Fitzpatrick
752ed053d3
Add some missing vars
...
Change-Id: I66b3f6da878d7c9e9cc5bce4cac2ff8d033487c8
2012-12-06 15:08:00 -08:00
Brad Fitzpatrick
d1c8a85308
Make the permanode file upload onchange do something.
...
Change-Id: I7e3ce0257906e733e8f81dd5a94b2eb34361bcc3
2012-12-06 14:32:45 -08:00
Brad Fitzpatrick
f7562e033a
Remove useless params.
...
Change-Id: Ia08a8e7282b69010b59561d6faa74adb27c4cd79
2012-12-06 14:19:15 -08:00
mpl
19edba9f64
newui layout, only for dev-server use for now.
...
Change-Id: I0e77b8088b2e04fd56e017678cb6e0a476b10682
2012-12-04 21:41:35 +01:00
Brad Fitzpatrick
6cb3b6d69f
Forgot to make embeds
...
Change-Id: Ib90ba363ce740549be0cd7e22f20437d1396b0ff
2012-12-01 12:41:00 -08:00
Brad Fitzpatrick
7ebc09ef25
reformat javascript with consistent indent
...
Change-Id: Idc70d6959b3708bc3b5893dffeaebd9950016ab6
2012-12-01 10:55:22 -08:00
mpl
cb0a0951d8
Merge "file embedding: enable compression (mainly for large .js files)."
2012-11-30 17:58:05 +00:00
mpl
f7ff5bb17b
file embedding: enable compression (mainly for
...
large .js files).
We will need this when we start getting large js
files generated when using the closure library.
Change-Id: Iaecacd54c3d08637918b1afd420fb90f1a84aabb
2012-11-30 19:03:37 +01:00
Brad Fitzpatrick
ed67d8926a
Prevent browser range selection
2012-11-28 10:49:22 -08:00
Brad Fitzpatrick
af7cce81fb
Permanode selection (and range selection, etc)
2012-11-28 10:15:39 -08:00
Brad Fitzpatrick
338fe5b4e8
Prettier recent thumbnails page.
2012-11-25 09:45:30 -08:00
mpl
9b8c0bffc4
ui, recent permanodes: tiled thumbnails style
...
Change-Id: Ie31753e01a897b72eb7996d93d8ea8cdfe5efa54
2012-11-21 18:48:35 +01:00
Brad Fitzpatrick
306b58afd6
Merge "Modifications allowing /setup to be view on Windows"
2012-11-19 01:16:23 +00:00
Maxime Lavigne
3ec58472db
Modifications allowing /setup to be view on Windows
...
When you go to /setup on Windows, it currently checks
the "localhostAuthorized" function that checks your
UserID with os.Getuid() and than check with the local
and remote address to see if you are allow. In Windows
os.Getuid will always equals -1 and the function default
to unallowed. On darwin, it does check for uid but
afterward only cares if the local and remote addresses
are loopback addresses.
So, I changed this function so that when the os.Getuid
is not avalaible on the platform and returns -1, it does
the same check as in darwin.
I also modified the "isLocalhost" function to use the
helper function "net.IsLoopback" instead of string matching.
Since, I already had parsed addresses and had to call
AddPairUserId, I checked if it wouldn't be simpler to
pass net.Addr directly instead of strings and reconvert
them afterward. It seemed after looking at all the code
that called this function that it simplified calls quite
a bit to do so.
Finally, I modified "netutil.Localhost" for it to return
the first IP it finds instead of the string representation
of the first IP enclosed in square brackets. Since the square
brackets around the IP are only necessary in a TCPAddr, it
would be simplier and more robust for the user to directly
print TCPAddr instead of appending this string to a post.
Change-Id: Id79de6bebd6380f877074211c0d260782058765f
2012-11-18 20:20:25 -05:00
mpl
03a8e7370b
default to localhost auth type when generating config for camlistored and clients
...
Change-Id: I95e74bcde6c1ca564f76e1ed9a916de48c1b6513
2012-11-16 16:49:19 +01:00
mpl
d1e5a1d4c6
search UI: find all roots
...
This change allows to find all roots (permanodes with the
"camliRoot" attribute) from the search.html ui page.
To achieve that, func (x *Index) SearchPermanodesWithAttr
now uses a prefix string without the query part if the
query is "".
http://code.google.com/p/camlistore/issues/detail?id=35
Change-Id: I396fba683e6e7b2296d1f0df8009c07e3c2cd09d
2012-11-14 11:11:40 +01:00
mpl
89baddb2d0
recent permanodes ui: set width and height of thumbnails
...
http://code.google.com/p/camlistore/issues/detail?id=63
Change-Id: I51d851993e3b14c54685bc4186ea623db1fe6045
2012-11-12 16:25:42 +01:00
mpl
def34eff94
display thumbnail on the permanode page if content is image.
...
The serveDescribe search handler now also checks for the
thumbnails req parameter and uses populateJSONThumbnails.
As a result, the client side can directly use thumbnailSrc
from the json response.
http://code.google.com/p/camlistore/issues/detail?id=62
Change-Id: I4ff606f8d3ef291490f05cabdc66219744b53638
2012-11-10 00:04:44 +01:00
mpl
438ae4ecb4
recent permanodes thumbnails
...
Change-Id: I140766df4b58853e5bc4358f564cf1cfc807882a
2012-11-09 19:43:18 +01:00
Brad Fitzpatrick
316d3cff31
camlistored: style fix
2012-11-07 17:52:09 +01:00
Brad Fitzpatrick
fad4960033
regenerate embedded files with new genfileembed
2012-11-05 18:43:47 +01:00
Brad Fitzpatrick
5033e26980
Add folder icon from Tango.
2012-11-05 17:37:18 +01:00
Brad Fitzpatrick
776cf7ce75
Add a permanode icon (from Tango); rebuild embed files.
2012-11-05 16:32:30 +01:00
mpl
295cbade1b
Add postgres support
...
Also added the -short option for make presubmit
because postgres test is too slow.
Change-Id: I6be21c4d4cd67671eb44ab65333fc32c1e261bbd
2012-11-03 19:59:22 +01:00
Brad Fitzpatrick
13f85afe8c
Merge "Modification to allow windows build and deployement"
2012-11-03 13:25:43 +00:00
Maxime Lavigne
5a7510c384
Modification to allow windows build and deployement
...
Webserver were initialized with "tcp" and ":3179" by default and
listenURL assumed that it would be treated as IPv6 and replaced [::]
by localhost. Host that were listening on IPv4 0.0.0.0 didn't get
the modification.
Receive in localdisk were using link that failed on windows plateforms.
Camlistored didn't use Json Marshaling which caused problem with the
way Windows stores its paths.
Change-Id: I9f62f7d46399c3514707383efcb2752dbaf1f420
2012-10-30 23:17:58 -04:00
mpl
32fdada399
ui: use custom setTextContent to set text with any browser
...
innerText is not W3C compliant, and does not work on
firefox.
textContent is recommended by W3C, but it does not
work with IE.
setContentText is a generic function that should work
with all browsers.
related issue: http://code.google.com/p/camlistore/issues/detail?id=45
Change-Id: Ie77a96b34b37ffa4af475756158871c7cf271a51
2012-10-29 16:40:36 +01:00
Brad Fitzpatrick
22495f8bfd
schema: adjust rollsum splitting algorithm, make it the default
...
We might tweak the parameters yet, and I want to add a bunch more
tests, but this is a major relief for me. I've been reluctant to
put too much data into my personal Camlistore instance until I
figured out how I wanted the file chunks to split.
This also simplifies (deletes) a fair bit of code.
Change-Id: I35c38cc5d39a8a43e3f62445434f8d7fd5de5d17
2012-10-29 02:03:05 +01:00
Brad Fitzpatrick
3098e54163
Merge "Conform to W3C File API"
2012-10-28 12:56:07 +00:00
mpl
909c91a9ea
search ui: deleted old/useless TODO
...
Change-Id: I0f6bbd88d98f9357d4a90e35dd4dc58a5281498e
2012-10-24 17:45:47 +02:00
mpl
94cb8cf05a
Be consistent between high and low level configs for https
...
Change-Id: Ie7e1d9c554e09a34416a2ae3ac9e10f1a2f8fce0
2012-10-18 11:58:30 +02:00
mpl
6ac49843ab
fix IPv4 assumption
...
Change-Id: I334e6ccb5b26a083b55750271262a3469f63e78e
2012-10-16 00:20:57 +02:00
Brad Fitzpatrick
42fb5290fd
Merge "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 "
2012-10-15 14:33:43 +00: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
2a434d7276
a couple js bugs in ui home
...
(showed as errors in ff but not in chromium)
Change-Id: I5df05f72401ad2e8c05160ba2dc2254c8e837f11
2012-10-10 16:04:42 +02:00
Amir Mohammad Saied
ba22e56262
Conform to W3C File API
...
Replace WebKitBlobBuilder with Blob() interface implementation of web browser.
Make it working on Firefox as well.
Change-Id: I3b7e677413dbba3aff6b3f3d239f56af07464ab8
2012-08-11 00:53:06 +04:30
Brad Fitzpatrick
11842fcf33
serverconfig: let baseURL and listen be optionally separate
2012-08-04 21:42:10 +10:00
mpl
b2f079f081
handle SIGHUP, restart camli from wizard
...
Change-Id: I9856e49b9c4d76dc3bed1827594451349d4f5810
2012-05-16 11:37:29 +02:00
Brad Fitzpatrick
87059405ea
simplify deref expression
...
Change-Id: I1738c7c47e79b460f3c13626b1af9e96eb26f73f
2012-05-14 01:40:05 +10:00
Brad Fitzpatrick
f70cbb4c05
check MkdirAll error
...
Change-Id: If8e32c04e5ef71ffc1fd173cbb3626d8c978e3c2
2012-05-14 01:37:46 +10:00
Brad Fitzpatrick
610e708924
fix more references to lib/go/camli
...
Change-Id: Ic35c67b0255d713185e8c77fdeb91c17c79a11c7
2012-05-14 01:07:13 +10:00
mpl
2a844730b3
support for published entities in genconfig and in wizard
...
Change-Id: I1768dac9628edb59cf0b987e9054b920d234b36b
2012-04-23 21:00:05 +02:00
Brad Fitzpatrick
b76b58ea2a
camlistored: don't block server start-up on opening URLs
...
Change-Id: I4a850fe7b46e74a0804b89b20b98ea351f44dcdd
2012-04-20 11:59:58 -07:00
mpl
8d927b5914
open root page in browser when camli starts
...
Change-Id: Ida4ffa8ee34e6fd86782f8f61c43eecedc074892
2012-04-16 16:08:36 +02:00
mpl
f7ab75d7b3
rm TODO: +localhost already done by Brad
...
Change-Id: I1762d3a589163d8098a4f5714ecf9943ee9fa39f
2012-04-16 01:22:05 +02:00
Brad Fitzpatrick
92f5835bb4
camlistored: make sqlite a build option.
...
Change-Id: Ib3624f162aae2130e524cf6a04c3f0fa8f07a01c
2012-04-13 16:16:24 -07:00
Brad Fitzpatrick
71ee67264d
osutil: add IdentitySecretRing accessor
...
Change-Id: Idcb7a62530292eb3e0a98c798dc86a985fc491f1
2012-04-12 16:54:57 -07:00
Brad Fitzpatrick
029d66fa9e
In default config, allow localhost access for auth also.
...
Change-Id: Ie3fc2f3c44d7fc17a367f6a456c6db6511d08f33
2012-04-07 19:02:31 -07:00
Brad Fitzpatrick
10cf23c700
Get the MySQL indexer working again.
...
It now uses the generic indexing layer, rather than its own schema.
Also, move it under pkg/index/, like mongo.
Also, link in mongo to the main binary.
Not using the tests yet (leaving for mpl :))
Change-Id: I47a2203ca6c0b5244cd458aedec46227c4363c62
2012-03-26 13:57:53 -07:00
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
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