1
0
Commit Graph

8 Commits

Author SHA1 Message Date
Bharat Mediratta
1a0dc96e77 First pass at upgrading contrib code to the Kohana 2.4 standards.
Here's a summary of the changes I made:

1) html::specialchars --> html::chars
2) ORM::orderby() -> ORM::order_by()
3) ORM::where() now takes 3 parameters including a comparator.  So
   ORM::where("a", $b) is now ORM::where("a", "=", $b) and the middle
   value can be any comparator.
4) ORM::$loaded --> ORM::loaded()
5) Database::instance() --> db::build()  (and there are some other
   subtle differences, like now you always call execute() at the end
   of the chain)
6) form::close() and form::close_fieldset() are now gone.  Use
   </form> and </fieldset> respectively.
7) Controller::$input is gone.  Use Input::instance() instead.

I've done very rudimentary testing so far.
2009-12-22 21:31:03 -08:00
Bharat Mediratta
10231b5718 Load 100 rows at a time instead of 20, so faster machines can run through the task quicker. 2009-09-21 22:00:36 -07:00
Bharat Mediratta
476ab6d079 Optimization: Flush the relative_path_cache and relative_url_cache at the end. 2009-09-21 21:58:14 -07:00
Bharat Mediratta
4389c80223 Add a "fix internet addresses" task which goes through and fixes
any bad slugs.
2009-09-21 21:49:11 -07:00
Bharat Mediratta
1040302794 Store the stack in a string instead of nested arrays to save space
when serializing, which gives us a little more headroom to store big
stacks in the context field.
2009-09-12 17:29:22 -07:00
Bharat Mediratta
067b6b5073 Installer cleanup.
We no longer need the install() function for installs that only set
the module version number.  Same for upgrade().  Do a general cleanup
of all installers and remove the ones that are no longer necessary.
2009-09-05 14:21:26 -07:00
Bharat Mediratta
597447673d Update column names:
left --> left_ptr
  right --> right_ptr
2009-08-05 21:20:39 -07:00
Bharat Mediratta
e504fc230e Say hello to the rescue module. Right now, it can fix your MPTT
hierarchy if it gets out of whack.
2009-07-20 21:37:33 -07:00