Hannah Wolfe
289a40e031
Cleaning up res.locals
...
- closes #124
- added new middleware to detect if a route should be admin or not
- updated ghostLocals to use this and return different locals
- updated ghost.js#initTheme to use the same test
2013-06-25 22:36:53 +01:00
Hannah Wolfe
4ed73edc62
fixes #202 - urls contain reserved chars
...
- further updates to the slugging function to check for certain words
- TODO: handle duplicates #221
2013-06-25 22:27:38 +01:00
Hannah Wolfe
2a7423c620
issue #136 - login redirects
...
Fixing logical error if there is no redirect
Also removing console log
2013-06-25 21:06:50 +01:00
Hannah Wolfe
0973002b71
Updated grunt groc config, the documented way of listing files didn't work
2013-06-25 19:10:33 +01:00
Hannah Wolfe
7993cc22ab
fixes #202 - urls contain reserved chars
...
- added all reserved chars and \ to the list of chars which get filtered out
- added documentation
2013-06-25 19:07:19 +01:00
Hannah Wolfe
1005be472a
Fixing up some inconsistent TODO: items.
2013-06-25 17:58:26 +01:00
Hannah Wolfe
1dea187483
Removing 0.8 testing from Travis. We know it's buggy, and we have no intention of fixing it right now.
2013-06-25 17:55:23 +01:00
Hannah Wolfe
9e1191ae1e
Cleaner login redirects
...
- closes #136
- stripped /ghost/ out of all redirects
- changed redirect= to r=
2013-06-25 17:51:26 +01:00
Hannah Wolfe
b5f4c9334e
Merge pull request #216 from cobbspur/pagination
...
closes #197 Pagination wiring
2013-06-25 09:46:18 -07:00
cobbspur
7de659a606
bumping casper to latest version
2013-06-25 16:22:53 +01:00
cobbspur
376cf647e5
closes #197 & closes #196 pagination wiring and helper
...
- adds routes for homepage pagination
- adds helper function to compile template file for pagination
- adds next and prev to post for next and previous page
- adds handlebars template for pagination
2013-06-25 16:13:19 +01:00
Hannah Wolfe
afde1f7390
Merge pull request #214 from matthojo/Menu-Fixes
...
Fixed menus not hiding when clicking away.
2013-06-25 06:45:30 -07:00
Hannah Wolfe
350f4ca331
Merge pull request #215 from ErisDS/jslint-iifw
...
JSLint split tasks & removing function wrapper
2013-06-25 06:39:20 -07:00
Hannah Wolfe
588152898c
issue #58 - frontend jslint
...
Improvements to consistency
2013-06-25 13:47:48 +01:00
Hannah Wolfe
ba810fb0bb
issue #58 - removing the iiwf
...
Function wrapper and use strict pragma removed from all node files
2013-06-25 13:46:50 +01:00
Hannah Wolfe
2c7245e0e5
issue #58 - removing the iiwf
...
In order to remove the iiwf we need to be able to lint backend and frontend code separately.
Changed our devDependency for grunt-jslint to use a fork which has multiTask (PR sent to main repo)
Updated Gruntfile with split rules for the jslint tasks
As a result, a few files failed to pass the new rules, these have been fixed and added to the commit
2013-06-25 13:38:41 +01:00
Matthew Harrison-Jones
3b63eb78dc
Fixed menus not hiding
...
Also fixed `.dropdown` usage on menu bar.
2013-06-25 12:30:00 +01:00
Hannah Wolfe
29ef492df9
Merge pull request #213 from matthojo/Docco
...
Convert to Grunt-Groc
2013-06-25 03:43:11 -07:00
Matthew Harrison-Jones
6399d51d93
Convert to Grunt-Groc
...
Documentation can now be generated with `grunt docs`.
2013-06-25 11:26:55 +01:00
Hannah Wolfe
ade3327a2a
Merge pull request #210 from matthojo/Remove-Profanities
...
Removing John's filth closes #208
2013-06-25 02:55:37 -07:00
Hannah Wolfe
dd3e1d4761
Merge pull request #212 from matthojo/Remove-Unused-Settings
...
Removed functionally not working settings menu links.
2013-06-25 02:48:35 -07:00
Matthew Harrison-Jones
d45291d9a0
Removing John's filth
...
Removed frontend profanaties.
2013-06-25 10:46:03 +01:00
Matthew Harrison-Jones
d0f5fe6ddb
Removed functionally not working settings menu links.
2013-06-25 10:17:28 +01:00
John O'Nolan
329e3a661b
Updating readme
2013-06-25 08:18:46 +02:00
Hannah Wolfe
3713cc4755
Merge pull request #207 from matthojo/Widget-Fixes
...
Widget Bug Fixes
2013-06-24 08:49:03 -07:00
Hannah Wolfe
8f322f0ecf
Merge pull request #205 from jgable/fixSettingsMultiSave
...
Fix settings multi save closes #174
2013-06-24 08:47:58 -07:00
Hannah Wolfe
59e150be5a
Merge branch 'master' into version-0.2.0
2013-06-24 16:47:19 +01:00
Hannah Wolfe
6632687104
Merge pull request #204 from jgable/exportUI
...
Import and Export UI
2013-06-24 08:43:21 -07:00
John O'Nolan
c4505b2457
Add link to Ghost VIP/Developer homepage on "G" in navbar
2013-06-24 14:32:02 +02:00
Matthew Harrison-Jones
0edeaeb17d
Widget Bug Fixes
...
Fixes bug with Ghost Widget and also fixes wrong active size option being shown in settings.
2013-06-24 13:11:02 +01:00
Hannah Wolfe
9d19af7928
Merge pull request #206 from jgable/disableCacheOnAPI
...
Disable caching of API requests via middleware
2013-06-24 04:49:07 -07:00
Jacob Gable
8099396062
Disable caching of API requests via middleware
...
Added a simple middleware to the api routes that disables caching via
headers.
2013-06-23 17:00:33 -05:00
Jacob Gable
4810f410c4
Fix settings multi save
...
We were not undelegating our events on the element which was causing the
view to live on indefinitely in the background with its events still
bound.
2013-06-23 16:25:34 -05:00
Jacob Gable
2b7d0f054d
Import and Export UI
...
Added a basic UI and implementation for importing and exporting data.
Hooked up the routes and tested importing and exporting a version 001
file.
Slipped in the TemplateView in base.js but didn't end up using it. I
think it will encapsulate common logic for template views pretty well.
Should close #175 .
2013-06-23 16:06:57 -05:00
Hannah Wolfe
e953aac252
Merge pull request #203 from cobbspur/helpers2
...
closes #187 foreach column parameter
2013-06-23 10:04:48 -07:00
cobbspur
bf9c55a6fb
closes #187 foreach column parameter
...
- adds keys @rowStart and @rowEnd in foreach helper based on an argument passed in for the number of columns desired
- added setKeys function to remove duplication code
2013-06-23 16:46:02 +01:00
Hannah Wolfe
510950595f
Merge pull request #200 from cobbspur/tabindex
...
closes #153 tabindex bug
2013-06-23 04:48:46 -07:00
cobbspur
d1351dc8a3
closes #153 tabindex bug
...
- fixes tabindex issue on editor page
2013-06-23 11:49:30 +01:00
Hannah Wolfe
b7c1ed2aef
Merge pull request #191 from matthojo/template-moving
...
Updated reference to templates in Backbone views
2013-06-22 09:57:39 -07:00
Matthew Harrison-Jones
23d317ed3e
Updated reference to templates in Backbone views
2013-06-22 16:50:59 +01:00
Hannah Wolfe
36a2be3abc
Merge branch 'master' into version-0.2.0
2013-06-22 15:54:22 +01:00
Hannah Wolfe
ae58257630
Freezing dependency versions
...
Updating package.json with full version numbers so that we can be certain
this version will continue to work in future
2013-06-22 15:23:36 +01:00
Gabor Javorszky
07cbe984ae
Fix forge returning null on empty fetch
...
Closes #184 . It got broken because of a9c4a5409e
2013-06-22 13:49:32 +01:00
Hannah Wolfe
ecde2f078a
Merge pull request #189 from javorszky/iss184
...
Fix forge returning null on empty fetch
2013-06-22 05:44:38 -07:00
Gabor Javorszky
e40eb12a51
Fix forge returning null on empty fetch
...
Closes #184 . It got broken because of a9c4a5409e
2013-06-22 13:43:01 +01:00
Hannah Wolfe
2621de54a0
Merge pull request #182 from jgable/suppressLoginNotification
...
Suppress login notification if navigating to /ghost
2013-06-19 14:42:21 -07:00
Hannah Wolfe
c643976bab
Merge pull request #181 from matthojo/Input-Border-Fix
...
Fixes transitions on input elements and other globals not working in Firefox
2013-06-19 14:42:01 -07:00
Hannah Wolfe
28574e29c7
Merge pull request #183 from jgable/renameTmpl
...
Rename tmpl directory to tpl and remove content level. closes #137
2013-06-19 14:29:04 -07:00
Hannah Wolfe
5cb2f60cc5
Merge pull request #180 from matthojo/Notification-Dismissal
...
Notifications can now be dismissed via click / tap
2013-06-19 14:23:58 -07:00
Jacob Gable
ccdb63cc71
Rename tmpl directory to tpl and remove content level
...
Should close #137 .
2013-06-19 15:24:07 -05:00