JLinkedin package #1847

Merged
merged 106 commits into from Mar 16, 2013

Projects

None yet

2 participants

@dianaprajescu

This package was created to interact with LinkedIn's REST API.

@elinw asked me to make this PR, but it can't be merged without the oAuth1 #1422 issue being resolved.

dianaprajescu added some commits Jul 31, 2012
@dianaprajescu dianaprajescu Start JOauth 1.0a client code.
Add JInput object to JOauth1aClient + Unit tests.

Get JHttp from Factory.

Session in tests

Fix test session

Destroy session when test ends

Move session destroy in teardown

Update strings to test ones

Change since tag to 12.2

Just for testing purpose

Add is_null in if condition

Update if condition with is_null

Change setToken method, throw $verifier for testing.

Set verifier to null

Use empty instead of isset.

Set input just before calling auth method.

Test input oauth_token value.

Update the input in test

Use strcmp

Add sprintf

Format string for testing.

Set input as value using reflection

Update test

Change 'key' to 'token'

Add if condition for throwing bad session

Remove empty from if condition.

Change DomainException message.

Rename file.
89f65b7
@dianaprajescu dianaprajescu Add blank line before comment. 6416e53
@dianaprajescu dianaprajescu Rename files.
Rename file to match oauth 2 client.

Rename test files too.
958682e
@dianaprajescu dianaprajescu Improve code coverage. da422d0
@dianaprajescu dianaprajescu Remove unused method. Use 'scope' JRegistry option. 5c60948
@dianaprajescu dianaprajescu Rename auth method to authenticate. b41be23
@dianaprajescu dianaprajescu Use JApplication::redirect() instead of JResponse. a84b069
@dianaprajescu dianaprajescu Rename files. d7b0f0d
@dianaprajescu dianaprajescu Add OAuth 1.0 to the client. Change since tags. 01ff2f4
@dianaprajescu dianaprajescu Fix mistake 9b36037
@dianaprajescu dianaprajescu Setup $_SERVER 5763f8a
@dianaprajescu dianaprajescu Include JApplicationWebInspector 37c7dd0
@dianaprajescu dianaprajescu Improve code coverage 5f6a2b5
@dianaprajescu dianaprajescu Don't include request's body in the oauth signature. 7d2c267
@dianaprajescu dianaprajescu Add some documentation 05aa280
@dianaprajescu dianaprajescu Make constructor param $version last. 1.0a is used more often
Change contructor param order in test file
56aadeb
@dianaprajescu dianaprajescu Fix CS errors
Remove trailing spaces
db487f4
@dianaprajescu dianaprajescu Fix CS errors. 4eb0ef7
@dianaprajescu dianaprajescu Update since tag. 2c93982
@dianaprajescu dianaprajescu Start JLinkedin package. Create base class for OAuth1a 7b63a90
@dianaprajescu dianaprajescu Add $url param to validateResponse() method. 51c356c
@dianaprajescu dianaprajescu OAuth repair. 14048f7
@dianaprajescu dianaprajescu Add getProfile() method to JLinkedinPeople. 52702c4
@dianaprajescu dianaprajescu Add getConnections() method to JLinkedinPeople. d4ce192
@dianaprajescu dianaprajescu Add search() method to JLinkedinPeople. JOauth1aClient changes. 20e981f
@dianaprajescu dianaprajescu Finish search() method. Remove unused methods from JLinkedinObject.
JOAuth1aClient changes.
c7c5d63
@dianaprajescu dianaprajescu Add access to out of network profiles to the search() method. 576ffad
@dianaprajescu dianaprajescu Add unit tests + fixes. 3ba6550
@dianaprajescu dianaprajescu Create JLinkedinGroups class. 5d7afac
@dianaprajescu dianaprajescu Add getGroup() method to JLinkedinGroups. 5a8a63a
@dianaprajescu dianaprajescu Add getMemberships() method to JLinkedinGroups. ce233af
@dianaprajescu dianaprajescu Add getSettings() method to JLinkedinGroups. ddc842b
@dianaprajescu dianaprajescu Add changeSettings() method to JLinkedinGroups. Add PUT method to
JOAuth1aClient. Add boolean_to_string() method to JLinkedinObject.
eefc0fa
@dianaprajescu dianaprajescu Add joinGroup() and leaveGroup() methods to JLinkedinGroups. Add DELETE
to JOAuth1aClient.
16ea1fe
@dianaprajescu dianaprajescu Add getDiscussions() method to JLinkedinGroups. 19801a8
@dianaprajescu dianaprajescu Add getUserPosts() method to JLinkedinGroups. 6a9d442
@dianaprajescu dianaprajescu Add getPost() method to JLinkedinGroups. 1fb499a
@dianaprajescu dianaprajescu Add getPostComments() method to JLinkedinGroups. e3a6d54
@dianaprajescu dianaprajescu Add createPost() method to JLinkedinGroups. 0c4eb12
@dianaprajescu dianaprajescu Refine the JOauth1aClient and JOauthLinkedin classes. a4df1e5
@dianaprajescu dianaprajescu Make necessary changes so that everything works with the new
JOauth1aClient.
31679e5
@dianaprajescu dianaprajescu Small fix, remove rawurlencode(). 6f317ff
@dianaprajescu dianaprajescu Set methods used only in the base class as private. 1e33d0c
@dianaprajescu dianaprajescu Add followPost() and unfollowPost() methods to JLinkedinGroups. 877c5ec
@dianaprajescu dianaprajescu Add flagPost() method to JLinkedinGroups. 5da8e51
@dianaprajescu dianaprajescu Add deletePost() method to JLinkedinGroups. dfb9623
@dianaprajescu dianaprajescu Add getComment() method to JLinkedinGroups. d7f999b
@dianaprajescu dianaprajescu Add addComment() method to JLinkedinGroups. 6947a27
@dianaprajescu dianaprajescu Add deleteComment() method to JLinkedinGroups. e134441
@dianaprajescu dianaprajescu Add getSuggested() method to JLinkedinGroups. 0fd098c
@dianaprajescu dianaprajescu Add deleteSuggestion() method to JLinkedinGroups. e23163d
@dianaprajescu dianaprajescu Fix code style errors. b6c660b
@dianaprajescu dianaprajescu Create JLinkedinCompanies class. Add getCompanies() method to
JLinkedinCompanies.
6bff83f
@dianaprajescu dianaprajescu Add getUpdates() method to JLinkedinCompanies. cb4cbd0
@dianaprajescu dianaprajescu Add search() method to JLinkedinCompanies. 0c04247
@dianaprajescu dianaprajescu Add getFollowed() method to JLinkedinCompanies. 0333cd6
@dianaprajescu dianaprajescu Add follow() method to JLinkedinCompanies. fafefeb
@dianaprajescu dianaprajescu Add unfollow() method to JLinkedinCompanies. 0bf8ce0
@dianaprajescu dianaprajescu Add getSuggested() method to JLinkedinCompanies. 3577c97
@dianaprajescu dianaprajescu Add getProducts() method to JLinkedinCompanies. 451562f
@dianaprajescu dianaprajescu Fix code style errors. 73f1651
@dianaprajescu dianaprajescu Create class for the API's Jobs object. Add getJob() method to
JLinkedinJobs.
23cb118
@dianaprajescu dianaprajescu Add getBookmarked() method to JLinkedinJobs 98cec85
@dianaprajescu dianaprajescu Add bookmark() and deleteBookmark() methods to JLinkedinJobs. 9a38720
@dianaprajescu dianaprajescu Add getSuggested() method to JLinkedinJobs. 8f76932
@dianaprajescu dianaprajescu Add search() method to JLinkedinJobs. Encode and other fixes. 3de387e
@dianaprajescu dianaprajescu Create class for Linkedin's Social Stream. Add share() method to
JLinkedinStream.
47a650a
@dianaprajescu dianaprajescu Add reshare() getCurrentShare() and getShareStream() methods to
JLinkedinStream.
3b0b33b
@dianaprajescu dianaprajescu Add getNetworkUpdates() method to JLinkedinStream. Small change to
toUrl() method in JOauth1aClient.
b8c4d23
@dianaprajescu dianaprajescu Add getNetworkStats() methodd to JLinkedinStream. 363953b
@dianaprajescu dianaprajescu Add postNetworkUpdate() method to JLinkedinStream. 674370a
@dianaprajescu dianaprajescu Add getComments() and postComment() methods to JLinkedinStream. a7097de
@dianaprajescu dianaprajescu Add getLikes(), like() and unlike() methods to JLinkedinStream. 0a1f129
@dianaprajescu dianaprajescu Create class for Linkedin Communications. Add invitedByEmail() method to
JLinkedinCommunications.
cc2bba6
@dianaprajescu dianaprajescu Add inviteById() method to JLinkedinCommunications. d797a51
@dianaprajescu dianaprajescu Add sendMessage() method to JLinkedinCommunications. a0ffb65
@dianaprajescu dianaprajescu Fix code style errors. 3a74bbe
@dianaprajescu dianaprajescu Rename method oauth to auth. b85962b
@dianaprajescu dianaprajescu JLinkedinPeople and JLinkedinOauth fixes. 7b691d4
@dianaprajescu dianaprajescu Documentation for JLinkedin. 69d73b5
@dianaprajescu dianaprajescu Add JInput object to JOauth client. a674742
@dianaprajescu dianaprajescu Change getToken and setToken methods. 9bdc4df
@dianaprajescu dianaprajescu Split JOauth 1.0a client code.
Add JInput object to JOauth1aClient + Unit tests.

