Commit Graph

3242 Commits

Author SHA1 Message Date
Hannah Wolfe
b91dee35c4 Removing prototypal i18n code
refs #16, #17, #18, #19, #20, #21, #3801

- This code was a prototype system built when Ghost was still a prototype.
  It was never fully implemented and hasn't actually worked for ages.
- Now that the admin is in Ember, it's likely we'll need a very different
  system.
2014-08-16 17:29:54 +01:00
Hannah Wolfe
7f4231c83d Merge pull request #3791 from ErisDS/issue-3790
Display correct new Ghost version
2014-08-15 18:34:03 +01:00
Hannah Wolfe
e8ad143705 Merge pull request #3785 from jaswilli/post-status
Revert post status on failed save.
2014-08-15 18:27:47 +01:00
Hannah Wolfe
260d9562e4 Merge pull request #3670 from felixrieseberg/iss3641
Validation fix for number of posts/page
2014-08-15 18:27:14 +01:00
Hannah Wolfe
52d0a83dc2 Display correct new Ghost version
closes #3790
2014-08-15 18:23:55 +01:00
Hannah Wolfe
083dc0903b Restore email templates in npm package
no issue

- apparently npmignore's globbing rules are different to grunts. The rule *.html has been interpretted as all html files and the email templates are missing from the npm package.
- this fix tells npm not to ignore email templates, so that they will be present in the next release
2014-08-15 17:53:59 +01:00
Hannah Wolfe
d2e09de0de Merge pull request #3769 from novaugust/iss3764
Hide role dropdown on user page if user is owner
2014-08-15 17:53:46 +01:00
John O'Nolan
1bf6c5791c Merge pull request #3788 from jillesme/master
Open the e-mail sending support page in a new window.
2014-08-15 17:15:01 +02:00
Jilles Soeters
6249d28a92 Added target="_blank" to all links that go to the support page. 2014-08-15 16:46:24 +02:00
Jilles Soeters
ecdf5cec21 Open the e-mail sending support page in a new window. 2014-08-15 16:20:52 +02:00
Hannah Wolfe
91ef11f853 Improve documentation section in CONTRIBUTING.md 2014-08-15 09:37:02 +01:00
Jason Williams
24a97db1be Revert post status on failed save.
Refs #3667, Refs #3776
- If saving a post fails, revert its status back to the
  pre-save value.
- Added tests to check post status after failed save attempt
  on both new and existing posts.
2014-08-15 00:22:10 +00:00
Hannah Wolfe
868219d0a9 Merge pull request #3776 from felixrieseberg/iss3667
Ensure editor awareness if publishing fails
2014-08-14 21:19:21 +01:00
Hannah Wolfe
b1386fccc3 Merge pull request #3738 from felixrieseberg/iss3728
Error notification if send test mail returns 500
2014-08-14 20:38:08 +01:00
Hannah Wolfe
62b46bac57 Merge pull request #3749 from novaugust/ghost-logo-link
Update ghost-logo, amend the amdendments, death to jQuery
2014-08-14 20:19:00 +01:00
Hannah Wolfe
a8fdc7ac43 Merge pull request #3773 from jaswilli/settings-tests
Fix and enable general and user settings tests.
2014-08-14 20:05:42 +01:00
Felix Rieseberg
6e8c98e27c Ensure editor awareness if publishing fails
closes #3667
- If the ‘save’ function on a new post fails, the local Ember model
still beliefs that the status is ‘published’, resulting in wrong
buttons. A simple catch fixes that.
2014-08-14 11:05:05 -07:00
Felix Rieseberg
f19c2be6fe Validation fix for number of posts/page
closes #3641
- Reworded error messages, remove “please” (credits go to @YouriAckx)
2014-08-13 12:08:09 -07:00
Hannah Wolfe
8c975284af Merge pull request #3753 from pedro-teixeira/master
Installation as root fails on bower
2014-08-13 18:34:01 +01:00
Hannah Wolfe
afa9d5500e Merge pull request #3746 from jaswilli/update-sqlite3
Update dependency sqlite3@2.2.7
2014-08-13 18:31:56 +01:00
Hannah Wolfe
048cdc5f16 Merge pull request #3733 from rwjblue/use-ghost-paths-util
Use the ghost-paths consistently.
2014-08-13 18:28:11 +01:00
Hannah Wolfe
2aed220e9e Merge pull request #3647 from felixrieseberg/iss3644
Accept all versions of 'edit' as URL parameter
2014-08-13 18:22:18 +01:00
Jason Williams
2eb9a48c48 Fix and enable general and user settings tests. 2014-08-13 14:14:29 +00:00
Matt Enlow
8748895607 Hide role dropdown on user page if user is owner
Closes #3764
2014-08-12 18:06:34 -06:00
Pedro Teixeira
c68859cde9 Add --allow-root for ghost_ui grunt task
closes #3753
2014-08-11 21:47:45 +02:00
Felix Rieseberg
0720033e38 Error notification if send mail api returns 500
closes #3728
- If the mail config is broken, the ajax call will fail with 500 and
not return an error.
- This change catches 500 and wraps the error in a notification.
2014-08-11 09:15:12 -07:00
Matt Enlow
10f3efa388 Update ghost-logo, death to jQuery
Amends #3740 (which amended #3736), ref #3623
- Removed futzy jquery for setting href on logo; binding to ApplicationView property
- Killed dead code
2014-08-11 09:52:55 -06:00
Jason Williams
ce20d93006 Update dependency sqlite3@2.2.7
No Issue
- sqlite3 2.2.7 supports building on node v0.11.13.
2014-08-11 13:47:09 +00:00
Hannah Wolfe
b6507bed9b Version bump to 0.5.0 2014-08-11 12:31:42 +01:00
Hannah Wolfe
1e14cac5ce Merge pull request #3740 from PaulAdamDavis/ghost-logo-link
Change Ghost logo link back to an anchor
2014-08-11 12:20:42 +01:00
Sebastian Gierlinger
ffe2ad2d9f Merge pull request #3743 from ErisDS/filestorage-helper
Filestorage helper returns string true if config is object
2014-08-11 13:12:58 +02:00
Paul Adam Davis
a11e25c12b Add ghost logo anchor tag
Amends #3736, references #3623

