Commit Graph

139 Commits

Author SHA1 Message Date
f760d48368 Look ma, no CDNs.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3699 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-12-22 14:27:52 +00:00
ba87f9acaa Moving things off of CDNs.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3698 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-12-22 13:51:49 +00:00
e3b83c10db Integrate speedscope. Just visit /scope.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3695 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-12-21 19:53:30 +00:00
8075bdfe99 Avoid a message storm, and reduce log spam a bit.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3691 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-12-20 17:00:25 +00:00
84a3d7348d Add a way to set arbitrary data accessible by all tasks. Use it to allow autologin for testing multiple instances more easily.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3689 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-12-01 23:29:53 +00:00
63c344112d Add a callback for when messages are added to the database. Abuse it to forward messages semi-live.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3686 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-11-11 00:05:07 +00:00
18c90214a8 Trying to normalize event handling somewhat. More to go before it's simple.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3685 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-11-07 22:28:58 +00:00
68cf3efcde I am too good at breaking syncing.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3684 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-11-06 02:10:13 +00:00
308e24c9fa Maybe ordered better?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3683 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-11-03 23:23:20 +00:00
fde7fb4270 Create a util.js.{h,c} from some common things.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3681 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-11-03 22:15:46 +00:00
03a2367532 Fixed lots of things about storing blobs.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3680 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-10-31 21:15:18 +00:00
08cd0ec878 Continuing to try to get this thing talking to other clients.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3679 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-10-31 19:39:16 +00:00
0a01332d1f Fix some RPC issues?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3678 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-10-30 21:07:01 +00:00
256c47c33c Ugg, need to get this talking SSB properly.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3677 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-10-28 02:19:57 +00:00
07a0828626 Async File.writeFile.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3673 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-10-27 23:27:21 +00:00
f4f6bb8333 Move all JS interface things into .js.c files with _register() functions.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3671 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-10-24 15:46:30 +00:00
470814f147 Made File.readFile async.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3667 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-10-06 01:25:33 +00:00
24a91219c1 Improve some problematic redirects.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3666 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-10-04 01:15:33 +00:00
a09d159268 Moving a little bit more to this test.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3661 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-09-09 00:15:57 +00:00
91ec68252d Cleans up some confusing output from -t ssb.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3660 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-09-06 21:21:51 +00:00
cadcb236ee Work in progress moving SSB RPC handlers into javascript.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3657 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-09-06 17:50:38 +00:00
87747c0b6b Oh, votes are slowing everything down. Batch them and simplify.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3648 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-01-20 02:20:40 +00:00
03cf347394 Try to clean up some websocket noise, and try harder to not duplicate connections.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3647 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-01-20 02:01:14 +00:00
cf195cdd44 Only save modified files. Much faster saves.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3640 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-01-13 02:40:46 +00:00
7d8258c262 Add args to unsupported message response based on some warnings I saw. Indicate which files are unsaved in the editor.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3638 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-01-13 02:15:09 +00:00
2b5a56abfe Allow visiting/viewing an app message by id.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3635 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-01-09 23:06:33 +00:00
a2851f8ade More legible colors.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3633 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-01-09 19:16:39 +00:00
ff4c144be3 Expose a user's apps. Baby step to being able to share an app.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3632 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-01-06 02:56:25 +00:00
9cf1d38611 Remove some cruft. Fix a first run issue.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3628 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-01-03 20:25:52 +00:00
79022e1e1f Merge branches/quickjs to trunk. This is the way.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3621 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-01-02 18:10:00 +00:00
37a9d856af Reload the TLS certificate and private key if they change.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3409 ed5197a5-7fde-0310-b194-c3ffbd925b24
2017-10-12 23:29:33 +00:00
84c8d74d2a Minor cleanup, and allow killing service processes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3407 ed5197a5-7fde-0310-b194-c3ffbd925b24
2017-05-23 17:47:48 +00:00
db6467187d Show Connecting..Authenticating...Executing... status.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3406 ed5197a5-7fde-0310-b194-c3ffbd925b24
2017-05-22 19:38:49 +00:00
bbf980b672 Do corking client-side. Beside not blowing up on giant packets, it is more snappy for the client.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3405 ed5197a5-7fde-0310-b194-c3ffbd925b24
2017-05-18 19:18:22 +00:00
3ca8659bba Fix bad encoding of static files.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3395 ed5197a5-7fde-0310-b194-c3ffbd925b24
2017-03-01 22:44:30 +00:00
a47043955e CodeMirror 5.23.0.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3394 ed5197a5-7fde-0310-b194-c3ffbd925b24
2017-03-01 22:44:15 +00:00
8f56e754e2 Oh, the webroot mode works well enough for me to use Let's Encrypt for Tilde Friends.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3384 ed5197a5-7fde-0310-b194-c3ffbd925b24
2017-01-29 12:30:02 +00:00
494a1a8776 Make it possible to create a new script again.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3382 ed5197a5-7fde-0310-b194-c3ffbd925b24
2017-01-18 23:21:42 +00:00
e8b9bab468 Removed some remnants of the old editor. Fixed an encoding bug.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3381 ed5197a5-7fde-0310-b194-c3ffbd925b24
2017-01-18 02:02:00 +00:00
993054ce9d Merge the editor and the terminal view. I think it will be nicer to work with them always side-by-side.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3380 ed5197a5-7fde-0310-b194-c3ffbd925b24
2017-01-16 15:24:44 +00:00
ba0b3bf465 Removed some session cruft.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3379 ed5197a5-7fde-0310-b194-c3ffbd925b24
2017-01-16 13:00:05 +00:00
5200fbc852 async fix.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3378 ed5197a5-7fde-0310-b194-c3ffbd925b24
2017-01-13 01:15:02 +00:00
c1b75821bf Add File.stat. Use it to cache manifests to speed up task start. async spreads like a virus.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3377 ed5197a5-7fde-0310-b194-c3ffbd925b24
2017-01-13 01:04:00 +00:00
a60049b6b5 Allow an unsized iframe, fix a problem with /view, and minor chat fixes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3374 ed5197a5-7fde-0310-b194-c3ffbd925b24
2017-01-03 23:23:50 +00:00
4cdbdaf3d1 Disable Nagle's algorithm to try to make things more uniformly responsive.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3368 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-12-24 13:57:27 +00:00
4313cfbc4f Let task.execute accept raw UTF-8 bytes, for the sake of the tests. Missing #include. Minor cleanup.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3359 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-12-22 18:11:49 +00:00
5c855afbb3 Fixed a bunch more encoding issues.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3358 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-12-22 17:38:21 +00:00
ba298b2e7c Begin the hairy process of making this thing deal safely with string encodings. This will be broken for some time.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3356 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-12-21 20:19:23 +00:00
475da6dbf2 Auto-scroll containing terminal if an iframe resizes. Other oEmbed tweaks.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3336 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-09-18 12:56:31 +00:00
a5def62efa I just learned that URL unfurling is a thing, and now this chat client supports it (poorly).
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3335 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-09-17 20:53:03 +00:00
40b0de6c15 Added some edit/save/back keybindings.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3308 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-08-20 17:05:10 +00:00
b908f63424 Oh. Device orientation is separate from location.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3295 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-08-06 01:17:32 +00:00
f08b564755 Exposed geolocation API. Now somebody make tildemango.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3294 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-08-05 22:09:50 +00:00
ef1fa591e5 Slightly improved error handling, some heuristics for number of cores to build with, and misc. work in progress changes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3246 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-06-12 13:45:57 +00:00
b3534525f7 Remove the terminal target / semicolon behavior. It can be implemented app-side if I want it again.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3240 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-06-05 13:21:00 +00:00
859a537bad Add some keybindings to switch chat rooms.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3236 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-06-02 23:48:45 +00:00
dca3ad9b79 Backlog of miscellaneous fixes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3234 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-06-02 23:01:55 +00:00
e7feab4a4a Fixes to improve chat experience. Suppress spurrious ping messages. Try to reconnect when a network connection is restored. Send messages to multiple sessions from the same user.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3230 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-05-07 11:07:54 +00:00
1c85875db4 Fix problems reported by https://validator.w3.org/.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3229 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-05-02 12:31:51 +00:00
c0b1a3251c Add robots.txt.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3227 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-05-01 13:28:45 +00:00
a52c0367bf Enable a bunch of search-related features in the editor.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3226 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-05-01 13:25:24 +00:00
c910a5b8e7 One bad manifest shouldn't break everything.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3225 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-05-01 13:25:00 +00:00
395495fa12 Added some basic form filling-out features.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3224 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-05-01 13:24:37 +00:00
0bd836e915 Added rough SVG support. Added doctypes to all of my HTML, and tried to fix some CSS issues that happened as a result.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3223 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-30 18:28:33 +00:00
25d97e5e3b Move most of the specification of terminal API client-side, so that the terminal can be changed without restarting the core. Add descriptions to some packages. Other minor improvements.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3222 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-30 10:50:43 +00:00
9668723200 Fix the initial hash change event.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3219 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-28 21:53:43 +00:00
45f0136ceb Let processes post messages to other packages with the same owner.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3216 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-24 12:33:00 +00:00
b265d65e11 I only support websockets protocol version 13.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3215 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-23 18:17:55 +00:00
b65b7b5d67 Fixes Edge. Yep.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3213 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-21 10:13:28 +00:00
b917cbe08f How did this ever work?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3208 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-17 12:17:59 +00:00
6410b13ece Now child processes have no ability to open files.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3206 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-16 21:30:52 +00:00
105ecab472 Go back to allowing automatic guest sessions by default. WebSockets actually make this work better.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3204 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-14 23:37:23 +00:00
d82fc5cc85 Remove use of jquery and fix some bugs.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3200 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-11 15:54:26 +00:00
577606a0f9 Fixed the login/out link in the corner. Filled in obvious gaps in error reporting.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3199 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-11 00:28:42 +00:00
6fbd00bddf Use wss:// when we're connected over https://.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3198 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-11 00:12:19 +00:00
2c8bea27a0 Now with more WebSockets.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3197 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-11 00:09:21 +00:00
41a12fd1a7 Show service processes differently on the index. Expose manifests to package list. Add a work in process library of shared user interface code.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3193 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-09 16:42:15 +00:00
560df7e5f3 Made it possible to require() a script from another package. It's high time for some code reuse.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3191 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-09 15:24:48 +00:00
df2c0b108f Added a rudimentary command history.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3190 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-07 01:44:22 +00:00
8002ce96d6 Retain URL #hash through login.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3189 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-07 01:30:07 +00:00
3b5f123136 Lots of fighting with CSS to get side-by-side editors and previews. Didn't really win. Turned turtle into a live TurtleScript editor.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3188 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-04 20:26:01 +00:00
cbf54eaa17 Added support for Google Sign-In, optional in every way.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3187 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-03 19:31:03 +00:00
7b112c5376 Adding a work-in-progress wiki using Markdeep. Plus a pile of unrelated small changes I've accrued.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3186 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-04-03 15:01:21 +00:00
5cf59994f7 Work in progress blog app. Added cork/uncork to the terminal so that I can suppress blinking. I think I accidentally fixed some output issues in here, too.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3174 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-03-20 13:29:20 +00:00
8fafcb5232 Just trying a thing. Let apps produce atom content.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3172 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-03-19 19:02:39 +00:00
9f23147678 Make it possible to submit data to a task through a POST to /~user/task/submit.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3171 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-03-17 01:07:54 +00:00
a9879b7c8a Arrow keys do are not handled by onkeypress on all browsers. Wonderful. Use onkeydown instead.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3170 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-03-17 00:51:08 +00:00
caa7e26e5e Updating some references from "SandboxOS" to "Tilde Friends."
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3158 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-03-12 18:55:55 +00:00
7c6a377c0b sandboxos => tildefriends
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3157 ed5197a5-7fde-0310-b194-c3ffbd925b24
2016-03-12 18:50:43 +00:00