Commit Graph

312 Commits

Author SHA1 Message Date
Lars Immisch 1410b36fe5 New autoconf/automake version 2013-08-14 10:34:48 +02:00
Lars Immisch ff5125118a Added clean target 2013-08-14 10:32:03 +02:00
Lars Immisch 2e06b64e1a Merge pull request #6 from cloph/pr_sendmail
subprocess module raises OSError instead of IOError
2013-06-17 14:29:27 -07:00
Christian Lohmaier 0a04dbdeeb subprocess module raises OSError instead of IOError 2013-05-28 11:18:10 +02:00
Lars Immisch 5c00a7c5f9 Merge pull request #5 from cloph/pr_checkconfig
Create capisuite-checkconfig target
2013-05-26 05:57:38 -07:00
Lars Immisch 4923535766 Merge pull request #4 from cloph/pr_config_empty
don't return empty user-values, but return default instead
2013-05-26 05:56:31 -07:00
Lars Immisch d4cccebc97 Merge pull request #3 from cloph/pr_param_count
first argument to _getLock is mandatory
2013-05-26 05:55:49 -07:00
Lars Immisch af6d6be317 Merge pull request #2 from cloph/pr_tiff2pdf
use tiff2pdf instead of converting first to ps and then to pdf
2013-05-26 05:54:49 -07:00
Lars Immisch 9bc21f9d2e Merge pull request #1 from cloph/pr_sendmail
default to sendmail command again to allow for lightweight MTAs
2013-05-26 05:53:53 -07:00
Christian Lohmaier bd7cf7e855 default to sendmail command again to allow for lightweight MTAs
probably the reason why people had problems with the sendmail-command
method was because the code passed an invalid envelope-from string. Fix
that by removing the envelope from and have it set by the MTA.

Also switch from the deprecated popen2 to using corresponding methods of
the subprocess module.
2013-05-25 11:32:05 +02:00
Christian Lohmaier 5effa4059f use tiff2pdf instead of converting first to ps and then to pdf
this is not only a lot faster, but also allows lossless conversion.
Along that line, don't try to alter the pagesize during conversion to
PDF. PDF-viewer applications do a great job adjusting to the paper-size
as the user wants it, so let the user make the decision. After all when
having the PDF, it is unlikely that it will be printed out anyway.
2013-05-25 11:25:40 +02:00
Christian Lohmaier c2fb24c783 first argument to _getLock is mandatory
even if it is overruled by the named options that are also specified
otherwise python complains with the slightly confusing error:
"method requires 1 argument (2 given)"
2013-05-25 11:13:57 +02:00
Christian Lohmaier 375d5cda09 don't return empty user-values, but return default instead
since otherwise it contradicts the documentation when e.g. sending mail
notifications, as the code that requests e.g. the fax.email property
provides the user as default.
But when using the empty string as documented to use the user's name as
sender, it returns the empty string and that then causes sending the
mail to fail, as there is no recipient.
2013-05-25 11:08:04 +02:00
Christian Lohmaier 9fee02ce4b Create capisuite-checkconfig
as it is very helpful since it creates the per-user spooldirectories
without having to fiddle around manually
2013-05-25 10:55:22 +02:00
Lars Immisch 4775a92ad3 sox: the parameter -w was deprecated in 13.0.0 and removed in 14.1.0 2012-03-23 23:56:31 +01:00
Lars Immisch 7455aff14d cs_helpers.py was unused. 2012-03-23 23:55:57 +01:00
Lars Immisch eb002f080f Fix remote inquiry.
Create symbolic link to README (automake insists on it).
2012-03-09 00:42:58 +01:00
Lars Immisch 687af591b8 github URL in documentation; title updated. 2012-03-07 15:57:33 +01:00
Lars Immisch af63734d44 Markdown version of README. 2012-03-07 14:36:12 +01:00
Lars Immisch 1675ab28a5 Oops. Wrong URL in README. 2012-03-07 11:42:19 +01:00
Lars Immisch be4c8bdadb Updated README for git instructions. 2012-03-07 11:38:45 +01:00
Lars Immisch c6c51e4daa New automake/autoconf versions. 2012-03-07 11:29:21 +01:00
Lars Immisch 786e54a23a Adjusted docbook paths.
Paths may be Debian specific.
2012-03-07 11:28:33 +01:00
Lars Immisch 86bb0773b4 Adjust ChangeLog generation to git. 2012-03-07 11:26:33 +01:00
Lars Immisch f75255640c Python layout changes.
Install capisuite python module in pkgpython_PYTHON, this puts capisuite as
a module into the standard python path.

