aboutsummaryrefslogtreecommitdiff
path: root/sx-networks.el
Commit message (Collapse)AuthorAgeFilesLines
* Provide commentaries for each fileSean Allred2014-11-281-0/+3
|
* File header normalizationSean Allred2014-11-271-1/+2
|
* Fix indentation following indent declaration.Jonathan Leech-Pepin2014-11-211-4/+4
|
* Merge branch 'master' into sx-method-auth. Conflicts have beenJonathan Leech-Pepin2014-11-211-6/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | resolved. Logic and functions have been kept from the `cl-defun` `sx-method-call` while docstrings have been updated as per #77 when possible. Conflicts: sx-auth.el sx-method.el sx-question.el sx-request.el
| * GitHub comments -- #77Sean Allred2014-11-201-6/+0
| |
* | Fix auth settings in calls. Do not use 'warn in non-interactive commands.Jonathan Leech-Pepin2014-11-201-1/+1
| |
* | Uses of `sx-method-call` have been updated to use new format.Jonathan Leech-Pepin2014-11-201-4/+5
|/ | | | | | | | sx-question now includes 2 authentication requiring parameters, `question.upvoted` and `question.downvoted`. These will only be used if access token exists. sx-favorites still uses site-workaround pending #82.
* Correct naming of cache to correspond to sx-cache-get.Jonathan Leech-Pepin2014-11-181-1/+1
|
* Fix logic for updating cache and setting variables.Jonathan Leech-Pepin2014-11-181-15/+17
| | | | | Turned (sx-network--ensure-user) into (sx-network--initialize) and added as hook for initialization.
* GH comment fix:Jonathan Leech-Pepin2014-11-181-1/+1
| | | | Use sharp quote for function.
* Fixes as per github comments.Jonathan Leech-Pepin2014-11-181-15/+15
| | | | | | | | | (sx-network--get-associated): Ensure user-sites is also set when retrieving cache. (sx-network--ensure-user): Simplify. Used to ensure cache is loaded before attempting to use it. Fix quoted lambda in sx-network--map-site-url-to-site-api.
* Refactor sx-network--get-associated to avoid double call toJonathan Leech-Pepin2014-11-181-4/+4
| | | | | | sx-cache-set. Fix provides lines (missed quote on symbol).
* Fix mistakes:Jonathan Leech-Pepin2014-11-171-2/+3
| | | | | - sx-network--user-information is a var not a function - remember to setq sx-network--user-sites.
* Use sx-network--user-filter to include `user_type' property (non-default).Jonathan Leech-Pepin2014-11-171-1/+26
|
* Create `sx-networks` and the associated cache.Jonathan Leech-Pepin2014-11-171-0/+84
sx-network--user-information: User query from site. sx-network--user-sites: List of sites user is active on for use when querying sites. (sx-network--ensure-user): Ensures network-user cache is available for use. (sx-network--update): Retrieve most recent network user information.