1
0
mirror of synced 2024-12-13 22:56:04 +03:00
Commit Graph

1622 Commits

Author SHA1 Message Date
Jonathan.Wage
146098c3d6 moved around and initial entry of sluggable code. 2007-11-01 15:15:57 +00:00
Jonathan.Wage
7a43ae4091 Initial entry of sluggable template. 2007-11-01 14:47:23 +00:00
Jonathan.Wage
832a8e5595 Refactored code to less lines. 2007-11-01 14:46:11 +00:00
zYne
39b8a3e3e2 2007-10-30 19:19:53 +00:00
zYne
1d6020c454 fixes #533, using DQL identifier aliases before column names is now optional when selecting from single component 2007-10-30 19:10:18 +00:00
gnat
0695a6ab92 $this->parent doesn't exist 2007-10-30 17:51:33 +00:00
romanb
dc4be22bfe Added missing attribute check to Doctrine_Configurable. Fixes #545. 2007-10-30 16:08:35 +00:00
romanb
dfd15a6068 Introduced ATTR_TBLNAME_FORMAT. Closes #257 2007-10-30 13:30:50 +00:00
zYne
b0c7dce47f fixed record state handling with aggregate values 2007-10-29 23:34:10 +00:00
zYne
486375f844 2007-10-29 22:57:32 +00:00
meus
755316c3fc added tesst for Tokenizer and Search to get them under full coverage. relatex refactorings and coverage reports 2007-10-29 20:25:38 +00:00
meus
53b05c1d4a added tests to get complete coverage of Transaction, RawSQL, AuditLog and Query/Having. Related refactorings. Added some getters to be able to test. Also added coverage report for these changes 2007-10-29 19:50:16 +00:00
bschussek
520f4a1056 fixed: old mapped values were deleted when data was hydrated into an existing record (lazy-loading) 2007-10-29 19:26:22 +00:00
zYne
dc5e0cee32 fixes #515, correlated subqueries with IN operator 2007-10-29 18:04:22 +00:00
zYne
991f456fa4 fixes #514, literal value as the first operand for IN 2007-10-29 17:54:40 +00:00
pookey
c6facf9ea0 reverting previuos commit 2007-10-29 14:36:21 +00:00
pookey
ab6a7c9385 adding docs for Query::reset() method 2007-10-29 14:30:06 +00:00
pookey
f2eb153723 replacing tabs with spaces 2007-10-29 12:22:53 +00:00
phuson
ff7aac8b30 New fix for the check for duplicates between explicitly declared custom relations and autogenerated relations. 2007-10-29 05:47:50 +00:00
phuson
53eb2ea087 revert change because it was breaking something else...needs to think of another way to do this. 2007-10-29 01:07:14 +00:00
phuson
e7f64afb24 Check for duplicates between custom alias relations and auto-generated relations. 2007-10-27 11:09:13 +00:00
ppetermann
de220fa43f found a few bugs when i wanted to use Doctrine_Import_Mysql::listTableConstraints()
fixed code so those problems wont occure. However the method still not works as intended, 
more information see mail at doctrine-dev mailinglist.
Fixed same Problems in other drivers aswell.
2007-10-26 14:56:03 +00:00
meus
eb8b3915fa fixed getRecord/Collection as xml. removed old obtainIdentifiers function and fixed count call 2007-10-26 09:56:31 +00:00
Jonathan.Wage
db10d4a00e Formatting/standards changes. 2007-10-26 04:13:29 +00:00
Jonathan.Wage
4428b51746 Fixed bug with default for boolean values not working properly. 2007-10-25 22:26:25 +00:00
Jonathan.Wage
3e31860edd Troubleshooting why this does not work and I cleaned up the code. 2007-10-25 22:03:59 +00:00
Jonathan.Wage
231b42eb67 Initial entry of timestampable template. 2007-10-25 21:02:06 +00:00
Jonathan.Wage
2ff1dcadc5 Added better support for attributes generation in doctrine records 2007-10-25 21:01:29 +00:00
Jonathan.Wage
872c81cb5a Fix for index generation only generating the last index only. 2007-10-25 17:49:36 +00:00
Jonathan.Wage
6334c5a165 Reversing fix. 2007-10-25 16:02:00 +00:00
Jonathan.Wage
0da6243086 Fixes to model generation. 2007-10-25 15:22:34 +00:00
Jonathan.Wage
1989b099be Fixes [ticket:512] 2007-10-25 14:21:25 +00:00
Jonathan.Wage
ab597cdf30 Fixes [ticket:500] 2007-10-25 14:18:26 +00:00
Jonathan.Wage
bea129db14 Added support for packages to the doctrine builder and yaml schema. 2007-10-24 21:21:45 +00:00
Jonathan.Wage
094e6cb3bd Added to autoloading to support caching the loaded model paths so we can retrieve them with autoload. 2007-10-24 21:20:19 +00:00
ppetermann
c610ba0ab2 corrected creation of Doctrine_Event object
to prevent unexpected behaviour during usage 
of preHydrate/postHydrate hooks.
2007-10-24 13:44:58 +00:00
meus
3cdaf71ad0 refetch state after preSave listener in unit of work. if state changes in preSave listener it is not taken into concideration when an object is saved/deleted etc. also fixed some small stuff in tests and added new coverage report 2007-10-23 20:21:22 +00:00
Jonathan.Wage
195dff3ec9 Renamed. 2007-10-23 03:50:45 +00:00
Jonathan.Wage
197832739f Renamed. 2007-10-23 03:48:11 +00:00
Jonathan.Wage
372831d912 Tweaks. 2007-10-23 03:44:29 +00:00
Jonathan.Wage
34d4f12866 - 2007-10-23 03:39:57 +00:00
Jonathan.Wage
e50b27626b Misc. tweaks. 2007-10-23 00:37:39 +00:00
phuson
a3c39fedcc Applied patch for ticket #499. Tested and it seems to be working correctly with patch. 2007-10-22 21:47:05 +00:00
zYne
a4ae926a85 added isIdentifier() 2007-10-22 17:33:47 +00:00
zYne
a01ed0641f fast identifier search for Doctrine_Hydrate, now the hydration should run in O(1) instead of O(n) 2007-10-22 16:38:03 +00:00
romanb
6ed2e63d88 added hydration mode HYDRATE_NONE 2007-10-22 16:32:07 +00:00
Jonathan.Wage
9895dc1ca3 Changed version to valid version. 2007-10-22 05:11:23 +00:00
Jonathan.Wage
8588f221dd Added version and moved package file. 2007-10-22 05:09:22 +00:00
romanb
198b34c0b4 fix to assignDefaultValues. should fix #468 2007-10-21 20:12:36 +00:00
meus
a217a6edbc fixing another linting error 2007-10-21 15:01:10 +00:00
meus
d1f32b05a6 adding missing ; at line 67 2007-10-21 14:47:22 +00:00
romanb
7d1e03901a cleaning up draft/ 2007-10-21 09:00:40 +00:00
romanb
7dbb38719d fixed #431 2007-10-21 08:39:13 +00:00
romanb
3799de836d fixed #485 2007-10-21 08:16:31 +00:00
Jonathan.Wage
edc03d5a33 Added magic finder methods. findBy(.*) and findOneBy 2007-10-21 07:24:18 +00:00
Jonathan.Wage
27b369a5f3 Mass search and replace for coding standards changes, doc block formatting, and code spacing. 2007-10-21 06:23:59 +00:00
Jonathan.Wage
4ce2a36968 Fix to naming of spyc and update docs for cli. 2007-10-21 01:16:04 +00:00
Jonathan.Wage
e2a204e0dc Enhancing CLI. New commands and cleaning up. 2007-10-20 19:14:30 +00:00
Jonathan.Wage
821cc6e51c Added confirmation for db drop and added ability to make cli interactive. 2007-10-20 17:20:56 +00:00
Jonathan.Wage
bbf05e1676 Fixed notice. 2007-10-20 15:31:14 +00:00
romanb
a14db264ee reapplied my changes to Export.php that were (accidently?) reverted by jonwage 2007-10-20 14:57:47 +00:00
Jonathan.Wage
975b74bd6f Enhancements to CLI and removing sandbox files. Will add ignores. 2007-10-20 06:12:20 +00:00
Jonathan.Wage
8d2aebad70 A little formatting and documentation. 2007-10-20 02:30:15 +00:00
Jonathan.Wage
526c4ab1c8 Made methods static. 2007-10-19 22:50:00 +00:00
Jonathan.Wage
9440cf04f6 Additions to migrations to support generating migrations from models or existing databases. 2007-10-19 22:11:45 +00:00
Jonathan.Wage
16933ef9be Removed Facade. 2007-10-19 14:30:48 +00:00
Jonathan.Wage
779003edcc Removed Facade and moved all static methods to Doctrine class. 2007-10-19 14:23:42 +00:00
romanb
dfdcf002a1 fixes for exporting indices 2007-10-19 13:16:22 +00:00
romanb
9b4f5db135 fix for mysql export module (allow specifying a default without specifying a length) 2007-10-19 11:13:49 +00:00
romanb
f1c6657c0f introduced dropForeignKey() to Export and Migration 2007-10-19 10:58:49 +00:00
Jonathan.Wage
9679e5531b Fix to notice. 2007-10-18 21:57:38 +00:00
zYne
eb9842dcec 2007-10-18 20:39:37 +00:00
zYne
ed8b89fc3b removed deprecated schema classes 2007-10-18 19:46:06 +00:00
zYne
1a990b6eae fixed version column attributes 2007-10-18 19:39:19 +00:00
zYne
ee1cf1013a fixed updateIndex() 2007-10-18 19:37:50 +00:00
phuson
1ddd4f5db4 Added back the generation of "equal: true" from schema files. 2007-10-18 19:36:18 +00:00
zYne
a6d05624f5 fixed versionable template to adhere to generic plugin structure 2007-10-18 19:13:30 +00:00
zYne
ea5e58fece removed deprecated schema and object classes 2007-10-18 19:05:00 +00:00
romanb
28dcf18508 made version comparison less strict 2007-10-18 16:36:55 +00:00
Jonathan.Wage
1bbc5b15ee Fixes to relationship building and added support for new schema options. 2007-10-17 23:14:28 +00:00
zYne
08bec68587 2007-10-17 21:17:01 +00:00
zYne
5f0b6cd1cd fixed VALIDATE_ALL constant value 2007-10-17 19:38:53 +00:00
romanb
e428845d0e corrected some tests 2007-10-17 19:24:03 +00:00
Jonathan.Wage
e2e38849ac Added support for connection binding, templates, act as, and attributes. 2007-10-17 19:21:06 +00:00
romanb
f8ee0975c0 fix for the fix.. (foreign key creation) 2007-10-17 19:09:48 +00:00
romanb
29c220f482 export & migration fix 2007-10-17 18:49:02 +00:00
jepso
d9e213a2cf fixes #484 2007-10-17 14:50:55 +00:00
phuson
3e39fcf30c Implemented generation for loadTemplate() from Schema file. 2007-10-17 09:18:59 +00:00
phuson
e63393cd39 Added generation for "equal: true" in the relations block of yml. 2007-10-17 05:43:07 +00:00
Jonathan.Wage
852a2fdf87 Fixes to importing and merging of data fixtures from multiple files. 2007-10-17 01:54:27 +00:00
Jonathan.Wage
05119fe758 Fixes for relationship building. 2007-10-17 01:12:21 +00:00
Jonathan.Wage
6ee5df4aab Addex support for indexes and attributes to schema. 2007-10-16 23:33:14 +00:00
zYne
359d07b04d fixes #484, validator nospace not validating correctly 2007-10-16 22:12:04 +00:00
zYne
b102ebf9fb 2007-10-16 22:10:49 +00:00
zYne
76bd8b76e4 added more stopwords to analyzer 2007-10-16 21:49:55 +00:00
zYne
e10acab862 drafting the new class Doctrine_Search_File 2007-10-16 21:33:06 +00:00
romanb
4fb5f7c201 added createForeignKey() support to export module and migrations 2007-10-16 17:05:52 +00:00
romanb
abde67f73c added createConstraint()/dropConstraing() support to migrations 2007-10-16 16:22:02 +00:00
Jonathan.Wage
37cec1d690 - 2007-10-16 05:39:49 +00:00
Jonathan.Wage
50ab186792 Fixes for sql exporting so it will get all loaded models if no directory is specified. 2007-10-16 02:37:31 +00:00