Commit Graph

1577 Commits

Author SHA1 Message Date
ac92b5f8de Make the client figure out followers rather than going back to the database. Faster loads.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3790 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-23 19:15:18 +00:00
d0c89991be Allow exporting from a non-default db location. I'm running over NFS on this instance.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3789 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-23 19:14:43 +00:00
0a580b60b1 Safer?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3788 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-23 12:52:55 +00:00
24116f498f Null check?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3787 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-22 22:26:39 +00:00
5623cba7c3 Fix a buffer size / disconnect issue.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3786 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-22 21:20:43 +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
6c28ca738e Fixed the makefile conditional.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3784 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-22 20:20:21 +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
1734c88627 Try to fix some connection issues. Urge to rewrite rising.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3778 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-20 04:01:45 +00:00
df94378b96 Actually expire broadcasts.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3777 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-20 03:35:03 +00:00
83fa488b8d Fix links to user IDs.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3776 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-19 02:37:39 +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
e9e1a3e80d Trace libuv's idle time metric.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3772 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-17 01:29:35 +00:00
1ddaa7deb0 Fix a use after free.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3771 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-16 23:44:10 +00:00
cf56078e25 Message previews.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3770 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-15 22:11:05 +00:00
a156cdea9f Update docs slightly.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3769 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-15 21:58:58 +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
1ae9aaf752 Update to commonmark.js 0.30.0.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3767 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-15 21:21:14 +00:00
11cd707382 MIT license this thing.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3766 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-15 21:09:36 +00:00
1807264df5 Merged TODOs into todo app.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3765 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-15 20:04:37 +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
b8068b9ed1 Fix following.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3763 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-15 18:02:05 +00:00
019ab99ecc Trying to better understand import/export leaks. Possibly cleaned up after tasks better, but mostly just tweaked counters.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3762 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-15 17:40:24 +00:00
c40a513876 Mention all sources when sharing an app. I don't entirely know how blobs replicate, and this seems safest.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3761 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-15 01:34:11 +00:00
dbfa9e5623 Show placeholders for missing messages.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3760 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-15 00:29:51 +00:00
5e0304481b Immediately forward any non-post messages to the browser. The thought was to let votes through right away, because there's no harm, and I wanted to see what else makes sense.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3759 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-14 23:55:14 +00:00
0bcc7d8c59 Always fetch the promise JSValue and ID when we allocate one. Make it impossible that we've freed it before we return it. Hopefully fixes leaks. Definitely not worse for performance.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3758 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-14 03:05:37 +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
e1f868730f Tracing these list lengths sometimes dominates performance, so manually keep count for now.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3756 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-13 01:08:17 +00:00
7ba1e6980f Some UI tweaks and some sqlite performance things.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3755 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-13 00:16:27 +00:00
35b7eb511a Support selecting a thread and showing related messages (by a rather brute force search). Sort child messages in the reverse order of top level messages, because that's how we roll.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3754 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-12 02:55:29 +00:00
d51eb64c8e Add a docker file. Runs enough to produce some output but not really tested.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3753 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-11 23:17:18 +00:00
53aac8d23a Fixed a time int overflow issue on raspberry pi.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3752 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-11 03:18:15 +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
873019f054 Binary search exports, too. Is that all the things? This could still be improved, some. And tested.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3750 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-10 01:50:58 +00:00
7f8155613c Tweaked the message UI.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3749 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-09 21:31:05 +00:00
5f96eb18b2 Null check, though how did we get here?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3748 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-09 20:40:56 +00:00
32c7fcbbfa Show load time. Make it faster. Make it easier to instrument.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3747 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-09 20:36:15 +00:00
c28d4d9378 Missing binds.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3746 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-09 19:27:05 +00:00
6af9c17efe Added a primitive like/react menu.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3745 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-09 17:44:46 +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
86aa5e4d1e Better feedback when importing.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3743 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-09 01:32:33 +00:00
26150f98e1 Binary search import records.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3742 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-08 21:56:57 +00:00
bb81fc87b9 Fast path for viewing a single user's feed, and reduce churn in collecting votes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3741 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-01-08 21:12:36 +00:00