]> git.sesse.net Git - skvidarsync/log
skvidarsync
10 months agoReduce the number of calls to sort_key().
Steinar H. Gunderson [Fri, 10 Nov 2023 23:35:02 +0000 (00:35 +0100)]
Reduce the number of calls to sort_key().

10 months agoMake do with only one commit per sync.
Steinar H. Gunderson [Fri, 10 Nov 2023 22:16:23 +0000 (23:16 +0100)]
Make do with only one commit per sync.

10 months agoAdd timing for the sort key reverse mapping, which is kind of slow.
Steinar H. Gunderson [Fri, 10 Nov 2023 21:51:18 +0000 (22:51 +0100)]
Add timing for the sort key reverse mapping, which is kind of slow.

10 months agoAdd connection keepalive.
Steinar H. Gunderson [Fri, 10 Nov 2023 21:51:00 +0000 (22:51 +0100)]
Add connection keepalive.

10 months agoCache SSL parameters between runs.
Steinar H. Gunderson [Fri, 10 Nov 2023 21:46:05 +0000 (22:46 +0100)]
Cache SSL parameters between runs.

10 months agoAdd a benchmark mode.
Steinar H. Gunderson [Fri, 10 Nov 2023 21:45:41 +0000 (22:45 +0100)]
Add a benchmark mode.

10 months agoSpeed up fuzzy searching on Slack a bit.
Steinar H. Gunderson [Fri, 10 Nov 2023 21:42:34 +0000 (22:42 +0100)]
Speed up fuzzy searching on Slack a bit.

10 months agoCombine the two Sheets API calls into one, to reduce the latency further.
Steinar H. Gunderson [Fri, 10 Nov 2023 17:05:13 +0000 (18:05 +0100)]
Combine the two Sheets API calls into one, to reduce the latency further.

10 months agoCache /properties; it was getting untenably slow for something that nearly never...
Steinar H. Gunderson [Fri, 10 Nov 2023 16:36:36 +0000 (17:36 +0100)]
Cache /properties; it was getting untenably slow for something that nearly never changes.

10 months agoImprove logging of Slack nag messages.
Steinar H. Gunderson [Fri, 10 Nov 2023 16:22:17 +0000 (17:22 +0100)]
Improve logging of Slack nag messages.

10 months agoTell users what group they are part of when they sign up.
Steinar H. Gunderson [Fri, 10 Nov 2023 16:12:51 +0000 (17:12 +0100)]
Tell users what group they are part of when they sign up.

10 months agoStick ws.pl messages on stderr, which is seemingly better for systemd.
Steinar H. Gunderson [Fri, 10 Nov 2023 16:10:41 +0000 (17:10 +0100)]
Stick ws.pl messages on stderr, which is seemingly better for systemd.

10 months agoUse diacritic-ignoring, proper UCA comparison.
Steinar H. Gunderson [Mon, 6 Nov 2023 22:32:39 +0000 (23:32 +0100)]
Use diacritic-ignoring, proper UCA comparison.

10 months agoCommunicate through NOTIFY/LISTEN instead of a file.
Steinar H. Gunderson [Mon, 6 Nov 2023 21:19:40 +0000 (22:19 +0100)]
Communicate through NOTIFY/LISTEN instead of a file.

Less delay, obviously.

10 months agoAdd a WebSocket daemon, hopefully with lower latency than HTTP events.
Steinar H. Gunderson [Mon, 6 Nov 2023 21:03:10 +0000 (22:03 +0100)]
Add a WebSocket daemon, hopefully with lower latency than HTTP events.

10 months agoAllow gzip encoding when querying the Sheets API.
Steinar H. Gunderson [Mon, 6 Nov 2023 17:32:08 +0000 (18:32 +0100)]
Allow gzip encoding when querying the Sheets API.

Doesn't matter all that much (each sheet is 130–150 kB), but is good
as a best practice.

10 months agoSlightly more consistent timing logging.
Steinar H. Gunderson [Sun, 5 Nov 2023 15:34:20 +0000 (16:34 +0100)]
Slightly more consistent timing logging.

10 months agoStore OAuth tokens in the database instead of asking for them for every single sync.
Steinar H. Gunderson [Sun, 5 Nov 2023 14:19:17 +0000 (15:19 +0100)]
Store OAuth tokens in the database instead of asking for them for every single sync.

