Commit Graph

1178 Commits

Author SHA1 Message Date
5e72b111d9 Refresh the JWT on websocket connect.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3993 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-10-05 01:20:47 +00:00
3cdfc7af2b Make the auth tokens last longer.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3992 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-10-02 00:11:57 +00:00
113a82b382 Make auth use JWTs.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3991 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-28 23:52:44 +00:00
5b3ae3f006 Attempt to clean up promises owned by subtasks that have gone away.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3990 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-27 23:01:59 +00:00
c0ecdaae12 Experimenting with ordering. Handful of small fixes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3989 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-25 12:33:54 +00:00
828f61c4e9 Warnings.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3988 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-24 21:13:14 +00:00
775f00c69c Build fixes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3987 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-24 21:10:23 +00:00
eadda41518 Use libbacktrace to generate better leak callstacks.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3986 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-24 20:54:54 +00:00
8279ec5e9e Debug features for leaked promises. And then chased down some subsequent use after free issues.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3985 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-22 00:38:26 +00:00
ab1f47ee9a Did some routing for the search tab.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3984 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-15 00:16:37 +00:00
d216d96144 Expandable image mentions. Do a faster fts validation at startup. Hide the news test button.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3983 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-14 23:49:25 +00:00
88592886ca Accrued fixes, most recently making an effort to show all mentions.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3982 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-14 23:33:57 +00:00
7077e69bf7 Fix caching for all of the requests. The free wifi I get at Bacchus from Angela's Bridal isn't great.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3981 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-14 23:18:55 +00:00
f983c3d987 Trying to organize ssblit better.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3980 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-11 17:42:41 +00:00
26691051a5 Fix more error plumbing.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3979 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-11 01:56:29 +00:00
fe33903e2e Proof of concept full text search.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3978 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-10 18:23:58 +00:00
6ea6ae2322 Oof. That's needed for json_each.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3977 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-10 18:09:10 +00:00
bb0a840dc6 Expose fts5.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3976 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-10 17:56:54 +00:00
52f5bb408f I think this added following and blocking.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3975 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-10 02:56:15 +00:00
ee1e1b11af sqlite-amalgamation-3390300.zip
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3974 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-10 01:51:32 +00:00
56db6a8e4d Fix exciting new gcc 11 compiler warnings.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3973 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-10 01:42:15 +00:00
3b676d967e Add ssblit to version control. It's coming along too well to risk losing it.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3972 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-06 23:26:43 +00:00
97b7643049 Propagate better sqlite errors.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3971 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-04 01:58:11 +00:00
c3fb80a1c8 Allow enough things for json_each to work.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3970 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-04 01:36:55 +00:00
7c29c1e18e Fix some of the error handling.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3969 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-09-04 01:25:16 +00:00
4c0dc6ad04 Tried to take a few pointers from https://tech.davis-hansson.com/p/make/.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3968 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-08-21 17:17:23 +00:00
6cfe0ca4fb Slight emoji picker improvements, and fix a problem with showing doubled votes. Though this revealed that loading needs serious work.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3967 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-08-18 00:23:56 +00:00
46d3e8f567 Exposing setting the index page in the admin app and added a crude emoji picker, finally.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3966 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-08-17 00:29:57 +00:00
3729346961 I decrypted a private message.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3965 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-08-16 02:38:25 +00:00
357d944a8d Show local identities in the ssb app.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3964 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-08-15 02:23:45 +00:00
69991abbb4 Append SSB messages by RPC so that we know if it succeeded.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3963 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-08-14 19:14:13 +00:00
0518c5dd21 This is not a test.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3962 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-08-14 18:25:05 +00:00
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
fc9c3982c2 Fix some obvious things now that the RPC is slightly better.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3957 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-08-13 19:39:29 +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
eca3696740 A weak attempt at reducing docker image size.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3951 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-08-04 01:15:39 +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
6628a5c420 What's the point of creating an identity if you don't return it?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3948 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-08-03 23:52:13 +00:00
1973030774 Some selection-related fixes. There are still bugs.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3947 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-08-03 23:39:23 +00:00
787e439524 Work in progress making the account picker actually work.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3946 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-08-03 23:26:41 +00:00
fab2c17b43 Remove the administrator requirement and allow creating new SSB accounts.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3945 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-07-31 20:32:48 +00:00
1775fdd6b5 Also unnecessary. Whoops.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3944 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-07-31 20:04:58 +00:00