Commit Graph

3331 Commits

Author SHA1 Message Date
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
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
Felix Rieseberg
4bc5f91efc PSM: Reset 'Published Date'
Closes #4557
- The underlying issue is that the PSM is already loaded when Ember
routes from an existing post to a new post. Instead of resetting the
‘Published Date’ value manually (with jQuery), I’m using Ember’s
computed property setter to ‘refresh’ the cache for that property. I
believe that this Ember solution is better than manually going in and
resetting it with jQuery.
2014-12-01 11:57:47 -08:00
cobbspur
edfa74f349 Move ugly debug to Settings Labs
closes #4534

- Adds new Labs route
- Wires route in settings page
- Move and rename debug templates and logic to labs
- Redirect /debug to settings/labs
2014-12-01 19:19:08 +00:00
Hannah Wolfe
c06e649ab1 Merge pull request #4554 from sebgie/issue#3872
URL safe base64 encoding
2014-12-01 16:56:14 +00:00
Paul Adam Davis
21991758aa Cleanup layout Sass
Continues on from #4441

- Reformats the layout Sass files (comments, white space)
- DRY up small chunks of CSS to make it more comprehensible
2014-12-01 16:06:53 +00:00
Sebastian Gierlinger
9ddabffa10 URL safe base64 encoding
closes #3872
- updated base64 escaping to respect + and \
- updated base64 escaping to remove = during transport
- updated tests
2014-12-01 16:59:49 +01:00
John O'Nolan
0d54fc88c1 Introduce sitemap XSL template
Based on Yoast's All in One SEO plugin for WordPress implementation
2014-12-01 16:10:14 +02:00
Hannah Wolfe
1e4a3cb204 Merge pull request #4551 from jaswilli/editor-401-modal
Do not display "auth failed" modal on clean posts.
2014-12-01 11:04:59 +00:00
Hannah Wolfe
aa44743c67 Merge pull request #4531 from Gargol/issue-4485
Cleans up HTML data attributes on body in default.hbs
2014-12-01 10:54:19 +00:00
Hannah Wolfe
2088fed5f7 Merge pull request #4547 from jaswilli/post-saving
Prevent silent failures and recover after error.
2014-12-01 10:46:28 +00:00
Paul Adam Davis
a2e550f594 Allow notifications to sit over the nav bar
Closes #4379

- Adjusts the `.viewport` `z-index` propetty to allow notificatons to sit over the nav bar

Looks like a weird fix, but inheritence of z-index was the issue here.
2014-12-01 10:31:29 +00:00
Hannah Wolfe
d2d9e4aea2 Merge pull request #4348 from jgable/sitemaps
Generate sitemap.xml
2014-12-01 09:28:14 +00:00
Jacob Gable
fe7e4311f1 Update getting started link
No Issue

Fixed link anchor address that was changed
2014-11-30 20:52:37 -08:00
zethraeus
bfe91b5769 Update downsize node module. Small test updates.
issue #4017
- downsize 0.0.5 -> 0.0.8
- downsize is now better at punctuation, update {{content}} and {{excerpt}} tests appropriately.

Conflicts:
	package.json
2014-11-30 20:49:36 -08:00
Jason Williams
df4e0349ca Do not display "auth failed" modal on clean posts.
Refs #4543
- Check EditorController.isDirty before displaying the
  authorization failed modal dialog.  This prevents the modal
  appearing immediately upon entering the editor in cases where
  auth has failed prior to opening the editor.
2014-11-30 20:53:59 +00:00
Jason Williams
0a7d161822 Prevent silent failures and recover after error.
Refs #4543
- Alway return model out of save handler so sub-classes which
  call this._super() on save have a model on success and failure.
- Always return resolved promise out of post slug generator.
- Test the errors object in the error notification helper to avoid
  throwing an unhandled exception and silently failing.
- Consider a post model "dirty" if it is in an error state.
2014-11-30 20:38:24 +00:00
Jacob Gable
2cfa18475a Generate sitemap files
Closes #623

- Add basic init and eventing scaffold
- Add sitemap-index.xml generation
- Broke out generators to individual files, added request handler
- Add page, author and tag xml files; add index mapping
- Add SiteMapManager unit tests
- Add Generators tests
- Cache invalidation headers for sitemap-*.xml
- Redirect sitemap.xml to index and rename to sitemap-index
- Handle page convert and publish/draft changes
- Add very basic functional test for route existence
- Add cache headers to sitemap routes
2014-11-30 10:49:45 -08:00
Felix Rieseberg
2ef0861d37 Use non-deprecated moment.substract()
Closes #4545
- Go with subtract(value, string) instead of subtract(string, value)
2014-11-29 17:58:55 -08:00
Nazar Gargol
df5a598718 Cleans up HTML data attributes on body in default.hbs
closes #4485

