Commit Graph

283 Commits

Author SHA1 Message Date
41590921c3 Expose a thing so that the admin app can show permissions.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3955 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-08-13 18:06:30 +00:00
4d629c45eb Making things slightly more compact.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3954 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-08-11 02:04:55 +00:00
39f05b6bf5 Fix an ancient reconnect bug.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3953 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-08-08 01:48:23 +00:00
58196c4ac0 Make requesting permissions appear less terrible.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3952 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-08-07 22:39:58 +00:00
fbfbd6a6b4 Exposed deleting users, mostly for my own testing, and used it to make a primitive admin app. Add a handful of apps I've been kicking around without version control, while I'm at it.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3950 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-08-04 00:57:56 +00:00
353f2ccc13 Track / expose a list of registered users.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3949 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-08-04 00:07:12 +00:00
6c2fd6d90f This doesn't need to be exposed.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3942 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-07-31 19:45:28 +00:00
24530e1158 First glimpse of multiple SSB identities per Tilde Friends user.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3941 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-07-31 19:01:08 +00:00
ac960a98bf Clean up apps list.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3938 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-07-28 00:45:34 +00:00
f787eb077b An experiment in requesting permissions and some related fixes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3937 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-07-27 00:27:10 +00:00
f764007fc6 Tiny steps toward getting away from one global identity.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3932 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-07-14 01:01:14 +00:00
fb3ad0d95d Slight cleanup.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3921 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-07-09 14:23:58 +00:00
474ff9cd74 Decrease the bad request timeout, as I've tripped it myself occasionally. And let the iframe hit the WebSerial interface. I might have a fun use for that.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3917 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-20 19:50:03 +00:00
718383205b Add a thing to remove apps from your app list. Should I have called in 'uninstall'?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3916 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-20 18:13:19 +00:00
b5c6cac048 Another leak.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3913 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-20 14:30:00 +00:00
515999e570 Use tfrpc fairly thoroughly in the ssb app.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3912 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-20 01:34:32 +00:00
ab58f42f0c Module-ified the ssb app and started to integrate tfrpc.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3911 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-19 22:08:15 +00:00
af3e96c7e8 Cleanup this state, maybe.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3910 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-19 21:09:22 +00:00
d892c9e734 Add a helper for app <-> browser communication.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3908 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-19 18:01:21 +00:00
d3e9041b15 var -> let, and standardize these calls.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3907 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-18 21:12:38 +00:00
3a40722c89 Emoji-ify status messages.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3906 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-18 20:51:22 +00:00
2d8a956c14 require -> import
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3904 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-18 17:39:08 +00:00
ed6550a4cd Move some deps to deps.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3903 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-18 17:07:36 +00:00
e1ca715c64 Add some helpers for resizing dynamic arrays to allow them to both not grow if they're at capacity or shrink if significantly below capacity.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3902 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-17 21:18:10 +00:00
4e3bf99327 More socket leak debugging.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3901 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-17 19:58:50 +00:00
b5b6ed8ba5 Trying harder still to curb stale connections.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3900 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-17 18:51:24 +00:00
4293e75082 Add some mp4 file magic.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3899 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-16 15:53:13 +00:00
927e2b7060 Expose some information about active sockets to try to track down leaks.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3898 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-09 02:45:34 +00:00
83bdbbb4dc Fixed some socket leaks.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3897 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-07 02:41:44 +00:00
1dc6084d2d Time out idle connections.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3896 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-07 02:08:06 +00:00
ae894eaa9d Time out connections that don't send a request in time.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3895 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-07 01:00:50 +00:00
9c90b2bc1d Use a custom allocator for everything.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3892 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-04 17:04:51 +00:00
cf61e68713 Spruced up the graphs.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3891 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-04 16:38:45 +00:00
5622db92a7 Trying to fix socket lifetime issues.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3886 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-06-02 10:58:22 +00:00
842633f6d1 Exposed some ways to explore databases.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3879 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-05-25 23:45:52 +00:00
87224d2bb6 Add some protection against bad requests. Also bail if we can't start properly.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3870 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-04-26 23:05:02 +00:00
2826efea56 Fix stats.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3869 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-04-20 23:45:17 +00:00
d802c0023b Added a database exchange operation, and some context when uploading a file.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3865 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-04-14 23:47:06 +00:00
42fcfee042 Some plumbing for local storage for apps.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3864 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-03-27 19:53:02 +00:00
a1d244567a Ugg, modules and CORS??
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3863 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-03-20 01:17:20 +00:00
00bdf1df4a Use proper js modules for apps. Kludge enough things to make things seem to work. Need to apply this to core still.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3862 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-03-18 01:24:29 +00:00
5e0c20e432 Expose shared_database(), which provides access to data that is specific to the app owner and app and can be written for any visitor.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3860 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-03-16 00:23:14 +00:00
b488db9137 Make some attempt to restore some editor/stats/... state using localStorage.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3855 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-03-07 21:06:20 +00:00
cb315c717b Appease some Chrome cookie-related warnings.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3854 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-03-07 18:39:52 +00:00
7c2962afcf Oof. I couldn't have an app with its own style.css.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3852 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-27 21:15:36 +00:00
07a87ff9de Fix editing missing apps.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3850 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-27 02:35:51 +00:00
011038a38a Make the files pane collapsible. This is the limit of my CSS ability.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3848 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-26 22:51:35 +00:00
95f0b91a0e Only send stats to clients if there is a client watching them.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3846 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-26 21:17:15 +00:00
4bb095e81f Got rid of all of the XMLHttpRequests in favor of fetch().
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3842 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-17 02:29:04 +00:00
5e92e2ffe1 Minor HTML tweaks.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3841 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-14 00:28:30 +00:00
a4a0745385 Send prints to the browser console. Obvious in retrospect.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3840 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-13 22:39:22 +00:00
eb191254b0 More use strict. Less Notification.requestPermission().
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3839 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-13 22:06:35 +00:00
e4e763b7a0 Delete some old things from core, mostly.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3838 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-13 22:03:12 +00:00
50bef73200 To calculate an ID, take the utf-8 message, convert it to utf-16, and then throw away the high bytes. Of course.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3834 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-11 02:44:27 +00:00
5b3c7dcecc Oops, this broke everything.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3829 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-06 03:49:47 +00:00
6b20d69976 Tweaking memory stats and trying to figure out why startup got so much slower.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3828 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-06 03:28:29 +00:00
412dce0a47 Fill in some accesskeys and tooltips.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3823 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-05 23:04:04 +00:00
059024452c Add some CPU and memory info to stats.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3820 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-05 17:52:37 +00:00
e85ee5766b Oops, this doesn't exist in Chrome.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3817 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-04 02:32:00 +00:00
91339dc8a7 Add some tooltips.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3816 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-03 23:57:47 +00:00
cd51edcd8f I think this fixes the questionable archaic sequence / author order issue.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3813 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-03 02:00:05 +00:00
a98a848bb7 A crash fix, and try to fill in gaps?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3812 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-02 02:13:38 +00:00
ea92fbdcea Give a filename instead of blob id in errors when possible.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3809 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-30 21:09:32 +00:00
9f75346dd8 Fix jpeg mime type determination.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3808 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-30 20:23:55 +00:00
0278aceb62 Fiddled with saving and loading so that admin users can push and pull to parent apps.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3806 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-30 14:51:09 +00:00
40216377f9 Websocket error messages and misc.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3804 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-29 20:43:19 +00:00
fefb0f92bc Fix login.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3801 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-29 19:05:57 +00:00
d77c452120 Attaching files to posts sort of works. Whew.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3799 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-28 03:11:09 +00:00
9fd4be0e4a Wow, load was slow because websocket sends were slow, because TextEcoder was slow. Do it in C.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3796 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-27 01:15:54 +00:00
7b32067b07 Make the 'apps' app list core apps, and populate apps lists when importing.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3795 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-26 02:49:45 +00:00
4771810d6b Add a link to the stock apps app. Useful.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3792 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-23 21:42:27 +00:00
bd81b2acf5 More bugs.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3785 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-22 20:47:10 +00:00
b2a552b3e0 Needs more work, but several experiments that make things more responsive under load.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3783 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-22 20:13:14 +00:00
0f03701043 Fixed loads of memory leaks and related issues.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3782 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-22 18:50:29 +00:00
d470d6c398 Now one graph per stat.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3781 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-21 03:09:23 +00:00
98de9b037a An attempt at making some live graphs of relevant stats. Needs more thought.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3780 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-21 02:53:15 +00:00
df0bb102dc Kill tasks when their websocket closes. Sigh.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3779 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-21 00:49:03 +00:00
1515525a1b Move data/global/settings.json into the database. Improved some error plumbing along the way.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3775 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-18 02:50:46 +00:00
0b5017b208 Import stock apps into /~core/ at launch. Makes the first time experience vaguely work with only running and clicking in the web interface.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3774 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-17 22:00:42 +00:00
c864041fa0 Fix a handful of errors and warnings I've seen. Gets further running in docker, now.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3773 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-17 21:46:32 +00:00
4637509b3d Enumerate apps without walking all DB keys.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3768 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-15 21:48:04 +00:00
e927ff915b Do some HTTP caching, because we have all of the information to make it easy.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3764 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-15 19:05:59 +00:00
27c2f27708 Show and hide the splitter with the editor so that it doesn't shift the content to the right when the editor is hidden.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3757 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-13 02:18:40 +00:00
9d105bdc1a Remove speedscope. Long live perfetto. Until speedscope supports multiple processes/threads and counters, then I'm totally on board for coming back.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3751 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-11 03:08:21 +00:00
ec9e9151dc Stay on https: through redirects.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3744 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-09 01:36:29 +00:00
ae84f69025 Progress toward viewing user profile pages.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3737 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-07 01:52:47 +00:00
c02a3d3659 Fixed https.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3734 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-05 01:58:12 +00:00
24cf18651a Fixed some error reporting.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3733 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-03 02:25:11 +00:00
df5dfa1539 Hooked up the trace link to perfetto.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3730 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-02 19:10:45 +00:00
5e205ac897 Fix some errors I've seen responding to blobs.get. Especially: handle sending large blobs.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3715 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-12-28 21:48:03 +00:00
2e1e4f90e7 Working toward less aggressive blob and feed fetching.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3710 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-12-28 15:25:04 +00:00
3cddc524d1 Some ebt.replicate success.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3703 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-12-27 19:52:42 +00:00
c616a16993 Still not syncing with the other clients I want but fighting to try to get it.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3701 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-12-22 19:57:34 +00:00
d4f7fdfc40 Make the editor pane resizable.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3700 ed5197a5-7fde-0310-b194-c3ffbd925b24
2021-12-22 15:05:08 +00:00
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