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

139 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
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
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
a988009aa2 Style tweaks 2015-08-27 21:24:28 +01:00
6557a8acbd Refactor admin CSS
Should make it scale better.
2015-08-20 16:33:10 +01:00
a049ad612d Fix the delete confirmation 2015-08-20 15:47:31 +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
ccc282f422 Rename SASS files. 2015-03-14 08:56:30 +00:00
Dan Barber
aac11ec039 Remove redundant files. 2014-12-14 17:42:12 +00:00
Dan Barber
f76abd97ae Refactor the admin CSS. 2014-12-14 17:33:25 +00:00
Dan Barber
ebecb060d8 Add pages show page. 2014-12-13 18:25:15 +00:00
Dan Barber
0bba99e627 There's no need for the show link. 2014-12-13 18:14:05 +00:00
Dan Barber
2cff6908b9 More view refactoring. 2014-12-13 18:11:34 +00:00
Dan Barber
a68671ce45 Update hashes to 1.9 style. 2014-12-13 17:19:42 +00:00
Dan Barber
dbd2cd3368 Move footer into a partial and make it always render the current year. 2014-12-11 17:39:47 +00: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
4ece7c782b Make application helper use config. 2014-12-11 13:16:11 +00:00
Dan Barber
dd79d781fe View focused code refactor. 2014-12-10 11:32:38 +00:00
Dan Barber
b5743eac90 Move page title into a helper. 2014-12-09 10:43:14 +00:00
Dan Barber
8a1f0ebad5 Update footer year. 2014-12-09 10:43:14 +00:00
Dan Barber
03043af843 Fix issue with saving category ids. 2014-07-10 15:20:29 +01:00
Dan Barber
5c8fb7e169 Update gems and fix photo file input. 2014-07-10 13:07:54 +01:00
Dan Barber
5cb9c0075d Use transit for jQuery animations. 2014-03-15 10:29:53 +00:00
Dan Barber
16082ade2a Move favicon into assets. 2014-03-10 11:39:56 +00:00
Dan Barber
19c3edab71 Fix some assets. 2014-03-10 11:36:06 +00:00
Dan Barber
9c6db30261 Add first feature spec. 2014-03-07 17:49:11 +00:00
Dan Barber
cbf09ee37a Remove paperclip gem and model definition. 2014-03-07 16:00:59 +00:00
Dan Barber
694f791f93 Fix asset urls. 2014-03-07 14:27:46 +00:00
Dan Barber
252c661fbc Fix log_view. 2014-03-07 14:04:34 +00:00
Dan Barber
54a17bea7b Migrate to dragonfly step one. 2014-03-07 13:07:53 +00:00
Dan Barber
34baa4bb48 Add warning if not on an SSL connection. 2014-03-07 10:53:09 +00:00
Dan Barber
2b4a72f28e Remove bullet points from photo categories list. 2014-03-07 10:52:51 +00:00
Dan Barber
1cdaf4b5a4 Fix transitions on buttons. 2014-03-07 10:52:42 +00:00
Dan Barber
a079c05e11 Add SVG logos. 2014-03-07 09:11:29 +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
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
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