Commit Graph

8189 Commits

Author SHA1 Message Date
Joshua Reagan
3c1abdd3df
Posts and Comments with no text ignored
In response to ~ravmel's issue here: https://github.com/urbit/fora/issues/6

With this change if you try to submit a post or comment without text, then the poke is ignored.  Yes, this is a really dumb fix, but it works and fora is minimalist anyway.  Only downside is there is no explicit feedback to the poster.  If someone wants to hold my hand a little I'll try to make a more fancy change.
2018-05-08 23:07:29 -05:00
Ted Blackman
b1e85d481e %plan basic implementation and test 2018-05-08 16:54:29 -07:00
Elliot Glaysher
de224e6b96 Add +test-scry-clay-same-path.
This test case was what fleshed out the date.build issue with pins,
but was originally written to test the resource to scry-request
patch.
2018-05-08 13:27:21 -07:00
Anton Dyudin
6ecb350361 add x-htm wrappers for &htm 2018-05-08 12:46:54 -07:00
Anton Dyudin
f936e45790 rename default eyre mark to x-urb, do xhsip on x- prefix requests 2018-05-08 12:42:22 -07:00
Elliot Glaysher
a995bf24a2 Fix up after pit/vase change. 2018-05-08 11:27:44 -07:00
Elliot Glaysher
505aa209f3 Merge branch 'ford-turbo' into ford-turbo-app 2018-05-08 11:25:33 -07:00
Elliot Glaysher
167414a803 Merge branch 'ford-turbo-call' into ford-turbo 2018-05-08 11:15:47 -07:00
Elliot Glaysher
fdb72174c0 Implement %call, along with some refactoring on how we handle blocks. 2018-05-08 11:10:58 -07:00
Ted Blackman
541a805a6f %reef schematic and test 2018-05-07 16:12:07 -07:00
Ted Blackman
67a65bc853 use pit=vase in ford-turbo; fixed tests 2018-05-07 15:59:39 -07:00
Elliot Glaysher
ef8fae2f66 Merge branch 'ford-turbo-five-oh-fora-fix' into ford-turbo 2018-05-07 15:29:16 -07:00
Elliot Glaysher
b05575c2b2 Fix +test-five-oh-cache-reclamation 2018-05-07 15:28:52 -07:00
Ted Blackman
6d092f0087 fixed %pin bug; added a few pin tests 2018-05-07 15:04:54 -07:00
Elliot Glaysher
2c6a085382 Scrys should block on a specific case, not in general. 2018-05-07 14:31:24 -07:00
Elliot Glaysher
3ad4704ffc Fix test expectation issue local to the ford tests. 2018-05-07 14:15:24 -07:00
Elliot Glaysher
bebf3eaf5a Fix %writ in the test app.
This fixes an infinite loop by advancing the clock in +writ and +wris,
along with using ~palfun's modified %cw operation to get a date from an
@ud +case.

