Ghost/core/test/unit
Harry Wolff 9ab4b7d4d5 Adds tag pages
fixes #2111

- modified Post model to support a tag query
  param that will filter the desired post collection
  to only include posts that contain the requested tag

- in the updated Post model it includes the Tag model
  under a nested object called 'aspects'

- added tests for updated Post model, updating
  test utils to add more posts_tags relations

- adds two new routes to frontend,
  one for initial tag page,
  another to page that tag page

- for tag pages the array of posts
  is exposed to the view similarly
  to the homepeage

- on the tag view page the information
  for the tag is also accessible
  for further theme usage

- the tag view page supports a hierarchy of
  views, it'll first attempt to use a tag.hbs
  file if it exists, otherwise fall back
  to the default index.hbs file

- modified pageUrl and pagination helper
  to have it be compatible with tag paging

- added unit tests for frontend controller

- added unit tests for handlebar helper modifications

- add functional tests for new tag routes
2014-02-18 15:10:02 -05:00
..
admin_spec.js Further grunt & test cleanup 2013-11-11 21:38:52 +00:00
apps_spec.js Rename unregisterFilter to deregisterFilter 2014-02-10 12:44:07 +00:00
bootstrap_spec.js Adds ability to pass in configFile path when loading 2014-02-08 10:41:15 -05:00
client_ghostdown_spec.js add test for allowing 4 underscores in markdown 2013-11-24 17:38:12 +01:00
client_showdown_int_spec.js Removed mailto auto-linking. 2014-02-06 15:34:13 +00:00
config_spec.js Adds ability to pass in configFile path when loading 2014-02-08 10:41:15 -05:00
errorHandling_spec.js Added handling for undefined errors and test coverage 2014-01-03 15:07:08 -05:00
export_spec.js Replace underscore with lodash. 2014-02-06 14:08:34 +00:00
filters_spec.js Ensure filters get default priority if priority is null 2014-02-10 18:14:47 +00:00
frontend_spec.js Adds tag pages 2014-02-18 15:10:02 -05:00
import_spec.js Replace underscore with lodash. 2014-02-06 14:08:34 +00:00
mail_spec.js Improve bootstrap flow of a Ghost application 2014-02-07 17:34:21 -05:00
middleware_spec.js Replace underscore with lodash. 2014-02-06 14:08:34 +00:00
permissions_spec.js Replace underscore with lodash. 2014-02-06 14:08:34 +00:00
server_helpers_index_spec.js Adds tag pages 2014-02-18 15:10:02 -05:00
server_helpers_template_spec.js Replace underscore with lodash. 2014-02-06 14:08:34 +00:00
server_spec.js Remove ghost.js 2013-12-07 10:10:02 -05:00
shared_gfm_spec.js Removed mailto auto-linking. 2014-02-06 15:34:13 +00:00
storage_localfilesystem_spec.js Merge branch '0.4-maintenance' 2014-01-26 16:11:02 +00:00