2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00
Commit graph

102 commits

Author SHA1 Message Date
Sebastian Gierlinger
bb17e1c0e9 Add API tests
closes #1189
- added tests
- added request module
- added status codes to API calls
- fixed return values of API calls
- fixed that drafts caused an error when being deleted
- fixed X-Invalidate-Cache headers
- moved testUtils.js to utils/index.js
2013-11-03 18:13:19 +01:00
Hannah Wolfe
6626c3e7eb Merge pull request #1384 from halfdan/1377-fs-extra
Fix image upload issue.
2013-11-03 06:00:43 -08:00
Fabian Becker
48d3b10649 Fix image upload issue.
fixes #1377
2013-11-02 11:16:00 +00:00
Hannah Wolfe
60bef38298 Adding submodule update to grunt init
issue #1053

- not the greatest module, but perhaps one to re-create ourselves in future
2013-11-02 09:36:37 +00:00
Hannah Wolfe
56ea2bb557 Gruntfile.js cleanup & removed unused dependency
- grunt-open is no longer needed
- grunt build isn't used, so get rid.
2013-11-01 15:33:49 +00:00
Hannah Wolfe
a395361e6e Minor version bump for moment, polyglot & semver
- hopefully no breaking changes
2013-11-01 14:30:48 +00:00
Hannah Wolfe
fc6d4c37d2 Minor version bump for whenjs
- Upgrade  2.2.1 > 2.5.1
- Should be no breaking changes which affect us, but potential bug fixes
2013-11-01 14:09:15 +00:00
Hannah Wolfe
809c4d6b0a Bumping dependencies with patch version increases 2013-11-01 14:08:00 +00:00
Hannah Wolfe
703ae403ab Update devDependencies 2013-11-01 12:17:40 +00:00
Hannah Wolfe
0db907ada2 Bump grunt-jslint and fix issues 2013-11-01 12:12:01 +00:00
Hannah Wolfe
e9eacc454a Order dependencies alphabetically cos OCD 2013-11-01 12:06:02 +00:00
Hannah Wolfe
e720ea9849 Bumping express-hbs version
issue #1357

- fix from jgable for async helpers.
2013-11-01 10:31:14 +00:00
Hannah Wolfe
5df0acf37d Merge pull request #1361 from halfdan/update-should
Update should.js and fix tests.
2013-11-01 02:00:01 -07:00
Dane Springmeyer
19976e9d0c Update to node-sqlite3@v2.1.19
This includes a single build fix to help avoid install errors in the case that a user has needed to customize their npm `tmp` directory (like on a shared machine): https://github.com/mapbox/node-sqlite3/issues/212
2013-10-31 18:53:55 -07:00
Fabian Becker
297d853ddb Update should.js and fix tests.
fixes #1360
2013-10-31 00:28:53 +00:00
Dane Springmeyer
3347e13494 Update node-sqlite3 to v2.1.18
v2.1.18 brings in build fixes so that better errors are reported in the case of a fallback to a source compile + other minor build fixes (so functional code changes) - refs #1269
2013-10-28 16:58:02 -07:00
Hannah Wolfe
fcf483a255 Dropping our incomplete support for node 0.11
issue #1287, issue #1147

- our support was partial, is based on node-sqlite3, which has dropped partial support as well
- node 0.11 is a dev version, and has lots of breaking changes
- we will add node 0.12 support when it is released
2013-10-28 17:46:08 +00:00
William Dibbern
52374f306e Bumped express-hbs version
Fixes #830

- Bumped `express-hbs` version to `v0.5` which includes our updates to
support azure (UNC paths) and a fix for caching of partials.
2013-10-24 14:07:59 -05:00
Ryan Seys
31081f5761 Keep style consistent 2013-10-24 10:39:32 -04:00
Fabian Becker
1af17725fc Replace nodejs-bcrypt with bcryptjs
* https://github.com/shaneGirish/bcrypt-nodejs
* https://github.com/dcodeIO/bcrypt.js
2013-10-23 15:43:45 +00:00
Matheus Azzi
6555534608 Update package.json
Update grunt-contrib-watch
2013-10-21 08:44:10 -02:00
Hannah Wolfe
495f7bc3a7 Bump express and express-hbs to latest versions
closes #875, issue #876, issue #830
2013-10-21 10:21:57 +01:00
Hannah Wolfe
65dcb17117 Merge branch '0.3.3-wip'
Conflicts:
	core/client/views/blog.js
	core/server/api.js
	core/server/views/default.hbs
	package.json
2013-10-20 10:09:39 +01:00
Nick Donohue
2eb5758bc5 Bump connect-slashes to 0.0.10
seems to kill warning `npm WARN package.json connect-slashes@0.0.9 No repository field.`
2013-10-20 01:46:19 -04:00
Hannah Wolfe
0437e16a7a Version bump to 0.3.3 2013-10-17 22:49:24 +01:00
Tim Griesser
13639ad8d1 Updating to bookshelf 0.5.7 & knex 0.4.11 2013-10-17 18:23:36 +01:00
sjama
e6b4c80542 fixed license url 2013-10-16 18:46:44 +01:00
John O'Nolan
931897ed75 Updated package.json with Ghost details 2013-10-16 11:09:20 +02:00
Hannah Wolfe
b544ee7ed6 Revert "Updated to latest version of express-hbs"
This reverts commit d169bba3f8.

