diff --git a/doc/Features.txt b/doc/Features.txt index 8f3ccc7d4802425563acddfbabc9a0f74944f602..9bed137752bf4c833b08cb02099d950c62ec5370 100644 --- a/doc/Features.txt +++ b/doc/Features.txt @@ -3,70 +3,70 @@ SFLphone feature map -------------------- - * SIP features - - transfer: [done] and tested - - reinvite: [done] and tested - - play DTMF sipinfo: [done] and tested - - receive text message: [done] and tested with sipsak - - SFLphone to snom (asterisk): [done] and tested - - SFLphone to SFLphone (IP and no proxy): [done] and tested - - conference: [not done] yet - - send text message: [not done] yet - * IAX support: [not done] yet - * Audio devices: - - OSS: [done] and tested (portaudio) - - ALSA: [done] and tested (portaudio) - - ALSA with dmix: [not tested] - - JACK: [partial], portaudio has problems to open it - - ASIO on windows: in portaudio, [not tested] - - on MacOSX: we can't use portaudio in 8kHz. libsamplerate was added to convert from 44,1kHz to 8kHz. - * Codecs: - - G711a/PCM: [done] and tested - - G711u: [done] and tested - - GSM: [done] and tested - - Speex codec 8khz: [not tested] but integrated - - ILBc: [notdone] - * Video support: - - video integration in SIP: [not done] - - video integration in IAX: [not done] - - integration in QT: not done - * Zeroconf: - - sflphone-d: partially - - sflphone-qt: not done - * SFLphone Client: - - QT3: done and tested on linux - - QT4: not tested - - GTK: not done - - Command Line Interface (in C): partially done - - Command Line Interface (in python): not done - * MacOSX port: - - compilation: done - - 44,1khz to 8khz conversion (with libsamplerate): not tested - * Windows port: - - compilation of sflphoned: not done - - compilation of sflphone-qt (qt3): not done - - compilation of sflphone-qt (qt4): not done - * Desktop Integration: - - firefox sip: handling: open sflphone, not integrated in install process - - konqueror sip: handling: open sflphone, not integrated in install process - - addressbook: open sflphone and call, not integrated in install process - - inter-process communication: [not done] - - tray icon: [not done] - - menu icon (.desktop): only in fedora rpm - - LDAP enterprise directory support: [not done] - * Packaging: - - Remove libeXosip2 from package: [not done] - - Remove portaudio final from package: [not done] - - Fedora Core 4 packages: [done] - - Suse 9.3 packages: [done] - - .tar.gz publication: [done] - - Debian packages: [not done] - - Suse 10 packages: [not done] + * SIP features + - transfer: [done] and tested + - reinvite: [done] and tested + - play DTMF sipinfo: [done] and tested + - receive text message: [done] and tested with sipsak + - SFLphone to snom (asterisk): [done] and tested + - SFLphone to SFLphone (IP and no proxy): [done] and tested + - conference: [not done] yet + - send text message: [not done] yet + * IAX support: [not done] yet + * Audio devices: + - OSS: [done] and tested (portaudio) + - ALSA: [done] and tested (portaudio) + - ALSA with dmix: [not tested] + - JACK: [partial], portaudio has problems to open it + - ASIO on windows: in portaudio, [not tested] + - on MacOSX: we can't use portaudio in 8kHz. libsamplerate was added to convert from 44,1kHz to 8kHz. + * Codecs: + - G711a/PCM: [done] and tested + - G711u: [done] and tested + - GSM: [done] and tested + - Speex codec 8khz: [not tested] but integrated + - ILBc: [notdone] + * Video support: + - video integration in SIP: [not done] + - video integration in IAX: [not done] + - integration in QT: not done + * Zeroconf: + - sflphone-d: partially + - sflphone-qt: not done + * SFLphone Client: + - QT3: done and tested on linux + - QT4: not tested + - GTK: not done + - Command Line Interface (in C): partially done + - Command Line Interface (in python): not done + * MacOSX port: + - compilation: done + - 44,1khz to 8khz conversion (with libsamplerate): not tested + * Windows port: + - compilation of sflphoned: not done + - compilation of sflphone-qt (qt3): not done + - compilation of sflphone-qt (qt4): not done + * Desktop Integration: + - firefox sip: handling: open sflphone, not integrated in install process + - konqueror sip: handling: open sflphone, not integrated in install process + - addressbook: open sflphone and call, not integrated in install process + - inter-process communication: [not done] + - tray icon: [not done] + - menu icon (.desktop): only in fedora rpm + - LDAP enterprise directory support: [not done] + * Packaging: + - Remove libeXosip2 from package: [not done] + - Remove portaudio final from package: [not done] + - Fedora Core 4 packages: [done] + - Suse 9.3 packages: [done] + - .tar.gz publication: [done] + - Debian packages: [not done] + - Suse 10 packages: [not done] SFLphone-qt (linux) - * audiodevice input/output selector: [not done] - * drag'n'drop over lcd screen: [done] - * paste with ctrl+v: [done] - * keyboard mapping: [partial], not completed - * keyboard shortcut: [partial], not completed + * audiodevice input/output selector: [not done] + * drag'n'drop over lcd screen: [done] + * paste with ctrl+v: [done] + * keyboard mapping: [partial], not completed + * keyboard shortcut: [partial], not completed diff --git a/doc/Screenshots.txt b/doc/Screenshots.txt new file mode 100644 index 0000000000000000000000000000000000000000..24c576cf09d15b322c61d455584003937cba36bc --- /dev/null +++ b/doc/Screenshots.txt @@ -0,0 +1,12 @@ +// AsciiDoc file + +Screenshots +----------- + +.Screenshot de 2007 +sflimage::images/SflphonePOuetpoUEt.png[SFLphone qt3] + +.Screenshot de SFLphone 0.7 +sflimage::images/sflphone0.7.png[SFLphone 0.7] + + diff --git a/doc/asciidoc.conf b/doc/asciidoc.conf index 2ead100527dd3cf967f0cf11bd231fad16196d22..8461a64c985e3db4df7aed149079b4a783016292 100644 --- a/doc/asciidoc.conf +++ b/doc/asciidoc.conf @@ -1,3 +1,5 @@ + + # # Used in Features.txt # @@ -17,3 +19,17 @@ ifdef::backend-xhtml11[] [sflink-inlinemacro] <a href="index.php?f={target}.txt">{0?{0}}{0!{target}}</a> endif::backend-xhtml11[] + +# +# Image links (with "image:") +# +[sflimage-blockmacro] +<div class="image"> +<a id="{id}"></a> +<div class="content"> +<a class="image" href="{link#}"> +<img src="index.php?i={target}" alt="{1={target}}"{1? title="{1}"}{width? width="{width}"}{height? height="{height}"}/> +{link#}</a> +</div> +<div class="image-title">{title}</div> +</div> \ No newline at end of file diff --git a/www/index.php b/www/index.php index e616f5710e13270c16e08cee1065d14325a8cfa2..a8422e0f178a7dd8bb9d42fff8a5f27daac18db0 100644 --- a/www/index.php +++ b/www/index.php @@ -9,14 +9,34 @@ require_once('sflphone.funcs.php'); +// We've requested an image, fetch it, and send it. +if (defined($_REQUEST['i'])) { + $img = $_REQUEST['i']; + switch(strtolower(substr($img, -3))) { + case 'jpg': + header("Content-Type: image/jpeg"); + break; + case 'png': + header("Content-Type: image/png"); + break; + case 'gif': + header("Content-Type: image/gif"); + break; + default: + break; + } + + show_page($img); +} -$module = ''; + +$module = ''; // Default module: home -if (!$_REQUEST['l']) { +if (!$_REQUEST['mod']) { $module = 'home'; } else { - $module = $_REQUEST['l']; + $module = $_REQUEST['mod']; } diff --git a/www/sflphone.funcs.php b/www/sflphone.funcs.php index a72927af3641fe5e5f2d80831aaf1e5d4abd10fd..f4484d5ccfac9957d1bcb37623dd32fad1b7169b 100644 --- a/www/sflphone.funcs.php +++ b/www/sflphone.funcs.php @@ -20,7 +20,7 @@ require_once('config.inc.php'); /** * Retrieve page, compile it if new, cache it. * - * @param string File name (without the .txt) in the $PREFIX dir. + * @param string File name (including the extension) in the $PREFIX dir. * @return HTML content */ function get_page($page) { @@ -51,7 +51,7 @@ function get_page($page) { /** * Show page * - * @param string File name (without the .txt) in the $PREFIX dir. + * @param string File name (including the ext.) in the $PREFIX dir. */ function show_page($page) { print get_page($page); @@ -170,7 +170,7 @@ function get_git_hash($file) { $output = array(); - $cmd = "cd $GIT_REPOS; git-ls-tree $USE_BRANCH \"".git_filename($file).".txt\""; + $cmd = "cd $GIT_REPOS; git-ls-tree $USE_BRANCH \"".git_filename($file)."\""; $string = exec($cmd, $output); diff --git a/www/templates/page_devel.php b/www/templates/page_devel.php index 143c5e9ce2c53694babd70526e00e5301b4ffcf7..d175c61f7933b07571cd16e8536322a05de6371a 100644 --- a/www/templates/page_devel.php +++ b/www/templates/page_devel.php @@ -1,3 +1,3 @@ <h1>Source code</h1> -<?php show_page('Git_Access'); ?> +<?php show_page('Git_Access.txt'); ?> diff --git a/www/templates/page_download.php b/www/templates/page_download.php index 97de7ceb3b17a4b1c3eddb82f34833e457fbd9a6..6c2092b712be8862f1a213b5afc35f069b3a89c5 100644 --- a/www/templates/page_download.php +++ b/www/templates/page_download.php @@ -1,3 +1,3 @@ -<h1>Download</h2> +<h1>Download</h1> -<?php show_page('Download'); ?> +<?php show_page('Download.txt'); ?> diff --git a/www/templates/page_goals.php b/www/templates/page_goals.php index f6509fefd38fa2ce0273fac56cff5dd6ea4be3a9..ec97103f537cb00186a7ef354f0307342c5e0ab2 100644 --- a/www/templates/page_goals.php +++ b/www/templates/page_goals.php @@ -1,3 +1,3 @@ <h1>Goals</h1> -<?php show_page('Goals'); ?> +<?php show_page('Goals.txt'); ?> diff --git a/www/templates/page_home.php b/www/templates/page_home.php index 6e7f2c1900cd1d96fa24f3b75ac0d3ad2c513a21..4b8a10ac37874b68f72c51dbd6149e2f3ce3680b 100644 --- a/www/templates/page_home.php +++ b/www/templates/page_home.php @@ -1,11 +1,11 @@ -<?php show_page('News'); ?> +<?php show_page('News.txt'); ?> -<?php show_page('About'); ?> +<?php show_page('About.txt'); ?> -<h1>Get started</h2> +<h1>Get started</h1> <p> The project is ongoing well, but your help and contribution is needed to make this software even better! @@ -13,20 +13,20 @@ The project is ongoing well, but your help and contribution is needed to make th <p> </p> <p> <img align="left" style="margin-right: 10px; margin-left: 5em;" src="images/info.png"/> -<a href="index.php?l=goals">Goals</a> - where do we want to be <br/> -<a href="index.php?l=features">Features</a> - where we are <br/> -<a href="index.php?l=screenshots">Screenshots</a> - we love them +<a href="index.php?mod=goals">Goals</a> - where do we want to be <br/> +<a href="index.php?mod=features">Features</a> - where we are <br/> +<a href="index.php?mod=screenshots">Screenshots</a> - we love them </p> <br style="clear: both;"/> <p> <img align="left" style="margin-right: 10px; margin-left: 5em;" src="images/fetch.png"/> -<a href="index.php?l=download">Download</a> - grab the latest source code<br/> -<a href="index.php?l=build">Build</a> - build and installation instructions <br/> +<a href="index.php?mod=download">Download</a> - grab the latest source code<br/> +<a href="index.php?mod=build">Build</a> - build and installation instructions <br/> </p> <br style="clear: both;"/> <p> <img align="left" style="margin-right: 10px; margin-left: 5em;" src="images/devel.png"/> <a href="/mantis">File a bug</a> - report errors<br/> -<a href="index.php?l=discuss">Discuss</a> - Subscribe to a mailing list or contact us <br/> -<a href="index.php?l=devel">Develop</a> - Submit patches, work on the code, contribute +<a href="index.php?mod=discuss">Discuss</a> - Subscribe to a mailing list or contact us <br/> +<a href="index.php?mod=devel">Develop</a> - Submit patches, work on the code, contribute </p> \ No newline at end of file diff --git a/www/templates/page_screenshots.php b/www/templates/page_screenshots.php new file mode 100644 index 0000000000000000000000000000000000000000..5d09b37d11865b4eabd56419f83e263ec77b4ef5 --- /dev/null +++ b/www/templates/page_screenshots.php @@ -0,0 +1,3 @@ +<h1>Screenshots</h1> + +<?php show_page('Screenshots.txt'); ?>