Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 607 commits
  • 405 files changed
  • 9 contributors
This comparison is big! We're only showing the most recent 250 commits
Dec 18, 2009
Philip Arndt bump build version f2e255d
Philip Arndt being careful about placement of analytics.. apparently <link /> tags…
… may break it so putting it before those. (Thanks Sam)
Dec 21, 2009
Philip Arndt support flashvars in an embed code 2561247
Dec 22, 2009
Philip Arndt Paste from word now pastes in the right direction and replace_me_with…
…_wym-123123123 tags now get removed properly on save
Philip Arndt This fixes the issue where Internet Explorer browsers are presented w…
…ith a basic auth dialogue rather than the xhtml one that they *can* accept but don't think they can.
Philip Arndt specify urls for when the action fails to be picked up by javascript 6e73786
Philip Arndt no longer supporting lightbox in core 14ee00a
Dec 23, 2009
Philip Arndt move jquery out of the folder it was in, seemed superfluous, and migr…
…ated another function to jquery.
Dec 24, 2009
Philip Arndt fix init_tooltips so that it works properly with jQuery f4e0370
Philip Arndt version bump 142bc37
Jan 05, 2010
Philip Arndt combine rules 218fa07
Jan 06, 2010
make tab links for plugins with spaces in their names work out of the…
… box
Jan 11, 2010
Fixed down migration in plugins generated by refinery-generator e80158d
Philip Arndt added better tracing of errors on dashboard and do more to try to pre…
…vent these errors
Philip Arndt refactored core crud library to make it much more easily understandab…
…le and provide more options to control what's going on without overriding. Migrated some functionality over to make use of it and more will follow.
Jan 12, 2010
Philip Arndt remove testing switch 672cb0f
Philip Arndt shorten using collect dbab5b2
Philip Arndt use send rather than eval e653171
Philip Arndt convert to jQuery equivalent ee11e81
Philip Arndt convert to jquery equivalent. 110a5b3
Philip Arndt convert to jQuery equivalent 151fc03
David Jones Merge branch 'master' of into them…
Philip Arndt don't reload plugins, the plugin loader code seems to be fixing the m…
…odule tree errors.
David Jones Merge branch 'master' of into them…
Philip Arndt add some fragment caching to the menu and set a function to expire it…
… when a page is created/updated/destroyed
David Jones theme support now working from the back end only. Just set the settin…
…g 'theme' to the name of the theme you have in your /themes directory and it will use that instead
David Jones Merge branch 'master' of into them…
Philip Arndt switch to alias_attribute which does the same thing as before but in …
…the proper way.
Changed model generator so that it is consistent with the changes to …
…the other models
Jan 13, 2010
Tried to make it easier to implement refinery on Heroku, unfortunatel…
…y it still fails to work remotely
Changed Heroku setting to Use_S3_Backend.
Fixed problem with acts_as_indexed by defaulting to tmp/index.
Philip Arndt make s3 backend setting work without putting it into environment.rb b…
…y putting it into the preinitializer.
Jan 14, 2010
David Jones Building UI for themes 6825932
David Jones Merge branch 'master' of into them…
Jan 15, 2010
Philip Arndt Fix truncate for Hpricot 0.8.2 and allow this to be used (or 0.8.1) 1ed1d13
Added amazon_s3.yml and rackspace_cloudfiles.yml to the git ignore li…
…st, changed all config files to end with .example, updated refinery generator to customize all 3 config files.
convert main menu functionality to jquery a700c71
page dialogs to jquery 9cfb6d8
fix jquery version from google load 8c3e733
migrate page parts, fix dialogs 0dffca5
migrate image dialog 04bfb73
add default flash fade 8dc3b04
migrate part of sortable page 9d00891
replace image picker on page custom title bca6ea6
fix per_page image count e596b07
Philip Arndt updated jQuery version and migrated some more admin functionality to …
Philip Arndt use hernan's shortcut for jQuery 64c3a84
Philip Arndt move .noConflict to the admin _head.html.erb and include tooltips aga…
…in and fix path to admin javascript
Philip Arndt get rid of more errors and introduce jqueryui to google load 3574daf
Philip Arndt this can actually be a rails tag 2789c5a
Jan 17, 2010
David Jones front end nearly done for themes 4299e1f
Jan 18, 2010
Philip Arndt Explicitly call all of the scriptaculous dependencies when using cach…
…ing because rails ignores them otherwise. Fixes issue #32
Philip Arndt no more tooltips until we get a jQuery solution, preferably one that …
…uses jQuery UI.
Jan 19, 2010
David Jones better theme UI. Now shows preview image, allows you to select the th…
…eme you want to apply right now and also checks to make sure the theme directory is writable for Heroku. If it's not then disable adding and editing themes.
Jan 20, 2010
Philip Arndt ensure that the content page doesn't display the submenu if the page …
…is being displayed in an admin layout e.g. 404
David Jones added documentation for theme 6ea0746
David Jones added documentation for themes e7d6e39
David Jones Merge branch 'master' of into them…
David Jones permissions change on demolicious d6d1d3f
Philip Arndt add the zip gem back in. 06a3254
David Jones trying to make yardoc play nice 83359ac
David Jones hmm that breaks it e0c3494
Philip Arndt unfortunate d512c45
Philip Arndt Make themes support play nice with rake and the boot process and chan…
…ge theme_directory_is_writable to a class method as it doesn't really require an instance to work.
Philip Arndt remove some old assets 57b01e4
Philip Arndt remove some more unused assets 9a2698b
Philip Arndt Thanks, Maarten. 8628bdb
Philip Arndt Merge branch 'jQuery' of into jQuery
Jan 21, 2010
David Jones Fixing up rdoc support c00db5b
David Jones remove old generated doc files. also ignore yardoc ea3a9aa
David Jones Ported the hemingway theme from Wordpress to Refinery 52f4743
David Jones dont need these files in the theme e54cdd3
Jan 22, 2010
Philip Arndt ensure that rake tasks are only fetched into the project one time (th…
…ere were cases where tasks were running more than once when using the gem)
David Jones ignore generated docs and attempt to make yardoc work this time now I…
… have the .yardopts file in place
David Jones yardopt file is now easier to read what to document dedc59f
Philip Arndt Bugfixes around the dialogs and the save and continue functionality. …
…Removed libraries that won't be useful anymore. Things aren't perfect yet.
Jan 24, 2010
David Jones Added link to developer documentation ad62207
David Jones better subdomain setup for API docs f87f50a
David Jones fixed up yardocs options (thanks to Loren Segal) 259ac80
David Jones a bit tidier with the yardopts file 84e0ad4
Jan 25, 2010
Fixed problem in rakefile when running from a plugin e6cf54e
Philip Arndt fix for README.rdoc and update version 6d9d551
Jan 26, 2010
Philip Arndt Add more information to routing file to say where engine routes are l…
David Jones add documentation about how to extend Refinery with plugins b45632f
David Jones Merge branch 'master' of 1a19da4
David Jones adding empty help file for crud 38c9678
David Jones converting our docs to fully use rdoc and it's formatting 3ffe8e3
Jan 27, 2010
David Jones fix javascript support in themes c99151a
David Jones Fixed themes so that you can use subdirectors inside your images, jav…
…ascripts and stylesheets directory (thanks csessions)
David Jones added forgot my password support, removed unused code generated by re…
…stful authentication and tidied up what is left
David Jones dont need this table 3ac7a12
Philip Arndt gem friendly full_filename 84fd4b3
David Jones Added documentation about how Crudify works addeaae
David Jones small doc improvement ddbe8d2
Philip Arndt be more helpful to our lovely users and contributors :) 9e6f213
David Jones show everyone they need Rmagick as a requirement and also disable sil…
…m scoorge for Windows users because it contains c extensions
Philip Arndt turned the bundled themes into zip files which are installed automati…
…cally when rake db:setup is run when the application is originally installed (or they can be manually uploaded if upgrading to this version).
Philip Arndt fixed references to the rdoc files and now we're upgrading the refine…
…ry preinitializer on a refinery-update-core too.
David Jones helping out our Heroku users with a bit of documentation 32f2397
David Jones show everyone they need Rmagick as a requirement and also disable sil…
…m scoorge for Windows users because it contains c extensions
David Jones helping out our Heroku users with a bit of documentation 8f77642
David Jones Merge branch 'master' of ffd78fa
David Jones better readme that tries to answer the question of Why Refinery? 9769d53
David Jones outline what Refinery comes with and mention how to extend it a40274e
David Jones ops gotta remember this is not markdown 59b415f
David Jones link everyone to the demo of course 117d7e6
David Jones trailing slash not needed bd601e7
David Jones trailing slash not needed 1dec35f
David Jones documenting each plugin within Refinery fb42387
Andrew Vit Use presenter object for templates
The @page object is used in layouts to render various page parts such as
the title, meta tags, etc. A presenter object stands in for when this
isn't an instance of Page, so that it answers to the same methods
required by the template.

