aboutsummaryrefslogtreecommitdiff
path: root/sx-favorites.el
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Standardize local variablesSean Allred2015-01-041-1/+1
| | | | | | | | | | - Move lexical-binding to top of file; fixes #123 - Use indent-tabs-mode: nil for all files
* | Provide commentaries for each fileSean Allred2015-01-041-0/+3
| |
* | Use new `sx-filter-from-nil' macroSean Allred2015-01-031-7/+3
|/
* Make site a url argumentArtur Malabarba2014-11-261-1/+2
| | | | | | | | | | This addresses the apparent api bug which affected both the retrieval of favorites and the site-switching. Se #82 As far as I can see, this issue affects ALL api calls, so it seems reasonable that it should be fixed inside `sx-method-call`. The usage of sx-method-call stays the same, only the internal has changed.
* Fix indentation following indent declaration.Jonathan Leech-Pepin2014-11-211-3/+3
|
* Merge branch 'master' into sx-method-auth. Conflicts have beenJonathan Leech-Pepin2014-11-211-5/+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-5/+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/+4
|/ | | | | | | | 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.
* Replace (sx-favorites--ensure-favorite-list) with (sx-favorites--initialize).Jonathan Leech-Pepin2014-11-181-17/+15
| | | | | | | | Simplify initialization since it is run at startup rather than tested for by functions. Clean up (sx-favorites--update-site-favorites) to provide the same values for new sites as for existing.
* GH comment fixes:Jonathan Leech-Pepin2014-11-181-2/+2
| | | | | Correct file header. Use sharp quote for function.
* (sx-favorites--update-site-favorites): Change from (list ..) to (cons ..).Jonathan Leech-Pepin2014-11-181-1/+1
|
* Fixes as per Github commentsJonathan Leech-Pepin2014-11-181-5/+6
| | | | | sx-favorites--user-favorite-list: Clarify docstring (sx-favorites--ensure-favorite-list): Remove extraneous argument
* Refactor sx-network--get-associated to avoid double call toJonathan Leech-Pepin2014-11-181-1/+1
| | | | | | sx-cache-set. Fix provides lines (missed quote on symbol).
* Generate and update list of favorited questions.Jonathan Leech-Pepin2014-11-171-0/+87
sx-favorites--ensure-favorite-list: List of favorites in format (SITE QUESTION_ID QUESTION_ID ...). (sx-favorites--update-site-favorites): Update favorites for given SITE. (sx-favorites-update): Update favorites for all networks user has an account on.