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

23 Commits

Author SHA1 Message Date
e2c4ebf0e9 Use Kaminari instead of WillPaginate
This is to avoid any conflict with Kaminari in Administrate. We also add
some specs for pagination in the front end.
2015-10-26 14:26:32 +00:00
609b14c360 Fix up method names 2015-10-14 12:30:00 +01:00
Dan Barber
6dac063751 WIP: Rubocop compliance 2015-10-14 12:30:00 +01:00
Dan Barber
dd79d781fe View focused code refactor. 2014-12-10 11:32:38 +00:00
Dan Barber
0888020044 WIP: Refactor all the controller. 2014-03-06 11:07:47 +00: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
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
d6b2143348 Updated jQuery. Added page title to layout and specified it in
controller actions.
2010-12-21 06:04:47 -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
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
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