Cédric Duval
dbcec5595d
extensions: improve the consistency of synopses
...
Trying as much as possible to consistently:
- use a present tense predicate followed by a direct object
- verb referring directly to the functionality provided
(ie. not "add command that does this" but simple "do that")
- keep simple and to the point, leaving details for the long help
(width is tight, possibly even more so for translations)
Thanks to timeless, Martin Geisler, Rafael Villar Burke, Dan Villiom
Podlaski Christiansen and others for the helpful suggestions.
2009-06-22 15:48:08 +02:00
Cédric Duval
d99e4e75eb
acl: help improvements
...
Thanks to timeless for the review.
2009-06-22 14:49:07 +02:00
Dirkjan Ochtman
a774ff01bc
help: add/fix docstrings for a bunch of extensions
2009-06-21 16:45:47 +02:00
Henrik Stuart
b843569ec5
acl: support for getting authenticated user from web server (issue298)
...
Previously, the acl extension just read the current system user, which
is fine for direct file system access and SSH, but will not work for
HTTP(S) as that would return the web server process user identity
rather than the authenticated user. An empty user is returned if the
user is not authenticated.
2009-06-07 20:31:38 +02:00
Matt Mackall
e802acf0e9
match: remove match.never
...
Only one user, can be translated to match.exact()
2009-05-31 17:54:18 -05:00
Matt Mackall
89c18ad8ce
match: add some default args
2009-05-24 02:56:14 -05:00
Matt Mackall
532c58d931
match: change all users of util.matcher to match.match
2009-05-24 02:56:14 -05:00
Martin Geisler
750183bdad
updated license to be explicit about GPL version 2
2009-04-26 01:08:54 +02:00
Matt Mackall
371257fd73
ui: fold readsections into readconfig
...
readconfig now reads only single files
readconfig takes an optional list of sections
readconfig trusts files we're looking for sections in
2009-04-23 15:40:10 -05:00
Matt Mackall
2791e35714
acl: refactoring
...
- undo class structure
- make buildmatch return None for no function
- use contexts properly
- simplify check loop
2008-06-27 21:45:16 -05:00
Matt Mackall
bc715be859
add __len__ and __iter__ methods to repo and revlog
2008-06-26 14:35:50 -05:00
Matt Mackall
fbb5127472
use repo[changeid] to get a changectx
2008-06-26 14:35:46 -05:00
Joel Rosdahl
5dae3059a0
Expand import * to allow Pyflakes to find problems
2008-03-06 22:23:26 +01:00
Bryan O'Sullivan
ebb57c99be
ui: Rename has_config to has_section.
2007-05-27 13:50:59 -07:00
Benoit Boissinot
c12c4a144e
acl: use contexts
2006-12-26 03:24:51 +01:00
Matt Mackall
296d6a7cb8
Simplify i18n imports
2006-12-14 20:25:19 -06:00
Matt Mackall
f17a4e1934
Replace demandload with new demandimport
2006-12-13 13:27:09 -06:00
Alexis S. L. Carvalho
1c418d136e
use ui.readsections in the acl extension
2006-10-17 17:04:26 -03:00
Mikhail Sobolev
e7d241fbe1
really treat the right side of acl.{allow,deny} as a list of users
...
the current implementation seems to expect only user per pattern, which
contradicts the documentation available at the file beginning.
2006-06-27 01:41:07 +03:00
Vadim Gelfer
e684399d7c
add acl extension, to limit who can push to subdirs of central repo.
2006-05-23 14:58:30 -07:00