This still doesn't fully work because of an interaction between the
testing app and how +scry:make works: our suplied scry method that we
provide to ford-turbo always blocks, but ford-turbo tracks blocking on
resources instead of specific times.
2018-05-03 16:17:09 -07:00
Elliot Glaysher
12b89743d6 Merge remote-tracking branch 'palfun/clay-w-change' into ford-turbo-app 2018-05-03 13:13:17 -07:00
Anthony Arroyo
6b9861e0c0 updated json endpoints in accordance with logan's requests 2018-05-02 17:51:19 -07:00
Anton Dyudin
f3cb915915 increased eyre hackiness level
- more rickety /$ stub to allow ren/collections to build at all
- diasable cross-ship builds for requests with extensions, e.g. foo.css
2018-05-02 16:16:15 -07:00
Anton Dyudin
e16c1f95de split ren/urb into ren/urb-elem and ren/urb-wrap 2018-05-02 15:17:59 -07:00
Fang
fa798292d1 Make clay %w work for requests with number cases as well.
Remove dead code.
2018-05-03 00:06:19 +02:00
Fang
d681c5964c Update existing usage of clay %w to take new result type into account. 2018-05-03 00:06:19 +02:00
Elliot Glaysher
1694f95eee Implement +slit. Tests both the success and error cases. 2018-05-02 14:47:24 -07:00
Anton Dyudin
850224070e Merge branch 'collections-unsplit' into xship-wrap 2018-05-02 14:37:21 -07:00
Fang
17d7cd4f77 Change clay %w requests to produce both the number and date cases. 2018-05-02 23:37:03 +02:00
Anton Dyudin
dbfe2bf8f6 produce real &urb from /+urb-split 2018-05-02 14:35:36 -07:00
cgyarvin
3ec660df95
Merge pull request #725 from joemfb/wrap-safe
updates +win:re to wrap lines safely with regards to unicode
2018-05-02 11:03:07 -07:00
Fang
2a49991551
Merge pull request #726 from Fang-/clay-bugfix
Make %next behave more like %mult.
2018-05-02 01:34:43 +02:00
Elliot Glaysher
759cc9cc7d Add ford-turbo testing app.
App which wraps an instance of ford-turbo, and translates ford's
moves to real clay.
2018-05-01 15:35:51 -07:00
Elliot Glaysher
943b7152d2 Test the cache reclamation in the five-oh-fora case. 2018-05-01 15:33:30 -07:00
Elliot Glaysher
014921fbe9 Fix %sing calls.
Clay expects paths to not be flopped like beams are.
2018-05-01 13:56:24 -07:00
Anthony Arroyo
f0f838fc63 add collections-json endpoints for mobile 2018-05-01 13:35:16 -07:00
Ted Blackman
d6ed0984d3 cache reclamation and basic tests 2018-05-01 10:55:05 -07:00
Ted Blackman
18f38a7372 use new hoon syntaxes in ford-turbo
New syntaxes:
=/  =model  ...
::
%~  tap  in  ...
2018-04-30 15:15:25 -07:00
Ted Blackman
537d5f5562 renames 2018-04-30 14:57:32 -07:00
Elliot Glaysher
9bf0b24e39 wall to tang in the new testing code. 2018-04-30 14:29:40 -07:00
Elliot Glaysher
bf36713950 Merge branch 'ford-turbo-test-cleanup' into ford-turbo 2018-04-30 14:20:36 -07:00
Elliot Glaysher
fea5f4eb94 Structure the tests. This makes things much more readable. 2018-04-30 14:19:58 -07:00
Fang
f090916f34 Adapt state. 2018-04-30 22:31:57 +02:00
Fang
7e39bd8a8b Remove special logic for the "next aeon to check is 0" case.
It shouldn't be able to occur anymore, so we're fine with being loud if it does.
2018-04-30 22:31:14 +02:00
Fang
0c1ed91dc6 Stored %next requests now point to the next revision they want to check for changes. 2018-04-30 22:28:57 +02:00
Ted Blackman
32a1bc2a53 clean up test printing 2018-04-30 13:22:49 -07:00
Ted Blackman
9e03b9617e +expect-eq now produces a +tang 2018-04-30 13:11:18 -07:00
Ted Blackman
67894d0ab8 Merge branch 'ford-turbo' into turbo-merge 2018-04-30 11:34:35 -07:00
Fang
9f94497e87 When looking for changes at revision zero, look for file creation.
This fixes the symptom described in #681, but not the problem.
2018-04-30 16:23:05 +02:00
Anthony Arroyo
62eede7265 put title and id in collections updates 2018-04-27 18:05:46 -07:00
Elliot Glaysher
bd83553fd7 Start cleaning up the tests. 2018-04-27 16:30:09 -07:00
Elliot Glaysher
858f8ff330 Document +promote-build and helper functions. 2018-04-27 15:32:06 -07:00
Elliot Glaysher
0745a074cb Cleanup +apply-build-result and +apply-blocks 2018-04-27 14:09:18 -07:00