lp:~luke-jr/tr2norigins/armagetron-0.2.8-t2o-BAD-brkCompatAuth

Created by Luke-Jr and last modified
Get this branch:
bzr branch lp:~luke-jr/tr2norigins/armagetron-0.2.8-t2o-BAD-brkCompatAuth
Only Luke-Jr can upload to this branch. If you are Luke-Jr please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Luke-Jr
Project:
TR2N Origins
Status:
Development

Recent revisions

517. By Luke-Jr

t2o: break compatibility with Armagetron authentication

516. By z-man

Merging branch 0.2.8-auth from revision 7558 to 7721:
 ------------------------------------------------------------------------
 r7718 | z-man | 2008-02-04 01:42:47 +0100 (Mon, 04 Feb 2008) | 3 lines

 Fixed epsy's eavesdropping bug where a moderator that is invited, but not member of a team could read /team messages.
 When looking for a player name, the input name is now filtered as well.

 ------------------------------------------------------------------------
 r7715 | z-man | 2008-02-01 22:09:11 +0100 (Fri, 01 Feb 2008) | 2 lines

 Correctly check for the shorthand authority name when checking the authentication server's response.

 ------------------------------------------------------------------------
 r7714 | z-man | 2008-02-01 21:34:13 +0100 (Fri, 01 Feb 2008) | 2 lines

 Client compiled with --enable-armathentication compiles again (why would a sane person do that?)

 ------------------------------------------------------------------------
 r7709 | z-man | 2008-01-30 20:00:08 +0100 (Wed, 30 Jan 2008) | 2 lines

 Spectators invited to exactly one team can now also use /team to chat with the team.

 ------------------------------------------------------------------------
 r7700 | z-man | 2008-01-29 18:07:13 +0100 (Tue, 29 Jan 2008) | 2 lines

 forgot one \n.

 ------------------------------------------------------------------------
 r7690 | z-man | 2008-01-29 01:54:16 +0100 (Tue, 29 Jan 2008) | 2 lines

 Evaluating the authentication server's username response.

 ------------------------------------------------------------------------
 r7688 | z-man | 2008-01-29 00:55:17 +0100 (Tue, 29 Jan 2008) | 2 lines

 Adding fully qualified user name to the PASSWORD_OK output.

 ------------------------------------------------------------------------
 r7684 | z-man | 2008-01-28 21:14:37 +0100 (Mon, 28 Jan 2008) | 2 lines

 Sendig hashes with lowercase hexcodes; php generates them that way by default.

 ------------------------------------------------------------------------
 r7681 | z-man | 2008-01-28 19:03:09 +0100 (Mon, 28 Jan 2008) | 2 lines

 also removing newlines from headers.

 ------------------------------------------------------------------------
 r7677 | z-man | 2008-01-28 13:06:03 +0100 (Mon, 28 Jan 2008) | 2 lines

 Stopped abusing http error codes, rely on the message text instead.

 ------------------------------------------------------------------------
 r7676 | z-man | 2008-01-28 11:29:27 +0100 (Mon, 28 Jan 2008) | 2 lines

 Actually made the code work like the docs say :)

 ------------------------------------------------------------------------
 r7675 | z-man | 2008-01-28 11:25:45 +0100 (Mon, 28 Jan 2008) | 2 lines

 Documented chat commands.

 ------------------------------------------------------------------------
 r7674 | z-man | 2008-01-28 11:13:33 +0100 (Mon, 28 Jan 2008) | 3 lines

 Fixed yet another cursor position bug.
 Text menu items with COLOR_SHOW rendering mode switch to COLOR_USE when not selected.

 ------------------------------------------------------------------------
 r7673 | z-man | 2008-01-28 11:11:54 +0100 (Mon, 28 Jan 2008) | 2 lines

 MD5_PASSWORD_REMOVE -> USER_REMOVE

 ------------------------------------------------------------------------
 r7672 | z-man | 2008-01-28 02:59:16 +0100 (Mon, 28 Jan 2008) | 2 lines

 /lock, /unlock, /invite and /uninvite team management chat for players of access level ACCESS_LEVEL_TEAM or better.

 ------------------------------------------------------------------------
 r7671 | z-man | 2008-01-27 21:26:39 +0100 (Sun, 27 Jan 2008) | 2 lines

 Thorough protection against access elevation by coding bugs. There is one central check to pass, and only one way to circumvent it.

 ------------------------------------------------------------------------
 r7670 | z-man | 2008-01-27 19:59:48 +0100 (Sun, 27 Jan 2008) | 2 lines

 Fixed broken console wrapping.

 ------------------------------------------------------------------------
 r7669 | z-man | 2008-01-27 19:48:21 +0100 (Sun, 27 Jan 2008) | 2 lines

 Added ACCESS_LEVEL_IPS to let admins see IPs of players in the list.

 ------------------------------------------------------------------------
 r7668 | z-man | 2008-01-27 18:54:12 +0100 (Sun, 27 Jan 2008) | 2 lines

 eavesdropping admins no longer get their own /msgs printed twice.

 ------------------------------------------------------------------------
 r7666 | z-man | 2008-01-27 16:34:27 +0100 (Sun, 27 Jan 2008) | 2 lines

 Removed fallback to bmd5 when the authority did not return a method list, all protocol-non-compilance errors are now fatal and give meaningful error messages (I hope).

 ------------------------------------------------------------------------
 r7665 | z-man | 2008-01-27 15:41:54 +0100 (Sun, 27 Jan 2008) | 2 lines

 added check for wrong hostname.

 ------------------------------------------------------------------------
 r7663 | z-man | 2008-01-27 14:43:35 +0100 (Sun, 27 Jan 2008) | 2 lines

 Rejecting raw IP authorities.

 ------------------------------------------------------------------------
 r7662 | z-man | 2008-01-27 14:31:32 +0100 (Sun, 27 Jan 2008) | 2 lines

 All response keywords transformed to CAPS.

 ------------------------------------------------------------------------
 r7661 | z-man | 2008-01-27 14:31:00 +0100 (Sun, 27 Jan 2008) | 2 lines

 Password server response is now parsed case-insensitively.

 ------------------------------------------------------------------------
 r7660 | z-man | 2008-01-27 14:08:12 +0100 (Sun, 27 Jan 2008) | 2 lines

 Repaired debug recordings.

 ------------------------------------------------------------------------
 r7659 | z-man | 2008-01-27 14:02:50 +0100 (Sun, 27 Jan 2008) | 3 lines

 Short network messages are now ignored and don't cause disconnection.
 Logins are secured with an additional random token, making it harder to inject fake login accept packets with a wrong IP to circumvent the anti-pharming code.

 ------------------------------------------------------------------------
 r7658 | z-man | 2008-01-27 13:23:59 +0100 (Sun, 27 Jan 2008) | 2 lines

 Counting with a bool? Not such a good idea :)

 ------------------------------------------------------------------------
 r7653 | z-man | 2008-01-27 01:50:05 +0100 (Sun, 27 Jan 2008) | 2 lines

 When authentication names are anonymous, you now still get to see your own login messages.

 ------------------------------------------------------------------------
 r7652 | z-man | 2008-01-27 01:30:51 +0100 (Sun, 27 Jan 2008) | 2 lines

 Finished version 0.1 of the server to authserver protocol. Nobody else seems interested enough, so we'll keep it n00bish.

 ------------------------------------------------------------------------
 r7650 | z-man | 2008-01-27 01:28:27 +0100 (Sun, 27 Jan 2008) | 2 lines

 added authentication reference php script.

 ------------------------------------------------------------------------
 r7649 | z-man | 2008-01-26 23:36:28 +0100 (Sat, 26 Jan 2008) | 2 lines

 Added /teams chat command.

 ------------------------------------------------------------------------
 r7648 | z-man | 2008-01-26 21:59:56 +0100 (Sat, 26 Jan 2008) | 2 lines

 Spectating admins can now see /team messages, and really high level admins can always see /msg messages (they can read them in the logs already). All configurable, of course.

 ------------------------------------------------------------------------
 r7647 | z-man | 2008-01-26 21:20:26 +0100 (Sat, 26 Jan 2008) | 2 lines

 corrected /admin denied message.

 ------------------------------------------------------------------------
 r7646 | z-man | 2008-01-26 21:11:43 +0100 (Sat, 26 Jan 2008) | 2 lines

 Using tToLower and tToUpper instead of manually doing the work.

 ------------------------------------------------------------------------
 r7645 | z-man | 2008-01-26 21:10:56 +0100 (Sat, 26 Jan 2008) | 1 line

 Filtering chat commands to lowercase.
 ------------------------------------------------------------------------
 r7644 | z-man | 2008-01-26 21:10:32 +0100 (Sat, 26 Jan 2008) | 2 lines

 Added tToLower and tToUpper transform functions.

 ------------------------------------------------------------------------
 r7643 | z-man | 2008-01-26 20:44:16 +0100 (Sat, 26 Jan 2008) | 1 line

 Better detection and reporting of unknown chat commands.
 ------------------------------------------------------------------------
 r7642 | z-man | 2008-01-26 20:33:13 +0100 (Sat, 26 Jan 2008) | 1 line

 Fixed clientside generated namechange messages
 ------------------------------------------------------------------------
 r7641 | z-man | 2008-01-26 20:21:33 +0100 (Sat, 26 Jan 2008) | 2 lines

 ALIAS -> USER_ALIAS

 ------------------------------------------------------------------------
 r7640 | z-man | 2008-01-26 20:09:41 +0100 (Sat, 26 Jan 2008) | 2 lines

 Bugfixes of sliding play access level.

 ------------------------------------------------------------------------
 r7639 | z-man | 2008-01-26 19:38:53 +0100 (Sat, 26 Jan 2008) | 2 lines

 Fixed non-authentication version.

 ------------------------------------------------------------------------
 r7638 | z-man | 2008-01-26 19:32:01 +0100 (Sat, 26 Jan 2008) | 2 lines

 Added intermediate tAccessLevel definitions. Some C++ compilers seem to be smart enough to clamp assignments from ints to enums to defined values.

 ------------------------------------------------------------------------
 r7637 | z-man | 2008-01-26 19:29:34 +0100 (Sat, 26 Jan 2008) | 3 lines

 Who can play is now managed by ePlayer.cpp itself, and not in the spawning code of gGame.cpp.
 Added ACCESS_LEVEL_PLAY_SLIDERS to allow tuning the sliding behavior of the to-play access level requirement.

 ------------------------------------------------------------------------
 r7634 | z-man | 2008-01-26 17:31:48 +0100 (Sat, 26 Jan 2008) | 1 line

 Only include nanohttp when authentication is enabled.
 ------------------------------------------------------------------------
 r7633 | z-man | 2008-01-26 17:30:19 +0100 (Sat, 26 Jan 2008) | 2 lines

 More SUDO -> CASACL

 ------------------------------------------------------------------------
 r7631 | z-man | 2008-01-26 17:00:21 +0100 (Sat, 26 Jan 2008) | 2 lines

 SUDO -> CASACL (Check And Set ACcess Level), prounounced like Quetzalcoatl, your friendly Aztec God.

 ------------------------------------------------------------------------
 r7630 | z-man | 2008-01-26 14:33:11 +0100 (Sat, 26 Jan 2008) | 2 lines

 Further SUDO comment.

 ------------------------------------------------------------------------
 r7629 | z-man | 2008-01-26 13:52:01 +0100 (Sat, 26 Jan 2008) | 2 lines

 Refined and documented SUDO.

 ------------------------------------------------------------------------
 r7628 | z-man | 2008-01-26 02:53:47 +0100 (Sat, 26 Jan 2008) | 2 lines

 Activated SUDO command.

 ------------------------------------------------------------------------
 r7627 | z-man | 2008-01-26 02:38:14 +0100 (Sat, 26 Jan 2008) | 2 lines

 Worked around gcc-3.3 problems with function pointer default arguments.

 ------------------------------------------------------------------------
 r7626 | z-man | 2008-01-26 02:36:50 +0100 (Sat, 26 Jan 2008) | 2 lines

 Added SUDO command.

 ------------------------------------------------------------------------
 r7625 | z-man | 2008-01-26 00:10:10 +0100 (Sat, 26 Jan 2008) | 8 lines

 Documented settings.
 text input fields now let the text wrap correctly and make use of the space allocated for them in a not-completely-dumb way. And *sigh* depending on the text field, color codes are either ignored (for the usernames) or both displayed in text and rendered.
 "KICK 2pack" no longer kicks user 2 instead of player 2pack.
 all admin commands now also accept partial name matches, like /msg, and check for case sensitive matches in the screen name first, then the user name, then case insensitive matches in the two.
 Added authority black/whitelists.
 Debug recordings now work with authentication and are safe to share, no secret information is recorded.

 ------------------------------------------------------------------------
 r7624 | z-man | 2008-01-24 19:32:12 +0100 (Thu, 24 Jan 2008) | 2 lines

 Whoops, repaired /msg and other things.

 ------------------------------------------------------------------------
 r7623 | z-man | 2008-01-24 19:08:19 +0100 (Thu, 24 Jan 2008) | 2 lines

 Added /promote and /demote, saner spam checking.

 ------------------------------------------------------------------------
 r7622 | z-man | 2008-01-24 17:38:19 +0100 (Thu, 24 Jan 2008) | 2 lines

 No more senseless name change messages, better error messages.

 ------------------------------------------------------------------------
 r7621 | z-man | 2008-01-24 17:10:05 +0100 (Thu, 24 Jan 2008) | 2 lines

 Added access right settings for /admin commands, regular chat, playing, and the new /(de)op commands (replace /pickup)

 ------------------------------------------------------------------------
 r7620 | z-man | 2008-01-24 15:30:42 +0100 (Thu, 24 Jan 2008) | 2 lines

 krawallserver -> armathentication :)

 ------------------------------------------------------------------------
 r7619 | z-man | 2008-01-24 14:54:54 +0100 (Thu, 24 Jan 2008) | 2 lines

 Better screen name reservation; previously, "RESERVE_SCREEN_NAME Z-Man" would have had no effect, because the nickname is compared to the FILTERED name of players; so now the reserved name is filtered as well.

 ------------------------------------------------------------------------
 r7618 | z-man | 2008-01-24 14:27:19 +0100 (Thu, 24 Jan 2008) | 2 lines

 ZTHread no longer required for remote logins; without threads, the required lookups are done between rounds.

 ------------------------------------------------------------------------
 r7617 | z-man | 2008-01-24 13:55:57 +0100 (Thu, 24 Jan 2008) | 2 lines

 Updated.

 ------------------------------------------------------------------------
 r7616 | z-man | 2008-01-24 13:40:00 +0100 (Thu, 24 Jan 2008) | 2 lines

 Proper error reporting when ZThread is not available and we can't to remote logins.

 ------------------------------------------------------------------------
 r7615 | z-man | 2008-01-24 13:30:39 +0100 (Thu, 24 Jan 2008) | 2 lines

 Added: access levels to user accounts, aliases, reserved screen names, and authentication name based bans for REALLY stupid players.

 ------------------------------------------------------------------------
 r7614 | z-man | 2008-01-24 10:55:49 +0100 (Thu, 24 Jan 2008) | 2 lines

 Added access levels to configuration system.

 ------------------------------------------------------------------------
 r7613 | z-man | 2008-01-24 03:35:12 +0100 (Thu, 24 Jan 2008) | 2 lines

 Better error messages.

 ------------------------------------------------------------------------
 r7612 | z-man | 2008-01-24 03:28:19 +0100 (Thu, 24 Jan 2008) | 2 lines

 seperate message for local logons.

 ------------------------------------------------------------------------
 r7611 | z-man | 2008-01-24 03:12:16 +0100 (Thu, 24 Jan 2008) | 2 lines

 Added UI elements and non-chat based authentication initiation: in the player setup, there is a Global ID text item and an Auto Login toggle, and in the game menu, if on supporting servers, an Authenticate trigger.

 ------------------------------------------------------------------------
 r7610 | z-man | 2008-01-23 22:08:39 +0100 (Wed, 23 Jan 2008) | 2 lines

 Less name character escaping.

 ------------------------------------------------------------------------
 r7609 | z-man | 2008-01-23 20:27:20 +0100 (Wed, 23 Jan 2008) | 2 lines

 Less braindead handling of player names.

 ------------------------------------------------------------------------
 r7608 | z-man | 2008-01-23 18:00:13 +0100 (Wed, 23 Jan 2008) | 2 lines

 Support for storage of password hashes for schemes with prefix and suffix.

 ------------------------------------------------------------------------
 r7607 | z-man | 2008-01-23 17:53:46 +0100 (Wed, 23 Jan 2008) | 2 lines

 Filtering port, only to realize that nanohttp does not handle the port correctly anyway. Lowercasing the file path part of the authority for reference, lookup is done with the original.

 ------------------------------------------------------------------------
 r7606 | z-man | 2008-01-23 17:20:57 +0100 (Wed, 23 Jan 2008) | 3 lines

 Ok, .authentication.armagetronad.net ;) Also, removing this default
 suffix from the authority if it is there.

 ------------------------------------------------------------------------
 r7605 | z-man | 2008-01-23 17:08:21 +0100 (Wed, 23 Jan 2008) | 2 lines

 Sanity checking authority URL; appending default .armagetronad.net.

 ------------------------------------------------------------------------
 r7604 | z-man | 2008-01-23 16:23:04 +0100 (Wed, 23 Jan 2008) | 2 lines

 fixed method retrieval, implemented method property reading.

 ------------------------------------------------------------------------
 r7603 | z-man | 2008-01-23 15:33:12 +0100 (Wed, 23 Jan 2008) | 2 lines

 Strings get encoded for URIs now, so usernames can have spaces and stuff.

 ------------------------------------------------------------------------
 r7602 | z-man | 2008-01-23 14:00:35 +0100 (Wed, 23 Jan 2008) | 2 lines

 Fixed abuse of temporary variable returned by std::ostringstream::str().

 ------------------------------------------------------------------------
 r7599 | z-man | 2008-01-23 11:17:13 +0100 (Wed, 23 Jan 2008) | 2 lines

 Fixes for non-zthread owners.

 ------------------------------------------------------------------------
 r7598 | z-man | 2008-01-23 10:42:47 +0100 (Wed, 23 Jan 2008) | 2 lines

 Also removing pending login processes from view when the client logs out; they may be kept alive by running tasks.

 ------------------------------------------------------------------------
 r7597 | z-man | 2008-01-23 04:05:28 +0100 (Wed, 23 Jan 2008) | 4 lines

 Two bugfixes:
  clients would clear the username sent by the server before opening the password form
  servers would ignore login attemps if the same client previously disconnected while in the process of logging in.

 ------------------------------------------------------------------------
 r7596 | z-man | 2008-01-23 03:47:35 +0100 (Wed, 23 Jan 2008) | 2 lines

 Forgot to re-activate the Executer that actually uses background threads :)

 ------------------------------------------------------------------------
 r7595 | z-man | 2008-01-23 03:45:03 +0100 (Wed, 23 Jan 2008) | 2 lines

 New, clearer structure without tread-troubling global variables on the server side.

 ------------------------------------------------------------------------
 r7594 | z-man | 2008-01-23 03:44:31 +0100 (Wed, 23 Jan 2008) | 2 lines

 Test for zthread is only done when krawallserver is activated.

 ------------------------------------------------------------------------
 r7593 | z-man | 2008-01-23 03:43:58 +0100 (Wed, 23 Jan 2008) | 2 lines

 Added convenience functions to machine observers.

 ------------------------------------------------------------------------
 r7592 | z-man | 2008-01-23 03:06:58 +0100 (Wed, 23 Jan 2008) | 2 lines

 Added thread-safe variant of referencable objects.

 ------------------------------------------------------------------------
 r7588 | z-man | 2008-01-22 18:16:04 +0100 (Tue, 22 Jan 2008) | 2 lines

 Improved password entry form, all forms of canceling are recognized, failed automatic logins are repeated automatically.

 ------------------------------------------------------------------------
 r7587 | z-man | 2008-01-22 16:33:47 +0100 (Tue, 22 Jan 2008) | 2 lines

 Added authentication hash method query; the server now picks a method client, server and authority support (or gives up).

 ------------------------------------------------------------------------
 r7586 | z-man | 2008-01-22 16:19:52 +0100 (Tue, 22 Jan 2008) | 2 lines

 Reduced number of mutex lock points in memory manager to 2; eliminated information passing over global variables.

 ------------------------------------------------------------------------
 r7580 | z-man | 2008-01-22 10:11:20 +0100 (Tue, 22 Jan 2008) | 2 lines

 Earlier mutex locking. Eek, there is lots of communication using global variables.

 ------------------------------------------------------------------------
 r7579 | z-man | 2008-01-22 04:01:00 +0100 (Tue, 22 Jan 2008) | 2 lines

 skeletons for fetching additional data about users and authentication methods.

 ------------------------------------------------------------------------
 r7578 | z-man | 2008-01-22 03:05:53 +0100 (Tue, 22 Jan 2008) | 2 lines

 Leakfix and even better error messages.

 ------------------------------------------------------------------------
 r7577 | z-man | 2008-01-22 03:05:08 +0100 (Tue, 22 Jan 2008) | 2 lines

 Using an Executer instead of manually starting threads.

 ------------------------------------------------------------------------
 r7576 | z-man | 2008-01-22 03:04:10 +0100 (Tue, 22 Jan 2008) | 2 lines

 Call DoToDo() while waiting for real players.

 ------------------------------------------------------------------------
 r7575 | z-man | 2008-01-22 02:37:47 +0100 (Tue, 22 Jan 2008) | 2 lines

 Silenced leak warnings from external libraries.

 ------------------------------------------------------------------------
 r7574 | z-man | 2008-01-21 20:46:06 +0100 (Mon, 21 Jan 2008) | 2 lines

 Refactoring, clientside support for good md5 format (not yet final), better error messages for the user.

 ------------------------------------------------------------------------
 r7573 | z-man | 2008-01-21 20:35:28 +0100 (Mon, 21 Jan 2008) | 2 lines

 Fixed deadlock.

 ------------------------------------------------------------------------
 r7571 | luke-jr | 2008-01-21 14:21:05 +0100 (Mon, 21 Jan 2008) | 1 line

 fix z-mans typos
 ------------------------------------------------------------------------
 r7561 | z-man | 2008-01-21 11:57:48 +0100 (Mon, 21 Jan 2008) | 2 lines

 Removed extra semicolon.

 ------------------------------------------------------------------------
 r7560 | z-man | 2008-01-21 11:45:48 +0100 (Mon, 21 Jan 2008) | 2 lines

 Adapted to Tank's forum based auth script. Login with "/login authentication.armagetronad.net" now :)

 ------------------------------------------------------------------------
 r7559 | z-man | 2008-01-21 11:36:51 +0100 (Mon, 21 Jan 2008) | 2 lines

 Commited patch 0.4, basically.

 ------------------------------------------------------------------------

515. By z-man

Better virtual RemoveFromGame logic for eGameObjects, derived classes now don't have to worry about things like removing themselves from the lists or clearing the current grid face (forgetting that has ugly effects).

514. By z-man

Negative hole scores now affect the score of the player who took the hole, positive goes to the one who made the hole.

513. By wrtlprnft

Removed unnecessary line of code, probably resulting in a 1e-9% performance increase.

512. By z-man

If console lines are wrapped, the continuation gets indented a bit.

511. By z-man

Fortress zones no longer collapse if FORTRESS_HELD_SCORE is zero.

510. By z-man

Made the random color picker dislike black even more.

509. By z-man

Eliminating duplicate password storage items on load.

508. By z-man

Fixed bug where you would get points for holding the base, but still was eliminated by its collapse.

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 with rich root (needs bzr 1.0)
This branch contains Public information 
Everyone can see this information.

Subscribers