Commit Graph

4092 Commits

Author SHA1 Message Date
Jason Williams
915fa17436 Fix up single post routes.
No Issue
- Add local store lookup back to edit route.
- Prevent entry into route when an author is not the owner of a post
  even if model is passed in.
- Clean up references to pagination as there's no pagination going on.
2014-11-21 21:56:49 +00:00
Sebastian Gierlinger
3fd6c80bb7 Merge pull request #4490 from thisishugo/url-safe-tokens
Make tokens URL safe
2014-11-21 11:30:30 +01:00
Hannah Wolfe
bdf4538cb2 Merge pull request #4488 from Gargol/issue-4415
Loads correct screen after author refreshes page in editor
2014-11-20 19:45:51 +00:00
Matt Enlow
1a42f32561 Merge pull request #4493 from jaswilli/settings-migration
Fix updateConfigTheme method.
2014-11-20 11:50:32 -07:00
John O'Nolan
99b7c07978 Merge pull request #4401 from PaulAdamDavis/sass-cleanup
Update Patterns Sass Formatting
2014-11-20 19:05:15 +01:00
Jason Williams
b31fec6e2f Fix updateConfigTheme method.
No Issue
- Fix exception being thrown when updateConfigTheme called before
  settingsCache fully populated.
- Remove unnecessary check in a conditional in the migration command
  builder.
2014-11-20 14:54:37 +00:00
Hugo Jobling
11a0f01e25 Make tokens URL safe
Base64 encoding causes some issues when the token is URL encoded
as the = symbol is not a valid URL character. We replace any =
symbols with a - as this is valid in a URL, but is guaranteed
not to appear in a base64 string. This fix ensures that Ghost
password resets work with mail providers such as Mailgun that
add their own tracking redirects

closes #3872 (for real this time)
2014-11-20 11:38:43 +00:00
Nazar Gargol
7656b030f6 Loads correct screen after author refreshes page in editor
closes #4415
- corrected logic around author check
- fixes a bug where it was possible to see editor for other author posts
2014-11-20 00:11:42 +01:00
Hannah Wolfe
0c38a839b0 Merge pull request #4469 from PaulAdamDavis/permalink-improvs
Improvements to the permalinks UI
2014-11-19 20:46:32 +00:00
Matt Enlow
409fff285e Merge pull request #4480 from PaulAdamDavis/update-tags-markup
Update Tags Management Markup
2014-11-19 09:30:42 -07:00
Paul Adam Davis
15dd8bdf89 Update Tags Management Markup
References #4248

- Updates the markup & classes for the tag management settings menu, as they've fallen behind now we've renamed the 'right-outlet' to 'settings-menu'
2014-11-19 16:07:11 +00:00
Hannah Wolfe
00b993de23 Version bump to 0.5.5 2014-11-19 10:34:17 +00:00
Jason Williams
c2c382cfd3 Merge pull request #4475 from ErisDS/revert-mysql
Reverting mysql to 2.1.1
2014-11-18 14:18:55 -06:00
Hannah Wolfe
1f17d5b2fd Reverting mysql to 2.1.1
- Unfortunately mysql has changed the way it handles the charset setting such that
it now causes encoding issues on many setups where 'utf8' is apparently not the
correct setting.
- We need to revert this upgrade until the issue is fixed or we have a way to handle
it nicely for our users.
2014-11-18 19:45:07 +00:00
Hannah Wolfe
45dda927f6 Version bump to 0.5.4 2014-11-18 14:06:39 +00:00
Sebastian Gierlinger
312a0fb8c4 Merge pull request #4474 from ErisDS/profilefix
Fixing logic for editors deleting themselves
2014-11-18 13:20:30 +01:00
Hannah Wolfe
7317259c89 Fixing logic for editors deleting themselves
no issue
- no user is allowed to delete their own account
2014-11-18 12:01:01 +00:00
Jason Williams
09bd71fcdb Merge pull request #4473 from ErisDS/editor-fix
Fix issue with editor and images
2014-11-17 16:08:52 -06:00
Hannah Wolfe
50f8b29bdd Fix issue with editor and images
ref #4459

- move initMarkers back to its original home
- add new test that a post with an image can be edited
2014-11-17 21:55:12 +00:00
Hannah Wolfe
9d2a907b38 Upgrading Casper to 1.1.2 2014-11-17 17:38:39 +00:00
Jason Williams
b1429f68e4 Merge pull request #4470 from TryGhost/revert-4448-master
Revert "Update PSM Date and Time to be Selectable Instead of Text"
2014-11-17 11:27:55 -06:00
Hannah Wolfe
c0155c208e Revert "Update PSM Date and Time to be Selectable Instead of Text" 2014-11-17 17:09:01 +00:00
Hannah Wolfe
1079ef8aeb Merge pull request #4466 from VictorVation/url-validation
Improve validation for user.website
2014-11-17 15:43:25 +00:00
Paul Adam Davis
3df6ab47f4 Improvements to the permalinks UI
Closes #4454

