Commit graph

218 commits

Author SHA1 Message Date
Andrew Morgan
62111f0ca6 Add a SETUP.md file with setup instructions, and link to it from the README 2020-10-05 15:32:57 +01:00
Hofer Julian
36cf756f04
Remove unneeded key_upload (#16)
It is automatically called by `sync_forever()`.
See https://matrix-nio.readthedocs.io/en/latest/nio.html?highlight=keys_upload#nio.AsyncClient.keys_upload
2020-08-27 11:36:30 +01:00
8go
8c0ec5f759
built-with-matrix-nio badge + permit aliases (#15)
* added built-with-matrix-nio badge to README

* permit aliases

- using room.is_group is not ideal to determine if a room is a DM
- if a room alias is created for a DM, the existing code will break
- changing to check for room.member_count seems to be more appropriate
- new code also works on DMs that have aliases

* moving badge next to existing badge

* Update my_project_name/callbacks.py

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2020-08-24 11:39:50 +01:00
Andrew Morgan
98e1262b16 Merge branch 'anoa/docker_docs' into master
* anoa/docker_docs:
  Improve docker documentation
2020-08-16 17:01:49 +01:00
Andrew Morgan
fd62cd106e Improve docker documentation 2020-08-16 17:01:44 +01:00
Andrew Morgan
b8c41a5377 lint 2020-08-16 17:00:55 +01:00
Andrew Morgan
2f81ebc8ce Fix docker setup 2020-08-16 17:00:38 +01:00
Andrew Morgan
155f81ca44 Print why startup script was unsuccessful 2020-08-16 17:00:23 +01:00
Andrew Morgan
95aa7943c1 Fix store and database config option names 2020-08-16 16:17:57 +01:00
Andrew Morgan
ec25fead72 Add support for postgres as a db backend 2020-08-16 15:51:59 +01:00
Andrew Morgan
dc3b83694b Fix matrix room link in README 2020-08-16 15:14:55 +01:00
Andrew Morgan
63a5fc7b64 Fix discrepencies in CONTRIBUTING.md 2020-08-12 23:19:10 -07:00
Andrew Morgan
d5b580e4c8 Merge branch 'anoa/docker'
* anoa/docker:
  Add CONTRIBUTING doc
  Docker development and run support
2020-08-12 18:40:25 -07:00
Andrew Morgan
371a212005 Add CONTRIBUTING doc 2020-08-11 17:38:25 -07:00
Andrew Morgan
049925642e Fix some lingering matrix-reminder-bot refs 2020-08-11 17:37:54 -07:00
Andrew Morgan
ba9be7a0f9 Docker development and run support 2020-08-11 17:37:23 -07:00
Andrew Morgan
af22f00868 Lint and add lint.sh dev script 2020-08-09 15:02:07 -07:00
Andrew Morgan
5b0c3dead3 README grammar 2020-08-09 14:34:39 -07:00
Andrew Morgan
c14b158326 Update README to match module style 2020-08-09 14:33:57 -07:00
Andrew Morgan
8af9655620 Switch from requirements.txt to setup.py 2020-08-09 14:33:57 -07:00
Andrew Morgan
ad0174e186 Add module egg dir to gitignore 2020-08-09 14:33:57 -07:00
Andrew Morgan
232258e8a0 Move files under module dir 2020-08-09 14:33:57 -07:00
Andrew Morgan
ecf74c50b8 Add matrix room icon to top of readme 2020-08-06 13:23:02 -07:00
Andrew Morgan
fde871b1f0 Add hopeless bot to the projects using nio-template 2020-08-06 13:18:24 -07:00
alturiak
49c617f74a
Add default store-path to .gitignore (#12)
thanks to @Markus-Be
2020-08-03 23:26:03 +01:00
alturiak
b2bbad312c
Add alturiak/nio-smith to projects (#9) 2020-07-03 23:43:02 +01:00
Andrew Morgan
bfe8284c9b Add drawing-challenge-bot to the list of projects 2020-06-28 17:05:34 +01:00
Andrew Morgan
6564e8d3f0 Merge branch 'master' of github.com:anoadragon453/nio-template
* 'master' of github.com:anoadragon453/nio-template:
  Encryption support is required
  Add matrix-reminder-bot to projects list
  Allow specifying a different config file location
2020-06-23 02:11:41 +01:00
Andrew Morgan
606d797cc0 Improve room join error handling 2020-06-23 02:11:31 +01:00
Andrew Morgan
a49c789251 Encryption support is required 2020-05-31 20:57:26 +01:00
Andrew Morgan
7d96c4731e Add matrix-reminder-bot to projects list 2020-05-31 20:46:30 +01:00
Andrew Morgan
40ba7e54b6 Allow specifying a different config file location 2020-05-31 20:20:54 +01:00
Andrew Morgan
22c5b46af0 Use InviteMemberEvent instead of InviteEvent.
InviteMemberEvent is for when you're invited, whereas the latter is when
there is an event in a room you're invited to, which has false
positives.
2020-05-05 00:12:21 +01:00
Andrew Morgan
2700cfcd7b Add missing return 2020-04-06 21:44:15 +01:00
Andrew Morgan
6b7224a61e Fix encryption toggling 2020-02-24 23:56:09 +00:00
Andrew Morgan
cb95ae83c6 Remove mention of access token from README 2020-02-24 22:31:03 +00:00
Andrew Morgan
cbf5545bba Update docs and remove sync_token.py 2020-02-24 22:29:24 +00:00
Andrew Morgan
1eacb2926e Optional encryption support 2020-02-24 22:26:59 +00:00
Andrew Morgan
f40373837c Remove debugging 2020-02-23 23:51:24 +00:00
Andrew Morgan
1f21e5838f Merge branch 'master' of github.com:anoadragon453/nio-template
* 'master' of github.com:anoadragon453/nio-template:
  Add TheForcer/vision-nio to README
2020-02-23 23:17:39 +00:00
Andrew Morgan
c8846da599 Helper method for loading config file options 2020-02-23 23:17:25 +00:00
Andrew Morgan
70d53a5abe Add TheForcer/vision-nio to README 2019-11-13 13:36:01 +00:00
Andrew Morgan
aebca89c04 Re-add full_state=True 2019-11-07 23:32:34 +00:00
Andrew Morgan
f5135aa30a Fix missing await and argument 2019-11-07 23:31:18 +00:00
Andrew Morgan
890859b022 Set full_state to False 2019-11-07 23:04:14 +00:00
Andrew Morgan
9dc5f8f8a9
Merge pull request #1 from babolivier/patch-1 2019-11-07 14:40:34 +00:00
Brendan Abolivier
51469ae709
Update config.py
Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2019-11-07 14:37:31 +00:00
Brendan Abolivier
1ba710fd7b
Update config.py
Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2019-11-07 14:37:25 +00:00
Brendan Abolivier
20f576ba9b
Fix typo 2019-11-07 13:33:43 +00:00
Brendan Abolivier
2ea2448585
Remove the default value for device_id
nio doesn't need a device_id unless E2EE is used, so the correct behaviour should be to default it to `None` and, if it's missing, warn the user of what might happen.
2019-11-07 13:32:35 +00:00