Filip de Waard is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

fmw / vix http://vix.io/

Document management system designed to interact through JSON and/or the Atom Publishing Protocol.

Clone this repository (size: 126.8 KB): HTTPS / SSH
hg clone https://bitbucket.org/fmw/vix
hg clone ssh://hg@bitbucket.org/fmw/vix

Searching for commits

Mercurial supports a functional language for selecting a set of revisions.

The language supports a number of predicates which are joined by infix operators. Parenthesis can be used for grouping.

Identifiers such as branch names must be quoted with single or double quotes if they contain characters outside of [._a-zA-Z0-9\x80-\xff] or if they match one of the predefined predicates.

Prefix operators

not x
Changesets not in x. Short form is ! x.

Infix operators

x::y

A DAG range, meaning all changesets that are descendants of x and ancestors of y, including x and y themselves. If the first endpoint is left out, this is equivalent to ancestors(y), if the second is left out it is equivalent to descendants(x).

An alternative syntax is x..y.

x:y
All changesets with revision numbers between x and y, both inclusive. Either endpoint can be left out, they default to 0 and tip.
x and y
The intersection of changesets in x and y. Short form is x & y.
x or y
The union of changesets in x and y. There are two alternative short forms: x | y and x + y.
x - y
Changesets in x but not in y.

Predicates

all()
All changesets, the same as 0:tip.
ancestor(single, single)
Greatest common ancestor of the two changesets.
ancestors(set)
Changesets that are ancestors of a changeset in set.
author(string)
Alias for user(string).
bookmark([name])
The named bookmark or all bookmarks.
branch(set)
All changesets belonging to the branches of changesets in set.
children(set)
Child changesets of changesets in set.
closed()
Changeset is closed.
date(interval)
Changesets within the interval, see hg help dates.
descendants(set)
Changesets which are descendants of changesets in set.
file(pattern)
Changesets affecting files matched by pattern.
follow()
An alias for ::. (ancestors of the working copy's first parent).
grep(regex)
Like keyword(string) but accepts a regex. Use grep(r'...') to ensure special escape characters are handled correctly.
head()
Changeset is a named branch head.
heads(set)
Members of set with no children in set.
id(string)
Revision non-ambiguously specified by the given hex string prefix.
keyword(string)
Search commit message, user name, and names of changed files for string.
limit(set, n)
First n members of set.
max(set)
Changeset with highest revision number in set.
merge()
Changeset is a merge changeset.
min(set)
Changeset with lowest revision number in set.
p1([set])
First parent of changesets in set, or the working directory.
p2([set])
Second parent of changesets in set, or the working directory.
parents([set])
The set of all parents for all changesets in set, or the working directory.
present(set)
An empty set, if any revision in set isn't found; otherwise, all revisions in set.
rev(number)
Revision with the given numeric identifier.
roots(set)
Changesets with no parent changeset in set.
tag(name)
The specified tag by name, or all tagged revisions if no name is given.
user(string)
User name is string.

Commits 1–30 of 54

Author Revision Comments Message Labels Date
Filip de Waard 4ab6a1f1d45a fixed typo in model/views.py comments
Filip de Waard 1e4f0c820d2c added our own index page to /public, instead of the default pylons one
Filip de Waard 2ec638c44d94 added in_reply_to to entry creation method
Filip de Waard 61391ad037ee improved basic validation of entry create
Filip de Waard bb68eaba4d3d improved entry/feed create tests
Filip de Waard 7e02ddd177d6 added 'draft' field to entry model
Filip de Waard 8110a06a2e6e prototyping entry controller create method
Filip de Waard f127b973b6ce adding routing.py back in; polished feeds.py
Filip de Waard 8c838712b684 refactored authorization
Filip de Waard 96e4504b9cc1 added additional input checks to feed create method
Filip de Waard eb4d0f9a09a4 removed obsolete format parameter from Feed create requests in unit tests
Filip de Waard 85f8efefde3d fixed typo in JSON example code in Feed create docstring
Filip de Waard 21c3de08ce9c renamed feed controller to feeds
Filip de Waard 8237a0077a2d working version of Feed controller create method
Filip de Waard f9575bd43293 fixed authorization decorator to return 403 status instead of 401
Filip de Waard 894dcbd1dec6 restricting Feed create method to 'POST'
Filip de Waard df8c4e3fe0c1 fixed authorize decorator docstring
Filip de Waard 95932cbeecf4 implemented authorization decorator
Filip de Waard 68bc390c12b0 Removed some obsolete stuff from vix/config (i.e. mako, Session middleware)
Filip de Waard 65333a0cfb8c refactored HTTP Authorization parsing out of the controller method decorator
Filip de Waard 859d6104ae14 added feed controller
Filip de Waard a5c2d369896e refactored authenticate decorator
Filip de Waard d49a842b5afd wrote decorator to handle HTTP Basic authentication
Filip de Waard f1fb18523a44 added abort(401) call to authentication code in controller
Filip de Waard a628692d412f fixed some grammar/spelling errors in model inline documentation
Filip de Waard a07f221edeb1 added api controller
Filip de Waard d695af962eeb implementing comments through in-reply-to instead
Filip de Waard 1812d4e7c118 added slug normalization to model.Entry and model.Feed
Filip de Waard d8647e077ada fixed bug with model.Entry replies
Filip de Waard b513a1fbc45f working on model.Entry
  1. 1
  2. 2
  3. »