Mercurial > p > roundup > code
annotate .hgignore @ 5705:457fc482e6b1
Method PUT: ignore specification of protected properties which can not
be set. Filtering them out of the payload list. This lets the result
of a get using:
class/id?@protected=true&@verbose=0
be used as input to a PUT operation without having to strip the
protected properties.
Note this does not raise an error if the PUT protected property is
different from the value in the db. If the property is different but
the etag/if-match passes, the user attempted to set the protected
property and this should result in an error, but will not with this
patch.
Method DELETE class/id/attribute: raise error when trying to delete
protected or required attribute/property. Raise UsageError
when attribute doesn't exist.
Method PATCH class/id:
raise error when trying to replace/remove protected attribute/property
raise error when trying to remove required attribute/property
Catch KeyError at top level and turn into 400 error.
If payload has an attribute/property that does not exist, raise
UsageError which becomes a 400 error.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 11 Apr 2019 20:54:39 -0400 |
| parents | 8e34362a14f7 |
| children | b57c3d50505b |
| rev | line source |
|---|---|
|
4594
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
1 syntax: glob |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
2 |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
3 *.orig |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
4 *.rej |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
5 *~ |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
6 \#*\# |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
7 .\#* |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
8 *.swp |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
9 *.tmp |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
10 *.pyd |
| 4558 | 11 *.pyc |
| 12 *.pyo | |
| 13 build | |
| 14 demo | |
| 15 dist | |
| 16 MANIFEST | |
| 17 _test_* | |
| 18 *.cover | |
|
4594
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
19 share/doc/roundup/html |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
20 doc/FAQ.html |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
21 doc/admin_guide.html |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
22 doc/announcement.html |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
23 doc/customizing.html |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
24 doc/design.html |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
25 doc/developers.html |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
26 doc/features.html |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
27 doc/glossary.html |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
28 doc/implementation.html |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
29 doc/index.html |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
30 doc/installation.html |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
31 doc/mysql.html |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
32 doc/overview.html |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
33 doc/postgresql.html |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
34 doc/security.html |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
35 doc/tracker_templates.html |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
36 doc/upgrading.html |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
37 doc/user_guide.html |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
38 doc/whatsnew-0.7.html |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
39 doc/whatsnew-0.8.html |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
40 doc/xmlrpc.html |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
41 locale/*.mo |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
42 locale/*.bak |
|
c992e7dcac92
Created .hgignore, removed all .gitignore files
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4558
diff
changeset
|
43 locale/*.poedit |
|
4597
5ca12e280a84
Ignore directories generated by "make html" in website/www
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4594
diff
changeset
|
44 website/www/_tmp/ |
|
4703
8e34362a14f7
issue2550774: Fix generating the website documentation
John Kristensen <john@jerrykan.com>
parents:
4613
diff
changeset
|
45 website/www/COPYING.txt |
|
4613
9d0189350187
Ignoring the symbolic link that the www/Makefile may create.
Bernhard Reiter <bernhard@intevation.de>
parents:
4597
diff
changeset
|
46 website/www/docs |
|
4597
5ca12e280a84
Ignore directories generated by "make html" in website/www
Thomas Arendsen Hein <thomas@intevation.de>
parents:
4594
diff
changeset
|
47 website/www/html/ |