Get JHttp from Factory.

Session in tests

Fix test session

Destroy session when test ends

Move session destroy in teardown

Update strings to test ones

Change since tag to 12.2

Just for testing purpose

Add is_null in if condition

Update if condition with is_null

Change setToken method, throw $verifier for testing.

Set verifier to null

Use empty instead of isset.

Set input just before calling auth method.

Test input oauth_token value.

Update the input in test

Use strcmp

Add sprintf

Format string for testing.

Set input as value using reflection

Update test

Change 'key' to 'token'

Add if condition for throwing bad session

Remove empty from if condition.

Change DomainException message.

Rename file.
4b31cfe
@dianaprajescu dianaprajescu Remove old file. d00aaa9
@dianaprajescu dianaprajescu Add blank line before comment. e3de117
@dianaprajescu dianaprajescu Fix filename issue. ae31d43
@dianaprajescu dianaprajescu Add gist to documentation. 9f1851b
@dianaprajescu dianaprajescu Use '&gt' instead of '>'. 1ca7004
@dianaprajescu dianaprajescu Fix filename issue. 6e86be0
@dianaprajescu dianaprajescu Rename file to match oauth 2 client. c599fbd
@dianaprajescu dianaprajescu Remove http file. ca67002
@dianaprajescu dianaprajescu Fix code style errors. d1016ca
@dianaprajescu dianaprajescu Rename test files too. f37d7d1
@dianaprajescu dianaprajescu Change if condition. 1b6fadc
@dianaprajescu dianaprajescu Remove unnecessary condition. 11f954e
@dianaprajescu dianaprajescu Improve code coverage. 944659c
@dianaprajescu dianaprajescu Add setScope and addScope methods. ee20186
@dianaprajescu dianaprajescu Remove unused method. Use 'scope' JRegistry option. dbe0ec0
@dianaprajescu dianaprajescu Rename auth method to authenticate. 68c4ee5
@dianaprajescu dianaprajescu Add the oauth client into JLinkedinObject. 4cdb0b6
@dianaprajescu dianaprajescu Oauth client integration fixes. 2f34986
@dianaprajescu dianaprajescu Use last version of oAuth. Unit test fixes. 908343d
@dianaprajescu dianaprajescu Fix some CS errors. 670d665
@dianaprajescu dianaprajescu Small fix. d748696
@dianaprajescu dianaprajescu Update documentation. 9a58870
@dianaprajescu dianaprajescu Update since tag. 052eee3
@eddieajau eddieajau merged commit c490fcd into joomla:staging Mar 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment