This repository was archived by the owner on May 11, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Resolve #119 (wrong email in license text) * develop branch to depend on develop branch * Update dependency situation * fixing stability * add release script * fix release script * Added release notes for 1.1.3 * fix release script * fix release script * fix release script * add YEY message for future releases ;) * fix broken URL link * rrrgh!!! * drop php 5.5 and upgrade phpunit * Added release notes for 1.1.4 * minmor change in release script * Apply fixes from StyleCI * Added release notes for 1.1.5 * Update Expression.php * Apply fixes from StyleCI * Update Expression.php * add php 7.2 testing * Add support for mysql://user:pass@host/db (#120) * Add verification for foreign objects inside where() values (#122) * Add verification for foreign objects inside where() values * Apply fixes from StyleCI * Feature/oracle support (#124) * Reference implementation (untested) * Apply fixes from StyleCI * bugfix * Apply fixes from StyleCI * Cleanup and split up support for regular an 12c oracle * ok, some first results * Apply fixes from StyleCI * Merge * Add more tests * Apply fixes from StyleCI * add 2 more tests * add test for field alias escaping * fix issues around rownum aliasing * add common methods into common parent class * Apply fixes from StyleCI * added clarification why we only use "NEXT" * typo * fix FIRST/NEXT in tests * - introduce Expression::escape_char - make " as default escape char - make MySQL as exception to standard SQL escaping not vice versa - clean up code duplication in Oracle classes - change tests accordingly * more duplicated code * For consistency with table render move field_noalias into generic Query class. * few fixes for oracle 12c limit * Apply fixes from StyleCI * happy with implementation * address Romans review * Fix expr(). Basically it's all about expr() method which looses it's parent class and Query_MySQL->expr() for example never know that it should return Expression_MySQL not Expression class instance. In case we have Connection (not PDO) then we can get that info from Connection, because Connection class is/should be the one responsible for that. If we don't have Connection, but only PDO, then wehave to make "smart" quess (anyway that's not worse than it's now). * Apply fixes from StyleCI * spellcheck and wrapping :) (#125) * fix Limit for Oracle <12 * fix oracle test * Create a driver for postgresql * Code style fix * Code style fix * Enable testing in postgresql on travis * Postgresql doesn't support REPLACE. * Fix: When creating database for postgresql, identifiers containing - should be quoted * Fix: SQL does not guarantee the order of retreived rows unless explic… (#131) * Fix: SQL does not guarantee the order of retreived rows unless explicitly ordered * Fix code-style * Feature/connection oracle (#132) * * new connection for Oracle <12 * new connection for Oracle 12 (not fully ok yet) * Apply fixes from StyleCI * to much "return" statements * Fix tests to run on both mysql and postgresql * Use lowest supported version of postgresql to test against. (9.3). Default on travis is 9.1 it seems * With debug-info to track error when run on travis ... * Fix testExpression() to work on both mysql and pgsql. * Apply fixes from StyleCI * typo fix * * fix bug with uppercase field names * refactor and fix lastInsertID * fix date format issue for Oracle * fix number format issue for Oracle * move PgSQL connection to separate class for consistency * Apply fixes from StyleCI * don't use select max(id) for now. * Added release notes for 1.2.0 * fix expr() * rollback * proper fix for expr() * Fix: If is already an instance of PDO, don't just assume mysql * Fix: If a \PDO instance is passed to connect(), setup according to database type, and don't just assume it to be mysql * Fix: Missing break * Make a separate test-class for when using PDO-connections to connect() * Fix code style * Fix style * resolve #136 * Added release notes for 1.2.1 * implement CASE and add full test coverage * add one more test case and documentation * Apply fixes from StyleCI * rename method else() to otherwise() because PHP 5.6 restricts to use reserved names in method name. * * implement normalizeDSN() * Connection now use normalizeDSN() * test coverage P.S. normalizeDSN() will also be used in \atk4\data\Persistence to avoid code duplication between repos. * Added release notes for 1.2.2 * * user and password arguments should take precedence * and dsn string should still be normalized * make reasonable defaulcts * * use only core classes for testing * with one exception (for now) PHPUnit_Extensions_Database_TestCase * Added release notes for 1.2.3 * Update README.md * add resource support (#142) * more informative exception * support LOB fields - uzse bindParam + 4th parameter trick * Apply fixes from StyleCI * Added release notes for 1.2.4 * fix Oracle session timestamp and date format * Remove restriction for custom ordering keyword because some DB engines like Oracle can have order statement like this: ORDER BY name DESC NULLS LAST (#145) * add support for port number in DSN connection string * support DSN as object * Apply fixes from StyleCI * fix compatibility with php5 * add test for port number * make args public (#147) * Added release notes for 1.2.5 * fix PHPDoc comments * add comments, make code consistant * update docs * code coverage * travis fix * coverage * Update .travis.yml * Update .travis.yml * Update phpunit.xml * Update phpunit-mysql.xml * Update phpunit-pgsql.xml * proper method name * cleanup * Update README.md * Update README.md * Update .travis.yml * Update .travis.yml * Update .travis.yml * Update .travis.yml * Add support for groupConcat() (#149) * Add support for groupConcat() * Apply fixes from StyleCI * adds comments * add tests * Apply fixes from StyleCI * add docs * update docs * add test for expr() * re-add tests (Random) which I renamed (#150) * re-add tests (Random) which I renamed * Apply fixes from StyleCI * fix DSN normalization for port * fix test * only normalize port if it's passed as part of URL * add interface for ResultSet - something ATK Data can return from action() * whops, forgot file * Apply fixes from StyleCI * add documentation for $q->options() (#153) * Added release notes for 1.2.6 * add Connection->driver property (#157) * Use github actions for DSQL (#162) * wip * wip * wip * wip * wip * wip * wip * Apply fixes from StyleCI * trigger bulid * wip * wip * Improve release process - create PR automatically * Update README.md * Update README.md * Feature/for data fix 496 (#165) * correct condition on empty array value (for atk4/data issue 496), fix test-cases * Apply fixes from StyleCI * Update unit-tests.yml * fix #159 * implement `exprNow()`, fix #158 * Apply fixes from StyleCI * add docs * fix comment * one step closer to have lastInsertID for PostGre * update composer * Update release-drafter.yml * Update bundler.yml * Update composer.json * Update unit-tests.yml * Feature/table name dots (#169) * add test * Apply fixes from StyleCI * implements template tags `{{...}}` for soft escape (#170) * implements template tags `{{...}}` for soft escape * add doc * Update release-drafter.yml * Update release-drafter.yml * WITH implementation (#171) * Implements WITH. fix #117 * Apply fixes from StyleCI * add proper condition * Update unit-tests.yml * Update unit-tests.yml * Update unit-tests.yml * Convert scalar class names to ::class (#175) * Convert scalar class names to ::class * Fix segfault * Use null coalescing operator instead of isset (#177) * Setting release dependencies Co-authored-by: Romans Malinovskis <[email protected]> Co-authored-by: DarkSide <[email protected]> Co-authored-by: Romans Malinovskis <[email protected]> Co-authored-by: Imants Horsts <[email protected]> Co-authored-by: Mads Lie Jensen <[email protected]> Co-authored-by: Michael Voříšek <[email protected]> Co-authored-by: GitHub Action <[email protected]>
- Loading branch information