aboutsummaryrefslogtreecommitdiff
path: root/sx-networks.el
Commit message (Collapse)AuthorAgeFilesLines
* 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.