Skip to content

Update Google API Library #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 56 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
56079f5
Rewrite. Use google api php client
mattheu Oct 31, 2013
d0a8056
ability to add api details in the admin
mattheu Oct 31, 2013
fa86389
re-add opt-out
mattheu Oct 31, 2013
14a1012
tidy up
mattheu Oct 31, 2013
1c60ef4
bit of a tidy again.
mattheu Oct 31, 2013
5869a6a
use separate settings field for each field #UI
mattheu Oct 31, 2013
a64dd80
only sleep after to avoid unnecessary delays when only a single query…
mattheu Oct 31, 2013
9a6cd1a
delete functions
mattheu Oct 31, 2013
a1db835
Merge branch 'refactor' of github.com:humanmade/hm-top-posts into ref…
mattheu Oct 31, 2013
08187c6
re-add opt-out
mattheu Oct 31, 2013
cac41ce
remove sleep - mis-read docs on rate limiting - they handle it
mattheu Oct 31, 2013
d283c91
use date from args, default to 1 month ago
mattheu Oct 31, 2013
bde2d96
oops can't do that
mattheu Oct 31, 2013
de59297
wrong args
mattheu Oct 31, 2013
818b851
delete examples
mattheu Oct 31, 2013
ce57ed7
ignore .ds_store
mattheu Oct 31, 2013
5c8cec1
widget
mattheu Oct 31, 2013
e117546
formatting
Nov 1, 2013
85c242d
wp_nonce_field already echoes by default
Nov 1, 2013
185c1ce
Docblocks
Nov 1, 2013
2439ff1
Merge pull request #6 from humanmade/wp-standards-4
mattheu Nov 1, 2013
71a788e
bug fix - properties can have multipple profiles
mattheu Nov 4, 2013
702a62c
Merge branch 'refactor' of github.com:humanmade/hm-top-posts into ref…
mattheu Nov 4, 2013
41bcd3c
no closures
mattheu Nov 4, 2013
d866fe5
delete old class
mattheu Nov 4, 2013
015e3ec
Add a filter_callback funciton to the caller can decide what is inclu…
joehoyle May 21, 2014
0a0b2b3
comment out API key setting
mattheu Jun 30, 2014
492a361
Add cached URL to postID from VIP
mattheu Jun 30, 2014
004f1a2
Allow defining settings
mattheu Jun 30, 2014
3340131
remove API key and hide other fields when defined
mattheu Jun 30, 2014
03d1d57
use defined constant to set query start date
mattheu Jun 30, 2014
6db32c8
Allow Filters
mattheu Jun 30, 2014
d5d1c2f
Formatting
mattheu Jun 30, 2014
eebf7b9
remove home_url check
mattheu Jun 30, 2014
d29c531
Hanlde pages & page on front
mattheu Jun 30, 2014
672018a
docs and formatting
mattheu Jun 30, 2014
62f7a74
Fix widget output
mattheu Jun 30, 2014
af99308
allow filtering widget output
mattheu Jul 2, 2014
2ce9d2b
constants names should be quoted when checking if defined
mattheu Jul 4, 2014
3c9c365
fix use of $this in a closure breaking all things
mattheu Jul 4, 2014
e1fb1b2
Update HM Top posts Strings
mattheu Jul 4, 2014
3b3ca2f
Increment the index in the options, otherwise it doesn't do anything
joehoyle Jun 1, 2015
f453979
Build an absolute URL as the Google Analytics API returns a relative URL
Dec 24, 2015
c6a8bbf
Move the view count outside the link
Dec 24, 2015
d854640
Return early to avoid an error
Dec 24, 2015
124fa49
some basic code style updates
roborourke Jan 7, 2016
f5282d0
delete old php api
roborourke Jan 7, 2016
8e66e37
use google api autoloader
roborourke Jan 7, 2016
38862b7
google api client submodule
roborourke Jan 7, 2016
7ef55ff
switch to new oauth2 API classes
roborourke Jan 7, 2016
1e1ed28
some more tidying up
roborourke Jan 7, 2016
b52b37d
add composer file
roborourke Jan 7, 2016
90ca6ae
remove api submodule
roborourke Jan 7, 2016
dad351d
add vendor folder
roborourke Jan 7, 2016
00009dd
hide client ID and secret fields if we have a token
roborourke Jan 7, 2016
b725f95
add better instructions, hide them once we have a token
roborourke Jan 7, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
14 changes: 14 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "humanmade/hm-top-posts",
"description": "Plugin to fetch top posts from a Google Analytics account",
"require": {
"google/apiclient": "^2.0.0@RC"
},
"license": "GPLv3",
"authors": [
{
"name": "Joe Hoyle",
"email": "[email protected]"
}
]
}
Loading