Hannah Wolfe
3961b7173f
Upgrade express-hbs, and switch to using registerPartial
...
fixes #1964 , fixes #1975
- Issues with partial handling which caused #1964 have been part fixed by handlebars, part worked around by express-hbs, we must use `registerPartials` to ensure partials are handled correctly.
- Issue with error handling which caused #1975 has also been fixed in express-hbs, which now catches the error from handlebars and passes it to express so that we can handle the error with an error page.
2014-01-24 11:08:15 +00:00
Hannah Wolfe
cccc19842e
Merge pull request #2004 from ErisDS/issue-1992
...
Adding guard to meta_title
2014-01-22 12:38:53 -08:00
Hannah Wolfe
91f59e74af
Merge pull request #1949 from jolros/symlinked-themes-bugfix
...
Including theme partials in a way that supports symbolically linked directories
2014-01-22 11:05:33 -08:00
Hannah Wolfe
20f4af2eb4
Adding guard to meta_title
...
fixes #1992
2014-01-21 17:24:24 +00:00
Hannah Wolfe
2aa7288777
Merge pull request #1948 from sebgie/issue#1932-1
...
Fix display update notification
2014-01-20 07:24:02 -08:00
Hannah Wolfe
d44555d3f1
Merge pull request #1950 from Damiya/1893-fix
...
Enable Escape key to close tag suggestion popup
2014-01-20 06:28:15 -08:00
Hannah Wolfe
7cd87c5a3c
Merge pull request #1951 from Damiya/1902-fix
...
Prevent stacking of password mismatch notification on /reset/
2014-01-20 06:12:25 -08:00
Hannah Wolfe
39b9c1cf6b
Merge pull request #1927 from schneidmaster/fix-1907
...
Fixed issue with adding multiple new tags to a post
2014-01-20 06:04:59 -08:00
Hannah Wolfe
6c222df83d
Merge pull request #1956 from jaswilli/issue-1782
...
Show message and don't start if javascript files have not been built
2014-01-20 05:59:01 -08:00
Jason Williams
d7c3dbb17e
Show message and don't start if javascript files have not been built
...
fixes #1782
- added builtFilesExist function to check for files during startup.
If built files do not exist Ghost startup is stopped and a link
to the documentation is displayed.
- exported a scriptFiles object from server/helpers.
- added a builtScriptPath to the paths module.
- removed "js-msg" about missing javascript from the UI.
2014-01-15 19:10:43 +00:00
Hannah Wolfe
c1290d77a6
Merge pull request #1954 from ErisDS/issue-1498
...
Adding case-insensitive User.getByEmail method
2014-01-15 05:57:58 -08:00
Hannah Wolfe
129e7123fd
Merge pull request #1957 from sebgie/db-fix
...
Fix posts.html and posts.markdown field type
2014-01-15 05:57:38 -08:00
Sebastian Gierlinger
03cbc89a53
Fix posts.html and posts.markdown field type
...
closes #1947
- added fieldtype: medium for posts.html
- changed fieldtype: medium for posts.markdown
- added method to fix databases created with wrong field type
- added tests for database version 002
2014-01-15 14:29:23 +01:00
Hannah Wolfe
6098b83152
Adding case-insensitive User.getByEmail method
...
fixes #1498
- emails are no longer converted to lowercase, local mailbox can validly
be mixed case
- getByEmail uses JS to compare emails to ensure we can support unicode
- tests that users can be retrieved by their email address with case
insensitivity
2014-01-15 10:39:40 +00:00
Kate von Roeder
03fec0763e
Prevent stacking of password mismatch notification on /reset/
...
closes #1902
- Missing call to clearEverything caused the new notifications to pile up on multiple failed submissions
2014-01-14 13:58:38 -08:00
Kate von Roeder
4dbf57f2d3
Enable Escape key to close tag suggestion popup
...
closes #1893
- Checking the contents of search term after evaluating the keycode caused the suggestion box to be hidden and immediately reshown
- Moving the if/else to the top of the function enables us to fix the issue without complicating the suggestion update logic
2014-01-14 13:17:06 -08:00
Sebastian Gierlinger
fd4f3051e6
Fix display update notification
...
closes #1932
- added showUpdateNotification with version check
- added temp workaround for boolean values in database
- changed default value from false to null
- updated tests
2014-01-14 20:46:36 +01:00
Joel Rosenberg
6437f343c1
Including theme partials in a way that supports symbolically linked directories
...
closes #1937
- using fs.stat() instead of hasOwnProperty() to test for directory existence
2014-01-14 11:43:23 -08:00
Zach Schneider
fa7bd62857
Fixed issue with adding multiple new tags to a post
...
Fixes #1907
Refactored `updateTags` to correct a loop issue where the `insert`
method was mistakingly being passed rather than `update`, triggering a
duplicate PK SQL error.
2014-01-13 09:29:40 -05:00
Hannah Wolfe
c82d2eadba
Version bump for 0.4 release
2014-01-13 09:33:28 +00:00
Hannah Wolfe
47391db105
Merge pull request #1919 from ErisDS/date-display
...
Publish date and time display fix
2014-01-12 19:52:55 -08:00
Hannah Wolfe
f71ce8ac07
Publish date and time display fix
...
no issue
- add @ symbol to ensure date and time are clear
2014-01-13 02:39:08 +00:00
Hannah Wolfe
31e690cb15
Updating to latest Casper
2014-01-13 02:38:36 +00:00
Hannah Wolfe
cfc46df122
Merge pull request #1917 from JohnONolan/copyright
...
2013 => 2014
2014-01-12 17:10:57 -08:00
John O'Nolan
2506ca1205
2013 => 2014
2014-01-13 01:31:58 +01:00
Hannah Wolfe
3d18a32e7d
Bump version for pre-release 3
2014-01-12 23:42:35 +00:00
Hannah Wolfe
055882fd34
Updating to latest Casper
2014-01-12 23:41:51 +00:00
Hannah Wolfe
c8917cab4d
Error message updates
...
no issue
- couple of tweaks to the messaging of non-fatal errors that can be output when running Ghost
2014-01-12 21:49:24 +00:00
Hannah Wolfe
9f0dea0559
Minor fixes to asset helper and tests
...
no issue
- asset helper ignores it if theme devs specify the asset dir
- asset helper strips leading slashes
- static asset tests were wrong
2014-01-12 21:48:34 +00:00
Hannah Wolfe
595b326b36
Merge pull request #1910 from ErisDS/issue-1901
...
Ensure cookies are only ever set for admin
2014-01-12 09:19:45 -08:00
Hannah Wolfe
3dea6431df
Ensure cookies are only ever set for admin
...
fixes #1901
- Adds a trailing slash to the cookie path
- Resolves random log-outs
- Adds a test which proves the case
2014-01-12 17:08:48 +00:00
Hannah Wolfe
51a741cadc
Merge pull request #1904 from ErisDS/issue-1595
...
No select or text cursor on rendered preview
2014-01-11 09:01:43 -08:00
Hannah Wolfe
198e936423
No select or text cursor on rendered preview
...
fixes #1595
- prevents the backspace key from doing terrible things
2014-01-11 16:05:33 +00:00
Hannah Wolfe
d6f4312255
Improve errors on image upload
2014-01-11 13:40:21 +00:00
Hannah Wolfe
c89fa7ab64
Merge pull request #1900 from schneidmaster/fix-1899
...
Prevented duplicate binding of upload button on debug importer
2014-01-11 04:24:16 -08:00
Zach Schneider
09b3fb6b3f
Prevented duplicate binding of upload button on debug importer
...
Fixes #1899
2014-01-10 18:08:24 -05:00
Hannah Wolfe
b11e6e066b
Change help text wording on settings page
2014-01-10 20:05:38 +00:00
Hannah Wolfe
efe04a73dd
Removing changelog from release
...
- this isn't required on account of GitHub & it being ENORMOUS
2014-01-09 21:53:28 +00:00
Hannah Wolfe
cd3c061090
Updating to latest Casper
2014-01-09 21:45:09 +00:00
Hannah Wolfe
4b4e6c2d45
Bump version for pre-release 2
2014-01-09 21:39:13 +00:00
Hannah Wolfe
c833946e54
Merge pull request #1894 from ErisDS/issue-1558
...
Notifications can be dismissed with ESC
2014-01-09 13:24:41 -08:00
Hannah Wolfe
eae2147265
Notifications can be dismissed with ESC
...
issue #1558
- this is a partial / short term fix for the problem with extra long notifications, so that there is at least one way to remove them.
2014-01-09 20:34:16 +00:00
Hannah Wolfe
117f3c9e11
Merge pull request #1883 from mattflo/master
...
Restored files that were refactored away.
2014-01-09 12:07:21 -08:00
Matt Florence
d1b265be4a
Shims for deleted (refactored away) files
...
closes #1873 .
During file system merge upgrades of new releases, old files are not removed and node's require loads the old file instead of all the new ones in the new directory. The files in this commit act as a delegate for all other dependent scripts. These shim files explicitly require the new index.js.
2014-01-09 09:21:09 -06:00
Hannah Wolfe
629e622561
Merge pull request #1888 from hswolff/additional-ux
...
Update placeholder of published data in editor
2014-01-09 05:04:09 -08:00
Hannah Wolfe
fecb392afa
Add bug report template link to CONTRIBUTING.md
...
There is now a GitHub link you can use to create a bug with the template.
2014-01-09 12:16:57 +00:00
Hannah Wolfe
5eadaa441a
Merge pull request #1886 from jgable/progressBarOnDelete
...
Fix hanging loading bar on deleting a post
2014-01-09 03:50:11 -08:00
Hannah Wolfe
b6edc870aa
Merge pull request #1885 from nicovalencia/issue-1880
...
Add `rss` to the list of reserved post titles/slugs.
2014-01-09 03:34:09 -08:00
Harry Wolff
0fd718f700
Update placeholder of published data in editor
...
fixes #1351
- when a post has a published_at value show a blank
placeholder
- when a post doesn’t have a published_at
value then show the required published at value
format
2014-01-07 23:13:16 -05:00
Jacob Gable
d255746b53
Fix hanging loading bar on deleting a post
...
Closes #1869
- Added an additional event listener for destroy event, then a listener
on the model for the sync event to finish the progress bar loader
2014-01-07 18:56:00 -06:00