Commit Graph

5223 Commits

Author SHA1 Message Date
Anton Dyudin
3500fc3ee8 add sanity checking wrt twitter usernames 2016-03-15 16:25:39 -07:00
Anton Dyudin
8441d6668f clearer %no-token error message 2016-03-15 15:29:12 -07:00
Anton Dyudin
47eac6dbc7 better handling of identity in web scrapers 2016-03-15 15:10:37 -07:00
Anton Dyudin
ce7e970c68 151ification part 2: app/twit types 2016-03-14 18:03:43 -07:00
Anton Dyudin
0f22f85170 151ification part 1: app/twit syntax 2016-03-14 18:03:33 -07: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
fa07caff20 fix odo:raid, dray doc 2016-03-14 16:34:11 -07:00
Anton Dyudin
cd299dcd9a perliminary app/twit restructuring 2016-03-14 15:20:13 -07: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
Galen Wolfe-Pauly
b024a01b72 working on docs 2016-03-14 13:03:37 -07:00
Galen Wolfe-Pauly
6ecaec05ad homepage 2016-03-12 14:34:55 -08: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