summaryrefslogtreecommitdiff
path: root/app/models
AgeCommit message (Expand)Author
2009-03-30added named scope for headshukl
2009-03-29minor refactorhukl
2009-03-29a few more assertionshukl
2009-03-29refactored the outdated translations functionality. also adding flexibility to allow filtering with custom values.hukl
2009-03-29Added unit test to verify the basic functionality of the find_with_outdated_translations method. Found and fixed some issued on the way. [ x ] Testing rockshukl
2009-03-28added class and instance methods to find untranslated pages and for detecting pages with outdated translations. not publicly exposed yet as I need to test it...hukl
2009-03-28introducing named scope :drafts for Pagehukl
2009-03-28reducing queries here as well - yayhukl
2009-03-28renamed the user association on nodes to lock_owner as it is more specific for its purposehukl
2009-03-22Finally! The cloning of pages for creating new drafts is now a lot cleaner. I had to search for a while to figure out a better way. Thank you svenfuchs and j...hukl
2009-03-21only clone attributes if they are for real and not a fallback hukl
2009-03-21put the lock onto nodeshukl
2009-03-19adding proper linkhukl
2009-03-18add missing location column to events. removed summary column from summary - we try joins instead. we can always fallback if it turns out to be a stupid idea...hukl
2009-03-18Refactored Chaos Calendar by wrapping libical and introducing event and occurrence model. More improvements to come. Enables us to create events with reoccur...hukl
2009-03-10remove event resource temporarily until its finalizedhukl
2009-03-10added calendar backend. more features and integration to comeerdgeist
2009-03-09only render pages if their published_at date is either nil or set to a time < Time.now. The render_page method will render a 404 otherwise.hukl
2009-03-08added date selector for published_at. Also removed the part that reset the published_at attribute to Time.now. Some cleanupshukl
2009-03-06now we need that againhukl
2009-03-05more entities translated, refined xpath selectorhukl
2009-03-05added begin rescue as too much can go wronghukl
2009-03-05rewriting url in body fields to include the locale before saving the page. xpath magick for the win!hukl
2009-03-04new public_link method for pages which includes localehukl
2009-03-04renamed render_page template to standard_templatehukl
2009-03-03introducing page templates - need to add edit capabilitieshukl
2009-03-02refactoring of the page cloning and draft creatinghukl
2009-03-02fixes. wasn't working right in _all_ situations.hukl
2009-03-01refactored drafts which are now identified by a draft_id on the node rather than by guessing it. i was really that close to make that mistake again.hukl
2009-02-28well, seems i forgot the limit clause therehukl
2009-02-27more tests and fixes. always write tests - they are so good!hukl
2009-02-27modified the aggregate method to take only head / published pages into accounthukl
2009-02-27changed that comment to fit the current implementationhukl
2009-02-26the locale stuff as well as the cloning should work now entirely as expected although the cloning itself isn't really a beautyhukl
2009-02-26narfhukl
2009-02-26there has to be a better way. need to read globalize2 documentationhukl
2009-02-25another locale fixhukl
2009-02-25added locale methodshukl
2009-02-25tryhukl
2009-02-25fixed little locale loopholehukl
2009-02-22cloning tags from heads to new drafts. splitted the find_or_create_draft method to make it easier to read.hukl
2009-02-22disabling for nowhukl
2009-02-22created route for home page, removed rails index.htmlhukl
2009-02-22another round of view updateshukl
2009-02-21changed minimum :login lengthhukl
2009-02-21cloning now with all the translations. test addedhukl
2009-02-21creating new drafts with cloning the heads hukl
2009-02-19can't assign user right away ? weirdhukl
2009-02-15* permission api on user modelsimon
2009-02-15* added missing associationssimon