Hannah Wolfe
4c96fba67f
Merge pull request #5633 from acburdine/spin-buttons
...
Add spin buttons
2015-08-10 19:06:32 +01:00
Hannah Wolfe
7d8bd3d8d4
Merge pull request #5639 from acburdine/notifications-pipeline
...
Apply pipeline to notifications API endpoints
2015-08-10 17:41:28 +01:00
Hannah Wolfe
7090b4c4e5
Merge pull request #5553 from acburdine/tag-component
...
Re-implement tag-editing component
2015-08-10 17:41:04 +01:00
Austin Burdine
748895ce77
add spin-button component & implement it
...
closes #3928
- adds spin-button component & styles
- implements spin-button in places where buttons trigger async tasks
2015-08-10 09:43:50 -06:00
Austin Burdine
2c5d2d6a2d
reimplement tag editing component for posts
...
refs #3800
- remove old tag editor code
- reimplement tag editor as an ember component
- add tag editor component to PSM
2015-08-10 07:22:37 -06:00
Hannah Wolfe
026e3de597
Merge pull request #5640 from cobbspur/errors
...
Fix server errors for signin
2015-08-10 13:20:53 +01:00
Hannah Wolfe
9d1a78055e
Merge pull request #5634 from acburdine/onboard-fixes
...
Fixes in setup/three
2015-08-10 13:17:28 +01:00
cobbspur
69d020ce44
Fix signin errors
...
refs #5635
- fixes format for server errors
- changes signin-api validation errors to be text rather than alerts
2015-08-10 12:26:45 +01:00
Sebastian Gierlinger
5095725d7f
Merge pull request #5613 from ErisDS/issue-5551-tag-pagination
...
Fix pagination for tags with post_count
2015-08-10 10:18:29 +02:00
Hannah Wolfe
a00eace849
Next/Prev Post helpers include author & tags
...
closes #5150
- Post API understands next.author, next.tags, previous.author and previous.tags
- Post Read request filters out those properties and does the right thing with them
- Prev/Next post helpers send extra include properties
- Tests updated
2015-08-10 08:58:25 +01:00
Austin Burdine
392cb0038c
apply pipeline to notifications endpoint
...
refs #5508
- adds pipeline to the add and destroy methods of the notifications api
2015-08-09 22:42:10 -06:00
Austin Burdine
a428bfc35b
setup/three fixes
...
refs #5315
- adds call to loadServerNotifications so that notifications are loaded after setup
- fixes user invite so that you can't invite someone with the same email as you created the owner with
2015-08-09 22:40:27 -06:00
Hannah Wolfe
8d89c3e5ab
Fix pagination for tags with post_count
...
closes #5551
- adds new test fixture generator and tests for tag pagination
- changes how post_count is added to use a select subquery rather than a join
2015-08-09 18:59:58 +01:00
Hannah Wolfe
0f954f385d
Merge pull request #5566 from halfdan/refactor-middleware
...
Middleware Refactor
2015-08-09 15:24:50 +01:00
Sebastian Gierlinger
a993f80a51
Auth tests
...
- added tests for authentication middleware
- changed use of auth strategies
2015-08-09 12:50:05 +02:00
Hannah Wolfe
4d43c84956
Merge pull request #5643 from cobbspur/fixBug
...
Fix signup bug
2015-08-08 16:36:01 +01:00
cobbspur
560b5b693a
Fix signup bug
...
No Issue
- fixes bug that prevents successful signup from invite
2015-08-08 16:04:28 +01:00
Jason Williams
1751daa9e7
Merge pull request #5628 from cobbspur/keypress
...
Enter key submits form in setup step 2
2015-08-04 08:03:07 -05:00
Fabian Becker
c1a2601514
Middleware Refactor
...
- Refactor SSL middleware into separate module.
- Refactor redirectToSetup to separate module + tests
- Refactor serveStaticFile + tests
- Refactor authentication middleware + tests
- Refactor private blogging middleware
refs #5286
2015-08-04 14:53:58 +02:00
Sebastian Gierlinger
cfce197159
Merge pull request #5496 from ErisDS/api-public-perms
...
Add public API endpoint permission handling
2015-08-04 11:05:20 +02:00
cobbspur
c104e7f517
Enter key submits form in setup step 2
...
Issue #5315
- adds gh-input enter event to trigger setup action
- removes html for unused password strength hint
2015-08-04 09:36:02 +01:00
Jason Williams
f2c2d4ff24
Merge pull request #5616 from ErisDS/issue-5495
...
Don't escape path for ember
2015-08-03 15:05:03 -05:00
Hannah Wolfe
524b247c58
Add public API permission handling
...
refs #4004 , #5614
- added new public permission handling functions to permissions
- added a new util to handle either public permissions or normal permissions
- updated posts, tags and users endpoints to use the new util
- added test coverage for the new code
2015-08-03 19:30:17 +01:00
Hannah Wolfe
7897a2dfd4
Merge pull request #5610 from cobbspur/apiTests
...
Increase api integration coverage for posts
2015-07-30 23:53:15 +01:00
cobbspur
45d1541666
Increase api integration coverage for posts
...
No Issue
- adds integration tests for posts endpoint - read and browse
- adds grunt coverage-integration task
2015-07-30 17:54:14 +01:00
Hannah Wolfe
cb8c2a5235
Don't escape path for ember
...
closes #5495
- we have to escape paths for bower, but ember already does this
2015-07-29 21:52:14 +01:00
Hannah Wolfe
d045cad0e5
Merge pull request #5612 from cobbspur/fixFeaturedPost
...
Fix API query for featured posts
2015-07-29 12:22:29 +01:00
Hannah Wolfe
7578188598
Merge pull request #5458 from kevinansfield/notifications-refactor
...
Notifications refactor
2015-07-29 11:40:47 +01:00
cobbspur
870d6af066
Fix API query for featured posts
...
No Issue
- fixes bug where featured: false was not being built into query
- adds tests
2015-07-29 02:42:08 +01:00
Kevin Ansfield
e21d7ed1f5
WIP: review uses of notifications.showErrors
...
issue #5409
`notifications.showErrors` was historically used to display multiple error notifications whether from validation errors or responses form the API. This usage needs to be reviewed as inline validations should handle the validation side and we should be displaying alerts for actual errors.
Eventually `notifications.showErrors` should be left unused and therefore removed.
2015-07-28 12:27:57 +01:00
Kevin Ansfield
1bcd7fd333
Replace validation notifications with inline validations
...
issue #5409 & #5336
- update settings/general
- update signin
- update signup
- update edit user
- update reset password
- update setup/three
- remove `formatErrors` function from validationEngine mixin (it's no longer needed as inline validations should handle this instead)
2015-07-28 12:26:34 +01:00
Kevin Ansfield
7ac6ebb920
Refactor notifications service & components
...
issue #5409
- change persistent/passive notification status to alert/notification
- replace showSuccess/Info/Warn/Error with showNotification/showAlert
- fix and clean up notification/alert components
2015-07-28 12:26:11 +01:00
Hannah Wolfe
14c35ea56c
Merge pull request #5600 from morficus/i18n-backend-setup
...
foundation work for server-side i18n support
2015-07-28 01:25:32 +01:00
Maurice Williams
d89abaa15e
foundation work for server-side i18n support:
...
* ref #5345 and #3801
* creating helper methods for dealing with i18n initialization, polyfill and string+compilation
* initial structure for server-side JSON language file
2015-07-27 18:47:10 -04:00
Hannah Wolfe
1e630e6c90
Merge pull request #5578 from hwdsl2/fix-rss-protocol-relative-urls
...
RSS Fix: Do not convert protocol relative URLs
2015-07-22 22:28:13 +01:00
Hannah Wolfe
ab2049e35c
Merge pull request #5580 from halfdan/update-deps
...
Update lodash and cheerio
2015-07-22 21:35:02 +01:00
Jason Williams
a19000d862
Merge pull request #5565 from acburdine/profile-debounce
...
Refactor setup controller to only pass valid email into profile image component
2015-07-22 09:53:30 -05:00
Jason Williams
f6ca9f0b9d
Merge pull request #5596 from kevinansfield/fix-missing-code-injection-auth-redirect
...
Fix missing redirect on settings/code-injection when not authenticated
2015-07-22 09:51:28 -05:00
Hannah Wolfe
89f5e55850
Merge pull request #5556 from cobbspur/newflow2
...
Update onboarding navigation
2015-07-22 11:56:06 +01:00
Kevin Ansfield
0322de36ee
Fix missing redirect on settings/code-injection when not authenticated
...
related issue #5412
- code-injection route was overriding `beforeModel` without calling `super` which meant the redirect handling added in `AuthenticatedRoute` was being skipped
2015-07-22 11:31:42 +01:00
hwdsl2
14dd95faf2
RSS Fix: Do not convert protocol relative URLs
...
closes #5567
- Fixed an issue with protocol relative URLs in the RSS feed
- Such URLs should be kept as-is and not prefixed with baseUrl
- Added corresponding test to cover this case
2015-07-21 23:16:04 -05:00
Fabian Becker
2878b5ae00
Update lodash and cheerio
...
- update lodash to 3.1.0
- cheerio update uses new css-select, css-what packages (others were deprecated)
refs #5578
2015-07-21 19:59:49 +02:00
Austin Burdine
04d649a224
fix setup controller to pass in only a valid email to the profile-image component
...
closes #5563
2015-07-21 13:19:09 -04:00
cobbspur
7d9e0f154a
User Onboarding - flow navigation
...
closes #5317
- Adds back button to steps 2 and 3
- Prevents user navigating from step 1 to step 3 unless blog has been created
- Prevents user navigating from step 2 to step 3 unless blog has been created
2015-07-21 17:23:04 +01:00
Hannah Wolfe
5c637dd37a
Merge pull request #5595 from halfdan/fix/5593
...
Don't rely on order of updates when editing multiple settings
2015-07-21 16:59:16 +01:00
Hannah Wolfe
a0ee69d365
Merge pull request #5591 from halfdan/fix/5573
...
Do not serialize toJSON to get published_at
2015-07-21 16:54:24 +01:00
Jason Williams
c3951c4fd7
Merge pull request #5570 from ErisDS/issue-5564
...
Fix regressions with password reset
2015-07-21 10:14:56 -05:00
Fabian Becker
cf4660dd46
Don't rely on order of updates when editing multiple settings
...
fixes #5593
2015-07-21 12:41:56 +02:00
Hannah Wolfe
4ba77e0da4
Fix regressions with password reset
...
fixes #5564
- adds missing part of `/setup/` url in authentication middleware
- ensures data is passed through from API to model in correct (new) format for password reset
- re-adds missing/incorrectly commented out auth tests, and verifies that reset as far as token validation
2015-07-21 08:47:26 +01:00
Fabian Becker
ed0854d770
Do not serialize toJSON to get published_at
2015-07-21 00:38:55 +02:00