restore editability of dates

Ticket

+commit
 

I think this is a routine javascript issue.

 

it's an easy fix to restore loading calendar.js in head.  unfortunately that adds 84k to initial requests  (prototype is 124k, the html is often ~7-15k range).  so it's a high price for that functionality.  I tried compressing it, and a couple of angles on loading it only when a date editor is requested-- no luck on either score.  there is a general problem here of needing to be able to load cardtype-specific librararies at edit-time. 

 

 

Fix dates on:

Date:
2008-9-19

 

 

 

 

Notes

  • √slow open/close getting ugly -- we should ditch it.
  • √table of contents causes only ... to show in line mode
  • √optimize sidebar- switch to new wql?
  • √phantom search cards not working properly?? (on osoeco)
    They were working fine -- but breaking on capitalization. That seems inconsistent; should be case insensitive, so I put a low-pri bug in below.
  • √ search
    • √ should have title and message when no results
    • √ should show search term on page
    • √ should keep text box filled
  • √ line view over-rendering
  • √ strange search results
  • √ need global ajax defaults
  • √ Broken links query
  • √ pointers buggy
  • √ +*options
  • √ something like "+phantom name is an auto-generated card"
  • (√) weird behavior with caching type templated cards- including caching permissions denied
    • above needs solution on ross (mem cache?)
    • should work on new installations
  • √ phantom card inclusion should be case insensitive
  • √ recent changes ordering issues
  • √ clicking paging arrow breaks transclusion mode (goes from content to card). See connectipedia.org/County
  • √ search templates permissions issue.
  • √ image and file bug on create
  • √ Significant optimizations, resulting in 50-100% improvement in server processing time on most pages:
    1. don't check edit permissions for edit link
    2. cache footer
    3. get template content for auto-cards from cache
    4. get content for sidebar sorting from cache

 

Date:
2008-9-19

 

 

 

 

Notes

  • adding pointers broken on new card (edit works fine after save)
  • better fix for search template permission issue
  • migrations-vs-pull_db (right now have to comment out data-loading in migration for pull_db to work)
  • can't use wql specs twice. eg: {"or":{"type":"City","type":"County"}}
  • slot issues when creating new connections.
    • changing cardtype removes context
    • adding pointee in a pointer card busts
  • map cardtype
  • going to this card when not logged in gives javascript error.
  • white space agnosticism failing around plus signs (canonical version should be stripped)
    Card.create :name=>"Lewis +booger"
  • soft templating cardtype does not set default when changing cards.
  • infinite transclusions loops possible
  • templatees' cache not broken when template becomes hard template
  • users with this role (on role card, you can see all the users attached to it)
  • tests
    • 2 rspec tests failing in mysql (wql created_at/updated ordering)
    • Selenium crashing
  • both wql versions in use
  • ruby card upgrade
  • end-paging
  • broken links bad data
  • optimize card view- edit & footer #doesn't buy us very much
  • other optimizations-- I think the next step would be caching line view of searches-- but that's a big one.
  • SQLITE not working- search broken in a couple places.