From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: imgur.el and small packages to interface with commercial services Date: Wed, 20 Jul 2016 09:30:24 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87k2gga13j.fsf@lifelogs.com> References: <8760sqlec9.fsf@lifelogs.com> <87ziq0j3to.fsf@lifelogs.com> <87eg78izip.fsf@lifelogs.com> <8760s0bgg5.fsf@lifelogs.com> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1469022110 3129 80.91.229.3 (20 Jul 2016 13:41:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Jul 2016 13:41:50 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 20 15:41:41 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bPrkr-0008QN-DB for ged-emacs-devel@m.gmane.org; Wed, 20 Jul 2016 15:41:41 +0200 Original-Received: from localhost ([::1]:34642 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPrkq-0004fM-9X for ged-emacs-devel@m.gmane.org; Wed, 20 Jul 2016 09:41:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPreZ-0004Jq-7Y for emacs-devel@gnu.org; Wed, 20 Jul 2016 09:35:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPreU-0005Fs-Fm for emacs-devel@gnu.org; Wed, 20 Jul 2016 09:35:10 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:41141) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPreU-0005FU-9O for emacs-devel@gnu.org; Wed, 20 Jul 2016 09:35:06 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bPreR-0004Pz-Tb for emacs-devel@gnu.org; Wed, 20 Jul 2016 15:35:03 +0200 Original-Received: from c-98-229-60-157.hsd1.ma.comcast.net ([98.229.60.157]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Jul 2016 15:35:03 +0200 Original-Received: from tzz by c-98-229-60-157.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Jul 2016 15:35:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-229-60-157.hsd1.ma.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:1bVB+e3xvqqL0oX2PpL7GFZnqRk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:205871 Archived-At: On Wed, 20 Jul 2016 15:16:37 +0200 Lars Ingebrigtsen wrote: LI> Ted Zlatanov writes: >> I suggest making the token automatic, stored in auth-source and >> generated on demand (so it will be local to the user). LI> That is generally not possible. To get an imgur token you have to LI> register yourself on their web site and exchange some emails, and then LI> you get a token. Right, so you can offer your imgur token as a default choice at the prompt, and if the user wants, they can use their own. The choice is stored locally and they can edit or remove it later. Is that acceptable? >> The auth-source code supports that case, except for the actual token >> generation. The default choice can be a generic token for each >> service, but I doubt the FSF/GNU team wants to maintain such a thing, >> and it would be easy to abuse it. LI> It doesn't really matter that much. imgur rate-limits per IP address, LI> not per token. LI> Other services probably have other rules. :-) OK, so it should be a flexible choice... Ted