- Fix tslint error in version.php
- Add License file
- Coding style fixers (#112)
- rename type to method to match new harness contract (#110)
- Increase Code coverage (#108)
- Add Linter to CI (#109)
- When the message size is larger than 32KB, return FALSE instead of throw exception
- Make writeKey required as a flag in the CLI instead of as an environment variable.
- Verify message size is below than 32KB
- Run E2E test when RUN_E2E_TESTS is defined
- Add Rfc 7231 compliant user agent into request header
- Add backoff for socket communication
- Implement response error handling for POST request and add backoff (in LibCurl)
- Change environment to precise as default
- CI: Make PHP 5.3 test to be run in precise environment
- Make host to be configurable
- Add anonymousId in group payload
- Always set default context.
- Use require_once() instead of require(). Fixes issue where seperate plugins in systems such as Moodle break because of class redeclaration when using seperate internal versions of Segment.io.
- Adding context.library.consumer to all PHP events
- libcurl consumer will retry once if http response is not 200
- update link to php docs
- improve portability and reliability of Makefile accros different platforms (#74)
- remove the extra -e from echo in makefile
- use a more portable shebang
- adding a simple wrapper CLI
- explicitly declare library version in global scope during creating new release to allow using library with custom autoload (composer for example)
- Introducing libcurl consumer
- Change Consumer to protected instead of private
- adding global
- fix version
- Adding release script, fixing version
- Pass back ->flush() result to allow caller code know if flushed successfully
- core: fix error name
- send: make send.php executable
- socket: adding fix for FIN packets from remote
- instead of using just is_int and is_float for checking timestamp, use filter_var since that can detect string ints and floats - if its not a string or float, consider it might be a ISO8601 or some other string, so use strtotime() to support other strings
- socket open error checking fix
- Fix batch size check before flushing tracking queue
- Fix bug in send.php
- removing outdated test
- enabling ssl by default
- socket: bump timeout to 5s
- formatTime: use is_* and fix to support floats
- send.php: fix error handling
- client: fix float timestamp handling
- Add updated PHP version requirement for @phpunit
- add .sentAt
- support microtime
- Update README.md
- drop the io
- fix: empty array for traits and properties
- fix: identify(), group() with empty traits
- suppressing logs generated when attempting to write to a reset socket [j0ew00ds]
- Added PHP 5.6, 5.5 and HHVM to travis.yml [Nyholm]
- fixing validation for Segment::page() calls
- updating send.php error message
- fix send.php to exit gracefully when there is no log file to process
- update to work with new spec
- add ./composer.phar validation test
- better send.php output
- add validation
- use strtotime in send.php and support php5.3
- rename Analytics to Segment
- add send.php to replace file_reader.py
- add new methods implementation and tests
- implement spec changes
- change tests to reflect spec changes
- test changes:
- Fix typo in composer.json
- adding fix for socket requests which might complete in multiple fwrites
chmod
the log file to 0777 so that the file_reader.py can read it
- Check for status existing on response thanks to @gmoreira
- Check for empty secret thanks to @mustela.
- Make file_reader rename to a file in the same directory as the log file thanks to @marshally
- Fix for $written var on connection error thanks to @gmoreira
- Adding fix to file_reader alias
- Full Autoloading an PEAR naming by Cethy
- Adding alias call
- Adding try-catch around fwrite cal
- Adding file_reader.py fix
- Rename analytics.php -> Analytics.php to allow autoloading by Cethy
- Trailing whitespace/end php tags fix by jimrubenstein
- Support fwrite retry on closed socket.
- Adding check for count in properties and traits length.
- Adding default args for properties
- Enabling pfsockopen for persistent connections
- Making socket default
- Updating consumer class to use shared functions.
- Removed fork consumer, renamed fork_queue to fork_curl.
- Adding fork consumer
- Adding fork_queue consumer
- Setting fork_queue consumer to be the default.
Initial version