aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Nope, still need edge capistrano, use git-transport, though.Harald Eilertsen2014-11-022-6/+11
|
* Go back to official release for Capistrano v 3.2.1.Harald Eilertsen2014-11-022-13/+6
| | | | Assuming this has the right fixes to get FreeBSD working.
* Upgrade to capistrano-postgresql v3.0.1 containing my fixes.Harald Eilertsen2014-11-022-13/+4
|
* Customize database.yml template.Harald Eilertsen2014-07-061-0/+7
| | | | | We want to use unix domain sockets, not ip over localhost. For this we simply drop the host specification of the yml-file.
* Add config for staging setup.Harald Eilertsen2014-07-061-0/+67
|
* Use updated capistrano-postgres.Harald Eilertsen2014-07-062-11/+11
| | | | | Need this version to use correct database when checking/adding users and databases.
* Update to edge capistrano and capistrano-postgresql.Harald Eilertsen2014-07-042-10/+26
| | | | | Released gems have problems on freebsd, using directly from git until gems are updated.
* Install capistrano-postgresql for easier database setup.Harald Eilertsen2014-06-213-0/+5
|
* Set up basic capistrano config.Harald Eilertsen2014-06-213-90/+14
|
* Capify with capistrano3.Harald Eilertsen2014-06-205-0/+174
|
* Install Capistrano 3 gems.Harald Eilertsen2014-06-202-21/+32
|
* Remove old capistrano config.Harald Eilertsen2014-06-206-337/+0
|
* Translate admin category form.Harald Eilertsen2014-03-023-5/+9
|
* Allow customization of number of sidebar items for each category.Harald Eilertsen2014-03-025-3/+14
|
* Redefine small image size instead.Harald Eilertsen2014-02-171-1/+1
|
* Add specieal image size for teaser images.Harald Eilertsen2014-02-171-1/+1
|
* Sidebar modules interleaved, clearfix them.Harald Eilertsen2014-02-171-1/+1
|
* Open banner targets in a new window/tab.Harald Eilertsen2014-02-161-1/+1
|
* Merge branch 'banner-ads'Harald Eilertsen2014-02-1612-11/+101
|\
| * Display published ads instead of active.Harald Eilertsen2014-02-161-3/+0
| | | | | | | | | | | | | | This means that ads will only be shown between their start-publishin date, and their end-publishing date. They will also only be shown on the pages where they are enabled. This allows different ads on different pages, or ads only on some pages, while others completely without ads.
| * Render banners from layout instead of modifying all views.Harald Eilertsen2014-02-163-2/+7
| |
| * Fix styling for bannersHarald Eilertsen2014-02-163-9/+11
| | | | | | | | | | - Put banners in center of container - Set minimum size of page and elements to make room for banners
| * Add refinery-banners engine.Harald Eilertsen2014-02-169-1/+87
| |
| * Install imagemagick in vagrant vm.Harald Eilertsen2014-02-161-1/+1
|/
* Show only posts not listed on the sides in the front page center panel.v1.0.0Harald Eilertsen2014-02-151-5/+5
|
* Try to make sidebar items from blog look better too.Harald Eilertsen2014-02-071-0/+17
|
* Fix styling of contact form.Harald Eilertsen2014-02-071-2/+3
|
* Fix sidebar overflow issue.Harald Eilertsen2014-02-071-0/+1
| | | | | | | Ideally I would like to have the sidebars expand to show all their contents, but I have not found a way to make this look nice. They should also expand their container, so that the footer comes below the sidebars. For now this seems like an acceptable solution.
* Fix side body part on pages where there is no side body.Harald Eilertsen2014-02-072-1/+6
|
* Make sidebars nicer.Harald Eilertsen2014-02-064-4/+26
| | | | | - Module headings now go all the way out. - Side body content is included like a module only if not empty.
* Make sample data nicer.Harald Eilertsen2014-02-061-2/+7
| | | | | - Wrap text in simple html. - Assign sidebar position to categories.
* Make footer on blog-posts index view a bit nicer.Harald Eilertsen2014-02-061-2/+8
|
* Darken module header background.Harald Eilertsen2014-02-061-0/+0
|
* Make header logo transparent.Harald Eilertsen2014-02-061-0/+0
|
* Make git ignore vagrant working files.Harald Eilertsen2014-01-281-0/+2
|
* Refactor stylesheets and do a major overhaul of the styling.Harald Eilertsen2014-01-288-139/+249
|
* Style link-colors.Harald Eilertsen2014-01-281-0/+17
|
* Begin styling with a better color scheme.Harald Eilertsen2014-01-271-32/+81
|
* Reformat language list.Harald Eilertsen2014-01-271-1/+24
|
* Add vagrant setup to make deploying dev env easier.Harald Eilertsen2014-01-113-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Run 'vagrant up' to bootstrap the environment. The first time you do this, takes quite some time as it will download the base image, and provision it for the dev environment. Onse up you should be able to log in the the dev website by pointing your web browser to localhost:4567. The first time you will have to register a new user, and off you go. Run 'vagrant halt' to stop the vm. Next time you restart it using 'vagrant up' it should boot a lot faster, since the provisioning is already done. Run 'vagrant destroy' to clean up the VM and reclaim any disk space used by it. This will not remove the base image, only the instance in this dev environment. Notice: Due to a problem, the dev web server fails to start when doing a 'vagrant up' after the initial provisioning. To overcome this issue the following commands and you should be fine again: vagrant ssh sudo systemctl start rails logout Now wait a few seconds and the web server should respond again. I'll try to fix this problem later. requires vagrant and VirtualBox to work. See http://www.vagrantup.com for instructions on how to install vagrant for your system.
* Update blog main views to not render body_content right.Harald Eilertsen2013-12-254-0/+57
|
* Move the side_body stuff to the right sidebar.Harald Eilertsen2013-12-253-8/+15
|
* Add tests for sidebar helper.Harald Eilertsen2013-12-252-1/+51
| | | | Also fixes DOM id of sidebar modules with spaces in their title.
* Setup for testing with spork and minitest.Harald Eilertsen2013-12-253-0/+34
|
* Refactor filtering of sidebar modules to helper.Harald Eilertsen2013-12-253-3/+11
| | | | Also strip out modules with empty bodies.
* More sidebar module fixes.Harald Eilertsen2013-12-256-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | There was some problems with the approach in the previous commits. - render_collection (render @sidebar_modules in our case) requires that all objects return the same partial path. Ours may not do that, so we wrote our own `render_sidebar_modules`-helper. - The way render_partial finds the correct path to the partial is to append what's returned by to_partial_path with whatever root the parent view is in. That would require duplication of the partials under all the different engines namespaces. Our `render_sidebar_modules` does it differently, and just looks up the partial according to the root namespace. This means the sidebar_module code can move back under the root application so we don't mess up the refinery namespaces. - Finally found the proper way to link to a blog_post so that it works from all namespaces. The correct way is: refinery.blog_post_path(post) This works in views (and presumably helpers,) but not in controllers which is why we struggled with it before.
* Clean up sidebar modules.Harald Eilertsen2013-12-257-25/+42
| | | | | | | | | | | | | | Rewrite the _sidebar_module partial to render only one module, and to not make any assumptions about the contents of a module. (Except that it has a title and a body.) Move the actual module logic into model classes, and use the ActiveModel magic to have it find it's own partial. Now we have the view logic for each module in it's own partial that in turn renders as part of the _sidebar_module partial. Only implementation this far is the blog-category module listing the latest blog entries within each category.
* Populate home page with blog entries.Harald Eilertsen2013-12-243-0/+35
| | | | | | I would like to just render the refinery/blog/index template for this, but I did not find a way to do it, so I copied it instead. May need to revisit this if upgrading to a new refinery or blog engine.
* Display sidebar position in backend category list.Harald Eilertsen2013-12-234-0/+103
|
* Only render sidebar modules if present.Harald Eilertsen2013-12-231-1/+2
|