Commit Graph

4128 Commits

Author SHA1 Message Date
Sebastian Gierlinger
425c99423f Test improvements
refs #4309
- replace waitForResource with waitForSelector to prevent UI timing
issues.
2014-10-20 22:05:41 +02:00
Jason Williams
2369080572 Ensure slug generation has completed prior to save
Refs #4307 Refs #4259
- Make sure that a slug has been generated prior to the first
  save that occurs on a post.
- Wait on in-flight slug generation requests before saving.
2014-10-20 19:15:01 +00:00
Hannah Wolfe
7e123c8665 Merge pull request #4313 from jaswilli/issue-4309
Cancel pending auto-save if manual save occurs.
2014-10-20 22:11:28 +03:00
Jason Williams
6ef58a9ebe Peg ember-template-compiler to 1.7.0
Closes #4310
- Ember-template-compiler introduced a breaking change in
  1.9.0-alpha. We're using it via grunt-ember-templates.
2014-10-20 18:40:59 +00:00
Jason Williams
58fda8a9a4 Cancel pending auto-save if manual save occurs
Closes #4309
2014-10-20 18:40:45 +00:00
Matt Enlow
78d845d085 Merge pull request #4280 from ErisDS/gfm
Change autolinked URLs to output nice quotes
2014-10-20 07:47:09 -06:00
Hannah Wolfe
5199a007b5 frontend functional tests -> frontend route tests
no issue

- Some of the tests were duplicated and all of these tests are faster and easier to do with super test as we aren't testing interactions
- Introduced a new test util to toggle permalinks which allows us to test the different structures
- Using cheerio in route tests to test the HTML / XML output is well formed
2014-10-19 21:10:13 +02:00
Hannah Wolfe
5496d006a0 Upgrading Casper to 1.1.1 2014-10-18 21:45:55 +02:00
John O'Nolan
58d11de2dd Merge pull request #4307 from ErisDS/pr-4305
An update to PR 4305
2014-10-18 19:42:42 +02:00
Hannah Wolfe
fbccc36f77 More autosave improvements
issue #4305, issue #4259, issue #1413

- change new->edit transitionToRoute to be replaceRoute
- auto focus in the editor on transition to the edit route
- change the one-time autosave to happen on codemirror focusin instead of title focusout
- re-add removed tests, and reorder broken test
2014-10-18 17:27:05 +02:00
Jason Williams
b05da0f1e4 Auto-save changes
Refs #4259
- Auto-save new post when title loses focus.
- If a post has '(Untitled)' for a title, regenerate slugs
  on all title changes--same behavior as a new post that does
  not yet have a slug.
- Adjust some functional tests to handle the automatic transition
  from editor/new to editor/editor and the URL changes that go
  along with it.
2014-10-17 22:52:43 +00:00
Hannah Wolfe
a27cadd0bd Merge pull request #4302 from jaswilli/issue-4301
Truncate with ellipsis when metatitle > 70 chars
2014-10-18 01:07:31 +03:00
John O'Nolan
8da76215ed Merge pull request #4303 from ErisDS/pr-4259
Autosave additions
2014-10-17 23:59:19 +02:00
Sebastian Gierlinger
42d9a4f640 Merge pull request #4304 from jillesme/master
Set link [prev/next] tag to https if urlSSL is set.
2014-10-17 22:08:55 +02:00
Jilles Soeters
090dc297eb Set link[prev/next] tag to https if urlSSL is set
The <link> tag for next/previous in the head doesn't update when the normal URL and the urlSSL change. This fixes that bug.

Fixes #4266
2014-10-17 20:27:01 +01:00
Jason Williams
34142c9834 Truncate metatitle and url when > 70 characters
Closes #4301
2014-10-17 17:15:36 +00:00
Hannah Wolfe
af4e1809e8 Autosave additions
issue #4259, issue #1413

- decrease timeout by 1 sec
- really actually turn off nprogress
2014-10-17 18:39:39 +02:00
Hannah Wolfe
abd6266c73 Merge pull request #4282 from cobbspur/twitter
Adds Twitter cards to {{ghost_head}}
2014-10-17 19:36:10 +03:00
Hannah Wolfe
6e3fa3a2cf Merge pull request #4259 from novaugust/auto-save
Auto save draft posts
2014-10-17 19:04:07 +03:00
cobbspur
23e98aa8dc Adds twitter cards and schema.org to {{ghost_head}}
closes #3900

- Adds twitter cards to ghost head helper
- Adds schema json information
- Adds test with null values for post image and cover image
- Adds test for privacy flag
- Adds test for the case of no tags
- Updates test to check for twitter card and schema data
- Updates privacy.md
- Fixes issue with image urls that are linked by url rather than uploaded
2014-10-17 17:26:14 +02:00
Jason Williams
764dfbb11f Merge pull request #4297 from PaulAdamDavis/rm-console-error
Remove console.error from shortcuts-route mixin
2014-10-17 09:41:54 -05:00
Jason Williams
d45f8c18a7 Merge pull request #4300 from ErisDS/mail-test-temp
Workaround / skip & clean Mail API tests
2014-10-17 09:38:56 -05:00
Hannah Wolfe
fd3c4c9c4d Workaround / skip & clean Mail API tests
ref #4277

- mail API tests are failing consistently locally
- skip the failing tests
- restructure existing tests to match patterns from other tests
2014-10-17 16:18:57 +02:00
John O'Nolan
185391490f Merge pull request #4299 from PaulAdamDavis/tag-bar-shadow
Remove shadow from right of tag bar
2014-10-17 16:00:50 +02:00
Paul Adam Davis
60db328d56 Remove shadow from right of tag bar
No issue

