Commit Graph

374 Commits

Author SHA1 Message Date
Fang
de116bbb2a Move generic JSON RPC logic into its own files. 2018-03-13 14:42:49 +01:00
Fang
d8ddcbf386 Can now make requests to Ethereum nodes. Supports chain read requests. 2018-03-13 00:42:24 +01:00
Fang
239a5d7744 Work with octs for encoding the bytes types. 2018-03-12 17:02:32 +01:00
Anthony
c066cf219b new sur for display of posts 2018-03-09 17:31:38 -08:00
Anthony
645d2d8b30 merge in hall changes from mark branch 2018-03-06 17:47:43 -08:00
Fang
95e35ce2c9 Add support for targeting the last x messages in a query range.
/circle/inbox/grams/-5/-0 gets the last 5 messages from the inbox, nothing more.
Closes #643.
2018-03-07 01:15:19 +01:00
Anthony
4b58a737f4 merged from mtime 2018-02-27 10:54:17 -08:00
Fang
35d3b04d21 Add usage tags to circle configs, allowing clients to store arbitrary meta usage info. 2018-02-22 13:08:24 +01:00
Fang
8a4e3c8656 Revert "Add usage tags to circle configs, allowing clients to store arbitrary meta usage info."
This reverts commit e807db9055.
2018-02-21 13:23:58 +01:00
Fang
01c8035006 Implement ABI data encoding for Ethereum. 2018-02-20 22:11:27 +01:00
C. Guy Yarvin
30cfb2b57d Simplify. 2018-02-15 12:23:12 -08:00
C. Guy Yarvin
e6f2ab99c0 Properly rippled. 2018-02-15 10:23:25 -08:00
Fang
e807db9055 Add usage tags to circle configs, allowing clients to store arbitrary meta usage info. 2018-02-14 17:02:47 +01:00
C. Guy Yarvin
55ea6e6aea Cleared fab flags; preparing to ripple. 2018-02-13 21:36:25 -08:00
C. Guy Yarvin
9a8dfb21fc Almost fully transitioned. 2018-02-12 17:09:22 -08:00
Anthony
628970d4a6 update the config sur 2018-02-06 15:11:47 -08:00
Anthony
edd48a8327 write longer config file 2018-02-05 12:49:24 -08:00
C. Guy Yarvin
15e824da0b ut_find debugging branch. 2018-01-31 13:52:04 -08:00
cgyarvin
1e8e3fdd84
Merge pull request #586 from eglaysher/unicode-string-gates
Unicode string gates
2018-01-29 11:09:08 -08:00
Elliot Glaysher
58900d30f7 Further %143-ization and general cleanup. 2018-01-18 22:40:24 -08:00
Elliot Glaysher
d0b34fdae8 Merge remote-tracking branch 'ohaitch/unicode-string-gates-lint' into unicode-string-gates 2018-01-18 22:24:03 -08:00
Elliot Glaysher
4edb2aa9c0 Merge branch 'new-stdlib' into unicode-string-gates 2018-01-18 21:26:20 -08:00
Anton Dyudin
d109a2002e add %resubmit for editing old posts 2017-12-20 19:50:00 -08:00
Anton Dyudin
d0a48a8792 added delete-* actions 2017-12-20 17:28:13 -08:00
Fang
2a118e330b Merge commit 'ff5c9ae031d58b27d7db3b563aba3f3310e83286' into hall-talk-smallfix 2017-12-19 15:33:30 +01:00
Anton Dyudin
f583143877 add comment box to topics 2017-12-18 16:50:21 -08:00
Elliot Glaysher
a5ef941505 Enables more doccords in hall and talk. 2017-12-18 15:53:59 -08:00
Fang
31e1c73aed Made ++name a knot rather than a term. 2017-12-18 14:21:52 +01:00
Fang
06b3355556 Renamed ++naem to ++name. 2017-12-18 14:20:45 +01:00
Anton Dyudin
4674e78477 s/comt/coms/g 2017-12-15 18:19:39 -08:00
Anton Dyudin
fafb169508 get mtime out of marks 2017-12-15 17:30:16 -08:00
Anton Dyudin
b99629ed8c use ford to "listen" to collections files being created 2017-12-15 15:30:44 -08:00
Anton Dyudin
c1673fc506 add sur/collections 2017-12-15 14:59:54 -08:00
Ted Blackman
ab2e886522
Merge pull request #455 from Fang-/more-gh
Expanded on existing Github marks
2017-12-15 11:51:45 -08:00
Fang
1b7aae8631 Implemented /circles, for querying visible circles on ships. 2017-11-24 20:34:46 +01:00
Fang
e14e9dfea5 Comments, minor cleanup. 2017-11-24 00:46:41 +01:00
Fang
5fbb7599cb Hall stories now also track where messages were received from.
Stories can be queried for messages originating exclusively from a specific source.
2017-11-20 20:48:54 +01:00
Fang
5cd9f12ae3 Tiny fixes & todo's cleanup. 2017-11-17 20:10:23 +01:00
Fang
c16269de6f Stories now track which ships are actually subscribed to them.
Can be queried using /peers/[circle-name].
2017-11-17 20:09:40 +01:00
Fang
b416535408 Renamed "reader" to "client".
More immediately obvious terminology.
2017-11-16 00:56:33 +01:00
Fang
aa35774190 Minor styling and cleanup. 2017-11-16 00:48:56 +01:00
Fang
d0a0d6cf51 Expanded on existing Github code by adding commit and repository marks. 2017-11-15 17:33:08 +01:00
Fang
664a97b0e8 Added a %report prize so it no longer looks like the query's unavailable. 2017-11-09 18:26:26 +01:00
Fang
ee1ca40f34 Renamed %talk-guardian to %hall, %talk-agent to %talk.
In /sur, /gen, /mar, /lib renamed files/folders from "talk" to "hall".
2017-11-07 22:05:52 +01:00
Fang
f623d83667 Minor cleanup. 2017-11-07 20:20:42 +01:00
Fang
9c57a67516 Expanded %app speech to be more than just a cord. 2017-11-06 17:21:50 +01:00
Fang
061d9326e1 Implemented a "public membership" list.
Users can add circles they've joined to this list. Others can query it.
This should allow for circle discovery functionality.
2017-11-06 14:19:22 +01:00
Fang
6e4b9fe6b7 Updated circle query paths to be slightly more flexible in the data they subscribe to.
Internal %peer paths in the guardian got a bit messy.
2017-11-03 15:54:25 +01:00
Fang
de061524cf Uncoupled presence from subscriptions.
To gain/remove a status in a circle, it now has to un/set by the reader.
2017-11-02 00:44:13 +01:00
Fang
3746ab02fb Trivial TODOs & cleanup. 2017-11-01 20:41:14 +01:00
Fang
140c847271 Updated /sur/talk.hoon to be more clear and consistent. 2017-10-31 19:56:56 +01:00
Fang
31cd0593aa Merge branch 'master' of https://github.com/urbit/arvo into remaint-merge-talk 2017-10-24 15:21:15 +02:00
C. Guy Yarvin
4018c1b571 More syntax fixes; add , prefix for handmade pattern 2017-10-23 14:41:27 -07:00
Fang
e59b37eafc Merge branch 'master' of https://github.com/urbit/arvo into remaint-merge-talk 2017-10-19 23:59:14 +02:00
Fang
7fdcf344e3 Now using audience instead of (set circle) where appropriate. 2017-10-19 02:05:53 +02:00
C. Guy Yarvin
6df5e754fa Fix some minor syntax bugs 2017-10-18 12:55:02 -07:00
Anton Dyudin
40050a490e WIP simplify parsing constants to ++soft, comment placement 2017-10-13 09:47:38 -07:00
Elliot Glaysher
ccfb11bda9 Complete prototype for a unicode aware ++to-{upper,lower}.
This uses a mark to parse UnicodeData.txt, and some ford runes to change this
into a binary search tree data structure for quick lookups, along with the
optimizations found in golang's unicode table to record ranges instead of
individual characters.
2017-10-12 22:55:45 -07:00
Elliot Glaysher
25accb9eba Add real unicode uppercasing.
Place UnicodeData.txt in %/lib/unicode-data/txt. The +capitalize generator
should then capitalize any unicode tape, including characters outside lower
ASCII.
2017-10-12 22:53:52 -07:00
Fang
24e6873a5c Slightly improved sur/talk wrt true names. 2017-10-11 23:47:50 +02:00
Fang
3248b0437d Moved deltas out of /sur, into /app. 2017-10-10 16:30:27 +02:00
Fang
0d72c1d2c4 Made range a first-class citizen of sources/subscriptions.
FIXME side-effect: agent can't unsub from sources with specified ranges.
2017-10-09 22:50:17 +02:00
Fang
5c7e045495 Talk files now compile.
Guardian doesn't yet init properly.
2017-10-06 19:35:25 +02:00
Fang
bb5150819c Merge branch 'talk-split' into remaint-merge-talk
Uncompiled. Untested.