- removes data attributes used on body in default.hbs
- introduces new way to generate configuration through meta tags
- config initializer consumes configurations from the meta tags using parser
- moves blog_title helper/value to be a property in a configuration api
2014-11-29 17:09:43 +01:00
Hannah Wolfe
4f94c77634 Merge pull request #4542 from jaswilli/misc-cleanup
Miscellaneous client cleanup
2014-11-29 16:05:37 +00:00
Hannah Wolfe
423f0031f6 Merge pull request #4538 from jaswilli/config
Add Ghost version to config object.
2014-11-29 16:05:04 +00:00
John O'Nolan
f6e7bcc089 Merge pull request #4533 from PaulAdamDavis/logo-no-hover-bg
Swap nav item & logo style order
2014-11-29 16:54:14 +01:00
John O'Nolan
e1743e3501 Merge pull request #4536 from PaulAdamDavis/labs-icon
Add Labs, Nav & Grab icons
2014-11-29 16:53:52 +01:00
Jason Williams
90d12fd990 Miscellaneous client cleanup
No issue
- Consolidate extension of Ember.Router.
- Remove unneeded local jshint flags and '_' as a global.
- Cleanup client README.md.
- Fix error message.
2014-11-29 02:42:08 +00:00
Jason Williams
86cb690474 Merge pull request #4518 from ErisDS/rss-fixes
Change RSS content type & use absolute URL in meta
2014-11-28 13:07:07 -06:00
Hannah Wolfe
6f0bca8d57 Merge pull request #4522 from felixrieseberg/iss4487
Dynamic Titles in Ghost Admin
2014-11-28 19:06:44 +00:00
Jason Williams
1d562c8914 Add Ghost version to config object.
No Issue
- Use Ghost version value that is already loaded instead of
  reading package.json from the filesystem and parsing it on
  every call into the configuration API.
2014-11-28 18:08:50 +00:00
Paul Adam Davis
9c66f236a2 Add Labs, Nav & Grab icons
References #4535, #4534

- Add an Atom icon for Labs page
- Adds Compass and Grab icons for the Navigation page
2014-11-28 15:29:29 +00:00
Paul Adam Davis
08afada499 Swap nav item & logo style order
Closes #4532

