Merged revisions 60603 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Fri, 6 Apr 2007 21:16:38 +0000 (21:16 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 6 Apr 2007 21:16:38 +0000 (21:16 +0000)
commit0a9750ef9f61a12070797f3475f8f5b6b07f21b4
treed1a8725b9d1a7d8508205ad650f4a6ed1de11339
parente3192c77f2e1afacef8ce5a20ee14ef70c1aba9e
Merged revisions 60603 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60603 | russell | 2007-04-06 15:58:43 -0500 (Fri, 06 Apr 2007) | 13 lines

To be able to achieve the things that we would like to achieve with the
Asterisk GUI project, we need a fully functional HTTP interface with access
to the Asterisk manager interface.  One of the things that was intended to be
a part of this system, but was never actually implemented, was the ability for
the GUI to be able to upload files to Asterisk.  So, this commit adds this in
the most minimally invasive way that we could come up with.

A lot of work on minimime was done by Steve Murphy.  He fixed a lot of bugs in
the parser, and updated it to be thread-safe.  The ability to check
permissions of active manager sessions was added by Dwayne Hubbard.  Then,
hacking this all together and do doing the modifications necessary to the HTTP
interface was done by me.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
139 files changed:
Makefile.moddir_rules
configs/http.conf.sample
configure
configure.ac
include/asterisk/autoconfig.h.in
include/asterisk/compat.h
include/asterisk/manager.h
main/Makefile
main/http.c
main/manager.c
main/minimime/.cvsignore [new file with mode: 0644]
main/minimime/Doxyfile [new file with mode: 0644]
main/minimime/Make.conf [new file with mode: 0644]
main/minimime/Makefile [new file with mode: 0644]
main/minimime/mimeparser.h [new file with mode: 0644]
main/minimime/mimeparser.l [new file with mode: 0644]
main/minimime/mimeparser.tab.c [new file with mode: 0644]
main/minimime/mimeparser.tab.h [new file with mode: 0644]
main/minimime/mimeparser.y [new file with mode: 0644]
main/minimime/mimeparser.yy.c [new file with mode: 0644]
main/minimime/minimime.c [new file with mode: 0644]
main/minimime/mm-docs/html/bug.html [new file with mode: 0644]
main/minimime/mm-docs/html/doxygen.css [new file with mode: 0644]
main/minimime/mm-docs/html/files.html [new file with mode: 0644]
main/minimime/mm-docs/html/globals.html [new file with mode: 0644]
main/minimime/mm-docs/html/globals_func.html [new file with mode: 0644]
main/minimime/mm-docs/html/group__codecs.html [new file with mode: 0644]
main/minimime/mm-docs/html/group__contenttype.html [new file with mode: 0644]
main/minimime/mm-docs/html/group__context.html [new file with mode: 0644]
main/minimime/mm-docs/html/group__envelope.html [new file with mode: 0644]
main/minimime/mm-docs/html/group__error.html [new file with mode: 0644]
main/minimime/mm-docs/html/group__mimepart.html [new file with mode: 0644]
main/minimime/mm-docs/html/group__mimeutil.html [new file with mode: 0644]
main/minimime/mm-docs/html/group__param.html [new file with mode: 0644]
main/minimime/mm-docs/html/group__util.html [new file with mode: 0644]
main/minimime/mm-docs/html/index.html [new file with mode: 0644]
main/minimime/mm-docs/html/mimeparser_8h-source.html [new file with mode: 0644]
main/minimime/mm-docs/html/mimeparser_8tab_8h-source.html [new file with mode: 0644]
main/minimime/mm-docs/html/mm_8h-source.html [new file with mode: 0644]
main/minimime/mm-docs/html/mm__codecs_8c.html [new file with mode: 0644]
main/minimime/mm-docs/html/mm__contenttype_8c.html [new file with mode: 0644]
main/minimime/mm-docs/html/mm__context_8c.html [new file with mode: 0644]
main/minimime/mm-docs/html/mm__envelope_8c.html [new file with mode: 0644]
main/minimime/mm-docs/html/mm__error_8c.html [new file with mode: 0644]
main/minimime/mm-docs/html/mm__header_8c.html [new file with mode: 0644]
main/minimime/mm-docs/html/mm__internal_8h-source.html [new file with mode: 0644]
main/minimime/mm-docs/html/mm__internal_8h.html [new file with mode: 0644]
main/minimime/mm-docs/html/mm__mem_8h-source.html [new file with mode: 0644]
main/minimime/mm-docs/html/mm__mimepart_8c.html [new file with mode: 0644]
main/minimime/mm-docs/html/mm__mimeutil_8c.html [new file with mode: 0644]
main/minimime/mm-docs/html/mm__param_8c.html [new file with mode: 0644]
main/minimime/mm-docs/html/mm__parse_8c.html [new file with mode: 0644]
main/minimime/mm-docs/html/mm__queue_8h-source.html [new file with mode: 0644]
main/minimime/mm-docs/html/mm__util_8c.html [new file with mode: 0644]
main/minimime/mm-docs/html/mm__util_8h-source.html [new file with mode: 0644]
main/minimime/mm-docs/html/modules.html [new file with mode: 0644]
main/minimime/mm-docs/html/pages.html [new file with mode: 0644]
main/minimime/mm-docs/html/tabs.css [new file with mode: 0644]
main/minimime/mm-docs/latex/Makefile [new file with mode: 0644]
main/minimime/mm-docs/latex/bug.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/doxygen.sty [new file with mode: 0644]
main/minimime/mm-docs/latex/files.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/group__codecs.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/group__contenttype.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/group__context.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/group__envelope.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/group__error.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/group__mimepart.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/group__mimeutil.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/group__param.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/group__util.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/mm__codecs_8c.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/mm__contenttype_8c.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/mm__context_8c.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/mm__envelope_8c.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/mm__error_8c.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/mm__header_8c.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/mm__internal_8h.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/mm__mimepart_8c.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/mm__mimeutil_8c.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/mm__param_8c.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/mm__parse_8c.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/mm__util_8c.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/modules.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/pages.tex [new file with mode: 0644]
main/minimime/mm-docs/latex/refman.tex [new file with mode: 0644]
main/minimime/mm-docs/refman.pdf [new file with mode: 0644]
main/minimime/mm.h [new file with mode: 0644]
main/minimime/mm_base64.c [new file with mode: 0644]
main/minimime/mm_codecs.c [new file with mode: 0644]
main/minimime/mm_contenttype.c [new file with mode: 0644]
main/minimime/mm_context.c [new file with mode: 0644]
main/minimime/mm_envelope.c [new file with mode: 0644]
main/minimime/mm_error.c [new file with mode: 0644]
main/minimime/mm_header.c [new file with mode: 0644]
main/minimime/mm_init.c [new file with mode: 0644]
main/minimime/mm_internal.h [new file with mode: 0644]
main/minimime/mm_mem.c [new file with mode: 0644]
main/minimime/mm_mem.h [new file with mode: 0644]
main/minimime/mm_mimepart.c [new file with mode: 0644]
main/minimime/mm_mimeutil.c [new file with mode: 0644]
main/minimime/mm_param.c [new file with mode: 0644]
main/minimime/mm_parse.c [new file with mode: 0644]
main/minimime/mm_queue.h [new file with mode: 0644]
main/minimime/mm_util.c [new file with mode: 0644]
main/minimime/mm_util.h [new file with mode: 0644]
main/minimime/mm_warnings.c [new file with mode: 0644]
main/minimime/mytest_files/ast_postdata [new file with mode: 0644]
main/minimime/mytest_files/ast_postdata2 [new file with mode: 0644]
main/minimime/mytest_files/ast_postdata3.gz [new file with mode: 0644]
main/minimime/mytest_files/mytest.c [new file with mode: 0644]
main/minimime/strlcat.c [new file with mode: 0644]
main/minimime/strlcpy.c [new file with mode: 0644]
main/minimime/sys/CVS/Entries [new file with mode: 0644]
main/minimime/sys/CVS/Repository [new file with mode: 0644]
main/minimime/sys/CVS/Root [new file with mode: 0644]
main/minimime/sys/mm_queue.h [new file with mode: 0644]
main/minimime/test.sh [new file with mode: 0755]
main/minimime/test/CVS/Entries [new file with mode: 0644]
main/minimime/test/CVS/Repository [new file with mode: 0644]
main/minimime/test/CVS/Root [new file with mode: 0644]
main/minimime/tests/CVS/Entries [new file with mode: 0644]
main/minimime/tests/CVS/Entries.Log [new file with mode: 0644]
main/minimime/tests/CVS/Repository [new file with mode: 0644]
main/minimime/tests/CVS/Root [new file with mode: 0644]
main/minimime/tests/Makefile [new file with mode: 0644]
main/minimime/tests/create.c [new file with mode: 0644]
main/minimime/tests/messages/CVS/Entries [new file with mode: 0644]
main/minimime/tests/messages/CVS/Repository [new file with mode: 0644]
main/minimime/tests/messages/CVS/Root [new file with mode: 0644]
main/minimime/tests/messages/test1.txt [new file with mode: 0644]
main/minimime/tests/messages/test2.txt [new file with mode: 0644]
main/minimime/tests/messages/test3.txt [new file with mode: 0644]
main/minimime/tests/messages/test4.txt [new file with mode: 0644]
main/minimime/tests/messages/test5.txt [new file with mode: 0644]
main/minimime/tests/messages/test6.txt [new file with mode: 0644]
main/minimime/tests/messages/test7.txt [new file with mode: 0644]
main/minimime/tests/parse.c [new file with mode: 0644]
main/strcompat.c