Commit Graph

196 Commits

Author SHA1 Message Date
Rafael Weinstein
adabda61a4 Make DataStore an interface 2015-09-22 17:30:14 -07:00
Erik Arvidsson
6e369b85cd NomDL: Change command line to process all .noms files
The codegen.go command line utility now detects the package name from
the file that it was invoked from if `--package` was not provided.

It also processes all `.noms` files in the current directory in case
the `--in` flag was not provided.
2015-09-21 12:19:14 -04:00
Erik Arvidsson
19787fee2a pitchmap/index: Use nomdl/codegen instead of nomgen 2015-09-18 10:39:10 -04:00
Aaron Boodman
c6078979a2 flickr: slurp geotags 2015-09-16 17:50:36 -07:00
Aaron Boodman
3c85411dc1 Regenerate all gen'd code in repo 2015-09-16 17:26:45 -07:00
Rafael Weinstein
9c6effe19f split chunks/http_store into http/http_client & http/http_server 2015-09-16 10:56:43 -07:00
Rafael Weinstein
31961b4113 Merge pull request #296 from rafael-atticlabs/copyChunksP
CopyReachableP
2015-09-16 10:54:06 -07:00
Rafael Weinstein
068d4d3878 CopyChunksP 2015-09-16 10:50:19 -07:00
Aaron Boodman
1938f57ef3 simpler 2015-09-15 16:07:21 -07:00
Aaron Boodman
2f9ba473ec flickr: parallelize! 2015-09-15 15:59:06 -07:00
Aaron Boodman
17fb68f576 Merge pull request #290 from aboodman/remote-photo
Add "RemotePhoto" concept and update flickr, tagdex, tagshow
2015-09-15 15:54:15 -07:00
Dan Willhite
4ff11d1f6e Add concurrency to photo fetching.
Other improvements are:
1) Handle albums with more than 1000 photos correctly
2) Fetch original or small images (-small flag)
3) Progress logging and -quiet flag
4) Addition of -force-auth flag
5) Improve handling of http errors
6) Used go fmt and golint on source code
7) If fetching 1 album, merge in albums from previous commit
2015-09-14 15:35:19 -07:00
Aaron Boodman
4a080851fe tagshow: teach about RemotePhoto 2015-09-14 11:07:42 -07:00
Aaron Boodman
d2e93df249 tagdex: teach about RemotePhoto 2015-09-14 11:04:11 -07:00
Aaron Boodman
9036ae5b32 Add RemotePhoto concept and change Flickr to use 2015-09-14 11:04:11 -07:00
Aaron Boodman
4275dd0a6c tagshow: make server urls customizable 2015-09-14 11:00:41 -07:00
Aaron Boodman
4dc3c060c0 noms_store: make server url customizable 2015-09-14 11:00:38 -07:00
Aaron Boodman
b3cc2c4423 review comments 2015-09-11 12:46:56 -07:00
Aaron Boodman
3d0ac187c1 imgsvr: Don't use png encoding for photographic images 2015-09-11 12:30:54 -07:00
Rafael Weinstein
23d9936841 Quick fix for pitchmap/ui 2015-09-10 17:12:25 -07:00
Dan Willhite
5eac97fbf9 Merge pull request #267 from willhite/picasa-help
Add steps for getting Google oauth credentials to usage message.
2015-09-10 11:01:14 -07:00
Rafael Weinstein
60851d03dc make xml importer parallel 2015-09-09 18:28:23 -07:00
Rafael Weinstein
9bac46b7f3 better read buffering 2015-09-09 10:58:29 -07:00
Dan Willhite
6e8c9b7630 Rework credentials help in usage msg. 2015-09-08 15:35:19 -07:00
Dan Willhite
07a4c636bb Merge branch 'master' into picasa-help 2015-09-08 15:28:30 -07:00
Rafael Weinstein
dddf81b095 Add List.Map & List.MapP 2015-09-08 15:12:24 -07:00
Dan Willhite
b1c0817362 Add steps for getting Google oauth credentials to usage message. 2015-09-04 16:30:00 -07:00
Aaron Boodman
51fc41f129 flickr: fix compile error 2015-09-04 15:00:11 -07:00
Aaron Boodman
be966b0058 tagshow: review comments 2015-09-04 13:20:37 -07:00
Aaron Boodman
f16f8e2820 tagshow: Update to use imgsvr 2015-09-04 13:08:47 -07:00
Aaron Boodman
377d08f66f tagshow: use flex layout for preview view 2015-09-04 11:14:26 -07:00
Aaron Boodman
718d222c9b tagshow: factor out a preview view 2015-09-04 11:14:26 -07:00
Aaron Boodman
53e9d156de tagshow: Introduce tagchooser component 2015-09-04 11:14:26 -07:00
Aaron Boodman
9fdc582f1e Give slideshow mode its own query param 2015-09-04 11:14:26 -07:00
Aaron Boodman
9402a8af18 Merge pull request #261 from aboodman/imgsvr
Introduce clients/imgsvr
2015-09-04 10:59:08 -07:00
Aaron Boodman
1f6af4ecf9 imgsvr: fix content type and add gzip 2015-09-04 10:34:03 -07:00
Aaron Boodman
09e0d2e88b Introduce clients/imgsvr
imgsvr is a small http server for images stored in noms. It can
resample images to fit a rectangle.
2015-09-04 10:18:04 -07:00
Dan Willhite
b5f765ddd3 Modify based on latest review comments. Save refresh token with NomsUser to avoid re-authenticating every run. Minor changes to flickr.go. 2015-09-03 08:37:06 -07:00
Dan Willhite
973ae0df6a Merge branch 'master' into picasa-client 2015-09-03 08:29:19 -07:00
Aaron Boodman
4fdad8a93f Merge pull request #243 from aboodman/pretty
tagshow: Implement the slideshow bit: change photo on a timer
2015-09-02 16:07:51 -07:00
Dan Willhite
ba26b1471d More cleanup. 2015-09-02 01:38:17 -07:00
Dan Willhite
269397356d Code cleanup and use d.Chk.* for errors. 2015-09-02 01:07:48 -07:00
Dan Willhite
0e222f79d6 First stab at Picasa importer. 2015-08-31 23:36:02 -07:00
Erik Arvidsson
fd81e0f20b Add tagdex binary to .gitignore 2015-08-31 16:09:28 -04:00
Aaron Boodman
231b08ea28 tagshow: Implement the slideshow bit: change photo on a timer 2015-08-31 08:59:42 -07:00
Aaron Boodman
69102aaf84 tagshow: Put tag picker in its own "page" 2015-08-27 16:11:05 -07:00
Aaron Boodman
48ee1eba9e root->pRoot 2015-08-27 15:32:19 -07:00
Aaron Boodman
2850851929 tagshow: Put back dataset picker 2015-08-27 15:11:10 -07:00
Rafael Weinstein
3deeae09df Remove AWSStore, FileStore, StdoutWriter and deps 2015-08-27 13:44:22 -07:00
Aaron Boodman
2eb0ad33aa Merge pull request #225 from aboodman/width
flickr: import width and height too
2015-08-26 23:02:19 -07:00