Mercurial > prosody-modules
annotate mod_admin_web/admin_web/get_deps.sh @ 354:f24998ec7f8d
Implemented basic SQL authentication module.
This module implements authentication against plaintext password stored in SQL database.
You wil definitely need to edit the Lua code and put a query working with your database.
The example query works against jabberd2 database schema.
P.S. This module is just some code glued together from other modules. ;-)
author | Tomasz Sterna <tomek@xiaoka.com> |
---|---|
date | Tue, 12 Apr 2011 00:30:53 +0200 |
parents | d9c1231db77b |
children | 7331e2669f24 |
rev | line source |
---|---|
291
94fab3c0a7aa
mod_admin_web: replace get_deps.lua with a (working) get_deps.sh
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff
changeset
|
1 #!/bin/sh |
94fab3c0a7aa
mod_admin_web: replace get_deps.lua with a (working) get_deps.sh
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff
changeset
|
2 cd www_files/js |
297
a70284e01453
mod_admin_web: Add support for calling adhoc commands
Florian Zeitz <florob@babelmonkeys.de>
parents:
291
diff
changeset
|
3 test -e jquery-1.4.4.min.js || wget http://code.jquery.com/jquery-1.4.4.min.js |
a70284e01453
mod_admin_web: Add support for calling adhoc commands
Florian Zeitz <florob@babelmonkeys.de>
parents:
291
diff
changeset
|
4 test -e adhoc.js || wget http://cgit.babelmonkeys.de/cgit.cgi/adhocweb/plain/js/adhoc.js |
332
d9c1231db77b
mod_admin_web: Make dependency fetching more reliable
Florian Zeitz <florob@babelmonkeys.de>
parents:
331
diff
changeset
|
5 test -e strophe.js || (wget --no-check-certificate -O strophe.tar.gz https://github.com/metajack/strophejs/tarball/release-1.0.1 && \ |
d9c1231db77b
mod_admin_web: Make dependency fetching more reliable
Florian Zeitz <florob@babelmonkeys.de>
parents:
331
diff
changeset
|
6 tar xzf strophe.tar.gz && rm strophe.tar.gz && cd metajack-strophejs-*/ && make strophe.js && cp strophe.js ../strophe.js && \ |
331
b8ea61f3b442
mod_admin_web: Get strophe.js from tarball instead of git (Thanks darkrain)
Florian Zeitz <florob@babelmonkeys.de>
parents:
297
diff
changeset
|
7 cd .. && rm -rf metajack-strophejs*) |
b8ea61f3b442
mod_admin_web: Get strophe.js from tarball instead of git (Thanks darkrain)
Florian Zeitz <florob@babelmonkeys.de>
parents:
297
diff
changeset
|
8 |