This website requires JavaScript.
d802c0023b
Added a database exchange operation, and some context when uploading a file.
Cory McWilliams
2022-04-14 23:47:06 +00:00
42fcfee042
Some plumbing for local storage for apps.
Cory McWilliams
2022-03-27 19:53:02 +00:00
a1d244567a
Ugg, modules and CORS??
Cory McWilliams
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.
Cory McWilliams
2022-03-18 01:24:29 +00:00
9b2d4b393d
Add a new database exchange function, because get and set aren't atomic enough.
Cory McWilliams
2022-03-16 00:34:45 +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.
Cory McWilliams
2022-03-16 00:23:14 +00:00
352f33f5a1
Add libsodium to the tree and build what's needed from source.
Cory McWilliams
2022-03-08 03:42:47 +00:00
efc5eb2aff
Whoa. There's a leak.
Cory McWilliams
2022-03-08 02:33:32 +00:00
7e9460f47c
Fix one possible but not actually relevant leak around files, and remove an unused value from promises.
Cory McWilliams
2022-03-07 21:57:52 +00:00
41cabad264
libuv 1.44.0
Cory McWilliams
2022-03-07 21:34:07 +00:00
b488db9137
Make some attempt to restore some editor/stats/... state using localStorage.
Cory McWilliams
2022-03-07 21:06:20 +00:00
cb315c717b
Appease some Chrome cookie-related warnings.
Cory McWilliams
2022-03-07 18:39:52 +00:00
3381b588a1
sqlite-amalgamation-3380000.zip
Cory McWilliams
2022-03-07 18:24:54 +00:00
7c2962afcf
Oof. I couldn't have an app with its own style.css.
Cory McWilliams
2022-02-27 21:15:36 +00:00
498a093cde
Some possible leaks?
Cory McWilliams
2022-02-27 19:38:48 +00:00
07a87ff9de
Fix editing missing apps.
Cory McWilliams
2022-02-27 02:35:51 +00:00
c138582638
index => ssb
Cory McWilliams
2022-02-27 02:30:11 +00:00
011038a38a
Make the files pane collapsible. This is the limit of my CSS ability.
Cory McWilliams
2022-02-26 22:51:35 +00:00
1bfa18b8d7
Minor cleanup.
Cory McWilliams
2022-02-26 21:25:40 +00:00
95f0b91a0e
Only send stats to clients if there is a client watching them.
Cory McWilliams
2022-02-26 21:17:15 +00:00
ffaaec5b37
Experiments in updating faster.
Cory McWilliams
2022-02-25 18:52:01 +00:00
ac0482d7f5
Show images inline.
Cory McWilliams
2022-02-25 18:24:48 +00:00
f4b46cc3a0
Blocking and some random attempts to make things faster.
Cory McWilliams
2022-02-21 02:28:53 +00:00
4bb095e81f
Got rid of all of the XMLHttpRequests in favor of fetch().
Cory McWilliams
2022-02-17 02:29:04 +00:00
5e92e2ffe1
Minor HTML tweaks.
Cory McWilliams
2022-02-14 00:28:30 +00:00
a4a0745385
Send prints to the browser console. Obvious in retrospect.
Cory McWilliams
2022-02-13 22:39:22 +00:00
eb191254b0
More use strict. Less Notification.requestPermission().
Cory McWilliams
2022-02-13 22:06:35 +00:00
e4e763b7a0
Delete some old things from core, mostly.
Cory McWilliams
2022-02-13 22:03:12 +00:00
5ffc505ce2
Minor colleted changes.
Cory McWilliams
2022-02-13 21:49:53 +00:00
1bdd67d659
Migration fixes, and make 'check' delete invalid data.
Cory McWilliams
2022-02-12 02:51:43 +00:00
483638a7e6
I guess we support sub-millisecond timestamps. Who knew?
Cory McWilliams
2022-02-12 01:44:11 +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.
Cory McWilliams
2022-02-11 02:44:27 +00:00
d4135f7133
Message IDs are apparently generated from the latin1 encoding of a message. Added a command to check/fix that.
Cory McWilliams
2022-02-10 03:58:33 +00:00
557ae6ee5a
Oops, one more leak fix that was sitting on this machine.
Cory McWilliams
2022-02-08 03:04:57 +00:00
07b4f2b08f
I think I imagined this message size limit.
Cory McWilliams
2022-02-08 02:07:23 +00:00
9a75af8146
Don't add a message until its previous message exists.
Cory McWilliams
2022-02-06 03:51:25 +00:00
5b3c7dcecc
Oops, this broke everything.
Cory McWilliams
2022-02-06 03:49:47 +00:00
6b20d69976
Tweaking memory stats and trying to figure out why startup got so much slower.
Cory McWilliams
2022-02-06 03:28:29 +00:00
fbb61581c6
Messing with layout in the ui.
Cory McWilliams
2022-02-06 01:17:32 +00:00
25d793e9e8
Allow clicking on existing votes.
Cory McWilliams
2022-02-06 01:03:40 +00:00
8f35004a01
Reduce packetstream allocation frequency.
Cory McWilliams
2022-02-06 00:46:34 +00:00
e59eb66c1d
sqlite memory usage, too.
Cory McWilliams
2022-02-05 23:57:15 +00:00
412dce0a47
Fill in some accesskeys and tooltips.
Cory McWilliams
2022-02-05 23:04:04 +00:00
1aa4b0e590
Hook up some stats from the SSB side.
Cory McWilliams
2022-02-05 20:18:58 +00:00
ef9e42e030
malloc and leak fix.
Cory McWilliams
2022-02-05 19:58:22 +00:00
059024452c
Add some CPU and memory info to stats.
Cory McWilliams
2022-02-05 17:52:37 +00:00
39a1acaf38
Unused function.
Cory McWilliams
2022-02-05 17:08:38 +00:00
8ecc07452e
Fix socket leaks.
Cory McWilliams
2022-02-05 17:06:51 +00:00
e85ee5766b
Oops, this doesn't exist in Chrome.
Cory McWilliams
2022-02-04 02:32:00 +00:00
91339dc8a7
Add some tooltips.
Cory McWilliams
2022-02-03 23:57:47 +00:00
7733cb2604
Maybe don't destroy the signature if we're going to try to validate again.
Cory McWilliams
2022-02-03 02:38:05 +00:00
157209e9b5
Debugging a thing.
Cory McWilliams
2022-02-03 02:14:50 +00:00
cd51edcd8f
I think this fixes the questionable archaic sequence / author order issue.
Cory McWilliams
2022-02-03 02:00:05 +00:00
a98a848bb7
A crash fix, and try to fill in gaps?
Cory McWilliams
2022-02-02 02:13:38 +00:00
c57b0a2f2f
Fixed some problems linking messages with their threads in the UI.
Cory McWilliams
2022-02-01 01:47:18 +00:00
bf7d5c34f6
Tooling around with docs. Show timestamps as relative ('3 hours ago').
Cory McWilliams
2022-01-30 21:44:27 +00:00
ea92fbdcea
Give a filename instead of blob id in errors when possible.
Cory McWilliams
2022-01-30 21:09:32 +00:00
9f75346dd8
Fix jpeg mime type determination.
Cory McWilliams
2022-01-30 20:23:55 +00:00
b5111efc29
Oops. Fix votes.
Cory McWilliams
2022-01-30 20:20:19 +00:00
0278aceb62
Fiddled with saving and loading so that admin users can push and pull to parent apps.
Cory McWilliams
2022-01-30 14:51:09 +00:00
ec5d7c1a01
Click to expand images. Long overdue.
Cory McWilliams
2022-01-29 21:14:16 +00:00
40216377f9
Websocket error messages and misc.
Cory McWilliams
2022-01-29 20:43:19 +00:00
d062db2ba8
sqlite-amalgamation-3370200.zip
Cory McWilliams
2022-01-29 20:24:26 +00:00
d3875cf738
Pasting images basically works.
Cory McWilliams
2022-01-29 19:49:01 +00:00
fefb0f92bc
Fix login.
Cory McWilliams
2022-01-29 19:05:57 +00:00
0ddb86b5a8
These indexes weren't helping in practice, so remove them. Avoid some queries during a full refresh to load in maybe 1/3rd the time.
Cory McWilliams
2022-01-29 19:00:44 +00:00
d77c452120
Attaching files to posts sort of works. Whew.
Cory McWilliams
2022-01-28 03:11:09 +00:00
e84ced6f79
Add some useful indexes.
Cory McWilliams
2022-01-27 01:42:48 +00:00
e4d77679dc
Show a breakdown of timing.
Cory McWilliams
2022-01-27 01:17:22 +00:00
9fd4be0e4a
Wow, load was slow because websocket sends were slow, because TextEcoder was slow. Do it in C.
Cory McWilliams
2022-01-27 01:15:54 +00:00
7b32067b07
Make the 'apps' app list core apps, and populate apps lists when importing.
Cory McWilliams
2022-01-26 02:49:45 +00:00
e1167b6854
One more perfetto update. This passed the linter.
Cory McWilliams
2022-01-26 01:51:02 +00:00
25ee0a3561
Trying to sort out connection cleanup.
Cory McWilliams
2022-01-26 01:15:04 +00:00
4771810d6b
Add a link to the stock apps app. Useful.
Cory McWilliams
2022-01-23 21:42:27 +00:00
ae10d3fa6f
Link conversations, too.
Cory McWilliams
2022-01-23 20:49:36 +00:00
ac92b5f8de
Make the client figure out followers rather than going back to the database. Faster loads.
Cory McWilliams
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.
Cory McWilliams
2022-01-23 19:14:43 +00:00
0a580b60b1
Safer?
Cory McWilliams
2022-01-23 12:52:55 +00:00
24116f498f
Null check?
Cory McWilliams
2022-01-22 22:26:39 +00:00
5623cba7c3
Fix a buffer size / disconnect issue.
Cory McWilliams
2022-01-22 21:20:43 +00:00
bd81b2acf5
More bugs.
Cory McWilliams
2022-01-22 20:47:10 +00:00
6c28ca738e
Fixed the makefile conditional.
Cory McWilliams
2022-01-22 20:20:21 +00:00
b2a552b3e0
Needs more work, but several experiments that make things more responsive under load.
Cory McWilliams
2022-01-22 20:13:14 +00:00
0f03701043
Fixed loads of memory leaks and related issues.
Cory McWilliams
2022-01-22 18:50:29 +00:00
d470d6c398
Now one graph per stat.
Cory McWilliams
2022-01-21 03:09:23 +00:00
98de9b037a
An attempt at making some live graphs of relevant stats. Needs more thought.
Cory McWilliams
2022-01-21 02:53:15 +00:00
df0bb102dc
Kill tasks when their websocket closes. Sigh.
Cory McWilliams
2022-01-21 00:49:03 +00:00
1734c88627
Try to fix some connection issues. Urge to rewrite rising.
Cory McWilliams
2022-01-20 04:01:45 +00:00
df94378b96
Actually expire broadcasts.
Cory McWilliams
2022-01-20 03:35:03 +00:00
83fa488b8d
Fix links to user IDs.
Cory McWilliams
2022-01-19 02:37:39 +00:00
1515525a1b
Move data/global/settings.json into the database. Improved some error plumbing along the way.
Cory McWilliams
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.
Cory McWilliams
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.
Cory McWilliams
2022-01-17 21:46:32 +00:00
e9e1a3e80d
Trace libuv's idle time metric.
Cory McWilliams
2022-01-17 01:29:35 +00:00
1ddaa7deb0
Fix a use after free.
Cory McWilliams
2022-01-16 23:44:10 +00:00
cf56078e25
Message previews.
Cory McWilliams
2022-01-15 22:11:05 +00:00
a156cdea9f
Update docs slightly.
Cory McWilliams
2022-01-15 21:58:58 +00:00
4637509b3d
Enumerate apps without walking all DB keys.
Cory McWilliams
2022-01-15 21:48:04 +00:00
1ae9aaf752
Update to commonmark.js 0.30.0.
Cory McWilliams
2022-01-15 21:21:14 +00:00
11cd707382
MIT license this thing.
Cory McWilliams
2022-01-15 21:09:36 +00:00