[Git][noosfero/noosfero][federation] 15 commits: Creates External Profile model for federated users

Larissa Reis gitlab at mg.gitlab.com
Mon Jul 4 14:42:30 BRT 2016


Larissa Reis pushed to branch federation at Noosfero / noosfero


Commits:
43992a30 by Larissa Reis at 2016-07-04T12:04:58-03:00
Creates External Profile model for federated users

* Creates concerns for concealing common attributes for different types of person
* Starting federated login
* Removing call to lib
* Adapt external person attributes and current_user to allow for external login
* Fix functional tests
* Get profile image with fixed link to profile image
* Adding API endpoint to get profile icon
* Ensure that the federated user has e-mail
* Get person or external person
* Adding Selenium test for federated login
* Last tests for federated login feature
* Creates initial tests for ExternalProfile
* Makes ExternalProfile respond to all Profile methods to avoid breakage
* Makes ExternalProfile respond to all Person methods to avoid breakage
* Adds more tests for ExternalPerson
* Skip certificate verification over ssl authentications

Signed-off-by: Caio SBA <caiosba at gmail.com>

- - - - -
007ad1b5 by Marcos Ronaldo at 2016-07-04T12:04:58-03:00
Creates federation API initial structure

- - - - -
ecd9db87 by Thiago Ribeiro at 2016-07-04T12:04:59-03:00
Federation webfinger

- - - - -
2a4c9e64 by Alessandro Caetano at 2016-07-04T12:04:59-03:00
Adding uri to webfinger resource

Signed-off-by: Thiago Ribeiro <thiagitosouza at gmail.com>

- - - - -
73b39094 by Thiago Ribeiro at 2016-07-04T12:04:59-03:00
Add test structure

Signed-off-by: Alessandro Caetano <alessandro.caetanob at gmail.com>

- - - - -
28b32a73 by Alessandro Caetano at 2016-07-04T12:05:00-03:00
Writing tests for webfinger entry point

- - - - -
962b038c by Alessandro Caetano at 2016-07-04T12:05:00-03:00
Adding tests to Webfinger Api

Signed-off-by: Alessandro Caetano <alessandro.caetanob at gmail.com>
Signed-off-by: Thiago Ribeiro <thiagitosouza at gmail.com>

- - - - -
09179b92 by Alessandro Caetano at 2016-07-04T12:05:01-03:00
Refactored api

- - - - -
52c7d628 by Alessandro Caetano at 2016-07-04T12:05:01-03:00
Adding new fields for webfinger server

Signed-off-by: Alessandro Caetano <alessandro.caetanob at gmail.com>

- - - - -
e2857886 by Alessandro Caetano at 2016-07-04T12:05:01-03:00
Finishing webfinger server

- - - - -
f79340a4 by Alessandro Caetano at 2016-07-04T12:05:01-03:00
External user now using webfinger endpoint

- - - - -
89a5dc27 by Larissa Reis at 2016-07-04T12:05:01-03:00
Fixes rename of federated_network to external_network

- - - - -
e0a279d0 by Larissa Reis at 2016-07-04T12:05:02-03:00
Fixes failing tests

- - - - -
f9165094 by Larissa Reis at 2016-07-04T14:16:27-03:00
Lookup webfinger based on scheme

- - - - -
fa46a8f5 by Larissa Reis at 2016-07-04T17:42:25+00:00
Merge branch 'external-person' into 'federation'

External person

Allow external users to login in a network that is federated with the user's network.

See merge request !951
- - - - -


30 changed files:

- app/api/app.rb
- + app/api/federation/webfinger.rb
- app/api/helpers.rb
- app/api/v1/articles.rb
- app/api/v1/people.rb
- app/concerns/authenticated_system.rb
- app/controllers/application_controller.rb
- app/controllers/my_profile/email_templates_controller.rb
- app/controllers/public/profile_controller.rb
- app/controllers/public/search_controller.rb
- app/helpers/application_helper.rb
- app/helpers/theme_loader_helper.rb
- app/models/abuse_complaint.rb
- app/models/abuse_report.rb
- app/models/comment.rb
- + app/models/concerns/external_user.rb
- + app/models/concerns/human.rb
- + app/models/concerns/profile_entity.rb
- app/models/environment.rb
- app/models/external_environment.rb
- + app/models/external_person.rb
- app/models/person.rb
- app/models/profile.rb
- app/models/user.rb
- app/views/account/welcome.html.erb
- app/views/enterprise_registration/basic_information.html.erb
- app/views/environment_role_manager/affiliate.html.erb
- app/views/layouts/_user.html.erb
- app/views/profile_members/affiliate.html.erb
- config/routes.rb


The diff was not included because it is too large.


View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/219aa6659c799ade3a3fca5496bb5e4195c2626e...fa46a8f5fc858a9410e0f3b20753f5ea9e9710f2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20160704/5440fbb9/attachment-0001.html>


More information about the Noosfero-dev mailing list