Commit Graph

1660 Commits

Author SHA1 Message Date
Hannah Wolfe
7946926c93 Merge pull request #4629 from cobbspur/postpreview
Add view post link on published and updated posts
2014-12-15 13:28:47 +00:00
Hannah Wolfe
80325210e4 Merge pull request #4645 from katiefenn/issue-4356 2014-12-15 12:29:19 +00:00
Katie Fenn
48417d9b92 Fixed editor tag field handling of comma key on international keyboards
fixes #4356
- Added new keyPress event handler to identify keys by character instead of key
- Removed code for handling comma key from keyDown event handler
2014-12-15 12:27:35 +00:00
cobbspur
959a3a749d Add view post link on published and updated posts
closes #1756

- adds a post url link to 'post updated' and 'post published' in editor
- adds join function in ghost paths
- adds a '/' detection to makeRoute method
- adds test for join function
2014-12-15 12:18:47 +00:00
Hannah Wolfe
6200948dc7 Merge pull request #4346 from novaugust/scroll-posts
Scroll post-item-view into view
2014-12-14 23:17:12 +00:00
Jason Williams
d224930e23 Merge pull request #4635 from ikhattab/fix-autosave-whitespace-title
Autosave for whitespace-only titles
2014-12-12 10:19:07 -06:00
Jason Williams
da3c2b332d Merge pull request #4632 from PaulAdamDavis/modal-colour-spacing
Modal spacing & warning colour
2014-12-12 09:49:05 -06:00
Ihab Khattab
130afcf27c Autosave for whitespace-only titles
closes #4625
- trim white space form `titleScratch` to enable autosave for
whitespace-only titles
2014-12-12 16:44:24 +02:00
Paul Adam Davis
69f895a610 Modal spacing & warning colour
Closes #4583

- Adds a `.red` class (used to make the post count red)
- Adds a little spacing under the modal header to things arent bunched up
2014-12-12 10:48:50 +00:00
Hannah Wolfe
1518c41478 Merge pull request #4613 from felixrieseberg/iss4506-2
Tag Cover Images
2014-12-12 10:46:58 +00:00
Hannah Wolfe
143b579cb6 Merge pull request #4619 from jaswilli/issue-4583
Change user deletion warning to be more explicit.
2014-12-12 10:16:59 +00:00
Hannah Wolfe
845c4d1767 Merge pull request #4628 from sebgie/issue#4624
Password change MU
2014-12-12 10:07:34 +00:00
Sebastian Gierlinger
ff11d6619f Password change MU
closes #4624
- added user_id to password reset request
- hide old password field
- updated changePassword method to check permissions
- updated changePassword method to work without oldPassword
- fixed bug for errors shown as [Object object]
2014-12-11 21:23:07 +01:00
Hannah Wolfe
1223e3237c Labs page bug fixes
- clear import errors on new attempt
- clear posts and tags from store after delete all
2014-12-11 19:53:56 +00:00
John O'Nolan
db560fbb52 Merge pull request #4621 from graphiclunarkid/issue4583
Swap button order on deleter-user modal
2014-12-11 17:20:43 +02:00
John O'Nolan
563add3bd7 Merge pull request #4623 from vikhyat/unfocus-nav
Fix active menu state on settings navigation
2014-12-11 17:09:40 +02:00
Felix Rieseberg
fd0e66a773 Tag Cover Images
Closes #4506

Works just like the Post Cover Images (and uses the same component)
Tiny changes to the component ensures that we can reuse it across Ghost
2014-12-10 17:48:18 -08:00
Paul Adam Davis
58b0eb701c Add Tag Meta View
Closes #4509, Closes #4615

- Adds meta title & meta description input fields
- Autosaves meta data
- Shows SEO preview (falling back to tag name & description if meta not supplied)
- Adds `type="button"` to delete button (which closes 4651)
2014-12-10 18:12:30 +00:00
Vikhyat Korrapati
d6f1bb5890 Fix active menu state on settings navigation
closes #4622
- unfocus ActivatingListItem link when clicked
2014-12-10 22:01:40 +05:30
Richard King
9c9ebcb179 Swap button-order on modal dialogs
Issue #4583

