Commit Graph

106 Commits

Author SHA1 Message Date
Andreas Schneider 1c3d624949 - Added client side visualization of area restrictions
- Added an icon to the "Region control" menu item
- Changed the former TAccessLevelChangedPacket and the TLoginResponsePacket to add informations about the writeable areas
- Changed OnModifyUserPacket to update clients according to new accesslevel/area restrictions
- Changed OnModifyRegionPacket to update clients using that particular region
- Fixed UPacketHandlers.ValidateAccess to check the region bounds according to the PtInRect function
2008-08-26 22:48:48 +02:00
Andreas Schneider 91af86a294 - Added ability to edit regions for accounts
- Added AccessChangedListener to allow several listeners to react on accesslevel changes
- Changed TModifyUserPacket to support the region lists
- Fixed a region list parsing bug in TfrmAccountControl.OnListUsersPacket (Unsigned vs. Signed Integer)
- Fixed the order of form creation in TdmNetwork to assure the functionality of the region and account control
- Added some glob entries to .hgignore
2008-08-25 17:33:38 +02:00
Andreas Schneider 85cc0c0066 - Fixed/Removed some compiler warnings and hints
- Some more syntactic changes to UfrmRegionControl.pas
- Implemented region modification and deletion
- Changed the server side region handling to broadcast the changes
- Added safer admin packet registration
- Added some more units to the project files
2008-08-23 23:09:20 +02:00
Andreas Schneider d5069bbb50 - Fixed memory leak in TfrmFilter (not freeing FCheckedHues)
- Fixed memory leak in TfrmMain (not freeing the strings in the location info nodes)
- Rearranged frmEditAccount to allow region handling
- Added region handling to the client side account specific network packets
- Fixed some more code style inconsistencies in UfrmRegionControl.pas
- Fixed redrawing in TfrmRegionControl
- Fixed memory leak in TAccount (not freeing FRegions)
- Fixed the TModifyRegionResponsePacket ID
- Fixed the content of the TUserListPacket to not contain the list of all regions
2008-08-17 20:12:36 +02:00
Andreas Schneider 2edc2a7424 - Merged client side changes from Turley (with syntactic modifications)
- Changed alignment in frmDrawSettings
2008-08-12 13:46:45 +02:00
Andreas Schneider c0a125042b - Initial import from internal repository 2007-12-21 21:31:58 +01:00