Travis Staton
364799386e
Report correct number of downloaded entities
2022-06-21 16:38:04 -04:00
Mitchell Rosen
f461e73f49
Merge pull request #3142 from unisonweb/22-06-20-pull-progress
...
make pull report number of outstanding entities to download (like push)
2022-06-21 14:21:21 -04:00
Chris Penner
ea143517e5
Don't auto-login on pulling public routes; pull base from share ( #3139 )
...
* Don't auto-login on pulling public routes.
* Update base version parser
* Fix version parser tests
* Don't print error on unauthenticated requests,
need to wait to see if the server 401's first.
* Update unison-cli/src/Unison/Codebase/Editor/HandleInput.hs
Co-authored-by: Mitchell Rosen <mitchellwrosen@gmail.com>
* out of date comment
Co-authored-by: Mitchell Rosen <mitchellwrosen@gmail.com>
2022-06-21 11:09:16 -06:00
Chris Penner
f898cd6ecb
Make user id optional on hash-jwts to accomodate unauthenticated public downloads. ( #3141 )
2022-06-21 10:42:41 -06:00
Chris Penner
021b9965f6
Use production share server ( #3138 )
...
* Use production share server
* Don't use port in default share server
It won't recognize the codeserver in auth checks if the port is implied
later, since https://host:443 /= https://host
2022-06-21 10:17:58 -06:00
Paul Chiusano
8677aef155
Merge pull request #3104 from unisonweb/work/arrays
...
Add builtin array types and functions
2022-06-20 23:30:00 -04:00
Mitchell Rosen
6f5e2c74db
make pull report number of outstanding entities to download (like push)
2022-06-20 16:04:45 -04:00
Dan Doel
1c5f9a2d3c
Avoid inilning a function with unsafeCoerce
...
When it's inlined, it seems to cause strange behavior in the places it's
called, likely due to unsound optimizations.
2022-06-20 15:52:14 -04:00
Dan Doel
aef728992b
Merge branch 'trunk' into work/arrays
2022-06-20 15:20:36 -04:00
mergify[bot]
c88b4f3c67
Merge pull request #3126 from dfreeman/df/sha1
...
Add `Sha1` builtin
2022-06-20 02:14:42 +00:00
Dan Freeman
3e1bf1d82f
Add dfreeman to the contributor list
2022-06-19 16:20:40 -06:00
Arya Irani
64212a61e4
Merge pull request #3131 from unisonweb/cp/dont-add-headers-twice
2022-06-17 17:44:38 -04:00
Chris Penner
e006ba28cf
Don't add duplicate auth headers
2022-06-17 15:39:04 -06:00
Arya Irani
0900eafaea
Merge pull request #3039 from unisonweb/arya/ooo-sync
2022-06-17 16:11:43 -04:00
Dan Doel
bbb2e52e6a
Transcript fixes
2022-06-17 15:47:19 -04:00
Dan Doel
8ba6e8445f
Avoid a problem that was causing transcripts to fail.
...
Seems like a bug that should be looked further into in the future
2022-06-17 15:46:30 -04:00
Arya Irani
ad01752128
Update codebase2/codebase-sqlite/U/Codebase/Sqlite/Queries.hs
2022-06-17 13:46:14 -04:00
Arya Irani
3b31b95308
Merge pull request #3125 from unisonweb/travis/update-indices
...
Update type and term indices after push and pull
2022-06-17 13:44:18 -04:00
Travis Staton
ae075a2c4a
no RecordWildCards
2022-06-17 13:20:38 -04:00
Travis Staton
6628afc361
Update codebase2/codebase-sqlite/U/Codebase/Sqlite/Queries.hs
...
Co-authored-by: Mitchell Rosen <mitchellwrosen@gmail.com>
2022-06-17 13:12:22 -04:00
Travis Staton
7e830d41e8
Update codebase2/codebase-sqlite/U/Codebase/Sqlite/HashHandle.hs
...
Co-authored-by: Mitchell Rosen <mitchellwrosen@gmail.com>
2022-06-17 13:12:08 -04:00
Chris Penner
f00c5153a2
Add ensureAuthenticated combinator ( #3127 )
2022-06-17 10:46:43 -06:00
Chris Penner
1df5751a2b
Fix mis-typed sqlite columns in name lookup index
2022-06-17 10:25:28 -06:00
Chris Penner
ec073f988a
Ensure reversed names are actually reversed.
2022-06-17 10:10:30 -06:00
Chris Penner
8098f285ba
Redirect back to share URI after successful login ( #3128 )
2022-06-17 08:52:35 -06:00
Chris Penner
c093ebd82a
Update Name lookup index in half the time ( #3124 )
...
* Implement name lookup on shallow branches
2022-06-17 08:52:04 -06:00
Dan Doel
561be9c859
Add some missing array equality support
2022-06-17 09:17:38 -04:00
Dan Doel
838ced957e
Add more array substrate
...
- Rework sized byte array writes. They're now explicitly big endian,
and always use byte offsets instead of multiples of the number of
bytes to be read
- Add universal equality/comparison support for arrays
2022-06-16 20:41:15 -04:00
mergify[bot]
6e1eedff5e
Merge pull request #3114 from unisonweb/cp/transport-errors
...
Better messaging for Transport Errors when speaking to a code server
2022-06-16 21:14:26 +00:00
Travis Staton
2acaa5e713
remove all effect vars on all funcs in HashHandle
2022-06-16 17:13:45 -04:00
Chris Penner
cdf15c732e
Fix bad syntax on PR suggestion
2022-06-16 14:13:19 -06:00
Chris Penner
19f1b365b6
Update unison-cli/src/Unison/CommandLine/OutputMessages.hs
...
Co-authored-by: Arya Irani <538571+aryairani@users.noreply.github.com>
2022-06-16 14:12:04 -06:00
Dan Freeman
c5f429fc3f
Refresh transcripts
2022-06-16 13:54:25 -06:00
Dan Freeman
40b7dd2f7c
Add Sha1
builtin
2022-06-16 13:54:25 -06:00
Travis Staton
bdbca9db35
Fix error from arya/ooo-sync rebase
2022-06-16 15:44:03 -04:00
Arya Irani
1d0ab1d4f3
Merge remote-tracking branch 'origin/trunk' into arya/ooo-sync
...
# Conflicts:
# hie.yaml
# parser-typechecker/package.yaml
# unison-hashing-v2/package.yaml
# unison-hashing-v2/unison-hashing-v2.cabal
2022-06-16 15:06:42 -04:00
Travis Staton
535eaf98a9
Add unison-codebase-sqlite-hashing-v2 package
...
unison-codebase-sqlite is now parameterized by the hashing functions
2022-06-16 14:29:11 -04:00
Travis Staton
3dcb952b3c
convert2
2022-06-16 14:22:41 -04:00
Arya Irani
7bee79fe73
unison-core1 doesn't need util
2022-06-16 14:08:26 -04:00
Arya Irani
de787c7366
Merge branch 'arya/ooo-sync' of github.com:unisonweb/unison into arya/ooo-sync
2022-06-16 14:07:55 -04:00
Mitchell Rosen
9d758aa849
do some documentation and cleanup
2022-06-16 13:19:34 -04:00
Mitchell Rosen
d042d0ccb9
don't export tempToSyncEntity now that there are no external callers anymore
2022-06-16 12:22:57 -04:00
Mitchell Rosen
64542b1f56
expose a saveTempEntityInMain instead of saveSyncEntity
2022-06-16 12:08:09 -04:00
Mitchell Rosen
470cf7d1c3
Merge pull request #3115 from unisonweb/22-06-15-ooo-sync-chunked-pull
...
make pull from share download in smaller chunks
2022-06-16 11:56:38 -04:00
Dan Doel
09ba846102
Add more array builtins to flesh out the actual API
2022-06-15 18:28:30 -04:00
Arya Irani
c2608571ca
Merge pull request #3116 from unisonweb/arya/vanilla-haskeline
2022-06-15 16:04:42 -04:00
Mitchell Rosen
e941bae755
rename elaborateHashesClient to elaborateHashes
2022-06-15 14:28:18 -04:00
Mitchell Rosen
c862aa9cf8
move elaborateHashesServer to enlil
2022-06-15 14:27:03 -04:00
Mitchell Rosen
9ccafe2274
do only one transaction in downloadEntities
2022-06-15 13:55:32 -04:00
Arya Irani
0437ca0c74
remove haskeline fork
...
resolves https://github.com/unisonweb/unison/pull/1836
closes https://github.com/judah/haskeline/pull/115
2022-06-15 11:54:25 -04:00