- 11 Mar, 2016 1 commit
-
-
Manfred Kutas authored
DeviceManager for policy name. Disabled PasswordRecoveryEnabled policy in default section of policies.ini. Released under the Affero GNU General Public License (AGPL) version 3.
-
- 10 Mar, 2016 3 commits
-
-
Manfred Kutas authored
Released under the Affero GNU General Public License (AGPL) version 3.
-
Manfred Kutas authored
Streamer to return variable names of mapping. Released under the Affero GNU General Public License (AGPL) version 3.
-
Manfred Kutas authored
Released under the Affero GNU General Public License (AGPL) version 3.
-
- 09 Mar, 2016 1 commit
-
-
Manfred Kutas authored
loaded policies and build hash on the joined policies. Comment the policies. Released under the Affero GNU General Public License (AGPL) version 3.
-
- 03 Mar, 2016 2 commits
-
-
Manfred Kutas authored
Change Exception message to notify that policies changed. Released under the Affero GNU General Public License (AGPL) version 3.
-
Manfred Kutas authored
get the policy name in zarafa backend. Released under the Affero GNU General Public License (AGPL) version 3.
-
- 02 Mar, 2016 2 commits
-
-
Manfred Kutas authored
devicedate with the current policies in ProvisionRequired call. Released under the Affero GNU General Public License (AGPL) version 3.
-
Manfred Kutas authored
Provisioning load policies from the policies.ini. Added check if default policies exist. Extended backend to load custom policies. Released under the Affero GNU General Public License (AGPL) version 3.
-
- 24 Feb, 2016 1 commit
-
-
Sebastian Kummer authored
Merge pull request #150 in ZP/z-push from bugfix/ZP-641-filestatemachine-backend-storage-file to develop * commit '5c7a4b19': ZP-641 Delete file only if it exists. ZP-641 CleanStates() has to stop after deleting one BS file. ZP-641 call GetState() with the "do not clean" flag, changed CleanStates() to delete exact bs files when being calles without uuid for bs type (needs better fixing in ZP-835).
-
- 23 Feb, 2016 6 commits
-
-
Sebastian Kummer authored
Released under the Affero GNU General Public License (AGPL) version 3.
-
Sebastian Kummer authored
* commit '52162fde': ZP-797 Fixed WBXML class constant. ZP-797 GetAttachment use fpassthru (more efficient). ZP-797 WBXMLDecoder is handling ActiveSync WBXML, which is only a subset of WBXML. ZP-797 WBXML{En,De}coder: use const instead of define for WBXML_* constants. ZP-797 WBXMLDecoder->getOpaque() use stream_get_contents(). ZP-797 WBXMLDecoder->GetPlainInputStream() use stream_get_contents(). ZP-797 WBXMLDecoder->_getToken() speedup. ZP-797 WBXMLDecoder->getTermStr(): use stream_get_line(). ZP-797 WBXMLEncoder remove possible endless loop/improve multipart handling. ZP-797 WBXMLEncoder remove _outlog / use output buffering. ZP-797 WBXMLDecoder remove inlog / reread php://input.
-
Sebastian Kummer authored
Merge pull request #156 in ZP/z-push from bugfix/ZP-794-use-safeputcontents-to-ensure-atomacy-2 to develop * commit 'f34003c0': ZP-794 Remove now useless call to FixFileOwner. ZP-794 Call FixFileOwner in SafePutContents.
-
Sebastian Kummer authored
Merge pull request #157 in ZP/z-push from bugfix/ZP-645-php-5.4-obstart-needs-an-extra-flag-revert to develop * commit '749e44a8': ZP-645 Revert "PHP 5.4+ ob_start() needs an extra flag to allow".
-
Sebastian Kummer authored
Released under the Affero GNU General Public License (AGPL) version 3.
-
Sebastian Kummer authored
Released under the Affero GNU General Public License (AGPL) version 3.
-
- 22 Feb, 2016 13 commits
-
-
Etienne CHAMPETIER authored
Released under the Affero GNU General Public License (AGPL) version 3.
-
Etienne CHAMPETIER authored
Released under the Affero GNU General Public License (AGPL) version 3. let's cleanup and remove some (non working) code for exemple we do not handle attributes see also: http://msdn.microsoft.com/en-us/library/hh475626%28v=exchg.80%29.aspx http://www.w3.org/1999/06/NOTE-wbxml-19990624/ https://android.googlesource.com/platform/packages/apps/Exchange/+/master/src/com/android/exchange/adapter/Parser.java
-
Etienne CHAMPETIER authored
Released under the Affero GNU General Public License (AGPL) version 3. also move them inside WBXMLDefs
-
Etienne CHAMPETIER authored
Released under the Affero GNU General Public License (AGPL) version 3.
-
Etienne CHAMPETIER authored
Released under the Affero GNU General Public License (AGPL) version 3.
-
Etienne CHAMPETIER authored
Released under the Affero GNU General Public License (AGPL) version 3. When importing 1340 contacts on an android, this is called 41437 times. With this small optimisation, we save 0,44s (2,47 -> 2,03)
-
Etienne CHAMPETIER authored
Released under the Affero GNU General Public License (AGPL) version 3. while importing 1340 contacts on an android 4.4, getTermStr was called 12021 times (and getByte 216005 times) This simplify greatly the code and improve performance
-
Etienne CHAMPETIER authored
Released under the Affero GNU General Public License (AGPL) version 3. (if $bp isn't a ressource, !feof($bp) === true ...) check $bp with is_ressource() fclose $bp use stream_copy_to_stream (more efficient)
-
Etienne CHAMPETIER authored
Released under the Affero GNU General Public License (AGPL) version 3. we already buffer 1M of output, so we don't need _outlog, which is an always on debug code
-
php://inputEtienne CHAMPETIER authored
Released under the Affero GNU General Public License (AGPL) version 3. With POST request, we can read multiple times php://input, this permit us to drop "inlog", which is an "always on" debug code (introduced in ZP-608 / bbfe372c) see Notes in http://php.net/manual/en/wrappers.php.php#wrappers.php.input see also http://stackoverflow.com/a/3402343 we keep readRemainingData() as it's used in printwbxml.php here is my test: <?php // tested working version: // 5.6.15/fpm-fcgi (fedora22/php-fpm) // 5.6.5/fpm-fcgi (centos6 php56 scl/php-fpm) // 5.5.21/fpm-fcgi (centos6 php55 scl/php-fpm) // 5.3.29/fpm-fcgi (centos6 php53 ius/php-fpm) // 5.4.45-0+deb7u2/apache2handler // 5.3.28/apache2handler (rhel6 php53 ius/apache) if ($_SERVER['REQUEST_METHOD'] !== 'POST') { echo 'not a post request!'; echo '<br>'.PHP_EOL; echo 'curl --data "test POST" http://<server>/test-multi-read-input.php'; echo PHP_EOL; exit(); } function readinput($close = true) { $input = fopen('php://input', 'r'); $content = stream_get_contents($input); if ($close) fclose($input); return $content; } echo "Reading multiple time php://input "; if (readinput() === readinput() && readinput(false) === readinput(false)) { echo "WORKS \o/"; } else { echo "DOESN'T WORK :("; } echo PHP_EOL; echo 'Version: '.PHP_VERSION.'/'.PHP_SAPI; echo PHP_EOL; echo PHP_EOL; echo "Input was: ".readinput(); echo PHP_EOL;
-
Etienne CHAMPETIER authored
Released under the Affero GNU General Public License (AGPL) version 3. This reverts commit 074cc4b9. extra flag is not needed as it's the default value
-
Etienne CHAMPETIER authored
Released under the Affero GNU General Public License (AGPL) version 3. SafePutContents now takes care of the FixFileOwner call. Signed-off-by:Etienne CHAMPETIER <champetier.etienne@gmail.com>
-
Etienne CHAMPETIER authored
Released under the Affero GNU General Public License (AGPL) version 3. This prevents ownership/rights problem when running as root Signed-off-by:Etienne CHAMPETIER <champetier.etienne@gmail.com>
-
- 18 Feb, 2016 11 commits
-
-
Sebastian Kummer authored
Merge pull request #153 in ZP/z-push from bugfix/ZP-839-z-push-top-writes-over-several-lines to develop * commit 'a363aa08': ZP-839 Get collection count from SyncCollections, show 'no changes' only if nothing was queued (e.g. new exporter registered), fixed typo showing exceptions. ZP-839 One line z-push-top announcement for multi-folder sync.
-
https://stash.z-hub.io/scm/zp/z-pushSebastian Kummer authored
Merge branch 'develop' of https://stash.z-hub.io/scm/zp/z-push into bugfix/ZP-839-z-push-top-writes-over-several-lines Conflicts: src/lib/request/sync.php
-
Sebastian Kummer authored
Merge pull request #154 in ZP/z-push from bugfix/ZP-840-ping-loop-if-exporter-state-is-not to develop * commit 'a1541482': ZP-840 Rename exception variable. ZP-840 Renamed exception variable. ZP-840 Catch StateInvalidException when in partial mode. ZP-840 Do not throw StateNotFoundException as this messes up Ping. Just treat it as StateInvalid (which is true, FD indicates a state that is not available), do not catch both types in Ping as only StateInvalidException will be thrown.
-
Sebastian Kummer authored
Released under the Affero GNU General Public License (AGPL) version 3.
-
Sebastian Kummer authored
Released under the Affero GNU General Public License (AGPL) version 3.
-
Sebastian Kummer authored
* commit '0bddbc9b': ZP-832 Do comparing only if the folder already has a folder stat, but still get the newFolderStat even if the folder has none yet.
-
Sebastian Kummer authored
still get the newFolderStat even if the folder has none yet. Released under the Affero GNU General Public License (AGPL) version 3.
-
Sebastian Kummer authored
Released under the Affero GNU General Public License (AGPL) version 3.
-
Sebastian Kummer authored
treat it as StateInvalid (which is true, FD indicates a state that is not available), do not catch both types in Ping as only StateInvalidException will be thrown. Released under the Affero GNU General Public License (AGPL) version 3.
-
Sebastian Kummer authored
if nothing was queued (e.g. new exporter registered), fixed typo showing exceptions. Released under the Affero GNU General Public License (AGPL) version 3.
-
https://stash.z-hub.io/scm/zp/z-pushSebastian Kummer authored
Merge branch 'develop' of https://stash.z-hub.io/scm/zp/z-push into bugfix/ZP-839-z-push-top-writes-over-several-lines
-