254 Commits

Author SHA1 Message Date
Brett Costabile
c81b676553 remove_user_from_group
Mirrored changes from add_user_from_group() remove_user_from_group()
2015-11-02 00:14:58 -05:00
Brett Costabile
6abd62960f Small error
If statement with bad syntax
2015-11-01 23:50:26 -05:00
Brett Costabile
7039cffddb Fixing Server Admin assignment
Changed _add_user_to_group() to take group ID instead of group name.
addgroups and remgroups are now lists instead of dictionaries because I
don't need the group names anymore.
Removed debug logging from _add_user_to_group() and send_command()
2015-11-01 23:40:34 -05:00
Brett Costabile
478d855d62 Logging
It looks like the escaping is fine, but there's two "Server Admin"
groups (id3 and id6) which might be messing with the assignment.
2015-11-01 18:19:56 -05:00
Brett Costabile
621de341a8 Logging
I think the issue may be with escaping the whitespace in group names. If
this is the case, I'll have to tweak the code in ts3.py
2015-11-01 18:06:35 -05:00
Brett Costabile
2eb0bd5221 More indentation
Notepad++ was configured to use tabs instead of spaces. That shouldn't
happen anymore.
2015-11-01 17:53:10 -05:00
Brett Costabile
ee3fe5e43e More logging
Added more debug logging to figure out why Server Admin never gets
assigned.
2015-11-01 17:49:53 -05:00
Brett Costabile
df659c4851 Copypaste error
user_ts_group_key should have been ts_group_key
2015-11-01 17:34:01 -05:00
Brett Costabile
94ef8ce694 Indentation
I broke it. Now it's fixed.
2015-11-01 17:32:08 -05:00
Brett Costabile
cddd2b91e4 changed group key type
Why did I even think long was a good idea?
2015-11-01 17:28:41 -05:00
Brett Costabile
2bfbd614e6 Adjusted logging
Changed logging to make a little more sense during debugging
2015-11-01 17:27:04 -05:00
Brett Costabile
0c4694d123 Moved TS3 group update
The group update was being called once for every group the user was in,
but the update function itself already iterates over all the groups and
only needs to be called once per user.
I've moved the execution out of the group iteration so it only gets
called once.
2015-11-01 17:11:40 -05:00
Brett Costabile
b76bc2729c More random changes
Super disorganized here. Trying to get back to a working state
2015-11-01 16:41:16 -05:00
Brett Costabile
c86ba4990d Lots of changes, not tested
Pushing latest changes to run them by a few folks.
2015-05-28 01:23:45 -04:00
Brett Costabile
423e0ad161 Added function to sync TS3 groups 2015-05-26 01:22:42 -04:00
Brett Costabile
9d884c0a2c More format corrections
I forgot to adjust the class names in admin.py after changing the first
characters to caps.
There was also a little shuffling of code to make the definitions work.
2015-05-24 15:32:43 -04:00
Brett Costabile
1fcd47f333 Small format error
Classes should start with a Capitol letter
2015-05-23 17:13:22 -04:00
Brett Costabile
e1c3750f3a And models
Messed up last commit. This one actually includes models.py
2015-05-23 17:03:35 -04:00
Brett Costabile
2d85fb84ed Added TS3 group models and admin 2015-05-23 17:00:56 -04:00
kaezon
0e2540eb4f Initial commit with the alliance BG image, modified index page, and corrected password reset URL. 2015-05-20 01:36:26 +02:00
Raynaldo Rivera
e8181a23d7 Merge pull request #56 from tehfiend/patch-1
Fixed typos.
2015-02-22 12:40:47 -07:00
tehfiend
22a263ad4d Fixed typo. 2015-02-08 23:00:42 -07:00
tehfiend
17baf97f76 Fixed typo. 2015-02-08 22:59:15 -07:00
Raynaldo Rivera
1fb0397e3c Merge pull request #55 from tyler274/HRapplication_error
Fix for hr_application bug
2015-01-30 19:49:59 -07:00
Tyler274
9d295edbf7 no message 2015-01-30 21:49:11 -05:00
Tyler274
e615239620 Revert "Fix for hr_application bug"
This reverts commit b19c81a1cba48057a5dccab632091a015fc56ffb.
2015-01-30 21:47:19 -05:00
Tyler274
b19c81a1cb Fix for hr_application bug 2015-01-29 00:05:05 -05:00
Raynaldo Rivera
1ab216383a Merge pull request #32 from orbitroom/master
Added fleet Fittings Page
2015-01-14 14:01:41 -07:00
Raynaldo Rivera
051e340640 Merge pull request #49 from TrentBartlem/master
Adjust vagrant scripts; enable env variable override
2015-01-14 13:57:40 -07:00
Raynaldo Rivera
9f9a1f7369 Merge pull request #45 from tyler274/ThreadCleanupAndDate
Cleanup the threading, its a method in openfiremanager now to spawn a th...
2015-01-13 01:45:01 -07:00
Trent Bartlem
60f37439ef Merge branch 'master' of https://github.com/TrentBartlem/allianceauth 2015-01-11 10:53:49 +10:00
Trent Bartlem
a7700ffab3 Added environment variable overrides 2015-01-11 10:53:45 +10:00
Trent Bartlem
9d5c39caeb updated to match new services 2015-01-11 10:53:22 +10:00
Trent Bartlem
69b5fe42fd Added environment variable overrides 2015-01-11 10:52:34 +10:00
orbitroom
cd8de6d19e Update fleetfits.html.example 2015-01-08 17:59:27 -05:00
orbitroom
c9459a2b83 Changed formatting for in game browser
changed the break code syntax to allow for in game browser compatability
2015-01-08 08:22:22 -05:00
orbitroom
ead7e0d0b2 Added Better Examples
Added better Examples and changed the file extension so it will not overwrite the current fits.
2015-01-08 07:59:59 -05:00
orbitroom
71dc322545 Rename fleetfits.html to fleetfits.html.example 2015-01-08 07:58:11 -05:00
orbitroom
f523c2e52a Merge pull request #3 from R4stl1n/master
pull
2015-01-08 07:56:44 -05:00
Tyler274
e386586fd0 Cleanup the threading, its a method in openfiremanager now to spawn a threaded broadcast.
Also added date to the broadcast.
2015-01-07 15:19:51 -05:00
Raynaldo Rivera
d74ff5fc91 Merge pull request #44 from tyler274/patch-1
Fix typo
2015-01-07 12:38:29 -07:00
tyler274
90962c21e6 Fix typo 2015-01-07 14:37:30 -05:00
Raynaldo Rivera
52ce9dcd7c Merge pull request #43 from tyler274/broadcastThread
Attempt to solve the blocking problem when broadcasting to a large group...
2015-01-07 12:12:33 -07:00
Tyler274
fade178964 Attempt to solve the blocking problem when broadcasting to a large group by running the broadcast on its own thread.
Tested on my server and appeared to solve it, more intensive testing may be needed.
2015-01-07 14:05:52 -05:00
Trent Bartlem
97e2f1c09c updated to match new services 2015-01-04 23:59:18 +10:00
orbitroom
f56abac54f Merge pull request #2 from R4stl1n/master
update for services managers
2015-01-01 03:11:13 -05:00
Raynaldo Rivera
2c7ed9e9c3 Merge pull request #41 from TrentBartlem/master
Update mumble_manager.py
2014-12-31 13:45:21 -07:00
Raynaldo Rivera
0f508f3a1d Merge pull request #40 from TrentBartlem/patch-1
Update teamspeak3_manager.py
2014-12-31 13:45:10 -07:00
Trent Bartlem
fc84781db5 Update mumble_manager.py
Sanitise the whole thing, not just username.
2014-12-31 23:17:50 +10:00
Trent Bartlem
8729f5b838 Update teamspeak3_manager.py
Sanitise both username and corp ticker at the same time.
2014-12-31 23:06:08 +10:00