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