With `button.ghost-logo`, there's no `href`, so cannot be opened in a new window. This changes it back to an anchor and appends the blog URL to a href attribute. Win!

Bumps Ghost-UI version to 0.8.13 bring in related CSS changes.
2014-08-11 12:08:08 +01:00
John O'Nolan
8d798c95b8 Merge pull request #3744 from PaulAdamDavis/user-actions-button
Change user actions button tag
2014-08-11 13:03:22 +02:00
Hannah Wolfe
c500b41536 Filestorage helper returns string true if config is object
no issue

- else admin client gets [object Object] which is weird Please enter the commit message for your changes. Lines starting
2014-08-11 11:50:44 +01:00
Hannah Wolfe
96c5266e31 Merge pull request #3742 from rwjblue/ensure-slug-is-always-saved 2014-08-11 11:43:09 +01:00
Robert Jackson
0c3d603f8a Ensure that slug is always synced for User form. 2014-08-11 11:42:53 +01:00
Paul Adam Davis
fc06108445 Change user actions button tag
No issue

- Changes the user actions button to a `<button>` element.
2014-08-11 11:29:29 +01:00
Sebastian Gierlinger
676c4ab824 Merge pull request #3741 from ErisDS/owner-user
Fix for bug where owner user has name owner
2014-08-11 12:08:28 +02:00
Hannah Wolfe
5381db37cd Fix for bug where owner user has name owner
no issue

- in the case that the role is not being assigned, the code assumes it doesn't get a role..
2014-08-11 10:51:14 +01:00
Hannah Wolfe
1e9db1ac0f Final Ghost-UI version for 0.5 2014-08-11 08:22:01 +01:00
Hannah Wolfe
9131d01c6e Upgrading Casper to official 1.0.0 release 2014-08-11 08:19:27 +01:00
Hannah Wolfe
556a26c8f3 Merge pull request #3739 from jaswilli/update-packages
Update express and body-parser dependencies.
2014-08-11 08:02:58 +01:00
Jason Williams
8fb3cddcf6 Update express and body-parser dependencies.
No Issue
- Upgrade to versions of these packages that use qs >= 1.0.0.
2014-08-11 05:20:31 +00:00
Hannah Wolfe
17352c0d56 Version bump to 0.5.0-rc4 2014-08-10 23:19:21 +01:00
Hannah Wolfe
988ca127b6 Updating docs links to point to support.ghost.org 2014-08-10 23:17:40 +01:00
Hannah Wolfe
e5771b0b3f Merge pull request #3736 from novaugust/ghost-burgers
Fix -navbar events attachment
2014-08-10 22:45:50 +01:00
Matt Enlow
d61e37e799 Fix -navbar events attachment
Closes #3623
- Move hamburger logic to action with terrible name, "toggleSidebarOrGoHome"
- Move ".js-close-sidebar" events to a document.on(event, *selector*, f) to make sure they attach even when the js-close-sidebars aren't on page (ie, hidenav)
2014-08-10 15:31:47 -06:00
Sebastian Gierlinger
85a1902294 Merge pull request #3735 from ErisDS/cache-invalidation
Adding author pages to cache invalidation
2014-08-10 22:01:19 +02:00
Sebastian Gierlinger
d167bb4ff4 Merge pull request #3731 from ErisDS/issue-3724
Expose blog URL to client app
2014-08-10 20:51:45 +02:00
Hannah Wolfe
d556f4723e Adding author pages to cache invalidation 2014-08-10 19:32:46 +01:00