summaryrefslogtreecommitdiff
path: root/app/models/page.rb
AgeCommit message (Expand)Author
4 daysStage 7 click-testing fixeserdgeist
4 daysStage 7: Rails 7.2 → 8.1 on Ruby 3.2.11erdgeist
6 daysStage 5: Rails 6.1 → 7.2 on Ruby 3.2.11erdgeist
6 daysStage 4: Rails 5.2 -> 6.1 on Ruby 2.7.2erdgeist
6 daysRails 5.2 application fixeserdgeist
7 daysRails 4.2 model and controller fixeserdgeist
7 daysFix tagged content aggregator, assets path, and add regression testserdgeist
8 daysStage 1 complete: Rails 2.3.5 to Rails 3.2.22.5 upgradeerdgeist
8 daysUpdate deployed state to what's currently runningerdgeist
2025-01-28Big overhaul patch and style changesCharlie Root
2012-02-18Bugfix: Finally after all those years, asset urls are not rewritten anymore with a locale prefix! Hoorray!hukl
2010-03-03do not rewrite paths for assetshukl
2010-01-14Updated globalize2 to latest version. Modified existing code accoringlyhukl
2009-12-01refactored the Page.aggregate to instanciate a lot less AR objects. Its actually instanciating only the ones being displayed. Still over 150 but still a mass...hukl
2009-11-17don't set the published_at upon creation of the first draft but rather on publishhukl
2009-11-15removed date and author from the standard template and introduced a dedicated update template which will get auto assigned if a node is created under updates...hukl
2009-11-11implemented that pages now have an author and an editorhukl
2009-11-03default now 25hukl
2009-11-02make sure user and published_at stay the samehukl
2009-10-27fix for emtpy assets arrayhukl
2009-10-20allow to overwrite the original user in edit viewhukl
2009-09-17switched tagging plugin again for postgresql compatibility hukl
2009-09-05prepend public_link with slashhukl
2009-09-04moved the image sorting into the model and wrapped it into a transactionhukl
2009-09-01cloning a page clones the asset references as wellhukl
2009-09-01added expirimental routing for image galerieshukl
2009-09-01added related_assets to pageshukl
2009-08-16migration to add missing columns and indexes for acts_as_taggable_redux as well as other related modificationshukl
2009-08-15changed the implementation of Page.aggregate once more. Now faster, better shorter with acts_as_taggable_reduxhukl
2009-08-15added pagination for aggregators. costed me the whole day. crappy plugins ARGH! More work to do!hukl
2009-07-18Test::Unit Fixtures can't handle globalize2's translated attributes which is why its impossible to set translated attributes via fixtures. Therefor I removed...hukl
2009-07-18cleaned up the Page#public_link methodhukl
2009-04-18changed :include to :join which is much faster. adding named scopes with includes if they are neededhukl
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-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-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