- Delete button should be on the right, cancel on the left, for all modal dialogs.
2014-12-10 16:13:45 +01:00
Jason Williams
90043cd28d Change user deletion warning to be more explicit.
Issue #4583
- If a user has posts, show the count in the deletion warning.
2014-12-10 01:44:36 +00:00
David Balderston
00c9a1c0fd Added Highlight to Markdown Help 2014-12-09 17:07:08 -08:00
Matt Enlow
5cfebb3e50 Dry up tag saving behavior
Ref #4248
2014-12-09 07:38:32 -07:00
Matt Enlow
4c96b92748 Merge pull request #4523 from Gargol/issue-4516
Adds ctrl/cmd+s shortcut to whole application with a noop default
2014-12-08 11:45:48 -07:00
Nazar Gargol
30cd943690 Adds ctrl/cmd+s shortcut to whole application with a noop default
closes #4516
- shortcut for ctrl/cmd+s on application level
- shortens a syntax for any route that is using 'save' method, shortcuts object doesn't have to be defined at all, only the save action.
2014-12-08 19:08:40 +01:00
Sebastian Gierlinger
f557f3c4b8 Fix reset token verification
closes #3872
closes #4603
- updated regex to work with url safe tokens
2014-12-08 09:34:40 +01:00
Jason Williams
51c31951e8 Update syntax in ember templates.
No Issue.
- Outlet names must be quoted.
- {{#each}} helper will no longer implicitly switch context.
  Change usage to {{#each foo in bar}}.
2014-12-06 16:30:57 +00:00
Hannah Wolfe
c3461ee975 Merge pull request #4579 from PaulAdamDavis/about-tests
About Page Tests
2014-12-05 17:03:17 +00:00
Sebastian Gierlinger
932c04b4ed Merge pull request #4570 from jaswilli/update-simple-auth
Update authentication initializer.
2014-12-05 16:38:50 +01:00
Paul Adam Davis
a61a89aace About Page Tests
Closes #4508

Tests for:

- Version number is a number
- Database type is an allowed 1 of 3
- There are 20 contributors
- First contributor has an image tag and image src exists, alt tag, title tag, href to github
2014-12-05 14:40:59 +00:00
John O'Nolan
1c80a2f642 Fix settings header to allow dropdown menus to work 2014-12-04 19:25:14 +02:00
Sebastian Gierlinger
b50eb85bc4 Merge pull request #4580 from ErisDS/footnote-excerpt
Strip footnotes from excerpts
2014-12-04 17:24:56 +01:00
Hannah Wolfe
b6eb6b47b4 Merge pull request #4582 from jaswilli/ci-adjust
Match labels with element ids.
2014-12-04 16:05:07 +00:00
Hannah Wolfe
362a1e7d33 Strip footnotes from excerpts
fixes #4572

- Remove both inline and bottom footnotes from excerpt output before stripping the remaining HTML
- No more red errors, black text or bold links in codemirror, as codemirror gets confused by footnote syntax. This is a step towards the new editor which has no syntax highlighting in the editor
2014-12-04 15:28:30 +00:00
Jason Williams
09509cb20d Match labels with element ids.
Refs #4578
- Match label "for" attributes with ids from the inputs they're
  labeling.
- Remove extra promise generation from ghost header and footer helpers.
2014-12-04 15:21:27 +00:00
Paul Davis
40567e46a0 Revert "Allow notifications to sit over the nav bar" 2014-12-04 15:12:38 +00:00
Jason Williams
1312a69fee Update authentication initializer.
Refs #3492
- ember-simple-auth@0.7.2
2014-12-04 15:09:11 +00:00
Sebastian Gierlinger
c2461433ab Merge pull request #4578 from ErisDS/pr-3489
Code Injection PR 3489 rebased and updated
2014-12-04 15:16:37 +01:00
Sebastian Gierlinger
633f40948d Merge pull request #4575 from ErisDS/highlight
Adds markdown highlight support
2014-12-04 15:00:01 +01:00
Hannah Wolfe
853db11f27 Adds markdown highlight support
closes #4574

- adds highlight showdown extension with tests
2014-12-04 13:37:29 +00:00
Hannah Wolfe
a7845cfd70 Code Injection - adds perms, shortcuts, icon, flag
refs #1993

- adds ctrl/cmd+s for save
- adds config flag
- adds icon on settings page, puts items in the right order
- sorts out permissions for all settings pages with consistent configuration
2014-12-04 13:34:44 +00:00
Hannah Wolfe
2b518677f2 Add XSL for Sitemaps
fixes #4555

- There's no easy way to declare an XSL with the node xml module, so I
  needed to move the declarations to both be strings
- Ideally the code to serve the XSL would also be inside the sitemap
  module, but I think we need to refactor a bit to get there easily
- Added the XSL from #4559, with minor amends to make the tables and urls
  display correctly
2014-12-04 09:38:09 +00:00
Stefan Baumgartner
895fe26bc9 adds code injection admin frontend implementation, handlebar helpers + settings
escaping handlebars
2014-12-04 04:16:08 +00:00
Matt Enlow
e66e012cae Merge pull request #4564 from Gargol/issue-4517
Tag Settings Menu Autosave
2014-12-03 14:29:42 -07:00
Nazar Gargol
a31902024b Tag Settings Menu Autosave
closes #4517

- adds autosave to name/slug/description fields in TMS
- adds nprogress indicator when saving
2014-12-03 19:15:59 +01:00
John O'Nolan
fd4dee1885 Merge pull request #4544 from PaulAdamDavis/notification-over-nav
Allow notifications to sit over the nav bar
2014-12-03 15:06:16 +01:00
John O'Nolan
7e85e9d3bc Merge pull request #4561 from PaulAdamDavis/sass-layout-cleanup
Cleanup layout Sass
2014-12-03 15:05:54 +01:00
Hannah Wolfe
2c4be7d826 Merge pull request #4270 from mispy/footnotes2
Footnotes extension for Showdown
2014-12-03 13:38:47 +00:00
Paul Davis
de24760d6e Merge pull request #4568 from jaswilli/buttons
Change anchors without hrefs to buttons.
2014-12-03 12:59:20 +00:00
Paul Davis
fdcd7e2164 Merge pull request #4550 from felixrieseberg/iss4446
gh-trim-focus-input autofocus fix for iOS Safari
2014-12-03 12:59:02 +00:00