10 months agoDon't bother updating the Slack mapping sheet if there are no updates.
Steinar H. Gunderson [Fri, 3 Nov 2023 22:44:43 +0000 (23:44 +0100)]
Don't bother updating the Slack mapping sheet if there are no updates.

10 months agoLog timing of each HTTP call.
Steinar H. Gunderson [Fri, 3 Nov 2023 22:21:11 +0000 (23:21 +0100)]
Log timing of each HTTP call.

10 months agoUse an ephemeral message for nagging about the spreadsheet; hopefully more visible...
Steinar H. Gunderson [Wed, 1 Nov 2023 22:30:47 +0000 (23:30 +0100)]
Use an ephemeral message for nagging about the spreadsheet; hopefully more visible, though a bit slow.

10 months agoDetect and log when people move between groups.
Steinar H. Gunderson [Wed, 1 Nov 2023 22:18:02 +0000 (23:18 +0100)]
Detect and log when people move between groups.

10 months agoCorrect cell names for duplicate detection.
Steinar H. Gunderson [Wed, 1 Nov 2023 21:47:23 +0000 (22:47 +0100)]
Correct cell names for duplicate detection.

10 months agoMake a TODO more precise.
Steinar H. Gunderson [Wed, 1 Nov 2023 21:43:55 +0000 (22:43 +0100)]
Make a TODO more precise.

10 months agoFix an issue where someone signed up and then duplicating themselves would cause...
Steinar H. Gunderson [Wed, 1 Nov 2023 21:38:30 +0000 (22:38 +0100)]
Fix an issue where someone signed up and then duplicating themselves would cause a crash.

10 months agoMinor cosmetic fix.
Steinar H. Gunderson [Wed, 1 Nov 2023 08:28:50 +0000 (09:28 +0100)]
Minor cosmetic fix.

10 months agoUpdate TODO about messaging.
Steinar H. Gunderson [Tue, 31 Oct 2023 22:48:41 +0000 (23:48 +0100)]
Update TODO about messaging.

10 months agoAdd timing information to the local console.
Steinar H. Gunderson [Mon, 30 Oct 2023 07:59:42 +0000 (08:59 +0100)]
Add timing information to the local console.

10 months agoIf run with --daemon, start a single run even if there is no marker, because the...
Steinar H. Gunderson [Sun, 29 Oct 2023 23:01:11 +0000 (00:01 +0100)]
If run with --daemon, start a single run even if there is no marker, because the code might have changed.

10 months agoSupport reacting to attend multiple different events, not just yellow.
Steinar H. Gunderson [Sun, 29 Oct 2023 22:49:13 +0000 (23:49 +0100)]
Support reacting to attend multiple different events, not just yellow.

10 months agoFactor out best_name_for_log.
Steinar H. Gunderson [Sun, 29 Oct 2023 22:48:49 +0000 (23:48 +0100)]
Factor out best_name_for_log.

