Commit Graph

4193 Commits

Author SHA1 Message Date
Jason Williams
5d67f4a7b1 Merge pull request #4610 from novaugust/tag-save-refactor
Dry up tag saving behavior
2014-12-09 09:34:09 -06:00
Matt Enlow
a04157daeb Dry up tag saving behavior
Ref #4248
2014-12-09 07:38:32 -07:00
Matt Enlow
93c5ff3e04 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
7e16ef328d 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
Hannah Wolfe
7e8c1d266f Merge pull request #4604 from sebgie/issue#3872-1
Fix reset token verification
2014-12-08 09:18:23 +00:00
Sebastian Gierlinger
d479b0c262 Fix reset token verification
closes #3872
closes #4603
- updated regex to work with url safe tokens
2014-12-08 09:34:40 +01:00
John O'Nolan
d6fb1baa1a Merge pull request #4599 from PaulAdamDavis/sitemap-index
Change sitemap root location
2014-12-08 01:34:36 +02:00
Paul Adam Davis
4e6c867183 Change sitemap root location
Closes #4590

- Removes `-index` from the root sitemap
- Removes redirects (which send sitemap.xml to sitemap-index.xml)
- Adjust tests
2014-12-07 11:59:43 +00:00
Matt Enlow
151715510c Merge pull request #4594 from jaswilli/ember19-prep
Update syntax in ember templates.
2014-12-06 15:46:28 -07:00
Jason Williams
6f595c959a 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
aca7577b60 Merge pull request #4579 from PaulAdamDavis/about-tests
About Page Tests
2014-12-05 17:03:17 +00:00
Hannah Wolfe
fd79678f32 Merge pull request #4587 from jaswilli/testem
Move testem.json into client tests directory.
2014-12-05 16:18:03 +00:00
Sebastian Gierlinger
be928dd7a2 Merge pull request #4570 from jaswilli/update-simple-auth
Update authentication initializer.
2014-12-05 16:38:50 +01:00
Jason Williams
837446c570 Move testem.json into client tests directory. 2014-12-05 14:53:45 +00:00
Paul Adam Davis
3b87aa2895 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
Hannah Wolfe
a761de2079 Version bump to 0.5.6 2014-12-04 17:37:25 +00:00
John O'Nolan
b705d5cd7d Fix settings header to allow dropdown menus to work 2014-12-04 19:25:14 +02:00
Sebastian Gierlinger
658dea9e6b Merge pull request #4580 from ErisDS/footnote-excerpt
Strip footnotes from excerpts
2014-12-04 17:24:56 +01:00
Hannah Wolfe
299b06e705 Merge pull request #4582 from jaswilli/ci-adjust
Match labels with element ids.
2014-12-04 16:05:07 +00:00
Hannah Wolfe
883ce4eb64 Merge pull request #4581 from TryGhost/revert-4544-notification-over-nav
Revert "Allow notifications to sit over the nav bar"
2014-12-04 16:02:08 +00:00
Hannah Wolfe
d518df7386 Upgrading Casper to 1.1.3 2014-12-04 15:39:13 +00:00
Hannah Wolfe
591d653b36 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
de20f3af2a 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
f2b90bfa07 Revert "Allow notifications to sit over the nav bar" 2014-12-04 15:12:38 +00:00
Jason Williams
6a2e699c8e Update authentication initializer.
Refs #3492
- ember-simple-auth@0.7.2
2014-12-04 15:09:11 +00:00
Sebastian Gierlinger
32959b2269 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
0b2541b19f Merge pull request #4575 from ErisDS/highlight
Adds markdown highlight support
2014-12-04 15:00:01 +01:00
Hannah Wolfe
9783f16e76 Adds markdown highlight support
closes #4574

