Commit Graph

5019 Commits

Author SHA1 Message Date
Anton Dyudin
4e12caea2d move ->lens-json conversion to mar/sole-effect,
lens ack logic inside ++ix
2016-03-31 14:23:23 -07:00
Anton Dyudin
3aa4baaf39 state adapter 2016-03-31 14:08:36 -07:00
Anton Dyudin
856ce75707 split %chis IPC-request back out of %this
urbit/urbit@3d05538
2016-03-31 14:05:40 -07:00
Philip C Monk
39f1bfc01a reworked api speech type 2016-03-25 20:47:22 -04:00
Philip C Monk
402361d9c5 refactor into generators 2016-03-24 19:55:10 -04:00
Philip C Monk
3e85a67267 added :pipe 2016-03-24 18:42:39 -04:00
Philip C Monk
d030cde553 Merge branch 'master' into api-doc
Conflicts:
	arvo/eyre.hoon
	arvo/ford.hoon
2016-03-16 16:38:08 -04:00
Philip C Monk
841a32a3c1 improvements to match urb 2016-03-16 15:26:02 -04:00
Raymond Pasco
a1df9b2a59 Merge branch 'passcode-code', remote-tracking branches 'galenwp/clean', 'ohaitch/mo-not-running' and 'ohaitch/mar-twitter-request'
Move eyre auth code to +code
Remove nonexistent vane stubs
Add a printf somewhere
Twitter auth and requests
2016-03-14 19:43:32 -04:00
Raymond Pasco
e9ec3b2ded Move eyre passcode printing into +code generator 2016-03-14 19:41:25 -04:00
Anton Dyudin
b6ef9f6d40 add twit-feed, twit-status 2016-03-14 15:17:47 -07:00
Galen Wolfe-Pauly
fcd0df304e should have been cleaned by factor 2016-03-14 13:04:45 -07:00
Anton Dyudin
de6e230dd3 expose twitter req argument encoders as ++print 2016-03-11 17:48:58 -08:00
Philip C Monk
4144a1a8c8 %lens-command fix 2016-03-11 19:37:11 -05:00
Anton Dyudin
2f494e6e2f type mar/twit-req, mar/twit-usel 2016-03-11 16:06:47 -08:00
Anton Dyudin
a241c526d7 add lib/httr-to-json
which is really the mark translation search's job. Created #67
2016-03-11 15:52:14 -08:00
Anton Dyudin
68f1903f6a move valid-request type to sur/twitter
As an actual ++endpoint type, instead of a list of arm names accepting arguments
Old: (stat-upda:request:twitter [%status 'foo']~ ~)
New: (request:twitter stat-upda+[%status 'foo']~ ~)
2016-03-11 14:54:29 -08:00
Anton Dyudin
70dd18ac7d added trivial mar/twit/req
usage :curl &twit-req *acco-veri:main:twitter
2016-03-11 12:38:41 -08:00
Anton Dyudin
e59153011d allow atoms in %hiss requests
gall was checking user vases for ?=([@ ^]) instead of ?=([@ *])
2016-03-11 12:38:41 -08:00
Anton Dyudin
8e35c18724 disable spurious ++wyp 2016-03-11 12:34:47 -08:00
Anton Dyudin
dd5f670286 encrypt api keys written to clay
creates #66
2016-03-11 12:02:08 -08:00
Anton Dyudin
0d5c207758 fix twitter test url 2016-03-11 12:01:36 -08:00
Anton Dyudin
244639d9a6 include domain in "Run |init-" auth warnings 2016-03-11 11:49:36 -08:00
Anton Dyudin
2bedfb04e1 added |init-auth-basic, moved subdomain snip to /+write 2016-03-11 11:17:35 -08:00
Anton Dyudin
49d11b5270 remove auth from twitter library 2016-03-11 11:16:50 -08:00
Anton Dyudin
dafc0b501c hook up twitter security driver 2016-03-11 11:16:50 -08:00
Anton Dyudin
6c45cb1264 FIX byte-order bug
see previous commit, native ++hmac byte order was correct for short keys already
2016-03-11 11:16:09 -08:00
Anton Dyudin
8bc6228766 fix ++hmac to work on >64 bit keys
Reload: zuse, vanes

A  swap 3  was being performed which should not have been. Still not confident inthe endianness of the code as a whole, but seems to work for test values.
2016-03-10 20:38:45 -08:00
Anton Dyudin
bbe47f441c factor out token-response keyspec 2016-03-10 20:38:45 -08:00
Anton Dyudin
06e461b542 fix type issues 2016-03-10 20:38:45 -08:00
Anton Dyudin
9f289fd15f better grab-quay error reporting 2016-03-10 20:38:45 -08:00
Anton Dyudin
a8a092074a restructure lib/oauth1 to expose ++add-auth internals 2016-03-10 18:52:30 -08:00
Anton Dyudin
3aa1ceb8b4 better handling of query strings 2016-03-10 13:36:51 -08:00
Anton Dyudin
747f9d57a2 better names for things 2016-03-10 12:04:56 -08:00
Anton Dyudin
cf33f64f81 better token type 2016-03-10 11:47:21 -08:00
Anton Dyudin
302c004032 nicer grab-quay type 2016-03-10 11:45:46 -08:00
Anton Dyudin
f9b1581a28 moved core type, token to lib/oauth1 sample 2016-03-09 20:03:22 -08:00
Anton Dyudin
80eb1f5f06 refactor lib/oauth2 to be security-driver-library shaped,
implement 3-legged login flow(untested)
2016-03-09 18:37:34 -08:00
Anton Dyudin
faf017da53 stub security driver: check that authorization exists 2016-03-09 16:01:15 -08:00
Anton Dyudin
be51072ade fork off |init-oauth1 from |init-oauth2
and discard subdomains in both
2016-03-09 15:56:05 -08:00
Anton Dyudin
738bd1946c Merge branch 'eyre-sec-fixes' into sec-com-twitter
2-layer domain change required to write a proper driver
2016-03-09 14:50:10 -08:00
Anton Dyudin
1f844fd20b more versatile curl 2016-03-09 14:47:24 -08:00
Anton Dyudin
e6978f9305 refactor lib/oauth1 to filter a hiss 2016-03-09 14:35:37 -08:00
Anton Dyudin
b5df1e2e02 Added gall printf for attempting to poke/peer an unstarted app 2016-03-09 12:57:06 -08:00
Anton Dyudin
8ad7321986 clearer naming 2016-03-08 20:32:45 -08:00
Anton Dyudin
c930eef283 clean up paramter handling 2016-03-08 20:25:44 -08:00
Anton Dyudin
d3e3190c51 clean up lib/oauth1 types 2016-03-08 19:49:58 -08:00
Anton Dyudin
50b8fb028b minor oauth1 tweaking 2016-03-08 18:50:14 -08:00
Anton Dyudin
2deeb00431 add path-interpolation functions 2016-03-08 18:44:43 -08:00
Anton Dyudin
956e988581 added +curl-hiss for twitter testing 2016-03-08 18:00:07 -08:00