Commit Graph

149 Commits

Author SHA1 Message Date
Ben Kalman 3c764c1eb5 Remove JS SDK, examples, and tools (#3293) 2017-03-27 15:54:39 -07:00
Erik Arvidsson c89890ad0f Remove integration tests (#3288)
The integration tests requires js and go to be in sync which is not the
case for much longer. For now it fails the PR builder...
2017-03-22 14:41:14 -07:00
Erik Arvidsson ab1b422ddf Update graphiql dependency (#3276)
Hopefully it will fix my startup crash...
2017-03-17 11:24:29 -07:00
Erik Arvidsson fc781544e6 Support variables in our graphiql ui (#3271) 2017-03-15 14:03:06 -07:00
Ben Kalman 538237cdbe Support other endpoints and extra args in GraphiQL (#3246) 2017-03-03 10:28:14 -08:00
Erik Arvidsson 7697317c69 Use POST for GraphQL endpoint (#3245)
We were using GET and the query was getting too large
2017-03-02 18:08:15 -08:00
Erik Arvidsson 9d3a972973 GraphQL: Add support for key and through (#3233)
If key is provided as an argument to a Map/Set elements that defines
where the collection should start iterating from.

If through is provided the iteration will end after visiting through
(or if the key is larger than through)

If both key and at are present, at is ignored.

If key is present but count and through are missing then we use a count
of 1.

Closes #3227
2017-02-28 13:48:22 -08:00
Ben Kalman 88c24324e4 Upgrade all extra JS and samples to Flow 0.39 (#3211) 2017-02-21 17:14:22 -08:00
zcstarr 1898f2a588 Fix graphql css reference (#3188) 2017-02-13 11:31:17 -08:00
Sungguk Lim 3e0056a5fa Fix nitty typo from counter sample README. (#3187)
Delimiter should be `::` instead of `:`.
2017-02-13 10:05:23 -08:00
zcstarr 3f973f593d Fix staging folder to correspond to build folder (#3185) 2017-02-13 09:33:57 -08:00
Rafael Weinstein abfaf36ae7 fix typo (#3171) 2017-02-10 13:41:16 -08:00
Rafael Weinstein 140de8081c Add config prompt to graphql ui (#3167) 2017-02-09 20:51:24 -08:00
Rafael Weinstein 128207786a fix auth header (#3162) 2017-02-08 12:24:40 -08:00
Rafael Weinstein 487e2c9b30 GraphQL cleanup (#3154) 2017-02-07 12:08:52 -08:00
Erik Arvidsson 27c539ebd4 Update to use eslint-config-noms@1.2.0 (#3151) 2017-02-07 09:57:27 -08:00
Rafael Weinstein fff532beb3 Add experimental graphql support (#3146)
Included README.md describes initial features.

This patch includes a simple graphiql ui which is preconfigured to explore a noms/graphql endpoint
2017-02-06 19:28:54 -08:00
Erik Arvidsson f66a0e8a89 Update to Flow 0.38 (#3136) 2017-01-31 13:39:31 -08:00
Erik Arvidsson d4132e9e6c Use cp instead of ln (#3100) 2017-01-20 18:41:56 -08:00
Erik Arvidsson e90bfcbd2a Switch to Yarn (#3092)
brew install yarn
2017-01-20 11:42:32 -08:00
Aaron Boodman 801dde854a Remove all the old js samples. They are no longer needed. (#3086) 2017-01-18 21:24:34 -08:00
Erik Arvidsson 2dfb4040b7 Update to Flow 0.36 (#3079) 2017-01-17 11:56:20 -08:00
Erik Arvidsson 554d4da885 Upgrade to use latest webpack-config (#3066) 2017-01-11 18:47:22 -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
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
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
Ben Kalman 5e4c1c06d8 Remove noms-ui and update splore README.md (#2861) 2016-11-29 16:53:51 -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 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
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
Erik Arvidsson 45a36a46e9 Change to use interface instead of declare (#2816) 2016-11-09 15:38:58 -08:00
Aaron Boodman a0f489bc1c Remove temporary time-based dedup from webui (#2814) 2016-11-08 14:59:03 -08:00
Erik Arvidsson 1775c3805a Update to Flow 0.34 (#2803) 2016-11-07 08:32:24 -08:00
Ben Kalman 50c48be4b8 Noms, demo-server, and photos UI changes to support auth (#2793)
The big change here is adding a new Spec class in spec.js. This replaces
DatabaseSpec/DatasetSpec/PathSpec in specs.js, but I'm leaving those in
and moving code over in a later patch. For now, only photos UI.

The photos UI change is to plumb through the authorization token through
the Spec code. For now, it's reading it from a URL parameter, but soon
I'll make it session based (probably localStorage).

The demo-server change is to add the Authorization header into CORS.
2016-11-02 11:57:07 -07:00
Dan Willhite 82f2a1218b Add resources field to find-photo's Photo object (#2778) 2016-10-30 14:21:35 -07:00
Erik Arvidsson 9a3a119e60 Update build scripts to use the installed node (#2781) 2016-10-28 18:01:07 -07:00
Erik Arvidsson 7983e61afc Use babel-preset-noms (#2780) 2016-10-28 15:04:20 -07:00
Erik Arvidsson bbea22b395 Mark non standalone packages as private (#2773)
This prevents us from doing npm publish on them.

https://docs.npmjs.com/files/package.json#private
2016-10-27 17:05:21 -07:00
Erik Arvidsson 8320cb6d28 Use the eslint-config-noms instead (#2767) 2016-10-27 13:28:26 -07:00