- Completely removes the shadow from the right side of the tag bar
2014-10-17 14:59:02 +01:00
John O'Nolan
fed28449c6 Merge pull request #4298 from PaulAdamDavis/speedier-user-menu-animations
Speed up user menu animations
2014-10-17 15:31:10 +02:00
Paul Adam Davis
b48a5c38f7 Remove hover transition inside dropdowns
No issue

- Removes the transition on hover/focus states for items/links in dropdowns
2014-10-17 14:27:50 +01:00
John O'Nolan
e13ad9ac66 Fix alignment on burger menu button 2014-10-17 15:19:16 +02:00
Paul Adam Davis
13f8cc61eb Remove console.error from shortcuts-route mixing
No issue

Safari (iOS 8 & OS X Yosemite) throws a massive hissy fit about `console.error` and goes on to break all the things.
This PR simply removes it.
2014-10-17 13:41:36 +01:00
Paul Adam Davis
d9017626a7 Speed up user menu animations
No issue

- Speeds up the animation duration when the user menu opens
- Effectively removes the user menu closing animation
2014-10-17 13:36:23 +01:00
Hannah Wolfe
ddb6230d4e Merge pull request #4289 from jaswilli/issue-4239
Show all invited users and infinite scroll active
2014-10-17 15:33:32 +03:00
John O'Nolan
a45157bb12 Merge pull request #4296 from PaulAdamDavis/update-libsass
Update to use libsass 3.0
2014-10-17 13:32:34 +02:00
Paul Adam Davis
f5b48add70 Update to use libsass 3.0
No issue

This doesn't give us any advantages at the moment, but is less buggy (in edge cases) and ;gets us be more awesome in the future.

Look at https://github.com/sass/libsass/releases/tag/3.0 to see what's in Libsass 3.0
2014-10-17 11:55:02 +01:00
Jason Williams
52a1b22070 Show all invited users and infinite scroll active
Closes #4239
2014-10-16 20:09:03 +00:00
Hannah Wolfe
d44a97405b Merge pull request #4220 from felixrieseberg/iss4211
Shorter user slugs (if possible)
2014-10-16 21:23:50 +03:00
Matt Enlow
d38e22d32a Merge pull request #4288 from jaswilli/psm-labels
Fix up labels for controls in post settings menu
2014-10-16 10:31:50 -06:00
Jason Williams
1c3bc7e50d Fix up labels for controls in post settings menu
No issue
2014-10-16 15:47:03 +00:00
Matt Enlow
dc426e94b3 Merge pull request #4283 from ErisDS/split-helpers
Refactor helpers & tests into individual files
2014-10-14 17:25:46 -06:00
Hannah Wolfe
2c6d43a0c0 Refactor helpers & tests into individual files
no issue

- Split theme helpers into individual files for each
- Do the same for tests
- Have utils to share some things between them
- Move assetHash onto config
2014-10-14 22:52:40 +02:00
Jason Williams
3af0252dbc Merge pull request #4281 from novaugust/iss4279
Use DS.Model#eachAttribute in editor-base-controller
2014-10-14 14:04:14 -05:00
Matt Enlow
4354458b11 Use DS.Model#eachAttribute in editor-base-controller
Closes #4279
2014-10-14 12:29:02 -06:00
John O'Nolan
d36c6fb6ae Merge pull request #4276 from PaulAdamDavis/object-list-users
Rename .object-list to .user-list
2014-10-14 12:03:29 +02:00
Hannah Wolfe
6d5155015b Change autolinked URLs to output nice quotes
ref #4257

- This is a follow on from #4257 where I updated the codestyle.
- We were outputting escaped single quotes when double quotes would be much nicer.
- Changes the HTML output from our markdown conversion (non-breaking change)
- Updated tests to match the new output
2014-10-14 11:09:06 +02:00
Paul Adam Davis
028b878721 Rename .object-list to .user-list
No issue
References todo comment in [users.scss](91c07e37bf/core/client/assets/sass/layouts/users.scss (L6-L7))

- Renames anything starting with `.object-list` to `.user-list`
- Adjusts tests to match
2014-10-13 22:43:03 +01:00
Matt Enlow
a9fb2af7ea Autosave Draft posts
Ref #1413
- If the user stops typing for 5 seconds, a "typingPause" action is sent from the GhCodemirrorComponent
- Editor-base-controller ties the "typingPause" action to its "autosave"
- If a post is being saved and does not have a title, the title is set to "(Untitled)"
- Cleanup editor base controller property dependencies and code
2014-10-13 15:28:27 -06:00
Hannah Wolfe
3e49fb3034 Merge pull request #4274 from netputer/ignore-subl
Ignore Sublime Text project files
2014-10-14 00:25:26 +03:00
NetPuter
15acfc87d1 Ignore Sublime Text project files 2014-10-14 00:22:34 +08:00
Matt Enlow
f518782c3c Merge pull request #4269 from javorszky/iss4189
Abstracting away the deprecatedItems
2014-10-13 09:28:14 -06:00
Matt Enlow
1d3cd53ed2 Merge pull request #4271 from felixrieseberg/iss4211-emailslug
Accept Invitation: Generate Slug from Name
2014-10-13 09:14:55 -06:00
Felix Rieseberg
7bb38f8c7b Accept Invitation: Generate Slug from Name
No issue, but ref #4211
2014-10-13 08:35:08 -04:00