Commit graph

3065 commits

Author SHA1 Message Date
nate
9650c1a73f Fixing reading and writing in Configure class for references 3 levels deep, fixes #3845
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6329 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-06 11:34:56 +00:00
phpnut
06175843a1 "Removing unneeded :"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6328 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-06 01:50:43 +00:00
phpnut
92fedc4f76 "Removing unneeded :"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6327 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-06 01:50:23 +00:00
phpnut
028c5ab75d "Fixes svn file property line"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6326 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-06 01:45:01 +00:00
phpnut
abdf753c9e "Adding support for test fixture generation when creating models, this will eventually be moved to a task.
Currently the $records are hard coded to create field type specific data, this will eventually be changed to create random data based on the field type.
Refactored tests that are created for models, 3 working tests are not created when generating tests for the model.
Added notice output to terminal when creating a project, the CAKE_CORE_INCLUDE_PATH is automatically altered and may need to be changed when moving to a production environment. "

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6325 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-05 19:31:29 +00:00
phpnut
587e9500ed "Correcting links generated to additional app tests"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6324 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-05 19:23:17 +00:00
gwoo
3b7c80a65d updating Cache to apply prefix for every key, closes #3821
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6323 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-05 03:24:25 +00:00
phpnut
c47700d8c4 "Removing call to Controller::_initComponents(); and Controller::__mergeVars(); out of Dispatcher"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6322 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-05 01:31:15 +00:00
phpnut
6e1f2fe457 Fixes #3817, Some non-executable files in source tree have executable permissions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6321 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-04 18:05:55 +00:00
gwoo
22cc25e9c5 updating Set::map() handling of deeply nested arrays, fixes #3809, thanks to speedmax for an updated test case.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6320 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-04 01:32:52 +00:00
phpnut
83b6be9d60 "Correcting line changed in error"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6319 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-03 19:41:06 +00:00
phpnut
5c1b96330b "Correcting doc tags"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6318 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-03 18:52:53 +00:00
phpnut
6dec91a89f "Fixes #3814, Bug in hasAndBelongsToMany"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6317 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-03 18:50:59 +00:00
gwoo
d963a721b3 updating TimeHelper, fixes #3801
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6316 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-03 18:42:36 +00:00
nate
6191c58f69 Fixing after filters for Model::find('list'), fixes #3805
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6315 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 23:07:54 +00:00
phpnut
53ff7d9904 Removing unused directories from app/pages.
Merging changes from app/ to skel/

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6314 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 21:33:51 +00:00
nate
93f034b9bd Fixing JavascriptHelper::link() for script files outside of webroot/js (i.e. plugins), fixes #3799
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6313 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 19:32:46 +00:00
nate
181aa97ca1 Adding String class to shell boostrap, fixes #3793
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6312 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 13:14:43 +00:00
phpnut
67c91aa009 Merging bug fixes and enhancements to the trunk:
[5876] [5878] [5879] [5880] [5881] [5882] [5883] [5884] [5885] [5886] [5887] [5888] [5889] [5890] [5891]
[5892] [5893] [5894] [5895] [5896] [5897] [5898] [5899] [5900] [5901] [5902] [5903] [5904] [5905] [5906]
[5907] [5908] [5909] [5910] [5911] [5912] [5913] [5914] [5915] [5916] [5917] [5918] [5919] [5920] [5921]
[5922] [5923] [5924] [5925] [5926] [5927] [5928] [5929] [5930] [5931] [5932] [5933] [5934] [5935] [5936]
[5937] [5938] [5939] [5940] [5941] [5942] [5943] [5944] [5945] [5946] [5947] [5948] [5949] [5950] [5951]
[5952] [5953] [5954] [5955] [5956] [5957] [5958] [5959] [5960] [5961] [5962] [5963] [5964] [5965] [5966]
[5967] [5968] [5969] [5970] [5971] [5972] [5973] [5974] [5975] [5976] [5977] [5978] [5979] [5980] [5981]
[5982] [5983] [5984] [5985] [5986] [5987] [5988] [5989] [5990] [5991] [5992] [5993] [5994] [5995] [5996]
[5997] [5998] [5999] [6000] [6001] [6002] [6003] [6004] [6005] [6006] [6007] [6008] [6009] [6010] [6011]
[6012] [6013] [6014] [6015] [6016] [6017] [6018] [6019] [6020] [6021] [6022] [6023] [6024] [6025] [6026]
[6027] [6028] [6030] [6031] [6032] [6033] [6034] [6035] [6036] [6037] [6038] [6039] [6041] [6042] [6043]
[6044] [6046] [6047] [6048] [6049] [6050] [6051] [6052] [6053] [6054] [6055] [6056] [6057] [6058] [6059]
[6060] [6061] [6062] [6063] [6064] [6065] [6066] [6067] [6068] [6069] [6070] [6071] [6072] [6073] [6074]
[6075] [6076] [6077] [6078] [6079] [6080] [6081] [6082] [6083] [6084] [6085] [6086] [6087] [6088] [6089]
[6090] [6091] [6092] [6093] [6094] [6095] [6096] [6097] [6098] [6099] [6100] [6101] [6102] [6103] [6104]
[6105] [6106] [6107] [6108] [6109] [6110] [6111] [6112] [6113] [6114] [6115] [6117] [6118] [6119] [6120]
[6121] [6122] [6123] [6124] [6125] [6126] [6127] [6128] [6129] [6130] [6131] [6132] [6133] [6134] [6135]
[6136] [6137] [6138] [6139] [6140] [6141] [6142] [6143] [6144] [6145] [6146] [6147] [6148] [6149] [6150]
[6151] [6152] [6153] [6154] [6155] [6156] [6157] [6158] [6159] [6160] [6161] [6162] [6163] [6164] [6165]
[6166] [6167] [6170] [6171] [6172] [6173] [6174] [6175] [6176] [6177] [6178] [6179] [6180] [6181] [6182]
[6183] [6184] [6185] [6186] [6187] [6188] [6189] [6190] [6191] [6192] [6193] [6194] [6195] [6196] [6197]
[6198] [6199] [6200] [6201] [6202] [6203] [6204] [6205] [6206] [6207] [6208] [6209] [6210] [6211] [6212]
[6213] [6214] [6215] [6216] [6217] [6220] [6221] [6222] [6223] [6224] [6227] [6230] [6231] [6233] [6234]
[6235] [6236] [6237] [6239] [6240] [6241] [6242] [6243] [6244] [6245] [6246] [6247] [6248] [6249] [6251]
[6252] [6253] [6255] [6256] [6257] [6258] [6259] [6262] [6263] [6264] [6265] [6266] [6268] [6269] [6270]
[6271] [6272] [6273] [6274] [6275] [6276] [6277] [6278] [6279] [6280] [6281] [6282] [6283] [6284] [6285]
[6286] [6287] [6288] [6289] [6290] [6291] [6292] [6293] [6294] [6295] [6296] [6297] [6298] [6299] [6300]
[6301] [6302] [6303] [6304] [6306] [6307] [6308] [6309] [6310]

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6311 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 06:33:52 +00:00
phpnut
44fe1da19b "Fixing paths in debugger tests"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6310 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 05:52:53 +00:00
phpnut
30f4f74199 "Fixing paths in debugger tests"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6309 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 05:32:31 +00:00
phpnut
fd2b4595aa "Fixing paths returned by Debugger::trimPath();"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6308 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 05:23:44 +00:00
nate
60fa3938ee Adding regular expression support to Set::extract(), closes #3263
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6307 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 04:46:49 +00:00
nate
9c68a253e4 Refactoring, fixing SessionComponent test, adding String::tokenize()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6306 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 03:06:57 +00:00
nate
7ea47e9893 Fixing Model::find('list') when using self-joins
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6304 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 02:30:19 +00:00
phpnut
9f891bf4e6 "Renaming domains in test to generic names"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6303 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 02:12:38 +00:00
mariano.iglesias
4c89941287 Adding new URL to validation test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6302 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 01:51:19 +00:00
phpnut
aa32649c02 "Closes #2608, CSRF usability problems
Closes #3436, Security Component and multiple instances of the webapp"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6301 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 00:38:35 +00:00
gwoo
618d7bd84a adding Debugger::log() and test cases, closes #995
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6300 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 00:31:13 +00:00
nate
695ac50fd7 Adding full join model support, closes #828, closes #1845
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6299 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 23:57:17 +00:00
gwoo
0156b9e689 adding test for root path caching, closes #1349
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6298 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 22:52:25 +00:00
phpnut
852fa4e921 "Closes #3653, Some optimization in code"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6297 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 22:28:47 +00:00
phpnut
cb53dc61b0 "Closes #2897, Built-in file validation.
Implemented Validation::extension(); and Vaidation::range();
Updated copyright notices in all files"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6296 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 22:18:17 +00:00
nate
5abe66289d Implemented 'counterCache' and 'counterScope' for belongsTo associations
Exempted 'created', 'updated' and 'modified' fields from whitelist when saving, closes #3720
Updated Model::bind(), closes #2355
Adding Model::saveAll() to save multiple records and associated records, closes #3615
Replacing Model::generateList() with Model::find('list'), deprecates Model::generateList()



