Chat-O-Matic/application
Jaidyn Ann 6e1ca87890 Support for "Roles" (user, moderator, admin, etc.)
Add scaffodling support for arbitrary roles and permission-based (and
varying!) UI.

A new class, Role, represents a user's role in a given room, with three
values:
	* The role's title
	* The role's permission-set
	* The role's priority

The permission set is a bitmask value for various permissions (e.g.,
PERM_WRITE, PERM_BAN, etc), and priority is position in the hierarchy.
A user with higher priority (and PERM_BAN) can ban a user with lower
priority, but not vice-versa. Two users with the same priority can't
ban/kick/mute each other, etc.

These permissions should be used to determine what UI elements are
displayed― if the user doesn't have permission to ban users, then a
"Ban" button shouldn't exist. If the user is muted, they shouldn't be
able to type. So on and so forth.

For now, permissions are sent with a IM_ROLECHANGE message and stored
by the Conversation, but aren't really in use yet.

This system should be flexible groundwork to account for the varying
administrative hierarchies and norms of different protocols.
2021-06-06 00:59:07 -05:00
..
preferences Tweak preferences layout 2021-05-30 22:04:45 -05:00
views Allow leaving/getting booted from rooms 2021-06-04 16:32:18 -05:00
AboutWindow.cpp Update copyright year. 2011-12-03 22:38:03 +00:00
AboutWindow.h Update copyright year. 2011-12-03 22:38:03 +00:00
Account.cpp Create JoinWindow and protocol messages for joining rooms 2021-06-01 21:50:17 -05:00
Account.h Load/Save account settings from correct paths 2021-05-21 15:52:33 -05:00
AccountManager.cpp Added code that allow the deskbar replicant to be disabled/enabled from the preferences 2012-03-04 02:27:16 +00:00
AccountManager.h Added code that allow the deskbar replicant to be disabled/enabled from the preferences 2012-03-04 02:27:16 +00:00
Caya.h Update copyright year. 2011-12-03 22:38:03 +00:00
Caya.rdef Update Caya.rdef 2015-06-26 22:49:13 +02:00
CayaConstants.h Resolved a memory leak, removed unuseful commented code, CAYA_EXTENDED_AWAY replaced with CAYA_CUSTOM_STATUS and added CAYA_INVISIBLE. 2012-05-15 17:20:11 +00:00
CayaMessages.h Create JoinWindow and protocol messages for joining rooms 2021-06-01 21:50:17 -05:00
CayaProtocol.h Create JoinWindow and protocol messages for joining rooms 2021-06-01 21:50:17 -05:00
CayaProtocolAddOn.cpp Create JoinWindow and protocol messages for joining rooms 2021-06-01 21:50:17 -05:00
CayaProtocolAddOn.h Show protocol icons in notifications 2021-05-22 12:05:44 -05:00
CayaProtocolMessages.h Support for "Roles" (user, moderator, admin, etc.) 2021-06-06 00:59:07 -05:00
CayaResources.h Updated the contacts list BMenuItem with a complete redesign of the item, added an experimental version of the Search BTextControl showing a text that disappear when the user click on it, updated the Nickname text control to be a BTextView, other minor updates already WIP like more organization of statuses. 2012-05-15 16:48:53 +00:00
CayaUtils.cpp Show/receive room subjects, show protocol icon in conversation view 2021-06-04 13:57:04 -05:00
CayaUtils.h Show/receive room subjects, show protocol icon in conversation view 2021-06-04 13:57:04 -05:00
Contact.cpp Create Conversation class, use it instead of Contact for chats 2021-05-24 01:47:21 -05:00
Contact.h Create Conversation class, use it instead of Contact for chats 2021-05-24 01:47:21 -05:00
Conversation.cpp Support for "Roles" (user, moderator, admin, etc.) 2021-06-06 00:59:07 -05:00
Conversation.h Support for "Roles" (user, moderator, admin, etc.) 2021-06-06 00:59:07 -05:00
EditingFilter.cpp Update copyright year. 2011-12-03 22:38:03 +00:00
EditingFilter.h Update copyright year. 2011-12-03 22:38:03 +00:00
ImageCache.cpp Update copyright year. 2011-12-03 22:38:03 +00:00
ImageCache.h Update copyright year. 2011-12-03 22:38:03 +00:00
JoinWindow.cpp Create JoinWindow and protocol messages for joining rooms 2021-06-01 21:50:17 -05:00
JoinWindow.h Create JoinWindow and protocol messages for joining rooms 2021-06-01 21:50:17 -05:00
Main.cpp Update copyright year. 2011-12-03 22:38:03 +00:00
MainWindow.cpp Allow leaving/getting booted from rooms 2021-06-04 16:32:18 -05:00
MainWindow.h Allow leaving/getting booted from rooms 2021-06-04 16:32:18 -05:00
Makefile Create JoinWindow and protocol messages for joining rooms 2021-06-01 21:50:17 -05:00
Notifier.cpp Update copyright year. 2011-12-03 22:38:03 +00:00
Notifier.h Create Conversation class, use it instead of Contact for chats 2021-05-24 01:47:21 -05:00
NotifyMessage.h Show/receive room subjects, show protocol icon in conversation view 2021-06-04 13:57:04 -05:00
Observer.h Update copyright year. 2011-12-03 22:38:03 +00:00
ProtocolLooper.cpp Update copyright year. 2011-12-03 22:38:03 +00:00
ProtocolLooper.h Update copyright year. 2011-12-03 22:38:03 +00:00
ProtocolManager.cpp Load/Save account settings from correct paths 2021-05-21 15:52:33 -05:00
ProtocolManager.h Allow multiple protocols per add-on 2021-05-21 13:47:14 -05:00
ProtocolSettings.cpp Show protocol icons in notifications 2021-05-22 12:05:44 -05:00
ProtocolSettings.h AIM : Removed _declspec and removed a unuseful parameter, both were causing warnings. Replaced List<> a std::list wrapper, with BObjectList and removed the _TR macro in ProtocolSettings that is apparently not doing anything. 2012-02-25 20:33:28 +00:00
Role.h Support for "Roles" (user, moderator, admin, etc.) 2021-06-06 00:59:07 -05:00
RosterWindow.cpp Change RosterWindow's window type 2021-06-01 21:42:22 -05:00
RosterWindow.h Move roster into its own generic window 2021-05-26 07:48:25 -05:00
Server.cpp Support for "Roles" (user, moderator, admin, etc.) 2021-06-06 00:59:07 -05:00
Server.h Support for "Roles" (user, moderator, admin, etc.) 2021-06-06 00:59:07 -05:00
TheApp.cpp Switch from Jam to Make 2021-05-19 16:12:19 -05:00
TheApp.h Added a new deskbar replicant with related classes and icons, disabled libdownload and curl depencency, fixed some warnings and style violations around the code 2011-12-14 23:36:27 +00:00
User.cpp Changes to Notifier→Observer relations 2021-06-03 23:39:50 -05:00
User.h Support for "Roles" (user, moderator, admin, etc.) 2021-06-06 00:59:07 -05:00