Conflicts:
	package.json
2013-10-11 20:14:58 +01:00
Hannah Wolfe
f30e356e7c Revert "Updated to latest version of express"
This reverts commit c95d469eb3.

Conflicts:
	package.json
2013-10-11 20:13:44 +01:00
Hannah Wolfe
b4d5918fac Version bump for 0.3.2
- added optional mysql dependency
- removed .afignore
- updates to .gitignore to ignore any additional themes or plugins
2013-10-11 18:21:14 +01:00
Hannah Wolfe
d169bba3f8 Updated to latest version of express-hbs
issue #830
2013-10-07 16:42:25 +01:00
Hannah Wolfe
c95d469eb3 Updated to latest version of express
closes #875
2013-10-07 14:31:57 +01:00
Hannah Wolfe
d866f0f31a Version bump for 0.3.1 bugfix release 2013-09-27 17:20:52 +01:00
nicoburns
994263b033 Added grunt-contrib-clean task to clear build folder 2013-09-19 08:45:29 +01:00
Hannah Wolfe
ce6dc77dc7 Version bump ready for release 2013-09-18 23:26:44 +01:00
Hannah Wolfe
6fe4efe2bd Changing Knex version
- no longer need to run npm install knex
2013-09-18 15:03:32 +01:00
Hannah Wolfe
6a276668bc Default to trailing slashes on the end of URLs
issue #448
2013-09-17 02:41:44 +01:00
Jacob Gable
63eb9581ea Compile assets with grunt
- Made a helper called ghostScriptTags that will spit out the relevant
  script tags with version parameter; 4 unminified files in development,
  1 minified file in production.
- Added grunt concat and uglify tasks to build files into core/built
- Fixed some unit tests by making them native date objects
2013-09-15 14:06:42 -05:00
Hannah Wolfe
b1d02d31f6 Setting knex to fixed 0.2.6 version
- hope to change this before release as 0.2.6 has a critical bug, and 0.4.0 doesn't yet work with bookshelf
2013-09-15 00:29:44 +01:00
Tim Griesser
bfded1e4c1 bumping bookshelf & knex deps 2013-09-10 09:48:17 +01:00
Hannah Wolfe
1baa2c46fb Upgrading sqlite3 to remove build dependencies
- This is the best commit ever.
- sqlite3 no longer has any build dependencies on major platforms
- HUZZAH
2013-09-10 08:46:07 +01:00
Hannah Wolfe
75a58bcd1e Updating express-hbs to latest
closes #630
2013-09-06 13:33:46 +01:00
Hannah Wolfe
36874badd5 Merge pull request #587 from javorszky/iss288
Email sending with Sendgrid plus password reset
2013-09-02 15:44:48 -07:00
Hannah Wolfe
be62a550f9 Global settings for themes
issue #389

 - Upgrade express-hbs to get template options access
 - Grab config & settings with a hacky new method in ghost & pass to template options
 - Settings are no longer passed to res.locals
2013-09-02 20:58:49 +01:00
Ricardo Tomasi
56619a87f8 Implement e-mail sending 2013-08-31 22:21:33 +02:00
Patrick Garman
8030946095 Add RSS Feed
Issue #366
- adds node-rss dependency
- adds /rss/ and /rss/:page/ routes which return XML RSS 2.0 feed
2013-08-28 10:36:32 -05:00
Hannah Wolfe
4cc3a11cda Manually merging pull request #439 from javorszky/iss354
Conflicts:
	core/client/views/login.js
2013-08-20 10:11:09 +01:00
Gabor Javorszky
be7ed2dfdc Added validation for signup and login screens
Closes #374
* Included node-validator as a package
* Implemented server side validation (the client side js is a mess, need a LOT of work)
* Validates email address both on signup and login screens, gives error message on malformed email addresses
* Requires at least 8 chars of password
* Tells user if password is too short
* Tells user if no such user on login
* Tells user if wrong password on login
* Tells user if server responds with a 404 (goes away, dies, etc)
* Added middleware between req and login / signup for validation
2013-08-20 09:42:42 +01:00
Gabor Javorszky
4e1aa2119c Removed flash, renamed file, unbroken logout / login request notifications
Closes #354
* Reintroduced the redirect functionality (not logged in, tries to go to `/settings/user/`, is sent to `/login/` with info notification, after login user is taken to `/settings/user/)
* Reintroduced the "Successfully logged out" message
* Added middleware to scrub passive notifications from `ghost.notifications` after one use basically mimicing client side passive notifications
* Removed flash from everywhere. Even from package.json.
* Renamed flashed.hbs to notifications.hbs, modified default.hbs accordingly
* Added function to parse GET variables on client side
2013-08-20 08:15:06 +01:00