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

62 Commits

Author SHA1 Message Date
033fe00faa
Delete spurious file 2018-11-12 09:20:08 -05:00
e7733b8bf0
Update Monban to Oath 2018-02-14 22:42:49 -05:00
4db95bd3c6
Change to double quotes 2017-07-19 15:07:37 -04:00
857a8ce290
Fix callback not defined issue 2017-07-18 18:28:36 -04:00
a76a46545d
Update to Rails 5.1 and remove Typekit 2017-07-18 15:58:24 -04:00
c9109312c9
Update to the newest Administrate 2017-07-18 15:15:03 -04:00
22196755bd
Move views into their own controller
Thanks DHH.
2016-03-13 18:39:09 +00:00
043dc4c0d9
Redo administrate stuff with 0.1.4 2016-03-12 10:55:30 +00:00
7ee7968f40
Update gems and add missing files 2016-01-05 14:47:42 +00:00
8484f478dc
Use newer version of administrate 2016-01-04 17:09:38 +00:00
2995460e97 Add monban for admin authentication 2015-10-26 14:26:32 +00:00
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
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
41de7e736c Refactor contact and contact controller 2015-10-26 12:48:22 +00:00
80b46f1e65 More Rubocop 2015-10-14 12:30:00 +01: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
0866d71eff Redirect back rather than to the index
This fixes the issue where it returns to page 1 if you destroy a photo
on a subsequent page.
2015-08-20 15:42:06 +01:00
09026aa2e3 Fix photos admin page to 16 per page. 2015-04-20 10:09:13 +01:00
Dan Barber
ebecb060d8 Add pages show page. 2014-12-13 18:25:15 +00:00
Dan Barber
dd79d781fe View focused code refactor. 2014-12-10 11:32:38 +00:00
Dan Barber
03043af843 Fix issue with saving category ids. 2014-07-10 15:20:29 +01:00
Dan Barber
34baa4bb48 Add warning if not on an SSL connection. 2014-03-07 10:53:09 +00:00
Dan Barber
b272153bb8 Refactor all the things! 2014-03-06 17:58:38 +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
f1ab0be78f WIP: Upgrade to Rails 4. Permitted params and env. 2014-03-05 17:38:57 +00:00
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