Commit Graph

6012 Commits

Author SHA1 Message Date
John O'Nolan
6d4da888e0 Merge pull request #6412 from jamesslock/css
UI/CSS Improvements
2016-01-28 16:51:41 +02:00
James Seymour-Lock
ffab3127ae UI/CSS Improvements
Remove shadow on last tag item hover, was an inconsistent style addition thats not used elsewhere such as the content list
- Remove box-shadow on last of type settings tag hover state
- http://g.recordit.co/CEglFT7Hlr.gif

Remove * selector and specify user-select on individual classes for performance.
- remove * selector
- update classes that benefit from user-select none

Having different visuals based around if a radio/checkbox uses a label or not is weird and style changes should use a class modifier.
- Merged the two together as I was unable to find an example checkbox/radio in use that did not use the label tag

Improved UI for radio/checkboxes
- Added cursor pointer to radio/checkboxes
- Added hover state to radio/checkboxes

Add cursor to select boxes for usability
- cursor: pointer; added to select boxes

Add hover state to post edit icon
- add dark grey hover state to post edit icon

Add visual hover to nav user menu dropdown
- Move dropdown icon to visually indicate hover
2016-01-28 08:35:43 -05:00
Kevin Ansfield
6095300f40 Merge pull request #6400 from kevinkucharczyk/tag-list-mobile
Fix missing tags list link on mobile
2016-01-26 18:27:37 +00:00
Kevin P. Kucharczyk
f075221598 Fix missing tags list link on mobile
closes #6397
- don't pass isMobile to gh-tag-settings-form
- add gh-tag-settings-form test for mobile settings.tags link
2016-01-26 18:42:13 +01:00
Kevin P. Kucharczyk
08d6e56b28 Fix posts.post route not redirecting to 404
closes #6385
- redirect to 404 when post is not found
- replace replaceRoute calls with replaceWith calls in routes (replaceRoute is only available on controllers)
- add post mirage factory
- add acceptance test for post 404 redirection
2016-01-26 15:25:53 +01:00
Sebastian Gierlinger
feb59fa714 Merge pull request #6382 from kevinansfield/upgrade-simple-auth
deps: ember-simple-auth@1.0.1
2016-01-26 15:06:25 +01:00
Sebastian Gierlinger
3525f060dc Merge pull request #6386 from ErisDS/sitemap-fix
Fix cache-control header for sitemaps
2016-01-26 13:01:57 +01:00
Hannah Wolfe
08e5848d4a Fix cache-control header for sitemaps
no issue

- sitemaps were getting max-age=undefined as they were depending on the wrong utils folder
- test + fix included
2016-01-25 17:56:05 +00:00
Kevin Ansfield
7c1f26cad7 deps: ember-simple-auth@1.0.1
closes #6381
- fixes event forwarding in adaptive session store
2016-01-25 15:52:07 +00:00
Hannah Wolfe
e5e375057e Merge pull request #6299 from acburdine/config-refactor
Refactor Config Service
2016-01-25 13:22:20 +00:00
Kevin Ansfield
d74d0d63b1 Merge pull request #6372 from jamesslock/copyright-update
Always show current year in copyright text on "About" page
2016-01-25 13:07:43 +00:00
Hannah Wolfe
08058ec750 Merge pull request #6379 from kevinansfield/fix-jquery-ajax-401
Fix 401 error when uploading images
2016-01-25 12:39:30 +00:00
Hannah Wolfe
4e355ecba9 Merge pull request #6374 from jtwebman/admin_error_no_theme
Fixed ghost admin error when missing theme folder.
2016-01-25 12:29:31 +00:00
Hannah Wolfe
c29187a5fe Merge pull request #6370 from jtwebman/meta_data_to_functions
Started moving meta data fetching to functions.
2016-01-25 12:16:20 +00:00
Hannah Wolfe
15cb71b408 Merge pull request #6335 from damsonn/fix-mailer-specs
Improve test coverage for mailer
2016-01-25 12:05:15 +00:00
Kevin Ansfield
8ddf160240 Merge pull request #6365 from acburdine/remove-on
remove more usage of Ember.on
2016-01-25 11:42:32 +00:00
James Seymour-Lock
4ea3e13bd4 Always show current year in copyright text on "About" page
no issue
- add `copyrightYear` CP to about page controller
- displays the current year in the copyright notice
2016-01-25 11:33:10 +00:00
Kevin Ansfield
c55d9699ef Fix 401 error when uploading images
closes #6377
- restores ajax prefilter initializer that was removed in #6243
- adds regression test for standard `$.ajax` requests sending Authorization header

