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
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
Sebastian Gierlinger
52f576e185
Merge pull request #5497 from ErisDS/foreach
...
Improvements to the {{foreach}} helper
2015-07-20 21:36:28 +02:00
Hannah Wolfe
f2b4a6f84e
Merge pull request #5562 from cobbspur/contribs
...
Update top-gh-contribs dependency
2015-07-20 20:33:18 +01:00
Sebastian Gierlinger
4a89c6ac3e
Merge pull request #5516 from ErisDS/issue-2758-api-opts
...
API Option Handling
2015-07-20 21:19:13 +02:00
Hannah Wolfe
3cf164f403
Merge pull request #5590 from halfdan/fix/5589
...
Use previousAttributes when model is destroyed
2015-07-20 18:50:57 +01:00
cobbspur
33b9343942
Update top-gh-contribs dependency
...
refs #5503
- updates package.json to using 2.0.2 version of top-gh-conribs
- updates gruntfile, using moment to calculate time period to observe
- new version of top-gh-contribs is not related to top 100 contributors therefore returns more users
- observed timepsan is reverted to 90 days now that top-gh-contribs fetches enough contributors
2015-07-20 17:03:38 +01:00
Fabian Becker
4500b14989
Use previousAttributes when model is destroyed
...
fixes #5589
2015-07-20 14:41:40 +02:00
Hannah Wolfe
27ecb3b211
Merge pull request #5575 from cobbspur/imageComponent
...
Disable image upload during setup for non persistent file storage
2015-07-19 23:23:08 +01:00
Hannah Wolfe
fffa2a7958
Merge pull request #5581 from halfdan/fix/5561
...
Fix urlFor to preserve mailto:
2015-07-18 20:41:03 +01:00
cobbspur
c52aa8b23b
Disable image upload during setup for non persistent file storage
...
closes #5550
- passes config.fileStorage into gh-profile-image component
- does not render input tag if fileStorage is set to false
2015-07-18 20:26:27 +01:00
Fabian Becker
0309b5aa46
Fix urlFor to preserve mailto:
...
fixes #5561
2015-07-18 03:45:06 +02:00
Hannah Wolfe
00a644fd62
Merge pull request #5577 from jaswilli/issue-5574
...
Use correct property when determining display URL
2015-07-17 17:18:09 +01:00
Jason Williams
ddd1bc0cf9
Use correct property when determining display URL
...
Closes #5574
2015-07-17 10:23:29 -05:00
John O'Nolan
f1b558eb68
Merge pull request #5542 from BlueHatbRit/reset-pass-page-style-fix
...
Correct reset passsword screen markup and styles
2015-07-15 16:56:14 +03:00
John O'Nolan
ebb81a01e1
Merge pull request #5555 from halfdan/fix/invite
...
Fix team/index screen
2015-07-15 16:54:07 +03:00
Hannah Wolfe
2b1c191ae8
Merge pull request #5554 from halfdan/fix/windows-tests
...
Fix failing frontend_spec on windows.
2015-07-15 14:27:56 +01:00
Hannah Wolfe
80a424ecae
Merge pull request #5543 from Remchi/allow-edit-on-setup
...
Allow editing blog details on setup
2015-07-15 14:24:54 +01:00
Hannah Wolfe
ca6a381dc2
Merge pull request #5559 from halfdan/fix/5536
...
Fix signin test (run setup properly)
2015-07-15 14:24:14 +01:00
Fabian Becker
50d4f02388
Fix signin test (run setup properly)
...
fixes #5536
2015-07-15 12:31:02 +02:00
Rem Zolotykh
213ba9c3e6
Allow editing blog details on setup
...
closes #5526
- when user creates blog we set `blogCreated` flag to true and
depending on it make `POST` or `PUT` request
2015-07-15 03:17:55 +02:00