Hannah Wolfe
a2747a7cb7
Merge pull request #5654 from cobbspur/bugfixes
...
Lock out email address on signup page
2015-08-11 18:06:12 +01:00
Austin Burdine
f04676eaf2
fixed focus and duplication tag issues
...
refs #5648
- adds default value to refocus in reloadTypeahead method to fix focus issues
- moves tag input clearing call up to avoid duplication.
2015-08-11 11:04:53 -06:00
Hannah Wolfe
8be0256fe6
Merge pull request #5656 from cobbspur/spinnerfix
...
Fix spinner on settings page
2015-08-11 18:03:21 +01:00
Hannah Wolfe
f40bff0cbb
Startup message explicitly mentions production
...
no issue
2015-08-11 18:01:36 +01:00
cobbspur
e0b684e401
Fix spinner on settings page
...
refs #5652
- stops spinner from spinning forever on settings screen when saving
2015-08-11 15:26:24 +01:00
Sebastian Gierlinger
44622d943d
Refactor handlePermissions
...
no issue
- extract handlePermissions to utils
- added NoPermissionError when canThis() rejects
- omitted users.js because it uses special permission handling
2015-08-11 16:03:57 +02:00
Sebastian Gierlinger
9376bdf699
Merge pull request #5646 from ErisDS/issue-5150-nextprev
...
Next/Prev Post helpers include author & tags
2015-08-11 15:46:23 +02:00
cobbspur
2977f5a649
Lock out email address on signup page
...
refs #5653
- disables email field
- pull error message from api response
2015-08-11 14:25:30 +01:00
Hannah Wolfe
0f9f0dd69f
Merge pull request #5649 from cobbspur/signup
...
Fix errors for setup and signup
2015-08-10 23:14:16 +01:00
cobbspur
1631cb8066
Fix errors for setup and signup
...
refs #5635
- adds enter action to signup fields
- adds validation text errors
2015-08-10 22:24:10 +01:00
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