Commit Graph

595 Commits (aa5707b8891119741baae98cf7b51a00c0f99438)

Author SHA1 Message Date
Russell Bryant 3371051d74 Merged revisions 72926 via svnmerge from
18 years ago
Russell Bryant 408dbc4304 Merge changes from team/russell/http_filetxfer
18 years ago
Tilghman Lesher abe50d3e4b Merged revisions 72556 via svnmerge from
18 years ago
Russell Bryant 80166c6de8 Conversions to ast_debug()
18 years ago
Tilghman Lesher d6c0627c4f Merged revisions 71289 via svnmerge from
18 years ago
Jason Parker 7a1c2d94bb Add manager events for RTCP statistics.
18 years ago
Kevin P. Fleming 5fdba27ea2 Merged revisions 69392 via svnmerge from
18 years ago
Brett Bryant bbefe59e9d Couple of manager ssl options weren't loading because of a typo.
18 years ago
Jason Parker bd3de6d0f1 Change displayconnects option in manager.conf to be per-user.
18 years ago
Joshua Colp 21f5078843 Add username completion for manager show user CLI command. (issue #9929 reported by eliel)
18 years ago
Russell Bryant 1d57ccb6f7 Fix a bunch of doxygen errors and document more things
18 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
18 years ago
Russell Bryant 7b75537684 Minor formatting change to test closing mantis issues through commit tags
18 years ago
Russell Bryant 3cc39e0fd0 Minor formatting change to test closing mantis issues through commit tags
18 years ago
Jason Parker ac8fc3ad2d Make sure we default allowmultiplelogin to on/yes, per the default stated in the config.
18 years ago
Russell Bryant 4b3a3fb14c Add a new API call for creating detached threads. Then, go replace all of the
18 years ago
Joshua Colp 22cf94111d Merged revisions 65902 via svnmerge from
18 years ago
Russell Bryant 7ee1303796 Add an option that lets you only allow one connection at a time for each
18 years ago
Jason Parker 8b5634e4b4 Merged revisions 63982 via svnmerge from
18 years ago
Russell Bryant 08d37d451b Merged revisions 63886 via svnmerge from
18 years ago
Russell Bryant 7c5aab75b0 Merged revisions 63804 via svnmerge from
18 years ago
Russell Bryant 6606166454 Convert spaces to tabs for indentation.
18 years ago
Olle Johansson 6da70edbcf Add "CoreStatus" - from the moremanager branch.
18 years ago
Olle Johansson 51f99c5265 - Add manager command CoreSettings
18 years ago
Russell Bryant a751038fbe Merged revisions 61787 via svnmerge from
18 years ago
Russell Bryant fa9d9af754 When building a JSON encoded string in the GetConfigJSON manager action, escape
18 years ago
Russell Bryant 97d0661327 Merged revisions 61690 via svnmerge from
18 years ago
Tilghman Lesher 438beb3a1b Merged revisions 61683 via svnmerge from
18 years ago
Tilghman Lesher 47dd5a15af Issue 6082 - New DTMF event for manager
18 years ago
Olle Johansson c1d8971831 Add hint to ExtensionStatus AMI event in manager
18 years ago
Russell Bryant 0a9750ef9f Merged revisions 60603 via svnmerge from
18 years ago
Russell Bryant 5f629360ec Merged revisions 60137 via svnmerge from
18 years ago
Russell Bryant 53dca1a7e4 Merged revisions 58165 via svnmerge from
18 years ago
Olle Johansson e916cf45da Doxygen updates and corrections
18 years ago
Russell Bryant 0d3a211335 Introduce a new manager action, GetConfigJSON, which is intended to improve
18 years ago
Joshua Colp cd56d84085 Properly handle an error result from a manager action. This could have left the action list permanently locked for reading.
18 years ago
Olle Johansson 8ac0fb2bc3 New CLI command "Core show settings" to list some core settings
18 years ago
Joshua Colp cd1973e4bc It is with pleasure that I announce the return of rawman support through the HTTP server. (issue #9013 reported by Jynger)
19 years ago
Tilghman Lesher 5f3b3d2358 Merged revisions 53246 via svnmerge from
19 years ago
Russell Bryant b233892198 Merged revisions 53046 via svnmerge from
19 years ago
Russell Bryant 9e1370e6c6 Merged revisions 52688 via svnmerge from
19 years ago
Russell Bryant 9540b7fcea The changes for trunk are less extensive, but include
19 years ago
Joshua Colp 68c1f5338f Close file after we do the translation, and map memory for both reading/writing. (issue #8886 reported by cwegener)
19 years ago
Russell Bryant ac884e0c3a Merged revisions 51781 via svnmerge from
19 years ago
Russell Bryant 8137080816 Merged revisions 51750 via svnmerge from
19 years ago
Russell Bryant 606ee0dab4 Break out of the config processing loop for manager.conf once the correct user
19 years ago
Russell Bryant 0e8bd82efe Fix trunk version of manager support for users.conf. Now it actually pays
19 years ago
Russell Bryant 2c5d2168c1 Merged revisions 51233 via svnmerge from
19 years ago
Joshua Colp 2964e9eab6 Merged revisions 50895 via svnmerge from
19 years ago
Joshua Colp e82a8a1d0a Exit from session loop upon error (ie: they disconnected) and don't do any buffer manipulation in do_message. get_input will handle it.
19 years ago
Joshua Colp c64ced140f Merged revisions 50602 via svnmerge from
19 years ago
Kevin P. Fleming 4a6ed271f5 probably shouldn't leave the mmap'ed file hanging around in memory
19 years ago
Kevin P. Fleming d0f3b18d16 a little more const-ification
19 years ago
Kevin P. Fleming d0542012c0 Merged revisions 49680 via svnmerge from
19 years ago
Kevin P. Fleming 3d376fca97 use mmap() to read in the results of the manager action for an HTTP request, instead of reading it into a buffer
19 years ago
Kevin P. Fleming 87b9abc892 Merged revisions 49676 via svnmerge from
19 years ago
Joshua Colp af3e5903c8 It's pretty difficult to pthread_kill a thread that doesn't exist. (issue #8681 reported by bkruse)
19 years ago
Olle Johansson e5b5a92a56 Fix manager too.
19 years ago
Kevin P. Fleming adca0ff14b Merged revisions 49006 via svnmerge from
19 years ago
Russell Bryant 08cfbe97b8 Remove a debug message. If this is still needed for debugging something,
19 years ago
Luigi Rizzo 79fb4e4579 Replace ast_build_string with ast_str_*().
19 years ago
Luigi Rizzo 20b382cfff replace ast_build_string() with ast_str_*() functions.
19 years ago
Luigi Rizzo 055abfe9d9 simplify the ast_dynamic_str_*.... routines by
19 years ago
Luigi Rizzo 4e427d84bd unbreak the output for http session.
19 years ago
Luigi Rizzo 77e986e0d0 properly initialize a malloc'ed buffer
19 years ago
Luigi Rizzo 1b45dc4eee normalize the scanning of "general" options in the config file.
19 years ago
Luigi Rizzo f6c706c71b make sure the argument to ast_malloc() is > 0.
19 years ago
Luigi Rizzo 437f4288cd - Generalize the function ssl_setup() so that the certificate info
19 years ago
Steve Murphy cb5e37e56c Merged revisions 47986,47995,47997,48001,48003-48004,48008-48014,48016,48018-48019 via svnmerge from
19 years ago
Luigi Rizzo 605b9a914e remove duplicated code to start the server threads, use
19 years ago
Luigi Rizzo ce6804c877 Part of the transformations necessary to add TLS support,
19 years ago
Luigi Rizzo 0b798e298d don't use outputstr in the struct mansession, it's just
19 years ago
Luigi Rizzo 3dbc33ed4f initialize the dynamic string in a sane way.
19 years ago
Luigi Rizzo 29985ff8c3 do not return 500 Internal error if the AMI command provides
19 years ago
Luigi Rizzo 77ae04d7c1 mosty comment and documentation cleanup on waitevent.
19 years ago
Luigi Rizzo 0153bdd72c Move the code to purge stale sessions to a function,
19 years ago
Luigi Rizzo 5ce08d37ca Various simplifications of the code:
19 years ago
Luigi Rizzo 1c570d9ba0 More informative message on invalid commands.
19 years ago
Luigi Rizzo a8e9428317 another normalization of AMI vs HTTP identification.
19 years ago
Luigi Rizzo d1dcb0de2a always use managerid to determine whether this is an AMI or HTTP session,
19 years ago
Mark Spencer cc0c154f0e Restore some sense of security to manager
19 years ago
Luigi Rizzo b3867180cf comments-only change:
19 years ago
Joshua Colp 980ce017ec Add support for manager hooks, so you could fire off manager events over IRC if you were crazy enough. (issue #5161 reported by anthm with mods by moi)
19 years ago
Luigi Rizzo 0bf4235ff1 add a new cli/manager.conf option "debug" to enable/disable
19 years ago
Tilghman Lesher 10875731ec Merged revisions 47051 via svnmerge from
19 years ago
Russell Bryant 59dbf47c91 Fix the new send text manager command. There is no way this could have worked.
19 years ago
Olle Johansson 1aa8c2cffc Add manager sendtext action. (Issue 6131, ZX81 - thanks!)
19 years ago
Olle Johansson 692dc8fd80 Issue #3930 - Add manager command for listing dialplan (coded april 2005, in bugtracker since)
19 years ago
Russell Bryant 0ca6a42d7e fix various spelling mistakes in comments (issue #8237, jmls)
19 years ago
Luigi Rizzo 6b2b63a909 fix a problem that i recently introduced when
19 years ago
Mark Spencer b7517f1231 Fix comment preservation code (thanks murf!)
19 years ago
Luigi Rizzo a7d5fcd8b8 i really think it is safe to commit this version, that
19 years ago
Luigi Rizzo edd8e11889 minor comment changes, code rearrangement and field renaming
19 years ago
Olle Johansson e19576388d Doxygen corrections
19 years ago
Luigi Rizzo e7c2295b81 more fixes to comments and very minor code rearrangement.
19 years ago
Luigi Rizzo 32214ffc02 implement proper XML/HTML formatting of multiple messages
19 years ago
Luigi Rizzo 9934b7f4d2 more documentation of data structure and functions.
19 years ago
Russell Bryant bd53e7ee4c Extend the thread storage API such that a custom initialization function can
19 years ago
Luigi Rizzo 71c67605ca silent warning from a debugging message (which will go away
19 years ago
Luigi Rizzo eee51dbd1c remove trailing whitespace
19 years ago
Luigi Rizzo 9e9edb05ec ouch! remember to unlink temporary files once done with them.
19 years ago
Luigi Rizzo 3c2eaaf1f0 + move output_format variables in the http section of the file;
19 years ago
Luigi Rizzo c046fb40d8 another bunch of comments on the data structures.
19 years ago
Luigi Rizzo a518165207 despite the large changes, this commit only moves functions
19 years ago
Luigi Rizzo a18accc09e more comment and formatting fixes, small simplifications
19 years ago
Matt O'Gorman 1783aef1e8 rizzo compile then commit, maybe even run it too ^_^
19 years ago
Luigi Rizzo 71cf14207c comment and cleanup the main thread.
19 years ago
Luigi Rizzo eb3767cafe create a new (internal, for the time being) function astman_start_ack()
19 years ago
Luigi Rizzo df06a40b05 more indentation cleanup from previous commits,
19 years ago
Luigi Rizzo 46b5c26399 create proper handlers for "Challenge" and "Login" actions,
19 years ago
Luigi Rizzo becfe17739 fix indentation from a commit of a couple of days ago
19 years ago
Luigi Rizzo 8e63fb21da another batch of simplifications to authenticate()
19 years ago
Luigi Rizzo d171c3d864 remove unused fields and unimplemented options.
19 years ago
Luigi Rizzo 998732456f first pass as simplifying authenticate(), avoiding whitespace changes
19 years ago
Luigi Rizzo bc66d9b7d8 more code simplifications
19 years ago
Luigi Rizzo c93be15b7e simplify ast_strings_to_mask
19 years ago
Luigi Rizzo efd87b68ee add a comment to remember that a block of code is
19 years ago
Luigi Rizzo 2102d73bf4 + move the enum declaration for output formats near the head
19 years ago
Luigi Rizzo 3a3b26658e merge xml_translate() and html_translate() into one function since
19 years ago
Joshua Colp 17fabe225d Warning be gone!
19 years ago
Luigi Rizzo 3e2a2bfd7e simplify authority_to_str() using ast_build_string()
19 years ago
Luigi Rizzo 3abf04cc26 Improve the XML formatting of responses coming from web interface.
19 years ago
Luigi Rizzo f2d12f4d06 open a temporary file to receive the output from cli commands
19 years ago
Luigi Rizzo 0c7e8f99a4 document xml_copy_escape() and add an extra function, namely
19 years ago
Luigi Rizzo 5f395bf38f + comment some unclear fields of struct mansession;
19 years ago
Luigi Rizzo 5fda2a874a + comment some unclear requirements for master_eventq
19 years ago
Luigi Rizzo 6d10a245b6 protect access to first_action with actionlock.
19 years ago
Russell Bryant 43f1054d07 Merged revisions 44945 via svnmerge from
19 years ago
Nadi Sarrar 0752be2ec0 Merged revisions 44921 via svnmerge from
19 years ago
Luigi Rizzo 684d1f1698 basically fix indentation of a large function after previous
19 years ago
Luigi Rizzo 35cada23f0 s cannot be null here, so remove the useless test and error-handling block.
19 years ago
Luigi Rizzo acd1073909 simplify logic in preparation to reduce indentation
19 years ago
Luigi Rizzo 3f641c6048 make sure sockets are blocking when they should be blocking.
19 years ago
Kevin P. Fleming 3c876af5cf Merged revisions 44378 via svnmerge from
19 years ago
Matt O'Gorman ae8cc3e18b bug #8076 check option_debug before printing to debug channel.
19 years ago
Tilghman Lesher 2b55678e1f Remove deprecated CLI apps from the core
19 years ago
Tilghman Lesher 4a58847fe2 Remove 1.4 changes from UPGRADE.txt, remove deprecated callerid field, remove deprecated SetGlobalVar app
19 years ago
Tilghman Lesher 70af28270d Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
19 years ago
Jason Parker 4c2874b994 Commit the changes from issue #5240.
19 years ago
Jason Parker fc60c151d3 After discussing this with other people, we decided we'd like to try to do this a little differently.
19 years ago
Anthony LaMantia 3f3402d69e 5240 update
19 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
19 years ago
Kevin P. Fleming c2c4f86c72 merge markster's usersconf branch with some slight changes
19 years ago
Russell Bryant 283bcf4c9f - simplify and improve astmm by using thread storage instead of a dynamic
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago