3426 Commits

Author SHA1 Message Date
Émile Morel
af5cdfd46d ldap group import: unset group after import 2016-12-08 15:08:38 +01:00
Florian Schlichting
1548893229 fix ?add_member when PATH_INFO is not set (closes #96, thanks Thomas Zell!) 2016-12-04 01:07:23 +01:00
Florian Schlichting
9a4589123e CreateDefaultRelationships is not defunct 2016-12-03 00:20:54 +01:00
Christoph Anton Mitterer
70bd8cf0ce handle failing version check when allow_url_fopen is set to false (closes: #57) 2016-12-02 21:57:24 +01:00
Florian Schlichting
a4ba019397 make sure we dont have documentation suggesting that $c->something can be used without assigning a value 2016-12-02 00:46:58 +01:00
Florian Schlichting
0901fd2756 Remove remaining references to $c->local_tzid (fixes #35) 2016-12-02 00:24:53 +01:00
Florian Schlichting
93ea4e47f6 separate rebuild-translations and building locale/
'make' (or 'make all', if one is interested in the apidoc) should now
do everything needed to run from a git checkout. At the same time,
it no longer rebuilds all translations (xgettext run etc.). This
can be done with 'make translations'.
2016-12-01 21:02:53 +01:00
Florian Schlichting
b1ae485973 document the setup that will get regression-suite to pass
The other suites don't pass for me at the moment.
2016-12-01 20:29:28 +01:00
Florian Schlichting
86447e31fe Set the same default timezone to Database and PHP 2016-12-01 19:17:22 +01:00
Florian Schlichting
40ff70e11f freebusy-functions.php: regular debug logging 2016-11-30 23:03:18 +01:00
Florian Schlichting
74e6f8bec9 global $c is not used in this function
delete it, as well as a lot of extra whitespace
2016-11-30 23:03:12 +01:00
Florian Schlichting
b7d1ad513e DAVPrincipal: delete funny tabs and other unusual whitespace 2016-11-30 23:03:06 +01:00
Florian Schlichting
fd1fce90c3 DAVPrincipal: fix logging labels 2016-11-30 23:02:52 +01:00
Florian Schlichting
d140547bc0 replace nonexistant start_here.php link with something helpful 2016-11-30 22:56:52 +01:00
Florian Schlichting
b5cc4d151b install davical-cli, and remove empty .gitignore file 2016-11-30 22:56:52 +01:00
Frank Steinberg
136fc88c12 Fixed some logging labels. 2016-09-15 00:40:46 +02:00
Florian Schlichting
bb8ae530f5 a helpful comment
(and a lot of whitespace cleanup)
2016-09-14 23:46:41 +02:00
Florian Schlichting
f0c6d94d1a fix typo 2016-09-14 23:32:12 +02:00
Florian Schlichting
38cc068d46 Merge branch 'timestamp' into 'master'
Handle empty "modified" ldap mapping

add the epoch origin modification date if the "modified" attribute is either
empty in the config file or is not returned by the request.

Refs #99 

See merge request !33
2016-09-14 21:24:18 +00:00
Benoît Bleuzé
970b61ac14 Handle empty "modified" ldap mapping
add the epoch origin modification date if the "modified" attribute is either
empty in the config file or is not returned by the request.
2016-09-14 23:18:29 +02:00
Florian Schlichting
6ac89a6315 comment in existing email scheduling code
this reverts 9df80fbde19e561699af33b591e4fdb6c7bbf9cf
fixing the crash by requiring EMail.php (from AWL)

Note: this isn't called when inviting people yet, only when replying to
an external organizer or when cancelling a meeting with external
attendees. Actually sending these emails instead of just logging them
also requires setting $c->iMIP->send_email = 1;
2016-09-13 22:14:41 +02:00
Florian Schlichting
41f6267353 davical-cli: add link to wiki page 2016-07-15 00:17:56 +02:00
Jim Fenton
2aba60d9e4 Merge branch 'prometheus-metrics-database-1.3.2' into 'master'
Prometheus metrics (and  database 1.3.2)

This adds support for a /metrics.php endpoint which can be scraped by Prometheus for collecting monitoring and performance data.  The metrics can work in two different ways.

Firstly, they can work as a simple set of ever-increasing counters.  This is the basic mode, using PostgreSQL database sequences for the underlying data, and hence the new database version associated here.

Alternatively, they can work with memcache to build a more detailed performance picture with more advanced metrics about requests and processing.

If you enable memcache enough to get metrics, you will also get detailed result caching in DAViCal, which seems to work well, but if strange things start to happen that disappear when cache is disabled then it would be great if you could file a detailed bug report.

See merge request !32
2016-07-14 21:10:13 +00:00
Andrew McMillan
c5c0421caf Add /metrics.php to be scraped by Prometheus for monitoring. 2016-06-22 23:53:22 +01:00
Andrew McMillan
1ab66a70b5 Some database changes for server-side attendee handling. 2016-06-22 23:44:10 +01:00
Andrew McMillan
7c53722535 Ignore some local cruft. 2016-06-22 23:41:10 +01:00
Andrew McMillan
b85f8e79fe Fail better!
There's a long-standing annoyance about catching errors in the early
stages of startup - sometimes they seem to disappear nowhere and yet
nothing works.  This fixes at least part of that.
2016-06-22 23:26:24 +01:00
Andrew McMillan
aafd81ffd7 Remove array slice reference on method return value.
Eclipse complained about the syntax, and since it was the only complaint
it had I thought it worth dealing with :-)
2016-06-22 23:24:44 +01:00
Andrew McMillan
9f180c9b8f Sending HTTP headers for TODO seems a bit passive-aggressive! 2016-06-22 23:23:45 +01:00
Andrew McMillan
083fc6dd3b getCacheInstance() is the canonical way to get a reference to the cache. 2016-06-22 23:22:26 +01:00
Andrew McMillan
9997f3a912 Enforce ordering on sample data for more consistent test results. 2016-06-22 23:12:23 +01:00
Andrew McMillan
b73ad6ae19 Regression result changes with calendar-free-busy-set disabled.
The calendar-free-busy-set functionality is old and superseded.
2016-06-22 23:11:40 +01:00
Andrew McMillan
208173043a Update to regression test results for PROPPATCH bugfix. 2016-06-22 23:10:20 +01:00
Andrew McMillan
8bb5e72c7b Updated regression test results from updates to contenttype 2016-06-22 23:08:56 +01:00
Andrew McMillan
b7cc11a329 The str_ireplace() function is not always present. 2016-06-22 23:04:52 +01:00
Andrew McMillan
50d0de4992 Disabling slow query threshold nag for batch job. 2016-06-22 23:01:46 +01:00
Andrew McMillan
2a202c77a2 Ensuring we delete vigorously from the cache for DELETE is ++important! 2016-06-22 22:41:05 +01:00
Andrew McMillan
eb80496511 Provide some more useful error details in various PUT failure situations. 2016-06-22 22:36:06 +01:00
Andrew McMillan
0f41ade035 Bugs pointed out by PHPStorm. 2016-06-22 22:27:16 +01:00
Egoitz Aurrekoetxea
607afb824c Add scripts/davical-cli, an example of a command-line interface for administrative tasks in a large-scale multi-domain setup 2016-06-13 22:12:20 +02:00
Florian Schlichting
0281a8d619 adapt to AWL function rename get_fields() -> awl_get_fields() 2016-06-13 22:02:47 +02:00
Florian Schlichting
928ec35ae1 Merge branch 'i92-ignore-external_refresh' into 'master'
Pass in the refresh interval to fetch_external

If we don't pass in the refresh interval then a default of 1 hour is used, this
isn't really what is intended. (Fixes #92)

See merge request !22
2016-06-02 19:50:19 +00:00
Florian Schlichting
dc4a19e5b1 always regenerate api docs, remove generated files from git 2016-06-01 22:46:46 +02:00
Nishanth Aravamudan
56d4edca87 Update to PHP7.0 naming 2016-06-01 22:46:38 +02:00
Florian Schlichting
fee15797f7 Check for PHP XML support in setup.php (see #91) 2016-06-01 22:40:46 +02:00
Florian Schlichting
482850e6b2 Add missing dependency on php-xml, which is a separate package from PHP 7 (fixes #91) debian/1.1.4-3 2016-06-01 22:20:00 +02:00
Andrew Ruthven
35f656f58b Pass in the refresh interval to fetch_external
If we don't pass in the refresh interval then a default of 1 hour is used, this
isn't really what is intended.
2016-05-19 15:24:39 +12:00
Florian Schlichting
348532e13b Update to work with both php5 and php7, mainly based on the Ubuntu patch debian/1.1.4-2 2016-04-19 21:53:29 +02:00
Florian Schlichting
658daa6d60 release 1.1.4 r1.1.4 2016-01-11 23:57:09 +01:00
Florian Schlichting
c510a48aaa allow BuildDeadPropertyXML to continue on namespace errors (#9) 2016-01-11 23:38:54 +01:00