| Revision 5107 (by sterling, 2008/02/14 19:59:21) | r15307@riddle: andrew | 2008-02-14 13:55:08 -0600 Mergedown from trunk. r14334@riddle: andrew | 2007-12-03 14:11:13 -0600 r14332@riddle (orig r4604): alexmv | 2007-12-02 22:57:21 -0600 r25342@zoq-fot-pik: chmrr | 2007-12-02 23:55:41 -0500 * Failing test for error pages r14333@riddle (orig r4605): alexmv | 2007-12-02 23:02:39 -0600 r25344@zoq-fot-pik: chmrr | 2007-12-03 00:01:36 -0500 * Fix error pages. This is a perltidy; the only semantic change is to replace Jifty->web->return with form_return r14335@riddle: andrew | 2007-12-03 16:41:08 -0600 Fixing HTML dumping so that the HTML is more correct and easier to read when debugging. r14339@riddle: andrew | 2007-12-03 16:42:45 -0600 r14336@riddle (orig r4606): alexmv | 2007-12-03 14:34:32 -0600 r25352@zoq-fot-pik: chmrr | 2007-12-03 15:33:18 -0500 * Fix for autogenerated modules. Since sticking a method into them can cause things to "inherit" being autogenerated(!), we instead keep a global hash of them. * Also, fix schema code, which checked the wrong class for plugins overriding the app. r14337@riddle (orig r4607): alexmv | 2007-12-03 15:33:35 -0600 r25354@zoq-fot-pik: chmrr | 2007-12-03 16:32:25 -0500 * Delay things which call Jifty::Util::require; Jifty::Util is often in *mid-require* when Jifty::Everything is loaded, thus causing calls to Jifty::Util::require to silently fail. r14642@riddle: andrew | 2007-12-28 09:04:17 -0600 r14389@dynpc145 (orig r4613): sartak | 2007-12-04 00:22:23 -0600 r48551@onn: sartak | 2007-12-04 01:21:27 -0500 Use Jifty::Util->absolute_path on the recorder log path r14390@dynpc145 (orig r4614): sartak | 2007-12-04 00:41:51 -0600 r48566@onn: sartak | 2007-12-04 01:41:37 -0500 Freeze and thaw the CGI object, because it can be a glob that upsets YAML Wrap the YAML generation in eval {} too, because it is upsettable :) r14391@dynpc145 (orig r4615): jesse | 2007-12-04 00:44:32 -0600 r72650@pinglin: jesse | 2007-12-04 01:24:32 -0500 Jifty::YAML, not YAML; r72653@pinglin: jesse | 2007-12-04 01:43:42 -0500 use Jifty::YAML r14393@dynpc145 (orig r4617): sartak | 2007-12-05 14:03:51 -0600 r48628@onn: sartak | 2007-12-05 15:03:20 -0500 Make sure actions still fail when you set columns you can't update (or read) to undef r14394@dynpc145 (orig r4618): sartak | 2007-12-05 15:39:00 -0600 r48702@onn: sartak | 2007-12-05 16:33:29 -0500 Fix the current_user_can call r14396@dynpc145 (orig r4620): alexmv | 2007-12-05 19:14:27 -0600 r25352@zoq-fot-pik: chmrr | 2007-12-03 15:33:18 -0500 * Fix for autogenerated modules. Since sticking a method into them can cause things to "inherit" being autogenerated(!), we instead keep a global hash of them. * Also, fix schema code, which checked the wrong class for plugins overriding the app. r14397@dynpc145 (orig r4621): alexmv | 2007-12-05 19:14:40 -0600 r25354@zoq-fot-pik: chmrr | 2007-12-03 16:32:25 -0500 * Delay things which call Jifty::Util::require; Jifty::Util is often in *mid-require* when Jifty::Everything is loaded, thus causing calls to Jifty::Util::require to silently fail. r14398@dynpc145 (orig r4622): alexmv | 2007-12-05 19:15:31 -0600 r25455@zoq-fot-pik: chmrr | 2007-12-05 20:13:15 -0500 * Code to actually fully remove a session r14399@dynpc145 (orig r4623): alexmv | 2007-12-05 19:15:40 -0600 r25456@zoq-fot-pik: chmrr | 2007-12-05 20:13:46 -0500 * Monitoring plugin r14400@dynpc145 (orig r4624): alexmv | 2007-12-05 19:21:19 -0600 r25461@zoq-fot-pik: chmrr | 2007-12-05 20:20:38 -0500 * Make POD coverage happy r14401@dynpc145 (orig r4625): alexmv | 2007-12-05 20:20:27 -0600 r25482@zoq-fot-pik: chmrr | 2007-12-05 21:19:45 -0500 * Wrong column type. r14432@dynpc145 (orig r4627): clkao | 2007-12-05 23:36:04 -0600 refactor handlers Jifty::Web::Form::Element to use our mk_normalising_accessor. r14433@dynpc145 (orig r4628): clkao | 2007-12-05 23:50:43 -0600 Don't call _handler_setup unless the normalising accessor is used as mutator. r14434@dynpc145 (orig r4629): alexmv | 2007-12-06 13:06:50 -0600 r25492@zoq-fot-pik: chmrr | 2007-12-06 13:43:07 -0500 * Perltidy r14435@dynpc145 (orig r4630): alexmv | 2007-12-06 13:06:56 -0600 r25493@zoq-fot-pik: chmrr | 2007-12-06 14:06:31 -0500 * Check and upgrade plugin versions r14436@dynpc145 (orig r4631): sartak | 2007-12-06 15:17:42 -0600 r48725@onn: sartak | 2007-12-06 16:15:51 -0500 Recorder: Defer loghandle creation until first hit, so not all commands are creating request logs r14437@dynpc145 (orig r4632): sartak | 2007-12-06 18:20:53 -0600 r48738@onn: sartak | 2007-12-06 19:20:22 -0500 Add a Queries plugin for examining the db queries made by your app r14438@dynpc145 (orig r4633): sartak | 2007-12-06 18:35:59 -0600 r48740@onn: sartak | 2007-12-06 19:35:45 -0500 Move the query reports into /__jifty/admin/ r14439@dynpc145 (orig r4634): sartak | 2007-12-06 18:37:32 -0600 r48742@onn: sartak | 2007-12-06 19:37:19 -0500 Move LeakTracker's reports into /__jifty/admin/ as well r14440@dynpc145 (orig r4635): jesse | 2007-12-06 21:30:40 -0600 r72758@pinglin: jesse | 2007-12-06 15:23:37 -0500 * Don't load up the column object on create widgets unless we need it. r72759@pinglin: jesse | 2007-12-06 16:23:23 -0500 * Beginning some serious refactoring of Jifty::Action::Record->arguments r72775@pinglin: jesse | 2007-12-06 19:44:46 -0500 * starting to split out current values of things r72776@pinglin: jesse | 2007-12-06 22:04:31 -0500 * store the base 'arguments' hash and merge in default values on the fly. This should result in a healthy performance boost. But is also the first place to look if things start acting funny any time soon. r14441@dynpc145 (orig r4636): jesse | 2007-12-07 00:03:32 -0600 r72784@pinglin: jesse | 2007-12-07 01:03:22 -0500 * defer default value until we really care about it r14442@dynpc145 (orig r4637): gugod | 2007-12-07 07:31:17 -0600 Prepare a TestApp just for testing jifty.js javascript functions. The goal is to test javascript code, not just perl code, so using selenium is a must. Pretty much like this test suit should be the counter-part of mech-based tests under TestApp/. Provide a simple test file to test Jifty.update() function, both with and without argument. r14443@dynpc145 (orig r4638): jesse | 2007-12-07 12:53:15 -0600 r72791@pinglin: jesse | 2007-12-07 13:53:00 -0500 * Refactoring around the fact that Scalar::Defer::defer'd variables will never return undef until they're forced. r14444@dynpc145 (orig r4639): sartak | 2007-12-07 15:02:02 -0600 r48759@onn: sartak | 2007-12-07 16:01:06 -0500 Queries: begin renaming to SQLQueries because Queries is vague r14445@dynpc145 (orig r4640): sartak | 2007-12-07 15:04:05 -0600 r48764@onn: sartak | 2007-12-07 16:03:48 -0500 SQLQueries: Finish renaming from Queries r14448@dynpc145 (orig r4643): sartak | 2007-12-07 15:24:31 -0600 r48766@onn: sartak | 2007-12-07 16:24:11 -0500 jifty.js: Work around placeholders not being properly cleared and causing (small) data loss r14452@dynpc145 (orig r4647): sartak | 2007-12-07 15:58:13 -0600 r48770@onn: sartak | 2007-12-07 16:57:54 -0500 cssquery.js: thisElement is being called 11000 times for hiveminder's /todo. It includes an IE workaround. Use the workaround only if we're actually using IE. This cuts its runtime on /todo from ~220ms to ~100ms r14453@dynpc145 (orig r4648): sartak | 2007-12-07 18:05:51 -0600 r48775@onn: sartak | 2007-12-07 19:05:34 -0500 Shave off another 100ms by special casing the beastly 40% function r14454@dynpc145 (orig r4649): sartak | 2007-12-07 18:53:30 -0600 r48777@onn: sartak | 2007-12-07 19:53:11 -0500 Another JS speedup: cache the results of selectAll. it's called only 8 times for /todo, but caching saves ~80ms. r14455@dynpc145 (orig r4650): sartak | 2007-12-07 20:42:58 -0600 r48779@onn: sartak | 2007-12-07 21:42:41 -0500 Speed up selection by class by using indexOf with space padding instead of regex r14456@dynpc145 (orig r4651): sartak | 2007-12-07 21:55:17 -0600 r48788@onn: sartak | 2007-12-07 22:55:01 -0500 SQLQueries: keep track of the ten slowest queries and display them. The query page could use a bit of visual design. :) r14457@dynpc145 (orig r4652): sartak | 2007-12-07 22:03:54 -0600 r48790@onn: sartak | 2007-12-07 23:03:39 -0500 Punt the design issue by making SQLQueries and LeakTracker use your app's layout :) r14458@dynpc145 (orig r4653): jesse | 2007-12-08 16:39:00 -0600 r72824@pinglin: jesse | 2007-12-08 17:26:08 -0500 * minor cleanup and refactoring r14459@dynpc145 (orig r4654): jesse | 2007-12-08 16:39:06 -0600 r72825@pinglin: jesse | 2007-12-08 17:34:29 -0500 * Refacotring/cleanup r14460@dynpc145 (orig r4655): jesse | 2007-12-08 16:39:10 -0600 r72826@pinglin: jesse | 2007-12-08 17:38:20 -0500 * minor refactoring r14461@dynpc145 (orig r4656): jesse | 2007-12-08 17:20:38 -0600 r72830@pinglin: jesse | 2007-12-08 18:20:30 -0500 * Make view handler classes configurable. r14462@dynpc145 (orig r4657): jesse | 2007-12-08 22:42:32 -0600 r72834@pinglin: jesse | 2007-12-08 22:38:02 -0500 * Terrifyingly, the added /s causes escape_html (2% of hiveminder's runtime) to benchmark 200% faster. r14463@dynpc145 (orig r4658): jesse | 2007-12-08 23:14:41 -0600 r72836@pinglin: jesse | 2007-12-09 00:14:39 -0500 * nope - I'm wrong. bad benchmarking made me believe that the thing I am reverting was faster r14464@dynpc145 (orig r4659): jesse | 2007-12-09 23:46:50 -0600 r72844@pinglin: jesse | 2007-12-10 00:45:22 -0500 * If we have a user object already, use it to fetch the email address when generating a LetMe r14465@dynpc145 (orig r4660): jesse | 2007-12-09 23:46:55 -0600 r72845@pinglin: jesse | 2007-12-10 00:46:07 -0500 * There's no need to compile Dispatcher rules to regexes every time they're evaluated. Cache them. r14466@dynpc145 (orig r4661): audreyt | 2007-12-10 13:04:19 -0600 * Jifty::Dispatcher: Trivial minimal POD fix for correct vim highlighting (avoiding "package" at the beginning of the line.) r14526@dynpc145 (orig r4664): sartak | 2007-12-12 19:24:12 -0600 r48930@onn: sartak | 2007-12-12 20:23:42 -0500 ID is sometimes passed into Jifty::Action::Record::Update, we want to ignore it if it doesn't change, to avoid spurious permission errors. This codepath could use some more thought r14527@dynpc145 (orig r4665): sartak | 2007-12-12 22:20:00 -0600 r48932@onn: sartak | 2007-12-12 23:19:51 -0500 Fix a validation bug where we'd get a lot of "extend=function (object) { return Object.extend.apply(this, [this, object]); }" arguments. This is because prototype.js overcomplicates form element serialization. r14528@dynpc145 (orig r4666): sartak | 2007-12-12 22:59:14 -0600 r48954@onn: sartak | 2007-12-12 23:59:05 -0500 Jifty::DateTime::is_date method, which tells whether the given J:DT is only a date r14529@dynpc145 (orig r4667): sartak | 2007-12-12 23:10:56 -0600 r48959@onn: sartak | 2007-12-13 00:10:46 -0500 Syntax error :| r14530@dynpc145 (orig r4668): sartak | 2007-12-12 23:54:05 -0600 r48963@onn: sartak | 2007-12-13 00:53:52 -0500 Normalize placeholder text because sometimes one has \r\n and the other has \n. Ugh. r14531@dynpc145 (orig r4669): gugod | 2007-12-13 01:24:51 -0600 Import a Test.More (the jsan module) -based js test to test behavour.js. Including a .t wrapper that launches a selenium server pointing to the harness test. r14532@dynpc145 (orig r4670): sartak | 2007-12-13 02:41:54 -0600 r49010@onn: sartak | 2007-12-13 03:39:52 -0500 Recorder: record the current user ID so we can still playback (to some degree) without the sessions table r14533@dynpc145 (orig r4671): sartak | 2007-12-13 02:41:58 -0600 r49011@onn: sartak | 2007-12-13 03:41:22 -0500 Recorder: autoflush logfile just in case the server goes splat r14534@dynpc145 (orig r4672): sartak | 2007-12-13 03:34:35 -0600 r49016@onn: sartak | 2007-12-13 04:33:49 -0500 LeakTracker: log how much memory we're using at each request if Proc::ProcessTable is installed r14535@dynpc145 (orig r4673): sartak | 2007-12-13 03:34:39 -0600 r49017@onn: sartak | 2007-12-13 04:34:16 -0500 Recorder: log how much memory we're using at each request if memory_usage is set. r14536@dynpc145 (orig r4674): yves | 2007-12-13 04:24:39 -0600 for mysql varchar must be explicit (255 should be enough) r14537@dynpc145 (orig r4675): yves | 2007-12-13 04:47:25 -0600 mixin ldap authentication by email r14541@dynpc145 (orig r4679): yves | 2007-12-13 15:51:07 -0600 add missing continuation in CAS login plugin r14547@dynpc145 (orig r4685): gugod | 2007-12-14 01:15:10 -0600 Replace "is $html, ..." with $self->wait_for_text_present_ok Isolate current tests in a bare block, so we can put more tests in this file easily. r14548@dynpc145 (orig r4686): gugod | 2007-12-14 01:38:57 -0600 For testing continuation, add a "AddTwoNumber" wizard like the one in Jifty::Manual::Continuations, only it's written with TD rather then mason template. To manually test it, goto /c/page1 first. Type some number and hit enter. You sholud then visit /c/page2. Type some other number and hit enter. You should return to /c/page1 with the result of AddTwoNumber action shown in the message box. r14549@dynpc145 (orig r4687): gugod | 2007-12-14 01:42:49 -0600 Adda another URL that shows the same form as /c/page1/ to test if the form_return really return to the tangent point. r14550@dynpc145 (orig r4688): gugod | 2007-12-14 03:02:57 -0600 Finish two sets of selenium tests for testing continuation. The goal is to see if form_return actually returned to where it begins. The entry point can be either '/c/page1', or '/c/page_another_one'. r14551@dynpc145 (orig r4689): gugod | 2007-12-14 03:49:15 -0600 Add a simple tangent/return test file, this is to protect the behaviour that, clicking on a "return" link should return to previous tangent point, or default location if none. r14552@dynpc145 (orig r4690): gugod | 2007-12-14 04:40:39 -0600 Add a test to test the link that updates multiple regions at once, and also showing an alert(). r14553@dynpc145 (orig r4691): gugod | 2007-12-14 06:42:55 -0600 Add a "Play" action with various argument schema, and a test to test javascript behaviour based on the schema. The first test is to test if ajax canonicalized setting works. r14554@dynpc145 (orig r4692): gugod | 2007-12-14 07:56:15 -0600 Add canonicalization tests. r14558@dynpc145 (orig r4696): jesse | 2007-12-15 01:12:14 -0600 r73170@pinglin: jesse | 2007-12-15 02:09:57 -0500 * A first pass attempt at a Devel::Gladiator plugin for Jifty. Doesn't seem to work very well r14567@dynpc145 (orig r4705): sartak | 2007-12-15 06:30:38 -0600 r49097@onn: sartak | 2007-12-15 07:30:02 -0500 Rewrite the Gladiator plugin so that it now works, and do the log/view thing (which really wants to be generalized.. later) r14570@dynpc145 (orig r4708): jesse | 2007-12-16 14:50:56 -0600 * Revert mistaken commit. * Fix menus to properly weaken "parent" relationships (and normalize _parent and parent) r14571@dynpc145 (orig r4709): sartak | 2007-12-16 15:16:11 -0600 r49124@onn: sartak | 2007-12-16 16:14:49 -0500 LeakTracker: complain if Devel::Events::Generator::ObjectTracker isn't loaded in time (nothingmuch++) r14572@dynpc145 (orig r4710): sartak | 2007-12-16 15:22:08 -0600 r49130@onn: sartak | 2007-12-16 16:21:49 -0500 Copying a reference unweakens it, so a small fix for that in JWFF->_action. But that isn't our leak, I think r14573@dynpc145 (orig r4711): sartak | 2007-12-16 15:27:20 -0600 r49133@onn: sartak | 2007-12-16 16:27:08 -0500 Fix a real memory leak in Jifty::Web::Menu due to copying a weak reference. Woo! r14574@dynpc145 (orig r4712): sartak | 2007-12-16 15:30:49 -0600 r49135@onn: sartak | 2007-12-16 16:30:44 -0500 Another copied weakref in Jifty::Web::Form::Field, though this code was just changed so I don't think it explains our white whale r14575@dynpc145 (orig r4713): sartak | 2007-12-16 15:54:03 -0600 r49137@onn: sartak | 2007-12-16 16:53:55 -0500 Add Devel::Gladiator to Makefile.PL, other little fixes in here r14576@dynpc145 (orig r4714): jesse | 2007-12-16 17:54:13 -0600 r73218@pinglin: jesse | 2007-12-16 18:52:40 -0500 * small fixes to make the tests run from the main harness r14584@dynpc145 (orig r4722): sartak | 2007-12-17 05:57:35 -0600 r49139@onn: sartak | 2007-12-17 06:55:58 -0500 Revert 4650 (cssquery change) because ".error is no longer hidden for the region being replaced with ajax" in some browsers r14585@dynpc145 (orig r4723): jesse | 2007-12-17 06:30:42 -0600 r73700@pinglin: jesse | 2007-12-17 07:28:21 -0500 * Attempt to weaken another reference to the current action that may be leaking r14586@dynpc145 (orig r4724): clkao | 2007-12-17 12:06:06 -0600 In deferred sub called from arguments, we need to use weakself. r14587@dynpc145 (orig r4725): clkao | 2007-12-17 12:09:35 -0600 oops, revert accidental changes in the deferred sub. r14588@dynpc145 (orig r4726): sartak | 2007-12-17 13:53:38 -0600 r14589@dynpc145 (orig r4727): sartak | 2007-12-17 13:54:01 -0600 r49156@onn: sartak | 2007-12-17 14:49:51 -0500 More Makefile.PL tweaks r14590@dynpc145 (orig r4728): sartak | 2007-12-17 13:54:04 -0600 r49157@onn: sartak | 2007-12-17 14:53:28 -0500 Typo fix in Makefile.PL r14594@dynpc145 (orig r4732): falcone | 2007-12-17 22:07:26 -0600 r27631@ketch: falcone | 2007-12-17 23:05:12 -0500 * add a check for the op to the dispatcher condition cache because on and the other ops generate different regexps r14595@dynpc145 (orig r4733): alexmv | 2007-12-17 22:46:21 -0600 r25896@zoq-fot-pik: chmrr | 2007-12-17 23:44:06 -0500 * Lockfile support r14598@dynpc145 (orig r4736): sartak | 2007-12-18 11:45:42 -0600 r49191@onn: sartak | 2007-12-18 12:45:27 -0500 Revert 4649 js memoization which caused .error div problems r14599@dynpc145 (orig r4737): alexmv | 2007-12-18 15:17:14 -0600 r25921@zoq-fot-pik: chmrr | 2007-12-18 16:16:05 -0500 * Bump Scalar::Defer dependency, for great lack-of-memory-leak justice r14600@dynpc145 (orig r4738): sartak | 2007-12-18 18:30:22 -0600 r49193@onn: sartak | 2007-12-18 19:27:52 -0500 Move the REST object walking into Jifty::Result so that it may be reused r14601@dynpc145 (orig r4739): sartak | 2007-12-18 19:12:10 -0600 r49197@onn: sartak | 2007-12-18 20:11:39 -0500 Make the json and yaml webservices use Result->from_hash r14602@dynpc145 (orig r4740): sartak | 2007-12-18 19:23:08 -0600 r49199@onn: sartak | 2007-12-18 20:22:56 -0500 Missing $server in a test? I doubt this is intentional, so fixing r14603@dynpc145 (orig r4741): sartak | 2007-12-18 20:22:13 -0600 r49203@onn: sartak | 2007-12-18 21:22:02 -0500 Give the interesting classes jifty_serialize_format instead of hardcoding in recurse_object_to_data (obra++) r14604@dynpc145 (orig r4742): sartak | 2007-12-18 22:23:56 -0600 r49205@onn: sartak | 2007-12-18 23:23:44 -0500 Two small fixes for Jifty::Result changes: missed two fields and for backcompat we need to bless the resulting hash into Jifty::Result r14605@dynpc145 (orig r4743): sartak | 2007-12-18 22:39:22 -0600 r49209@onn: sartak | 2007-12-18 23:39:11 -0500 Actually, no, don't bless the result of Jifty::Result->as_hash r14608@dynpc145 (orig r4746): sartak | 2007-12-19 10:59:13 -0600 r49215@onn: sartak | 2007-12-19 11:58:58 -0500 Eugh, don't eval send_action results in mech r14609@dynpc145 (orig r4747): sartak | 2007-12-19 11:20:27 -0600 r49217@onn: sartak | 2007-12-19 12:20:11 -0500 Revert 4746 because it's actually not evil at all r14610@dynpc145 (orig r4748): sartak | 2007-12-19 15:57:26 -0600 r49311@onn: sartak | 2007-12-19 16:57:08 -0500 Use record->jifty_serialize_format instead of the old result->_record_to_data r14616@dynpc145 (orig r4754): gugod | 2007-12-20 08:58:41 -0600 Add a simple test to test Action object initialization. r14619@dynpc145 (orig r4757): sartak | 2007-12-20 14:30:29 -0600 r49326@onn: sartak | 2007-12-20 15:27:49 -0500 Add /=/search/ModelName/c1/v1/c2/v2/c3/v3/... for REST r14620@dynpc145 (orig r4758): sartak | 2007-12-21 09:11:25 -0600 r49350@onn: sartak | 2007-12-21 10:10:52 -0500 SQLQueries: Hide the stack trace behind a more/less JS thinger r14621@dynpc145 (orig r4759): clkao | 2007-12-22 03:51:21 -0600 - Merge /bps/jifty/jifty/branches/cssquery-refactor to /bps/jifty/jifty/trunk r14625@dynpc145 (orig r4763): trs | 2007-12-22 04:51:20 -0600 r29318@zot: tom | 2007-12-22 05:50:09 -0500 * Fix setting of class attribute for calendars (className is only for element.className) * Fix typo causing the CSSQuery plugin to fail r14627@dynpc145 (orig r4765): jesse | 2007-12-23 14:22:11 -0600 r74081@pinglin: jesse | 2007-12-23 14:52:22 -0500 * Made Password Auth plugin able to work with attributes other than 'email address' for autoloading r14628@dynpc145 (orig r4766): jesse | 2007-12-23 19:01:20 -0600 r74084@pinglin: jesse | 2007-12-23 19:59:49 -0500 * Misc current_user cleanups to deal with issues unmasked by RT on Jifty r14629@dynpc145 (orig r4767): trs | 2007-12-23 20:13:46 -0600 r29329@zot: tom | 2007-12-23 21:13:36 -0500 Add a Quota plugin which provides a framework for managing quotas in Jifty r14630@dynpc145 (orig r4768): trs | 2007-12-23 22:15:57 -0600 r29340@zot: tom | 2007-12-23 23:15:13 -0500 Upgrade plugins before application so that application upgrades can depend on plugin upgrades r14631@dynpc145 (orig r4769): trs | 2007-12-24 19:06:03 -0600 r29351@zot: tom | 2007-12-24 20:02:32 -0500 Enforce uniqueness on (object_id, object_class, type) r14632@dynpc145 (orig r4770): trs | 2007-12-24 19:22:52 -0600 r29355@zot: tom | 2007-12-24 20:22:42 -0500 Bypass ACLs to check r14633@dynpc145 (orig r4771): alexmv | 2007-12-25 01:24:09 -0600 r26009@zoq-fot-pik: chmrr | 2007-12-25 02:21:32 -0500 * Don't single-quote our JSON output, since JSON technically only has double quotes. r14634@dynpc145 (orig r4772): sunnavy | 2007-12-25 12:58:56 -0600 seems varchar(255) won't work, have to set max_length r14635@dynpc145 (orig r4773): sartak | 2007-12-26 16:38:28 -0600 r49456@onn: sartak | 2007-12-26 17:36:28 -0500 A prototype.js fix for IE6 throwing object errors on Hiveminder task creation r14636@dynpc145 (orig r4774): sunnavy | 2007-12-27 01:05:33 -0600 fixed a wrong regex r14637@dynpc145 (orig r4775): sartak | 2007-12-27 15:15:12 -0600 r49625@onn: sartak | 2007-12-27 16:14:36 -0500 Add __limit/N to /=/search/ for when you really only want N results -- such as when displaying them in a dashboard widget O:) r14647@riddle: andrew | 2008-01-02 11:26:29 -0600 r14646@riddle (orig r4780): audreyt | 2008-01-02 08:59:00 -0600 * Jifty::Dispatcher: Extremely trivial POD typo cleanup r14648@riddle: andrew | 2008-01-02 11:29:20 -0600 The jQuery plugin is now obsolete since jQuery is no included in Jifty's core JavaScript files. r14664@riddle: andrew | 2008-01-03 21:56:32 -0600 r14660@riddle (orig r4782): sartak | 2008-01-03 16:15:21 -0600 r49872@onn: sartak | 2008-01-03 17:14:31 -0500 Never send a cookie with cached content. Misbehaving proxies cause terrific problems. r14661@riddle (orig r4783): sartak | 2008-01-03 18:28:49 -0600 r49874@onn: sartak | 2008-01-03 19:28:24 -0500 Make Jifty::DateTime dates Jifty::Util->stringify to just yyyy-mm-dd, no 00:00:00 r14700@riddle: andrew | 2008-01-04 23:11:10 -0600 r14695@dynpc145 (orig r4785): clkao | 2008-01-04 08:15:58 -0600 SPA is not compatible with letme's across clicks/submit for obvious reasons. So disable it when we got temporary_current_user. r14697@dynpc145 (orig r4787): sartak | 2008-01-04 14:19:54 -0600 r49914@onn: sartak | 2008-01-04 15:19:03 -0500 REST: We don't need the temporary hack any more for .js, since jifty_serialize_format already explicitly stringifies things r14698@dynpc145 (orig r4788): nelhage | 2008-01-04 16:19:18 -0600 Add the continuation debugging tool from hiveminder r14699@dynpc145 (orig r4789): sartak | 2008-01-04 16:23:43 -0600 r49918@onn: sartak | 2008-01-04 17:22:31 -0500 jQuery: Fix our one test failure (caused by a broken test) r14712@riddle: andrew | 2008-01-07 08:36:31 -0600 Adding a CLI thingy to generate stubs for command-line scripts. r14728@riddle: andrew | 2008-01-09 13:17:21 -0600 r14719@riddle (orig r4794): sartak | 2008-01-07 13:10:49 -0600 r14720@riddle (orig r4795): sartak | 2008-01-07 13:11:00 -0600 r49938@onn: sartak | 2008-01-07 14:10:22 -0500 Tiny fixes in the new Jifty::Script::Script (hanenkamp++) r14721@riddle (orig r4796): sartak | 2008-01-07 13:20:13 -0600 r49942@onn: sartak | 2008-01-07 14:19:44 -0500 Munging @INC isn't necessary in new scripts, Jifty does that for you now r14725@riddle (orig r4800): alexmv | 2008-01-07 23:57:18 -0600 r26465@zoq-fot-pik: chmrr | 2008-01-08 00:55:56 -0500 * Force time zone update on current_user change r14743@riddle: andrew | 2008-01-10 17:38:10 -0600 r14731@riddle (orig r4803): alexmv | 2008-01-09 18:24:29 -0600 r26550@zoq-fot-pik: chmrr | 2008-01-09 19:24:03 -0500 * Email::MIME and Email::Simple went through a period of not talking to each other, throwing crokery around, and generally making life miserable for each other. Force versions of things which are at least on speaking terms again. * Updated META.yml for that. r14732@riddle (orig r4804): alexmv | 2008-01-09 18:24:35 -0600 r26551@zoq-fot-pik: chmrr | 2008-01-09 19:24:17 -0500 * Updated Module::Install r14734@riddle (orig r4806): sartak | 2008-01-10 14:00:44 -0600 r50044@onn: sartak | 2008-01-10 14:59:41 -0500 REST: Add __order_by, __order_by_asc, and __order_by_desc to /=/search r14736@riddle (orig r4808): sartak | 2008-01-10 14:57:25 -0600 r50048@onn: sartak | 2008-01-10 15:56:42 -0500 Use add_order_by for REST's __order_by, except the first time when we do want to wipe out the default ordering r14739@riddle (orig r4811): sartak | 2008-01-10 15:06:15 -0600 r50054@onn: sartak | 2008-01-10 16:05:32 -0500 Generalize __limit to __per_page and __page r14740@riddle (orig r4812): alexmv | 2008-01-10 15:48:25 -0600 r26575@zoq-fot-pik: chmrr | 2008-01-10 16:47:54 -0500 * Output a plan before loading modules r14741@riddle (orig r4813): alexmv | 2008-01-10 16:10:42 -0600 r26581@zoq-fot-pik: chmrr | 2008-01-10 17:10:17 -0500 * Only clobber ::plan if we actually output a plan already * Require Jifty::Util r14742@riddle (orig r4814): sartak | 2008-01-10 16:11:10 -0600 r50056@onn: sartak | 2008-01-10 17:10:24 -0500 REST: Add /=/version, which only includes Jifty and REST versions. Bump REST to 1.00. r14744@riddle: andrew | 2008-01-10 22:38:27 -0600 Updating so that simple bars work again (broke with Prototype 1.6) and also ported to use jQuery. r14748@riddle: andrew | 2008-01-10 22:38:49 -0600 r14745@dynpc145 (orig r4815): alexmv | 2008-01-10 18:06:33 -0600 r26589@zoq-fot-pik: chmrr | 2008-01-10 19:05:48 -0500 * Jifty::Test::WWW::Declare doesn't call import_extra, so move 'requires' and plan into ->setup * We have to use Jifty::Util in Jifty::Test, alas. :/ * Remove bogus svn:keywords from a test file r14746@dynpc145 (orig r4816): sartak | 2008-01-10 19:16:45 -0600 r50061@onn: sartak | 2008-01-10 20:13:51 -0500 REST: Canonicalize search arguments r14747@dynpc145 (orig r4817): sartak | 2008-01-10 19:17:22 -0600 r50064@onn: sartak | 2008-01-10 20:15:52 -0500 REST: More documentation for /=/search r14750@riddle: andrew | 2008-01-10 22:47:22 -0600 Updated the chart image behaviour JavaScript since it broke with the Prototype 1.6 update. r14751@riddle: andrew | 2008-01-10 22:47:35 -0600 r14761@riddle: andrew | 2008-01-12 11:18:12 -0600 r14758@dynpc145 (orig r4825): sartak | 2008-01-11 20:16:49 -0600 r50111@onn: sartak | 2008-01-11 21:15:54 -0500 Make Jifty::DateTime->current_user_has_timezone work (ie without requiring a blessed reference) r14759@dynpc145 (orig r4826): sartak | 2008-01-11 20:22:29 -0600 r50113@onn: sartak | 2008-01-11 21:21:54 -0500 DateTime->new is pretty strict, so use DateTime->now Also accept user_object->timezone for intuiting the user's time zone. r14760@dynpc145 (orig r4827): sartak | 2008-01-11 20:34:58 -0600 r50115@onn: sartak | 2008-01-11 21:34:23 -0500 Wow, I really botched that line of code :) r14762@riddle: andrew | 2008-01-12 11:30:02 -0600 Add a class to read mode spans to allow them to be selected separately. r14922@riddle: andrew | 2008-01-24 09:28:14 -0600 r14826@riddle (orig r4829): jesse | 2008-01-12 15:41:18 -0600 r74888@pinglin: jesse | 2008-01-12 14:19:06 -0600 * You no longer have to manually register an action if the only place it's used in a form is in a submit. exception: if you use a moniker rather than an action object, we don't have a way to convert that into the action, so that still requires a manual registration r14827@riddle (orig r4830): jesse | 2008-01-12 15:41:48 -0600 r74889@pinglin: jesse | 2008-01-12 14:19:31 -0600 * Port the chat demo to Template::Declare r14828@riddle (orig r4831): jesse | 2008-01-12 15:42:38 -0600 r74890@pinglin: jesse | 2008-01-12 14:46:34 -0600 * cleaning up some old templates * made not changing your password no longer a criminal offense * fixed a bug someone introduced that mistakenly set password to varchar(255) r14830@riddle (orig r4833): jesse | 2008-01-12 18:16:01 -0600 r74967@pinglin: jesse | 2008-01-12 18:14:49 -0600 * small bugfixes r14838@riddle (orig r4841): alexmv | 2008-01-13 21:09:25 -0600 r26667@zoq-fot-pik: chmrr | 2008-01-13 22:07:29 -0500 * POD nit in Jifty::Web::Session (no whitespace on line before POD command) * Jifty::Web::Session->continuations returns a hash, not a hashref. r14839@riddle (orig r4842): audreyt | 2008-01-14 00:10:13 -0600 * Jifty::Web::Session::ClientSide - Unbreak this module by conforming to the latest ::Session API (with _cookie_name) as well as Base-64 encoding the cookie itself. r14840@riddle (orig r4843): audreyt | 2008-01-14 00:28:39 -0600 * Jifty::Web::Session::ApacheSession, a session backend that bridges to Apache::Session. r14841@riddle (orig r4844): audreyt | 2008-01-14 03:03:31 -0600 * J::Web::Session::ClientSide - Switch to Storable because we really want to serialize all kinds of things. r14842@riddle (orig r4845): audreyt | 2008-01-14 03:08:00 -0600 * Add ApacheSession to MANIFEST. r14844@riddle (orig r4847): alexmv | 2008-01-14 12:39:00 -0600 r26743@zoq-fot-pik: chmrr | 2008-01-14 13:37:37 -0500 * Perltidy * Revert r4829 -- it registers all actions in the *form*, which is wrong. * The correct logic (butting the registration on the button) was already in the $action->button method; move it into Clickable. r14845@riddle (orig r4848): alexmv | 2008-01-14 12:43:10 -0600 r26745@zoq-fot-pik: chmrr | 2008-01-14 13:41:56 -0500 * Clean out un-necessary files from examples/ r14846@riddle (orig r4849): alexmv | 2008-01-14 12:50:12 -0600 r26747@zoq-fot-pik: chmrr | 2008-01-14 13:48:44 -0500 * Whoops, stupid copy/paste error. r14847@riddle (orig r4850): alexmv | 2008-01-14 13:20:28 -0600 r26749@zoq-fot-pik: chmrr | 2008-01-14 14:18:53 -0500 * We should skip registering it on the button if it has made any appearance in the form r14848@riddle (orig r4851): sartak | 2008-01-14 18:39:58 -0600 r50318@onn: sartak | 2008-01-14 19:38:39 -0500 AJAX canonicalization tests submitted by Peter Mottram r14849@riddle (orig r4852): trs | 2008-01-14 20:14:44 -0600 r30929@zot: tom | 2008-01-14 21:13:37 -0500 Compare old/new values for updating _before_ checking if we can update it (no point in saying permission denied for a column we don't want to actually change). However, only do the comparison if we can read the field so that we don't get bogus undefs. Everybody's happy now. Bonus: make references X by Y work when comparing old/new values r14850@riddle (orig r4853): trs | 2008-01-14 20:33:37 -0600 r30931@zot: tom | 2008-01-14 21:33:27 -0500 Get rid of the JQuery plugin tests hanging around from a now gone JQuery plugin r14851@riddle (orig r4854): alexmv | 2008-01-15 14:55:13 -0600 r26783@zoq-fot-pik: chmrr | 2008-01-15 15:53:05 -0500 * Don't explicitly register the delete action in CRUD * Check that forms that are opened are closed * Perltidy to fix indentation in Jifty::Web r14852@riddle (orig r4855): sartak | 2008-01-15 18:15:04 -0600 r14853@riddle (orig r4856): sartak | 2008-01-15 18:15:13 -0600 r50373@onn: sartak | 2008-01-15 18:32:16 -0500 Improve Jifty::DateTime->new_from_string so that it can handle time zones properly, and add Jifty::DateTime->get_tz_offset. r14854@riddle (orig r4857): trs | 2008-01-15 18:21:09 -0600 r30987@zot: tom | 2008-01-15 19:19:23 -0500 Make dropdown/context menus a reasonable fixed width r14855@riddle (orig r4858): trs | 2008-01-15 19:36:48 -0600 r30999@zot: tom | 2008-01-15 20:36:20 -0500 Make the YUI menu.css usable r14856@riddle (orig r4859): sartak | 2008-01-15 19:52:49 -0600 r14857@riddle (orig r4860): sartak | 2008-01-15 19:52:53 -0600 r50433@onn: sartak | 2008-01-15 20:50:48 -0500 Small fixes for newer OAuth spec r14858@riddle (orig r4861): sartak | 2008-01-15 20:07:44 -0600 r50439@onn: sartak | 2008-01-15 21:06:45 -0500 Test corrections, and depend on Net::OAuth 0.05 r14859@riddle (orig r4862): sartak | 2008-01-15 21:11:35 -0600 r50441@onn: sartak | 2008-01-15 22:10:52 -0500 Improve tests, the basic protected resource request works, yay. PLAINTEXT fixes. r14860@riddle (orig r4863): sartak | 2008-01-15 21:25:29 -0600 r50443@onn: sartak | 2008-01-15 22:24:47 -0500 OAuth should set temporary_current_user, not current_user r14861@riddle (orig r4864): sartak | 2008-01-15 21:56:25 -0600 r50445@onn: sartak | 2008-01-15 22:55:42 -0500 More tests. Looking good! r14862@riddle (orig r4865): trs | 2008-01-16 09:35:50 -0600 r31001@zot: tom | 2008-01-16 10:35:01 -0500 Support menu grouping for YUI r14863@riddle (orig r4866): trs | 2008-01-16 12:57:49 -0600 r31014@zot: tom | 2008-01-16 12:20:58 -0500 Cleaning up hard tabs r14864@riddle (orig r4867): trs | 2008-01-16 12:57:55 -0600 r31024@zot: tom | 2008-01-16 13:54:12 -0500 Fix menu activation for menu items which are defined with link instead of url/label r14865@riddle (orig r4868): trs | 2008-01-16 13:53:16 -0600 r31027@zot: tom | 2008-01-16 14:51:55 -0500 Only call ->url on link if it supports it r14866@riddle (orig r4869): trs | 2008-01-16 13:54:30 -0600 r31029@zot: tom | 2008-01-16 14:54:24 -0500 Precedence r14868@riddle (orig r4871): alexmv | 2008-01-17 14:13:03 -0600 r26865@zoq-fot-pik: chmrr | 2008-01-17 15:09:30 -0500 * lockfile error-proofing r14869@riddle (orig r4872): sartak | 2008-01-17 21:27:15 -0600 r50513@onn: sartak | 2008-01-17 22:25:53 -0500 Old REST code was creating screwy hashes, use the new jifty_serialize_format instead r14870@riddle (orig r4873): alexmv | 2008-01-17 23:02:07 -0600 r26877@zoq-fot-pik: chmrr | 2008-01-17 23:59:54 -0500 * Lazy page regions (only work with JS) r14871@riddle (orig r4874): trs | 2008-01-18 00:43:08 -0600 r31086@zot: tom | 2008-01-18 01:12:36 -0500 Support group headings for YUI menubar rendering r14872@riddle (orig r4875): trs | 2008-01-18 00:43:14 -0600 r31087@zot: tom | 2008-01-18 01:42:27 -0500 Don't try to make undef urls absolute r14874@riddle (orig r4877): sartak | 2008-01-18 05:46:56 -0600 r14875@riddle (orig r4878): sartak | 2008-01-18 05:47:02 -0600 r50523@onn: sartak | 2008-01-18 06:45:25 -0500 Don't 404 on a search with no results r14876@riddle (orig r4879): sartak | 2008-01-18 05:47:13 -0600 r14877@riddle (orig r4880): sartak | 2008-01-18 06:03:53 -0600 r50532@onn: sartak | 2008-01-18 07:03:10 -0500 Fix test that was requiring search to return 404 for no matches r14878@riddle (orig r4881): sartak | 2008-01-18 06:06:54 -0600 r50534@onn: sartak | 2008-01-18 07:06:11 -0500 A few more OAuth tests I had left uncommitted, tired of 's'ing them :) r14883@riddle (orig r4886): trs | 2008-01-18 14:32:21 -0600 r31101@zot: tom | 2008-01-18 15:31:49 -0500 Totally redo menu grouping. The way it works now is you build up menus and submenus as normal and then for submenus that you want inline, you set render_children_inline => 1 for the parent. r14885@riddle (orig r4888): ssinyagin | 2008-01-19 14:23:58 -0600 added mod_perl and file permissions info r14886@riddle (orig r4889): ssinyagin | 2008-01-19 14:26:36 -0600 appended myself r14887@riddle (orig r4890): trs | 2008-01-19 17:33:10 -0600 r31126@zot: tom | 2008-01-19 18:31:57 -0500 Update YUI from 2.2.1 to 2.4.1 *** Please check your apps for incompatibilities as there have been *** many changes between these YUI versions. r14888@riddle (orig r4891): sartak | 2008-01-20 23:25:53 -0600 r50572@onn: sartak | 2008-01-21 00:24:48 -0500 A fix for a time zone bug exposed by Doxory: copy the time_zone from JDBI::Filter, but allow for overriding it r14891@riddle (orig r4894): jesse | 2008-01-21 00:17:57 -0600 r75284@pinglin: jesse | 2008-01-17 09:45:05 -0500 * Deployment manual updates from Stanislav Sinyagin <ssinyagin@yahoo.com> r75374@pinglin: jesse | 2008-01-19 14:24:33 -0500 * Possibly making region inclusion display-neutral r75462@pinglin: jesse | 2008-01-21 01:16:24 -0500 * We somehow had dropped caching headers when we compressed css and js. r14896@riddle (orig r4899): sartak | 2008-01-22 05:56:37 -0600 r50655@onn: sartak | 2008-01-22 06:55:54 -0500 Force result->success to be 0 or 1, for the benefit of REST users r14897@riddle (orig r4900): jesse | 2008-01-22 12:42:34 -0600 r75538@pinglin: jesse | 2008-01-22 13:40:40 -0500 * Compressed CSS and JS caching backout r14900@riddle (orig r4903): bokutin | 2008-01-22 15:28:50 -0600 Add myself to AUTHORS r14902@riddle (orig r4905): sartak | 2008-01-22 16:58:50 -0600 r50681@onn: sartak | 2008-01-22 17:58:12 -0500 Template::Declare halos! (you'll need a bleeding edge TD though) r14903@riddle (orig r4906): jesse | 2008-01-23 08:42:03 -0600 r14904@riddle (orig r4907): jesse | 2008-01-23 08:42:29 -0600 r75584@pinglin: jesse | 2008-01-23 09:41:37 -0500 * 'unexpected dispatch on REST' fixed - Patch from bokutin r14905@riddle (orig r4908): sartak | 2008-01-23 13:37:27 -0600 r14906@riddle (orig r4909): sartak | 2008-01-23 13:37:41 -0600 r50687@onn: sartak | 2008-01-23 14:37:13 -0500 REST's _resolve needs to take into account that we use :: as a seperator, but we give . as the separator r14907@riddle (orig r4910): sartak | 2008-01-23 13:53:38 -0600 r50690@onn: sartak | 2008-01-23 14:53:24 -0500 REST: Qualifying the entire model/action name will fail because it will have no leading :: r14908@riddle (orig r4911): sartak | 2008-01-23 14:12:47 -0600 r50692@onn: sartak | 2008-01-23 15:12:29 -0500 Awright! Plugins can now fiddle with (TD) halos as they wish. As an example, query logging is activated only if you use the SQLQueries plugin. Which also fixes a bug where any queries caught by the Halo plugin would be lost to SQLQueries. r14909@riddle (orig r4912): sartak | 2008-01-23 14:32:40 -0600 r50694@onn: sartak | 2008-01-23 15:32:26 -0500 Some refactoring of Jifty::Mason::Halo. Now it too can support plugins munging the halo data. And its query logging is now off unless the SQLQueries plugin is used r14910@riddle (orig r4913): sartak | 2008-01-23 17:37:23 -0600 r50696@onn: sartak | 2008-01-23 18:37:06 -0500 Now each halo has a proper header. You can now toggle between rendered output and HTML source. It's ugly as sin, but it works. Other misc cleanups. r14911@riddle (orig r4914): sartak | 2008-01-23 18:39:00 -0600 r50698@onn: sartak | 2008-01-23 19:36:03 -0500 Split between "Draw halos" and "Page info". Make halos look less offensive as well. r14913@riddle (orig r4916): sartak | 2008-01-23 19:11:27 -0600 r50702@onn: sartak | 2008-01-23 20:11:08 -0500 Add some support for dumping the Perl code of templates. For now, only for TD. And DDS is currently giving us a lot of extraneous bits (oh well) r14914@riddle (orig r4917): sartak | 2008-01-24 04:51:46 -0600 r50704@onn: sartak | 2008-01-24 05:51:18 -0500 Distinguish between *runnable* actions and *visible* actions in Jifty::API. This distinction will be used in the REST interface shortly. You should hide an action if the user will never be able to run it. You should deny actions if conditions aren't right for this request (such as during a GET). For example: Only administrators should be able to see a PublishNews action. Jifty->api->hide('PublishNews') unless Jifty->web->current_user->is_admin Only users can run CreateGame (though nonusers can still inspect the action). Jifty->api->deny('CreateGame') unless Jifty->web->current_user->user_object r14915@riddle (orig r4918): sartak | 2008-01-24 04:55:50 -0600 r50706@onn: sartak | 2008-01-24 05:55:35 -0500 BEHAVIOR CHANGE: REST will now list visible actions, not just runnable actions. This is because you generally want to disable actions during GET, but that breaks GET /=/action/ So if you have actions you really mean to hide, then you'll need to update your application. r14916@riddle (orig r4919): sartak | 2008-01-24 05:18:49 -0600 r50708@onn: sartak | 2008-01-24 06:18:02 -0500 Allowing actions also shows them. Fix the defaults so that "weird" actions (such as Jifty::Action) are hidden. r14917@riddle (orig r4920): sartak | 2008-01-24 05:18:56 -0600 r50709@onn: sartak | 2008-01-24 06:18:31 -0500 Make TD halos show up only if DevelMode is on, consistent with Mason halos r14918@riddle (orig r4921): sartak | 2008-01-24 05:46:12 -0600 r50712@onn: sartak | 2008-01-24 06:45:38 -0500 Fix some test failures caused by halo output in TD generated images. Anyone have any better ideas? r14919@riddle (orig r4922): sartak | 2008-01-24 07:13:53 -0600 r50714@onn: sartak | 2008-01-24 08:13:32 -0500 Security fix: Deny all actions (except Autocomplete and Redirect) on GET. You must whitelist actions known to be safe, such as with: before '*' => run { Jifty->api->allow('CustomSearch') }; r14920@riddle (orig r4923): sartak | 2008-01-24 07:39:38 -0600 r50746@onn: sartak | 2008-01-24 08:39:25 -0500 Add t/Mapper/lib/Mapper/Dispatcher.pm which whitelists the GetGrail and CrossBridge actions r14921@riddle (orig r4924): yves | 2008-01-24 09:16:13 -0600 debian packaging r14924@riddle: andrew | 2008-01-24 10:55:28 -0600 Check the database connection before handling requests. r14928@riddle: andrew | 2008-01-24 10:56:24 -0600 r14925@riddle (orig r4925): ishigaki | 2008-01-24 09:51:27 -0600 Jifty::Web: removed long-gone loc.js (deleted at #4324) from javascript_libs r14926@riddle (orig r4926): sartak | 2008-01-24 10:31:49 -0600 r50748@onn: sartak | 2008-01-24 11:30:28 -0500 Complain loudly about back-compat when an action is denied. Changelog the Jifty::API changes. r14931@riddle: andrew | 2008-01-24 11:18:56 -0600 Backing out the previous commit as this has been moved up into Jifty::DBI. r15024@riddle: andrew | 2008-01-28 16:05:16 -0600 r14998@riddle (orig r4930): ishigaki | 2008-01-24 11:32:17 -0600 Jifty::TestServer: explicitly ignore ClassLoader objects in @INC while stringifying r14999@riddle (orig r4931): alexmv | 2008-01-24 14:49:50 -0600 r27023@zoq-fot-pik: chmrr | 2008-01-24 15:48:04 -0500 * Fix tests for new region styling r15000@riddle (orig r4932): alexmv | 2008-01-24 14:50:41 -0600 r27024@zoq-fot-pik: chmrr | 2008-01-24 15:48:29 -0500 * Now with more running under "use strict" r15002@riddle (orig r4934): trs | 2008-01-24 15:11:34 -0600 r15003@riddle (orig r4935): alexmv | 2008-01-24 15:12:16 -0600 r27030@zoq-fot-pik: chmrr | 2008-01-24 16:11:14 -0500 * Protected and private columns and models * Force values in REST handler, so we get real values r15004@riddle (orig r4936): trs | 2008-01-24 15:12:18 -0600 r31384@zot: tom | 2008-01-24 16:07:44 -0500 * YUI classes weren't getting properly attached because $class changed to $args{class} (why didn't strict/warnings catch this?) * Attach the proper yuimenu(bar)?itemlabel class to links r15006@riddle (orig r4938): alexmv | 2008-01-24 15:35:17 -0600 r27030@zoq-fot-pik: chmrr | 2008-01-24 16:11:14 -0500 * Protected and private columns and models * Force values in REST handler, so we get real values r15007@riddle (orig r4939): alexmv | 2008-01-24 15:35:21 -0600 r27047@zoq-fot-pik: chmrr | 2008-01-24 16:34:56 -0500 * Bump JDBI dep r15009@riddle (orig r4941): bokutin | 2008-01-26 01:14:00 -0600 fix Jifty->web->session->continuations. change accessor from $_->key to $_->data_key. Jifty::Model::Session schema was changed by revision 990. r990 | alexmv | 2006-05-05 05:25:00 +0900 (Fri, 05 May 2006) | 3 lines Changed paths: M /jifty/trunk M /jifty/trunk/lib/Jifty/Handle.pm M /jifty/trunk/lib/Jifty/Model/Metadata.pm M /jifty/trunk/lib/Jifty/Model/Session.pm M /jifty/trunk/lib/Jifty/Script/Schema.pm M /jifty/trunk/lib/Jifty/Upgrade/Internal.pm M /jifty/trunk/lib/Jifty/Upgrade.pm M /jifty/trunk/lib/Jifty/Web/Session.pm M /jifty/trunk/lib/Jifty.pm r12829@zoq-fot-pik: chmrr | 2006-05-04 16:24:18 -0400 * Rename 'key' to 'data_key' r15011@riddle (orig r4943): sartak | 2008-01-26 18:21:46 -0600 r50748@onn: sartak | 2008-01-24 11:30:28 -0500 Complain loudly about back-compat when an action is denied. Changelog the Jifty::API changes. r15012@riddle (orig r4944): sartak | 2008-01-26 18:22:17 -0600 r15013@riddle (orig r4945): sartak | 2008-01-26 18:22:41 -0600 r50939@onn: sartak | 2008-01-26 19:21:25 -0500 Let Jifty::Param::Schema actions define documentation for paramters. Have the REST dispatcher use "documentation" meta-attribute in models and columns r15014@riddle (orig r4946): sartak | 2008-01-26 18:30:08 -0600 r50944@onn: sartak | 2008-01-26 19:29:36 -0500 Steal documentation from the model class in Jifty::Action::Record r15015@riddle (orig r4947): sartak | 2008-01-26 19:16:16 -0600 r50946@onn: sartak | 2008-01-26 20:14:41 -0500 REST: bug in some old code: if (ref $x eq 'ARRAY') { %$x } r15017@riddle (orig r4949): sartak | 2008-01-27 06:13:42 -0600 r51069@onn: sartak | 2008-01-27 07:13:17 -0500 Revert a mismerge r15020@riddle (orig r4952): bokutin | 2008-01-28 01:23:05 -0600 fix pods. WARN - DEPRECATED: renderer argument to Chart plugin is deprecated. Use DefaultRenderer instead. at trunk/lib/Jifty/Plugin/Chart.pm line 96. r15023@riddle (orig r4955): sartak | 2008-01-28 09:51:44 -0600 r51105@onn: sartak | 2008-01-28 10:48:54 -0500 Allow AuthenticateOpenID and VerifyOpenID for some pages r15047@riddle: andrew | 2008-01-30 09:03:01 -0600 r15044@riddle (orig r4962): bokutin | 2008-01-30 01:11:27 -0600 utf8 on $path cause garbage characters in Mason. This problem line in HTML::Mason::Compiler::raw_block() is $comment = "#line $line $file\n" if $self->use_source_line_numbers; If utf8 on $path was pass UTF8_ON = "#line UTF8_OFF UTF8_ON" ( $file is $path ) r15048@riddle: andrew | 2008-01-30 09:04:30 -0600 Fixed missing HTML escaping on option value attributes in select form fields. r15052@riddle: andrew | 2008-01-31 15:31:59 -0600 Inserted the missing jifty-result-popup DIV on the Mason page wrapper. r15054@riddle: andrew | 2008-01-31 15:33:00 -0600 r15053@riddle (orig r4966): alexmv | 2008-01-31 11:23:44 -0600 r27409@zoq-fot-pik: chmrr | 2008-01-31 12:22:54 -0500 * One-character fix to get lazy regions actually working r15091@riddle: andrew | 2008-02-01 09:36:22 -0600 r15088@riddle (orig r4968): bokutin | 2008-01-31 21:48:55 -0600 fix pod. r15089@riddle (orig r4969): sartak | 2008-02-01 09:13:15 -0600 r15090@riddle (orig r4970): sartak | 2008-02-01 09:14:54 -0600 r51313@onn: sartak | 2008-02-01 10:12:39 -0500 OAuth: Support for Authorization header r15102@riddle: andrew | 2008-02-01 12:18:28 -0600 Removing <!-- and --> from scripts because when evalScript() is called during Ajax loads, IE7 complains about syntax errors. r15105@riddle: andrew | 2008-02-01 12:19:21 -0600 r15103@riddle (orig r4971): sartak | 2008-02-01 11:52:43 -0600 r51316@onn: sartak | 2008-02-01 12:47:44 -0500 Halo refactor to allow arbitrary plugins to add their data to be displayed r15104@riddle (orig r4972): sartak | 2008-02-01 12:16:01 -0600 r51318@onn: sartak | 2008-02-01 13:15:27 -0500 Remove a bunch of code duplication between Jifty::{Mason,Plugin}::Halo r15109@riddle: andrew | 2008-02-01 13:52:35 -0600 r15107@riddle (orig r4974): alexmv | 2008-02-01 12:33:56 -0600 r27419@zoq-fot-pik: chmrr | 2008-02-01 13:33:11 -0500 * Too zealous on removing characters r15108@riddle (orig r4975): alexmv | 2008-02-01 12:52:25 -0600 r27421@zoq-fot-pik: chmrr | 2008-02-01 13:51:51 -0500 * Finish pulling out html comments, and the now-unnecessary newlines as well r15148@riddle: andrew | 2008-02-02 12:09:00 -0600 Convert clickable tooltip to button title and make sure buttonToLink() passes on the title attribute. r15158@riddle: andrew | 2008-02-02 12:09:57 -0600 r15149@dynpc145 (orig r4976): sartak | 2008-02-01 14:56:45 -0600 r51320@onn: sartak | 2008-02-01 14:46:57 -0500 Some style changes and minor fixes (that damn quote in onclick.. !) r15150@dynpc145 (orig r4977): sartak | 2008-02-01 14:56:51 -0600 r51321@onn: sartak | 2008-02-01 15:55:43 -0500 Add query logging to halos Add some "downgrade the info link if there's no information" logic r15151@dynpc145 (orig r4978): jasonmay | 2008-02-01 14:56:58 -0600 Minor typo fix r15152@dynpc145 (orig r4979): sartak | 2008-02-01 14:57:17 -0600 r15153@dynpc145 (orig r4980): sartak | 2008-02-01 15:55:11 -0600 r51331@onn: sartak | 2008-02-01 16:54:24 -0500 Halos now display arguments r15154@dynpc145 (orig r4981): sartak | 2008-02-01 16:06:27 -0600 r51333@onn: sartak | 2008-02-01 17:06:06 -0500 Style changes, flip between "draw halos" and "hide halos" r15290@riddle: andrew | 2008-02-12 11:12:51 -0600 r15177@riddle (orig r4987): clkao | 2008-02-03 06:18:42 -0600 random l10n. r15178@riddle (orig r4988): clkao | 2008-02-03 06:39:35 -0600 r4925 removed loc.js from jifty::web, which should have been added to the i18n plguin. r15179@riddle (orig r4989): sartak | 2008-02-03 13:44:22 -0600 r51343@onn: sartak | 2008-02-03 14:43:38 -0500 Dependency on URI::Escape (which we're already using, probably pulled in by Mason) r15180@riddle (orig r4990): sartak | 2008-02-03 13:47:01 -0600 r51345@onn: sartak | 2008-02-03 14:46:31 -0500 Have t/01-dependencies.t report the entire dir+filename, not just the filename r15181@riddle (orig r4991): alexmv | 2008-02-04 15:13:20 -0600 r27443@zoq-fot-pik: chmrr | 2008-02-04 16:10:36 -0500 THE FOLLOWING CHANGE BREAKS BACK COMPATABILITY: * 'set' in T::D templates and the dispatcher no longer alters the values in the request itself. It alters values that are not stored if the request is saved as a continuation. This saves us from contiuation bloat due to objects getting stored in the continuation. This does not lose us much, because any arguments set via 'set' will get a chance to be set again when the continuation is called. Due to the implementation, however, 'set' cannot be used any more to alter or add actions, state variables, or the like. Some might view this new restriction as a feature, though, given how much of a kludge it felt like before. r15183@riddle (orig r4993): clkao | 2008-02-05 08:43:51 -0600 * In authenticate::password plugin, do the password check on creation and prevent empty password. * Add todo tests for validate_password to be run on set_password, which isn't currently the case. r15184@riddle (orig r4994): clkao | 2008-02-05 08:46:15 -0600 * don't prepend http:// on https:// openid urls. * on verification failure, call continuation if there's one, rather than always redirect to /openid/login. r15185@riddle (orig r4995): sartak | 2008-02-05 10:54:38 -0600 r51361@onn: sartak | 2008-02-05 11:53:49 -0500 Checkpoint in the new Attributes plugin, a port of RT::Attribute r15186@riddle (orig r4996): sartak | 2008-02-05 11:58:28 -0600 r51363@onn: sartak | 2008-02-05 12:57:59 -0500 Forgot to commit TestApp::Plugin::Attributes::Model::Song Clean up the return values of the attribute mixin methods A bunch more tests r15187@riddle (orig r4997): sartak | 2008-02-05 12:46:20 -0600 r51365@onn: sartak | 2008-02-05 13:45:51 -0500 Some SQLQueries fixes r15189@riddle (orig r4999): sartak | 2008-02-05 13:03:48 -0600 r51369@onn: sartak | 2008-02-05 14:03:22 -0500 SQLQueries: Log queries as soon as they're made, instead of after the request r15250@riddle (orig r5060): alexmv | 2008-02-06 15:14:17 -0600 r27521@zoq-fot-pik: chmrr | 2008-02-06 16:02:33 -0500 * onclick => { submit => { action => $a, arguments => { a => "b" }}} now propagates the action arguments to the non-JS click as well. r15256@riddle (orig r5066): alexmv | 2008-02-07 13:03:21 -0600 r27687@zoq-fot-pik: chmrr | 2008-02-07 14:03:12 -0500 * Cache triggers for session and metadata r15257@riddle (orig r5067): sartak | 2008-02-07 13:27:17 -0600 r51455@onn: sartak | 2008-02-07 14:25:55 -0500 Halo pod coverage r15259@riddle (orig r5069): sartak | 2008-02-07 13:41:00 -0600 r51461@onn: sartak | 2008-02-07 14:39:58 -0500 Better diagnostics from OAuth - notify user when we have Net-OAuth < 0.05 r15260@riddle (orig r5070): falcone | 2008-02-07 14:47:12 -0600 r29315@ketch: falcone | 2008-02-07 15:45:16 -0500 * t/TestApp/t/06-validator.t fails with an older HTTP::Server::Simple r15262@riddle (orig r5072): alexmv | 2008-02-07 15:27:04 -0600 r27701@zoq-fot-pik: chmrr | 2008-02-07 16:26:41 -0500 * Template arguments override normal args, when talking to templates * Template arguments don't propagate down into pageregion calls r15263@riddle (orig r5073): alexmv | 2008-02-07 22:41:05 -0600 r27710@zoq-fot-pik: chmrr | 2008-02-07 23:40:58 -0500 * Work around bug in Devel::InnerPackage r15264@riddle (orig r5074): jesse | 2008-02-07 22:49:24 -0600 r27479@31b: jesse | 2008-02-07 23:49:17 -0500 Small cleanups to CRUD views to help make RT work r15271@riddle (orig r5081): sartak | 2008-02-08 15:42:52 -0600 r51679@onn: sartak | 2008-02-08 16:41:47 -0500 Fix the isa check in REST's _resolve. We instead want to fail if the class we check isn't a $base. r15272@riddle (orig r5082): alexmv | 2008-02-08 15:47:36 -0600 r27722@zoq-fot-pik: chmrr | 2008-02-08 16:47:00 -0500 * Add an ->enumerable method to record classes, so we don't try to create huge valid_values lists for record classes which are known-huge. r15277@riddle (orig r5087): audreyt | 2008-02-09 17:07:48 -0600 * Jifty::Util::app_root - File::Spec::Win32's catdir() just got much more strict in PathTools 3.27, such that: catdir('C:', 'perl') Now returns 'C:perl' instead of 'C:\perl'. Code around it using a few catpath() calls to deal with the volume part. (This is not the whole story; a new Class::Inspector release would be needed for File::HomeDir to work on Win32 too.) r15281@riddle (orig r5091): alexmv | 2008-02-11 13:28:13 -0600 r27742@zoq-fot-pik: chmrr | 2008-02-11 14:27:52 -0500 * catpath wants a file, or File::Spec::Unix carps about undef values r15282@riddle (orig r5092): sartak | 2008-02-11 14:01:27 -0600 r15283@riddle (orig r5093): sartak | 2008-02-11 14:01:57 -0600 r51757@onn: sartak | 2008-02-11 14:59:50 -0500 OAuth: Better debugging output, small fixes r15284@riddle (orig r5094): sartak | 2008-02-11 14:02:17 -0600 r51758@onn: sartak | 2008-02-11 15:01:04 -0500 Keep track of whether we are OAuthed in the stash (this may move in the future, since current_user_can will probably want it) More tests, especially "don't let consumers oauth tokens while oauthed" r15285@riddle (orig r5095): alexmv | 2008-02-11 14:47:07 -0600 r27753@zoq-fot-pik: chmrr | 2008-02-11 15:46:40 -0500 * Old requests from continuations may not have template_arguments set r15289@riddle (orig r5099): audreyt | 2008-02-12 00:33:35 -0600 * Upgrade Class::Inspector dependency so Win32 won't break with File::Spec 3.16. |
|---|
use inc::Module::Install 0.46;
name('Jifty');
license('Perl');
requires(perl => '5.8.3');
requires('App::CLI' => 0.03 ); # App::CLI::Command::Help App::CLI::Command
requires('Cache::Cache'); #Cache::FileCache
requires('Calendar::Simple');
requires('Class::Accessor'); # Class::Accessor::Fast
requires('Class::Container');
requires('Class::Data::Inheritable');
requires('Class::Trigger' => '0.12');
requires('Clone' => '0.27');
requires('CGI' => '3.19');
requires('CGI::Cookie::Splitter');
requires('Class::Inspector' => 1.20); # For File::ShareDir on Win32
requires('Crypt::CBC');
requires('Crypt::Rijndael');
requires('Compress::Zlib');
requires('CSS::Squish' => 0.07 );
requires('DBD::SQLite' => 1.11 );
requires('Data::Page');
requires('Data::UUID');
requires('DateTime');
requires('DateTime::Locale');
requires('Date::Manip');
requires('Email::Folder');
requires('Email::LocalDelivery' => 0.217 );
requires('Email::MIME' => 1.861);
requires('Email::MIME::Creator' => 1.450 );
requires('Email::MIME::ContentType' => 1.012 );
requires('Email::MIME::CreateHTML');
requires('Email::MIME::Modifier' => 1.442 );
requires('Email::Send' => '2.0'); # Email::Send::Jifty::Test
requires('Email::Simple' => 2.003);
requires('Email::Simple::Creator' => 1.400 );
requires('Exporter::Lite');
requires('File::Find::Rule');
requires('File::MMagic');
requires('File::ShareDir' => '0.04');
requires('File::Spec' => '3.14');
requires('File::Temp' => '0.15'); # we need cleanup()
requires('HTML::Entities');
requires('HTML::Lint');
requires('HTML::Mason' => 1.3101); # HTML::Mason::Exceptions HTML::Mason::FakeApache HTML::Mason::MethodMaker HTML::Mason::Request HTML::Mason::Utils
requires('HTML::Mason::Plugin');
requires('HTTP::Cookies');
requires('HTTP::Date');
requires('HTTP::Server::Simple' => '0.28'); # HTTP::Server::Simple::CGI
requires('HTTP::Server::Simple::Recorder');
requires('Hash::Merge');
requires('Hook::LexWrap');
requires('IPC::PubSub' => '0.23' );
requires('IPC::Run3');
requires('Jifty::DBI' => '0.49' ); # Jifty::DBI::Collection Jifty::DBI::Handle Jifty::DBI::Record::Cachable Jifty::DBI::SchemaGenerator
requires('Locale::Maketext::Extract' => '0.20');
requires('Locale::Maketext::Lexicon' => '0.60');
requires('Log::Log4perl' => '1.04');
requires('LWP::UserAgent'); # Net::HTTP
requires('MIME::Types');
requires('Module::Pluggable' => '3.5'); # Module::Pluggable::Object
requires('Module::Pluggable::Object');
requires('Module::CoreList');
requires('Module::Refresh');
requires('Module::ScanDeps');
requires('Object::Declare' => '0.13');
requires('PadWalker');
requires('Params::Validate');
requires('Scalar::Defer' => '0.12');
requires('Shell::Command');
requires('String::Koremutake');
requires('SQL::ReservedWords');
requires('SVN::Fs');
requires('SVN::Repos');
requires('SVN::Simple::Edit');
requires('Template::Declare' => '0.07'); # Template::Declare::Tags
requires('Template::Declare' => '0.26'); # Template::Declare::Tags
requires('Test::Base');
requires('Test::Log4perl');
requires('Test::LongString');
requires('Test::More' => 0.62 ),
requires('Test::Pod::Coverage'),
requires('Test::WWW::Mechanize' => 1.04 ),
requires('Test::WWW::Selenium'),
requires('WWW::Mechanize' => 1.30 ),
requires('UNIVERSAL::require');
requires('URI' => 1.31);
requires('URI::Escape');
requires('XML::Writer' => '0.601');
requires('XML::Simple');
requires('XML::XPath');
requires('version');
if (can_cc()) {
# Always require the Syck bindings if a C compiler is available
requires('YAML::Syck' => 0.82);
requires('YAML' => 0.35); # Use YAML::Dump for the moment since YAML.pm segfaults on
# reading stupidly long (~20K characters) double-quoted
# strings, and we need to produce YAML.pm-readable output.
requires('JSON::Syck' => 0.15);
}
else {
requires('YAML' => 0.60) unless can_use('YAML::Syck' => 0.82);
requires('JSON' => 0.01) unless can_use('JSON::Syck' => 0.15);
}
features(
'Administrative Interface (web)' => [
-default => 1,
requires( 'Pod::Simple') # Pod::Simple::Text Pod::Simple::HTML
],
'Development of a jifty application' => [
-default => 1,
recommends('DBD::SQLite' => 1.11 ),
recommends('Test::Base' => 0.44 ), # Test::Base::Filter
recommends('Module::Install::Admin' => '0.50'),
($^O ne 'MSWin32' ? recommends('Test::HTTP::Server::Simple' => '0.02' ) : ()),
recommends('Test::HTML::Lint'),
recommends('Test::MockModule' => '0.05'),
recommends('Test::MockObject' => '1.07'),
recommends('Module::Refresh' => '0.09'),
recommends('Test::WWW::Declare' => '0.01'),
],
'Development of the jifty framework' => [
-default => 0,
recommends('DBD::SQLite'),
recommends('Class::Accessor::Named'),
recommends('Devel::Cover'),
recommends('Module::CoreList'),
recommends('Module::Install::Admin' => '0.50')
],
'Forking jifty server' => [
-default => 0,
recommends('Net::Server::Fork'),
],
'Pre-forking jifty server' => [
-default => 0,
recommends('Net::Server::PreFork'),
],
'Apache2/ModPerl2 handler' => [
-default => 0,
recommends('Apache2::Const'),
],
'Experimental features' => [
-default => 0,
recommends('PAR::Dist::FromCPAN'),
],
'OpenID Login Plugin' => [
-default => 0,
recommends('Net::OpenID::Consumer'),
recommends('Cache::FileCache'),
recommends('LWPx::ParanoidAgent'),
],
'Facebook Login Plugin' => [
-default => 0,
recommends('WWW::Facebook::API' => '0.3.6'),
],
'Jifty console' => [
-default => 0,
recommends('Devel::EvalContext'),
],
'Chart Plugin (none of these must be installed for Charts to work)' => [
-default => 0,
recommends('Chart::Base'),
recommends('GD'), # for a testing hack
recommends('GD::Graph'),
recommends('XML::Simple'),
recommends('Image::Info'), # for testing
],
'Memory Leak Plugins' => [
-default => 0,
recommends('Devel::Events::Objects' => '0.02'), # Devel::Events::Handler::ObjectTracker Devel::Events::Generator::Objects
recommends('Devel::Size'),
recommends('Devel::Gladiator'),
recommends('Proc::ProcessTable'),
],
'OAuth Plugin' => [
-default => 0,
recommends('Net::OAuth::Request' => '0.05'), # Net::OAuth::RequestTokenRequest Net::OAuth::AccessTokenRequest Net::OAuth::ProtectedResourceRequest
recommends('Crypt::OpenSSL::RSA'),
recommends('Digest::HMAC_SHA1'),
],
'Ldap Plugin' => [
-default => 0,
recommends('Net::LDAP')
],
'CAS Plugin' => [
-default => 0,
recommends('Authen::CAS::Client')
],
'Improved halos' => [
-default => 0,
recommends('Template::Declare' => '0.28'),
recommends('Data::Dump::Streamer'),
],
);
no_index( directory => qw< debian doc examples share plugins/*/t> );
no_index package => 'DB';
version_from('lib/Jifty.pm');
#&auto_bundle_deps();
&auto_install();
#&auto_include_dependent_dists();
install_script('bin/jifty');
install_share;
# Test all of our sub-dist tests too
tests('t/*.t t/*/*.t t/*/*/*.t t/*/*/*/*.t');
WriteAll;