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
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
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
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
d15f1f8961
closes #101 - data model updates
...
Further changes to the data model to ensure created_by, author_id and updated_by are all set to user 1
Updated settings such that the default type is always 'general', and changed the types in the fixtures to be slightly more useful
Added additional assertions to tests to cover more assumptions about data
2013-06-17 23:59:08 +01:00
Hannah Wolfe
0d5b6e8915
Added consistent error handling throughout the models
2013-06-16 22:36:28 +01:00
ErisDS
17c8c02eae
closes #117 - published order
...
Fixes the knex query so that posts are correctly returned in the order of published_at, desc
2013-06-16 12:21:49 +01:00
Tim Griesser
fad7087cd1
Setting published_at when post changes to published status
2013-06-15 19:24:27 -04:00
Tim Griesser
a5b9274bb5
adding uuid's for the posts, users, settings
2013-06-15 10:16:20 -04:00
Jacob Gable
1effc4e772
Implement a permissable interface on models
...
Added checks to the canThis process for a `permissable()` function
that would allow Models to override the permissions process.
2013-06-08 18:39:24 -05:00
Hannah Wolfe
60d90967e1
issue 101 - updating the data model
...
Added & removed many properties as required & fixed tests
Updated & also cleaned up the fixtures, inc images
Added order by published to the findPage query
2013-06-06 21:36:17 +01:00
Tim Griesser
30bd89587f
server half of #83 , posts are draft by default, browse shows published by default
2013-06-03 00:56:17 -04:00
Tim Griesser
983c171fb0
simplifying the model structure, again
2013-06-01 11:14:05 -04:00
ErisDS
237af40f2e
Revert "Merge branch 'fat-models' of github.com:tgriesser/Ghost into tgriesser-fat-models"
...
This reverts commit 611e6a49ef
, reversing
changes made to a89dc1d123
.
2013-05-30 23:34:53 +01:00
Tim Griesser
a204a96cda
a bit of organizing/simplifying/fattening the models
2013-05-27 13:30:03 -04:00