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

50 Commits

Author SHA1 Message Date
5e67d585f9
Fix slugtastic deprecation 2016-04-20 11:20:26 +01:00
7ee7968f40
Update gems and add missing files 2016-01-05 14:47:42 +00:00
2995460e97 Add monban for admin authentication 2015-10-26 14:26:32 +00:00
df2deb3e0c Add user 2015-10-26 14:26:32 +00:00
5d15bfaf5f Administrate dashboards live! 2015-10-26 14:26:32 +00:00
d9f47c3553 Remove custom admin and authentication
This is in preparation for adding in thoughtbot/administrate and custom
authentication/authorisation.
2015-10-26 14:26:32 +00:00
e4ac2a9a3e Remove unneeded method 2015-10-26 14:26:14 +00:00
41de7e736c Refactor contact and contact controller 2015-10-26 12:48:22 +00:00
c146a90e03 Fix more Rubocop shit 2015-10-14 12:30:00 +01:00
80b46f1e65 More Rubocop 2015-10-14 12:30:00 +01:00
Dan Barber
6c15d5f30b Formatting. 2014-12-11 13:16:32 +00:00
Dan Barber
3a7772c85b Refactor. 2014-12-11 13:16:24 +00:00
Dan Barber
cbf09ee37a Remove paperclip gem and model definition. 2014-03-07 16:00:59 +00:00
Dan Barber
54a17bea7b Migrate to dragonfly step one. 2014-03-07 13:07:53 +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
be93b79024 Add redcarpet for Markdown. Specs pass! 2014-03-05 17:56:23 +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
02ab844347 Add slug to categories. 2013-05-30 08:09:31 +01:00
Dan Barber
88be4180a4 Remove trailing spaces. 2013-05-21 21:24:09 +01:00
Dan Barber
e86fbbaec5 Retab and remove redundant code. 2013-05-21 21:09:54 +01:00
Dan Barber
2c45495f9f Update Rails, fix S3 and update Fancybox. 2013-01-31 22:21:13 +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
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
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
52ceb30cf8 First commit. 2011-10-10 15:39:52 +01:00
Dan Barber
1879f83e1f Added smartypants to page content. 2011-03-25 04:54:21 -04: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
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
3183974820 Added jQuery validation on the contact form via jquery.validate. 2010-10-14 14:38:10 -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
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
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
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