summaryrefslogtreecommitdiff
path: root/HISTORY.txt
blob: 7b7ff958322e4e1b6724fcf7a1b3908d163106f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
1.1.7
~~~~~~~~~~~~~~~~~~

#52 hg keyring_check and hg keyring_clear did not work since
Mercurial 3.9 (incompatibility caused by commit 2c019aac6b99,
introducing passwdb).

1.1.6
~~~~~~~~~~~~~~~~~~

Fixed NameError showing up in some password saving scenarios, in
particular in case of password save failures (thanks to Andrew
Taumoefolau for reporting and fixing).

1.1.5
~~~~~~~~~~~~~~~~~~

Mercurial 3.9 compatibility.

1.1.4
~~~~~~~~~~~~~~~~~~

Gracefully handle failures to save passwords - they are reported
as warnings, but don't break the operation being executed.

Compatibility fixes for upcoming 3.9 release (which changes SSL API
noticeably, what impact SMTP passwords handling in mercurial_keyring).

1.1.3
~~~~~~~~~~~~~~~~~~

Mercurial 3.8 compatibility for email over SSL/TLS (SMTPS/STARTTLS
constructors changed). Should not spoil older versions.

1.1.2
~~~~~~~~~~~~~~~~~~

The keyring_check and keyring_clear commands can be run outside
repository (if given some path as parameter).

Fixed some messages.

README updates (a few language fixes, added note about GUI tools).

1.1.1
~~~~~~~~~~~~~~~~~~

#49 Fixed the bug due to url-stored usernames did not work (introduced
in 1.0.0 and not completely fixed in 1.0.1).

#50 Bad doc url in error message


1.1.0
~~~~~~~~~~~~~~~~~~

Forward compatibility for Mercurial 3.8 (should not break old mercurials)

1.0.1
~~~~~~~~~~~~~~~~~~

URLs containing usernames (https://John@some.service/somewhat) were
not working unless username was also configured separately (username
presence in url was not detected properly).

Liberated prefix matching, path https://John@some.service/somewhat can
be matched both against prefix https://some.service and against
https://John@some.service. That mostly matches what mercurial itself
does.

1.0.0
~~~~~~~~~~~~~~~~~~

Added
    hg keyring_check
and
    hg keyring_clear PATH-OR-ALIAS
commands

Removed obsolete workarounds (compatibility for very old Mercurials -
some for pre-1.0, some for 1.4, some for 1.8/1.9). 
Mercurial 2.0 is now required.

Improved information about path prefix. In particular it is shown
whenever user is asked for password, for example:
     hg pull bitbucket
     http authorization required
     realm: BitBucket
     url: https://bitbucket.org/Mekk
     user: Mekk (fixed in hgrc or url)
     password: 

Improved README.

Improved debug information.

0.8.0
~~~~~~~~~~~~~~~~~~

Module is simplified a bit, but requires mercurial_extension_utils.
Debug messages are prefixed with keyring: not [HgKeyring]

0.7.1
~~~~~~~~~~~~~~~~~~

#48 NullHandler import failure no longer breaks the extension.
May help python 2.6 compatibility.

0.7.0
~~~~~~~~~~~~~~~~~~~

Delaying keyring module import until passwords are really needed. It
can noticeably improve Mercurial (non pull/push) performance in some
cases (no longer slow hg status because D-Bus is busy an keyring tries
to activate KDE Wallet through it…).

0.6.7
~~~~~~~~~~~~~~~~~

#46 Fixed syntax of smtp.tls configuration setting (current Mercurials
doesn't handle "true" anymore, TortoiseHG crashed with mercurial
keyring enabled while currently recommended starttls/smtps/none values
were in use).

0.6.6
~~~~~~~~~~~~~~~~~ 

#44 Handling some more mercurial versions in demandimport-detection
logic.

0.6.5
~~~~~~~~~~~~~~~~~

#36 Shutting up warning about no logging handlers.

0.6.4
~~~~~~~~~~~~~~~~~

#44 Pre-2.9.1 Mercurials compatibility (probing for active
demandimport differently).

0.6.3
~~~~~~~~~~~~~~~~~

