Commit Graph
3498 Commits
Author SHA1 Message Date
Jan Losinski e97c9674e9 Convert array keys for $_SERVER to uppercase
It seems to be the case, that array indicies in $_SERVER are always
uppercase. Sadly I could not find any documentation of this but at
least with mod_php it is the case. Also a extensive search on github
projects seems to support this thesis.

On my installation the 'X-FORWARDED-PROTO' is even then uppercase when
its mixed case in the Header provided by the reverse proxy.

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2017-04-13 03:00:36 +02:00
Scott Balneaves 8313f765ce Only list active principals in grant selection
modified as per Andrew McMillan's suggestion
2017-04-07 15:09:53 +02:00
Scott Balneaves 8052111635 modify hide_older_than logic to allow through recurring events (fixes #103, !36) 2017-04-07 15:08:10 +02:00
Florian Schlichting 1c174f4b78 fix sync of deleted events when hide_todo is set (fixes #100)
thanks Jerome Borsboom @hinotori
2017-04-07 14:29:42 +02:00
Florian Schlichting 74828c8c60 Update testsuite for changes related to #112 (4cf6628) 2017-04-07 14:17:00 +02:00
Florian Schlichting 4cf6628ea5 cannot-modify-protected-property should be used with 403 Forbidden, not 409 Conflict
see the end of https://tools.ietf.org/html/rfc4918#section-16 (WebDAV,
Precondition/Postcondition XML Elements)
2017-03-29 11:22:44 +02:00
Florian Schlichting fb4f80d4c1 do not put two sets of angle brackets around cannot-modify-protected-property error tag (fixes #112) 2017-03-29 11:20:35 +02:00
Florian Schlichting f1ca12bbe9 Fix display of deactivated users after LDAP sync to not include those in $c->do_not_sync_from_ldap
...thus reducing the rate of heart attacks in DAViCal admins.

Also: ignore empty user objects that my LDAP server seems to generate.
2017-03-27 16:56:34 +02:00
Florian Schlichting 7ccc7c4491 release 1.1.5 r1.1.5 2017-01-23 23:04:46 +01:00
Florian Schlichting e50b366d46 Override erroneous lintian errors 2017-01-23 23:04:09 +01:00
Florian Schlichting 940c522aab Mark davical-doc "Multi-Arch: foreign" as suggested by the Multiarch hinter 2017-01-23 23:04:05 +01:00
Florian Schlichting 3702cac409 Use jdupes to remove duplicate files in davical-doc 2017-01-23 23:04:01 +01:00
Florian Schlichting 3ca2801059 Install example configs as /etc/davical/config.php and /etc/apache2/sites-available/davical.conf 2017-01-23 23:03:57 +01:00
Florian Schlichting 0f28e186c4 Make extra sure that the orig-source tarball does not contain any cruft 2017-01-23 23:03:52 +01:00
Florian Schlichting a7dd4372b7 Bump dependency on libawl-php to 0.57 2017-01-23 23:03:47 +01:00
Florian Schlichting 129e962050 Update ChangeLog and CREDITS 2017-01-23 23:03:11 +01:00
Florian Schlichting 4f72fdfea1 Bump davical version to 1.1.5, DB is at 1.3.2 2017-01-23 23:02:56 +01:00
Florian Schlichting caaad9ce85 Document remaining config settings for which there are defaults, as well as the very useful skip_bad_event_on_import 2017-01-23 22:59:35 +01:00
Florian Schlichting dc9edfcfda Update regression suite for gratuitous whitespace changes 2017-01-17 23:40:54 +01:00
Florian Schlichting 2a84694331 Unbreak locale selection in admin interface
http://php.net/manual/en/function.setlocale.php says "Different systems
have different naming schemes for locales." This seems to be true for
platforms (eg Win vs. Linux), but on Debian AFAIR locales were always at
least two-part (de_DE), never just one (de). This seems to have been
broken in 504651a3, likely by mistake.

Also, switch locale immediately, even before writing to the database.

BTW, what happens when system default locale is configured to e.g. fr_FR
and the user selects "English" - does that work?
2017-01-17 23:40:26 +01:00
Florian Schlichting 21b5f8bacf Update apache-davical.conf adding .well-known rewriting 2017-01-17 23:39:53 +01:00
Florian Schlichting 6edd828803 Fix ldapDriver instantiation 2017-01-17 23:36:05 +01:00
Marc 364bbd1df5 allow admins to manually toggle the uniqueMember fix via config (fix #102) 2017-01-17 23:30:59 +01:00
Cyril Giraud ee0e5e6656 Update translations from Transifex (French + some trivial updates in otherZZ languages). 2017-01-15 21:51:57 +01:00
Cyril Giraud 4a4f578c49 PHP strings extraction with rebulid-translations.sh + tx push -s -t 2017-01-14 23:40:36 +01:00
Florian Schlichting 1335a6117b UI: create internal and external bindings (closes: #90) 2017-01-11 00:13:52 +01:00
Florian Schlichting 93bd6073b1 creating a DAVResource from "/ " loops a lot 2017-01-11 00:10:33 +01:00
Florian Schlichting 0ca04aaa68 UI: do not show tickets unless user has write access; they are like passwords
Same with external URLs

Also restrict Delete buttons on incoming binds to Admins: these binds
will usually live in other people's namespace, which we should not
alter, and may be restricted to default privileges (e.g. freebusy)
anyway
2017-01-11 00:10:21 +01:00
Florian Schlichting ab7dad057d UI: use ExtraRowFormat to fix tooltip on action rows / buttons 2017-01-10 22:14:42 +01:00
Florian Schlichting 727fe290b4 make clean should also clean regression testing artefacts 2017-01-10 22:14:36 +01:00
Florian Schlichting 3b35350e8b Make sure all configuration settings described at https://wiki.davical.org/index.php/Configuration/settings are documented in the example config files (cf. #76) 2017-01-08 22:18:07 +01:00
Florian Schlichting 09d1f67b39 Bump years on debian/copyright 2017-01-08 16:39:03 +01:00
Florian Schlichting 2c11535eb0 use secure URIs where possible 2017-01-08 15:48:52 +01:00
Florian Schlichting fd36a1f5a5 destroy LSID cookie when actively hitting "Logout" (fixes #56, Debian #703138) 2017-01-08 02:12:22 +01:00
Florian Schlichting 93d3b6daba remove logout button when the webserver does auth, or use a configured logout URL (fixes #67, Debian #703130) 2017-01-08 02:08:13 +01:00
Florian Schlichting 202542dc1b updates for bulk addressbook import 2017-01-07 02:17:29 +01:00
Florian Schlichting e245b8d1fb support for bulk addressbook import (thanks Jorge López Pérez) - fixes #74 2017-01-06 16:06:11 +01:00
Florian Schlichting 4d689f8539 Create configured default relationships from all drivers as well as for internal auth (closes: #75)
previously, this was only usable with the LDAP driver
2017-01-06 16:06:11 +01:00
Florian Schlichting 2c0c65d08a add optional support for X-Forwarded-Proto etc (closes: #87)
Modify the relevant $_SERVER variables directly, as we're using them in
various places in davical and awl.
2017-01-06 16:06:11 +01:00
Florian Schlichting 55d15d2eed use https for retrieving current_davical_version (fixes #1) 2017-01-06 16:06:11 +01:00
Florian Schlichting ad763744f1 fix a typo, add a debug statement
WriteAddressbookMember doesn't exist, but as far as I can see it is only
referenced from WriteMember, which itself isn't used anywhere...
2017-01-06 15:04:59 +01:00
Florian Schlichting 78669a3078 delete obsolete entries when updating addressbooks as external resources (see comment on !34) 2017-01-05 11:55:15 +01:00
Florian Schlichting 81e404264f Merge branch 'addressbook_sync_token' into 'master'
Allow updating addressbooks as external resources. (Closes #93)

Closes #93

See merge request !34
2017-01-05 10:31:11 +00:00
Florian Schlichting f8ee381840 Add a test case for /user/calendar-proxy-read/ with return=minimal
and update 0525-iCal-PROPFIND now that we return a result for proxy
group-member-set
2017-01-04 22:32:58 +01:00
Florian Schlichting c71bf2511e fix expand-property "group-member-set" on calendar-proxy-write URL (closes: #88) 2017-01-04 22:32:58 +01:00
Florian Schlichting e7c43a0689 fix infinite loop when finding delegates (closes #48) 2017-01-04 20:52:03 +01:00
Florian Schlichting 11c56c85b1 sort example-config.php, add "Scheduling" section and integrate imap_pam_conf_php.txt 2017-01-02 22:13:40 +01:00
Florian Schlichting adce3f48a9 provide a .ics download link in collection view and document $c->get_includes_subcollections 2017-01-02 21:57:41 +01:00
Florian Schlichting 10ed3ffc84 misc changes to get more tests to pass
Status: binding almost passes, carddav and scheduling have some issues,
timezone seems hopeless (dependency on remote URL that is 404)
2017-01-01 20:46:36 +01:00
Florian Schlichting 4ef5730bef Restore-Database.result: error setting plpgsql COMMENT and lots more setval in dump 2017-01-01 20:46:36 +01:00