Commit Graph

188 Commits

Author SHA1 Message Date
e4c182a6fa Rigged up some UI to show and allow removing permissions that have been granted or denied by the user to an app.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3961 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-08-14 18:24:41 +00:00
8edc9aaa63 Make permissionTest() throw an error on fail. Having to remember to check the value scares me too much.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3960 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-08-14 17:34:27 +00:00
4525ee9cca Make print more of a standard RPC thing.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3959 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-08-14 16:58:26 +00:00
3464f1d189 Took another whack at permissions.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3958 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-08-14 01:46:11 +00:00
d70dba021a Do app -> client communication more like tfrpc so that it's easier to get responses.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3956 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-08-13 18:58:06 +00:00
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