about summary refs log tree commit diff stats
path: root/src/server_events.h
Commit message (Collapse)AuthorAgeFilesLines
* Added /room subject commandJames Booth2014-10-051-1/+1
|
* Implemented getting affiliation list, and setting affiliationJames Booth2014-10-051-0/+6
|
* Added service discovery to /room info commandJames Booth2014-10-021-0/+2
|
* Store real jid with occupantsJames Booth2014-10-011-4/+4
|
* wip - Store roles and affiliations with occupantsJames Booth2014-09-301-5/+4
|
* Handle errors for /disco info requestsJames Booth2014-09-241-0/+1
|
* Removed _get_caps_key functionJames Booth2014-09-211-3/+2
|
* Handle result of room configuration submitJames Booth2014-09-171-1/+2
|
* Implemented /room config submit for saving room configurationJames Booth2014-09-101-0/+1
|
* Tidied error handling for room formsJames Booth2014-09-091-1/+1
|
* Merge branch 'master' into roomconfigJames Booth2014-09-071-0/+1
|\ | | | | | | | | Conflicts: src/server_events.h
| * Added error handling for /ping command responsesJames Booth2014-09-071-0/+1
| |
* | Parse data form for room configurationJames Booth2014-09-041-0/+2
|/
* Added /ping commandJames Booth2014-09-041-0/+1
|
* Handle /room config cancelJames Booth2014-09-031-0/+1
|
* Show message when room requires configJames Booth2014-09-031sys.path[1:1] = [rangerpath] from ranger.ext.human_readable import * # The version before 2010/06/24: import math UNITS = 'BKMGTP' MAX_EXPONENT = len(UNITS) - 1 def human_readable_old(byte, seperator=' '): if not byte: return '0' exponent = int(math.log(byte, 2) / 10) flt = round(float(byte) / (1 << (10 * exponent)), 2) if exponent > MAX_EXPONENT: return '>9000' # off scale if int(flt) == flt: return '%.0f%s%s' % (flt, seperator, UNITS[exponent]) else: return '%.2f%s%s' % (flt, seperator, UNITS[exponent]) class benchmark_human_readable(object): def bm_current(self, n): for i in range(n): human_readable((128 * i) % 2**50) def bm_old(self, n): for i in range(n): human_readable_old((128 * i) % 2**50) ohover-highlight'>|
* Show original error messageJames Booth2014-01-261-1/+1
|
* Handle recipient not foundJames Booth2014-01-261-0/+1
|
* Added id handler for pings, disable ping on error type 'cancel'James Booth2014-01-261-0/+1
|
* WIP - /statuses command optionsJames Booth2014-01-201-0/+2
|
* Refactored roster add/updateJames Booth2014-01-051-0/+1
|
* Moved roster handlers to server_eventsJames Booth2014-01-051-0/+5
|
* Moved presence handlers to server_eventsJames Booth2014-01-051-0/+18
|
* Moved messages handlers to server_eventsJames Booth2014-01-051-0/+16
|
* Moved handle_room_list and handle_disco_items to server_eventsJames Booth2014-01-051-0/+2
|
* Moved handle_disco_info to server_eventsJames Booth2014-01-051-0/+1
|
* Moved handle_software_version_result to server_eventsJames Booth2014-01-051-0/+2
|
* Moved handle_lost_connection and handle_failed_login to server_eventsJames Booth2014-01-051-0/+2
|
* Moved handle_login_account_success to server_eventsJames Booth2014-01-051-0/+1
|
* Added server_events.cJames Booth2014-01-051-0/+28