- Swaps the order of nav-item and .ghost-logo styles, as .ghost-logo was being overwritten by .nav-item, allowing a hover state
2014-11-28 10:21:14 +00:00
Felix Rieseberg
7c4381c812 Dynamic Titles in Ghost Admin
- Every route can set a title token that is combined with the blog’s
title, resulting in titles like ‘Content - Test Blog’.
- Subroutes are supported (‘Settings - General - Test Blog’)
- The blog’s name is applied to and taken from the `config` object to
spare Ember a REST call via `store.find(‘settings’)`.
- Tests have been changed to test for the new titles.
- The initially proposed solution
(https://github.com/paddle8/ember-document-title) doesn’t play nice
with EAK, which is why I went with this solution
(https://gist.github.com/machty/8413411) by Ember.JS core dev @Machty.
2014-11-27 15:41:00 -08:00
Robert Jackson
ef71d932f3
Add initial client unit test. 2014-11-26 23:20:50 -05:00
Hannah Wolfe
f4388712f8 Merge pull request #4502 from felixrieseberg/iss4431
Ensure Post Image Uploader Reset
2014-11-25 19:07:32 +00:00
Jason Williams
50cb92d4fd Merge pull request #4512 from sanddudu/patch-3
Fix gravatarLookup method
2014-11-25 09:56:50 -06:00
sanddudu
904727a927 Fix gravatarLookup method
Closes #4511
- Add missing "return"
- Fix error handling
2014-11-25 21:30:53 +08:00
Hannah Wolfe
31ae0c6923 Change RSS content type & use absolute URL in meta
no issue

- changes the content type for the RSS feeds from text/xml to
  application/rss+xml
- changes the link rel=alternate tag to use an absolute URL for the feed
  in the blog meta data
2014-11-24 22:33:49 +00:00
Felix Rieseberg
ce9d590f34 Ensure Post Image Uploader Reset
Closes #4431

- The PSM does not reset on a transition from editor (existing post) to
editor (new post). If the existing post had a cover image, the image
uploader would not be reset during the transition and appear slightly
broken in the editor for the new post.
- In this PR: A reference to the uploader is saved, allowing the route
for editor/new to instruct the PSM controller to have the uploader
reset.
2014-11-24 09:43:17 -08:00
Jason Williams
72af4ee4c1 Merge pull request #4514 from ErisDS/subdir-tests
Adding comprehensive subdirectory route tests
2014-11-24 11:17:21 -06:00
Hannah Wolfe
05a400384d Merge pull request #4513 from PaulAdamDavis/close-tag-settings-on-exit
Close tag settings menu on transition
2014-11-24 16:27:15 +00:00
Hannah Wolfe
7126c10a04 Merge pull request #4515 from PaulAdamDavis/tag-click-area
Larger edit tag hit area
2014-11-24 15:56:54 +00:00
Hannah Wolfe
af7bbb83e4 Merge pull request #4091 from hswolff/remove-a-cd
Removes objectTypeModelMap to reduce circular dependency.
2014-11-24 11:59:07 +00:00
Paul Adam Davis
7b1cfce2e9 Larger edit tag hit area
Closes #4505

- Increases the size of hit area on tags settings pages
- Comments out the styles for nested tags as these will need revisiting
2014-11-24 11:08:02 +00:00
Hannah Wolfe
cb726d57ef Adding comprehensive subdirectory route tests
closes #2230, refs #4477, #4476

- Test that subdirectories route correctly no matter how they're specified
2014-11-24 08:28:34 +00:00
Paul Adam Davis
8373d1d5b0 Close tag settings menu on transition
Closes #4504

- Adds a `willTransition` action that closes the tag settings menu when transitioning to another page
2014-11-23 21:17:29 +00:00
Hannah Wolfe
aa58aef433 Merge pull request #4501 from jaswilli/routes
Fix up single post routes.
2014-11-23 21:15:23 +00:00
Hannah Wolfe
09658f8377 Merge pull request #4489 from novaugust/tags-client-basics
Tags management api hookup
2014-11-22 10:57:46 +00:00
Hannah Wolfe
62eb0b96e5 Merge pull request #4482 from harrykiselev/patch-1
Posts view: some DRY.
2014-11-22 10:17:10 +00:00
Matt Enlow
bd0f5e0c5b Tags management api hookup
Ref #4248
- Added tags settings menu
- Added basic new, edit, delete, and save actions
- Show actionable edit buttons dynamically based on tag state
- Infinite scroll
- Closing the tag settings menu rollbacks your changes
- Removed not-yet-implementable code
2014-11-21 16:24:28 -07:00
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
Harry V. Kiselev
5016db85a6 Posts view: some DRY. 2014-11-20 00:00:10 +04: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
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
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
c0155c208e Revert "Update PSM Date and Time to be Selectable Instead of Text" 2014-11-17 17:09:01 +00:00
Matt Enlow
4f3a45552c Scroll post-item-view into view
Closes #3998
- Scroll the active post into view on page load
- If the active post changes and the newly active post is offscreen, scroll it into the middle of the screen
2014-11-17 09:50:49 -07: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
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
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
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
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
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
Matt Enlow
68b93cf35f Merge pull request #4438 from Gargol/4414
Adds 'save' shortcut to settings screens
2014-11-13 13:21:25 -07:00
Nazar Gargol
a9cb2efe8c Adds 'save' shortcut to settings screens
closes #4414
- adds `ctrl/cmd+s` shortcuts to `settings/general` screen
- adds `ctrl/cmd+s` shortcuts to `settings/user/xx` screen
- extracts `ctrlOrCmd` variable to separate module for reuse
2014-11-13 19:36:31 +01:00
Sebastian Gierlinger
819a978192 Merge pull request #4406 from RaoHai/tag-endpoints
full BREAD Tag endpoints and Tag api tests
2014-11-13 19:25:36 +01:00
Paul Adam Davis
f8282ad22f Refactor component styles
Continues on from #4401

- Reformats the Sass to match our new style (property order, comments, & white space)
- Changes the modal container to a class from an ID (and adjust tests)
2014-11-13 11:28:22 +00:00
Mattias Cibien
8997cd0ffc Do not eagerly fetch relations in when finding all posts
fixes #4232
- do not fetch tags and fields relations in post.findAll()
2014-11-13 11:01:28 +01:00
Jason Williams
a2e670cb0b Merge pull request #4320 from felixrieseberg/iss4235
Work with case-sensitive email addresses
2014-11-12 19:35:38 -06:00
Felix Rieseberg
af1d2201b0 Work with case-sensitive email addresses
Closes #4235
2014-11-12 17:18:53 -08:00
surgesoft
d9643ed2f4 full BREAD Tag endpoints and Tag api tests
close #4263
- implemented full BREAD Tag API
- deleting a tag will also detach its relations to posts
- tests of Tag API
2014-11-13 00:44:36 +08:00
Jason Williams
9ca6a816aa Drop socket reference on close.
Closes #1976
- Prevent the unbounded memory growth caused by maintaining
  a reference to the socket object that is created on every connection.
2014-11-11 19:23:07 +00:00
Paul Adam Davis
778e05045c Remove .eot & .ttf fonts
No issue

According to [caniuse](http://caniuse.com/#feat=woff), all the browsers we support (last 2 versions of major browsers) support the `.woff` font format. It's actually what pretty much all browsers will serve if its offered anyway.

This PR removes the .eot and .ttf font formats.

SVG remains as its the base file we use to add new icons & convert into other formats. It is not referenced anywhere.
2014-11-11 15:23:34 +00:00
Jaiden Mispy
31eea94b18 Add footnotes extension to showdown
refs 1318
- based on Markdown Extra https://michelf.ca/projects/php-markdown/extra/
- allows [^n] for automatic numbering based on sequence
2014-11-11 19:24:04 +11:00
Jason Williams
0b35df49e4 Merge pull request #4428 from felixrieseberg/iss4411
Reset slugValue when the user changes
2014-11-10 15:51:25 -06:00
Felix Rieseberg
3b3d5f85bc Reset slugValue when the user changes
Closes #4411
- Previously, saving the user’s slug would lead to the slug value being
‘stuck’ on that saved value, even if one navigated to a different
user’s profile settings.
2014-11-10 13:31:11 -08:00
David Balderston
d6863ae306 Change Numeric Keyboard to Keypad
Added pattern to html to make the keyboard a keypad

Closes #4426

    Added pattern="[0-9]*" to the postsPerPage input on general.hbs
2014-11-10 12:57:24 -08:00
Jason Williams
6c579f6a6f Remove image related text from meta description.
Closes #4408
2014-11-07 05:22:34 +00:00
Jason Williams
3b059d5829 Merge pull request #4404 from Haegin/add-sigterm-handler
Adds SIGTERM handling
2014-11-05 11:11:11 -06:00
Harry Mills
edef05339e Adds SIGTERM handling
closes #4403
- adds SIGTERM handler to match SIGINT handler
2014-11-05 15:38:35 +00:00
Jilles Soeters
71c6b33385 Remove hash after the url when clicking Meta Data
Removes that hash appended to the URL when clicking Meta Data in post settings.

Closes #4386

When clicking 'Meta Data' the click event appends a # to the URL. I replaced the a with a button element so that won't happen anymore. The button has a type attribute because it will try and submit the form without it. Added text-align: left to the navlist button because the button centers it's content by default.
2014-11-05 14:17:52 +00:00
Paul Adam Davis
77e1b4c130 Update Patterns Sass Formatting
Continues on from #4342

- Reformats the Sass to match our new style (property order, comments, & white space)
2014-11-05 10:24:38 +00:00
Jason Williams
d5f13e1510 Merge pull request #4384 from meowtec/fix-error-log
fix bug in which `logError` could not resolve an err without `message`
2014-11-04 23:20:47 -06:00
meowtec
d42703dd9f Correct logError to log err which has undefined message
closes #4384
 - if err is `object` && `err.message` isNOT `string`, let err = `An unknown error occurred.`
2014-11-05 11:03:33 +08:00
Paul Adam Davis
eef6fccca2 Cleanup User List styles
No issue

* Cleans up the Sass a bit
* Uses the same basic markup as other settings pages. Before, we had extra elements which required 'reseting'
2014-11-04 22:00:32 +00:00
Matt Enlow
ef448a0f85 Merge pull request #4273 from cobbspur/tags
Create Tags Management Stubs for Ember
2014-11-04 10:30:00 -07:00
cobbspur
69d4852a6d Create Tags Management Stubs for Ember
closes #4260

- Adds "tags" route inside of the settings routes.
- Adds this route to router.js
- Links the route from the settings.hbs template
- Adds demo tags html in tag.hbs template
- Adds flag for tagsUI
2014-11-04 15:50:41 +00:00
Paul Adam Davis
660c9064eb Faster dropdown animation for publish button
Closes #4390

- Apply same animation timing from the nav bar dropdown to the publish button dropdown
2014-11-04 12:59:08 +00:00
Matt Enlow
b5af691a61 Save meta title and meta desc on post save
Closes #4369
- Renamed `editor-route-base` -> `editor-base-route` to bring it in alignment with the view and controller mixins
- Consolidated editor route code into editor-base-route
- Removed `serialize` from EditorEditRoute, as it reimplemented the ember default
2014-11-03 21:11:04 -07:00
Matt Enlow
8d96cb2f67 Merge pull request #4375 from DaveRobson/#4253
Editor must be focused before allowing certain keyboard shortcuts.
2014-11-03 10:30:30 -07:00
Hannah Wolfe
67e33a65e8 Merge pull request #4317 from cobbspur/image
Created image helper with absolute url option
2014-11-03 15:21:35 +00:00
Hannah Wolfe
fe659117bc Merge pull request #4155 from jgable/importDuplicates
Remove duplicate posts and tags on import
2014-11-03 15:03:44 +00:00
David Robson
8bcfd16f19 Editor must be focused before allowing certain keyboard shortcuts.
closes #4253
- checked for the CodeMirror-focused class on the CodeMirror div
- used length to determine whether CodeMirror-focused has been added
- determines whether the editor has been focused on
2014-11-02 09:50:42 +00:00
Hannah Wolfe
8df98b4f7d Merge pull request #4371 from jaswilli/fork-timeout
Improve handling of forked processes in tests.
2014-11-01 11:02:39 +00:00
Jason Williams
817b8d2906 Improve handling of forked processes in tests.
Closes #4277
- Increase the wait time for forked processes to spin up.
- If we give up on waiting for a forked process, send it a
  kill signal so if it comes alive later it doesn't sit in the
  background forever.
- Fail fast if test setup fails instead of waiting for the timeout.
2014-10-31 16:00:35 +00:00
Jason Williams
8249d88cdd Timeout after two seconds on gravatar lookup.
Refs #4277
- Switch from the built-in http module to request and set
  a timeout of 2 seconds on gravatar lookup requests.
- Move request package from devDependencies to dependencies.
2014-10-30 20:01:11 +00:00
Jason Williams
2cfab3565f Handle null/undefined value in test assertion.
No Issue.
- Test is not guaranteed to get a setting that has a "value"
  so we need to handle the case where it's null or undefined.
2014-10-30 15:40:23 +00:00
Matt Enlow
2bd129fb81 Merge pull request #4361 from jaswilli/ember18
Update Ember to 1.8.0.
2014-10-30 08:26:26 -06:00
Paul Adam Davis
be976485ad Better comments
Also introduces a new format of file opening comment, to outline what happens and a contents list.
2014-10-30 12:40:50 +00:00
Paul Adam Davis
d314727506 Var cleanup 2014-10-30 12:40:12 +00:00
Paul Adam Davis
4ae81799c3 File structure cleanup 2014-10-30 12:39:31 +00:00
Jason Williams
de63f56f68 Update Ember to 1.8.0.
Closes #4316
- Ember@1.8.0.
- Ember-Data@1.0.0-beta.11.
- Change templates to use new Ember.Select syntax and other minor
  cleanup.
- Adjust functional tests.
2014-10-30 06:01:22 +00:00
Matt Enlow
a2d37ce265 Redirect unauthorized users to signin from debug
Closes #4357
- Adds a call to `this._super()` in DebugRoute#beforeModel to hit the ember simpleauth mixin's beforemodel hook
2014-10-29 14:30:40 -06:00
Matt Enlow
344f3080df Consolidate SimpleAuth.AuthenticatedRouteMixin into AuthenticatedRoute
No issue
2014-10-28 08:29:42 -06:00
Yury Michurin
198017d1a7 Workaround for outlook, who doesn't like quoted-printable encoding
For example, outlook 2013 plus would not interpert the following html
(encoded via quoted-printable encoding):
<a href=3D=22http://engineering=
.como.com/ghost/signup/MTQxNTcwNzM5MTYwN3x5dXJ5QG5peC5jby5pbHx3NVBmUUN4RGZr=
cGhKc3FPOElybXNZNWtzR0FMTU9tRFI5UlNyRWQ4SGJZPQ=3D=3D/=22 style=3D=22color:
=

The workournd forces node-mailer to user base64, which outlook understands
well.
2014-10-28 15:03:32 +02:00
cobbspur
4a56d10c86 Created image helper with absolute url option
closes #4231

- Adds {{image}} helper
- Adds image_spec test unit
- Updated {{ghost_head}} to use image helper
2014-10-28 13:14:41 +02:00
Hannah Wolfe
bc728c3e62 Merge pull request #4285 from novaugust/read-draft-shortcuts
Go between post list / post content with keyboard
2014-10-28 13:02:17 +02:00
Hannah Wolfe
dbf055907a Merge pull request #4338 from felixrieseberg/iss3858
Enable :author as permalink option
2014-10-28 12:58:39 +02:00
Harry Wolff
6cbcfac72b Removes objectTypeModelMap to reduce circular dependency.
refs #2455

- also note areas where we still have lazy loading of modules.
- moves one lazy loading to non-lazy require.
2014-10-27 20:48:22 -04:00
Jacob Gable
5de5cfe7a1 Remove duplicate posts and tags on import
Issue #806

- Modify sanitize to check for duplicate posts and tags
- Update posts_tags when referencing removed duplicate tags
- Return both data and problems from importData
- Add tests for duplicate posts and tags with fixtures
2014-10-27 18:20:32 -05:00
Paul Adam Davis
17d662bff9 Use gh-path for nav bar dfallback avatar
Closes #4344

- Uses the `{{gh-path}}` helper to make the fellback avatar src work when Ghost is in a sub-directory
2014-10-27 16:26:02 +00:00
John O'Nolan
edef2ec941 Merge pull request #4341 from PaulAdamDavis/fix-floating-scroll-shadows
Fix floating header vertical shadows glitch
2014-10-27 16:59:42 +01:00
Hannah Wolfe
2d48c2b695 Merge pull request #4343 from jaswilli/gh-paths
Fix argument handling in gh-path helper.
2014-10-27 17:45:34 +02:00
Matt Enlow
d8f858e264 Go between post list / post content with keyboard
Closes #3940
- Pushing left/right changes the "focus" of the posts screen to the list / content, respectively
- Once one of these has been focused, up/down keyboards work on that section in particular
- By default, the post list is selected
- Using the keyboard to focus one of the two makes it go "poof" to let you know you changed stuff
2014-10-27 09:41:13 -06:00
Hannah Wolfe
644f922510 Merge pull request #4324 from jaswilli/timed-save
Auto-save post at 60 second intervals
2014-10-27 17:38:54 +02:00
Hannah Wolfe
6db2973f0f Merge pull request #4337 from jaswilli/title
Fix up title/slug handling on posts.
2014-10-27 17:27:11 +02:00
Hannah Wolfe
c0375d4087 Merge pull request #4332 from cobbspur/escape
Escape meta title and description
2014-10-27 17:03:20 +02:00
Jason Williams
d810fe1ca7 Fix argument handling in gh-path helper.
No Issue
- Make helper behave as stated in description when variable
  number of arguments are passed in.
- Handle leading and trailing slashes when creating output
  url partial.
2014-10-27 02:17:07 +00:00
Paul Adam Davis
074c12a763 Swap 2 box shadows for 1 radial gradient
Closes #4340

Fixes a UI glitch where the vertical parts of a box shadow would show.
This fix changes those box shadows for 1 radial gradient, where only 5px of it is shown. No more vertical shadows.
2014-10-26 17:35:54 +00:00
Felix Rieseberg
e9c22ea580 Include post title in 'delete post' modal
Closes #2971
2014-10-25 18:37:18 -07:00
Felix Rieseberg
c7ad09aace Enable :author as permalink option
Closes #3858
- urlPathForPost is now aware of the author’s slug, allowing for the
permalink setting to use :author
- Frontend controller only renders posts that have the specified
author, if one is given
- Extensive tests included
2014-10-25 18:15:24 -07:00
Jason Williams
e046f4a536 Fix up title/slug handling on posts.
Refs #4323
- Remove any titleScratch observers that may be hanging
  around on the post-settings-menu controller from previous posts.
- Change logic around when to regenerate slugs on posts that are
  "(Untitled)" so that slug generation continues after slug no
  longer resembles "untitled."
2014-10-25 23:35:50 +00:00
Hannah Wolfe
20fbcc1e59 Merge pull request #4335 from jaswilli/jscs
Enable JSCS checking on client.
2014-10-25 19:44:16 +03:00
Jason Williams
0f17378b26 Enable JSCS checking on client.
Refs #4001
- grunt-jscs@0.8.1 which provides ES6 support.
2014-10-25 16:13:04 +00:00
Hannah Wolfe
a5d4a9cd2c Merge pull request #4329 from jaswilli/remove-lodash-requirement
Remove lodash from admin client (updates PR #3491)
2014-10-25 12:26:18 +03:00
cobbspur
5aac6d6d69 Escapes strings
closes #4328

- Escapes metaTitle, metaDescription, blog url, blog title, tags
- Updates tests
- Adds test for metaTitle and metaDescription with double quotes
2014-10-24 19:22:37 +02:00
Jason Williams
9aa13330ba Fix up PR #3491, remove lodash from admin
Refs #3491
2014-10-23 19:44:53 +00:00
John O'Nolan
16e9098906 Merge pull request #4217 from PaulAdamDavis/permalinks-ui
[WIP] Custom Permalink UI
2014-10-23 21:06:33 +02:00
Robert Jackson
a3456b7e1c Remove lodash from admin client.
* Adds `bind`, `isFinite`, and `isNumber` utility functions from lodash.
* Use new util funtions instead of lodash throughout the codebase.
* Remove lodash from vendor builds.
2014-10-23 18:27:09 +00:00
Hannah Wolfe
81dd5600b6 Merge pull request #4323 from jaswilli/issue-4121
Change slug and date placeholders to values
2014-10-23 21:11:03 +03:00
Paul Adam Davis
d999ce555d Custom permalink UI
References #3920
2014-10-23 12:12:48 +01:00
Leonard Camacho
a6a02f31ad Fix no show of default Twitter card
No issue
- change default Twitter card from content to summary
2014-10-22 20:49:06 -04:30
Jason Williams
9a62a38440 Change slug and date placeholders to values
Closes #4121
2014-10-22 16:49:13 +00:00
Jason Williams
5de2cb4471 Auto-save post at 60 second intervals
Refs #4259
- Auto-save the post at least once in any 60 second interval where
  there have been changes.
2014-10-22 15:26:27 +00:00
Paul Adam Davis
a32e5a7135 Move unrelated editor cover code to the right place
Closes #4106

Moved the `.editor-close` styles to `post-settings-menu.scss`
2014-10-21 13:14:07 +01:00
John O'Nolan
9ec4b35163 Merge pull request #4213 from PaulAdamDavis/new-popovers
Implement new popovers
2014-10-21 14:02:17 +02:00
John O'Nolan
5e2d9c47fb Merge pull request #4287 from PaulAdamDavis/tag-input-ux
Tag input UX improvements
2014-10-21 14:01:40 +02:00
Hannah Wolfe
5db1ede28c Merge pull request #4308 from jaswilli/slugs-save
Ensure slug generation has completed prior to save
2014-10-21 11:40:08 +03:00
Paul Adam Davis
6fd27796f4 Implement popovers 2014-10-20 22:09:45 +01:00
Paul Adam Davis
89ee30becd Tag input UX improvements
Closes #4105

- Turns the tag icon white when input is focused.
- Focuses on the tag inout after deleting a tag.

Credit to @novaugust for a PR to this which is rebased into one single commit
2014-10-20 22:08:26 +01:00
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
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
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
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
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
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
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
Matt Enlow
4354458b11 Use DS.Model#eachAttribute in editor-base-controller
Closes #4279
2014-10-14 12:29:02 -06: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
Matt Enlow
f518782c3c Merge pull request #4269 from javorszky/iss4189
Abstracting away the deprecatedItems
2014-10-13 09:28:14 -06:00
Felix Rieseberg
7bb38f8c7b Accept Invitation: Generate Slug from Name
No issue, but ref #4211
2014-10-13 08:35:08 -04:00
John O'Nolan
92191234fb Merge pull request #4268 from PaulAdamDavis/fix-4208
Use flexbox for post settings cog & publish button
2014-10-13 12:08:08 +02:00
Jason Williams
980fa6a311 Merge pull request #4257 from ErisDS/codestyle
Custom showdown extensions should be linted
2014-10-12 18:10:52 -05:00
Gabor Javorszky
938b098329 Abstracting away the deprecatedItems
Closes #4189

* moved `deprecatedItems` from within the function to the default config object
* addes tests
2014-10-12 23:04:39 +01:00
Paul Adam Davis
28d1273c96 Use flexbox for post settings cog & publish button
Closes #4208

- Removes `min-width` & `max-width` from `.publish-bar-actions`
- Uses flexbox to correctly handle dynamic size (due to font size and text content of button)
2014-10-12 19:31:14 +01:00
Hannah Wolfe
00ef9cfcb1 Custom showdown extensions should be linted
ref #4243

- Removing /lib/ from the list of things which aren't linted, as this is
  all custom code
- Fixing up the two files to pass linting, erring on the side of caution
  with disabling regexp rules vs fixing regexes!
2014-10-12 15:28:19 +02:00
Hannah Wolfe
ce46248e79 Merge pull request #4255 from IanMitchell/navbar-title-change
Updated admin navbar blog link title
2014-10-12 15:03:46 +03:00
Hannah Wolfe
d18621a075 Merge pull request #4242 from cobbspur/meta
Adds Open Graph tags to ghost_head
2014-10-11 19:41:49 +03:00
surgesoft
b5a29cdca5 Change keyboard shortcut context
closes #4247
- added scope to every shortcut, the scope of shortcut is default to
  'default'
- add shortcut `enter` to modal which confirm the modal
- shortcut `enter` and `esc` now have scope 'modal'
- when lunch a modal, scope is switching to 'modal', and set back to
  'default' when close
- shortcut `enter` now confirm the dialog without conflicting with route
  shortcuts
2014-10-11 02:09:12 +08:00
Ian Mitchell
de216d4b99 Updated blog link title
The admin navbar title used to just be `/`. It now reads `Visit blog`,
in accordance with the nav label.
2014-10-08 20:57:10 -07:00
cobbspur
487297ff81 Added open graph tags for ghost head helper
issue #3900
- uses isPrivacyDisabled helper to see if useStructuredData has been disabled in config.js
- adds an array of promises to deal with asynchronous data
- resolves asynchronous data then adds open graph tags after canonical link
- featured image and tags are only added if present
- open graph tags only added on post and page
- adds unit test to check correct data is returned
- updates other unit tests to reflect changes
2014-10-08 15:57:49 +01:00
Paul Adam Davis
5330b5612d Refactor auth form styles
Closes #4246

- Removed the input wrapper background colour
- Moved `:focus` styles to one element, so its not defined separate for each page
- Removed unnecessary MQ for body background colour (it changed nothing)
2014-10-07 21:49:58 +01:00
Mattias Cibien
f2b2cf2519 Clean up hardcoded ghost paths
closes #4144
- made contributors template use the `gh-path` helper
- Removing blogRoot from application.js
- made error image use the `gh-path` helper
2014-10-06 16:33:58 +02:00
Hannah Wolfe
efea8dc502 Moving nanoscroller to be managed by bower 2014-10-05 22:08:36 +01:00
Hannah Wolfe
79c3f51950 Merge pull request #4226 from jaswilli/issue-4225
Follow symlinks when resolving theme paths.
2014-10-04 19:46:56 +01:00
John O'Nolan
23ce68b3a1 Merge pull request #4187 from PaulAdamDavis/settings-fixes
Refactor settings & content wrappers
2014-10-04 14:36:48 +02:00
Matt Enlow
e27dd6f7df Reset password signs the user in
Closes #4196
- Clear confidential info on leaving reset route
- Remove nested password access, because gross
- Also cleaned up some .then(f, h) to .then(f).catch(h) in setup controller
2014-10-03 15:22:20 -06:00
Paul Adam Davis
a4a3bcb2d8 Refactor settings and content wrappers to allow smooth overflows and properly show headers on mobile
Closes #4186, Closes #4190, Closes #4150

- Alters markup to allow for correct use of `-webkit-overflow-scrolling: touch;`
- Updates the debug page to use the same markup as the rest of the settings page
- Solve floating tag bar issue by making it absolute, not fixed
2014-10-03 18:54:18 +01:00
Jason Williams
696fbaaee4 Follow symlinks when resolving theme paths.
Closes #4225
- If a theme is symlinked in the themes directory, follow
  the symlink so that the theme object is populated correctly.
- Only do the fallback loading of theme data in the validations
  module if it doesn't exist in config.
2014-10-02 13:37:18 +00:00
Hannah Wolfe
27fe725357 Merge pull request #4086 from novaugust/gmail-shortcuts
Add Gmail-style shortcuts
2014-10-02 11:49:57 +01:00
Felix Rieseberg
0025f3d6de Shorter user slugs (if possible)
Closes #4211
2014-10-01 23:27:21 +02:00
John O'Nolan
98feef0cf5 Merge pull request #4218 from PaulAdamDavis/fix-4199
Change avatars in user list back to cover
2014-10-01 15:52:48 +02:00
John O'Nolan
5b8658d519 Merge pull request #4193 from PaulAdamDavis/less-animations
Less Animations
2014-10-01 15:52:27 +02:00
John O'Nolan
319470ddd8 Merge pull request #4171 from PaulAdamDavis/tag-management
Tag Management UI Markup
2014-10-01 15:51:38 +02:00
Paul Adam Davis
24a7c9f3ef Prevent elastic scrolling on the whole page 2014-09-30 22:52:40 +01:00
Paul Adam Davis
7a291d2fcc Webkit overflow scroll touch 2014-09-30 22:52:39 +01:00
Paul Adam Davis
32c27ceac9 Tag Management UI Markup
References #3926

Static markup for the Tag Management screen
2014-09-30 22:43:59 +01:00
John O'Nolan
12f92cd027 Merge pull request #4210 from JohnONolan/fix-copy
[WIP] Fixed email copy grammatical errors
2014-09-30 20:26:11 +02:00
Paul Adam Davis
91c07e37bf Change avatars in user list back to cover
Closes #4199

`background-size: 105%;` is a nono for square images. `background-size: cover;` is a better.
2014-09-30 17:22:21 +01:00
Paul Adam Davis
f6ec4c68fc Make the PSM tabs transition only happen on larger screens 2014-09-30 11:03:21 +01:00
Paul Adam Davis
4e3de54dca Remove sliding animation between content & list & post preview on mobile
Closes #3951
2014-09-30 11:02:42 +01:00
Paul Adam Davis
e5b45c8d76 Rename popovers to dropdowns 2014-09-30 10:48:21 +01:00
Paul Adam Davis
bf69c9cf83 Fix flickering popover transitions
Closes #4138

- Removed JS animation to close in favour of CSS animations
2014-09-30 10:48:21 +01:00
Hannah Wolfe
593d3b184b Merge pull request #4203 from halfdan/2521-module-test
Implements Ghost module tests
2014-09-29 22:05:39 +01:00
Fabian Becker
40254adc92 Implements module tests
closes #2521
- Add new module tests
- Implements new `test-module` task to specifically run module tests
2014-09-29 22:33:09 +02:00
Hannah Wolfe
4e58198381 Merge pull request #4188 from halfdan/1891-move
Abstract the allowed file types out of API
2014-09-29 21:31:22 +01:00
Connor Tumbleson
3ffdd7e9ab Sorts PSM authors alphabetically
fixes #4198
2014-09-29 12:17:26 -05:00
John O'Nolan
71f4b40b2e Fixed email copy grammatical errors 2014-09-29 16:04:02 +02:00