#41 Fix for incorrect demandimport activity check logic, which could
cause various problems with imports after mercurial_keyring is
imported.

0.6.2
~~~~~~~~~~~~~~~~~

#33 Fix for UnicodeDecodeErrors happening on some backends (especially
Vault) when passwords with non-ascii characters are in use and native
locale is not utf-8. Passwords are no longer saved to keyring backends
as-entered, they are now decoded from local encoding (whichever is
detected by Mercurial), then encoded to unicode.

0.6.1
~~~~~~~~~~~~~~~~~

#30 Yet another demandimport conflict fixed.

0.6.0
~~~~~~~~~~~~~~~~~

#28 Disable demandimport completely during keyring import. Mayhaps it
will resolve (most) demandimport conflict errors.

0.5.7
~~~~~~~~~~~~~~~~~

#27 Some more demandimport ignores.

0.5.6
~~~~~~~~~~~~~~~~~

#24, #25 Demandimport fixes (import failures in specific cases).

Better way of demandimport-ignoring modules. In particular, we append
more of them if gobject happens to be on the list.

0.5.5
~~~~~~~~~~~~~~~~~

Fix for gnome keyring import problems.

0.5.4
~~~~~~~~~~~~~~~~~

#22 Some more demandimport ignores (fix import failures).

SMTP password was not cleared properly (after detecting that it is
invalid).

Clarified license to be modified BSD style license.

0.5.3
~~~~~~~~~~~~~~~~~

Remove useless import which caused problems on Mercurial 2.3 when
demandimport was not enabled

0.5.1
~~~~~~~~~~~~~~~~~

Add help text to output for hg help.

0.5.0
~~~~~~~~~~~~~~~~~

Improved bad password detection. Internally: extension is now able to
properly differentiate between an authentication failure and a new
request to the same url.

Fixes in debug message

Further debug messages patching

Improving debug messages handling.

Mercurial Keyring debug messages are now prefixed with
[HgKeyring] to make distinguishing them easier

0.4.6
~~~~~~~~~~~~~~~~~

More compatibility (changed signature of httpconnection.readauthforuri
, introduced post Mercurial 1.9 - since hg.0593e8f81c71)

Fix compatibility code which did not work due to demandimport issues
(attempts to catch ImportErrors on "from mercurial.url import
readauthforuri" were not working properly).

0.4.5
~~~~~~~~~~~~~~~~~

Mercurial 1.9 compatibility (readauthforuri has been moved into new
httpconnection module).

0.4.4
~~~~~~~~~~~~~~~~~

Mercurial 1.8 compatibility (passwordmgr.readauthtoken() has been
moved into mercurial.url.readauthforuri).

0.4.3
~~~~~~~~~~~~~~~~~

Keyring fork no longer is needed as keyring releases are available
again.

Workaround for gnomekeyring mercurial.demandimport incompatibility:
mercurial.demandimport, which is enabled while in a mercurial
extensions, prevents the correct import of gobject._gobject and
consequently doesn't allow the loading of the gnomekeyring module,
which can be used by keyring. This just adds the proper module to
demandimport ignore list.

0.4.2
~~~~~~~~~~~~~~~~~

No longer raising an error when username is specified both in ~/.hgrc
and <repo>/.hg/hgrc if it is the same in both places.

Docs recommend sborho keyring fork.

0.4.1
~~~~~~~~~~~~~~~~~

Some tweaks and docs related to prefix handling.

Explicit information that keyring is not used due to lack of username.

0.4.0
~~~~~~~~~~~~~~~~~

Store and lookup prefix from [auth] so that password is shared amongst
shared auth entries

0.3.3
~~~~~~~~~~~~~~~~~

Better error message

0.3.2
~~~~~~~~~~~~~~~~~

Doc tweaks

0.3.1
~~~~~~~~~~~~~~~~~

Introduced and documented PyPi package, added setup.py

0.2.0
~~~~~~~~~~~~~~~~~

Added handling of SMTP passwords (tested on patchbomb extension but
should work on anything what utilizes mercurial.mail)

Docstrings mention Debian keyring packages.

0.1.1
~~~~~~~~~~~~~~~~~

Initial public release