cs_helpers.py(in) was renamed to helpers.py(in) and also put into
the capisuite module. The old autoconf code put cs_helpers into
site-packages, and that is not part of the default sys.path any more.
That may be a Debian issue, but having the capisuite python code in two
different directories seemed undesirable enough to warrant this change.
2012-03-07 10:57:02 +01:00
Lars Immisch fd0e9ae989 memcpy needs string.h 2012-03-04 13:16:33 +01:00
Lars Immisch 982c49385d Detect CAPI_LIBRARY_V2 and extend the argument lists for the latest CAPI. 2012-03-04 13:14:05 +01:00
gernot a404a1119e - improve comments, remove old history
- make Capi::readProfile and attributes used by it static again as
  it should be
- make number of maxLogicalConnections auto-detected instead of using 2 
  as default


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@430 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-02-01 18:57:09 +00:00
htgoebel 69398972d7 Fixed passing fax-info about received faxes to MailFaxRecievd message.
Details:
core.py: some fax functions did not return faxInfo even if the C++
         implementaion does. Fixed.
fax.py: sendinfo now returns the faxInfo like this:
        ((result, resultB3), faxInfo)
idle-script: faxInfo is now taken from fax.sendfax() and included into
             sendinfo, which is used by MailFaxRecievd message.


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@429 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-28 19:35:51 +00:00
htgoebel 4f97c8f413 changed MailFaxReceived message, esp. added stationID to subject
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@428 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-28 19:21:30 +00:00
gernot 1a4c1eedeb add come comments from Hartmut so they don't get lost
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@427 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-26 21:02:59 +00:00
gernot 324d2b77e5 revert file:/ URL change of rev. 419, add hostname according
to RFC 1738


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@426 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-26 20:59:53 +00:00
htgoebel 284682a4da Added mapping ISDN/CAPI-error-codes to user friedly text-messages.
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@425 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-23 12:07:01 +00:00
htgoebel 9f0c5f72e6 * Added core.Capi.__repr__()
* Fixed core.Call.__repr__() (can't use %x for representing handle)


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@424 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-22 13:53:38 +00:00
htgoebel 27a6451bc7 Fixed aborting non-existing fax jobs (this was caused by a duplicate
identifier in exceptions.py).


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@423 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-22 13:22:48 +00:00
htgoebel dc6217c64a core.Call.__repr__() includes handle, service and numbers now.
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@422 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-22 13:20:42 +00:00
htgoebel 1c5da4b790 * Test whether core.log is available prior to using is (it is
currently only available if running within capisuite)
* some minor code clean up in _setProtection()


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@421 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-22 12:53:55 +00:00
htgoebel 18485a9269 Return codes of fax.sendfax() hade wrong order in case of capi.call_faxG3() failed. Fixed.
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@420 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-22 11:29:44 +00:00
htgoebel b1e851f619 Debugged sending faxes.
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@419 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-21 19:48:48 +00:00
htgoebel 5c578aef76 Some minor changes.
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@418 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-20 20:20:39 +00:00
htgoebel 32fa45cda1 __known_sections__ has had the old names (containing spaces) for the
Mail* sections. Fixed.


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@417 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-20 20:09:57 +00:00
htgoebel 4c5fe5896d Fixed typo.
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@416 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-20 19:54:33 +00:00
htgoebel 9aaaebc5a4 Added a version of 'rc.capisuite.in' for Mandrake.
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@415 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-20 19:42:41 +00:00
htgoebel 4e2493b004 Test for result of 'capisuite-checkconfig -t' was wrong. Fixed.
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@414 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-20 18:56:02 +00:00
htgoebel 193c95268c Implemented an option for capisuite-checkconfig to test whether
capisuite is configured. This test is used in rc.capisuite.in (where
is has been implemented).


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@413 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-20 18:26:19 +00:00
htgoebel af0aa59638 SCons build system: corrected building of ChangeLogs when building rpms
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@412 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-20 18:05:45 +00:00
htgoebel 2d2a5bfcf9 some corrections to Mandrakes rpm .spec file
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@411 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-20 17:52:15 +00:00
htgoebel 0619727ab3 Build System: Use a date (currently 2005-01-01) for basing the
generation of ChangeLog instead of a (somehow obscure) revision.


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@410 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-16 20:56:55 +00:00
htgoebel 176451492c SCons build:
auto-generate ChangeLog from now on using SVN log messages (see r396).


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@409 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-09 21:17:33 +00:00
htgoebel 54ca44f6f7 SCons build:
When collecting files for the distribution archive, missing files have
been skipped even if named via env.ExtraDist(). Now missing files are
skipped only if found by env.DistSourcesOf() .


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@408 4ebea2bb-67d4-0310-8558-a5799e421b66
2005-01-09 21:11:49 +00:00