- adds highlight showdown extension with tests
2014-12-04 13:37:29 +00:00
Hannah Wolfe
904918d5cc 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
John O'Nolan
908dcf7a39 Merge pull request #4562 from ErisDS/issue-4555
Add XSL for Sitemaps
2014-12-04 10:55:51 +01:00
Hannah Wolfe
818085f18c 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
Sebastian Gierlinger
319887c77b Merge pull request #4573 from ErisDS/limit-all-sitemaps
Add limit=all consistently to users, posts & tags
2014-12-04 09:45:33 +01:00
Stefan Baumgartner
60effc1b51 adds code injection admin frontend implementation, handlebar helpers + settings
escaping handlebars
2014-12-04 04:16:08 +00:00
Matt Enlow
f01fd0bbc0 Merge pull request #4564 from Gargol/issue-4517
Tag Settings Menu Autosave
2014-12-03 14:29:42 -07:00
Jason Williams
5f9620cde0 Merge pull request #4567 from cobbspur/imagesubdir
Fix image helper for subdirectories
2014-12-03 14:39:52 -06:00
cobbspur
5f07f5503e Fix image helper for subdirectories
closes #4566

- Url created within urlFor with image context rather than calling createUrl function
2014-12-03 20:19:22 +00:00
Hannah Wolfe
9b146e59bb Add limit=all consistently to users, posts & tags
refs #623, #4348

- this fixes sitemaps to list all posts, pages, tags and users
- makes the API behave consistently across all paginated resources
2014-12-03 18:46:26 +00:00
Nazar Gargol
2a4b071f80 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
Matt Enlow
83ef557c88 Merge pull request #4571 from jaswilli/cleanup-4270
Remove console.log
2014-12-03 10:06:20 -07:00
Jason Williams
3a1648edb9 Remove console.log
Refs #4270
2014-12-03 16:06:23 +00:00
John O'Nolan
26117ea6de 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
52de82094f Merge pull request #4561 from PaulAdamDavis/sass-layout-cleanup
Cleanup layout Sass
2014-12-03 15:05:54 +01:00
Hannah Wolfe
13757041d9 Merge pull request #4270 from mispy/footnotes2
Footnotes extension for Showdown
2014-12-03 13:38:47 +00:00
Paul Davis
893bd1939c Merge pull request #4568 from jaswilli/buttons
Change anchors without hrefs to buttons.
2014-12-03 12:59:20 +00:00
Paul Davis
52a9cddc71 Merge pull request #4550 from felixrieseberg/iss4446
gh-trim-focus-input autofocus fix for iOS Safari
2014-12-03 12:59:02 +00:00
Sebastian Gierlinger
9b8141bb08 Merge pull request #4530 from ErisDS/issue-4498
API - no more m-2-m relation ids by default
2014-12-02 20:49:47 +01:00
Hannah Wolfe
4cb909542a API - no more m-2-m relation ids by default
closes #4498

- remove toJSON code which returns only IDs from objects
- don't auto-include tags & fields in post responses
- don't auto-include roles in user responses
- fix #allthethings that made assumptions about the auto-includes, or otherwise were only working because of the auto-include
2014-12-02 19:24:44 +00:00
Felix Rieseberg
69662bd5d2 gh-trim-focus-input autofocus fix for iOS Safari
Closes #4446
- Mobile Safari doesn’t support the HTML5 `autofocus` attribute, but
also doesn’t play nice with jQuery’s `focus()` and `select()` methods.
- Mobile Safari wouldn’t automatically select the input field anyway,
so this PR simply removes the “jumping input fields” error without
changing any actual behaviour.
- Disallowing the programmatic selection of input fields (with select,
focus or similar methods) is apparently considered a feature rather
than a bug (ref http://bugs.jquery.com/ticket/12789)
- `autofocus` attribute is now only set on non-iOS devices
2014-12-02 09:14:32 -08:00
Jason Williams
b6dff38d32 Change anchors without hrefs to buttons. 2014-12-02 15:02:37 +00:00
Hannah Wolfe
89905a8e3c Merge pull request #4560 from cobbspur/labs
Move ugly debug to Settings  Labs
2014-12-02 10:34:17 +00:00