aboutsummaryrefslogtreecommitdiff
path: root/sx-auth.el
Commit message (Collapse)AuthorAgeFilesLines
* Use defconst instead of defvar where appropriate.Artur Malabarba2015-01-041-31/+33
| | | | Fix #200
* Fix docstringsSean Allred2015-01-041-5/+5
|
* 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
| * Relate variable with setting functionSean Allred2014-11-281-1/+3
| |
| * Correct documentationSean Allred2014-11-281-1/+1
| |
| * Provide commentaries for each fileSean Allred2014-11-281-0/+7
| |
| * File header normalizationSean Allred2014-11-271-1/+2
| |
* | Relate variable with setting functionSean Allred2015-01-041-1/+3
| |
* | Correct documentationSean Allred2015-01-041-1/+1
| |
* | Provide commentaries for each fileSean Allred2015-01-041-0/+7
| |
* | Autoload sx-authenticateArtur Malabarba2014-12-121-3/+2
|/ | | | | | | | | This also removes the sx-authenticate alias and renames sx-auth-authenticate to sx-authenticate. I did this because I felt it wasn't helpful to have both. Whenever I hit `M-x sx-au <TAB>` the only completions offered were two identical, but differently named, commands. That's useless at best, confusing at worst.
* Simplify form to use `remove'Sean Allred2014-11-271-8/+8
|
* Fix #110Sean Allred2014-11-271-1/+1
|
* Fix #112Sean Allred2014-11-271-1/+1
|
* Add elements to auth-filter-auth and browse-filterArtur Malabarba2014-11-251-1/+4
|
* Request private_info scopeArtur Malabarba2014-11-241-0/+1
|
* Merge branch 'master' into sx-method-auth. Conflicts have beenJonathan Leech-Pepin2014-11-211-5/+22
|\ | | | | | | | | | | | | | | | | | | | | | | | | 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-4/+0
| |
| * Provide alias for `sx-auth-authenticate'Sean Allred2014-11-191-0/+2
| |
| * Merge branch 'master' into documentationSean Allred2014-11-191-10/+12
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: sx-method.el sx-question-list.el sx-question-mode.el sx-question.el sx-request.el sx.el
| * | Documentation -- part oneSean Allred2014-11-171-1/+20
| | | | | | | | | | | | Pushing this change to continue work elsewhere.
* | | Improve method for returning clean filter.Jonathan Leech-Pepin2014-11-201-12/+21
| | | | | | | | | | | | | | | Logic now verifies `include` if `include`,`exclude`,`base` is used. Otherwise verify entire filter.
* | | Do not actually need to check for no submethods. Already tested for.Jonathan Leech-Pepin2014-11-201-2/+1
| | |
* | | Fix sx-auth--method-p to work correctly when there is no submethodJonathan Leech-Pepin2014-11-201-2/+4
| | | | | | | | | | | | specified.
* | | Fix filter logic to account for alist of properties.Jonathan Leech-Pepin2014-11-201-11/+22
| | | | | | | | | | | | | | | | | | | | | sx-auth-filter-auth now returns a filter that will not require auth for use when auth not available. Add a few known auth-required types.
* | | Implement checking for filter and method authentication requirement.Jonathan Leech-Pepin2014-11-191-0/+68
| |/ |/| | | | | | | Currently no filter items are defined pending confirmation of which require it.
* | Remove unneeded newlineJonathan Leech-Pepin2014-11-141-2/+1
| |
* | Updated `sx-request-make` to use a consistent format for both `POST` and ↵Jonathan Leech-Pepin2014-11-141-10/+13
|/ | | | | | | | | | | | | | | | | `GET` methods. (sx-request-make): Added optional arguments for using "POST" and AUTH when performing requests (sx-request--build-keyword-arguments): Add option of using AUTH and including in query when required. (sx-request-build): Removed (sx-request--request): New function to perform query with all variables let bound. sx-auth.el: Updated `sx-auth-root` to be full auth URL rather than lack method. (sx-auth-authenticate): Remove dependency on `sx-request-build` and perform construction inline.
* Change `access-token` to `access_token` to match api key.Jonathan Leech-Pepin2014-11-141-1/+1
|
* Abstract out method callsSean Allred2014-11-081-10/+9
| | | | | | | | | | | Keeping method calls within `sx-request.el' was causing circular requirements. This commit sorts through all of the requirements for each of the files and ensures that this does not happen. Much of the content removed was for `sx-request-default-keyword-arguments-alist' and related items. It was unused, so it was pruned. If it is deemed necessary in the future, it should be included in `sx-method.el'.
* Re-work filtering and cachingSean Allred2014-11-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * sx-auth.el - Use new symbolic cache access * sx-cache.el - Implement symbolic cache access * sx-filter.el - Use symbolic cache access - Compile and save filters on-demand (more work to be done to this end) * sx-question.el - Symbolic filters * sx-request.el - Protection against infinitely recursing when compiling a filter This will be re-worked into requests (a front-end function) and 'raw' requests (a back-end function). The front-end will add convenience to the back-end. * test/tests.el Remove outdated tests
* Finish name changesSean Allred2014-11-081-1/+1
|
* Refactor to use `sx-` prefixSean Allred2014-11-071-25/+31
| | | | A file stackexchange.el should be added for user-facing functions.
* Renamed all files.Artur Malabarba2014-11-071-0/+69
Still a lot to be done inside them.