Mercurial > p > roundup > code
annotate MANIFEST.in @ 5222:9bf221cebef3
Make properties method return only properties the user can search.
See:
https://sourceforge.net/p/roundup/mailman/roundup-devel/thread/20170405002844.2004B80690%40vm71.cs.umb.edu/#msg35769250
[Roundup-devel] Bug in context/properties, lists properties user can't search.
The HTMLClass::properties() method returns a list of all
properties. This is used when creating sort on/group by filters on
index pages.
However somewhere in the code, a user needs search permission on the
property in order for it to be used for grouping or sorting.
This means the user can choose to sort/group an index page by a
property that they have no search permission for. As a result the
sort/group is ignored. This is confusing.
I have changed the properties method to only return properties the
user has View/Search permissions on. I also added a new cansearch
argument set by default to True. If set to False, all properties
regardless of Search permission are returned.
Doc updated to include the new default operation and mention the use
of cansearch argument.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 05 Apr 2017 21:38:32 -0400 |
| parents | 57adf2c4c40f |
| children | 1ee8b7a671e7 |
| rev | line source |
|---|---|
|
4034
39531c28e540
Add 'share' and remove .svn
Stefan Seefeld <stefan@seefeld.name>
parents:
3736
diff
changeset
|
1 recursive-include share * |
|
1591
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
1475
diff
changeset
|
2 recursive-include roundup *.* |
|
1138
4dc74354e8c3
fixed manifest
Richard Jones <richard@users.sourceforge.net>
parents:
795
diff
changeset
|
3 recursive-include frontends *.* |
|
1139
65e9dd4b59e1
pre-beta2 stuff
Richard Jones <richard@users.sourceforge.net>
parents:
1138
diff
changeset
|
4 recursive-include scripts *.* *-* |
|
65e9dd4b59e1
pre-beta2 stuff
Richard Jones <richard@users.sourceforge.net>
parents:
1138
diff
changeset
|
5 recursive-include tools *.* |
|
96
73c52eae999c
Added the distutils manifest template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
6 recursive-include test *.py *.txt |
|
4997
57adf2c4c40f
Cleanup MANIFEST.in (issue2550714)
John Kristensen <john@jerrykan.com>
parents:
4702
diff
changeset
|
7 recursive-include doc *.html *.png *.txt *.css *.example |
|
1475
9f62905246c3
include detectors in distro
Richard Jones <richard@users.sourceforge.net>
parents:
1419
diff
changeset
|
8 recursive-include detectors *.py |
|
4997
57adf2c4c40f
Cleanup MANIFEST.in (issue2550714)
John Kristensen <john@jerrykan.com>
parents:
4702
diff
changeset
|
9 global-exclude *.pyc *.pyo .DS_Store |
|
57adf2c4c40f
Cleanup MANIFEST.in (issue2550714)
John Kristensen <john@jerrykan.com>
parents:
4702
diff
changeset
|
10 include run_tests.py demo.py *.txt |
|
57adf2c4c40f
Cleanup MANIFEST.in (issue2550714)
John Kristensen <john@jerrykan.com>
parents:
4702
diff
changeset
|
11 include doc/conf.py |
|
57adf2c4c40f
Cleanup MANIFEST.in (issue2550714)
John Kristensen <john@jerrykan.com>
parents:
4702
diff
changeset
|
12 exclude 2to3-done.txt |
|
57adf2c4c40f
Cleanup MANIFEST.in (issue2550714)
John Kristensen <john@jerrykan.com>
parents:
4702
diff
changeset
|
13 exclude doc/security.txt |
|
2331
497be1dd5714
source distribution includes compiled message catalogs
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2304
diff
changeset
|
14 include locale/*.po locale/*.mo locale/roundup.pot |