10 months agoFix a very strange off-by-one (why did this only start when we moved from reading...
Steinar H. Gunderson [Sun, 29 Oct 2023 22:37:48 +0000 (23:37 +0100)]
Fix a very strange off-by-one (why did this only start when we moved from reading A9 to A4?)

10 months agoRename $config::oauth_token to $config::slack_oauth_token, for clarity.
Steinar H. Gunderson [Sun, 29 Oct 2023 13:29:26 +0000 (14:29 +0100)]
Rename $config::oauth_token to $config::slack_oauth_token, for clarity.

10 months agoMessage user to ask them about their user ID in the spreadsheet, if we cannot find...
Steinar H. Gunderson [Sun, 29 Oct 2023 13:12:55 +0000 (14:12 +0100)]
Message user to ask them about their user ID in the spreadsheet, if we cannot find them.

10 months agoSpelling fix.
Steinar H. Gunderson [Sat, 28 Oct 2023 22:25:27 +0000 (00:25 +0200)]
Spelling fix.

10 months agoSimplification in event.pl.
Steinar H. Gunderson [Sat, 28 Oct 2023 22:25:11 +0000 (00:25 +0200)]
Simplification in event.pl.

10 months agoUpdate TODO.
Steinar H. Gunderson [Sat, 28 Oct 2023 22:24:26 +0000 (00:24 +0200)]
Update TODO.

10 months agoAdd a blank line.
Steinar H. Gunderson [Sat, 28 Oct 2023 17:50:23 +0000 (19:50 +0200)]
Add a blank line.

10 months agoBetter daemon behavior.
Steinar H. Gunderson [Sat, 28 Oct 2023 17:47:15 +0000 (19:47 +0200)]
Better daemon behavior.

10 months agoSplit out find_diff() into its own function.
Steinar H. Gunderson [Sat, 28 Oct 2023 17:38:45 +0000 (19:38 +0200)]
Split out find_diff() into its own function.

10 months agoSplit out create_reaction_log() into its own function.
Steinar H. Gunderson [Sat, 28 Oct 2023 17:34:40 +0000 (19:34 +0200)]
Split out create_reaction_log() into its own function.

10 months agoRemove an unused hash.
Steinar H. Gunderson [Sat, 28 Oct 2023 17:31:11 +0000 (19:31 +0200)]
Remove an unused hash.

10 months agoFactor out %seen_names computation into a function.
Steinar H. Gunderson [Sat, 28 Oct 2023 17:30:48 +0000 (19:30 +0200)]
Factor out %seen_names computation into a function.

10 months agoFix an issue where one could be deleted from the database even if we were unable...
Steinar H. Gunderson [Sat, 28 Oct 2023 11:56:55 +0000 (13:56 +0200)]
Fix an issue where one could be deleted from the database even if we were unable to delete them from the spreadsheet.

10 months agoUse seen_names for the final location.
Steinar H. Gunderson [Sat, 28 Oct 2023 11:50:13 +0000 (13:50 +0200)]
Use seen_names for the final location.

10 months agoGet more of the sheet, so that we get the headings (will be needed soon).
Steinar H. Gunderson [Sat, 28 Oct 2023 10:56:51 +0000 (12:56 +0200)]
Get more of the sheet, so that we get the headings (will be needed soon).

10 months agoFix so that G4.5 headings are properly ignored.
Steinar H. Gunderson [Fri, 27 Oct 2023 22:19:33 +0000 (00:19 +0200)]
Fix so that G4.5 headings are properly ignored.

10 months agoSmall refactoring.
Steinar H. Gunderson [Fri, 27 Oct 2023 22:02:25 +0000 (00:02 +0200)]
Small refactoring.

10 months agoUpdate TODO.
Steinar H. Gunderson [Fri, 27 Oct 2023 14:33:15 +0000 (16:33 +0200)]
Update TODO.

10 months agoRemove some debugging.
Steinar H. Gunderson [Fri, 27 Oct 2023 14:21:14 +0000 (16:21 +0200)]
Remove some debugging.

10 months agoTweak the recent changes log.
Steinar H. Gunderson [Fri, 27 Oct 2023 14:16:06 +0000 (16:16 +0200)]
Tweak the recent changes log.

10 months agoSupport non-fixed sheets and messages to sync.
Steinar H. Gunderson [Fri, 27 Oct 2023 14:12:57 +0000 (16:12 +0200)]
Support non-fixed sheets and messages to sync.

10 months agoStore messages with dates in them, for future sync/matching.
Steinar H. Gunderson [Fri, 27 Oct 2023 13:30:52 +0000 (15:30 +0200)]
Store messages with dates in them, for future sync/matching.

10 months agoSupport event.pl replaying JSON from stdin.
Steinar H. Gunderson [Fri, 27 Oct 2023 13:19:41 +0000 (15:19 +0200)]
Support event.pl replaying JSON from stdin.

10 months agoRemove the legacy (non-logged) reactions table.
Steinar H. Gunderson [Fri, 27 Oct 2023 13:11:03 +0000 (15:11 +0200)]
Remove the legacy (non-logged) reactions table.

10 months agoAdd SQL schema.
Steinar H. Gunderson [Fri, 27 Oct 2023 13:09:36 +0000 (15:09 +0200)]
Add SQL schema.

10 months agoInitial commit.
Steinar H. Gunderson [Fri, 27 Oct 2023 13:06:35 +0000 (15:06 +0200)]
Initial commit.