To present any generic model, just call present(@model) in your controller.

You can create custom presenters for your own models by inheriting from
Andrew Vit Cleanup: method not needed in generator template, and whitespace acf1d31
Jan 28, 2010
David Jones Finishes off documentation 2ac9d96
David Jones fix links ff02307
David Jones Much better documentation formatting with markdown 181a1e1
David Jones improving readme file e9ca9ba
David Jones more refinements to the readme file 923f9f3
David Jones major documentation review. changed format to markdown to support scr…
…eenshots and better formatting
David Jones link to each of the docs from the main doc e984b72
Philip Arndt overhauled a bit of the core to provide the functionality for present…
…ers that were submitted by avit (thanks) which gives the ability to use a different model than Page for the meta information such as browser title. Added a public/javascripts/admin.js file which allows the developer to hook into wymeditor for example and is included just after the js frameworks but just before the js libraries. Updated themes to use new architecture. ApplicationHelper::setup is now deprecated and tells you so in your log file.
Philip Arndt merge 6c69e92
David Jones ops fix up a bit where i missed the rdoc to markdown conversion 9b40d1b
David Jones removed docs about the dashboard in the image docs 1d480b1
Jan 29, 2010
Philip Arndt migrated some more code over to jQuery but still more to go 8e32dd0
Feb 01, 2010
David Jones improved readme 983d44f
David Jones Improved documentation, especially around authentication and settings c52052d
David Jones ops fix markdown syntax 8158c8d
David Jones ops fix markdown syntax 975e0b3
David Jones slim scrooge is not required for Windows and JRuby users 1a0301f
David Jones italics instead of bold f6dab92
David Jones add inline documentation into the page model and move any magic numbe…
…rs or strings out to constants
David Jones adding the basic folders for tests d878c0c
David Jones added page unit tests and basic fixtures to test deletability, and pa…
…ge paths
Philip Arndt use the theme.folder_title (renamed from theme.theme_folder_title due…
… to redundancy in method name) when switching theme and add a title to the activate theme button (Fixes GH Issue #33)
Philip Arndt Merge branch 'master' of 0bc0b9d
David Jones 99% done with unit tests for page model. 3 tests failing right now cb5212a
Philip Arndt remove now useless libraries, update jquery version. a9a151d
Philip Arndt moved some more code to jQuery. Getting reordering working, still a w…
…ork in progress, this code is not stable.
Feb 02, 2010
Philip Arndt Changed to $ as prototype and scriptaculous are now gone. Reordering …
…appears to work now but limited functionality (new lists can't be created under other lists and it's jumpy with the CSS).
David Jones fixed links in docs dd9ce4c
David Jones add in themes and plugins as stuff included with Refinery eb1546e
Philip Arndt reorder finishes on click of the done button now b103396
Philip Arndt fix dialogs for resources and images and make reordering work only sl…
…ightly better
Philip Arndt Made :method => :delete into a class that hooks into some unobtrusive…
… javascript to open the confirm dialogue and submit the destroy request. Reduces the amount of HTML in the backend.
Philip Arndt Don't need the files for this 95a9883
David Jones remove the relationship between pages and images. Now we have page pa…
…rts you use that mechanism to display custom content like images. We don't need to rely on pages having a direct link with images anymore.
David Jones Added tests for page parts bc2d391
David Jones Adding image tests and documenting each method on the image model inline 9bb0452
Philip Arndt make more stable, still testing to come 8893fb7
Feb 03, 2010
Philip Arndt Apply CSS class now works as with prototype 10d3dbe
Philip Arndt mark a CSS class from the dropdown when that class is selected on the…
… container that is being applied to
Philip Arndt ensure class names remain when the tag changes a3ec77a
Philip Arndt ensure style and class attributes are copied to links that replace ot…
…her links
Philip Arndt document IE paste feature and give image form friendlier errors 1a87376
Philip Arndt Wee fix for IE b337c66
Philip Arndt make the header display consistently across browsers 67cc973
Feb 04, 2010
John van Dijk ignore theme directory 135c1a9
John van Dijk major improvent of the flash message (flash shows and will not be ava…
…ilable next action.. like forgot password)
Added another test to prove the child page is still shown when set to…
… hidden
Changed the ruby operator as *and* has a lower precedence resulting in
is_in_menu being set to the return of not the whole line as expected
David Jones Thanks to these new contributors 680e240
Philip Arndt Switch to using jQuery draggable 5482c60
Philip Arndt ensure header is consistent on the login screen too 0d14279
Philip Arndt implement some code for safari from the release candidate version of …
…wymeditor that does setFocusToNode properly. Fixed whitespace on this file which was strangely incorrect.
Philip Arndt Merge in jQuery branch 60c1005
David Jones now running on jQuery, good by prototype c4006ef
David Jones test was right, I was wrong so test passes now c2a8c9e
Philip Arndt add in possiblity to hack the development environment when you get th…
…e A copy of XX has been removed from the module tree but is still active error
Philip Arndt Merge branch 'master' of 6771dcd
Philip Arndt modified page parts so that they use the actual title that the user s…
…upplied as their title and then we transform it into something dom usable afterward. This makes the tests pass. Supplied migration to change existing page parts to the new format. So either page[:side_body] will work as well as page['SiDE BoDy'] or page['Side Body'] - case is not important neither are spaces vs underscores.
David Jones use built in attachment_fu validation. removed old last_page method f…
…rom Image. Skeleton unit tests.
David Jones Merge branch 'master' of 13ac918
Feb 05, 2010
Philip Arndt reordering works differently, now you select the parent page when edi…
…ting a page and limited reordering is supported. Also some dialogues are now using jquery UI not thickbox. We'll move completely away from thickbox soon.
Philip Arndt Merge branch 'master' of abcc84b
Philip Arndt we're now at version 0.9.6 (much fanfare) 9575c6a
Philip Arndt this may as well say the new version 88c423b
Philip Arndt don't copy the themes in on a gem install, these can be installed fro…
…m the gem itself.
Added RSS feed ef96a6f
Philip Arndt add the body of the news post to the description field of the rss e6554bb
Philip Arndt fix wymeditor bug introduced in the change to jQuery where it parses …
…out closing tags because the jQuery replace function (or rather, the javascript one) functioned differently to prototype's gsub
Philip Arndt update version to add RSS support and bugfix wymeditor fbb4af3
Philip Arndt fix reference to file typo 8e8cd61
Philip Arndt create theme directory if it doesn't exist on site init 303c8a1
Philip Arndt updated generators to accomodate new best practice refinery architect…
…ure and updated docs likewise. db/seeds updated to use new syntax for page parts.
Philip Arndt Update the code that reloads plugin app directories to more robust code f07fe02
Philip Arndt fix a few issues identified in the resources dialog 915c60d
Philip Arndt almost there with supporting a resource picker f4346bf
Feb 08, 2010
Philip Arndt new version which addresses the new friendly_id plugin and ch…
…anges the way that theme urls work (sorry to anyone affected) because the previous version simply didn't work with webservers like nginx which assume that they can skip rails with i.e. /stylesheets/theme/foo.css so now it is /theme/stylesheets/foo.css which also wraps everything consistently i.e. /theme/(stylesheets|javascripts|images)/file.extension - also updated a few references from RAILS_ROOT to the new Rails.root but couldn't convert all because Rails.root is not available in files like bin/* or config/preinitializer.rb for example which seems strange and could be a bug in Rails.
Philip Arndt fix some javascript inconsistencies where we were still using jQuery …
…instead of $ and the resource picker now works.
Philip Arndt it shuold be body_content_title not body_content_page_title for the <…
…h1> title. Moved some CSS to the stylesheet.
Philip Arndt bump version to f8a8e77
Feb 09, 2010
Philip Arndt add new Rails.root syntax to seeds and change 500 html a bit ed56a23
Philip Arndt Added the ability to use nested routes into the Dashboard Activity. R…
…emoved the use of eval from dashboard_helper and cleaned up the init files so that they are not all scrunched up.
Philip Arndt unless empty makes more sense 58e39bd
Philip Arndt update rails_indexes to the latest version (thanks eladmeidar) 292c48b
Philip Arndt someone has been adding tab characters and diff cruft, this removes a…
…ll of it.
Feb 10, 2010
Philip Arndt update link to portfolio engine which has been renamed 90878af
David Jones get better titles from filenames. also added tests e85c280
David Jones whitespace 917bb82
David Jones merged 699431a
Philip Arndt one last whitespace c7a5c04
David Jones better titles from filenames af46212
David Jones revert some changes ops 67a0ea1
David Jones use rack middleware to serve static theme files from now on to make i…
…t much faster.
Feb 11, 2010
Philip Arndt Image picker wasn't working if you place two on one page. I suspect t…
…hat the resources picker will be the same. And the same for every var something = {} type thing that we're doing in admin.js because it's not object oriented so you can't create separate instances to use. This will have to be rewritten in future to use some sort of Class.create pattern.
Philip Arndt Merge branch 'master' of 20ce26b
Philip Arndt new version 89b0847
Philip Arndt Improve the syntax so that this is easier to follow. Fixed a couple o…
…f bugs in the process which is a clear case for having easy to understand syntax.
Philip Arndt clean up some more code, fix bugs with validation on images + resourc…
…es and also ensure that the toggler works on the image picker.
Philip Arndt fix id 1cf6dd5
Philip Arndt fix non-tree collections weren't being reordered properly in some cases a3b3dde
Feb 12, 2010
Philip Arndt Refinery core doesn't need to know about themes at all, actually. Mod…
…ularity win.
David Jones change class methods to named scopes with default_scope sorting cdac74b
David Jones Merge branch 'master' of e78d1f1
David Jones make opened scope work properly ef9c8dd
Philip Arndt This prevents tampering with the view_paths if we don't have a theme …
…set and makes the tests pass again for Refinery core
David Jones Added unit tests to inquiries and name Inquiry.opened become Inquiry.…
…open - just better wording
David Jones tidy up the way new items work with much nicer named_scopes and remov…
…ing alias content field. Not sure why that was there...
David Jones unit tests for news added 6d50972
David Jones added tests and inline documentation for Refinery Settings 6826f1c
Philip Arndt Added support for a relative_url_root that is different to / to all o…
…f the ruby code based functions. Any javascripts or stylesheets that tie into the application root or have a specified path for any reason have not had this support added. Feel free to cleanly patch that support in.
Philip Arndt use controller_name instead e748ca2
David Jones added unit tests to resources and refacted some image settings to be …
…a constant
David Jones Merge branch 'master' of c6b8e69
David Jones test type of content on resources 3600ef7
David Jones added unit tests to themes fc138fd
David Jones added known todos for tests ed3a982
David Jones format with markdown b0fdfb9
David Jones format with markdown f965879
Philip Arndt some preparation for Rails 3 06704f1
Philip Arndt Merge branch 'master' of 786e726
Philip Arndt tests don't pass without these apparently ccffcb6
Philip Arndt Prepare for Rails 3 some more. Things are all conditional and still w…
…ork in Rails 2.3.5
Feb 13, 2010
BUGFIX: attachment_fu should now work correctly on windows 2b74cfb
Feb 15, 2010
Philip Arndt Added ETag caching to the Rack ThemeServer and refactored code to mak…
…e it easier to understand. Allowed controllers to be used inside theme directories as themes may need to change what happens in a particular controller e.g. PagesController. Added new :head_libraries for use with content_for :head_libraries which appears always before content_for :head - this change was important because if you were using content_for :head inside a layout file and then inside a template file, the template file would win and render first which may ruin your javascript/css dependencies. Version
Philip Arndt Merge branch 'master' of 96499dc
Ensuring that page urls don't point to the admin namespace 0898d63
Feb 16, 2010
Philip Arndt Fix logic errors on content_page template and fix the refinery and re…
…finery-update-core commands to more correctly use config/environment.rb and config/application.rb
Philip Arndt copy in the new environment file if there's an application file which…
… will hold all of the important settings from now on
Philip Arndt fix updating the core and put the attachment fu patch in a more logic…
…al place and include it from the initializer not environment.rb
Philip Arndt you must enable etags to use them as they're causing bugs for some 8d78b38
David Jones use markdown format 803cd59
Philip Arndt By default we want to show logs 61de701
David Jones add more todos 36bb58a
Philip Arndt This little change reduces the number of database queries quite drama…
Philip Arndt Merge branch 'master' of 5d63b4f
Philip Arndt This logic wins fe9a6da
Philip Arndt update test to reflect new code 3707c15
Philip Arndt Use Pathname for Refinery.root (was REFINERY_ROOT) wherever possible.…
… Some occurances still remain where 'refinery' doesn't exist e.g. in the bin tasks. Specified the load order of plugins so that we don't have to hack friendly_id, aasm and will_paginate in. Version
Philip Arndt put a .to_s on the end of this to ensure that the comparison works pr…
Feb 17, 2010
Philip Arndt Fixes javascript problems, notably that jqueryui 1.8 is no longer in …
…the google apis and also fixes the call to the apis (rails is supposed to not put .js on an absolute url but it has been)