* Relies on Flexbox more heavily
* Adds JS to simulate how it should work
2014-11-17 15:37:32 +00:00
Jason Williams
da095ba551 Merge pull request #4436 from mattiascibien/issue-4232
Do not eagerly fetch relations in when finding all posts
2014-11-17 09:36:42 -06:00
Hannah Wolfe
611c22151a Merge pull request #4459 from novaugust/slow-save-errors#4400
Fix high latency autosave bug in editor.new
2014-11-17 15:18:12 +00:00
Hannah Wolfe
06544a0cb0 Merge pull request #4465 from jaswilli/subdir-image-url
Fix invalid image helper URLs when using a subdir.
2014-11-17 13:51:18 +00:00
Paul Davis
30874a6e71 Merge pull request #4448 from dbalders/master
Update PSM Date and Time to be Selectable Instead of Text
2014-11-17 11:24:10 +00:00
Victor Szeto
2e8e2ce367 Improve validation for user.website
closes #4444
- validate URL without protocol in server and client
- when saving url, add `http://` if the url doesn't have a protocol
2014-11-17 00:40:43 -05:00
Jason Williams
e499e5dda9 Fix invalid image helper URLs when using a subdir.
No Issue
- Strip sub-directory from image paths before passing to
  config.createUrl. Since images are stored with the sub-directory
  and createUrl builds a URL with the sub-directory the result
  would be a URL that contains the sub-directory twice.
2014-11-17 05:32:51 +00:00
Hannah Wolfe
f76088169a Merge pull request #4464 from jaswilli/whitespace
Clean up whitespace from #4349.
2014-11-16 20:15:34 +00:00
David Balderston
dff9751105 Update PSM Date to be Selectable 2014-11-16 11:59:09 -08:00
Jason Williams
cb544d7e81 Clean up whitespace from #4349. 2014-11-16 18:14:18 +00:00
Jason Williams
02d4b18863 Merge pull request #4463 from novaugust/dont-filter-self#4412
Add self to list of filtered users for editors
2014-11-16 12:11:56 -06:00
Matt Enlow
41bea61d4b Add self to list of filtered users for editors
Closes #4412
2014-11-16 09:36:37 -07:00
Matt Enlow
39bf4ed9eb Merge pull request #4349 from yurynix/master
Workaround for outlook, who doesn't like quoted-printable encoding
2014-11-16 09:28:49 -07:00
Matt Enlow
a9ce31ffe7 Fix high latency autosave bug in editor.new
Closes #4400
- Added focusCursorAtEnd property to codemirror component, to set the cursor at document end on load. Used for posts that have been edited
- centralized codemirror init code in component
2014-11-16 08:53:02 -07:00
Hannah Wolfe
226a6ff05e Merge pull request #4462 from jaswilli/gravatar
Fix gravatar request url.
2014-11-16 09:46:32 +00:00
Jason Williams
15fe121490 Fix gravatar request url.
Refs #4367
- 'http:' was accidentally left out when passing the gravatar
  URL into request, and request requires the full scheme to be present.
2014-11-16 04:33:33 +00:00
Jason Williams
2d213212e7 Merge pull request #4458 from ErisDS/showdown-update
Update showdown to showdown-ghost 0.3.4
2014-11-15 11:55:35 -06:00
Hannah Wolfe
d3f70e3b24 Update showdown to showdown-ghost 0.3.4
closes #2675

- update showdown to the newly published showdown-ghost module which has a fix for the lack of language support in codeblocks
2014-11-15 16:37:35 +00:00
Matt Enlow
360d77bebd Merge pull request #4457 from jaswilli/tags
Fix post tags input.
2014-11-15 08:37:07 -07:00
Paul Davis
2668a62209 Merge pull request #4456 from felixrieseberg/iss4432
Enable .fade-out animations in Safari
2014-11-15 11:03:45 +00:00
Jason Williams
215cc520cd Fix post tags input.
Closes #4378. Closes #4455.
- Trim whitespace from tag names on entry.
- Prevent duplicate tags in suggestion list.
- Fix unhandled exception that happens when backspace is pressed in
  an empty tags input box.
2014-11-15 04:45:36 +00:00
Felix Rieseberg
1a99abeee7 Enable .fade-out animations in Safari
Closes #4432

Random sidenote: Safari is a whiny non-animating wuss and figuring this
out took way longer than one would think.
2014-11-14 17:52:28 -08:00
John O'Nolan
3711fcb906 Merge pull request #4397 from PaulAdamDavis/cleanup-users
Cleanup User List styles
2014-11-14 14:57:31 +01:00
John O'Nolan
b1641d9559 Merge pull request #4391 from PaulAdamDavis/publish-transition
Faster dropdown animation for publish button
2014-11-14 14:57:06 +01:00
John O'Nolan
55357e03b7 Merge pull request #4433 from PaulAdamDavis/rm-ttf-eot-fonts
Remove .eot & .ttf fonts
2014-11-14 14:56:50 +01:00
John O'Nolan
1cdafae8d9 Merge pull request #4441 from PaulAdamDavis/cleanup-sass-components
Refactor component styles
2014-11-14 14:56:07 +01:00
Jason Williams
6e6c2d96fe Merge pull request #4447 from ErisDS/contrib-update
Update contribution guidelines
2014-11-13 15:02:02 -06:00