Commit graph

222 commits

Author SHA1 Message Date
Brian Martin
4080f0f950 More confserver tests
More confserver tests, coverage 75%
2019-03-17 11:02:53 -04:00
Brian Martin
5392bef74f Additional tests for confserver
Additional tests for confserver
2019-03-15 09:05:54 -04:00
Brian Martin
747eeda4a5 Start adding tests for confserver
Start adding tests for confserver
2019-03-14 09:35:37 -04:00
Brian Martin
616729e97f full coverage for init
full coverage for init
- 100% coverage of db operations
2019-03-13 21:07:29 -04:00
Brian Martin
9580687aea
Merge pull request #15 from bmartin5692/tests
first test
2019-03-11 23:18:42 -04:00
Brian Martin
4d4f0f4e40
Merge branch 'master' into tests 2019-03-11 23:18:23 -04:00
Brian Martin
98b65bb808 first test
first test
2019-03-11 23:14:50 -04:00
Brian Martin
1f16249f28
Merge pull request #14 from bmartin5692/dev
update pyyaml to address vulnerability
2019-03-11 21:48:00 -04:00
Brian Martin
34136f4fbf update pyyaml to address vulnerability
update pyyaml to address vulnerability
2019-03-11 21:47:12 -04:00
Brian Martin
d7e73d7621
Merge pull request #13 from bmartin5692/dev
update gitignore and reformat files with black
2019-03-11 21:34:08 -04:00
Brian Martin
af3e4ab1ce reformat files with black
reformat files with black
2019-03-11 21:32:55 -04:00
Brian Martin
028399c496 Update gitignore, pipfile
Update gitignore, pipfile
2019-03-11 21:25:05 -04:00
Brian Martin
6e6f664857
Merge pull request #12 from bmartin5692/add-code-of-conduct-1
Create CODE_OF_CONDUCT.md
2019-03-11 21:12:28 -04:00
Brian Martin
ae21ed16ca
Create CODE_OF_CONDUCT.md 2019-03-11 21:12:15 -04:00
Brian Martin
2e59568744
Update issue templates 2019-03-11 21:10:27 -04:00
Brian Martin
5869b423d3
Merge pull request #11 from bmartin5692/tinydb
Tinydb added
2019-03-11 21:05:17 -04:00
Brian Martin
d6e853158c Fix revoke expired and remove disconnected
Fix revoke expired and remove disconnected
2019-03-11 21:01:47 -04:00
Brian Martin
09e41cbc6e Move tokens to new table
Move tokens to new table
- Authcode linked to token
2019-03-11 10:34:15 -04:00
Brian Martin
6994f5ae5e Remove old tokens and authcodes
Remove old tokens and authcodes
2019-03-09 10:45:45 -05:00
Brian Martin
8806e804f0 Updated confserver
Updated confserver to use tinydb and set users, tokens, authcodes
2019-03-03 10:28:52 -05:00
Brian Martin
a4fec85717 WIP: Bot and Client
- Using tinydb
- Bot and clients tracked in db
2019-03-02 16:33:56 -05:00
Brian Martin
6da029af6b
Merge pull request #9 from bmartin5692/Ozmo930
Ozmo930
2019-02-27 09:10:14 -05:00
Brian Martin
0f48d37103 Add Ozmo to README 2019-02-27 09:07:02 -05:00
Brian Martin
a7ce14eb9c additional optimizations and permission handling
Optimizations for handling XMPP data and commands

Basic permission handling - Add fuid users to bot
- Ozmo has ACLs and an "owner", if bot comes from eco to bumper the fuid_user won't have permissions
- Bumper will add the fuid_ user to bot ACLs and grant full
  - This can be used later when bumper adds proper auth to allow/block users
2019-02-27 09:05:23 -05:00
Brian Martin
af29f69a99 optimize data
increase buffer and split <iq earlier
2019-02-24 21:48:37 -05:00
Brian Martin
3ec51e754e ozmo working
app works
- changed a number of things on XMPP side to support
2019-02-24 21:18:58 -05:00
Brian Martin
e97b28a5c8 ozmo xmpp authentication
ozmo auths and shows up in the app
2019-02-24 02:29:40 -05:00
Brian Martin
95b4b05633
Merge pull request #4 from bmartin5692/dev
Beginning bumper's new journey
2019-02-22 08:34:24 -05:00
Brian Martin
7c40df4c27
Update README.md 2019-02-22 08:32:03 -05:00
Brian Martin
e7e41ed56b add black and format 2019-02-22 00:09:19 -05:00
Brian Martin
6cd079ac81
Merge pull request #2 from bmartin5692/D901
D901
2019-02-21 23:37:43 -05:00
Brian Martin
3c9669c7e3 bind
add bind text
2019-02-21 23:31:21 -05:00
Brian Martin
e17a0cb30b cleaning up formatting
cleaning up formatting
2019-02-20 21:17:35 -05:00
Brian Martin
0a5d93b099 update auth mechanisms
use_auth allows the newer auth mechanisms to be optional
changes and fixes to support
TODO: need to get a bot that would connect on XMPP or get sniffed traffic to see the login details
2019-02-20 02:53:49 -05:00
Brian Martin
d316862120 Handle connected states 2019-02-20 00:00:06 -05:00
Brian Martin
3e88b0bfb1 add api error codes
add api error codes
2019-02-17 13:49:05 -05:00
Brian Martin
716a067be8 auth for mqtt and rename bot
Add auth for mqtt and rename bot
2019-02-17 11:01:38 -05:00
Brian Martin
54325fbe29 add basic auth
Add a very basic authentication and user system
2019-02-16 23:37:54 -05:00
Brian Martin
acbcb8707a Revamp xmpp and rearranging code
Rework XMPP to support iq and sasl auth
Organize and rework the run code
Support for threading
2019-02-15 23:12:33 -05:00
Brian Martin
a1b1b1a23b Manageable logging
Manageable logging
2019-02-06 10:42:50 -05:00
Brian Martin
5ff859a5ce Update README.md 2019-02-06 00:38:51 -05:00
Brian Martin
eb4cb2b996 Try except
Try except
2019-02-05 22:08:51 -05:00
Brian Martin
8e1ba3a475 Fix for Android app
Fix for Android app
Android and iOS are sending requests to usersapi differently, this handles both gracefully
2019-02-05 10:36:37 -05:00
Brian Martin
da286b7fa9 Update doc for crt
Update doc for crt
2019-02-05 09:50:36 -05:00
Brian Martin
13c2e07dd7 Add der ca and update docs
Add der ca and update docs
2019-02-05 09:42:16 -05:00
Brian Martin
3d572f61f3 doc update
doc update
2019-02-05 09:15:37 -05:00
Brian Martin
3a7d6545e5 Update README.md 2019-02-05 09:00:23 -05:00
Brian Martin
79acf430d9 Updating docs
Updating docs
2019-02-05 08:59:38 -05:00
Brian Martin
29689b3469 Update README.md 2019-02-05 08:45:21 -05:00
Brian Martin
53d747238f Update README.md 2019-02-05 08:43:43 -05:00