Commit Graph

287 Commits

Author SHA1 Message Date
Rafael Weinstein
01303a828d go read ahead (#3046) 2017-01-10 15:28:26 -08:00
Rafael Weinstein
c3427a4364 Introduce go blob-put (#3053)
Introduce go blob-put
2017-01-10 15:02:02 -08:00
Aaron Boodman
c5805766f5 Enable v8 by default (#3045) 2017-01-10 14:43:55 -08:00
Aaron Boodman
a09ef6fb44 Revert "Introduce noms version 8. Use it to guard type simplification." (#3043) 2017-01-09 16:30:25 -08:00
Aaron Boodman
a4ffa5ba9b Introduce noms version 8. Use it to guard type simplification. (#3035)
Introduce noms version 8. Use it to guard type simplification.
2017-01-06 17:32:32 -08:00
Aaron Boodman
8777321dd2 Few cleanups to type simplification, plus enable it in various jobs (#3018) 2017-01-04 14:15:26 -08:00
cmasone-attic
ad3037f869 ValueStore writes chunks only when referenced (#3016)
The old strategy for writing values was to recursively encode them,
putting the resulting chunks into a BatchStore from the bottom up as
they were generated. The BatchStore implementation was responsible for
handling concurrency, so chunks from different Values would be
interleaved if the there were multiple calls to WriteValue happening
at the same time.

The new strategy tries to keep chunks from the same 'level' of a
graph together by caching chunks as they're encoded and only writing
them once they're referenced by some other value. When a collection
is written, the graph representing it is encoded recursively, and
chunks are generated bottom-up. The new strategy should, in practice,
mean that the children of a given parent node in this graph will be
cached until that parent gets written, and then they'll get written
all at once.
2017-01-04 12:19:10 -08:00
Rafael Weinstein
e0d8445ccd Js sequence refactor (#2998)
Removes IndexedSequence and OrderedSequence. What remain are MetaSequence and each of the leaf sequences which directly inherit from Sequence.
2017-01-03 14:03:17 -08:00
Ben Kalman
1cf183b8f0 Temporarily remove kalman from coffee rotation (#2974)
Joke dude.
2016-12-22 17:20:45 -08:00
Aaron Boodman
a1c75f04d6 Fix crash in picasa importer with large albums (#2965)
Fixes https://github.com/attic-labs/attic/issues/317
2016-12-19 21:42:25 -08:00
Mike Gray
094ec4c94f Allow json-import input to be a file (#2964) 2016-12-19 19:27:05 -05:00
Dan Willhite
150d66010d Use merge policy to avoid dl-cache conflicts in downloader (#2958) 2016-12-15 10:21:12 -08:00
Aaron Boodman
914d252748 Move coffeebot back to 3pm (#2919) 2016-12-07 17:41:18 -08:00
Dan Willhite
e30272abeb Implement poke functionality using diff.Apply function (#2828) 2016-12-07 11:57:48 -08:00
Aaron Boodman
8d4ff605f5 photo-index: output PhotoGroup instead of Photo (#2902)
photo-index: output PhotoGroup instead of Photo (#2902)
2016-12-06 16:21:02 -08:00
Dan Willhite
7916e05631 Make blob-get print to stdout if there is no file arg (#2867)
* Make blob-get print to stdout if there is no file arg

* Review changes
2016-12-05 11:33:08 -08:00
Erik Arvidsson
710e5c8d12 Give Flow a helping hand (#2895)
Flow didn't know which type to pick for addEventListener.
2016-12-02 10:59:54 -08:00
Erik Arvidsson
3a963602d2 Update Noms JS SDK to use Flow 0.35 (#2890) 2016-12-01 17:52:30 -08:00
Aaron Boodman
e664d77a97 Change the dropbox client we're using. (#2887)
Toward https://github.com/attic-labs/attic/issues/152
2016-12-01 15:03:16 -08:00
Mike Gray
ebe9831710 Clarify Facebook instructions (#2885) 2016-12-01 15:02:32 -08:00
Dan Willhite
46dfabd60e Fix in/out root mixup in downloader. (#2884)
Fixes https://github.com/attic-labs/attic/issues/130
2016-12-01 13:49:46 -08:00
Ben Kalman
5e4c1c06d8 Remove noms-ui and update splore README.md (#2861) 2016-11-29 16:53:51 -08:00
Michael Angerman
fcb98d7780 fix .nomsconfig error: Near line 11 (#2857) 2016-11-29 14:10:54 -08:00
Ben Kalman
0cf768e912 Make splore param parser not strip trailing '=' characters (#2856)
Params must include trailing '=' characters for base64 receipts.
2016-11-29 11:10:21 -08:00
Aaron Boodman
8d2b1d6568 Welcome, Jenna! (#2854) 2016-11-23 15:58:47 -08:00
Aaron Boodman
b353e20f68 Type erasure for noms :) (#2850) 2016-11-22 22:06:13 -08:00
Erik Arvidsson
4a44200d3e Lock down Flow version (#2844)
This is to prevent errors in the future when the code and flow version
do not match.
2016-11-22 18:48:17 -08:00
Aaron Boodman
598feae89f Australify (#2847) 2016-11-22 14:43:54 -08:00
Aaron Boodman
4943979fad Teach photos UI about LocalResource (#2841)
Teach photos UI about LocalResource
2016-11-22 14:37:25 -08:00
Eric Halpern
86878936b1 Store photo urls under RemoteResource.url (#2838)
fixes: #2837
2016-11-16 17:16:12 -08:00
Aaron Boodman
26c9fe44d1 Remove tagging_user from fb query (#2839)
This was causing an auth error for @rafael. Unclear why, but it's
not necessary in first place.
2016-11-16 16:26:01 -08:00
Aaron Boodman
7f760a9ba3 photo-index: index photos by source too (#2833)
Fixes https://github.com/attic-labs/attic/issues/19
2016-11-15 14:20:17 -08:00
Aaron Boodman
e730306bd2 Teach photo-index about PhotoGroup (#2832)
Teach photo-index about PhotoGroup
2016-11-15 14:09:48 -08:00
Aaron Boodman
8e64e636aa Introduce photo-dedup-by-date (#2826)
Introduce photo-dedup-by-date

This program deduplicates photos by the date they were taken. It considers two photos a group if they were separated by less than 5 seconds.
2016-11-15 14:07:57 -08:00
Aaron Boodman
03434861ea coffeebot: don't do anything until 10a each day (#2834)
this way easier for message to be seen
2016-11-15 02:24:48 -08:00
Ben Kalman
401a878478 Add auth parameter to Splore (#2820) 2016-11-10 16:14:03 -08:00
Erik Arvidsson
257520c287 Sync photo-set-iterator.js between repos (#2818) 2016-11-10 15:45:04 -08:00
zcstarr
3afbd11578 Remove dependency on bash shell from package (#2817) 2016-11-10 14:38:42 -08:00
Ben Kalman
cdfbee1b3d Remove spec GetDataset/GetDatabase/GetPath, update all clients (#2815)
These are now ForDataset/ForDatabase/ForPath.
2016-11-09 17:34:39 -08:00
Erik Arvidsson
45a36a46e9 Change to use interface instead of declare (#2816) 2016-11-09 15:38:58 -08:00
Dan Willhite
b6b1389c30 Danloader (#2794)
* Downloader

* Review changes
2016-11-08 16:46:55 -08:00
Aaron Boodman
a0f489bc1c Remove temporary time-based dedup from webui (#2814) 2016-11-08 14:59:03 -08:00
Ben Kalman
172b991ac1 Port new Spec API to Go from JS (#2807)
This is a side-by-side port, taking inspiration from the old dataspec.go
code. Notably:

- LDB support has been added in Go. It wasn't needed in JS.
- There is an Href() method on Spec now.
- Go now handles IPV6.
- Go no longer treats access_token specially.
- Go now has Pin.
- I found some issues in the JS while doing this, I'll fix later.

I've also updated the config code to use the new API so that basically
all the Go samples use the code, even if they don't really change.
2016-11-08 14:18:47 -08:00
Aaron Boodman
1f773a1c18 fix timezone in coffeebot (#2811) 2016-11-07 20:40:58 -08:00
Aaron Boodman
508a4dd3b5 coffeebot: remove secret url (#2810) 2016-11-07 17:36:28 -08:00
Aaron Boodman
f51da13e44 Add coffee bot (#2809)
* Add coffee bot

* fix order
2016-11-07 17:25:58 -08:00
Ben Kalman
5ab12777f6 Remove the demo server and receipt code (again) (#2808) 2016-11-07 15:13:28 -08:00
Erik Arvidsson
1775c3805a Update to Flow 0.34 (#2803) 2016-11-07 08:32:24 -08:00
Dan Willhite
46586ee928 Remove msg args from d.PanicIfTrue and d.PanicIfFalse. (#2757)
Should discourage people from writing code that does unnecessary work
to generate a msg every time that an error condition is checked. Fixes #2741
2016-11-03 11:43:57 -07:00
Eric Halpern
74df877747 Don't print warning unless -v (#2799) 2016-11-03 11:05:02 -07:00