This can be removed once we no longer have jquery plugins that make internal ajax calls that don't go through ember-ajax.
2016-01-25 11:11:29 +00:00
JT Turner
cdc98dce15 Fixed ghost admin error when missing theme folder.
closes #6368
- Add test to recreate the error in the static theme middleware.
- Updated static theme middleware to not error if missing theme folder.
2016-01-23 14:01:26 -08:00
JT Turner
1f4c01d207 Started moving meta data fetching to functions.
issue #6186
- Moved asset helper logic to a asset url function.
- Created author image function to be used in ghost_head helper.
- Created author url function to be used in the ghost_head helper.
- Created canonical url function to be used in the ghost_head helper.
- Moved meta_description helper logic to a function.
- Moved excerpt helper logic to a function.
- Created an index in data/meta to be used in ghost_head helper to get all data.
- Created keyword function to be used in the ghost_head helper.
- Created modified data function to be used in the ghost_head helper.
- Created next url function to be used in the ghost_head helper.
- Created ogType function to be used in the ghost_head helper.
- Created previous url function to be used in the ghost_head helper.
- Created published data function to be used in the ghost_head helper.
- Created rss url function to be used in the ghost_head helper.
- Created schema function to be used in the ghost_head helper.
- Created structured data function to be used in the ghost_head helper.
- Moved meta_title helper logic to a title function.
- Moved url helper logic to a url function.
- Wrote tests for all the new functions

