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

32 Commits

Author SHA1 Message Date
Dan Barber
1c44d54b51 Move flash messages to locale. 2013-06-02 22:18:52 +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
f4a02ad379 Add 404 page. 2013-05-30 09:06:08 +01:00
Dan Barber
88be4180a4 Remove trailing spaces. 2013-05-21 21:24:09 +01:00
Dan Barber
3dd213e140 Refactor controllers to make more sense. 2013-05-21 21:09:22 +01:00
Dan Barber
c82b7bd58b Force SSL for admin and redirect to configured host. 2013-04-08 17:17:41 +01: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
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
5597dae348 Moved menu structure into admin controller. 2011-10-13 10:30:08 +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
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
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
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
e66e75c808 Transitioned to Rails 3 and Ruby 1.9.2. All working! 2010-10-11 07:40: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