Commit Graph

1604 Commits

Author SHA1 Message Date
804359d12e Made sure that SQL errors make it to the client.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3867 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-04-18 00:24:00 +00:00
11ad344e52 Made it possible to set a profile photo. Not well tested.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3866 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-04-14 23:47:41 +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
9b2d4b393d Add a new database exchange function, because get and set aren't atomic enough.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3861 ed5197a5-7fde-0310-b194-c3ffbd925b24
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.
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
352f33f5a1 Add libsodium to the tree and build what's needed from source.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3859 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-03-08 03:42:47 +00:00
efc5eb2aff Whoa. There's a leak.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3858 ed5197a5-7fde-0310-b194-c3ffbd925b24
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.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3857 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-03-07 21:57:52 +00:00
41cabad264 libuv 1.44.0
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3856 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-03-07 21:34:07 +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
3381b588a1 sqlite-amalgamation-3380000.zip
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3853 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-03-07 18:24:54 +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
498a093cde Some possible leaks?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3851 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-27 19:38:48 +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
c138582638 index => ssb
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3849 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-27 02:30:11 +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
1bfa18b8d7 Minor cleanup.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3847 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-26 21:25:40 +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
ffaaec5b37 Experiments in updating faster.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3845 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-25 18:52:01 +00:00
ac0482d7f5 Show images inline.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3844 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-25 18:24:48 +00:00
f4b46cc3a0 Blocking and some random attempts to make things faster.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3843 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-21 02:28:53 +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
5ffc505ce2 Minor colleted changes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3837 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-13 21:49:53 +00:00
1bdd67d659 Migration fixes, and make 'check' delete invalid data.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3836 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-12 02:51:43 +00:00
483638a7e6 I guess we support sub-millisecond timestamps. Who knew?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3835 ed5197a5-7fde-0310-b194-c3ffbd925b24
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.
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
d4135f7133 Message IDs are apparently generated from the latin1 encoding of a message. Added a command to check/fix that.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3833 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-10 03:58:33 +00:00
557ae6ee5a Oops, one more leak fix that was sitting on this machine.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3832 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-08 03:04:57 +00:00
07b4f2b08f I think I imagined this message size limit.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3831 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-08 02:07:23 +00:00
9a75af8146 Don't add a message until its previous message exists.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3830 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-06 03:51:25 +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
fbb61581c6 Messing with layout in the ui.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3827 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-06 01:17:32 +00:00
25d793e9e8 Allow clicking on existing votes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3826 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-06 01:03:40 +00:00
8f35004a01 Reduce packetstream allocation frequency.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3825 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-06 00:46:34 +00:00
e59eb66c1d sqlite memory usage, too.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3824 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-05 23:57:15 +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
1aa4b0e590 Hook up some stats from the SSB side.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3822 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-05 20:18:58 +00:00
ef9e42e030 malloc and leak fix.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3821 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-05 19:58:22 +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
39a1acaf38 Unused function.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3819 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-05 17:08:38 +00:00
8ecc07452e Fix socket leaks.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3818 ed5197a5-7fde-0310-b194-c3ffbd925b24
2022-02-05 17:06:51 +00:00