git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6295 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 19:34:40 +00:00
phpnut
43e05117fa "Closes #3602, Model beforeFilter API doc update"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6294 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 18:34:55 +00:00
nate
a5d9b2085a Adding quoting and name-resolving fields in TreeBehavior updates, fixes #3778
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6293 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 01:18:32 +00:00
phpnut
1aa2324e8e "Fixes #3786, Missing keys when Model merges actsAs.
Added additional test for Set::merge();
Refactored Controller::_mergeVars."

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6292 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 01:07:24 +00:00
phpnut
013133457c "Fixes #3768, Controller loads wrong model when plugins controller has the controller name of a main model.
moved merging of components, helpers, and uses vars to Controller::_mergeVars(); fixes bug with PluginAppController vars not being merged before components are loaded.
  Added call to Controller::_mergeVars(); in Dispatcher::dispatch();"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6291 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 23:27:14 +00:00
nate
6a2a24cfc9 Updating help text for ACL shell interface, fixes #3790
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6290 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 22:30:46 +00:00
gwoo
cedaddbc08 updating controller task with i18n wrappers, closes #3490
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6289 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 22:27:53 +00:00
nate
ac1c7e9da8 Adding stored procedure support to DboMysqli, fixes #2348
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6288 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 18:12:44 +00:00
nate
368b085c94 Adding asset filters for CSS and JS, set using 'Asset.filter.css' and 'Asset.filter.js', fixes #2233
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6287 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 05:19:00 +00:00
nate
18110fe97a Adding asset timestamps for JS, CSS, and images. Set 'Asset.timestamp' to true in Configure (only in dev mode), fixes #921
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6286 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 04:24:14 +00:00
gwoo
b57ee695a4 updating TimeHelper, closes #1182
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6285 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-31 01:45:57 +00:00
nate
1c9b87da4e Fixing environment detection issues in Dispatcher, adding environment tests, adding tests for embedded route regular expressions, fixes #2666
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6284 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 22:33:48 +00:00
nate
a11db494bb Changing SERVER_IIS constant to 'App.server' config variable
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6283 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 22:28:59 +00:00
gwoo
f6b71c29e9 updating HtmlHelper, closes #2592, closes #2406, closes #2220, closes #2080, tests added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6282 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 21:14:15 +00:00
gwoo
48bf9e420d updating router admin handling, closes #3697 test added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6281 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 19:53:21 +00:00
gwoo
fdeb41a826 updating FormHelper::inputs(), fixes #3770, tests updated
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6280 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 18:25:00 +00:00
gwoo
a1198bb3b7 reverting previous changes and updating view, fixes #3785
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6279 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 21:20:48 +00:00