Commit Graph

198 Commits

Author SHA1 Message Date
05b389bd3f
Bump Python packages 2023-08-01 16:13:28 +10:00
800f51958d Fix sandboxing
- Allow setting the sandbox in the config file, and document it
- Enable the sandbox in the default Docker config
- Don't assign to a const when trying to set the sandbox flag
2022-05-03 22:56:55 -04:00
8d4bb3d777 Add required gtk+3.0 dependency for Docker
See: https://gitlab.alpinelinux.org/alpine/aports/-/issues/13029
2022-05-03 22:56:06 -04:00
47a29005ff Ignore unix socket files in Docker builds 2022-05-03 22:42:56 -04:00
8d06c5a0ed Update Docker instructions 2022-04-22 19:29:10 -04:00
d9c3b0f01b Auto-login after auto-logout
Instead of only on bridge startup
2022-03-29 02:50:51 -04:00
e02c91c093 Support auto-login 2022-03-29 01:23:31 -04:00
0202dd182a Update supported extension version 2022-03-29 01:07:44 -04:00
77d63837bc Update copyright 2022-03-28 15:00:36 -04:00
b6bf239e27 Fix incorrect command name in help 2021-10-15 00:15:45 -04:00
e4702d9d3e When kicked out of LINE, post last known LINE dialog message 2021-10-14 23:56:33 -04:00
1932bca139 Log to puppeteer from content script 2021-10-14 23:55:38 -04:00
3887b1e296 Reply as soon as email+password credentials are received 2021-10-14 23:54:25 -04:00
2d9805afe5 Disable mouse jiggle heartbeat messages 2021-10-14 20:50:13 -04:00
e4de88fccc Allow disabling chat cycling 2021-10-14 20:49:46 -04:00
dd87cd7366 Update some log messages 2021-10-14 20:48:10 -04:00
bba3f87635 Add missing await
When will I stop forgetting this?...
2021-07-30 02:43:28 -04:00
239b71702e Add missing mention to smartphone LINE 2021-07-30 02:43:22 -04:00
39a691db35 Make bridgebot leave rooms when last member leaves
Most useful for leaving abandoned notice rooms
2021-07-30 01:50:32 -04:00
bc0ee93276 Fix broken login cancellation 2021-07-26 01:40:47 -04:00
d4ab8b90d2 Fix non-interpolated log message 2021-07-24 13:32:44 -04:00
6e7de546cb Clarify that a smartphone version of LINE is required
Only the smartphone version shows the verification code required for the
first login attempt...
2021-07-24 13:31:45 -04:00
c9ec557d1c Fix typo in SETUP.md 2021-07-23 03:28:19 -04:00
d9e015d393 Forbid invalid joins 2021-07-23 02:45:31 -04:00
7ffa83252f Try to prevent duplicate cycle/jiggle timers 2021-07-23 02:32:48 -04:00
ee207ce37b Update SETUP.md 2021-07-22 03:28:23 -04:00
cd75cb0d35 Minor tweaks 2021-07-22 03:26:39 -04:00
a4a3d2862c Implement "bridge.private_chat_portal_meta" 2021-07-22 03:26:12 -04:00
2fd18c7309 Add limit parameter to sync command 2021-07-22 03:25:19 -04:00
3868c19b71 Tighten up puppet DM invites 2021-07-22 03:20:58 -04:00
0dd2cf60b1 List contacts alphabetically 2021-07-22 03:16:20 -04:00
f39781cdcc Sync non-recent groups by joining them 2021-07-21 21:28:12 -04:00
57c448e0c3 Contact syncing and invites
* Add ability to sync all LINE contacts, which is relevant because the
  list of recent chats excludes users you haven't spoken to lately.
* Add bot command to list all contacts.
* Allow inviting a puppet to a DM to create a portal for that LINE user,
  instead of having to wait for that user to message you first.
2021-07-19 04:10:10 -04:00
ce31caa034 Add instructions for systemd and Docker 2021-07-15 03:35:07 -04:00
81553df1c4 Try to fix some errors caused by bad ordering 2021-07-14 03:17:07 -04:00
70c21e528f Merge branch 'systemd' into testing 2021-07-14 02:44:07 -04:00
d5cd9fe8b9 Tweak systemd units
Changes include:
* Remove target unit
* Create and use config directory
* Use directory directly under /opt as home
* Rename suggested user/group
* Restart on failure
* (aside) Rename Node module name after Chrome unit
2021-07-14 02:40:35 -04:00
b7734aa9ba Merge remote-tracking branch 'lecris/systemd' into systemd 2021-07-13 02:38:42 -04:00
be1ec0217c Update Dockerfiles and dependencies
* Update Dockerfiles to work properly
* Use latest available version of Alpine Linux
* Update Puppeteer to 9.1.1 to match Chrome version available in latest
  Alpine Linux
* Add docker script for Node process to allow custom config
* Provide separate example config for running Node in docker

TODO: Update SETUP.md with Docker instructions
2021-07-12 02:27:33 -04:00
570eedf904 Auto-derive the installed LINE extension's UUID 2021-07-08 02:25:30 -04:00
975e9c5369 Wait for open connection on startup 2021-07-07 02:22:12 -04:00
f4bd0ca1c9 Use longer timeout for outgoing messages 2021-07-07 01:25:56 -04:00
20ec4f92fa Update roadmap 2021-07-07 01:24:22 -04:00
e0f21ed824 Don't error on member leave if puppet left already 2021-07-05 18:51:29 -04:00
9e739e9908 Track LINE user joins and leaves
Also try to improve accuracy of message dates, and matching user names
to their proper ID & avatar
2021-07-05 02:37:14 -04:00
9f0d239f4e Fix some docstrings 2021-07-05 01:25:51 -04:00
09cea5b43c Make puppets leave instead of kicking them 2021-07-03 18:24:09 -04:00
c4be4d79ed Proper usage of asyncio exceptions
They belong to the asyncio package, not asyncio.exceptions.
Also remove an unused Tuple import
2021-07-03 12:49:21 -04:00
0672d41431 Update participants in DMs again
Needed to kick own puppet when double-puppeting is re-enabled
2021-07-03 12:43:34 -04:00
120e4e11f7 Lower minimum required Python version to 3.7
Just use Dict instead of TypedDict
2021-07-03 03:11:15 -04:00