1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00
Commit Graph

161 Commits

Author SHA1 Message Date
Dan Barber
03043af843 Fix issue with saving category ids. 2014-07-10 15:20:29 +01:00
Dan Barber
5c8fb7e169 Update gems and fix photo file input. 2014-07-10 13:07:54 +01:00
Dan Barber
5cb9c0075d Use transit for jQuery animations. 2014-03-15 10:29:53 +00:00
Dan Barber
16082ade2a Move favicon into assets. 2014-03-10 11:39:56 +00:00
Dan Barber
19c3edab71 Fix some assets. 2014-03-10 11:36:06 +00:00
Dan Barber
9c6db30261 Add first feature spec. 2014-03-07 17:49:11 +00:00
Dan Barber
cbf09ee37a Remove paperclip gem and model definition. 2014-03-07 16:00:59 +00:00
Dan Barber
694f791f93 Fix asset urls. 2014-03-07 14:27:46 +00:00
Dan Barber
252c661fbc Fix log_view. 2014-03-07 14:04:34 +00:00
Dan Barber
54a17bea7b Migrate to dragonfly step one. 2014-03-07 13:07:53 +00:00
Dan Barber
34baa4bb48 Add warning if not on an SSL connection. 2014-03-07 10:53:09 +00:00
Dan Barber
2b4a72f28e Remove bullet points from photo categories list. 2014-03-07 10:52:51 +00:00
Dan Barber
1cdaf4b5a4 Fix transitions on buttons. 2014-03-07 10:52:42 +00:00
Dan Barber
a079c05e11 Add SVG logos. 2014-03-07 09:11:29 +00:00
Dan Barber
b272153bb8 Refactor all the things! 2014-03-06 17:58:38 +00:00
Dan Barber
b03864d50c Refactor models and helpers. 2014-03-06 11:37:59 +00:00
Dan Barber
0888020044 WIP: Refactor all the controller. 2014-03-06 11:07:47 +00:00
Dan Barber
489edd2d2c Fix home page error with no photos. 2014-03-06 10:44:24 +00:00
Dan Barber
be93b79024 Add redcarpet for Markdown. Specs pass! 2014-03-05 17:56:23 +00:00
Dan Barber
4759cb4f43 Remove permitted params on contact controller. 2014-03-05 17:45:46 +00:00
Dan Barber
34649b92ad Re-add accessors for contact model. (D'oh.) 2014-03-05 17:44:54 +00:00
Dan Barber
f1ab0be78f WIP: Upgrade to Rails 4. Permitted params and env. 2014-03-05 17:38:57 +00:00
Dan Barber
8b5d92aac2 Add retina sizes for all thumbnail images. 2013-07-13 14:20:40 +01:00
Dan Barber
0f2f58c42d Fix contact model and spec. 2013-06-05 10:33:48 +01:00
Dan Barber
9c1fb4b57c Remove some trailing spaces. 2013-06-05 08:38:59 +01:00
Dan Barber
39912ecec5 Move email validator to /app/validators. 2013-06-05 08:32:48 +01:00
Dan Barber
e8e89ebc8b Add category spec and uniqueness check. 2013-06-05 08:31:17 +01:00
Dan Barber
8e608a61d4 Tweak error display. Move flash outside of form. 2013-06-03 09:06:44 +01:00
Dan Barber
372b189d53 Remove client side form validation. 2013-06-03 09:05:50 +01:00
Dan Barber
1c44d54b51 Move flash messages to locale. 2013-06-02 22:18:52 +01:00
Dan Barber
c6cc3f2731 Fix contact views. 2013-06-02 19:42:59 +01:00
Dan Barber
c47c7e4d3c Refactor log_views and fix spec. 2013-05-31 10:07:52 +01:00
Dan Barber
91351c7775 Add photo factory andn photo controller spec. 2013-05-31 08:37:31 +01:00
Dan Barber
3518529781 Add 404 page and change font. 2013-05-30 21:13:38 +01:00
Dan Barber
3b44ea18ff Refactor views to make more sense. 2013-05-30 19:11:13 +01:00
Dan Barber
f4a02ad379 Add 404 page. 2013-05-30 09:06:08 +01:00
Dan Barber
02ab844347 Add slug to categories. 2013-05-30 08:09:31 +01:00
Dan Barber
2723de6f05 Fix blanks. 2013-05-22 08:41:26 +01:00
Dan Barber
9666229d59 Add semantic header and footer. 2013-05-22 08:41:02 +01:00
Dan Barber
88be4180a4 Remove trailing spaces. 2013-05-21 21:24:09 +01:00
Dan Barber
14e045b07f Remove redundant scss file. 2013-05-21 21:11:38 +01:00
Dan Barber
53d06ea872 Remove home helper. 2013-05-21 21:10:44 +01:00
Dan Barber
e86fbbaec5 Retab and remove redundant code. 2013-05-21 21:09:54 +01:00
Dan Barber
3dd213e140 Refactor controllers to make more sense. 2013-05-21 21:09:22 +01:00
Dan Barber
525fda2911 Bunch of styling tweaks. 2013-05-21 21:08:11 +01:00
Dan Barber
31fc2211f8 Set webkit font smoothing to antialiased. 2013-05-17 08:54:56 +01:00
Dan Barber
c82b7bd58b Force SSL for admin and redirect to configured host. 2013-04-08 17:17:41 +01:00
Dan Barber
f738577cc8 Remove show link from photos. 2013-04-08 17:13:51 +01:00
Dan Barber
d0adb987f9 Remove application ERB template. 2013-04-08 17:12:26 +01:00
Dan Barber
e9643b19f0 Retab stylesheets 2013-04-08 16:20:36 +01:00
Dan Barber
9903ccad14 Shared headers correctly use app config. 2013-04-07 20:38:03 +01:00
Dan Barber
98674591d2 Add favicon. 2013-03-21 09:12:52 +00:00
Dan Barber
e83051fd84 Update gems. 2013-02-14 22:12:30 +00:00
Dan Barber
3977607c34 Up overall font weight. 2013-02-02 17:18:54 +00:00
Dan Barber
b617b690cc Convert javascript to coffeescript. 2013-02-02 17:12:59 +00:00
Dan Barber
235b341f5a Re-indent and remove redundant views. 2013-02-02 17:02:15 +00:00
Dan Barber
2d4004764e Add retina logo. 2013-02-01 07:54:48 +00:00
Dan Barber
2c45495f9f Update Rails, fix S3 and update Fancybox. 2013-01-31 22:21:13 +00:00
Dan Barber
6a11c82551 Add Heartbeat middleware (thanks to @olivernn) 2013-01-31 08:34:11 +00:00
Dan Barber
fbd238455e Update copyright year. 2013-01-11 13:59:48 +00:00
Dan Barber
197c3364fb Tweaks to about page CSS. 2011-11-27 16:32:15 +00:00
Dan Barber
cc641b3fdd Found the right font! 2011-11-04 13:48:32 +00:00
Dan Barber
873d9fe263 Corrected button text on pages admin. 2011-11-02 09:29:15 +00:00
Dan Barber
23b9ee5f74 Moved photos stylesheets to asset pipeline. 2011-10-31 18:28:20 +00:00
Dan Barber
8da575ba41 Removed dependence on mini_exiftool. We'll need to write a paperclip
processor that uses Imagemagick to get the appropriate details.
2011-10-31 18:23:25 +00:00
Dan Barber
3162853285 Finished up admin interface. Tweaks to site stylesheets. 2011-10-31 17:34:48 +00:00
Dan Barber
08170ec5e0 Merge ../template into 3.1_upgrade
Conflicts:
	.gitignore
	.rvmrc
	Gemfile
	Gemfile.lock
	README
	Rakefile
	app/assets/javascripts/application.js
	app/assets/stylesheets/application.css
	app/controllers/admin/admin_users_controller.rb
	app/controllers/application_controller.rb
	app/models/admin_user.rb
	config.ru
	config/application.rb
	config/config.yml
	config/database.yml
	config/environment.rb
	config/environments/development.rb
	config/environments/production.rb
	config/environments/test.rb
	config/initializers/secret_token.rb
	config/initializers/session_store.rb
	config/routes.rb
	db/schema.rb
	db/seeds.rb
2011-10-30 12:15:13 +00:00
Dan Barber
8a6fcdfe6d Tweaked footer, added config. 2011-10-30 11:51:27 +00:00
Dan Barber
90b95d81ea Moved project over to rails 3.1.1. Removed Typus and now need to add new
custom admin interface.
2011-10-30 11:40:57 +00:00
Dan Barber
9d1e24de78 Added S3 storage for photos. 2011-10-28 12:33:56 +01:00
Dan Barber
774aac75ef Updated pg gem to 0.11.0. Fixed links to be relative rather than
absolute.
2011-10-19 09:21:06 +01:00
Dan Barber
5597dae348 Moved menu structure into admin controller. 2011-10-13 10:30:08 +01:00
Dan Barber
5d8c19945d Specified menu height in px's as ems just won't line up in all browsers! 2011-10-11 15:06:43 +01:00
Dan Barber
150ce3955e Fixed padding of errored inputs. 2011-10-11 14:57:03 +01:00
Dan Barber
19cbe4e8c3 Tweaked some admin styles. 2011-10-11 14:11:36 +01:00
Dan Barber
25e3c53042 Move H3 to top of page. 2011-10-11 13:59:37 +01:00
Dan Barber
3be7b82af8 Added config file system. 2011-10-11 12:28:33 +01:00
Dan Barber
5ea9ff0f75 Fixed up Change Password screens. Restyles flash messages and added the
ability to close them.
2011-10-10 18:10:24 +01:00
Dan Barber
52ceb30cf8 First commit. 2011-10-10 15:39:52 +01:00
Dan Barber
4e077d5933 Fixed bug with Submit button label (Probably won't work in IE though) 2011-05-19 09:57:02 +01:00
Dan Barber
1879f83e1f Added smartypants to page content. 2011-03-25 04:54:21 -04:00
Dan Barber
d6b2143348 Updated jQuery. Added page title to layout and specified it in
controller actions.
2010-12-21 06:04:47 -05:00
Dan Barber
8621da4d3b Removed localised paperclip plugin and added the gem. Added :preview
image size to photo attachment for admin interface.
2010-12-20 12:11:07 -05:00
Dan Barber
67e7f0eb12 Now reliably logging photo views with an onComplete function on the
fancybox plugin.
2010-12-18 11:17:05 -05:00
Dan Barber
54ea0d9c33 Changed back to linking directly to images as performance was crap going
through a rails controller!
2010-12-18 09:31:48 -05:00
Dan Barber
3379f36b61 Moved view logging to after the image is sent to improve performance. 2010-12-18 08:59:58 -05:00
Dan Barber
16f9895048 Fixed problem where views could be null. Moved view increment to model. 2010-12-18 08:55:17 -05:00
Dan Barber
3c8ddc1923 Added view count to photos. Used acts_as_markdown for pages. 2010-12-18 08:31:12 -05:00
Dan Barber
57418726ca Added taken_at to photos and sorted on it. 2010-12-15 13:02:04 -05:00
Dan Barber
71640a214e Made the analytics code a partial rather than a helper function. 2010-12-15 05:46:36 -05:00
Dan Barber
7fa1b15cfb Added Google Analytics code. 2010-12-15 05:05:00 -05:00
Dan Barber
85cf2fb4b8 Updated photos model to use named scopes. Cleaned up some code. Added
meta_where as a gem, although I'm not using it yet.
2010-12-14 12:51:34 -05:00
Dan Barber
60f00e33be Altered page title and adjusted categories so they sort on "sort"
column.
2010-12-14 10:38:57 -05:00
Dan Barber
6b26a58497 Added "enabled" for photos so I can disable them without deleting. 2010-12-02 12:33:44 -05:00
Dan Barber
9ac87c80a9 Added language tags to layout. 2010-10-30 11:44:27 -04:00
Dan Barber
17ba77c181 Added meta tags to main layout. 2010-10-30 11:06:35 -04:00
Dan Barber
3183974820 Added jQuery validation on the contact form via jquery.validate. 2010-10-14 14:38:10 -04:00
Dan Barber
e9df965498 Added 'featured' boolean to photo model. Home and portfolio pages will only pull in random photos that are marked 'featured'. 2010-10-14 05:00:19 -04:00
Dan Barber
48584657de Added name method to photo model. Updated will_paginate gem to rails3 branch to resolve deprecation warning. 2010-10-13 04:23:08 -04:00
Dan Barber
22994662da Updated photo model to use original upload as original size. Added host to postgres config. 2010-10-12 13:25:44 -04:00