# Conflicts:
#	app/talk.hoon
#	lib/helm.hoon
#	lib/talk.hoon
#	mar/talk/command.hoon
#	mar/talk/report.hoon
#	mar/talk/telegrams.hoon
#	sur/talk.hoon
2017-10-06 14:46:46 +02:00
Fang
5cf7e0971c Misc. cleanup, comments, ideas. 2017-10-06 13:29:15 +02:00
Fang
2f6a7e3916 Properly implemented %ire, the reply speech type.
Refactored how known messages are accessed.
2017-10-06 00:04:26 +02:00
C. Guy Yarvin
843dd42e54 Final, correct ^ conversion. 2017-09-19 22:08:33 -07:00
C. Guy Yarvin
f8349b1aa7 Correct ^ conversion. 2017-09-19 17:35:45 -07:00
C. Guy Yarvin
60a1104891 Translate ^ runes. 2017-09-19 16:24:30 -07:00
Fang
cdcdd82021 Sent messages now get their delivery state tracked locally.
(Interface for accessing this state yet to be exposed.)
2017-08-02 21:43:56 -07:00
Fang
fc9386c533 Renamed some dif/delta* to det and some dif/rumor* to rum, to remove ambiguity. 2017-07-21 15:53:24 -07:00
Fang
f19891d488 Message diffs are now always about a single message, rather than being "maybe multiple messages but practically always just one". 2017-07-20 16:57:53 -07:00
Fang
bf5d81e00b Now sending message nrs along with message rumors themselves.
Separated full story state (++burden) from potentially partial story state (++package).
2017-07-19 19:19:03 -07:00
Fang
830200265c Circle names are now terms instead of knots. 2017-07-11 15:32:18 -07:00
Fang
e3467bfd66 Wrapper molds for nicknames and story names. 2017-07-11 15:12:29 -07:00
Fang
54e865f27f Renamed inherited flag and made it default to false. 2017-07-10 18:41:50 -07:00
Fang
5d566cd77f Better formatting for ++range and ++place definitions. 2017-07-10 17:39:03 -07:00
Fang
a43c99859b Merged ++statement into ++thought, removed tot face from ++telegram. 2017-07-10 17:23:12 -07:00
Fang
caac4c8913 Removed ++partner. Everything is now ++circles. 2017-07-10 17:21:58 -07:00
Fang
1daf2f547f Pulled /reader diffs and rumors into their own structures. 2017-07-10 14:09:59 -07:00
Fang
fa193ca559 Now have separate structures for inward & outward diffs (deltas vs diffs/rumors). 2017-07-07 17:21:40 -07:00
Fang
90c70cc916 Removed reactions. Now just crash instead of neatly informing the user. 2017-07-07 17:01:56 -07:00
Fang
ab7f7d47a5 Removed /friend query for now. 2017-07-07 16:21:13 -07:00
Fang
9075373db7 Removed outbox. 2017-07-06 20:01:08 -07:00
Fang
8ceb9312d1 Removed delivery state from telegram audiences. 2017-07-06 18:16:17 -07:00
Fang
35d057f420 TODOs based on code review. 2017-07-06 13:38:36 -07:00
Fang
f694d71d56 Removed unused message types. Changed %exp to include expression results. 2017-06-30 18:44:37 -07:00
Fang
4aa069c9f8 Removed bouquet for now. 2017-06-30 18:42:36 -07:00
Fang
2852b71070 %source config diff now only takes a single partner, since it never gets done for multiple. 2017-06-28 11:12:12 -07:00
Fang
3e32f78ac1 Can now set presence or status for specific circles, even foreign ones. 2017-06-27 17:29:51 -07:00
Fang
7928998e9b Missing change in sur to allow range specification in the %source action. 2017-06-27 12:43:48 -07:00
Fang
679ef2a6d3 Ranges specified in subscriptions now actually do something.
Does not yet quit ended subscriptions.
2017-06-26 16:56:03 -07:00
Fang
f04b142bee Reactions now always send to ost.bol. 2017-06-22 18:04:22 -07:00
Fang
fe2246066e Removed unused %more delta. 2017-06-22 13:48:10 -07:00
Fang
0642ee5f16 Cleanup of inline docs and comments. 2017-06-21 17:16:22 -07:00
Fang
87350712be Completed and cleaned up inline documentation. 2017-06-21 13:48:47 -07:00
Fang
60f5ed19d1 Renamed cus in filter to cas. 2017-06-15 20:29:35 -07:00
Fang
90c0ccdad0 Renamed sre and sourcee back to src and source. 2017-06-15 18:53:47 -07:00
Fang
9dbdd3f89f Tiny changes, comments & cleanup. 2017-06-13 18:06:38 -07:00
Fang
ccfd01bb67 Touched up burden logic and moved it upstream, into delta generation. 2017-06-13 17:28:16 -07:00
Fang
2c96e87060 Moved %done delta logic upstream. Now actually stores message with updated audience. 2017-06-13 11:14:13 -07:00
Fang
975f07f2d1 Burden subscriptions now specify the bearer, delivering "customized" rumors. 2017-06-12 18:09:00 -07:00
Fang
563aa0102e Mostly functional federation & delta model. 2017-06-12 15:19:45 -07:00
Fang
23cd3ad758 Newly updated in-between commit for delta-model talk. tmp 2017-05-22 17:10:24 +02:00
Fang
076f3a0ac4 Message sanitization is now configurable on a per-story level.
Story configuration includes a filter for specifying sanitization rules: dis/allowing capitals and non-ASCII characters.
The agent does not care about these rules, and just sends its message. If more limiting rules becomes available, the agent might want to adjust its message parsing according to the active audience.
2017-05-09 21:43:42 +02:00
Fang
3e558bded3 Shuffled order of talk actions around to be slightly more intuitive. 2017-05-03 18:38:41 +02:00
Fang
22538c8593 More consistent about naming @t as cord, @p as ship, etc. 2017-05-01 19:34:05 +02:00
Fang
36765e0d14 Implemented actual federation.
%burden and %relief commands have been implemented to facilitate this,
for starting and ending federation respectively.
2017-05-01 17:32:26 +02:00
Fang
f3533eae4f More renaming of talk structures. 2017-04-26 23:33:25 +02:00
Fang
0e1b86da98 Patched remnant of station to circle renaming, sat to cir. 2017-04-25 21:18:14 +02:00
Fang
41980ae1de Some TODOs, cleanup in talk apps. 2017-04-25 21:09:20 +02:00
Fang
23bdb637b2 Bound faces to talk structures. Renamed stations to circles.
Communication structures get no new faces because their ideal implementation uses gates to process them.
2017-04-24 21:14:51 +02:00
Fang
1cf95788fa Reorganized the talk structures and slightly improved their documentation. 2017-04-21 13:43:17 +02:00
Fang
738ac90152 Updated TODOs. 2017-04-18 21:33:02 +02:00
Fang
02b31e4cb0 Implemented ;unbind for unbinding glyphs. 2017-04-18 14:29:17 +02:00
C. Guy Yarvin
c8e262df75 Fully booting with new chapter structures. 2017-04-16 15:37:47 -07:00
Fang
ad8fb2607e Moved unsubscribing of specific ships (instead of bones) into its own arm. 2017-04-14 17:01:54 +02:00
Fang
86deb6204b Implemented %depict, %source and %delete commands. 2017-04-14 16:16:36 +02:00
Fang
85a13cea21 Fully deprecated %design and %publish commands in favor of the new actions. 2017-04-14 13:02:38 +02:00
Fang
8b82260408 Added %source action for un/subscribing, %convey and %phrase actions for sending.
New actions are used in reader to simplify implementation.
2017-04-13 23:40:53 +02:00
Fang
108431b2c9 Put remotes and mirrors back into config. They no longer contain local story data.
Reader doesn't care much, aside from changes to lowdowns. It subscribes exclusively to the default mailbox.
2017-04-13 14:09:38 +02:00
Fang
3a43657bc1 Allowed readers to subscribe to grams from specific stories.
This means apps don't have to write to the standard mailbox to be able to get messages.
2017-04-12 13:22:44 +02:00
Fang
f0331924b3 Lowdown %grams now exclusively come from the mailbox. 2017-04-11 22:51:47 +02:00
Fang
59aa18e6d2 Merged local story configs and presences into the remote maps. Reader lowdowns no longer distinguish between local and remote stories. 2017-04-11 17:01:25 +02:00
Fang
d769b2f325 Implemented %create action. 2017-04-11 13:24:07 +02:00
Fang
eebd699032 Removed ++update in favor of ++action. 2017-04-11 13:00:13 +02:00
Fang
c33d5a04e5 Implemented ;invite and ;banish for giving and denying permission to stations.
Read permissions for journals and mailboxes are constant: all and our team resp.
2017-04-11 12:17:23 +02:00
Fang
2a3dffc8c4 Implemented %action and %reaction types for better reader-broker comms.
Opens up new possibilities for refactoring.
2017-04-10 22:24:25 +02:00
Fang
0e850fc8bd Small changes, TODOs and miscellaneous cleanup. 2017-04-04 21:55:05 +02:00
Fang
3350be68d5 Moved remotes and mirrors out of stories/tales and into global state. 2017-04-04 00:14:06 +02:00
Fang
2fef0b771b Lowdowns for readers now include remote presences and configs, to aid mailbox behavior. 2017-04-03 16:50:35 +02:00
Fang
e36aed9778 Undid removal of federation functionality to facilitate traditional mailbox behavior.
The default mailbox gets used to contain foreign stories.
2017-04-03 14:42:45 +02:00
Fang
7d8e0e8e33 Removed remote mirrors (federation) from guardian. 2017-03-30 17:49:18 +02:00
Fang
f15a52a7f2 Miscellaneous small changes, mostly comments and debugging. 2017-03-30 14:17:37 +02:00
Fang
163c31d425 Talk lowdowns can now indicate story/tale deletions. 2017-03-30 13:33:37 +02:00
Fang
9b94bbeb33 Removed %house reports, superseded by %tales lowdowns. 2017-03-29 20:17:21 +02:00
Fang
47f36dda65 Readers no longer receive talk reports. Rely on lowdowns for updates instead.
Working title. Compiles but doesn't run well. ++sh needs work to accommodate.
2017-03-29 00:11:12 +02:00
Fang
2873ab49f5 Changed update $human. 2017-03-27 12:50:39 +02:00
Fang
a2d2633776 Fixed syntax errors. 2017-03-27 11:26:23 +02:00
Fang
cf346ddcf5 Changed update and lowdown of identities to allow for deletion. 2017-03-25 00:24:55 +01:00
Fang
803e521e38 Set up protocol for updating/sharing generic UI state.
Moved/copied parts of ++ra and ++pa into the agent.
2017-03-24 21:10:27 +01:00
Fang
8602a6c5ff Better split state. 2017-03-23 23:10:28 +01:00
Fang
8c2d8327b8 Updated comments and new TODO's. 2017-03-23 23:07:35 +01:00
Raymond Pasco
bab93e7ac2 Merge remote-tracking branch 'ohAitch/zuseflat-pretty'
Complete the restructuring of zuse. Add old-zuse compatibility layer.
2017-02-13 22:19:03 -05:00
Anton Dyudin
53eef4cd8d marks mostly functional 2017-02-13 16:02:25 -08:00
Raymond Pasco
fd6d28ccc0 Remove blank lines at EOF 2016-12-15 22:52:53 -08:00
Raymond Pasco
bbc4d2c0ee Repository cleanup
mostly trailing whitespace removal
no new kernel because only changes there are whitespace removal
2016-12-15 22:36:45 -08:00
Anton Dyudin
91f8049819 remove ^vane shims
requires vere without crypto:ames
2016-12-08 13:50:32 -08:00
Anton Dyudin
a373a6ef11 !: in ford files is redundant 2016-11-16 17:42:58 -08:00
C. Guy Yarvin
3551848d08 Merge commit '0c8f77d' into cc-merge 2016-11-13 19:15:19 -08:00