This is just the first step. I plan on refactoring the ghost head to use these new functions.
2016-01-23 13:58:21 -08:00
Kevin P. Kucharczyk
9eac05e082 Standardise client property names to camelCase
closes #6018
- added keyForAttribute method in application serializer
- override keyForAttribute in settings serializer to not apply camelCase/underscore conversion
- rename under_scored properties to camelCased
2016-01-23 19:12:22 +01:00
John O'Nolan
100ab9ecef Update copyright year
To appease James Seymour-Lock
2016-01-23 17:28:17 +02:00
Damien Dormal
58fe7af7d1 Cleanup and improved test coverage for mailer
closes #5489
- Remove unneeded Promise.promisify in mailer
- Remove noEmailTransportConfigured error as not relevant anymore (Direct is default)
- Clone message argument in mailer.send
- Move test from api_mail_spec to mail_spec
- Add default mail title test
2016-01-23 11:49:01 +08:00
Hannah Wolfe
57ae36ab21 Merge pull request #6341 from kevinansfield/fix-mixed-content-on-team-page
Move user/cover image files used in admin team area into the client folder
2016-01-21 09:46:00 +00:00
Hannah Wolfe
c549914ae8 Merge pull request #6316 from halfdan/5606-subdir
Make regex for subfolder deduplication more restrictive
2016-01-20 20:09:29 +00:00
Hannah Wolfe
727591bceb Merge pull request #6367 from AntuanKhanna/patch-1
Fix comment about node version changes
2016-01-20 18:52:17 +00:00
Sebastian Gierlinger
a0d1372c94 Merge pull request #6363 from ErisDS/dep-updates
Dependency Updates
2016-01-20 16:09:20 +01:00
Hannah Wolfe
0e1a7669cd Merge pull request #6366 from kevinansfield/ember-2-3
deps: ember@2.3.0
2016-01-20 15:09:12 +00:00
Kevin Ansfield
929f9e89b2 deps: ember@2.3.0
no issue
- predominantly a bugfix and performance related release
- https://github.com/emberjs/ember.js/releases/tag/v2.3.0
- http://emberjs.com/blog/2016/01/15/ember-2-3-released.html
- some deprecations are introduced around the use of injected `container` objects, these are from `ember-simple-auth` and should be rectified with an up-coming release
2016-01-20 13:16:15 +00:00
Antuan Khanna
3e9bfe8497 Fix comment about node version changes 2016-01-20 13:38:15 +02:00
Hannah Wolfe
25d90822c3 Merge pull request #6364 from kevinansfield/deps-mirage
deps: ember-cli-mirage@0.1.11
2016-01-20 08:53:57 +00:00
Hannah Wolfe
7234cb7931 Merge pull request #6329 from kevinansfield/ember-data-2-3
deps: ember-data@2.3.2
2016-01-20 08:52:27 +00:00
Hannah Wolfe
8743c12379 Merge pull request #6354 from jtwebman/fix_sqlite_test_performance
Fix slow running tests when using Sqlite3.
2016-01-19 16:38:57 +00:00
Austin Burdine
7e2fa64278 remove more usage of Ember.on 2016-01-19 10:00:44 -06:00
Austin Burdine
7d304a046f refactor admin config to include explicit value types
closes #6266
- add "type" to valid keys in configuration api
- refactor ember config service to parse values based on provided type
2016-01-19 09:43:09 -06:00
Hannah Wolfe
1b5b6cf6e3 Merge pull request #6314 from halfdan/6287-import
Only import tables defined in core/server/data/schema.js
2016-01-19 15:22:24 +00:00
Kevin Ansfield
4f80d97d02 deps: ember-cli-mirage@0.1.11
no issue
- contains bugfixes for a couple of issues that we luckily haven't run into yet but likely will as we expand acceptance testing
2016-01-19 14:41:54 +00:00
Kevin Ansfield
f401d6f3e5 deps: ember-data@2.3.2
no issue
- updates ember-data dependency and switches to direct es6 module import instead of destructuring assignment
- fixes issue with `authenticationFailed` action being called before transitions have finished
2016-01-19 14:36:39 +00:00
Kevin Ansfield
580234c37a Merge pull request #6356 from acburdine/inject-usage
cleanup usage of Ember.inject
2016-01-19 13:20:33 +00:00
Austin Burdine
250e7a3b8b cleanup usage of Ember.inject 2016-01-19 07:03:27 -06:00
Kevin Ansfield
366b6d71e0 Merge pull request #6243 from acburdine/ember-ajax
deps: ember-ajax@0.7.1
2016-01-19 12:48:21 +00:00
Hannah Wolfe
d363fa134f deps: validator@4.5.0 2016-01-19 11:30:32 +00:00
Hannah Wolfe
76c8a59ee6 deps: semver@5.1.0 2016-01-19 11:30:32 +00:00
Hannah Wolfe
a4a3af80a2 deps: rss@1.2.1 2016-01-19 11:30:32 +00:00
Hannah Wolfe
245c1270cb deps: request@2.67.0 2016-01-19 11:30:31 +00:00
Hannah Wolfe
05b94fa981 deps: passport@0.3.2 2016-01-19 11:30:31 +00:00
Hannah Wolfe
60fce4c854 deps: oauth2orize@1.2.0 2016-01-19 11:30:31 +00:00
Hannah Wolfe
8248978ace deps: node-uuid@1.4.7 2016-01-19 11:30:31 +00:00
Hannah Wolfe
9268fce1e0 deps: moment@2.11.1 2016-01-19 11:30:30 +00:00
Hannah Wolfe
6018c1e787 deps: jsonpath@0.2.2 2016-01-19 11:30:30 +00:00