heinrich5991
e707749fac
Add a tool to hash new passwords or to update config files
...
Usage:
```
$ python scripts/hash_passwords.py --new username admin password
auth_add_p username admin 9415aef5cc5043800377584cff32b90c 26fd308aad6b04f2
```
```
$ python scripts/hash_passwords.py autoexec.cfg
```
updates all instances of `auth_add` to `auth_add_p`.
```
$ python scripts/hash_passwords.py autoexec.cfg \
--new user1 admin password1 \
--new user2 admin password2
```
updates all instances of `auth_add` to `auth_add_p` and adds two new
users.
On Windows, you should be able to drag-and-drop your config file onto
this script and have it automatically updated (not tested).
2017-03-09 12:48:06 +01:00
Learath2
acd8bc1fe0
Merge pull request #656 from heinrich5991/pr_ddnet_cmake_check_fortify_source
...
CMakeLists.txt: Check for _FORTIFY_SOURCE before defining it
2017-03-07 17:04:44 +01:00
heinrich5991
fad7989243
CMakeLists.txt: Check for _FORTIFY_SOURCE before defining it
2017-03-07 16:47:27 +01:00
Dennis Felsing
3c22a3279e
Merge pull request #655 from heinrich5991/pr_ddnet_cmake_even_more
...
Enhance CMakeLists.txt
2017-03-07 16:02:43 +01:00
heinrich5991
51b4a793b8
CMakeLists.txt: Add icon to DDNet executable on Windows
2017-03-07 15:32:11 +01:00
heinrich5991
a6983d329c
CMakeLists.txt: Copy over data files and DLLs
2017-03-07 15:24:08 +01:00
heinrich5991
4389737288
CMakeLists.txt: Handle the static library case on Linux
2017-03-07 13:39:23 +01:00
heinrich5991
d98abf35db
Rename WEBSOCKETS
to CONF_WEBSOCKETS
2017-03-07 13:03:37 +01:00
heinrich5991
c201d7959c
Enable -Wdeclaration-after-statement for compat with MSVC
2017-03-07 13:02:37 +01:00
Dennis Felsing
97bd89d1dc
Merge pull request #645 from heinrich5991/pr_ddnet_line_ending
...
Fix a line ending in autoexec_server.cfg
2017-03-06 22:44:16 +01:00
Dennis Felsing
b04c7c0f43
Merge pull request #644 from heinrich5991/pr_ddnet_cmake_more
...
Extend CMakeLists.txt
2017-03-06 22:36:47 +01:00
heinrich5991
5b63a33095
Merge pull request #639 from Learath2/dd_pr_rconauth2
...
New auth system for rcon.
2017-03-06 20:57:42 +01:00
Dennis Felsing
28113c6a6e
Merge pull request #654 from heinrich5991/pr_ddnet_fixdummyreset
...
Fix dummy input reset
2017-03-06 20:31:52 +01:00
heinrich5991
6302e4d7e0
Fix some style issues and a > to >=
2017-03-06 20:11:23 +01:00
heinrich5991
e08ca70b1f
Fix dummy input reset
2017-03-06 19:45:39 +01:00
heinrich5991
8e7e2be54a
Merge pull request #653 from Learath2/dd_pr_binds
...
Remove dump_binds. Let bind_print dump all. Fixes #634
2017-03-06 18:10:04 +01:00
Learath2
0d4499a027
Rename bind_print to dump_binds.
2017-03-06 18:06:55 +01:00
heinrich5991
c1e826e853
Fix key slot indices after removing a key
2017-03-06 18:02:19 +01:00
Learath2
759799953f
Remove dump_binds. Let bind_print dump all. Fixes #634
2017-03-06 15:32:11 +01:00
Learath2
8c79f28802
Fix a crash on malformed input
2017-03-06 15:18:52 +01:00
Learath2
b49c13e617
KeySlots are 0 indexed...
2017-03-06 14:14:45 +01:00
heinrich5991
5ab2afeabd
Merge pull request #651 from Learath2/dd_pr_teamchat
...
Fix coloring of team chat. Fixes #648
2017-03-06 14:06:37 +01:00
Learath2
a87edad978
Move to a cpp file
2017-03-06 14:04:09 +01:00
Learath2
cbb5891263
Introduce ugly workaround to allow empty usernames
2017-03-06 13:49:08 +01:00
Learath2
71fb030443
Fix a comparison. Hate backwards compatibility...
2017-03-06 13:46:02 +01:00
Learath2
4d0f036b4f
Forgot to negate the comparisons
2017-03-06 13:22:17 +01:00
Learath2
9800360340
Check the return from str_hex_decode. Remove comment
2017-03-06 12:59:47 +01:00
Learath2
3c6a21ace2
dbg_assert felt more appropriate
2017-03-06 12:58:49 +01:00
Learath2
c5a12e3eba
Fix the status command for logged out people
2017-03-06 12:35:37 +01:00
Learath2
6f1f348715
Fix c&p fail
2017-03-06 12:35:09 +01:00
Learath2
939a7f0d3f
This time actually add error checking to str_hex_decode
2017-03-06 12:33:29 +01:00
Learath2
9319a82c6e
Add /invite for locked teams. Fixes #647
2017-03-06 12:14:38 +01:00
Learath2
4101acd747
Add rcon_login
2017-03-06 10:31:05 +01:00
Learath2
5317be824e
Fix coloring of team chat. Fixes #648
2017-03-06 10:24:00 +01:00
def
de7587b8b5
Version 10.4.2
2017-03-05 20:19:46 +01:00
Learath2
95bb9894a7
Get rid of pw generation in CServer, Err out in CAuthManager instead
2017-03-04 23:16:02 +03:00
Learath2
3a22a4b62d
Fix some issues
2017-03-04 23:06:22 +03:00
Learath2
ed5824589c
Make str_hex_decode a little more friendly
2017-03-04 23:06:07 +03:00
heinrich5991
ba5af42b1f
Fix the brace style in some places
2017-03-04 15:43:49 +01:00
heinrich5991
a13cdc25b2
Merge pull request #632 from Learath2/dd_pr_friend
...
Put hearts before friends names. Closes #606
2017-03-04 15:37:24 +01:00
heinrich5991
23681bbbc9
Fix a line ending in autoexec_server.cfg
2017-03-04 15:30:43 +01:00
Learath2
cf9f3e3d38
Forgot one block
2017-03-04 10:58:02 +03:00
heinrich5991
0d342f139c
CMakeLists.txt: Add tools target
2017-03-03 15:23:18 +01:00
heinrich5991
9b0561bbc0
CMakeLists.txt: Add some EXCLUDE_FROM_ALL
2017-03-03 15:17:12 +01:00
heinrich5991
e6dcd94fc4
CMakeLists.txt: Fix Windows build and ignore some more warnings
2017-03-03 15:10:21 +01:00
heinrich5991
8407416042
CMakeLists.txt: Move everything to target_*
commands
2017-03-03 15:04:13 +01:00
heinrich5991
0fb13159d5
CMakeLists.txt: Squelch some warnings on Windows
2017-03-03 13:39:06 +01:00
heinrich5991
254793604c
CMakeLists.txt: Group sources by directory in MSVC
2017-03-03 13:29:35 +01:00
heinrich5991
33aa719d63
CMakeLists.txt: Move libraries into more canonical locations
2017-03-03 13:29:06 +01:00
heinrich5991
1157a9a835
CMakeLists.txt: Windows support?
2017-03-03 12:23:51 +01:00