aboutsummaryrefslogtreecommitdiff
path: root/sx-networks.el
Commit message (Collapse)AuthorAgeFilesLines
* Update copyrightsSean Allred2018-01-281-2/+2
|
* Define sx-network-user and sx-network--user-information-alistArtur Malabarba2015-04-191-26/+29
|
* Fix some compiler warningsArtur Malabarba2015-04-191-6/+6
|
* Use defconst instead of defvar where appropriate.Artur Malabarba2015-01-041-1/+1
| | | | Fix #200
* Merge branch 'organize' of github.com:vermiculus/sx.el into organizeSean Allred2015-01-041-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: sx-cache.el sx-encoding.el sx-favorites.el sx-filter.el sx-interaction.el sx-method.el sx-question-list.el sx-question-mode.el sx-question-print.el sx-question.el sx-tab.el sx-time.el sx.el
| * Standardize local variablesSean Allred2014-12-011-2/+1
| | | | | | | | | | - Move lexical-binding to top of file; fixes #123 - Use indent-tabs-mode: nil for all files
| * Provide commentaries for each fileSean Allred2014-11-281-0/+3
| |
| * File header normalizationSean Allred2014-11-271-1/+2
| |
* | Provide commentaries for each fileSean Allred2015-01-041-0/+3
| |
* | Tree-style specification for filter-from-nilSean Allred2015-01-041-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of saying (field-a field-b object-a.subfield field-c object-b.subfield-a object-b.subfield-b) you can rather say (field-a field-b (object-a subfield) field-c (object-b subfield-a subfield-b)) To avoid a dependency loop, sx-browse-filter has been moved to sx-filter.el.
* | Use new `sx-filter-from-nil' macroSean Allred2015-01-031-23/+15
|/
* 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.