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

438 Commits

Author SHA1 Message Date
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
b530d813da Cleaned up files. Deleted rogue .DS_Store, added .rvmrc. 2011-04-09 09:33:15 +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
c194138d16 Modified jrails plugin to remove deprecated message. 2010-12-15 12:28:22 -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
4c9b992d02 Removed validates_email_format_of plugin from Gemfile. 2010-10-30 10:31:59 -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
5c4e32756b Added exception notifier plugin. 2010-10-14 07:10:25 -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
Dan Barber
45612b8c85 Added postgresql db for production and added pg gem. 2010-10-12 10:34:43 -04:00
Dan Barber
2e83970fa9 All done! Contact form works, about page now pulls content from database, opening up the possibility of having more pages. 2010-10-12 10:04:13 -04:00
Dan Barber
4c86abbc6e Added all the missing files that weren't there. 2010-10-11 08:32:40 -04:00
Dan Barber
537c11a7cb Altered photo model so that it fills in Title and Description from EXIF data only if they have not been entered. 2010-10-11 08:07:17 -04:00
Dan Barber
e66e75c808 Transitioned to Rails 3 and Ruby 1.9.2. All working! 2010-10-11 07:40:17 -04:00
Dan Barber
a08636598c Added conditional to front page photo. 2010-10-11 04:13:15 -04:00
Dan Barber
a626d355b6 Deleted all photo files, some plugins. 2010-10-11 04:09:56 -04:00
Dan Barber
f49870b61b Mostly finished, still got the contact for to do. Switched to mini_exiftool for exif reading and fixed problem with setting title and description on upload! Finished portfolio page. 2010-10-10 11:45:23 -04:00
Dan Barber
023a119160 Photos are now paginated. Admin is handled by Typus, including file uploads. Exif reading isn't working when uploading via Typus though. 2010-10-09 08:28:42 -04:00
Dan Barber
b35354a764 Everything is working well, categories and photos are a 1 to many right now though and they need to be many to many. 2010-10-08 13:15:18 -04:00
Dan Barber
0c61aaf604 Another nameless commit. 2010-10-08 05:51:47 -04:00
Dan Barber
48cc5d8de8 Initial commit. 2010-10-07 11:02:13 -04:00